]>
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 | ||
6e2129f9 | 58 | #include "wxPython.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 | ||
c13219d6 | 4565 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
fe47ec10 | 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; | |
c13219d6 | 4573 | int _arg4 = (int ) 0; |
f6bcfd97 | 4574 | PyObject * _argo0 = 0; |
fe47ec10 | 4575 | PyObject * _obj3 = 0; |
c13219d6 | 4576 | char *_kwnames[] = { "self","minPos","maxPos","text","flags", NULL }; |
f6bcfd97 BP |
4577 | |
4578 | self = self; | |
c13219d6 | 4579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|i:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4)) |
f6bcfd97 BP |
4580 | return NULL; |
4581 | if (_argo0) { | |
4582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4585 | return NULL; |
4586 | } | |
4587 | } | |
4588 | { | |
c8bc7bb8 RD |
4589 | _arg3 = wxString_in_helper(_obj3); |
4590 | if (_arg3 == NULL) | |
185d7c3e | 4591 | return NULL; |
f6bcfd97 BP |
4592 | } |
4593 | { | |
4268f798 | 4594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c13219d6 | 4595 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4); |
f6bcfd97 | 4596 | |
4268f798 RD |
4597 | wxPyEndAllowThreads(__tstate); |
4598 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4599 | } _resultobj = Py_BuildValue("i",_result); |
4600 | { | |
4601 | if (_obj3) | |
4602 | delete _arg3; | |
4603 | } | |
f6bcfd97 BP |
4604 | return _resultobj; |
4605 | } | |
4606 | ||
fe47ec10 RD |
4607 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
4608 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4609 | PyObject * _resultobj; |
fe47ec10 | 4610 | int _result; |
f6bcfd97 | 4611 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4612 | bool _arg1; |
4613 | int _arg2; | |
4614 | int _arg3; | |
4615 | wxDC * _arg4; | |
4616 | wxDC * _arg5; | |
4617 | wxRect * _arg6; | |
4618 | wxRect * _arg7; | |
f6bcfd97 | 4619 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4620 | int tempbool1; |
4621 | PyObject * _argo4 = 0; | |
4622 | PyObject * _argo5 = 0; | |
4623 | wxRect temp; | |
4624 | PyObject * _obj6 = 0; | |
4625 | wxRect temp0; | |
4626 | PyObject * _obj7 = 0; | |
4627 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
f6bcfd97 BP |
4628 | |
4629 | self = self; | |
fe47ec10 | 4630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) |
f6bcfd97 BP |
4631 | return NULL; |
4632 | if (_argo0) { | |
4633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
4635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); |
4636 | return NULL; | |
4637 | } | |
4638 | } | |
4639 | _arg1 = (bool ) tempbool1; | |
4640 | if (_argo4) { | |
4641 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4642 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4644 | return NULL; | |
4645 | } | |
4646 | } | |
4647 | if (_argo5) { | |
4648 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4649 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
f6bcfd97 BP |
4651 | return NULL; |
4652 | } | |
4653 | } | |
4654 | { | |
fe47ec10 RD |
4655 | _arg6 = &temp; |
4656 | if (! wxRect_helper(_obj6, &_arg6)) | |
4657 | return NULL; | |
4658 | } | |
4659 | { | |
4660 | _arg7 = &temp0; | |
4661 | if (! wxRect_helper(_obj7, &_arg7)) | |
f6bcfd97 BP |
4662 | return NULL; |
4663 | } | |
4664 | { | |
4268f798 | 4665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4666 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
f6bcfd97 | 4667 | |
4268f798 RD |
4668 | wxPyEndAllowThreads(__tstate); |
4669 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4670 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4671 | return _resultobj; |
4672 | } | |
4673 | ||
fe47ec10 RD |
4674 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) |
4675 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4676 | PyObject * _resultobj; |
4677 | int _result; | |
4678 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4679 | PyObject * _argo0 = 0; |
fe47ec10 | 4680 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4681 | |
4682 | self = self; | |
fe47ec10 | 4683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) |
f6bcfd97 BP |
4684 | return NULL; |
4685 | if (_argo0) { | |
4686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4689 | return NULL; |
4690 | } | |
4691 | } | |
4692 | { | |
4268f798 | 4693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4694 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
f6bcfd97 | 4695 | |
4268f798 RD |
4696 | wxPyEndAllowThreads(__tstate); |
4697 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4698 | } _resultobj = Py_BuildValue("i",_result); |
4699 | return _resultobj; | |
4700 | } | |
4701 | ||
fe47ec10 RD |
4702 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) |
4703 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4704 | PyObject * _resultobj; |
fe47ec10 | 4705 | wxString * _result; |
f6bcfd97 BP |
4706 | wxStyledTextCtrl * _arg0; |
4707 | int _arg1; | |
f6bcfd97 | 4708 | PyObject * _argo0 = 0; |
fe47ec10 | 4709 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4710 | |
4711 | self = self; | |
fe47ec10 | 4712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4713 | return NULL; |
4714 | if (_argo0) { | |
4715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4718 | return NULL; |
4719 | } | |
4720 | } | |
4721 | { | |
4268f798 | 4722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4723 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
f6bcfd97 | 4724 | |
4268f798 RD |
4725 | wxPyEndAllowThreads(__tstate); |
4726 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4727 | }{ |
c8bc7bb8 RD |
4728 | #if wxUSE_UNICODE |
4729 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4730 | #else | |
fe47ec10 | 4731 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4732 | #endif |
fe47ec10 RD |
4733 | } |
4734 | { | |
4735 | delete _result; | |
4736 | } | |
f6bcfd97 BP |
4737 | return _resultobj; |
4738 | } | |
4739 | ||
fe47ec10 RD |
4740 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) |
4741 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4742 | PyObject * _resultobj; |
fe47ec10 | 4743 | int _result; |
f6bcfd97 | 4744 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4745 | PyObject * _argo0 = 0; |
fe47ec10 | 4746 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4747 | |
4748 | self = self; | |
fe47ec10 | 4749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) |
f6bcfd97 BP |
4750 | return NULL; |
4751 | if (_argo0) { | |
4752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4755 | return NULL; |
4756 | } | |
4757 | } | |
4758 | { | |
4268f798 | 4759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4760 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
f6bcfd97 | 4761 | |
4268f798 RD |
4762 | wxPyEndAllowThreads(__tstate); |
4763 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4764 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4765 | return _resultobj; |
4766 | } | |
4767 | ||
fe47ec10 RD |
4768 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) |
4769 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4770 | PyObject * _resultobj; |
f6bcfd97 BP |
4771 | wxStyledTextCtrl * _arg0; |
4772 | int _arg1; | |
4773 | PyObject * _argo0 = 0; | |
65ec6247 | 4774 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
4775 | |
4776 | self = self; | |
fe47ec10 | 4777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4778 | return NULL; |
4779 | if (_argo0) { | |
4780 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4781 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4783 | return NULL; |
4784 | } | |
4785 | } | |
4786 | { | |
4268f798 | 4787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4788 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
f6bcfd97 | 4789 | |
4268f798 RD |
4790 | wxPyEndAllowThreads(__tstate); |
4791 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4792 | } Py_INCREF(Py_None); |
4793 | _resultobj = Py_None; | |
f6bcfd97 BP |
4794 | return _resultobj; |
4795 | } | |
4796 | ||
fe47ec10 RD |
4797 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) |
4798 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4799 | PyObject * _resultobj; |
4800 | int _result; | |
4801 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4802 | PyObject * _argo0 = 0; |
fe47ec10 | 4803 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4804 | |
4805 | self = self; | |
fe47ec10 | 4806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) |
f6bcfd97 BP |
4807 | return NULL; |
4808 | if (_argo0) { | |
4809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4812 | return NULL; |
4813 | } | |
4814 | } | |
4815 | { | |
4268f798 | 4816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4817 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
f6bcfd97 | 4818 | |
4268f798 RD |
4819 | wxPyEndAllowThreads(__tstate); |
4820 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4821 | } _resultobj = Py_BuildValue("i",_result); |
4822 | return _resultobj; | |
4823 | } | |
4824 | ||
fe47ec10 RD |
4825 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) |
4826 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4827 | PyObject * _resultobj; |
f6bcfd97 BP |
4828 | wxStyledTextCtrl * _arg0; |
4829 | int _arg1; | |
f6bcfd97 | 4830 | PyObject * _argo0 = 0; |
65ec6247 | 4831 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
4832 | |
4833 | self = self; | |
fe47ec10 | 4834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4835 | return NULL; |
4836 | if (_argo0) { | |
4837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4840 | return NULL; |
4841 | } | |
4842 | } | |
4843 | { | |
4268f798 | 4844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4845 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
f6bcfd97 | 4846 | |
4268f798 RD |
4847 | wxPyEndAllowThreads(__tstate); |
4848 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4849 | } Py_INCREF(Py_None); |
4850 | _resultobj = Py_None; | |
f6bcfd97 BP |
4851 | return _resultobj; |
4852 | } | |
4853 | ||
fe47ec10 RD |
4854 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) |
4855 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4856 | PyObject * _resultobj; |
4857 | int _result; | |
4858 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4859 | PyObject * _argo0 = 0; |
fe47ec10 | 4860 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4861 | |
4862 | self = self; | |
fe47ec10 | 4863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) |
f6bcfd97 BP |
4864 | return NULL; |
4865 | if (_argo0) { | |
4866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4869 | return NULL; |
4870 | } | |
4871 | } | |
4872 | { | |
4268f798 | 4873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4874 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
f6bcfd97 | 4875 | |
4268f798 RD |
4876 | wxPyEndAllowThreads(__tstate); |
4877 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4878 | } _resultobj = Py_BuildValue("i",_result); |
4879 | return _resultobj; | |
4880 | } | |
4881 | ||
fe47ec10 RD |
4882 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) |
4883 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4884 | PyObject * _resultobj; |
fe47ec10 | 4885 | bool _result; |
f6bcfd97 | 4886 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4887 | PyObject * _argo0 = 0; |
fe47ec10 | 4888 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4889 | |
4890 | self = self; | |
fe47ec10 | 4891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) |
f6bcfd97 BP |
4892 | return NULL; |
4893 | if (_argo0) { | |
4894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4897 | return NULL; |
4898 | } | |
4899 | } | |
4900 | { | |
4268f798 | 4901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4902 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
f6bcfd97 | 4903 | |
4268f798 RD |
4904 | wxPyEndAllowThreads(__tstate); |
4905 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4906 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4907 | return _resultobj; |
4908 | } | |
4909 | ||
fe47ec10 RD |
4910 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) |
4911 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4912 | PyObject * _resultobj; |
4913 | wxStyledTextCtrl * _arg0; | |
4914 | int _arg1; | |
4915 | int _arg2; | |
4916 | PyObject * _argo0 = 0; | |
fe47ec10 | 4917 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
4918 | |
4919 | self = self; | |
fe47ec10 | 4920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4921 | return NULL; |
4922 | if (_argo0) { | |
4923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4926 | return NULL; |
4927 | } | |
4928 | } | |
4929 | { | |
4268f798 | 4930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4931 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 4932 | |
4268f798 RD |
4933 | wxPyEndAllowThreads(__tstate); |
4934 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4935 | } Py_INCREF(Py_None); |
4936 | _resultobj = Py_None; | |
4937 | return _resultobj; | |
4938 | } | |
4939 | ||
fe47ec10 RD |
4940 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) |
4941 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4942 | PyObject * _resultobj; |
fe47ec10 | 4943 | wxString * _result; |
f6bcfd97 | 4944 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4945 | PyObject * _argo0 = 0; |
fe47ec10 | 4946 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4947 | |
4948 | self = self; | |
fe47ec10 | 4949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) |
f6bcfd97 BP |
4950 | return NULL; |
4951 | if (_argo0) { | |
4952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4955 | return NULL; |
4956 | } | |
4957 | } | |
4958 | { | |
4268f798 | 4959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4960 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
f6bcfd97 | 4961 | |
4268f798 RD |
4962 | wxPyEndAllowThreads(__tstate); |
4963 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4964 | }{ |
c8bc7bb8 RD |
4965 | #if wxUSE_UNICODE |
4966 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4967 | #else | |
fe47ec10 | 4968 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4969 | #endif |
fe47ec10 RD |
4970 | } |
4971 | { | |
4972 | delete _result; | |
4973 | } | |
f6bcfd97 BP |
4974 | return _resultobj; |
4975 | } | |
4976 | ||
fe47ec10 RD |
4977 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) |
4978 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4979 | PyObject * _resultobj; |
fe47ec10 | 4980 | wxString * _result; |
f6bcfd97 BP |
4981 | wxStyledTextCtrl * _arg0; |
4982 | int _arg1; | |
fe47ec10 | 4983 | int _arg2; |
f6bcfd97 | 4984 | PyObject * _argo0 = 0; |
fe47ec10 | 4985 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
4986 | |
4987 | self = self; | |
fe47ec10 | 4988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4989 | return NULL; |
4990 | if (_argo0) { | |
4991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4994 | return NULL; |
4995 | } | |
4996 | } | |
f6bcfd97 | 4997 | { |
4268f798 | 4998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4999 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5000 | |
4268f798 RD |
5001 | wxPyEndAllowThreads(__tstate); |
5002 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5003 | }{ |
c8bc7bb8 RD |
5004 | #if wxUSE_UNICODE |
5005 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5006 | #else | |
fe47ec10 | 5007 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5008 | #endif |
fe47ec10 RD |
5009 | } |
5010 | { | |
5011 | delete _result; | |
5012 | } | |
f6bcfd97 BP |
5013 | return _resultobj; |
5014 | } | |
5015 | ||
fe47ec10 RD |
5016 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) |
5017 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5018 | PyObject * _resultobj; |
5019 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5020 | bool _arg1; |
f6bcfd97 | 5021 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5022 | int tempbool1; |
5023 | char *_kwnames[] = { "self","normal", NULL }; | |
f6bcfd97 BP |
5024 | |
5025 | self = self; | |
fe47ec10 | 5026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5027 | return NULL; |
5028 | if (_argo0) { | |
5029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5032 | return NULL; |
5033 | } | |
5034 | } | |
fe47ec10 | 5035 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5036 | { |
4268f798 | 5037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5038 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
f6bcfd97 | 5039 | |
4268f798 RD |
5040 | wxPyEndAllowThreads(__tstate); |
5041 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5042 | } Py_INCREF(Py_None); |
5043 | _resultobj = Py_None; | |
f6bcfd97 BP |
5044 | return _resultobj; |
5045 | } | |
5046 | ||
fe47ec10 RD |
5047 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) |
5048 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5049 | PyObject * _resultobj; |
fe47ec10 | 5050 | int _result; |
f6bcfd97 | 5051 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5052 | int _arg1; |
f6bcfd97 | 5053 | PyObject * _argo0 = 0; |
fe47ec10 | 5054 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5055 | |
5056 | self = self; | |
fe47ec10 | 5057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5058 | return NULL; |
5059 | if (_argo0) { | |
5060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5063 | return NULL; |
5064 | } | |
5065 | } | |
5066 | { | |
4268f798 | 5067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5068 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
f6bcfd97 | 5069 | |
4268f798 RD |
5070 | wxPyEndAllowThreads(__tstate); |
5071 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5072 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5073 | return _resultobj; |
5074 | } | |
5075 | ||
fe47ec10 RD |
5076 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) |
5077 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5078 | PyObject * _resultobj; |
fe47ec10 | 5079 | int _result; |
f6bcfd97 | 5080 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5081 | int _arg1; |
f6bcfd97 | 5082 | PyObject * _argo0 = 0; |
fe47ec10 | 5083 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
5084 | |
5085 | self = self; | |
fe47ec10 | 5086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5087 | return NULL; |
5088 | if (_argo0) { | |
5089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5092 | return NULL; |
5093 | } | |
5094 | } | |
5095 | { | |
4268f798 | 5096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5097 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
f6bcfd97 | 5098 | |
4268f798 RD |
5099 | wxPyEndAllowThreads(__tstate); |
5100 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5101 | } _resultobj = Py_BuildValue("i",_result); |
5102 | return _resultobj; | |
5103 | } | |
5104 | ||
fe47ec10 RD |
5105 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) |
5106 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5107 | PyObject * _resultobj; |
f6bcfd97 | 5108 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
5109 | int _arg1; |
5110 | int _arg2; | |
f6bcfd97 | 5111 | PyObject * _argo0 = 0; |
fe47ec10 | 5112 | char *_kwnames[] = { "self","columns","lines", NULL }; |
f6bcfd97 BP |
5113 | |
5114 | self = self; | |
fe47ec10 | 5115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
5116 | return NULL; |
5117 | if (_argo0) { | |
5118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5121 | return NULL; |
5122 | } | |
5123 | } | |
5124 | { | |
4268f798 | 5125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5126 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
f6bcfd97 | 5127 | |
4268f798 RD |
5128 | wxPyEndAllowThreads(__tstate); |
5129 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5130 | } Py_INCREF(Py_None); |
5131 | _resultobj = Py_None; | |
f6bcfd97 BP |
5132 | return _resultobj; |
5133 | } | |
5134 | ||
fe47ec10 RD |
5135 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) |
5136 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5137 | PyObject * _resultobj; |
5138 | wxStyledTextCtrl * _arg0; | |
5139 | PyObject * _argo0 = 0; | |
5140 | char *_kwnames[] = { "self", NULL }; | |
5141 | ||
5142 | self = self; | |
fe47ec10 | 5143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) |
f6bcfd97 BP |
5144 | return NULL; |
5145 | if (_argo0) { | |
5146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5149 | return NULL; |
5150 | } | |
5151 | } | |
5152 | { | |
4268f798 | 5153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5154 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
f6bcfd97 | 5155 | |
4268f798 RD |
5156 | wxPyEndAllowThreads(__tstate); |
5157 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5158 | } Py_INCREF(Py_None); |
5159 | _resultobj = Py_None; | |
5160 | return _resultobj; | |
5161 | } | |
5162 | ||
fe47ec10 RD |
5163 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) |
5164 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5165 | PyObject * _resultobj; |
5166 | wxStyledTextCtrl * _arg0; | |
5167 | wxString * _arg1; | |
5168 | PyObject * _argo0 = 0; | |
5169 | PyObject * _obj1 = 0; | |
fe47ec10 | 5170 | char *_kwnames[] = { "self","text", NULL }; |
f6bcfd97 BP |
5171 | |
5172 | self = self; | |
fe47ec10 | 5173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5174 | return NULL; |
5175 | if (_argo0) { | |
5176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5179 | return NULL; |
5180 | } | |
5181 | } | |
5182 | { | |
c8bc7bb8 RD |
5183 | _arg1 = wxString_in_helper(_obj1); |
5184 | if (_arg1 == NULL) | |
f6bcfd97 | 5185 | return NULL; |
f6bcfd97 BP |
5186 | } |
5187 | { | |
4268f798 | 5188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5189 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
f6bcfd97 | 5190 | |
4268f798 RD |
5191 | wxPyEndAllowThreads(__tstate); |
5192 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5193 | } Py_INCREF(Py_None); |
5194 | _resultobj = Py_None; | |
5195 | { | |
5196 | if (_obj1) | |
5197 | delete _arg1; | |
5198 | } | |
5199 | return _resultobj; | |
5200 | } | |
5201 | ||
fe47ec10 RD |
5202 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
5203 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5204 | PyObject * _resultobj; |
5205 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5206 | bool _arg1; |
f6bcfd97 | 5207 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5208 | int tempbool1; |
5209 | char *_kwnames[] = { "self","readOnly", NULL }; | |
f6bcfd97 BP |
5210 | |
5211 | self = self; | |
fe47ec10 | 5212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5213 | return NULL; |
5214 | if (_argo0) { | |
5215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5218 | return NULL; |
5219 | } | |
5220 | } | |
fe47ec10 | 5221 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5222 | { |
4268f798 | 5223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5224 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
f6bcfd97 | 5225 | |
4268f798 RD |
5226 | wxPyEndAllowThreads(__tstate); |
5227 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5228 | } Py_INCREF(Py_None); |
5229 | _resultobj = Py_None; | |
5230 | return _resultobj; | |
5231 | } | |
5232 | ||
fe47ec10 RD |
5233 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) |
5234 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5235 | PyObject * _resultobj; |
fe47ec10 | 5236 | bool _result; |
f6bcfd97 BP |
5237 | wxStyledTextCtrl * _arg0; |
5238 | PyObject * _argo0 = 0; | |
5239 | char *_kwnames[] = { "self", NULL }; | |
5240 | ||
5241 | self = self; | |
fe47ec10 | 5242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) |
f6bcfd97 BP |
5243 | return NULL; |
5244 | if (_argo0) { | |
5245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5248 | return NULL; |
5249 | } | |
5250 | } | |
5251 | { | |
4268f798 | 5252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5253 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
f6bcfd97 | 5254 | |
4268f798 RD |
5255 | wxPyEndAllowThreads(__tstate); |
5256 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5257 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5258 | return _resultobj; |
5259 | } | |
5260 | ||
fe47ec10 RD |
5261 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) |
5262 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5263 | PyObject * _resultobj; |
fe47ec10 | 5264 | bool _result; |
f6bcfd97 | 5265 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5266 | PyObject * _argo0 = 0; |
fe47ec10 | 5267 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5268 | |
5269 | self = self; | |
fe47ec10 | 5270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) |
f6bcfd97 BP |
5271 | return NULL; |
5272 | if (_argo0) { | |
5273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5276 | return NULL; |
5277 | } | |
5278 | } | |
f6bcfd97 | 5279 | { |
4268f798 | 5280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5281 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
f6bcfd97 | 5282 | |
4268f798 RD |
5283 | wxPyEndAllowThreads(__tstate); |
5284 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5285 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5286 | return _resultobj; |
5287 | } | |
5288 | ||
fe47ec10 RD |
5289 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) |
5290 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5291 | PyObject * _resultobj; |
5292 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5293 | PyObject * _argo0 = 0; |
fe47ec10 | 5294 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5295 | |
5296 | self = self; | |
fe47ec10 | 5297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) |
f6bcfd97 BP |
5298 | return NULL; |
5299 | if (_argo0) { | |
5300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5303 | return NULL; |
5304 | } | |
5305 | } | |
f6bcfd97 | 5306 | { |
4268f798 | 5307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5308 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
f6bcfd97 | 5309 | |
4268f798 RD |
5310 | wxPyEndAllowThreads(__tstate); |
5311 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5312 | } Py_INCREF(Py_None); |
5313 | _resultobj = Py_None; | |
f6bcfd97 BP |
5314 | return _resultobj; |
5315 | } | |
5316 | ||
fe47ec10 RD |
5317 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
5318 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5319 | PyObject * _resultobj; |
5320 | wxStyledTextCtrl * _arg0; | |
5321 | PyObject * _argo0 = 0; | |
5322 | char *_kwnames[] = { "self", NULL }; | |
5323 | ||
5324 | self = self; | |
fe47ec10 | 5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) |
f6bcfd97 BP |
5326 | return NULL; |
5327 | if (_argo0) { | |
5328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5331 | return NULL; |
5332 | } | |
5333 | } | |
5334 | { | |
4268f798 | 5335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5336 | wxStyledTextCtrl_Undo(_arg0); |
f6bcfd97 | 5337 | |
4268f798 RD |
5338 | wxPyEndAllowThreads(__tstate); |
5339 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5340 | } Py_INCREF(Py_None); |
5341 | _resultobj = Py_None; | |
5342 | return _resultobj; | |
5343 | } | |
5344 | ||
fe47ec10 RD |
5345 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) |
5346 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5347 | PyObject * _resultobj; |
f6bcfd97 BP |
5348 | wxStyledTextCtrl * _arg0; |
5349 | PyObject * _argo0 = 0; | |
5350 | char *_kwnames[] = { "self", NULL }; | |
5351 | ||
5352 | self = self; | |
fe47ec10 | 5353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) |
f6bcfd97 BP |
5354 | return NULL; |
5355 | if (_argo0) { | |
5356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5359 | return NULL; |
5360 | } | |
5361 | } | |
5362 | { | |
4268f798 | 5363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5364 | wxStyledTextCtrl_Cut(_arg0); |
f6bcfd97 | 5365 | |
4268f798 RD |
5366 | wxPyEndAllowThreads(__tstate); |
5367 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5368 | } Py_INCREF(Py_None); |
5369 | _resultobj = Py_None; | |
f6bcfd97 BP |
5370 | return _resultobj; |
5371 | } | |
5372 | ||
fe47ec10 RD |
5373 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) |
5374 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5375 | PyObject * _resultobj; |
f6bcfd97 BP |
5376 | wxStyledTextCtrl * _arg0; |
5377 | PyObject * _argo0 = 0; | |
5378 | char *_kwnames[] = { "self", NULL }; | |
5379 | ||
5380 | self = self; | |
fe47ec10 | 5381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) |
f6bcfd97 BP |
5382 | return NULL; |
5383 | if (_argo0) { | |
5384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5387 | return NULL; |
5388 | } | |
5389 | } | |
5390 | { | |
4268f798 | 5391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5392 | wxStyledTextCtrl_Copy(_arg0); |
f6bcfd97 | 5393 | |
4268f798 RD |
5394 | wxPyEndAllowThreads(__tstate); |
5395 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5396 | } Py_INCREF(Py_None); |
5397 | _resultobj = Py_None; | |
f6bcfd97 BP |
5398 | return _resultobj; |
5399 | } | |
5400 | ||
fe47ec10 RD |
5401 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) |
5402 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5403 | PyObject * _resultobj; |
5404 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5405 | PyObject * _argo0 = 0; |
fe47ec10 | 5406 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5407 | |
5408 | self = self; | |
fe47ec10 | 5409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) |
f6bcfd97 BP |
5410 | return NULL; |
5411 | if (_argo0) { | |
5412 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5413 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5415 | return NULL; |
5416 | } | |
5417 | } | |
5418 | { | |
4268f798 | 5419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5420 | wxStyledTextCtrl_Paste(_arg0); |
f6bcfd97 | 5421 | |
4268f798 RD |
5422 | wxPyEndAllowThreads(__tstate); |
5423 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5424 | } Py_INCREF(Py_None); |
5425 | _resultobj = Py_None; | |
5426 | return _resultobj; | |
5427 | } | |
5428 | ||
fe47ec10 RD |
5429 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) |
5430 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5431 | PyObject * _resultobj; |
5432 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5433 | PyObject * _argo0 = 0; |
fe47ec10 | 5434 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5435 | |
5436 | self = self; | |
fe47ec10 | 5437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) |
f6bcfd97 BP |
5438 | return NULL; |
5439 | if (_argo0) { | |
5440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5443 | return NULL; |
5444 | } | |
5445 | } | |
f6bcfd97 | 5446 | { |
4268f798 | 5447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5448 | wxStyledTextCtrl_Clear(_arg0); |
f6bcfd97 | 5449 | |
4268f798 RD |
5450 | wxPyEndAllowThreads(__tstate); |
5451 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5452 | } Py_INCREF(Py_None); |
5453 | _resultobj = Py_None; | |
5454 | return _resultobj; | |
5455 | } | |
5456 | ||
fe47ec10 RD |
5457 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
5458 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5459 | PyObject * _resultobj; |
5460 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5461 | wxString * _arg1; |
f6bcfd97 | 5462 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5463 | PyObject * _obj1 = 0; |
5464 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5465 | |
5466 | self = self; | |
fe47ec10 | 5467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5468 | return NULL; |
5469 | if (_argo0) { | |
5470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5473 | return NULL; |
5474 | } | |
5475 | } | |
fe47ec10 | 5476 | { |
c8bc7bb8 RD |
5477 | _arg1 = wxString_in_helper(_obj1); |
5478 | if (_arg1 == NULL) | |
185d7c3e | 5479 | return NULL; |
fe47ec10 | 5480 | } |
f6bcfd97 | 5481 | { |
4268f798 | 5482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5483 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
f6bcfd97 | 5484 | |
4268f798 RD |
5485 | wxPyEndAllowThreads(__tstate); |
5486 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5487 | } Py_INCREF(Py_None); |
5488 | _resultobj = Py_None; | |
fe47ec10 RD |
5489 | { |
5490 | if (_obj1) | |
5491 | delete _arg1; | |
5492 | } | |
f6bcfd97 BP |
5493 | return _resultobj; |
5494 | } | |
5495 | ||
fe47ec10 RD |
5496 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) |
5497 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5498 | PyObject * _resultobj; |
fe47ec10 | 5499 | wxString * _result; |
f6bcfd97 | 5500 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5501 | PyObject * _argo0 = 0; |
fe47ec10 | 5502 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5503 | |
5504 | self = self; | |
fe47ec10 | 5505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) |
f6bcfd97 BP |
5506 | return NULL; |
5507 | if (_argo0) { | |
5508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5511 | return NULL; |
5512 | } | |
5513 | } | |
5514 | { | |
4268f798 | 5515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5516 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
f6bcfd97 | 5517 | |
4268f798 RD |
5518 | wxPyEndAllowThreads(__tstate); |
5519 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5520 | }{ |
c8bc7bb8 RD |
5521 | #if wxUSE_UNICODE |
5522 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5523 | #else | |
fe47ec10 | 5524 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5525 | #endif |
fe47ec10 RD |
5526 | } |
5527 | { | |
5528 | delete _result; | |
5529 | } | |
f6bcfd97 BP |
5530 | return _resultobj; |
5531 | } | |
5532 | ||
fe47ec10 RD |
5533 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) |
5534 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5535 | PyObject * _resultobj; |
fe47ec10 | 5536 | int _result; |
f6bcfd97 BP |
5537 | wxStyledTextCtrl * _arg0; |
5538 | PyObject * _argo0 = 0; | |
5539 | char *_kwnames[] = { "self", NULL }; | |
5540 | ||
5541 | self = self; | |
fe47ec10 | 5542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
5543 | return NULL; |
5544 | if (_argo0) { | |
5545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5548 | return NULL; |
5549 | } | |
5550 | } | |
5551 | { | |
4268f798 | 5552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5553 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
f6bcfd97 | 5554 | |
4268f798 RD |
5555 | wxPyEndAllowThreads(__tstate); |
5556 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5557 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5558 | return _resultobj; |
5559 | } | |
5560 | ||
fe47ec10 RD |
5561 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) |
5562 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5563 | PyObject * _resultobj; |
5564 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5565 | bool _arg1; |
f6bcfd97 | 5566 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5567 | int tempbool1; |
5568 | char *_kwnames[] = { "self","overtype", NULL }; | |
f6bcfd97 BP |
5569 | |
5570 | self = self; | |
fe47ec10 | 5571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5572 | return NULL; |
5573 | if (_argo0) { | |
5574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5577 | return NULL; |
5578 | } | |
5579 | } | |
fe47ec10 | 5580 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5581 | { |
4268f798 | 5582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5583 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
f6bcfd97 | 5584 | |
4268f798 RD |
5585 | wxPyEndAllowThreads(__tstate); |
5586 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5587 | } Py_INCREF(Py_None); |
5588 | _resultobj = Py_None; | |
5589 | return _resultobj; | |
5590 | } | |
5591 | ||
fe47ec10 RD |
5592 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) |
5593 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5594 | PyObject * _resultobj; |
fe47ec10 | 5595 | bool _result; |
f6bcfd97 | 5596 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5597 | PyObject * _argo0 = 0; |
fe47ec10 | 5598 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5599 | |
5600 | self = self; | |
fe47ec10 | 5601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) |
f6bcfd97 BP |
5602 | return NULL; |
5603 | if (_argo0) { | |
5604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5607 | return NULL; |
5608 | } | |
5609 | } | |
f6bcfd97 | 5610 | { |
4268f798 | 5611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5612 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
f6bcfd97 | 5613 | |
4268f798 RD |
5614 | wxPyEndAllowThreads(__tstate); |
5615 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5616 | } _resultobj = Py_BuildValue("i",_result); |
5617 | return _resultobj; | |
5618 | } | |
5619 | ||
65ec6247 RD |
5620 | #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0)) |
5621 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5622 | PyObject * _resultobj; |
f6bcfd97 | 5623 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5624 | int _arg1; |
f6bcfd97 | 5625 | PyObject * _argo0 = 0; |
65ec6247 | 5626 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
5627 | |
5628 | self = self; | |
65ec6247 | 5629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5630 | return NULL; |
5631 | if (_argo0) { | |
5632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5635 | return NULL; |
5636 | } | |
5637 | } | |
5638 | { | |
4268f798 | 5639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5640 | wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1); |
f6bcfd97 | 5641 | |
4268f798 RD |
5642 | wxPyEndAllowThreads(__tstate); |
5643 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5644 | } Py_INCREF(Py_None); |
5645 | _resultobj = Py_None; | |
f6bcfd97 BP |
5646 | return _resultobj; |
5647 | } | |
5648 | ||
65ec6247 RD |
5649 | #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth()) |
5650 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5651 | PyObject * _resultobj; |
65ec6247 | 5652 | int _result; |
f6bcfd97 | 5653 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5654 | PyObject * _argo0 = 0; |
fe47ec10 | 5655 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5656 | |
5657 | self = self; | |
65ec6247 | 5658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
5659 | return NULL; |
5660 | if (_argo0) { | |
5661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5664 | return NULL; |
5665 | } | |
5666 | } | |
5667 | { | |
4268f798 | 5668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5669 | _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0); |
f6bcfd97 | 5670 | |
4268f798 RD |
5671 | wxPyEndAllowThreads(__tstate); |
5672 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 5673 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5674 | return _resultobj; |
5675 | } | |
5676 | ||
65ec6247 RD |
5677 | #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0)) |
5678 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5679 | PyObject * _resultobj; |
f6bcfd97 | 5680 | wxStyledTextCtrl * _arg0; |
65ec6247 | 5681 | int _arg1; |
f6bcfd97 | 5682 | PyObject * _argo0 = 0; |
65ec6247 | 5683 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5684 | |
5685 | self = self; | |
65ec6247 | 5686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5687 | return NULL; |
5688 | if (_argo0) { | |
5689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5692 | return NULL; |
5693 | } | |
5694 | } | |
5695 | { | |
4268f798 | 5696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5697 | wxStyledTextCtrl_SetTargetStart(_arg0,_arg1); |
f6bcfd97 | 5698 | |
4268f798 RD |
5699 | wxPyEndAllowThreads(__tstate); |
5700 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5701 | } Py_INCREF(Py_None); |
5702 | _resultobj = Py_None; | |
f6bcfd97 BP |
5703 | return _resultobj; |
5704 | } | |
5705 | ||
65ec6247 RD |
5706 | #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart()) |
5707 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5708 | PyObject * _resultobj; |
5709 | int _result; | |
5710 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5711 | PyObject * _argo0 = 0; |
fe47ec10 | 5712 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5713 | |
5714 | self = self; | |
65ec6247 | 5715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
5716 | return NULL; |
5717 | if (_argo0) { | |
5718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5721 | return NULL; |
5722 | } | |
5723 | } | |
5724 | { | |
4268f798 | 5725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5726 | _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0); |
f6bcfd97 | 5727 | |
4268f798 RD |
5728 | wxPyEndAllowThreads(__tstate); |
5729 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5730 | } _resultobj = Py_BuildValue("i",_result); |
5731 | return _resultobj; | |
5732 | } | |
5733 | ||
65ec6247 RD |
5734 | #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0)) |
5735 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
5736 | PyObject * _resultobj; |
5737 | wxStyledTextCtrl * _arg0; | |
5738 | int _arg1; | |
fe47ec10 | 5739 | PyObject * _argo0 = 0; |
65ec6247 | 5740 | char *_kwnames[] = { "self","pos", NULL }; |
fe47ec10 RD |
5741 | |
5742 | self = self; | |
65ec6247 | 5743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
5744 | return NULL; |
5745 | if (_argo0) { | |
5746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5749 | return NULL; |
5750 | } | |
5751 | } | |
5752 | { | |
4268f798 | 5753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5754 | wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1); |
fe47ec10 | 5755 | |
4268f798 RD |
5756 | wxPyEndAllowThreads(__tstate); |
5757 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5758 | } Py_INCREF(Py_None); |
5759 | _resultobj = Py_None; | |
5760 | return _resultobj; | |
5761 | } | |
5762 | ||
65ec6247 RD |
5763 | #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd()) |
5764 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5765 | PyObject * _resultobj; |
65ec6247 | 5766 | int _result; |
fe47ec10 | 5767 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5768 | PyObject * _argo0 = 0; |
65ec6247 | 5769 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
5770 | |
5771 | self = self; | |
65ec6247 | 5772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0)) |
fe47ec10 RD |
5773 | return NULL; |
5774 | if (_argo0) { | |
5775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5778 | return NULL; |
5779 | } | |
5780 | } | |
fe47ec10 | 5781 | { |
4268f798 | 5782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5783 | _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0); |
fe47ec10 | 5784 | |
4268f798 RD |
5785 | wxPyEndAllowThreads(__tstate); |
5786 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 5787 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
5788 | return _resultobj; |
5789 | } | |
5790 | ||
65ec6247 RD |
5791 | #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0)) |
5792 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
5793 | PyObject * _resultobj; |
5794 | int _result; | |
5795 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 5796 | wxString * _arg1; |
fe47ec10 | 5797 | PyObject * _argo0 = 0; |
65ec6247 RD |
5798 | PyObject * _obj1 = 0; |
5799 | char *_kwnames[] = { "self","text", NULL }; | |
fe47ec10 RD |
5800 | |
5801 | self = self; | |
65ec6247 | 5802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1)) |
fe47ec10 RD |
5803 | return NULL; |
5804 | if (_argo0) { | |
5805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5808 | return NULL; |
5809 | } | |
5810 | } | |
65ec6247 | 5811 | { |
c8bc7bb8 RD |
5812 | _arg1 = wxString_in_helper(_obj1); |
5813 | if (_arg1 == NULL) | |
65ec6247 | 5814 | return NULL; |
65ec6247 | 5815 | } |
fe47ec10 | 5816 | { |
4268f798 | 5817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5818 | _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1); |
fe47ec10 | 5819 | |
4268f798 RD |
5820 | wxPyEndAllowThreads(__tstate); |
5821 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5822 | } _resultobj = Py_BuildValue("i",_result); |
65ec6247 RD |
5823 | { |
5824 | if (_obj1) | |
5825 | delete _arg1; | |
5826 | } | |
fe47ec10 RD |
5827 | return _resultobj; |
5828 | } | |
5829 | ||
65ec6247 RD |
5830 | #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0)) |
5831 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5832 | PyObject * _resultobj; |
f6bcfd97 BP |
5833 | int _result; |
5834 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 5835 | wxString * _arg1; |
fe47ec10 | 5836 | PyObject * _argo0 = 0; |
65ec6247 RD |
5837 | PyObject * _obj1 = 0; |
5838 | char *_kwnames[] = { "self","text", NULL }; | |
fe47ec10 RD |
5839 | |
5840 | self = self; | |
65ec6247 | 5841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1)) |
fe47ec10 RD |
5842 | return NULL; |
5843 | if (_argo0) { | |
5844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5847 | return NULL; |
5848 | } | |
5849 | } | |
65ec6247 | 5850 | { |
c8bc7bb8 RD |
5851 | _arg1 = wxString_in_helper(_obj1); |
5852 | if (_arg1 == NULL) | |
65ec6247 | 5853 | return NULL; |
65ec6247 | 5854 | } |
fe47ec10 | 5855 | { |
4268f798 | 5856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5857 | _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1); |
fe47ec10 | 5858 | |
4268f798 RD |
5859 | wxPyEndAllowThreads(__tstate); |
5860 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5861 | } _resultobj = Py_BuildValue("i",_result); |
65ec6247 RD |
5862 | { |
5863 | if (_obj1) | |
5864 | delete _arg1; | |
5865 | } | |
fe47ec10 RD |
5866 | return _resultobj; |
5867 | } | |
5868 | ||
65ec6247 RD |
5869 | #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0)) |
5870 | static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5871 | PyObject * _resultobj; |
65ec6247 | 5872 | int _result; |
fe47ec10 | 5873 | wxStyledTextCtrl * _arg0; |
65ec6247 | 5874 | wxString * _arg1; |
f6bcfd97 | 5875 | PyObject * _argo0 = 0; |
65ec6247 RD |
5876 | PyObject * _obj1 = 0; |
5877 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5878 | |
5879 | self = self; | |
65ec6247 | 5880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5881 | return NULL; |
5882 | if (_argo0) { | |
5883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5886 | return NULL; |
5887 | } | |
5888 | } | |
65ec6247 | 5889 | { |
c8bc7bb8 RD |
5890 | _arg1 = wxString_in_helper(_obj1); |
5891 | if (_arg1 == NULL) | |
65ec6247 | 5892 | return NULL; |
65ec6247 | 5893 | } |
f6bcfd97 | 5894 | { |
4268f798 | 5895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5896 | _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1); |
f6bcfd97 | 5897 | |
4268f798 RD |
5898 | wxPyEndAllowThreads(__tstate); |
5899 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5900 | } _resultobj = Py_BuildValue("i",_result); |
5901 | { | |
5902 | if (_obj1) | |
5903 | delete _arg1; | |
5904 | } | |
f6bcfd97 BP |
5905 | return _resultobj; |
5906 | } | |
5907 | ||
65ec6247 RD |
5908 | #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0)) |
5909 | static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5910 | PyObject * _resultobj; |
f6bcfd97 BP |
5911 | wxStyledTextCtrl * _arg0; |
5912 | int _arg1; | |
5913 | PyObject * _argo0 = 0; | |
65ec6247 | 5914 | char *_kwnames[] = { "self","flags", NULL }; |
f6bcfd97 BP |
5915 | |
5916 | self = self; | |
65ec6247 | 5917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5918 | return NULL; |
5919 | if (_argo0) { | |
5920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5923 | return NULL; |
5924 | } | |
5925 | } | |
5926 | { | |
4268f798 | 5927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5928 | wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1); |
f6bcfd97 | 5929 | |
4268f798 RD |
5930 | wxPyEndAllowThreads(__tstate); |
5931 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5932 | } Py_INCREF(Py_None); |
5933 | _resultobj = Py_None; | |
f6bcfd97 BP |
5934 | return _resultobj; |
5935 | } | |
5936 | ||
65ec6247 RD |
5937 | #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags()) |
5938 | static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5939 | PyObject * _resultobj; |
5940 | int _result; | |
5941 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5942 | PyObject * _argo0 = 0; |
65ec6247 | 5943 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5944 | |
5945 | self = self; | |
65ec6247 | 5946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0)) |
f6bcfd97 BP |
5947 | return NULL; |
5948 | if (_argo0) { | |
5949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5952 | return NULL; |
5953 | } | |
5954 | } | |
5955 | { | |
4268f798 | 5956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5957 | _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0); |
f6bcfd97 | 5958 | |
4268f798 RD |
5959 | wxPyEndAllowThreads(__tstate); |
5960 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5961 | } _resultobj = Py_BuildValue("i",_result); |
5962 | return _resultobj; | |
5963 | } | |
5964 | ||
65ec6247 RD |
5965 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) |
5966 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5967 | PyObject * _resultobj; |
f6bcfd97 BP |
5968 | wxStyledTextCtrl * _arg0; |
5969 | int _arg1; | |
65ec6247 | 5970 | wxString * _arg2; |
f6bcfd97 | 5971 | PyObject * _argo0 = 0; |
65ec6247 RD |
5972 | PyObject * _obj2 = 0; |
5973 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
f6bcfd97 BP |
5974 | |
5975 | self = self; | |
65ec6247 | 5976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
5977 | return NULL; |
5978 | if (_argo0) { | |
5979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5982 | return NULL; |
5983 | } | |
5984 | } | |
65ec6247 | 5985 | { |
c8bc7bb8 RD |
5986 | _arg2 = wxString_in_helper(_obj2); |
5987 | if (_arg2 == NULL) | |
65ec6247 | 5988 | return NULL; |
65ec6247 | 5989 | } |
f6bcfd97 | 5990 | { |
4268f798 | 5991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5992 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5993 | |
4268f798 RD |
5994 | wxPyEndAllowThreads(__tstate); |
5995 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5996 | } Py_INCREF(Py_None); |
5997 | _resultobj = Py_None; | |
5998 | { | |
5999 | if (_obj2) | |
6000 | delete _arg2; | |
6001 | } | |
f6bcfd97 BP |
6002 | return _resultobj; |
6003 | } | |
6004 | ||
65ec6247 RD |
6005 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) |
6006 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6007 | PyObject * _resultobj; |
6008 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 6009 | PyObject * _argo0 = 0; |
65ec6247 | 6010 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6011 | |
6012 | self = self; | |
65ec6247 | 6013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
6014 | return NULL; |
6015 | if (_argo0) { | |
6016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6019 | return NULL; |
6020 | } | |
6021 | } | |
6022 | { | |
4268f798 | 6023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6024 | wxStyledTextCtrl_CallTipCancel(_arg0); |
f6bcfd97 | 6025 | |
4268f798 RD |
6026 | wxPyEndAllowThreads(__tstate); |
6027 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6028 | } Py_INCREF(Py_None); |
6029 | _resultobj = Py_None; | |
6030 | return _resultobj; | |
6031 | } | |
6032 | ||
65ec6247 RD |
6033 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) |
6034 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6035 | PyObject * _resultobj; |
65ec6247 | 6036 | bool _result; |
f6bcfd97 | 6037 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6038 | PyObject * _argo0 = 0; |
65ec6247 | 6039 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6040 | |
6041 | self = self; | |
65ec6247 | 6042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
6043 | return NULL; |
6044 | if (_argo0) { | |
6045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6048 | return NULL; |
6049 | } | |
6050 | } | |
6051 | { | |
4268f798 | 6052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6053 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
f6bcfd97 | 6054 | |
4268f798 RD |
6055 | wxPyEndAllowThreads(__tstate); |
6056 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6057 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6058 | return _resultobj; |
6059 | } | |
6060 | ||
65ec6247 RD |
6061 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) |
6062 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6063 | PyObject * _resultobj; |
65ec6247 | 6064 | int _result; |
f6bcfd97 | 6065 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6066 | PyObject * _argo0 = 0; |
65ec6247 | 6067 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6068 | |
6069 | self = self; | |
65ec6247 | 6070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
6071 | return NULL; |
6072 | if (_argo0) { | |
6073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6076 | return NULL; |
6077 | } | |
6078 | } | |
6079 | { | |
4268f798 | 6080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6081 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
f6bcfd97 | 6082 | |
4268f798 RD |
6083 | wxPyEndAllowThreads(__tstate); |
6084 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6085 | } _resultobj = Py_BuildValue("i",_result); |
6086 | return _resultobj; | |
6087 | } | |
6088 | ||
65ec6247 RD |
6089 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) |
6090 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6091 | PyObject * _resultobj; |
6092 | wxStyledTextCtrl * _arg0; | |
6093 | int _arg1; | |
65ec6247 | 6094 | int _arg2; |
f6bcfd97 | 6095 | PyObject * _argo0 = 0; |
65ec6247 | 6096 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
6097 | |
6098 | self = self; | |
65ec6247 | 6099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6100 | return NULL; |
6101 | if (_argo0) { | |
6102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6105 | return NULL; |
6106 | } | |
6107 | } | |
f6bcfd97 | 6108 | { |
4268f798 | 6109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6110 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); |
f6bcfd97 | 6111 | |
4268f798 RD |
6112 | wxPyEndAllowThreads(__tstate); |
6113 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6114 | } Py_INCREF(Py_None); |
6115 | _resultobj = Py_None; | |
6116 | return _resultobj; | |
6117 | } | |
6118 | ||
65ec6247 RD |
6119 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) |
6120 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6121 | PyObject * _resultobj; |
f6bcfd97 | 6122 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6123 | wxColour * _arg1; |
f6bcfd97 | 6124 | PyObject * _argo0 = 0; |
65ec6247 RD |
6125 | wxColour temp; |
6126 | PyObject * _obj1 = 0; | |
6127 | char *_kwnames[] = { "self","back", NULL }; | |
f6bcfd97 BP |
6128 | |
6129 | self = self; | |
65ec6247 | 6130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
6131 | return NULL; |
6132 | if (_argo0) { | |
6133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6136 | return NULL; |
6137 | } | |
6138 | } | |
65ec6247 RD |
6139 | { |
6140 | _arg1 = &temp; | |
6141 | if (! wxColour_helper(_obj1, &_arg1)) | |
6142 | return NULL; | |
6143 | } | |
f6bcfd97 | 6144 | { |
4268f798 | 6145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6146 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); |
f6bcfd97 | 6147 | |
4268f798 RD |
6148 | wxPyEndAllowThreads(__tstate); |
6149 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6150 | } Py_INCREF(Py_None); |
6151 | _resultobj = Py_None; | |
f6bcfd97 BP |
6152 | return _resultobj; |
6153 | } | |
6154 | ||
65ec6247 RD |
6155 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) |
6156 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6157 | PyObject * _resultobj; |
65ec6247 | 6158 | int _result; |
f6bcfd97 BP |
6159 | wxStyledTextCtrl * _arg0; |
6160 | int _arg1; | |
6161 | PyObject * _argo0 = 0; | |
6162 | char *_kwnames[] = { "self","line", NULL }; | |
6163 | ||
6164 | self = self; | |
65ec6247 | 6165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6166 | return NULL; |
6167 | if (_argo0) { | |
6168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6171 | return NULL; |
6172 | } | |
6173 | } | |
6174 | { | |
4268f798 | 6175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6176 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); |
f6bcfd97 | 6177 | |
4268f798 RD |
6178 | wxPyEndAllowThreads(__tstate); |
6179 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6180 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6181 | return _resultobj; |
6182 | } | |
6183 | ||
65ec6247 RD |
6184 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) |
6185 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6186 | PyObject * _resultobj; |
65ec6247 | 6187 | int _result; |
f6bcfd97 BP |
6188 | wxStyledTextCtrl * _arg0; |
6189 | int _arg1; | |
6190 | PyObject * _argo0 = 0; | |
65ec6247 | 6191 | char *_kwnames[] = { "self","lineDisplay", NULL }; |
f6bcfd97 BP |
6192 | |
6193 | self = self; | |
65ec6247 | 6194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6195 | return NULL; |
6196 | if (_argo0) { | |
6197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6200 | return NULL; |
6201 | } | |
6202 | } | |
6203 | { | |
4268f798 | 6204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6205 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); |
f6bcfd97 | 6206 | |
4268f798 RD |
6207 | wxPyEndAllowThreads(__tstate); |
6208 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6209 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6210 | return _resultobj; |
6211 | } | |
6212 | ||
65ec6247 RD |
6213 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) |
6214 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6215 | PyObject * _resultobj; |
6216 | wxStyledTextCtrl * _arg0; | |
6217 | int _arg1; | |
65ec6247 | 6218 | int _arg2; |
f6bcfd97 | 6219 | PyObject * _argo0 = 0; |
65ec6247 | 6220 | char *_kwnames[] = { "self","line","level", NULL }; |
f6bcfd97 BP |
6221 | |
6222 | self = self; | |
65ec6247 | 6223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6224 | return NULL; |
6225 | if (_argo0) { | |
6226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6229 | return NULL; |
6230 | } | |
6231 | } | |
6232 | { | |
4268f798 | 6233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6234 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
f6bcfd97 | 6235 | |
4268f798 RD |
6236 | wxPyEndAllowThreads(__tstate); |
6237 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6238 | } Py_INCREF(Py_None); |
6239 | _resultobj = Py_None; | |
6240 | return _resultobj; | |
6241 | } | |
6242 | ||
65ec6247 RD |
6243 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) |
6244 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6245 | PyObject * _resultobj; |
fe47ec10 | 6246 | int _result; |
f6bcfd97 | 6247 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6248 | int _arg1; |
f6bcfd97 | 6249 | PyObject * _argo0 = 0; |
fe47ec10 | 6250 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6251 | |
6252 | self = self; | |
65ec6247 | 6253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6254 | return NULL; |
6255 | if (_argo0) { | |
6256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6259 | return NULL; |
6260 | } | |
6261 | } | |
6262 | { | |
4268f798 | 6263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6264 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); |
f6bcfd97 | 6265 | |
4268f798 RD |
6266 | wxPyEndAllowThreads(__tstate); |
6267 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 6268 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6269 | return _resultobj; |
6270 | } | |
6271 | ||
65ec6247 RD |
6272 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) |
6273 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6274 | PyObject * _resultobj; |
65ec6247 | 6275 | int _result; |
f6bcfd97 | 6276 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
6277 | int _arg1; |
6278 | int _arg2; | |
f6bcfd97 | 6279 | PyObject * _argo0 = 0; |
65ec6247 | 6280 | char *_kwnames[] = { "self","line","level", NULL }; |
f6bcfd97 BP |
6281 | |
6282 | self = self; | |
65ec6247 | 6283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6284 | return NULL; |
6285 | if (_argo0) { | |
6286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6289 | return NULL; |
6290 | } | |
6291 | } | |
6292 | { | |
4268f798 | 6293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6294 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); |
f6bcfd97 | 6295 | |
4268f798 RD |
6296 | wxPyEndAllowThreads(__tstate); |
6297 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6298 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6299 | return _resultobj; |
6300 | } | |
6301 | ||
65ec6247 RD |
6302 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) |
6303 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6304 | PyObject * _resultobj; |
65ec6247 | 6305 | int _result; |
f6bcfd97 BP |
6306 | wxStyledTextCtrl * _arg0; |
6307 | int _arg1; | |
6308 | PyObject * _argo0 = 0; | |
65ec6247 | 6309 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6310 | |
6311 | self = self; | |
65ec6247 | 6312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6313 | return NULL; |
6314 | if (_argo0) { | |
6315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6318 | return NULL; |
6319 | } | |
6320 | } | |
6321 | { | |
4268f798 | 6322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6323 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); |
f6bcfd97 | 6324 | |
4268f798 RD |
6325 | wxPyEndAllowThreads(__tstate); |
6326 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6327 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6328 | return _resultobj; |
6329 | } | |
6330 | ||
65ec6247 RD |
6331 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) |
6332 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6333 | PyObject * _resultobj; |
f6bcfd97 | 6334 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6335 | int _arg1; |
65ec6247 | 6336 | int _arg2; |
f6bcfd97 | 6337 | PyObject * _argo0 = 0; |
65ec6247 | 6338 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; |
f6bcfd97 BP |
6339 | |
6340 | self = self; | |
65ec6247 | 6341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6342 | return NULL; |
6343 | if (_argo0) { | |
6344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6347 | return NULL; |
6348 | } | |
6349 | } | |
6350 | { | |
4268f798 | 6351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6352 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); |
f6bcfd97 | 6353 | |
4268f798 RD |
6354 | wxPyEndAllowThreads(__tstate); |
6355 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6356 | } Py_INCREF(Py_None); |
6357 | _resultobj = Py_None; | |
f6bcfd97 BP |
6358 | return _resultobj; |
6359 | } | |
6360 | ||
65ec6247 RD |
6361 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) |
6362 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6363 | PyObject * _resultobj; |
f6bcfd97 | 6364 | wxStyledTextCtrl * _arg0; |
65ec6247 RD |
6365 | int _arg1; |
6366 | int _arg2; | |
f6bcfd97 | 6367 | PyObject * _argo0 = 0; |
65ec6247 | 6368 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; |
f6bcfd97 BP |
6369 | |
6370 | self = self; | |
65ec6247 | 6371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6372 | return NULL; |
6373 | if (_argo0) { | |
6374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6377 | return NULL; |
6378 | } | |
6379 | } | |
6380 | { | |
4268f798 | 6381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6382 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); |
f6bcfd97 | 6383 | |
4268f798 RD |
6384 | wxPyEndAllowThreads(__tstate); |
6385 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6386 | } Py_INCREF(Py_None); |
6387 | _resultobj = Py_None; | |
f6bcfd97 BP |
6388 | return _resultobj; |
6389 | } | |
6390 | ||
65ec6247 RD |
6391 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) |
6392 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6393 | PyObject * _resultobj; |
65ec6247 | 6394 | bool _result; |
f6bcfd97 | 6395 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6396 | int _arg1; |
f6bcfd97 | 6397 | PyObject * _argo0 = 0; |
65ec6247 | 6398 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6399 | |
6400 | self = self; | |
65ec6247 | 6401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6402 | return NULL; |
6403 | if (_argo0) { | |
6404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6407 | return NULL; |
6408 | } | |
6409 | } | |
6410 | { | |
4268f798 | 6411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6412 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); |
f6bcfd97 | 6413 | |
4268f798 RD |
6414 | wxPyEndAllowThreads(__tstate); |
6415 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6416 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6417 | return _resultobj; |
6418 | } | |
6419 | ||
65ec6247 RD |
6420 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) |
6421 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6422 | PyObject * _resultobj; |
f6bcfd97 | 6423 | wxStyledTextCtrl * _arg0; |
65ec6247 RD |
6424 | int _arg1; |
6425 | bool _arg2; | |
f6bcfd97 | 6426 | PyObject * _argo0 = 0; |
65ec6247 RD |
6427 | int tempbool2; |
6428 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
f6bcfd97 BP |
6429 | |
6430 | self = self; | |
65ec6247 | 6431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
6432 | return NULL; |
6433 | if (_argo0) { | |
6434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6437 | return NULL; |
6438 | } | |
6439 | } | |
65ec6247 | 6440 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 6441 | { |
4268f798 | 6442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6443 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); |
f6bcfd97 | 6444 | |
4268f798 RD |
6445 | wxPyEndAllowThreads(__tstate); |
6446 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6447 | } Py_INCREF(Py_None); |
6448 | _resultobj = Py_None; | |
f6bcfd97 BP |
6449 | return _resultobj; |
6450 | } | |
6451 | ||
65ec6247 RD |
6452 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) |
6453 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6454 | PyObject * _resultobj; |
65ec6247 | 6455 | bool _result; |
f6bcfd97 | 6456 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6457 | int _arg1; |
f6bcfd97 | 6458 | PyObject * _argo0 = 0; |
65ec6247 | 6459 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6460 | |
6461 | self = self; | |
65ec6247 | 6462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6463 | return NULL; |
6464 | if (_argo0) { | |
6465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6468 | return NULL; |
6469 | } | |
6470 | } | |
6471 | { | |
4268f798 | 6472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6473 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); |
f6bcfd97 | 6474 | |
4268f798 RD |
6475 | wxPyEndAllowThreads(__tstate); |
6476 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6477 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6478 | return _resultobj; |
6479 | } | |
6480 | ||
65ec6247 RD |
6481 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) |
6482 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6483 | PyObject * _resultobj; | |
6484 | wxStyledTextCtrl * _arg0; | |
6485 | int _arg1; | |
6486 | PyObject * _argo0 = 0; | |
6487 | char *_kwnames[] = { "self","line", NULL }; | |
6488 | ||
6489 | self = self; | |
6490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
6491 | return NULL; | |
6492 | if (_argo0) { | |
6493 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6494 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
6496 | return NULL; | |
6497 | } | |
6498 | } | |
6499 | { | |
4268f798 | 6500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6501 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); |
65ec6247 | 6502 | |
4268f798 RD |
6503 | wxPyEndAllowThreads(__tstate); |
6504 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6505 | } Py_INCREF(Py_None); |
6506 | _resultobj = Py_None; | |
6507 | return _resultobj; | |
6508 | } | |
6509 | ||
6510 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
6511 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6512 | PyObject * _resultobj; | |
6513 | wxStyledTextCtrl * _arg0; | |
6514 | int _arg1; | |
6515 | PyObject * _argo0 = 0; | |
6516 | char *_kwnames[] = { "self","line", NULL }; | |
6517 | ||
6518 | self = self; | |
6519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
6520 | return NULL; | |
6521 | if (_argo0) { | |
6522 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6523 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
6525 | return NULL; | |
6526 | } | |
6527 | } | |
6528 | { | |
4268f798 | 6529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6530 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); |
65ec6247 | 6531 | |
4268f798 RD |
6532 | wxPyEndAllowThreads(__tstate); |
6533 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6534 | } Py_INCREF(Py_None); |
6535 | _resultobj = Py_None; | |
6536 | return _resultobj; | |
6537 | } | |
6538 | ||
6539 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
6540 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6541 | PyObject * _resultobj; | |
6542 | wxStyledTextCtrl * _arg0; | |
6543 | int _arg1; | |
6544 | PyObject * _argo0 = 0; | |
6545 | char *_kwnames[] = { "self","flags", NULL }; | |
6546 | ||
6547 | self = self; | |
6548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
6549 | return NULL; | |
6550 | if (_argo0) { | |
6551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
6554 | return NULL; | |
6555 | } | |
6556 | } | |
6557 | { | |
4268f798 | 6558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6559 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); |
65ec6247 | 6560 | |
4268f798 RD |
6561 | wxPyEndAllowThreads(__tstate); |
6562 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6563 | } Py_INCREF(Py_None); |
6564 | _resultobj = Py_None; | |
6565 | return _resultobj; | |
6566 | } | |
6567 | ||
6568 | #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0)) | |
6569 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6570 | PyObject * _resultobj; | |
6571 | wxStyledTextCtrl * _arg0; | |
6572 | int _arg1; | |
6573 | PyObject * _argo0 = 0; | |
6574 | char *_kwnames[] = { "self","line", NULL }; | |
6575 | ||
6576 | self = self; | |
6577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1)) | |
6578 | return NULL; | |
6579 | if (_argo0) { | |
6580 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6581 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p."); | |
6583 | return NULL; | |
6584 | } | |
6585 | } | |
6586 | { | |
4268f798 | 6587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6588 | wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1); |
65ec6247 | 6589 | |
4268f798 RD |
6590 | wxPyEndAllowThreads(__tstate); |
6591 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6592 | } Py_INCREF(Py_None); |
6593 | _resultobj = Py_None; | |
6594 | return _resultobj; | |
6595 | } | |
6596 | ||
6597 | #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0)) | |
6598 | static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6599 | PyObject * _resultobj; | |
6600 | wxStyledTextCtrl * _arg0; | |
6601 | bool _arg1; | |
6602 | PyObject * _argo0 = 0; | |
6603 | int tempbool1; | |
6604 | char *_kwnames[] = { "self","tabIndents", NULL }; | |
6605 | ||
6606 | self = self; | |
6607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1)) | |
6608 | return NULL; | |
6609 | if (_argo0) { | |
6610 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6611 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6613 | return NULL; | |
6614 | } | |
6615 | } | |
6616 | _arg1 = (bool ) tempbool1; | |
6617 | { | |
4268f798 | 6618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6619 | wxStyledTextCtrl_SetTabIndents(_arg0,_arg1); |
65ec6247 | 6620 | |
4268f798 RD |
6621 | wxPyEndAllowThreads(__tstate); |
6622 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6623 | } Py_INCREF(Py_None); |
6624 | _resultobj = Py_None; | |
6625 | return _resultobj; | |
6626 | } | |
6627 | ||
6628 | #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents()) | |
6629 | static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6630 | PyObject * _resultobj; | |
6631 | bool _result; | |
6632 | wxStyledTextCtrl * _arg0; | |
6633 | PyObject * _argo0 = 0; | |
6634 | char *_kwnames[] = { "self", NULL }; | |
6635 | ||
6636 | self = self; | |
6637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0)) | |
6638 | return NULL; | |
6639 | if (_argo0) { | |
6640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6643 | return NULL; | |
6644 | } | |
6645 | } | |
6646 | { | |
4268f798 | 6647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6648 | _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0); |
65ec6247 | 6649 | |
4268f798 RD |
6650 | wxPyEndAllowThreads(__tstate); |
6651 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6652 | } _resultobj = Py_BuildValue("i",_result); |
6653 | return _resultobj; | |
6654 | } | |
6655 | ||
6656 | #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0)) | |
6657 | static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6658 | PyObject * _resultobj; | |
6659 | wxStyledTextCtrl * _arg0; | |
6660 | bool _arg1; | |
6661 | PyObject * _argo0 = 0; | |
6662 | int tempbool1; | |
6663 | char *_kwnames[] = { "self","bsUnIndents", NULL }; | |
6664 | ||
6665 | self = self; | |
6666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1)) | |
6667 | return NULL; | |
6668 | if (_argo0) { | |
6669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6672 | return NULL; | |
6673 | } | |
6674 | } | |
6675 | _arg1 = (bool ) tempbool1; | |
6676 | { | |
4268f798 | 6677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6678 | wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1); |
65ec6247 | 6679 | |
4268f798 RD |
6680 | wxPyEndAllowThreads(__tstate); |
6681 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6682 | } Py_INCREF(Py_None); |
6683 | _resultobj = Py_None; | |
6684 | return _resultobj; | |
6685 | } | |
6686 | ||
6687 | #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents()) | |
6688 | static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6689 | PyObject * _resultobj; | |
6690 | bool _result; | |
6691 | wxStyledTextCtrl * _arg0; | |
6692 | PyObject * _argo0 = 0; | |
6693 | char *_kwnames[] = { "self", NULL }; | |
6694 | ||
6695 | self = self; | |
6696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0)) | |
6697 | return NULL; | |
6698 | if (_argo0) { | |
6699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6702 | return NULL; | |
6703 | } | |
6704 | } | |
6705 | { | |
4268f798 | 6706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6707 | _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0); |
65ec6247 | 6708 | |
4268f798 RD |
6709 | wxPyEndAllowThreads(__tstate); |
6710 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6711 | } _resultobj = Py_BuildValue("i",_result); |
6712 | return _resultobj; | |
6713 | } | |
6714 | ||
6715 | #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0)) | |
6716 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6717 | PyObject * _resultobj; | |
6718 | wxStyledTextCtrl * _arg0; | |
6719 | int _arg1; | |
6720 | PyObject * _argo0 = 0; | |
6721 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
6722 | ||
6723 | self = self; | |
6724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1)) | |
6725 | return NULL; | |
6726 | if (_argo0) { | |
6727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6730 | return NULL; | |
6731 | } | |
6732 | } | |
6733 | { | |
4268f798 | 6734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6735 | wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1); |
65ec6247 | 6736 | |
4268f798 RD |
6737 | wxPyEndAllowThreads(__tstate); |
6738 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6739 | } Py_INCREF(Py_None); |
6740 | _resultobj = Py_None; | |
6741 | return _resultobj; | |
6742 | } | |
6743 | ||
6744 | #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime()) | |
6745 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6746 | PyObject * _resultobj; | |
6747 | int _result; | |
6748 | wxStyledTextCtrl * _arg0; | |
6749 | PyObject * _argo0 = 0; | |
6750 | char *_kwnames[] = { "self", NULL }; | |
6751 | ||
6752 | self = self; | |
6753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0)) | |
6754 | return NULL; | |
6755 | if (_argo0) { | |
6756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6759 | return NULL; | |
6760 | } | |
6761 | } | |
6762 | { | |
4268f798 | 6763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6764 | _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0); |
65ec6247 | 6765 | |
4268f798 RD |
6766 | wxPyEndAllowThreads(__tstate); |
6767 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6768 | } _resultobj = Py_BuildValue("i",_result); |
6769 | return _resultobj; | |
6770 | } | |
6771 | ||
1a2fb4cd RD |
6772 | #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1)) |
6773 | static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6774 | PyObject * _resultobj; | |
6775 | int _result; | |
6776 | wxStyledTextCtrl * _arg0; | |
6777 | int _arg1; | |
6778 | bool _arg2; | |
6779 | PyObject * _argo0 = 0; | |
6780 | int tempbool2; | |
6781 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6782 | ||
6783 | self = self; | |
6784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6785 | return NULL; | |
6786 | if (_argo0) { | |
6787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p."); | |
6790 | return NULL; | |
6791 | } | |
6792 | } | |
6793 | _arg2 = (bool ) tempbool2; | |
6794 | { | |
6795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6796 | _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2); | |
6797 | ||
6798 | wxPyEndAllowThreads(__tstate); | |
6799 | if (PyErr_Occurred()) return NULL; | |
6800 | } _resultobj = Py_BuildValue("i",_result); | |
6801 | return _resultobj; | |
6802 | } | |
6803 | ||
6804 | #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1)) | |
6805 | static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6806 | PyObject * _resultobj; | |
6807 | int _result; | |
6808 | wxStyledTextCtrl * _arg0; | |
6809 | int _arg1; | |
6810 | bool _arg2; | |
6811 | PyObject * _argo0 = 0; | |
6812 | int tempbool2; | |
6813 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6814 | ||
6815 | self = self; | |
6816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6817 | return NULL; | |
6818 | if (_argo0) { | |
6819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p."); | |
6822 | return NULL; | |
6823 | } | |
6824 | } | |
6825 | _arg2 = (bool ) tempbool2; | |
6826 | { | |
6827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6828 | _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2); | |
6829 | ||
6830 | wxPyEndAllowThreads(__tstate); | |
6831 | if (PyErr_Occurred()) return NULL; | |
6832 | } _resultobj = Py_BuildValue("i",_result); | |
6833 | return _resultobj; | |
6834 | } | |
6835 | ||
6836 | #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0)) | |
6837 | static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6838 | PyObject * _resultobj; | |
6839 | wxStyledTextCtrl * _arg0; | |
6840 | int _arg1; | |
6841 | PyObject * _argo0 = 0; | |
6842 | char *_kwnames[] = { "self","mode", NULL }; | |
6843 | ||
6844 | self = self; | |
6845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1)) | |
6846 | return NULL; | |
6847 | if (_argo0) { | |
6848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6851 | return NULL; | |
6852 | } | |
6853 | } | |
6854 | { | |
6855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6856 | wxStyledTextCtrl_SetWrapMode(_arg0,_arg1); | |
6857 | ||
6858 | wxPyEndAllowThreads(__tstate); | |
6859 | if (PyErr_Occurred()) return NULL; | |
6860 | } Py_INCREF(Py_None); | |
6861 | _resultobj = Py_None; | |
6862 | return _resultobj; | |
6863 | } | |
6864 | ||
6865 | #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode()) | |
6866 | static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6867 | PyObject * _resultobj; | |
6868 | int _result; | |
6869 | wxStyledTextCtrl * _arg0; | |
6870 | PyObject * _argo0 = 0; | |
6871 | char *_kwnames[] = { "self", NULL }; | |
6872 | ||
6873 | self = self; | |
6874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0)) | |
6875 | return NULL; | |
6876 | if (_argo0) { | |
6877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6880 | return NULL; | |
6881 | } | |
6882 | } | |
6883 | { | |
6884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6885 | _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0); | |
6886 | ||
6887 | wxPyEndAllowThreads(__tstate); | |
6888 | if (PyErr_Occurred()) return NULL; | |
6889 | } _resultobj = Py_BuildValue("i",_result); | |
6890 | return _resultobj; | |
6891 | } | |
6892 | ||
6893 | #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0)) | |
6894 | static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6895 | PyObject * _resultobj; | |
6896 | wxStyledTextCtrl * _arg0; | |
6897 | int _arg1; | |
6898 | PyObject * _argo0 = 0; | |
6899 | char *_kwnames[] = { "self","mode", NULL }; | |
6900 | ||
6901 | self = self; | |
6902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1)) | |
6903 | return NULL; | |
6904 | if (_argo0) { | |
6905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6908 | return NULL; | |
6909 | } | |
6910 | } | |
6911 | { | |
6912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6913 | wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1); | |
6914 | ||
6915 | wxPyEndAllowThreads(__tstate); | |
6916 | if (PyErr_Occurred()) return NULL; | |
6917 | } Py_INCREF(Py_None); | |
6918 | _resultobj = Py_None; | |
6919 | return _resultobj; | |
6920 | } | |
6921 | ||
6922 | #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache()) | |
6923 | static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6924 | PyObject * _resultobj; | |
6925 | int _result; | |
6926 | wxStyledTextCtrl * _arg0; | |
6927 | PyObject * _argo0 = 0; | |
6928 | char *_kwnames[] = { "self", NULL }; | |
6929 | ||
6930 | self = self; | |
6931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0)) | |
6932 | return NULL; | |
6933 | if (_argo0) { | |
6934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6937 | return NULL; | |
6938 | } | |
6939 | } | |
6940 | { | |
6941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6942 | _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0); | |
6943 | ||
6944 | wxPyEndAllowThreads(__tstate); | |
6945 | if (PyErr_Occurred()) return NULL; | |
6946 | } _resultobj = Py_BuildValue("i",_result); | |
6947 | return _resultobj; | |
6948 | } | |
6949 | ||
65ec6247 RD |
6950 | #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView()) |
6951 | static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6952 | PyObject * _resultobj; | |
6953 | wxStyledTextCtrl * _arg0; | |
6954 | PyObject * _argo0 = 0; | |
6955 | char *_kwnames[] = { "self", NULL }; | |
6956 | ||
6957 | self = self; | |
6958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0)) | |
6959 | return NULL; | |
6960 | if (_argo0) { | |
6961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p."); | |
6964 | return NULL; | |
6965 | } | |
6966 | } | |
6967 | { | |
4268f798 | 6968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6969 | wxStyledTextCtrl_MoveCaretInsideView(_arg0); |
65ec6247 | 6970 | |
4268f798 RD |
6971 | wxPyEndAllowThreads(__tstate); |
6972 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6973 | } Py_INCREF(Py_None); |
6974 | _resultobj = Py_None; | |
6975 | return _resultobj; | |
6976 | } | |
6977 | ||
6978 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) | |
6979 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6980 | PyObject * _resultobj; | |
6981 | int _result; | |
6982 | wxStyledTextCtrl * _arg0; | |
6983 | int _arg1; | |
6984 | PyObject * _argo0 = 0; | |
6985 | char *_kwnames[] = { "self","line", NULL }; | |
6986 | ||
6987 | self = self; | |
6988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) | |
6989 | return NULL; | |
6990 | if (_argo0) { | |
6991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); | |
6994 | return NULL; | |
6995 | } | |
6996 | } | |
6997 | { | |
4268f798 | 6998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6999 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
65ec6247 | 7000 | |
4268f798 RD |
7001 | wxPyEndAllowThreads(__tstate); |
7002 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7003 | } _resultobj = Py_BuildValue("i",_result); |
7004 | return _resultobj; | |
7005 | } | |
7006 | ||
7007 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) | |
7008 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7009 | PyObject * _resultobj; | |
7010 | wxStyledTextCtrl * _arg0; | |
7011 | int _arg1; | |
7012 | int _arg2; | |
7013 | PyObject * _argo0 = 0; | |
7014 | char *_kwnames[] = { "self","pos1","pos2", NULL }; | |
7015 | ||
7016 | self = self; | |
7017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7018 | return NULL; | |
7019 | if (_argo0) { | |
7020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); | |
7023 | return NULL; | |
7024 | } | |
7025 | } | |
7026 | { | |
4268f798 | 7027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7028 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
65ec6247 | 7029 | |
4268f798 RD |
7030 | wxPyEndAllowThreads(__tstate); |
7031 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7032 | } Py_INCREF(Py_None); |
7033 | _resultobj = Py_None; | |
7034 | return _resultobj; | |
7035 | } | |
7036 | ||
7037 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) | |
7038 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7039 | PyObject * _resultobj; | |
7040 | wxStyledTextCtrl * _arg0; | |
7041 | int _arg1; | |
7042 | PyObject * _argo0 = 0; | |
7043 | char *_kwnames[] = { "self","pos", NULL }; | |
7044 | ||
7045 | self = self; | |
7046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) | |
7047 | return NULL; | |
7048 | if (_argo0) { | |
7049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); | |
7052 | return NULL; | |
7053 | } | |
7054 | } | |
7055 | { | |
4268f798 | 7056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7057 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
65ec6247 | 7058 | |
4268f798 RD |
7059 | wxPyEndAllowThreads(__tstate); |
7060 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7061 | } Py_INCREF(Py_None); |
7062 | _resultobj = Py_None; | |
7063 | return _resultobj; | |
7064 | } | |
7065 | ||
7066 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) | |
7067 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7068 | PyObject * _resultobj; | |
7069 | int _result; | |
7070 | wxStyledTextCtrl * _arg0; | |
7071 | int _arg1; | |
7072 | PyObject * _argo0 = 0; | |
7073 | char *_kwnames[] = { "self","pos", NULL }; | |
7074 | ||
7075 | self = self; | |
7076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) | |
7077 | return NULL; | |
7078 | if (_argo0) { | |
7079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); | |
7082 | return NULL; | |
7083 | } | |
7084 | } | |
7085 | { | |
4268f798 | 7086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7087 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
65ec6247 | 7088 | |
4268f798 RD |
7089 | wxPyEndAllowThreads(__tstate); |
7090 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7091 | } _resultobj = Py_BuildValue("i",_result); |
7092 | return _resultobj; | |
7093 | } | |
7094 | ||
7095 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) | |
7096 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7097 | PyObject * _resultobj; | |
7098 | bool _result; | |
7099 | wxStyledTextCtrl * _arg0; | |
7100 | PyObject * _argo0 = 0; | |
7101 | char *_kwnames[] = { "self", NULL }; | |
7102 | ||
7103 | self = self; | |
7104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) | |
7105 | return NULL; | |
7106 | if (_argo0) { | |
7107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7110 | return NULL; | |
7111 | } | |
7112 | } | |
7113 | { | |
4268f798 | 7114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7115 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
65ec6247 | 7116 | |
4268f798 RD |
7117 | wxPyEndAllowThreads(__tstate); |
7118 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7119 | } _resultobj = Py_BuildValue("i",_result); |
7120 | return _resultobj; | |
7121 | } | |
7122 | ||
7123 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) | |
7124 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7125 | PyObject * _resultobj; | |
7126 | wxStyledTextCtrl * _arg0; | |
7127 | bool _arg1; | |
7128 | PyObject * _argo0 = 0; | |
7129 | int tempbool1; | |
7130 | char *_kwnames[] = { "self","visible", NULL }; | |
7131 | ||
7132 | self = self; | |
7133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) | |
7134 | return NULL; | |
7135 | if (_argo0) { | |
7136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7139 | return NULL; | |
7140 | } | |
7141 | } | |
7142 | _arg1 = (bool ) tempbool1; | |
7143 | { | |
4268f798 | 7144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7145 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
65ec6247 | 7146 | |
4268f798 RD |
7147 | wxPyEndAllowThreads(__tstate); |
7148 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7149 | } Py_INCREF(Py_None); |
7150 | _resultobj = Py_None; | |
7151 | return _resultobj; | |
7152 | } | |
7153 | ||
7154 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) | |
7155 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7156 | PyObject * _resultobj; | |
7157 | void * _result; | |
7158 | wxStyledTextCtrl * _arg0; | |
7159 | PyObject * _argo0 = 0; | |
7160 | char *_kwnames[] = { "self", NULL }; | |
7161 | char _ptemp[128]; | |
7162 | ||
7163 | self = self; | |
7164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) | |
7165 | return NULL; | |
7166 | if (_argo0) { | |
7167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7170 | return NULL; | |
7171 | } | |
7172 | } | |
7173 | { | |
4268f798 | 7174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7175 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
65ec6247 | 7176 | |
4268f798 RD |
7177 | wxPyEndAllowThreads(__tstate); |
7178 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7179 | } if (_result) { |
7180 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7181 | _resultobj = Py_BuildValue("s",_ptemp); | |
7182 | } else { | |
7183 | Py_INCREF(Py_None); | |
7184 | _resultobj = Py_None; | |
7185 | } | |
7186 | return _resultobj; | |
7187 | } | |
7188 | ||
7189 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) | |
7190 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7191 | PyObject * _resultobj; | |
7192 | wxStyledTextCtrl * _arg0; | |
7193 | void * _arg1; | |
7194 | PyObject * _argo0 = 0; | |
7195 | PyObject * _argo1 = 0; | |
7196 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7197 | ||
7198 | self = self; | |
7199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) | |
7200 | return NULL; | |
7201 | if (_argo0) { | |
7202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7205 | return NULL; | |
7206 | } | |
7207 | } | |
7208 | if (_argo1) { | |
7209 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7210 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
7212 | return NULL; | |
7213 | } | |
7214 | } | |
7215 | { | |
4268f798 | 7216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7217 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
65ec6247 | 7218 | |
4268f798 RD |
7219 | wxPyEndAllowThreads(__tstate); |
7220 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7221 | } Py_INCREF(Py_None); |
7222 | _resultobj = Py_None; | |
7223 | return _resultobj; | |
7224 | } | |
7225 | ||
7226 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) | |
fe47ec10 | 7227 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
f6bcfd97 | 7228 | PyObject * _resultobj; |
f6bcfd97 | 7229 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 7230 | int _arg1; |
f6bcfd97 | 7231 | PyObject * _argo0 = 0; |
65ec6247 RD |
7232 | char *_kwnames[] = { "self","mask", NULL }; |
7233 | ||
7234 | self = self; | |
7235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) | |
7236 | return NULL; | |
7237 | if (_argo0) { | |
7238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7241 | return NULL; | |
7242 | } | |
7243 | } | |
7244 | { | |
4268f798 | 7245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7246 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
65ec6247 | 7247 | |
4268f798 RD |
7248 | wxPyEndAllowThreads(__tstate); |
7249 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7250 | } Py_INCREF(Py_None); |
7251 | _resultobj = Py_None; | |
7252 | return _resultobj; | |
7253 | } | |
7254 | ||
7255 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) | |
7256 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7257 | PyObject * _resultobj; | |
7258 | int _result; | |
7259 | wxStyledTextCtrl * _arg0; | |
7260 | PyObject * _argo0 = 0; | |
7261 | char *_kwnames[] = { "self", NULL }; | |
7262 | ||
7263 | self = self; | |
7264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) | |
7265 | return NULL; | |
7266 | if (_argo0) { | |
7267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7270 | return NULL; | |
7271 | } | |
7272 | } | |
7273 | { | |
4268f798 | 7274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7275 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
65ec6247 | 7276 | |
4268f798 RD |
7277 | wxPyEndAllowThreads(__tstate); |
7278 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7279 | } _resultobj = Py_BuildValue("i",_result); |
7280 | return _resultobj; | |
7281 | } | |
7282 | ||
7283 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) | |
7284 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7285 | PyObject * _resultobj; | |
7286 | wxStyledTextCtrl * _arg0; | |
7287 | int _arg1; | |
7288 | PyObject * _argo0 = 0; | |
7289 | char *_kwnames[] = { "self","column", NULL }; | |
7290 | ||
7291 | self = self; | |
7292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
7293 | return NULL; | |
7294 | if (_argo0) { | |
7295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7298 | return NULL; | |
7299 | } | |
7300 | } | |
7301 | { | |
4268f798 | 7302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7303 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); |
65ec6247 | 7304 | |
4268f798 RD |
7305 | wxPyEndAllowThreads(__tstate); |
7306 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7307 | } Py_INCREF(Py_None); |
7308 | _resultobj = Py_None; | |
7309 | return _resultobj; | |
7310 | } | |
7311 | ||
7312 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
7313 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7314 | PyObject * _resultobj; | |
7315 | int _result; | |
7316 | wxStyledTextCtrl * _arg0; | |
7317 | PyObject * _argo0 = 0; | |
7318 | char *_kwnames[] = { "self", NULL }; | |
7319 | ||
7320 | self = self; | |
7321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
7322 | return NULL; | |
7323 | if (_argo0) { | |
7324 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7325 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7327 | return NULL; | |
7328 | } | |
7329 | } | |
7330 | { | |
4268f798 | 7331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7332 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); |
65ec6247 | 7333 | |
4268f798 RD |
7334 | wxPyEndAllowThreads(__tstate); |
7335 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7336 | } _resultobj = Py_BuildValue("i",_result); |
7337 | return _resultobj; | |
7338 | } | |
7339 | ||
7340 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
7341 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7342 | PyObject * _resultobj; | |
7343 | wxStyledTextCtrl * _arg0; | |
7344 | int _arg1; | |
7345 | PyObject * _argo0 = 0; | |
7346 | char *_kwnames[] = { "self","mode", NULL }; | |
7347 | ||
7348 | self = self; | |
7349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
7350 | return NULL; | |
7351 | if (_argo0) { | |
7352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7355 | return NULL; | |
7356 | } | |
7357 | } | |
7358 | { | |
4268f798 | 7359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7360 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); |
65ec6247 | 7361 | |
4268f798 RD |
7362 | wxPyEndAllowThreads(__tstate); |
7363 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7364 | } Py_INCREF(Py_None); |
7365 | _resultobj = Py_None; | |
7366 | return _resultobj; | |
7367 | } | |
7368 | ||
7369 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
7370 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7371 | PyObject * _resultobj; | |
7372 | wxColour * _result; | |
7373 | wxStyledTextCtrl * _arg0; | |
7374 | PyObject * _argo0 = 0; | |
7375 | char *_kwnames[] = { "self", NULL }; | |
7376 | char _ptemp[128]; | |
7377 | ||
7378 | self = self; | |
7379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
7380 | return NULL; | |
7381 | if (_argo0) { | |
7382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7385 | return NULL; | |
7386 | } | |
7387 | } | |
7388 | { | |
4268f798 | 7389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7390 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); |
65ec6247 | 7391 | |
4268f798 RD |
7392 | wxPyEndAllowThreads(__tstate); |
7393 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7394 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
7395 | _resultobj = Py_BuildValue("s",_ptemp); | |
7396 | return _resultobj; | |
7397 | } | |
7398 | ||
7399 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
7400 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7401 | PyObject * _resultobj; | |
7402 | wxStyledTextCtrl * _arg0; | |
7403 | wxColour * _arg1; | |
7404 | PyObject * _argo0 = 0; | |
7405 | wxColour temp; | |
7406 | PyObject * _obj1 = 0; | |
7407 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
7408 | ||
7409 | self = self; | |
7410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
7411 | return NULL; | |
7412 | if (_argo0) { | |
7413 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7414 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7416 | return NULL; | |
7417 | } | |
7418 | } | |
7419 | { | |
7420 | _arg1 = &temp; | |
7421 | if (! wxColour_helper(_obj1, &_arg1)) | |
7422 | return NULL; | |
7423 | } | |
7424 | { | |
4268f798 | 7425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7426 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); |
65ec6247 | 7427 | |
4268f798 RD |
7428 | wxPyEndAllowThreads(__tstate); |
7429 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7430 | } Py_INCREF(Py_None); |
7431 | _resultobj = Py_None; | |
7432 | return _resultobj; | |
7433 | } | |
7434 | ||
7435 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
7436 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7437 | PyObject * _resultobj; | |
7438 | wxStyledTextCtrl * _arg0; | |
7439 | PyObject * _argo0 = 0; | |
7440 | char *_kwnames[] = { "self", NULL }; | |
7441 | ||
7442 | self = self; | |
7443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
7444 | return NULL; | |
7445 | if (_argo0) { | |
7446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
7449 | return NULL; | |
7450 | } | |
7451 | } | |
7452 | { | |
4268f798 | 7453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7454 | wxStyledTextCtrl_SearchAnchor(_arg0); |
65ec6247 | 7455 | |
4268f798 RD |
7456 | wxPyEndAllowThreads(__tstate); |
7457 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7458 | } Py_INCREF(Py_None); |
7459 | _resultobj = Py_None; | |
7460 | return _resultobj; | |
7461 | } | |
7462 | ||
7463 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
7464 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7465 | PyObject * _resultobj; | |
7466 | int _result; | |
7467 | wxStyledTextCtrl * _arg0; | |
7468 | int _arg1; | |
7469 | wxString * _arg2; | |
7470 | PyObject * _argo0 = 0; | |
7471 | PyObject * _obj2 = 0; | |
7472 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7473 | ||
7474 | self = self; | |
7475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7476 | return NULL; | |
7477 | if (_argo0) { | |
7478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
7481 | return NULL; | |
7482 | } | |
7483 | } | |
7484 | { | |
c8bc7bb8 RD |
7485 | _arg2 = wxString_in_helper(_obj2); |
7486 | if (_arg2 == NULL) | |
65ec6247 | 7487 | return NULL; |
65ec6247 RD |
7488 | } |
7489 | { | |
4268f798 | 7490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7491 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); |
65ec6247 | 7492 | |
4268f798 RD |
7493 | wxPyEndAllowThreads(__tstate); |
7494 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7495 | } _resultobj = Py_BuildValue("i",_result); |
7496 | { | |
7497 | if (_obj2) | |
7498 | delete _arg2; | |
7499 | } | |
7500 | return _resultobj; | |
7501 | } | |
7502 | ||
7503 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
7504 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7505 | PyObject * _resultobj; | |
7506 | int _result; | |
7507 | wxStyledTextCtrl * _arg0; | |
7508 | int _arg1; | |
7509 | wxString * _arg2; | |
7510 | PyObject * _argo0 = 0; | |
7511 | PyObject * _obj2 = 0; | |
7512 | char *_kwnames[] = { "self","flags","text", NULL }; | |
f6bcfd97 BP |
7513 | |
7514 | self = self; | |
65ec6247 | 7515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
7516 | return NULL; |
7517 | if (_argo0) { | |
7518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); |
7521 | return NULL; | |
7522 | } | |
7523 | } | |
7524 | { | |
c8bc7bb8 RD |
7525 | _arg2 = wxString_in_helper(_obj2); |
7526 | if (_arg2 == NULL) | |
65ec6247 | 7527 | return NULL; |
65ec6247 RD |
7528 | } |
7529 | { | |
4268f798 | 7530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7531 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); |
65ec6247 | 7532 | |
4268f798 RD |
7533 | wxPyEndAllowThreads(__tstate); |
7534 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7535 | } _resultobj = Py_BuildValue("i",_result); |
7536 | { | |
7537 | if (_obj2) | |
7538 | delete _arg2; | |
7539 | } | |
7540 | return _resultobj; | |
7541 | } | |
7542 | ||
7543 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
7544 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7545 | PyObject * _resultobj; | |
7546 | wxStyledTextCtrl * _arg0; | |
7547 | int _arg1; | |
7548 | int _arg2; | |
7549 | PyObject * _argo0 = 0; | |
7550 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
7551 | ||
7552 | self = self; | |
7553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7554 | return NULL; | |
7555 | if (_argo0) { | |
7556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
7559 | return NULL; | |
7560 | } | |
7561 | } | |
7562 | { | |
4268f798 | 7563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7564 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); |
65ec6247 | 7565 | |
4268f798 RD |
7566 | wxPyEndAllowThreads(__tstate); |
7567 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7568 | } Py_INCREF(Py_None); |
7569 | _resultobj = Py_None; | |
7570 | return _resultobj; | |
7571 | } | |
7572 | ||
7573 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
7574 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7575 | PyObject * _resultobj; | |
7576 | int _result; | |
7577 | wxStyledTextCtrl * _arg0; | |
7578 | PyObject * _argo0 = 0; | |
7579 | char *_kwnames[] = { "self", NULL }; | |
7580 | ||
7581 | self = self; | |
7582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
7583 | return NULL; | |
7584 | if (_argo0) { | |
7585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
7588 | return NULL; | |
7589 | } | |
7590 | } | |
7591 | { | |
4268f798 | 7592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7593 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); |
65ec6247 | 7594 | |
4268f798 RD |
7595 | wxPyEndAllowThreads(__tstate); |
7596 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7597 | } _resultobj = Py_BuildValue("i",_result); |
7598 | return _resultobj; | |
7599 | } | |
7600 | ||
7601 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
7602 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7603 | PyObject * _resultobj; | |
7604 | wxStyledTextCtrl * _arg0; | |
7605 | bool _arg1; | |
7606 | PyObject * _argo0 = 0; | |
7607 | int tempbool1; | |
7608 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
7609 | ||
7610 | self = self; | |
7611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
7612 | return NULL; | |
7613 | if (_argo0) { | |
7614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
7617 | return NULL; | |
7618 | } | |
7619 | } | |
7620 | _arg1 = (bool ) tempbool1; | |
7621 | { | |
4268f798 | 7622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7623 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); |
65ec6247 | 7624 | |
4268f798 RD |
7625 | wxPyEndAllowThreads(__tstate); |
7626 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7627 | } Py_INCREF(Py_None); |
7628 | _resultobj = Py_None; | |
7629 | return _resultobj; | |
7630 | } | |
7631 | ||
7632 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
7633 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7634 | PyObject * _resultobj; | |
7635 | bool _result; | |
7636 | wxStyledTextCtrl * _arg0; | |
7637 | PyObject * _argo0 = 0; | |
7638 | char *_kwnames[] = { "self", NULL }; | |
7639 | ||
7640 | self = self; | |
7641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
7642 | return NULL; | |
7643 | if (_argo0) { | |
7644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
7647 | return NULL; | |
7648 | } | |
7649 | } | |
7650 | { | |
4268f798 | 7651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7652 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); |
65ec6247 | 7653 | |
4268f798 RD |
7654 | wxPyEndAllowThreads(__tstate); |
7655 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7656 | } _resultobj = Py_BuildValue("i",_result); |
7657 | return _resultobj; | |
7658 | } | |
7659 | ||
7660 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
7661 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7662 | PyObject * _resultobj; | |
7663 | wxStyledTextCtrl * _arg0; | |
7664 | int _arg1; | |
7665 | PyObject * _argo0 = 0; | |
7666 | char *_kwnames[] = { "self","zoom", NULL }; | |
7667 | ||
7668 | self = self; | |
7669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
7670 | return NULL; | |
7671 | if (_argo0) { | |
7672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
7675 | return NULL; | |
7676 | } | |
7677 | } | |
7678 | { | |
4268f798 | 7679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7680 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); |
65ec6247 | 7681 | |
4268f798 RD |
7682 | wxPyEndAllowThreads(__tstate); |
7683 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7684 | } Py_INCREF(Py_None); |
7685 | _resultobj = Py_None; | |
7686 | return _resultobj; | |
7687 | } | |
7688 | ||
7689 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
7690 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7691 | PyObject * _resultobj; | |
7692 | int _result; | |
7693 | wxStyledTextCtrl * _arg0; | |
7694 | PyObject * _argo0 = 0; | |
7695 | char *_kwnames[] = { "self", NULL }; | |
7696 | ||
7697 | self = self; | |
7698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
7699 | return NULL; | |
7700 | if (_argo0) { | |
7701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
7704 | return NULL; | |
7705 | } | |
7706 | } | |
7707 | { | |
4268f798 | 7708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7709 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); |
65ec6247 | 7710 | |
4268f798 RD |
7711 | wxPyEndAllowThreads(__tstate); |
7712 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7713 | } _resultobj = Py_BuildValue("i",_result); |
7714 | return _resultobj; | |
7715 | } | |
7716 | ||
7717 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
7718 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7719 | PyObject * _resultobj; | |
7720 | void * _result; | |
7721 | wxStyledTextCtrl * _arg0; | |
7722 | PyObject * _argo0 = 0; | |
7723 | char *_kwnames[] = { "self", NULL }; | |
7724 | char _ptemp[128]; | |
7725 | ||
7726 | self = self; | |
7727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
7728 | return NULL; | |
7729 | if (_argo0) { | |
7730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
f6bcfd97 BP |
7733 | return NULL; |
7734 | } | |
7735 | } | |
7736 | { | |
4268f798 | 7737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7738 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); |
f6bcfd97 | 7739 | |
4268f798 RD |
7740 | wxPyEndAllowThreads(__tstate); |
7741 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7742 | } if (_result) { |
7743 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7744 | _resultobj = Py_BuildValue("s",_ptemp); | |
7745 | } else { | |
7746 | Py_INCREF(Py_None); | |
7747 | _resultobj = Py_None; | |
7748 | } | |
f6bcfd97 BP |
7749 | return _resultobj; |
7750 | } | |
7751 | ||
65ec6247 RD |
7752 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) |
7753 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
7754 | PyObject * _resultobj; |
7755 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7756 | void * _arg1; |
f6bcfd97 | 7757 | PyObject * _argo0 = 0; |
65ec6247 RD |
7758 | PyObject * _argo1 = 0; |
7759 | char *_kwnames[] = { "self","docPointer", NULL }; | |
f6bcfd97 BP |
7760 | |
7761 | self = self; | |
65ec6247 | 7762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) |
f6bcfd97 BP |
7763 | return NULL; |
7764 | if (_argo0) { | |
7765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); |
7768 | return NULL; | |
7769 | } | |
7770 | } | |
7771 | if (_argo1) { | |
7772 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7773 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
f6bcfd97 BP |
7775 | return NULL; |
7776 | } | |
7777 | } | |
f6bcfd97 | 7778 | { |
4268f798 | 7779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7780 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); |
f6bcfd97 | 7781 | |
4268f798 RD |
7782 | wxPyEndAllowThreads(__tstate); |
7783 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7784 | } Py_INCREF(Py_None); |
7785 | _resultobj = Py_None; | |
f6bcfd97 BP |
7786 | return _resultobj; |
7787 | } | |
7788 | ||
65ec6247 RD |
7789 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) |
7790 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7791 | PyObject * _resultobj; |
7792 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7793 | void * _arg1; |
fe47ec10 | 7794 | PyObject * _argo0 = 0; |
65ec6247 RD |
7795 | PyObject * _argo1 = 0; |
7796 | char *_kwnames[] = { "self","docPointer", NULL }; | |
fe47ec10 RD |
7797 | |
7798 | self = self; | |
65ec6247 | 7799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) |
fe47ec10 RD |
7800 | return NULL; |
7801 | if (_argo0) { | |
7802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); |
7805 | return NULL; | |
7806 | } | |
7807 | } | |
7808 | if (_argo1) { | |
7809 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7810 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
fe47ec10 RD |
7812 | return NULL; |
7813 | } | |
7814 | } | |
7815 | { | |
4268f798 | 7816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7817 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); |
fe47ec10 | 7818 | |
4268f798 RD |
7819 | wxPyEndAllowThreads(__tstate); |
7820 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7821 | } Py_INCREF(Py_None); |
7822 | _resultobj = Py_None; | |
7823 | return _resultobj; | |
7824 | } | |
7825 | ||
65ec6247 RD |
7826 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) |
7827 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7828 | PyObject * _resultobj; |
7829 | int _result; | |
7830 | wxStyledTextCtrl * _arg0; | |
7831 | PyObject * _argo0 = 0; | |
7832 | char *_kwnames[] = { "self", NULL }; | |
7833 | ||
7834 | self = self; | |
65ec6247 | 7835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) |
fe47ec10 RD |
7836 | return NULL; |
7837 | if (_argo0) { | |
7838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7841 | return NULL; |
7842 | } | |
7843 | } | |
7844 | { | |
4268f798 | 7845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7846 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); |
fe47ec10 | 7847 | |
4268f798 RD |
7848 | wxPyEndAllowThreads(__tstate); |
7849 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7850 | } _resultobj = Py_BuildValue("i",_result); |
7851 | return _resultobj; | |
7852 | } | |
7853 | ||
fea018f8 RD |
7854 | #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0)) |
7855 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7856 | PyObject * _resultobj; |
7857 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7858 | bool _arg1; |
fe47ec10 | 7859 | PyObject * _argo0 = 0; |
65ec6247 RD |
7860 | int tempbool1; |
7861 | char *_kwnames[] = { "self","focus", NULL }; | |
fe47ec10 RD |
7862 | |
7863 | self = self; | |
fea018f8 | 7864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1)) |
fe47ec10 RD |
7865 | return NULL; |
7866 | if (_argo0) { | |
7867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fea018f8 | 7869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7870 | return NULL; |
7871 | } | |
7872 | } | |
65ec6247 | 7873 | _arg1 = (bool ) tempbool1; |
fe47ec10 | 7874 | { |
4268f798 | 7875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7876 | wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1); |
fe47ec10 | 7877 | |
4268f798 RD |
7878 | wxPyEndAllowThreads(__tstate); |
7879 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7880 | } Py_INCREF(Py_None); |
7881 | _resultobj = Py_None; | |
7882 | return _resultobj; | |
7883 | } | |
7884 | ||
fea018f8 RD |
7885 | #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus()) |
7886 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7887 | PyObject * _resultobj; |
65ec6247 | 7888 | bool _result; |
fe47ec10 RD |
7889 | wxStyledTextCtrl * _arg0; |
7890 | PyObject * _argo0 = 0; | |
7891 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 RD |
7892 | |
7893 | self = self; | |
fea018f8 | 7894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0)) |
fe47ec10 RD |
7895 | return NULL; |
7896 | if (_argo0) { | |
7897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fea018f8 | 7899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7900 | return NULL; |
7901 | } | |
7902 | } | |
7903 | { | |
4268f798 | 7904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7905 | _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0); |
fe47ec10 | 7906 | |
4268f798 RD |
7907 | wxPyEndAllowThreads(__tstate); |
7908 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 7909 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
7910 | return _resultobj; |
7911 | } | |
7912 | ||
65ec6247 RD |
7913 | #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0)) |
7914 | static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7915 | PyObject * _resultobj; |
7916 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7917 | int _arg1; |
fe47ec10 | 7918 | PyObject * _argo0 = 0; |
65ec6247 | 7919 | char *_kwnames[] = { "self","statusCode", NULL }; |
fe47ec10 RD |
7920 | |
7921 | self = self; | |
65ec6247 | 7922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
7923 | return NULL; |
7924 | if (_argo0) { | |
7925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7928 | return NULL; |
7929 | } | |
7930 | } | |
fe47ec10 | 7931 | { |
4268f798 | 7932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7933 | wxStyledTextCtrl_SetStatus(_arg0,_arg1); |
fe47ec10 | 7934 | |
4268f798 RD |
7935 | wxPyEndAllowThreads(__tstate); |
7936 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7937 | } Py_INCREF(Py_None); |
7938 | _resultobj = Py_None; | |
7939 | return _resultobj; | |
7940 | } | |
7941 | ||
65ec6247 RD |
7942 | #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus()) |
7943 | static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7944 | PyObject * _resultobj; |
65ec6247 | 7945 | int _result; |
fe47ec10 RD |
7946 | wxStyledTextCtrl * _arg0; |
7947 | PyObject * _argo0 = 0; | |
7948 | char *_kwnames[] = { "self", NULL }; | |
7949 | ||
7950 | self = self; | |
65ec6247 | 7951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0)) |
fe47ec10 RD |
7952 | return NULL; |
7953 | if (_argo0) { | |
7954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7957 | return NULL; |
7958 | } | |
7959 | } | |
7960 | { | |
4268f798 | 7961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7962 | _result = (int )wxStyledTextCtrl_GetStatus(_arg0); |
fe47ec10 | 7963 | |
4268f798 RD |
7964 | wxPyEndAllowThreads(__tstate); |
7965 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 7966 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
7967 | return _resultobj; |
7968 | } | |
7969 | ||
65ec6247 RD |
7970 | #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0)) |
7971 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7972 | PyObject * _resultobj; |
fe47ec10 | 7973 | wxStyledTextCtrl * _arg0; |
65ec6247 | 7974 | bool _arg1; |
fe47ec10 | 7975 | PyObject * _argo0 = 0; |
65ec6247 RD |
7976 | int tempbool1; |
7977 | char *_kwnames[] = { "self","captures", NULL }; | |
fe47ec10 RD |
7978 | |
7979 | self = self; | |
65ec6247 | 7980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1)) |
fe47ec10 RD |
7981 | return NULL; |
7982 | if (_argo0) { | |
7983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7986 | return NULL; |
7987 | } | |
7988 | } | |
65ec6247 | 7989 | _arg1 = (bool ) tempbool1; |
fe47ec10 | 7990 | { |
4268f798 | 7991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7992 | wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1); |
fe47ec10 | 7993 | |
4268f798 RD |
7994 | wxPyEndAllowThreads(__tstate); |
7995 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7996 | } Py_INCREF(Py_None); |
7997 | _resultobj = Py_None; | |
fe47ec10 RD |
7998 | return _resultobj; |
7999 | } | |
8000 | ||
65ec6247 RD |
8001 | #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures()) |
8002 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8003 | PyObject * _resultobj; |
65ec6247 | 8004 | bool _result; |
fe47ec10 | 8005 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 8006 | PyObject * _argo0 = 0; |
65ec6247 | 8007 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8008 | |
8009 | self = self; | |
65ec6247 | 8010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0)) |
fe47ec10 RD |
8011 | return NULL; |
8012 | if (_argo0) { | |
8013 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8014 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8016 | return NULL; |
8017 | } | |
8018 | } | |
fe47ec10 | 8019 | { |
4268f798 | 8020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8021 | _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0); |
fe47ec10 | 8022 | |
4268f798 RD |
8023 | wxPyEndAllowThreads(__tstate); |
8024 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 8025 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
8026 | return _resultobj; |
8027 | } | |
8028 | ||
65ec6247 RD |
8029 | #define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) |
8030 | static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8031 | PyObject * _resultobj; |
8032 | wxStyledTextCtrl * _arg0; | |
8033 | int _arg1; | |
fe47ec10 | 8034 | PyObject * _argo0 = 0; |
65ec6247 | 8035 | char *_kwnames[] = { "self","cursorType", NULL }; |
fe47ec10 RD |
8036 | |
8037 | self = self; | |
65ec6247 | 8038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
8039 | return NULL; |
8040 | if (_argo0) { | |
8041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8044 | return NULL; |
8045 | } | |
8046 | } | |
8047 | { | |
4268f798 | 8048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8049 | wxStyledTextCtrl_SetCursor(_arg0,_arg1); |
fe47ec10 | 8050 | |
4268f798 RD |
8051 | wxPyEndAllowThreads(__tstate); |
8052 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8053 | } Py_INCREF(Py_None); |
8054 | _resultobj = Py_None; | |
8055 | return _resultobj; | |
8056 | } | |
8057 | ||
65ec6247 RD |
8058 | #define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor()) |
8059 | static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8060 | PyObject * _resultobj; |
8061 | int _result; | |
8062 | wxStyledTextCtrl * _arg0; | |
8063 | PyObject * _argo0 = 0; | |
8064 | char *_kwnames[] = { "self", NULL }; | |
8065 | ||
8066 | self = self; | |
65ec6247 | 8067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0)) |
fe47ec10 RD |
8068 | return NULL; |
8069 | if (_argo0) { | |
8070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8073 | return NULL; |
8074 | } | |
8075 | } | |
8076 | { | |
4268f798 | 8077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8078 | _result = (int )wxStyledTextCtrl_GetCursor(_arg0); |
fe47ec10 | 8079 | |
4268f798 RD |
8080 | wxPyEndAllowThreads(__tstate); |
8081 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8082 | } _resultobj = Py_BuildValue("i",_result); |
8083 | return _resultobj; | |
8084 | } | |
8085 | ||
1a2fb4cd RD |
8086 | #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0)) |
8087 | static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8088 | PyObject * _resultobj; | |
8089 | wxStyledTextCtrl * _arg0; | |
8090 | int _arg1; | |
8091 | PyObject * _argo0 = 0; | |
8092 | char *_kwnames[] = { "self","symbol", NULL }; | |
8093 | ||
8094 | self = self; | |
8095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1)) | |
8096 | return NULL; | |
8097 | if (_argo0) { | |
8098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8101 | return NULL; | |
8102 | } | |
8103 | } | |
8104 | { | |
8105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8106 | wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1); | |
8107 | ||
8108 | wxPyEndAllowThreads(__tstate); | |
8109 | if (PyErr_Occurred()) return NULL; | |
8110 | } Py_INCREF(Py_None); | |
8111 | _resultobj = Py_None; | |
8112 | return _resultobj; | |
8113 | } | |
8114 | ||
8115 | #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol()) | |
8116 | static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8117 | PyObject * _resultobj; | |
8118 | int _result; | |
8119 | wxStyledTextCtrl * _arg0; | |
8120 | PyObject * _argo0 = 0; | |
8121 | char *_kwnames[] = { "self", NULL }; | |
8122 | ||
8123 | self = self; | |
8124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0)) | |
8125 | return NULL; | |
8126 | if (_argo0) { | |
8127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8130 | return NULL; | |
8131 | } | |
8132 | } | |
8133 | { | |
8134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8135 | _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0); | |
8136 | ||
8137 | wxPyEndAllowThreads(__tstate); | |
8138 | if (PyErr_Occurred()) return NULL; | |
8139 | } _resultobj = Py_BuildValue("i",_result); | |
8140 | return _resultobj; | |
8141 | } | |
8142 | ||
65ec6247 RD |
8143 | #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft()) |
8144 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8145 | PyObject * _resultobj; |
8146 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8147 | PyObject * _argo0 = 0; |
65ec6247 | 8148 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8149 | |
8150 | self = self; | |
65ec6247 | 8151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0)) |
fe47ec10 RD |
8152 | return NULL; |
8153 | if (_argo0) { | |
8154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8157 | return NULL; |
8158 | } | |
8159 | } | |
fe47ec10 | 8160 | { |
4268f798 | 8161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8162 | wxStyledTextCtrl_WordPartLeft(_arg0); |
fe47ec10 | 8163 | |
4268f798 RD |
8164 | wxPyEndAllowThreads(__tstate); |
8165 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8166 | } Py_INCREF(Py_None); |
8167 | _resultobj = Py_None; | |
8168 | return _resultobj; | |
8169 | } | |
8170 | ||
65ec6247 RD |
8171 | #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend()) |
8172 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8173 | PyObject * _resultobj; |
fe47ec10 RD |
8174 | wxStyledTextCtrl * _arg0; |
8175 | PyObject * _argo0 = 0; | |
8176 | char *_kwnames[] = { "self", NULL }; | |
8177 | ||
8178 | self = self; | |
65ec6247 | 8179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0)) |
fe47ec10 RD |
8180 | return NULL; |
8181 | if (_argo0) { | |
8182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8185 | return NULL; |
8186 | } | |
8187 | } | |
8188 | { | |
4268f798 | 8189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8190 | wxStyledTextCtrl_WordPartLeftExtend(_arg0); |
fe47ec10 | 8191 | |
4268f798 RD |
8192 | wxPyEndAllowThreads(__tstate); |
8193 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8194 | } Py_INCREF(Py_None); |
8195 | _resultobj = Py_None; | |
8196 | return _resultobj; | |
8197 | } | |
8198 | ||
65ec6247 RD |
8199 | #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight()) |
8200 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8201 | PyObject * _resultobj; |
fe47ec10 RD |
8202 | wxStyledTextCtrl * _arg0; |
8203 | PyObject * _argo0 = 0; | |
8204 | char *_kwnames[] = { "self", NULL }; | |
8205 | ||
8206 | self = self; | |
65ec6247 | 8207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0)) |
fe47ec10 RD |
8208 | return NULL; |
8209 | if (_argo0) { | |
8210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8213 | return NULL; |
8214 | } | |
8215 | } | |
8216 | { | |
4268f798 | 8217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8218 | wxStyledTextCtrl_WordPartRight(_arg0); |
fe47ec10 | 8219 | |
4268f798 RD |
8220 | wxPyEndAllowThreads(__tstate); |
8221 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8222 | } Py_INCREF(Py_None); |
8223 | _resultobj = Py_None; | |
fe47ec10 RD |
8224 | return _resultobj; |
8225 | } | |
8226 | ||
65ec6247 RD |
8227 | #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend()) |
8228 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8229 | PyObject * _resultobj; |
fe47ec10 RD |
8230 | wxStyledTextCtrl * _arg0; |
8231 | PyObject * _argo0 = 0; | |
8232 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 RD |
8233 | |
8234 | self = self; | |
65ec6247 | 8235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0)) |
fe47ec10 RD |
8236 | return NULL; |
8237 | if (_argo0) { | |
8238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8241 | return NULL; |
8242 | } | |
8243 | } | |
8244 | { | |
4268f798 | 8245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8246 | wxStyledTextCtrl_WordPartRightExtend(_arg0); |
fe47ec10 | 8247 | |
4268f798 RD |
8248 | wxPyEndAllowThreads(__tstate); |
8249 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8250 | } Py_INCREF(Py_None); |
8251 | _resultobj = Py_None; | |
fe47ec10 RD |
8252 | return _resultobj; |
8253 | } | |
8254 | ||
65ec6247 RD |
8255 | #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1)) |
8256 | static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8257 | PyObject * _resultobj; |
8258 | wxStyledTextCtrl * _arg0; | |
65ec6247 RD |
8259 | int _arg1; |
8260 | int _arg2; | |
fe47ec10 | 8261 | PyObject * _argo0 = 0; |
65ec6247 | 8262 | char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL }; |
fe47ec10 RD |
8263 | |
8264 | self = self; | |
65ec6247 | 8265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2)) |
fe47ec10 RD |
8266 | return NULL; |
8267 | if (_argo0) { | |
8268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8271 | return NULL; |
8272 | } | |
8273 | } | |
8274 | { | |
4268f798 | 8275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8276 | wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2); |
fe47ec10 | 8277 | |
4268f798 RD |
8278 | wxPyEndAllowThreads(__tstate); |
8279 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8280 | } Py_INCREF(Py_None); |
8281 | _resultobj = Py_None; | |
8282 | return _resultobj; | |
8283 | } | |
8284 | ||
65ec6247 RD |
8285 | #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft()) |
8286 | static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8287 | PyObject * _resultobj; |
8288 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8289 | PyObject * _argo0 = 0; |
65ec6247 | 8290 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8291 | |
8292 | self = self; | |
65ec6247 | 8293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0)) |
fe47ec10 RD |
8294 | return NULL; |
8295 | if (_argo0) { | |
8296 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8297 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8299 | return NULL; |
8300 | } | |
8301 | } | |
8302 | { | |
4268f798 | 8303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8304 | wxStyledTextCtrl_DelLineLeft(_arg0); |
fe47ec10 | 8305 | |
4268f798 RD |
8306 | wxPyEndAllowThreads(__tstate); |
8307 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8308 | } Py_INCREF(Py_None); |
8309 | _resultobj = Py_None; | |
8310 | return _resultobj; | |
8311 | } | |
8312 | ||
65ec6247 RD |
8313 | #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight()) |
8314 | static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8315 | PyObject * _resultobj; |
fe47ec10 RD |
8316 | wxStyledTextCtrl * _arg0; |
8317 | PyObject * _argo0 = 0; | |
8318 | char *_kwnames[] = { "self", NULL }; | |
8319 | ||
8320 | self = self; | |
65ec6247 | 8321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0)) |
fe47ec10 RD |
8322 | return NULL; |
8323 | if (_argo0) { | |
8324 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8325 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8327 | return NULL; |
8328 | } | |
8329 | } | |
8330 | { | |
4268f798 | 8331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8332 | wxStyledTextCtrl_DelLineRight(_arg0); |
fe47ec10 | 8333 | |
4268f798 RD |
8334 | wxPyEndAllowThreads(__tstate); |
8335 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8336 | } Py_INCREF(Py_None); |
8337 | _resultobj = Py_None; | |
fe47ec10 RD |
8338 | return _resultobj; |
8339 | } | |
8340 | ||
1a2fb4cd RD |
8341 | #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) |
8342 | static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8343 | PyObject * _resultobj; | |
8344 | wxStyledTextCtrl * _arg0; | |
8345 | int _arg1; | |
8346 | PyObject * _argo0 = 0; | |
8347 | char *_kwnames[] = { "self","newOffset", NULL }; | |
8348 | ||
8349 | self = self; | |
8350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
8351 | return NULL; | |
8352 | if (_argo0) { | |
8353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p."); | |
8356 | return NULL; | |
8357 | } | |
8358 | } | |
8359 | { | |
8360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8361 | wxStyledTextCtrl_SetXOffset(_arg0,_arg1); | |
8362 | ||
8363 | wxPyEndAllowThreads(__tstate); | |
8364 | if (PyErr_Occurred()) return NULL; | |
8365 | } Py_INCREF(Py_None); | |
8366 | _resultobj = Py_None; | |
8367 | return _resultobj; | |
8368 | } | |
8369 | ||
8370 | #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
8371 | static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8372 | PyObject * _resultobj; | |
8373 | int _result; | |
8374 | wxStyledTextCtrl * _arg0; | |
8375 | PyObject * _argo0 = 0; | |
8376 | char *_kwnames[] = { "self", NULL }; | |
8377 | ||
8378 | self = self; | |
8379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0)) | |
8380 | return NULL; | |
8381 | if (_argo0) { | |
8382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p."); | |
8385 | return NULL; | |
8386 | } | |
8387 | } | |
8388 | { | |
8389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8390 | _result = (int )wxStyledTextCtrl_GetXOffset(_arg0); | |
8391 | ||
8392 | wxPyEndAllowThreads(__tstate); | |
8393 | if (PyErr_Occurred()) return NULL; | |
8394 | } _resultobj = Py_BuildValue("i",_result); | |
8395 | return _resultobj; | |
8396 | } | |
8397 | ||
fe47ec10 RD |
8398 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) |
8399 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8400 | PyObject * _resultobj; | |
8401 | wxStyledTextCtrl * _arg0; | |
8402 | PyObject * _argo0 = 0; | |
8403 | char *_kwnames[] = { "self", NULL }; | |
8404 | ||
8405 | self = self; | |
8406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
8407 | return NULL; | |
8408 | if (_argo0) { | |
8409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
8412 | return NULL; | |
8413 | } | |
8414 | } | |
8415 | { | |
4268f798 | 8416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8417 | wxStyledTextCtrl_StartRecord(_arg0); |
fe47ec10 | 8418 | |
4268f798 RD |
8419 | wxPyEndAllowThreads(__tstate); |
8420 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8421 | } Py_INCREF(Py_None); |
8422 | _resultobj = Py_None; | |
8423 | return _resultobj; | |
8424 | } | |
8425 | ||
8426 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
8427 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8428 | PyObject * _resultobj; | |
8429 | wxStyledTextCtrl * _arg0; | |
8430 | PyObject * _argo0 = 0; | |
8431 | char *_kwnames[] = { "self", NULL }; | |
8432 | ||
8433 | self = self; | |
8434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
8435 | return NULL; | |
8436 | if (_argo0) { | |
8437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
8440 | return NULL; | |
8441 | } | |
8442 | } | |
8443 | { | |
4268f798 | 8444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8445 | wxStyledTextCtrl_StopRecord(_arg0); |
fe47ec10 | 8446 | |
4268f798 RD |
8447 | wxPyEndAllowThreads(__tstate); |
8448 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8449 | } Py_INCREF(Py_None); |
8450 | _resultobj = Py_None; | |
8451 | return _resultobj; | |
8452 | } | |
8453 | ||
8454 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
8455 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
8456 | PyObject * _resultobj; |
8457 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8458 | int _arg1; |
f6bcfd97 BP |
8459 | PyObject * _argo0 = 0; |
8460 | char *_kwnames[] = { "self","lexer", NULL }; | |
8461 | ||
8462 | self = self; | |
8463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
8464 | return NULL; | |
8465 | if (_argo0) { | |
8466 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8467 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
8469 | return NULL; | |
8470 | } | |
8471 | } | |
8472 | { | |
4268f798 | 8473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8474 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); |
f6bcfd97 | 8475 | |
4268f798 RD |
8476 | wxPyEndAllowThreads(__tstate); |
8477 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8478 | } Py_INCREF(Py_None); |
8479 | _resultobj = Py_None; | |
8480 | return _resultobj; | |
8481 | } | |
8482 | ||
8483 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
8484 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8485 | PyObject * _resultobj; | |
fe47ec10 | 8486 | int _result; |
f6bcfd97 BP |
8487 | wxStyledTextCtrl * _arg0; |
8488 | PyObject * _argo0 = 0; | |
8489 | char *_kwnames[] = { "self", NULL }; | |
8490 | ||
8491 | self = self; | |
8492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
8493 | return NULL; | |
8494 | if (_argo0) { | |
8495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
8498 | return NULL; | |
8499 | } | |
8500 | } | |
8501 | { | |
4268f798 | 8502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8503 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
f6bcfd97 | 8504 | |
4268f798 RD |
8505 | wxPyEndAllowThreads(__tstate); |
8506 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8507 | } _resultobj = Py_BuildValue("i",_result); |
8508 | return _resultobj; | |
8509 | } | |
8510 | ||
8511 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
8512 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8513 | PyObject * _resultobj; | |
8514 | wxStyledTextCtrl * _arg0; | |
8515 | int _arg1; | |
8516 | int _arg2; | |
8517 | PyObject * _argo0 = 0; | |
8518 | char *_kwnames[] = { "self","start","end", NULL }; | |
8519 | ||
8520 | self = self; | |
8521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8522 | return NULL; | |
8523 | if (_argo0) { | |
8524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
8527 | return NULL; | |
8528 | } | |
8529 | } | |
8530 | { | |
4268f798 | 8531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8532 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); |
f6bcfd97 | 8533 | |
4268f798 RD |
8534 | wxPyEndAllowThreads(__tstate); |
8535 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8536 | } Py_INCREF(Py_None); |
8537 | _resultobj = Py_None; | |
8538 | return _resultobj; | |
8539 | } | |
8540 | ||
8541 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
8542 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8543 | PyObject * _resultobj; | |
8544 | wxStyledTextCtrl * _arg0; | |
8545 | wxString * _arg1; | |
8546 | wxString * _arg2; | |
8547 | PyObject * _argo0 = 0; | |
8548 | PyObject * _obj1 = 0; | |
8549 | PyObject * _obj2 = 0; | |
8550 | char *_kwnames[] = { "self","key","value", NULL }; | |
8551 | ||
8552 | self = self; | |
8553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
8554 | return NULL; | |
8555 | if (_argo0) { | |
8556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
8559 | return NULL; | |
8560 | } | |
8561 | } | |
8562 | { | |
c8bc7bb8 RD |
8563 | _arg1 = wxString_in_helper(_obj1); |
8564 | if (_arg1 == NULL) | |
185d7c3e | 8565 | return NULL; |
f6bcfd97 BP |
8566 | } |
8567 | { | |
c8bc7bb8 RD |
8568 | _arg2 = wxString_in_helper(_obj2); |
8569 | if (_arg2 == NULL) | |
185d7c3e | 8570 | return NULL; |
f6bcfd97 BP |
8571 | } |
8572 | { | |
4268f798 | 8573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8574 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); |
f6bcfd97 | 8575 | |
4268f798 RD |
8576 | wxPyEndAllowThreads(__tstate); |
8577 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8578 | } Py_INCREF(Py_None); |
8579 | _resultobj = Py_None; | |
8580 | { | |
8581 | if (_obj1) | |
8582 | delete _arg1; | |
8583 | } | |
8584 | { | |
8585 | if (_obj2) | |
8586 | delete _arg2; | |
8587 | } | |
8588 | return _resultobj; | |
8589 | } | |
8590 | ||
fe47ec10 RD |
8591 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) |
8592 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8593 | PyObject * _resultobj; | |
8594 | wxStyledTextCtrl * _arg0; | |
8595 | int _arg1; | |
8596 | wxString * _arg2; | |
8597 | PyObject * _argo0 = 0; | |
8598 | PyObject * _obj2 = 0; | |
8599 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
8600 | ||
8601 | self = self; | |
8602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8603 | return NULL; | |
8604 | if (_argo0) { | |
8605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
8608 | return NULL; | |
8609 | } | |
8610 | } | |
8611 | { | |
c8bc7bb8 RD |
8612 | _arg2 = wxString_in_helper(_obj2); |
8613 | if (_arg2 == NULL) | |
185d7c3e | 8614 | return NULL; |
fe47ec10 RD |
8615 | } |
8616 | { | |
4268f798 | 8617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8618 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); |
fe47ec10 | 8619 | |
4268f798 RD |
8620 | wxPyEndAllowThreads(__tstate); |
8621 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8622 | } Py_INCREF(Py_None); |
8623 | _resultobj = Py_None; | |
8624 | { | |
8625 | if (_obj2) | |
8626 | delete _arg2; | |
8627 | } | |
8628 | return _resultobj; | |
8629 | } | |
8630 | ||
65ec6247 RD |
8631 | #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0)) |
8632 | static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8633 | PyObject * _resultobj; | |
8634 | wxStyledTextCtrl * _arg0; | |
8635 | wxString * _arg1; | |
8636 | PyObject * _argo0 = 0; | |
8637 | PyObject * _obj1 = 0; | |
8638 | char *_kwnames[] = { "self","language", NULL }; | |
8639 | ||
8640 | self = self; | |
8641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1)) | |
8642 | return NULL; | |
8643 | if (_argo0) { | |
8644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p."); | |
8647 | return NULL; | |
8648 | } | |
8649 | } | |
8650 | { | |
c8bc7bb8 RD |
8651 | _arg1 = wxString_in_helper(_obj1); |
8652 | if (_arg1 == NULL) | |
65ec6247 | 8653 | return NULL; |
65ec6247 RD |
8654 | } |
8655 | { | |
4268f798 | 8656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8657 | wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1); |
65ec6247 | 8658 | |
4268f798 RD |
8659 | wxPyEndAllowThreads(__tstate); |
8660 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8661 | } Py_INCREF(Py_None); |
8662 | _resultobj = Py_None; | |
8663 | { | |
8664 | if (_obj1) | |
8665 | delete _arg1; | |
8666 | } | |
8667 | return _resultobj; | |
8668 | } | |
8669 | ||
fe47ec10 RD |
8670 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) |
8671 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8672 | PyObject * _resultobj; | |
8673 | int _result; | |
8674 | wxStyledTextCtrl * _arg0; | |
8675 | PyObject * _argo0 = 0; | |
8676 | char *_kwnames[] = { "self", NULL }; | |
8677 | ||
8678 | self = self; | |
8679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
8680 | return NULL; | |
8681 | if (_argo0) { | |
8682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
8685 | return NULL; | |
8686 | } | |
8687 | } | |
8688 | { | |
4268f798 | 8689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8690 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); |
fe47ec10 | 8691 | |
4268f798 RD |
8692 | wxPyEndAllowThreads(__tstate); |
8693 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8694 | } _resultobj = Py_BuildValue("i",_result); |
8695 | return _resultobj; | |
8696 | } | |
8697 | ||
8698 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
8699 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
8700 | PyObject * _resultobj; |
8701 | wxStyledTextCtrl * _arg0; | |
8702 | int _arg1; | |
8703 | wxString * _arg2; | |
8704 | PyObject * _argo0 = 0; | |
8705 | PyObject * _obj2 = 0; | |
fe47ec10 RD |
8706 | char *_kwnames[] = { "self","styleNum","spec", NULL }; |
8707 | ||
8708 | self = self; | |
8709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8710 | return NULL; | |
8711 | if (_argo0) { | |
8712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
8715 | return NULL; | |
8716 | } | |
8717 | } | |
8718 | { | |
c8bc7bb8 RD |
8719 | _arg2 = wxString_in_helper(_obj2); |
8720 | if (_arg2 == NULL) | |
185d7c3e | 8721 | return NULL; |
fe47ec10 RD |
8722 | } |
8723 | { | |
4268f798 | 8724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8725 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); |
fe47ec10 | 8726 | |
4268f798 RD |
8727 | wxPyEndAllowThreads(__tstate); |
8728 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8729 | } Py_INCREF(Py_None); |
8730 | _resultobj = Py_None; | |
8731 | { | |
8732 | if (_obj2) | |
8733 | delete _arg2; | |
8734 | } | |
8735 | return _resultobj; | |
8736 | } | |
8737 | ||
8738 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
8739 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8740 | PyObject * _resultobj; | |
8741 | wxStyledTextCtrl * _arg0; | |
8742 | int _arg1; | |
8743 | wxFont * _arg2; | |
8744 | PyObject * _argo0 = 0; | |
8745 | PyObject * _argo2 = 0; | |
8746 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
8747 | ||
8748 | self = self; | |
8749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
8750 | return NULL; | |
8751 | if (_argo0) { | |
8752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
8755 | return NULL; | |
8756 | } | |
8757 | } | |
8758 | if (_argo2) { | |
8759 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8760 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
8761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
8762 | return NULL; | |
8763 | } | |
8764 | } | |
8765 | { | |
4268f798 | 8766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8767 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); |
fe47ec10 | 8768 | |
4268f798 RD |
8769 | wxPyEndAllowThreads(__tstate); |
8770 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8771 | } Py_INCREF(Py_None); |
8772 | _resultobj = Py_None; | |
8773 | return _resultobj; | |
8774 | } | |
8775 | ||
8776 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8777 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8778 | PyObject * _resultobj; | |
8779 | wxStyledTextCtrl * _arg0; | |
8780 | int _arg1; | |
8781 | int _arg2; | |
8782 | wxString * _arg3; | |
8783 | bool _arg4; | |
8784 | bool _arg5; | |
8785 | bool _arg6; | |
8786 | PyObject * _argo0 = 0; | |
8787 | PyObject * _obj3 = 0; | |
8788 | int tempbool4; | |
8789 | int tempbool5; | |
8790 | int tempbool6; | |
8791 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
8792 | ||
8793 | self = self; | |
8794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
8795 | return NULL; | |
8796 | if (_argo0) { | |
8797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
8800 | return NULL; | |
8801 | } | |
8802 | } | |
8803 | { | |
c8bc7bb8 RD |
8804 | _arg3 = wxString_in_helper(_obj3); |
8805 | if (_arg3 == NULL) | |
185d7c3e | 8806 | return NULL; |
fe47ec10 RD |
8807 | } |
8808 | _arg4 = (bool ) tempbool4; | |
8809 | _arg5 = (bool ) tempbool5; | |
8810 | _arg6 = (bool ) tempbool6; | |
8811 | { | |
4268f798 | 8812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8813 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); |
fe47ec10 | 8814 | |
4268f798 RD |
8815 | wxPyEndAllowThreads(__tstate); |
8816 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8817 | } Py_INCREF(Py_None); |
8818 | _resultobj = Py_None; | |
8819 | { | |
8820 | if (_obj3) | |
8821 | delete _arg3; | |
8822 | } | |
8823 | return _resultobj; | |
8824 | } | |
8825 | ||
8826 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
8827 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8828 | PyObject * _resultobj; | |
8829 | wxStyledTextCtrl * _arg0; | |
8830 | int _arg1; | |
8831 | PyObject * _argo0 = 0; | |
8832 | char *_kwnames[] = { "self","cmd", NULL }; | |
8833 | ||
8834 | self = self; | |
8835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
8836 | return NULL; | |
8837 | if (_argo0) { | |
8838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
8841 | return NULL; | |
8842 | } | |
8843 | } | |
8844 | { | |
4268f798 | 8845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8846 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); |
fe47ec10 | 8847 | |
4268f798 RD |
8848 | wxPyEndAllowThreads(__tstate); |
8849 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8850 | } Py_INCREF(Py_None); |
8851 | _resultobj = Py_None; | |
8852 | return _resultobj; | |
8853 | } | |
8854 | ||
8855 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
8856 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8857 | PyObject * _resultobj; | |
8858 | wxStyledTextCtrl * _arg0; | |
8859 | int _arg1; | |
8860 | int _arg2; | |
8861 | PyObject * _argo0 = 0; | |
8862 | char *_kwnames[] = { "self","left","right", NULL }; | |
8863 | ||
8864 | self = self; | |
8865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8866 | return NULL; | |
8867 | if (_argo0) { | |
8868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
8871 | return NULL; | |
8872 | } | |
8873 | } | |
8874 | { | |
4268f798 | 8875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8876 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); |
fe47ec10 | 8877 | |
4268f798 RD |
8878 | wxPyEndAllowThreads(__tstate); |
8879 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8880 | } Py_INCREF(Py_None); |
8881 | _resultobj = Py_None; | |
8882 | return _resultobj; | |
8883 | } | |
8884 | ||
8885 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
8886 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8887 | PyObject * _resultobj; | |
8888 | wxStyledTextCtrl * _arg0; | |
8889 | int * _arg1; | |
8890 | int temp; | |
8891 | int * _arg2; | |
8892 | int temp0; | |
8893 | PyObject * _argo0 = 0; | |
8894 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
8895 | |
8896 | self = self; | |
fe47ec10 RD |
8897 | { |
8898 | _arg1 = &temp; | |
8899 | } | |
8900 | { | |
8901 | _arg2 = &temp0; | |
8902 | } | |
8903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
f6bcfd97 BP |
8904 | return NULL; |
8905 | if (_argo0) { | |
8906 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8907 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 8908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
8909 | return NULL; |
8910 | } | |
8911 | } | |
f6bcfd97 | 8912 | { |
4268f798 | 8913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8914 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 8915 | |
4268f798 RD |
8916 | wxPyEndAllowThreads(__tstate); |
8917 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8918 | } Py_INCREF(Py_None); |
8919 | _resultobj = Py_None; | |
8920 | { | |
fe47ec10 RD |
8921 | PyObject *o; |
8922 | o = PyInt_FromLong((long) (*_arg1)); | |
8923 | _resultobj = t_output_helper(_resultobj, o); | |
8924 | } | |
8925 | { | |
8926 | PyObject *o; | |
8927 | o = PyInt_FromLong((long) (*_arg2)); | |
8928 | _resultobj = t_output_helper(_resultobj, o); | |
f6bcfd97 BP |
8929 | } |
8930 | return _resultobj; | |
8931 | } | |
8932 | ||
fe47ec10 RD |
8933 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) |
8934 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 8935 | PyObject * _resultobj; |
fe47ec10 | 8936 | wxPoint * _result; |
f6bcfd97 BP |
8937 | wxStyledTextCtrl * _arg0; |
8938 | int _arg1; | |
8939 | PyObject * _argo0 = 0; | |
fe47ec10 RD |
8940 | char *_kwnames[] = { "self","pos", NULL }; |
8941 | char _ptemp[128]; | |
f6bcfd97 BP |
8942 | |
8943 | self = self; | |
fe47ec10 | 8944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
8945 | return NULL; |
8946 | if (_argo0) { | |
8947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 8949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
8950 | return NULL; |
8951 | } | |
8952 | } | |
8953 | { | |
4268f798 | 8954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8955 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
f6bcfd97 | 8956 | |
4268f798 RD |
8957 | wxPyEndAllowThreads(__tstate); |
8958 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8959 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
8960 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
8961 | return _resultobj; |
8962 | } | |
8963 | ||
ea7c631c RD |
8964 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) |
8965 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8966 | PyObject * _resultobj; | |
8967 | wxStyledTextCtrl * _arg0; | |
8968 | int _arg1; | |
8969 | PyObject * _argo0 = 0; | |
8970 | char *_kwnames[] = { "self","line", NULL }; | |
8971 | ||
8972 | self = self; | |
8973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
8974 | return NULL; | |
8975 | if (_argo0) { | |
8976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
8979 | return NULL; | |
8980 | } | |
8981 | } | |
8982 | { | |
4268f798 | 8983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8984 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); |
ea7c631c | 8985 | |
4268f798 RD |
8986 | wxPyEndAllowThreads(__tstate); |
8987 | if (PyErr_Occurred()) return NULL; | |
ea7c631c RD |
8988 | } Py_INCREF(Py_None); |
8989 | _resultobj = Py_None; | |
8990 | return _resultobj; | |
8991 | } | |
8992 | ||
8993 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
8994 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8995 | PyObject * _resultobj; | |
8996 | wxStyledTextCtrl * _arg0; | |
8997 | int _arg1; | |
8998 | PyObject * _argo0 = 0; | |
8999 | char *_kwnames[] = { "self","column", NULL }; | |
9000 | ||
9001 | self = self; | |
9002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
9003 | return NULL; | |
9004 | if (_argo0) { | |
9005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
9008 | return NULL; | |
9009 | } | |
9010 | } | |
9011 | { | |
4268f798 | 9012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9013 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); |
ea7c631c | 9014 | |
4268f798 RD |
9015 | wxPyEndAllowThreads(__tstate); |
9016 | if (PyErr_Occurred()) return NULL; | |
ea7c631c RD |
9017 | } Py_INCREF(Py_None); |
9018 | _resultobj = Py_None; | |
9019 | return _resultobj; | |
9020 | } | |
9021 | ||
65ec6247 RD |
9022 | #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2)) |
9023 | static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9024 | PyObject * _resultobj; | |
9025 | long _result; | |
9026 | wxStyledTextCtrl * _arg0; | |
9027 | int _arg1; | |
9028 | long _arg2 = (long ) 0; | |
9029 | long _arg3 = (long ) 0; | |
9030 | PyObject * _argo0 = 0; | |
9031 | char *_kwnames[] = { "self","msg","wp","lp", NULL }; | |
9032 | ||
9033 | self = self; | |
9034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
9035 | return NULL; | |
9036 | if (_argo0) { | |
9037 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9038 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p."); | |
9040 | return NULL; | |
9041 | } | |
9042 | } | |
9043 | { | |
4268f798 | 9044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9045 | _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3); |
65ec6247 | 9046 | |
4268f798 RD |
9047 | wxPyEndAllowThreads(__tstate); |
9048 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9049 | } _resultobj = Py_BuildValue("l",_result); |
9050 | return _resultobj; | |
9051 | } | |
9052 | ||
ebf4302c RD |
9053 | #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0)) |
9054 | static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9055 | PyObject * _resultobj; | |
9056 | wxStyledTextCtrl * _arg0; | |
9057 | wxScrollBar * _arg1; | |
9058 | PyObject * _argo0 = 0; | |
9059 | PyObject * _argo1 = 0; | |
9060 | char *_kwnames[] = { "self","bar", NULL }; | |
9061 | ||
9062 | self = self; | |
9063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1)) | |
9064 | return NULL; | |
9065 | if (_argo0) { | |
9066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p."); | |
9069 | return NULL; | |
9070 | } | |
9071 | } | |
9072 | if (_argo1) { | |
9073 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9074 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p."); | |
9076 | return NULL; | |
9077 | } | |
9078 | } | |
9079 | { | |
4268f798 | 9080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9081 | wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1); |
ebf4302c | 9082 | |
4268f798 RD |
9083 | wxPyEndAllowThreads(__tstate); |
9084 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
9085 | } Py_INCREF(Py_None); |
9086 | _resultobj = Py_None; | |
9087 | return _resultobj; | |
9088 | } | |
9089 | ||
9090 | #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0)) | |
9091 | static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9092 | PyObject * _resultobj; | |
9093 | wxStyledTextCtrl * _arg0; | |
9094 | wxScrollBar * _arg1; | |
9095 | PyObject * _argo0 = 0; | |
9096 | PyObject * _argo1 = 0; | |
9097 | char *_kwnames[] = { "self","bar", NULL }; | |
9098 | ||
9099 | self = self; | |
9100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1)) | |
9101 | return NULL; | |
9102 | if (_argo0) { | |
9103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p."); | |
9106 | return NULL; | |
9107 | } | |
9108 | } | |
9109 | if (_argo1) { | |
9110 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9111 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p."); | |
9113 | return NULL; | |
9114 | } | |
9115 | } | |
9116 | { | |
4268f798 | 9117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9118 | wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1); |
ebf4302c | 9119 | |
4268f798 RD |
9120 | wxPyEndAllowThreads(__tstate); |
9121 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
9122 | } Py_INCREF(Py_None); |
9123 | _resultobj = Py_None; | |
9124 | return _resultobj; | |
9125 | } | |
9126 | ||
0b9dfbc0 RD |
9127 | #define wxStyledTextCtrl_GetLastKeydownProcessed(_swigobj) (_swigobj->GetLastKeydownProcessed()) |
9128 | static PyObject *_wrap_wxStyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9129 | PyObject * _resultobj; | |
9130 | bool _result; | |
9131 | wxStyledTextCtrl * _arg0; | |
9132 | PyObject * _argo0 = 0; | |
9133 | char *_kwnames[] = { "self", NULL }; | |
9134 | ||
9135 | self = self; | |
9136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLastKeydownProcessed",_kwnames,&_argo0)) | |
9137 | return NULL; | |
9138 | if (_argo0) { | |
9139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9142 | return NULL; | |
9143 | } | |
9144 | } | |
9145 | { | |
9146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9147 | _result = (bool )wxStyledTextCtrl_GetLastKeydownProcessed(_arg0); | |
9148 | ||
9149 | wxPyEndAllowThreads(__tstate); | |
9150 | if (PyErr_Occurred()) return NULL; | |
9151 | } _resultobj = Py_BuildValue("i",_result); | |
9152 | return _resultobj; | |
9153 | } | |
9154 | ||
9155 | #define wxStyledTextCtrl_SetLastKeydownProcessed(_swigobj,_swigarg0) (_swigobj->SetLastKeydownProcessed(_swigarg0)) | |
9156 | static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9157 | PyObject * _resultobj; | |
9158 | wxStyledTextCtrl * _arg0; | |
9159 | bool _arg1; | |
9160 | PyObject * _argo0 = 0; | |
9161 | int tempbool1; | |
9162 | char *_kwnames[] = { "self","val", NULL }; | |
9163 | ||
9164 | self = self; | |
9165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLastKeydownProcessed",_kwnames,&_argo0,&tempbool1)) | |
9166 | return NULL; | |
9167 | if (_argo0) { | |
9168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9171 | return NULL; | |
9172 | } | |
9173 | } | |
9174 | _arg1 = (bool ) tempbool1; | |
9175 | { | |
9176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9177 | wxStyledTextCtrl_SetLastKeydownProcessed(_arg0,_arg1); | |
9178 | ||
9179 | wxPyEndAllowThreads(__tstate); | |
9180 | if (PyErr_Occurred()) return NULL; | |
9181 | } Py_INCREF(Py_None); | |
9182 | _resultobj = Py_None; | |
9183 | return _resultobj; | |
9184 | } | |
9185 | ||
f6bcfd97 BP |
9186 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
9187 | wxStyledTextEvent *src; | |
9188 | wxCommandEvent *dest; | |
9189 | src = (wxStyledTextEvent *) ptr; | |
9190 | dest = (wxCommandEvent *) src; | |
9191 | return (void *) dest; | |
9192 | } | |
9193 | ||
9194 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
9195 | wxStyledTextEvent *src; | |
9196 | wxEvent *dest; | |
9197 | src = (wxStyledTextEvent *) ptr; | |
9198 | dest = (wxEvent *) src; | |
9199 | return (void *) dest; | |
9200 | } | |
9201 | ||
493f1553 RD |
9202 | static void *SwigwxStyledTextEventTowxObject(void *ptr) { |
9203 | wxStyledTextEvent *src; | |
9204 | wxObject *dest; | |
9205 | src = (wxStyledTextEvent *) ptr; | |
9206 | dest = (wxObject *) src; | |
9207 | return (void *) dest; | |
9208 | } | |
9209 | ||
7a0f694a | 9210 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) |
f6bcfd97 BP |
9211 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
9212 | PyObject * _resultobj; | |
9213 | wxStyledTextEvent * _result; | |
7a0f694a RD |
9214 | wxEventType _arg0 = (wxEventType ) 0; |
9215 | int _arg1 = (int ) 0; | |
9216 | char *_kwnames[] = { "commandType","id", NULL }; | |
f6bcfd97 BP |
9217 | char _ptemp[128]; |
9218 | ||
9219 | self = self; | |
7a0f694a | 9220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) |
f6bcfd97 BP |
9221 | return NULL; |
9222 | { | |
4268f798 | 9223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9224 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); |
f6bcfd97 | 9225 | |
4268f798 RD |
9226 | wxPyEndAllowThreads(__tstate); |
9227 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9228 | } if (_result) { |
9229 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
9230 | _resultobj = Py_BuildValue("s",_ptemp); | |
9231 | } else { | |
9232 | Py_INCREF(Py_None); | |
9233 | _resultobj = Py_None; | |
9234 | } | |
9235 | return _resultobj; | |
9236 | } | |
9237 | ||
9238 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
9239 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9240 | PyObject * _resultobj; | |
9241 | wxStyledTextEvent * _arg0; | |
9242 | PyObject * _argo0 = 0; | |
9243 | char *_kwnames[] = { "self", NULL }; | |
9244 | ||
9245 | self = self; | |
9246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
9247 | return NULL; | |
9248 | if (_argo0) { | |
9249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
9252 | return NULL; | |
9253 | } | |
9254 | } | |
9255 | { | |
4268f798 | 9256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9257 | delete_wxStyledTextEvent(_arg0); |
f6bcfd97 | 9258 | |
4268f798 RD |
9259 | wxPyEndAllowThreads(__tstate); |
9260 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9261 | } Py_INCREF(Py_None); |
9262 | _resultobj = Py_None; | |
9263 | return _resultobj; | |
9264 | } | |
9265 | ||
9266 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
9267 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9268 | PyObject * _resultobj; | |
9269 | wxStyledTextEvent * _arg0; | |
9270 | int _arg1; | |
9271 | PyObject * _argo0 = 0; | |
9272 | char *_kwnames[] = { "self","pos", NULL }; | |
9273 | ||
9274 | self = self; | |
9275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
9276 | return NULL; | |
9277 | if (_argo0) { | |
9278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
9281 | return NULL; | |
9282 | } | |
9283 | } | |
9284 | { | |
4268f798 | 9285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9286 | wxStyledTextEvent_SetPosition(_arg0,_arg1); |
f6bcfd97 | 9287 | |
4268f798 RD |
9288 | wxPyEndAllowThreads(__tstate); |
9289 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9290 | } Py_INCREF(Py_None); |
9291 | _resultobj = Py_None; | |
9292 | return _resultobj; | |
9293 | } | |
9294 | ||
9295 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
9296 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9297 | PyObject * _resultobj; | |
9298 | wxStyledTextEvent * _arg0; | |
9299 | int _arg1; | |
9300 | PyObject * _argo0 = 0; | |
9301 | char *_kwnames[] = { "self","k", NULL }; | |
9302 | ||
9303 | self = self; | |
9304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
9305 | return NULL; | |
9306 | if (_argo0) { | |
9307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
9310 | return NULL; | |
9311 | } | |
9312 | } | |
9313 | { | |
4268f798 | 9314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9315 | wxStyledTextEvent_SetKey(_arg0,_arg1); |
f6bcfd97 | 9316 | |
4268f798 RD |
9317 | wxPyEndAllowThreads(__tstate); |
9318 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9319 | } Py_INCREF(Py_None); |
9320 | _resultobj = Py_None; | |
9321 | return _resultobj; | |
9322 | } | |
9323 | ||
9324 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
9325 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9326 | PyObject * _resultobj; | |
9327 | wxStyledTextEvent * _arg0; | |
9328 | int _arg1; | |
9329 | PyObject * _argo0 = 0; | |
9330 | char *_kwnames[] = { "self","m", NULL }; | |
9331 | ||
9332 | self = self; | |
9333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
9334 | return NULL; | |
9335 | if (_argo0) { | |
9336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
9339 | return NULL; | |
9340 | } | |
9341 | } | |
9342 | { | |
4268f798 | 9343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9344 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); |
f6bcfd97 | 9345 | |
4268f798 RD |
9346 | wxPyEndAllowThreads(__tstate); |
9347 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9348 | } Py_INCREF(Py_None); |
9349 | _resultobj = Py_None; | |
9350 | return _resultobj; | |
9351 | } | |
9352 | ||
9353 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
9354 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9355 | PyObject * _resultobj; | |
9356 | wxStyledTextEvent * _arg0; | |
9357 | int _arg1; | |
9358 | PyObject * _argo0 = 0; | |
9359 | char *_kwnames[] = { "self","t", NULL }; | |
9360 | ||
9361 | self = self; | |
9362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
9363 | return NULL; | |
9364 | if (_argo0) { | |
9365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
9368 | return NULL; | |
9369 | } | |
9370 | } | |
9371 | { | |
4268f798 | 9372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9373 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); |
f6bcfd97 | 9374 | |
4268f798 RD |
9375 | wxPyEndAllowThreads(__tstate); |
9376 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9377 | } Py_INCREF(Py_None); |
9378 | _resultobj = Py_None; | |
9379 | return _resultobj; | |
9380 | } | |
9381 | ||
9382 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
9383 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9384 | PyObject * _resultobj; | |
9385 | wxStyledTextEvent * _arg0; | |
10ef30eb | 9386 | wxString * _arg1; |
f6bcfd97 | 9387 | PyObject * _argo0 = 0; |
10ef30eb | 9388 | PyObject * _obj1 = 0; |
f6bcfd97 BP |
9389 | char *_kwnames[] = { "self","t", NULL }; |
9390 | ||
9391 | self = self; | |
10ef30eb | 9392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
9393 | return NULL; |
9394 | if (_argo0) { | |
9395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
9398 | return NULL; | |
9399 | } | |
9400 | } | |
10ef30eb RD |
9401 | { |
9402 | _arg1 = wxString_in_helper(_obj1); | |
9403 | if (_arg1 == NULL) | |
9404 | return NULL; | |
9405 | } | |
f6bcfd97 | 9406 | { |
4268f798 | 9407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10ef30eb | 9408 | wxStyledTextEvent_SetText(_arg0,*_arg1); |
f6bcfd97 | 9409 | |
4268f798 RD |
9410 | wxPyEndAllowThreads(__tstate); |
9411 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9412 | } Py_INCREF(Py_None); |
9413 | _resultobj = Py_None; | |
10ef30eb RD |
9414 | { |
9415 | if (_obj1) | |
9416 | delete _arg1; | |
9417 | } | |
f6bcfd97 BP |
9418 | return _resultobj; |
9419 | } | |
9420 | ||
9421 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
9422 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9423 | PyObject * _resultobj; | |
9424 | wxStyledTextEvent * _arg0; | |
9425 | int _arg1; | |
9426 | PyObject * _argo0 = 0; | |
9427 | char *_kwnames[] = { "self","len", NULL }; | |
9428 | ||
9429 | self = self; | |
9430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
9431 | return NULL; | |
9432 | if (_argo0) { | |
9433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
9436 | return NULL; | |
9437 | } | |
9438 | } | |
9439 | { | |
4268f798 | 9440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9441 | wxStyledTextEvent_SetLength(_arg0,_arg1); |
f6bcfd97 | 9442 | |
4268f798 RD |
9443 | wxPyEndAllowThreads(__tstate); |
9444 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9445 | } Py_INCREF(Py_None); |
9446 | _resultobj = Py_None; | |
9447 | return _resultobj; | |
9448 | } | |
9449 | ||
9450 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
9451 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9452 | PyObject * _resultobj; | |
9453 | wxStyledTextEvent * _arg0; | |
9454 | int _arg1; | |
9455 | PyObject * _argo0 = 0; | |
9456 | char *_kwnames[] = { "self","num", NULL }; | |
9457 | ||
9458 | self = self; | |
9459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
9460 | return NULL; | |
9461 | if (_argo0) { | |
9462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9465 | return NULL; | |
9466 | } | |
9467 | } | |
9468 | { | |
4268f798 | 9469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9470 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); |
f6bcfd97 | 9471 | |
4268f798 RD |
9472 | wxPyEndAllowThreads(__tstate); |
9473 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9474 | } Py_INCREF(Py_None); |
9475 | _resultobj = Py_None; | |
9476 | return _resultobj; | |
9477 | } | |
9478 | ||
9479 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
9480 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9481 | PyObject * _resultobj; | |
9482 | wxStyledTextEvent * _arg0; | |
9483 | int _arg1; | |
9484 | PyObject * _argo0 = 0; | |
9485 | char *_kwnames[] = { "self","val", NULL }; | |
9486 | ||
9487 | self = self; | |
9488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
9489 | return NULL; | |
9490 | if (_argo0) { | |
9491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
9494 | return NULL; | |
9495 | } | |
9496 | } | |
9497 | { | |
4268f798 | 9498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9499 | wxStyledTextEvent_SetLine(_arg0,_arg1); |
f6bcfd97 | 9500 | |
4268f798 RD |
9501 | wxPyEndAllowThreads(__tstate); |
9502 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9503 | } Py_INCREF(Py_None); |
9504 | _resultobj = Py_None; | |
9505 | return _resultobj; | |
9506 | } | |
9507 | ||
9508 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
9509 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9510 | PyObject * _resultobj; | |
9511 | wxStyledTextEvent * _arg0; | |
9512 | int _arg1; | |
9513 | PyObject * _argo0 = 0; | |
9514 | char *_kwnames[] = { "self","val", NULL }; | |
9515 | ||
9516 | self = self; | |
9517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
9518 | return NULL; | |
9519 | if (_argo0) { | |
9520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
9523 | return NULL; | |
9524 | } | |
9525 | } | |
9526 | { | |
4268f798 | 9527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9528 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); |
f6bcfd97 | 9529 | |
4268f798 RD |
9530 | wxPyEndAllowThreads(__tstate); |
9531 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9532 | } Py_INCREF(Py_None); |
9533 | _resultobj = Py_None; | |
9534 | return _resultobj; | |
9535 | } | |
9536 | ||
9537 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
9538 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9539 | PyObject * _resultobj; | |
9540 | wxStyledTextEvent * _arg0; | |
9541 | int _arg1; | |
9542 | PyObject * _argo0 = 0; | |
9543 | char *_kwnames[] = { "self","val", NULL }; | |
9544 | ||
9545 | self = self; | |
9546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
9547 | return NULL; | |
9548 | if (_argo0) { | |
9549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
9552 | return NULL; | |
9553 | } | |
9554 | } | |
9555 | { | |
4268f798 | 9556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9557 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); |
f6bcfd97 | 9558 | |
4268f798 RD |
9559 | wxPyEndAllowThreads(__tstate); |
9560 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9561 | } Py_INCREF(Py_None); |
9562 | _resultobj = Py_None; | |
9563 | return _resultobj; | |
9564 | } | |
9565 | ||
9566 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
9567 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9568 | PyObject * _resultobj; | |
9569 | wxStyledTextEvent * _arg0; | |
9570 | int _arg1; | |
9571 | PyObject * _argo0 = 0; | |
9572 | char *_kwnames[] = { "self","val", NULL }; | |
9573 | ||
9574 | self = self; | |
9575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
9576 | return NULL; | |
9577 | if (_argo0) { | |
9578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
9581 | return NULL; | |
9582 | } | |
9583 | } | |
9584 | { | |
4268f798 | 9585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9586 | wxStyledTextEvent_SetMargin(_arg0,_arg1); |
f6bcfd97 | 9587 | |
4268f798 RD |
9588 | wxPyEndAllowThreads(__tstate); |
9589 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9590 | } Py_INCREF(Py_None); |
9591 | _resultobj = Py_None; | |
9592 | return _resultobj; | |
9593 | } | |
9594 | ||
9595 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
9596 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9597 | PyObject * _resultobj; | |
9598 | wxStyledTextEvent * _arg0; | |
9599 | int _arg1; | |
9600 | PyObject * _argo0 = 0; | |
9601 | char *_kwnames[] = { "self","val", NULL }; | |
9602 | ||
9603 | self = self; | |
9604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
9605 | return NULL; | |
9606 | if (_argo0) { | |
9607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
9610 | return NULL; | |
9611 | } | |
9612 | } | |
9613 | { | |
4268f798 | 9614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9615 | wxStyledTextEvent_SetMessage(_arg0,_arg1); |
f6bcfd97 | 9616 | |
4268f798 RD |
9617 | wxPyEndAllowThreads(__tstate); |
9618 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9619 | } Py_INCREF(Py_None); |
9620 | _resultobj = Py_None; | |
9621 | return _resultobj; | |
9622 | } | |
9623 | ||
9624 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
9625 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9626 | PyObject * _resultobj; | |
9627 | wxStyledTextEvent * _arg0; | |
9628 | int _arg1; | |
9629 | PyObject * _argo0 = 0; | |
9630 | char *_kwnames[] = { "self","val", NULL }; | |
9631 | ||
9632 | self = self; | |
9633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
9634 | return NULL; | |
9635 | if (_argo0) { | |
9636 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9637 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
9639 | return NULL; | |
9640 | } | |
9641 | } | |
9642 | { | |
4268f798 | 9643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9644 | wxStyledTextEvent_SetWParam(_arg0,_arg1); |
f6bcfd97 | 9645 | |
4268f798 RD |
9646 | wxPyEndAllowThreads(__tstate); |
9647 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9648 | } Py_INCREF(Py_None); |
9649 | _resultobj = Py_None; | |
9650 | return _resultobj; | |
9651 | } | |
9652 | ||
9653 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
9654 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9655 | PyObject * _resultobj; | |
9656 | wxStyledTextEvent * _arg0; | |
9657 | int _arg1; | |
9658 | PyObject * _argo0 = 0; | |
9659 | char *_kwnames[] = { "self","val", NULL }; | |
9660 | ||
9661 | self = self; | |
9662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
9663 | return NULL; | |
9664 | if (_argo0) { | |
9665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
9668 | return NULL; | |
9669 | } | |
9670 | } | |
9671 | { | |
4268f798 | 9672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9673 | wxStyledTextEvent_SetLParam(_arg0,_arg1); |
f6bcfd97 | 9674 | |
4268f798 RD |
9675 | wxPyEndAllowThreads(__tstate); |
9676 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9677 | } Py_INCREF(Py_None); |
9678 | _resultobj = Py_None; | |
9679 | return _resultobj; | |
9680 | } | |
9681 | ||
65ec6247 RD |
9682 | #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0)) |
9683 | static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9684 | PyObject * _resultobj; | |
9685 | wxStyledTextEvent * _arg0; | |
9686 | int _arg1; | |
9687 | PyObject * _argo0 = 0; | |
9688 | char *_kwnames[] = { "self","val", NULL }; | |
9689 | ||
9690 | self = self; | |
9691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1)) | |
9692 | return NULL; | |
9693 | if (_argo0) { | |
9694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p."); | |
9697 | return NULL; | |
9698 | } | |
9699 | } | |
9700 | { | |
4268f798 | 9701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9702 | wxStyledTextEvent_SetListType(_arg0,_arg1); |
65ec6247 | 9703 | |
4268f798 RD |
9704 | wxPyEndAllowThreads(__tstate); |
9705 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9706 | } Py_INCREF(Py_None); |
9707 | _resultobj = Py_None; | |
9708 | return _resultobj; | |
9709 | } | |
9710 | ||
9711 | #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
9712 | static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9713 | PyObject * _resultobj; | |
9714 | wxStyledTextEvent * _arg0; | |
9715 | int _arg1; | |
9716 | PyObject * _argo0 = 0; | |
9717 | char *_kwnames[] = { "self","val", NULL }; | |
9718 | ||
9719 | self = self; | |
9720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1)) | |
9721 | return NULL; | |
9722 | if (_argo0) { | |
9723 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9724 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p."); | |
9726 | return NULL; | |
9727 | } | |
9728 | } | |
9729 | { | |
4268f798 | 9730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9731 | wxStyledTextEvent_SetX(_arg0,_arg1); |
65ec6247 | 9732 | |
4268f798 RD |
9733 | wxPyEndAllowThreads(__tstate); |
9734 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9735 | } Py_INCREF(Py_None); |
9736 | _resultobj = Py_None; | |
9737 | return _resultobj; | |
9738 | } | |
9739 | ||
9740 | #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
9741 | static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9742 | PyObject * _resultobj; | |
9743 | wxStyledTextEvent * _arg0; | |
9744 | int _arg1; | |
9745 | PyObject * _argo0 = 0; | |
9746 | char *_kwnames[] = { "self","val", NULL }; | |
9747 | ||
9748 | self = self; | |
9749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1)) | |
9750 | return NULL; | |
9751 | if (_argo0) { | |
9752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p."); | |
9755 | return NULL; | |
9756 | } | |
9757 | } | |
9758 | { | |
4268f798 | 9759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9760 | wxStyledTextEvent_SetY(_arg0,_arg1); |
65ec6247 | 9761 | |
4268f798 RD |
9762 | wxPyEndAllowThreads(__tstate); |
9763 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9764 | } Py_INCREF(Py_None); |
9765 | _resultobj = Py_None; | |
9766 | return _resultobj; | |
9767 | } | |
9768 | ||
74933d75 RD |
9769 | #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0)) |
9770 | static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9771 | PyObject * _resultobj; | |
9772 | wxStyledTextEvent * _arg0; | |
9773 | wxString * _arg1; | |
9774 | PyObject * _argo0 = 0; | |
9775 | PyObject * _obj1 = 0; | |
9776 | char *_kwnames[] = { "self","val", NULL }; | |
9777 | ||
9778 | self = self; | |
9779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1)) | |
9780 | return NULL; | |
9781 | if (_argo0) { | |
9782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p."); | |
9785 | return NULL; | |
9786 | } | |
9787 | } | |
9788 | { | |
c8bc7bb8 RD |
9789 | _arg1 = wxString_in_helper(_obj1); |
9790 | if (_arg1 == NULL) | |
74933d75 | 9791 | return NULL; |
74933d75 RD |
9792 | } |
9793 | { | |
4268f798 | 9794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9795 | wxStyledTextEvent_SetDragText(_arg0,*_arg1); |
74933d75 | 9796 | |
4268f798 RD |
9797 | wxPyEndAllowThreads(__tstate); |
9798 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9799 | } Py_INCREF(Py_None); |
9800 | _resultobj = Py_None; | |
9801 | { | |
9802 | if (_obj1) | |
9803 | delete _arg1; | |
9804 | } | |
9805 | return _resultobj; | |
9806 | } | |
9807 | ||
9808 | #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0)) | |
9809 | static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9810 | PyObject * _resultobj; | |
9811 | wxStyledTextEvent * _arg0; | |
9812 | bool _arg1; | |
9813 | PyObject * _argo0 = 0; | |
9814 | int tempbool1; | |
9815 | char *_kwnames[] = { "self","val", NULL }; | |
9816 | ||
9817 | self = self; | |
9818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1)) | |
9819 | return NULL; | |
9820 | if (_argo0) { | |
9821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
9824 | return NULL; | |
9825 | } | |
9826 | } | |
9827 | _arg1 = (bool ) tempbool1; | |
9828 | { | |
4268f798 | 9829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9830 | wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1); |
74933d75 | 9831 | |
4268f798 RD |
9832 | wxPyEndAllowThreads(__tstate); |
9833 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9834 | } Py_INCREF(Py_None); |
9835 | _resultobj = Py_None; | |
9836 | return _resultobj; | |
9837 | } | |
9838 | ||
9839 | #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0)) | |
9840 | static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9841 | PyObject * _resultobj; | |
9842 | wxStyledTextEvent * _arg0; | |
9843 | wxDragResult _arg1; | |
9844 | PyObject * _argo0 = 0; | |
9845 | char *_kwnames[] = { "self","val", NULL }; | |
9846 | ||
9847 | self = self; | |
9848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1)) | |
9849 | return NULL; | |
9850 | if (_argo0) { | |
9851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p."); | |
9854 | return NULL; | |
9855 | } | |
9856 | } | |
9857 | { | |
4268f798 | 9858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9859 | wxStyledTextEvent_SetDragResult(_arg0,_arg1); |
74933d75 | 9860 | |
4268f798 RD |
9861 | wxPyEndAllowThreads(__tstate); |
9862 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9863 | } Py_INCREF(Py_None); |
9864 | _resultobj = Py_None; | |
9865 | return _resultobj; | |
9866 | } | |
9867 | ||
f6bcfd97 BP |
9868 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
9869 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9870 | PyObject * _resultobj; | |
9871 | int _result; | |
9872 | wxStyledTextEvent * _arg0; | |
9873 | PyObject * _argo0 = 0; | |
9874 | char *_kwnames[] = { "self", NULL }; | |
9875 | ||
9876 | self = self; | |
9877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
9878 | return NULL; | |
9879 | if (_argo0) { | |
9880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
9883 | return NULL; | |
9884 | } | |
9885 | } | |
9886 | { | |
4268f798 | 9887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9888 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); |
f6bcfd97 | 9889 | |
4268f798 RD |
9890 | wxPyEndAllowThreads(__tstate); |
9891 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9892 | } _resultobj = Py_BuildValue("i",_result); |
9893 | return _resultobj; | |
9894 | } | |
9895 | ||
9896 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
9897 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9898 | PyObject * _resultobj; | |
9899 | int _result; | |
9900 | wxStyledTextEvent * _arg0; | |
9901 | PyObject * _argo0 = 0; | |
9902 | char *_kwnames[] = { "self", NULL }; | |
9903 | ||
9904 | self = self; | |
9905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
9906 | return NULL; | |
9907 | if (_argo0) { | |
9908 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9909 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9910 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
9911 | return NULL; | |
9912 | } | |
9913 | } | |
9914 | { | |
4268f798 | 9915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9916 | _result = (int )wxStyledTextEvent_GetKey(_arg0); |
f6bcfd97 | 9917 | |
4268f798 RD |
9918 | wxPyEndAllowThreads(__tstate); |
9919 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9920 | } _resultobj = Py_BuildValue("i",_result); |
9921 | return _resultobj; | |
9922 | } | |
9923 | ||
9924 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
9925 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9926 | PyObject * _resultobj; | |
9927 | int _result; | |
9928 | wxStyledTextEvent * _arg0; | |
9929 | PyObject * _argo0 = 0; | |
9930 | char *_kwnames[] = { "self", NULL }; | |
9931 | ||
9932 | self = self; | |
9933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
9934 | return NULL; | |
9935 | if (_argo0) { | |
9936 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9937 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
9939 | return NULL; | |
9940 | } | |
9941 | } | |
9942 | { | |
4268f798 | 9943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9944 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); |
f6bcfd97 | 9945 | |
4268f798 RD |
9946 | wxPyEndAllowThreads(__tstate); |
9947 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9948 | } _resultobj = Py_BuildValue("i",_result); |
9949 | return _resultobj; | |
9950 | } | |
9951 | ||
9952 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
9953 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9954 | PyObject * _resultobj; | |
9955 | int _result; | |
9956 | wxStyledTextEvent * _arg0; | |
9957 | PyObject * _argo0 = 0; | |
9958 | char *_kwnames[] = { "self", NULL }; | |
9959 | ||
9960 | self = self; | |
9961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
9962 | return NULL; | |
9963 | if (_argo0) { | |
9964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
9967 | return NULL; | |
9968 | } | |
9969 | } | |
9970 | { | |
4268f798 | 9971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9972 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); |
f6bcfd97 | 9973 | |
4268f798 RD |
9974 | wxPyEndAllowThreads(__tstate); |
9975 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9976 | } _resultobj = Py_BuildValue("i",_result); |
9977 | return _resultobj; | |
9978 | } | |
9979 | ||
9980 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
9981 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9982 | PyObject * _resultobj; | |
9983 | wxString * _result; | |
9984 | wxStyledTextEvent * _arg0; | |
9985 | PyObject * _argo0 = 0; | |
9986 | char *_kwnames[] = { "self", NULL }; | |
9987 | ||
9988 | self = self; | |
9989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
9990 | return NULL; | |
9991 | if (_argo0) { | |
9992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
9995 | return NULL; | |
9996 | } | |
9997 | } | |
9998 | { | |
4268f798 | 9999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10000 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); |
f6bcfd97 | 10001 | |
4268f798 RD |
10002 | wxPyEndAllowThreads(__tstate); |
10003 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 | 10004 | }{ |
c8bc7bb8 RD |
10005 | #if wxUSE_UNICODE |
10006 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10007 | #else | |
f6bcfd97 | 10008 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 10009 | #endif |
f6bcfd97 BP |
10010 | } |
10011 | { | |
10012 | delete _result; | |
10013 | } | |
10014 | return _resultobj; | |
10015 | } | |
10016 | ||
10017 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
10018 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10019 | PyObject * _resultobj; | |
10020 | int _result; | |
10021 | wxStyledTextEvent * _arg0; | |
10022 | PyObject * _argo0 = 0; | |
10023 | char *_kwnames[] = { "self", NULL }; | |
10024 | ||
10025 | self = self; | |
10026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
10027 | return NULL; | |
10028 | if (_argo0) { | |
10029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
10032 | return NULL; | |
10033 | } | |
10034 | } | |
10035 | { | |
4268f798 | 10036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10037 | _result = (int )wxStyledTextEvent_GetLength(_arg0); |
f6bcfd97 | 10038 | |
4268f798 RD |
10039 | wxPyEndAllowThreads(__tstate); |
10040 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10041 | } _resultobj = Py_BuildValue("i",_result); |
10042 | return _resultobj; | |
10043 | } | |
10044 | ||
10045 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
10046 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10047 | PyObject * _resultobj; | |
10048 | int _result; | |
10049 | wxStyledTextEvent * _arg0; | |
10050 | PyObject * _argo0 = 0; | |
10051 | char *_kwnames[] = { "self", NULL }; | |
10052 | ||
10053 | self = self; | |
10054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
10055 | return NULL; | |
10056 | if (_argo0) { | |
10057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
10060 | return NULL; | |
10061 | } | |
10062 | } | |
10063 | { | |
4268f798 | 10064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10065 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); |
f6bcfd97 | 10066 | |
4268f798 RD |
10067 | wxPyEndAllowThreads(__tstate); |
10068 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10069 | } _resultobj = Py_BuildValue("i",_result); |
10070 | return _resultobj; | |
10071 | } | |
10072 | ||
10073 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
10074 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10075 | PyObject * _resultobj; | |
10076 | int _result; | |
10077 | wxStyledTextEvent * _arg0; | |
10078 | PyObject * _argo0 = 0; | |
10079 | char *_kwnames[] = { "self", NULL }; | |
10080 | ||
10081 | self = self; | |
10082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
10083 | return NULL; | |
10084 | if (_argo0) { | |
10085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
10088 | return NULL; | |
10089 | } | |
10090 | } | |
10091 | { | |
4268f798 | 10092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10093 | _result = (int )wxStyledTextEvent_GetLine(_arg0); |
f6bcfd97 | 10094 | |
4268f798 RD |
10095 | wxPyEndAllowThreads(__tstate); |
10096 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10097 | } _resultobj = Py_BuildValue("i",_result); |
10098 | return _resultobj; | |
10099 | } | |
10100 | ||
10101 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
10102 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10103 | PyObject * _resultobj; | |
10104 | int _result; | |
10105 | wxStyledTextEvent * _arg0; | |
10106 | PyObject * _argo0 = 0; | |
10107 | char *_kwnames[] = { "self", NULL }; | |
10108 | ||
10109 | self = self; | |
10110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
10111 | return NULL; | |
10112 | if (_argo0) { | |
10113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
10116 | return NULL; | |
10117 | } | |
10118 | } | |
10119 | { | |
4268f798 | 10120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10121 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); |
f6bcfd97 | 10122 | |
4268f798 RD |
10123 | wxPyEndAllowThreads(__tstate); |
10124 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10125 | } _resultobj = Py_BuildValue("i",_result); |
10126 | return _resultobj; | |
10127 | } | |
10128 | ||
10129 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
10130 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10131 | PyObject * _resultobj; | |
10132 | int _result; | |
10133 | wxStyledTextEvent * _arg0; | |
10134 | PyObject * _argo0 = 0; | |
10135 | char *_kwnames[] = { "self", NULL }; | |
10136 | ||
10137 | self = self; | |
10138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
10139 | return NULL; | |
10140 | if (_argo0) { | |
10141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
10144 | return NULL; | |
10145 | } | |
10146 | } | |
10147 | { | |
4268f798 | 10148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10149 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); |
f6bcfd97 | 10150 | |
4268f798 RD |
10151 | wxPyEndAllowThreads(__tstate); |
10152 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10153 | } _resultobj = Py_BuildValue("i",_result); |
10154 | return _resultobj; | |
10155 | } | |
10156 | ||
10157 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
10158 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10159 | PyObject * _resultobj; | |
10160 | int _result; | |
10161 | wxStyledTextEvent * _arg0; | |
10162 | PyObject * _argo0 = 0; | |
10163 | char *_kwnames[] = { "self", NULL }; | |
10164 | ||
10165 | self = self; | |
10166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
10167 | return NULL; | |
10168 | if (_argo0) { | |
10169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
10172 | return NULL; | |
10173 | } | |
10174 | } | |
10175 | { | |
4268f798 | 10176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10177 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); |
f6bcfd97 | 10178 | |
4268f798 RD |
10179 | wxPyEndAllowThreads(__tstate); |
10180 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10181 | } _resultobj = Py_BuildValue("i",_result); |
10182 | return _resultobj; | |
10183 | } | |
10184 | ||
10185 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
10186 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10187 | PyObject * _resultobj; | |
10188 | int _result; | |
10189 | wxStyledTextEvent * _arg0; | |
10190 | PyObject * _argo0 = 0; | |
10191 | char *_kwnames[] = { "self", NULL }; | |
10192 | ||
10193 | self = self; | |
10194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
10195 | return NULL; | |
10196 | if (_argo0) { | |
10197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
10200 | return NULL; | |
10201 | } | |
10202 | } | |
10203 | { | |
4268f798 | 10204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10205 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); |
f6bcfd97 | 10206 | |
4268f798 RD |
10207 | wxPyEndAllowThreads(__tstate); |
10208 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10209 | } _resultobj = Py_BuildValue("i",_result); |
10210 | return _resultobj; | |
10211 | } | |
10212 | ||
10213 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
10214 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10215 | PyObject * _resultobj; | |
10216 | int _result; | |
10217 | wxStyledTextEvent * _arg0; | |
10218 | PyObject * _argo0 = 0; | |
10219 | char *_kwnames[] = { "self", NULL }; | |
10220 | ||
10221 | self = self; | |
10222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
10223 | return NULL; | |
10224 | if (_argo0) { | |
10225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
10228 | return NULL; | |
10229 | } | |
10230 | } | |
10231 | { | |
4268f798 | 10232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10233 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); |
f6bcfd97 | 10234 | |
4268f798 RD |
10235 | wxPyEndAllowThreads(__tstate); |
10236 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10237 | } _resultobj = Py_BuildValue("i",_result); |
10238 | return _resultobj; | |
10239 | } | |
10240 | ||
10241 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
10242 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10243 | PyObject * _resultobj; | |
10244 | int _result; | |
10245 | wxStyledTextEvent * _arg0; | |
10246 | PyObject * _argo0 = 0; | |
10247 | char *_kwnames[] = { "self", NULL }; | |
10248 | ||
10249 | self = self; | |
10250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
10251 | return NULL; | |
10252 | if (_argo0) { | |
10253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
10256 | return NULL; | |
10257 | } | |
10258 | } | |
10259 | { | |
4268f798 | 10260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10261 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); |
f6bcfd97 | 10262 | |
4268f798 RD |
10263 | wxPyEndAllowThreads(__tstate); |
10264 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10265 | } _resultobj = Py_BuildValue("i",_result); |
10266 | return _resultobj; | |
10267 | } | |
10268 | ||
65ec6247 RD |
10269 | #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType()) |
10270 | static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10271 | PyObject * _resultobj; | |
10272 | int _result; | |
10273 | wxStyledTextEvent * _arg0; | |
10274 | PyObject * _argo0 = 0; | |
10275 | char *_kwnames[] = { "self", NULL }; | |
10276 | ||
10277 | self = self; | |
10278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0)) | |
10279 | return NULL; | |
10280 | if (_argo0) { | |
10281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p."); | |
10284 | return NULL; | |
10285 | } | |
10286 | } | |
10287 | { | |
4268f798 | 10288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10289 | _result = (int )wxStyledTextEvent_GetListType(_arg0); |
65ec6247 | 10290 | |
4268f798 RD |
10291 | wxPyEndAllowThreads(__tstate); |
10292 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10293 | } _resultobj = Py_BuildValue("i",_result); |
10294 | return _resultobj; | |
10295 | } | |
10296 | ||
10297 | #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX()) | |
10298 | static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10299 | PyObject * _resultobj; | |
10300 | int _result; | |
10301 | wxStyledTextEvent * _arg0; | |
10302 | PyObject * _argo0 = 0; | |
10303 | char *_kwnames[] = { "self", NULL }; | |
10304 | ||
10305 | self = self; | |
10306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0)) | |
10307 | return NULL; | |
10308 | if (_argo0) { | |
10309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p."); | |
10312 | return NULL; | |
10313 | } | |
10314 | } | |
10315 | { | |
4268f798 | 10316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10317 | _result = (int )wxStyledTextEvent_GetX(_arg0); |
65ec6247 | 10318 | |
4268f798 RD |
10319 | wxPyEndAllowThreads(__tstate); |
10320 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10321 | } _resultobj = Py_BuildValue("i",_result); |
10322 | return _resultobj; | |
10323 | } | |
10324 | ||
10325 | #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY()) | |
10326 | static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10327 | PyObject * _resultobj; | |
10328 | int _result; | |
10329 | wxStyledTextEvent * _arg0; | |
10330 | PyObject * _argo0 = 0; | |
10331 | char *_kwnames[] = { "self", NULL }; | |
10332 | ||
10333 | self = self; | |
10334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0)) | |
10335 | return NULL; | |
10336 | if (_argo0) { | |
10337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p."); | |
10340 | return NULL; | |
10341 | } | |
10342 | } | |
10343 | { | |
4268f798 | 10344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10345 | _result = (int )wxStyledTextEvent_GetY(_arg0); |
65ec6247 | 10346 | |
4268f798 RD |
10347 | wxPyEndAllowThreads(__tstate); |
10348 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10349 | } _resultobj = Py_BuildValue("i",_result); |
10350 | return _resultobj; | |
10351 | } | |
10352 | ||
74933d75 RD |
10353 | #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText()) |
10354 | static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10355 | PyObject * _resultobj; | |
10356 | wxString * _result; | |
10357 | wxStyledTextEvent * _arg0; | |
10358 | PyObject * _argo0 = 0; | |
10359 | char *_kwnames[] = { "self", NULL }; | |
10360 | ||
10361 | self = self; | |
10362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0)) | |
10363 | return NULL; | |
10364 | if (_argo0) { | |
10365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p."); | |
10368 | return NULL; | |
10369 | } | |
10370 | } | |
10371 | { | |
4268f798 | 10372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10373 | _result = new wxString (wxStyledTextEvent_GetDragText(_arg0)); |
74933d75 | 10374 | |
4268f798 RD |
10375 | wxPyEndAllowThreads(__tstate); |
10376 | if (PyErr_Occurred()) return NULL; | |
74933d75 | 10377 | }{ |
c8bc7bb8 RD |
10378 | #if wxUSE_UNICODE |
10379 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10380 | #else | |
74933d75 | 10381 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 10382 | #endif |
74933d75 RD |
10383 | } |
10384 | { | |
10385 | delete _result; | |
10386 | } | |
10387 | return _resultobj; | |
10388 | } | |
10389 | ||
10390 | #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove()) | |
10391 | static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10392 | PyObject * _resultobj; | |
10393 | bool _result; | |
10394 | wxStyledTextEvent * _arg0; | |
10395 | PyObject * _argo0 = 0; | |
10396 | char *_kwnames[] = { "self", NULL }; | |
10397 | ||
10398 | self = self; | |
10399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0)) | |
10400 | return NULL; | |
10401 | if (_argo0) { | |
10402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
10405 | return NULL; | |
10406 | } | |
10407 | } | |
10408 | { | |
4268f798 | 10409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10410 | _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0); |
74933d75 | 10411 | |
4268f798 RD |
10412 | wxPyEndAllowThreads(__tstate); |
10413 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
10414 | } _resultobj = Py_BuildValue("i",_result); |
10415 | return _resultobj; | |
10416 | } | |
10417 | ||
10418 | #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult()) | |
10419 | static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10420 | PyObject * _resultobj; | |
10421 | wxDragResult _result; | |
10422 | wxStyledTextEvent * _arg0; | |
10423 | PyObject * _argo0 = 0; | |
10424 | char *_kwnames[] = { "self", NULL }; | |
10425 | ||
10426 | self = self; | |
10427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0)) | |
10428 | return NULL; | |
10429 | if (_argo0) { | |
10430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p."); | |
10433 | return NULL; | |
10434 | } | |
10435 | } | |
10436 | { | |
4268f798 | 10437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10438 | _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0); |
74933d75 | 10439 | |
4268f798 RD |
10440 | wxPyEndAllowThreads(__tstate); |
10441 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
10442 | } _resultobj = Py_BuildValue("i",_result); |
10443 | return _resultobj; | |
10444 | } | |
10445 | ||
f6bcfd97 BP |
10446 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) |
10447 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10448 | PyObject * _resultobj; | |
10449 | bool _result; | |
10450 | wxStyledTextEvent * _arg0; | |
10451 | PyObject * _argo0 = 0; | |
10452 | char *_kwnames[] = { "self", NULL }; | |
10453 | ||
10454 | self = self; | |
10455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
10456 | return NULL; | |
10457 | if (_argo0) { | |
10458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
10461 | return NULL; | |
10462 | } | |
10463 | } | |
10464 | { | |
4268f798 | 10465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10466 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); |
f6bcfd97 | 10467 | |
4268f798 RD |
10468 | wxPyEndAllowThreads(__tstate); |
10469 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10470 | } _resultobj = Py_BuildValue("i",_result); |
10471 | return _resultobj; | |
10472 | } | |
10473 | ||
10474 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
10475 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10476 | PyObject * _resultobj; | |
10477 | bool _result; | |
10478 | wxStyledTextEvent * _arg0; | |
10479 | PyObject * _argo0 = 0; | |
10480 | char *_kwnames[] = { "self", NULL }; | |
10481 | ||
10482 | self = self; | |
10483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
10484 | return NULL; | |
10485 | if (_argo0) { | |
10486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
10489 | return NULL; | |
10490 | } | |
10491 | } | |
10492 | { | |
4268f798 | 10493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10494 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); |
f6bcfd97 | 10495 | |
4268f798 RD |
10496 | wxPyEndAllowThreads(__tstate); |
10497 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10498 | } _resultobj = Py_BuildValue("i",_result); |
10499 | return _resultobj; | |
10500 | } | |
10501 | ||
10502 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
10503 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10504 | PyObject * _resultobj; | |
10505 | bool _result; | |
10506 | wxStyledTextEvent * _arg0; | |
10507 | PyObject * _argo0 = 0; | |
10508 | char *_kwnames[] = { "self", NULL }; | |
10509 | ||
10510 | self = self; | |
10511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
10512 | return NULL; | |
10513 | if (_argo0) { | |
10514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
10517 | return NULL; | |
10518 | } | |
10519 | } | |
10520 | { | |
4268f798 | 10521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10522 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); |
f6bcfd97 | 10523 | |
4268f798 RD |
10524 | wxPyEndAllowThreads(__tstate); |
10525 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10526 | } _resultobj = Py_BuildValue("i",_result); |
10527 | return _resultobj; | |
10528 | } | |
10529 | ||
ebf4302c RD |
10530 | #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone()) |
10531 | static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 10532 | PyObject * _resultobj; |
ebf4302c | 10533 | wxEvent * _result; |
f6bcfd97 | 10534 | wxStyledTextEvent * _arg0; |
f6bcfd97 | 10535 | PyObject * _argo0 = 0; |
ebf4302c RD |
10536 | char *_kwnames[] = { "self", NULL }; |
10537 | char _ptemp[128]; | |
f6bcfd97 BP |
10538 | |
10539 | self = self; | |
ebf4302c | 10540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0)) |
f6bcfd97 BP |
10541 | return NULL; |
10542 | if (_argo0) { | |
10543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
ebf4302c | 10545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p."); |
f6bcfd97 BP |
10546 | return NULL; |
10547 | } | |
10548 | } | |
10549 | { | |
4268f798 | 10550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10551 | _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0); |
f6bcfd97 | 10552 | |
4268f798 RD |
10553 | wxPyEndAllowThreads(__tstate); |
10554 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
10555 | } if (_result) { |
10556 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p"); | |
10557 | _resultobj = Py_BuildValue("s",_ptemp); | |
10558 | } else { | |
10559 | Py_INCREF(Py_None); | |
10560 | _resultobj = Py_None; | |
10561 | } | |
f6bcfd97 BP |
10562 | return _resultobj; |
10563 | } | |
10564 | ||
10565 | static PyMethodDef stc_cMethods[] = { | |
ebf4302c | 10566 | { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10567 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, |
10568 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
10569 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
74933d75 RD |
10570 | { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10571 | { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10572 | { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10573 | { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
10574 | { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
10575 | { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10576 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, |
10577 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10578 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10579 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10580 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10581 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10582 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10583 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10584 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10585 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10586 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10587 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10588 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
10589 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
74933d75 RD |
10590 | { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10591 | { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10592 | { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10593 | { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, |
10594 | { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
10595 | { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10596 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, |
10597 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10598 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10599 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10600 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10601 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10602 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
10603 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10604 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
10605 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10606 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10607 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10608 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
10609 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
10610 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
10611 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
0b9dfbc0 RD |
10612 | { "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, |
10613 | { "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
ebf4302c RD |
10614 | { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, |
10615 | { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10616 | { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, |
ea7c631c RD |
10617 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, |
10618 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10619 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, |
10620 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10621 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10622 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
10623 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
10624 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
10625 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
10626 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10627 | { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10628 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10629 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, |
10630 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
10631 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
10632 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10633 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, |
10634 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10635 | { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, |
10636 | { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10637 | { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, |
10638 | { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
10639 | { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
10640 | { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
10641 | { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
10642 | { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
10643 | { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10644 | { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, |
10645 | { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10646 | { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS }, |
10647 | { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10648 | { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10649 | { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10650 | { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
10651 | { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
fea018f8 RD |
10652 | { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, |
10653 | { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10654 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
10655 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
10656 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
10657 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
10658 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10659 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10660 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
10661 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
10662 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
10663 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
10664 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
10665 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
10666 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10667 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, |
10668 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
10669 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10670 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10671 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
10672 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10673 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
10674 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10675 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10676 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10677 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10678 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
10679 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
10680 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10681 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10682 | { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, |
1a2fb4cd RD |
10683 | { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, |
10684 | { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
10685 | { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10686 | { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10687 | { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10688 | { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10689 | { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, |
10690 | { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
10691 | { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10692 | { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10693 | { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10694 | { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10695 | { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10696 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, |
10697 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
10698 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
10699 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10700 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10701 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10702 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
10703 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
10704 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
10705 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
10706 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10707 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10708 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
10709 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10710 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, |
10711 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10712 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10713 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
10714 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
10715 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10716 | { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, |
10717 | { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
10718 | { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
10719 | { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
10720 | { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
10721 | { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10722 | { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10723 | { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10724 | { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10725 | { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
10726 | { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10727 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, |
10728 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
10729 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
10730 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10731 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10732 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
10733 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
10734 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
10735 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
10736 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
10737 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
10738 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
10739 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
10740 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10741 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
10742 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
10743 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
10744 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
10745 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
10746 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
10747 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
10748 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
10749 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10750 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
10751 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10752 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10753 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10754 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10755 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
10756 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10757 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
10758 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
10759 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
10760 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10761 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10762 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10763 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10764 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10765 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10766 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10767 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10768 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
10769 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10770 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
10771 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10772 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10773 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10774 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10775 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10776 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10777 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10778 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10779 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10787 | { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, |
10788 | { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10789 | { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, |
10790 | { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
10791 | { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10792 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, |
10793 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
10794 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10795 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
10797 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10798 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10799 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, |
10800 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
10801 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 | 10802 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10803 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10804 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10805 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, |
10806 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
10807 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd | 10808 | { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, |
65ec6247 RD |
10809 | { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, |
10810 | { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
10811 | { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10812 | { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10813 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, |
10814 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10815 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10816 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10817 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10818 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10819 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10820 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, |
10821 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10822 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, |
10823 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10824 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10825 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, |
10826 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10827 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, |
10828 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
10829 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10830 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
10831 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10832 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10833 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, |
10834 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
10ef30eb | 10835 | { "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, |
65ec6247 | 10836 | { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10837 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10838 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10839 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10840 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10841 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10842 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, |
10843 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10844 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, |
10845 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10846 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10847 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, |
10848 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
10849 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10850 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10851 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10852 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10853 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10854 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10855 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
10856 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
10857 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
10858 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
10859 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
10860 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
10861 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10862 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10863 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
10864 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10865 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10866 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10867 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10868 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10869 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10870 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10871 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, |
10872 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10873 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, |
10874 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
10875 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10876 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10877 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, |
10878 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10879 | { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10880 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10881 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, |
10882 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10883 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10884 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, |
10885 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10886 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10887 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, |
10888 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
10889 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10890 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10891 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10892 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10893 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, |
10894 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10895 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10896 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, |
10897 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10898 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, |
10899 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
10900 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
10901 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10902 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, |
10903 | { NULL, NULL } | |
10904 | }; | |
10905 | #ifdef __cplusplus | |
10906 | } | |
10907 | #endif | |
10908 | /* | |
10909 | * This table is used by the pointer type-checker | |
10910 | */ | |
10911 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
f6bcfd97 | 10912 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, |
f6bcfd97 | 10913 | { "_signed_long","_long",0}, |
f6bcfd97 BP |
10914 | { "_wxPrintQuality","_wxCoord",0}, |
10915 | { "_wxPrintQuality","_int",0}, | |
10916 | { "_wxPrintQuality","_signed_int",0}, | |
10917 | { "_wxPrintQuality","_unsigned_int",0}, | |
10918 | { "_wxPrintQuality","_wxWindowID",0}, | |
10919 | { "_wxPrintQuality","_uint",0}, | |
10920 | { "_wxPrintQuality","_EBool",0}, | |
10921 | { "_wxPrintQuality","_size_t",0}, | |
fe47ec10 | 10922 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 10923 | { "_byte","_unsigned_char",0}, |
f6bcfd97 BP |
10924 | { "_long","_unsigned_long",0}, |
10925 | { "_long","_signed_long",0}, | |
f6bcfd97 BP |
10926 | { "_size_t","_wxCoord",0}, |
10927 | { "_size_t","_wxPrintQuality",0}, | |
fe47ec10 | 10928 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
10929 | { "_size_t","_unsigned_int",0}, |
10930 | { "_size_t","_int",0}, | |
10931 | { "_size_t","_wxWindowID",0}, | |
10932 | { "_size_t","_uint",0}, | |
f6bcfd97 BP |
10933 | { "_uint","_wxCoord",0}, |
10934 | { "_uint","_wxPrintQuality",0}, | |
fe47ec10 | 10935 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
10936 | { "_uint","_size_t",0}, |
10937 | { "_uint","_unsigned_int",0}, | |
10938 | { "_uint","_int",0}, | |
10939 | { "_uint","_wxWindowID",0}, | |
10940 | { "_wxChar","_char",0}, | |
f6bcfd97 | 10941 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, |
f6bcfd97 | 10942 | { "_char","_wxChar",0}, |
fea018f8 | 10943 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
f6bcfd97 BP |
10944 | { "_EBool","_wxCoord",0}, |
10945 | { "_EBool","_wxPrintQuality",0}, | |
10946 | { "_EBool","_signed_int",0}, | |
10947 | { "_EBool","_int",0}, | |
10948 | { "_EBool","_wxWindowID",0}, | |
f6bcfd97 | 10949 | { "_unsigned_long","_long",0}, |
fea018f8 | 10950 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
f6bcfd97 BP |
10951 | { "_signed_int","_wxCoord",0}, |
10952 | { "_signed_int","_wxPrintQuality",0}, | |
10953 | { "_signed_int","_EBool",0}, | |
10954 | { "_signed_int","_wxWindowID",0}, | |
10955 | { "_signed_int","_int",0}, | |
ea7c631c | 10956 | { "_WXTYPE","_wxDateTime_t",0}, |
f6bcfd97 BP |
10957 | { "_WXTYPE","_short",0}, |
10958 | { "_WXTYPE","_signed_short",0}, | |
10959 | { "_WXTYPE","_unsigned_short",0}, | |
ea7c631c | 10960 | { "_unsigned_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
10961 | { "_unsigned_short","_WXTYPE",0}, |
10962 | { "_unsigned_short","_short",0}, | |
493f1553 RD |
10963 | { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject}, |
10964 | { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject}, | |
f6bcfd97 BP |
10965 | { "_signed_short","_WXTYPE",0}, |
10966 | { "_signed_short","_short",0}, | |
f6bcfd97 | 10967 | { "_unsigned_char","_byte",0}, |
f6bcfd97 | 10968 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, |
f6bcfd97 BP |
10969 | { "_unsigned_int","_wxCoord",0}, |
10970 | { "_unsigned_int","_wxPrintQuality",0}, | |
fe47ec10 | 10971 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
10972 | { "_unsigned_int","_size_t",0}, |
10973 | { "_unsigned_int","_uint",0}, | |
10974 | { "_unsigned_int","_wxWindowID",0}, | |
10975 | { "_unsigned_int","_int",0}, | |
ea7c631c | 10976 | { "_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
10977 | { "_short","_WXTYPE",0}, |
10978 | { "_short","_unsigned_short",0}, | |
10979 | { "_short","_signed_short",0}, | |
f6bcfd97 BP |
10980 | { "_wxWindowID","_wxCoord",0}, |
10981 | { "_wxWindowID","_wxPrintQuality",0}, | |
fe47ec10 | 10982 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
10983 | { "_wxWindowID","_size_t",0}, |
10984 | { "_wxWindowID","_EBool",0}, | |
10985 | { "_wxWindowID","_uint",0}, | |
10986 | { "_wxWindowID","_int",0}, | |
10987 | { "_wxWindowID","_signed_int",0}, | |
10988 | { "_wxWindowID","_unsigned_int",0}, | |
f6bcfd97 BP |
10989 | { "_int","_wxCoord",0}, |
10990 | { "_int","_wxPrintQuality",0}, | |
fe47ec10 | 10991 | { "_int","_time_t",0}, |
f6bcfd97 BP |
10992 | { "_int","_size_t",0}, |
10993 | { "_int","_EBool",0}, | |
10994 | { "_int","_uint",0}, | |
10995 | { "_int","_wxWindowID",0}, | |
10996 | { "_int","_unsigned_int",0}, | |
10997 | { "_int","_signed_int",0}, | |
ea7c631c RD |
10998 | { "_wxDateTime_t","_unsigned_short",0}, |
10999 | { "_wxDateTime_t","_short",0}, | |
11000 | { "_wxDateTime_t","_WXTYPE",0}, | |
fe47ec10 RD |
11001 | { "_time_t","_wxCoord",0}, |
11002 | { "_time_t","_wxPrintQuality",0}, | |
11003 | { "_time_t","_unsigned_int",0}, | |
11004 | { "_time_t","_int",0}, | |
11005 | { "_time_t","_wxWindowID",0}, | |
11006 | { "_time_t","_uint",0}, | |
11007 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
11008 | { "_wxCoord","_int",0}, |
11009 | { "_wxCoord","_signed_int",0}, | |
11010 | { "_wxCoord","_unsigned_int",0}, | |
11011 | { "_wxCoord","_wxWindowID",0}, | |
11012 | { "_wxCoord","_uint",0}, | |
11013 | { "_wxCoord","_EBool",0}, | |
11014 | { "_wxCoord","_size_t",0}, | |
fe47ec10 | 11015 | { "_wxCoord","_time_t",0}, |
f6bcfd97 | 11016 | { "_wxCoord","_wxPrintQuality",0}, |
f6bcfd97 | 11017 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, |
f6bcfd97 | 11018 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, |
f6bcfd97 BP |
11019 | {0,0,0}}; |
11020 | ||
11021 | static PyObject *SWIG_globals; | |
11022 | #ifdef __cplusplus | |
11023 | extern "C" | |
11024 | #endif | |
11025 | SWIGEXPORT(void) initstc_c() { | |
11026 | PyObject *m, *d; | |
11027 | SWIG_globals = SWIG_newvarlink(); | |
11028 | m = Py_InitModule("stc_c", stc_cMethods); | |
11029 | d = PyModule_GetDict(m); | |
9c46ea66 | 11030 | PyDict_SetItemString(d,"wxSTC_USE_POPUP", PyInt_FromLong((long) 1)); |
fe47ec10 RD |
11031 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
11032 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
11033 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
11034 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
11035 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
11036 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
11037 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
11038 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
11039 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
11040 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
11041 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
11042 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
11043 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
f6bcfd97 BP |
11044 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); |
11045 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
11046 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
11047 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
11048 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
11049 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
11050 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
11051 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
11052 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
11053 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
65ec6247 RD |
11054 | PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9)); |
11055 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10)); | |
11056 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11)); | |
11057 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12)); | |
11058 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13)); | |
11059 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14)); | |
11060 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15)); | |
11061 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16)); | |
11062 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17)); | |
11063 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18)); | |
11064 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19)); | |
11065 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20)); | |
11066 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21)); | |
1a2fb4cd | 11067 | PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22)); |
fe0aca37 | 11068 | PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000)); |
65ec6247 RD |
11069 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25)); |
11070 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26)); | |
11071 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27)); | |
11072 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28)); | |
11073 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29)); | |
f6bcfd97 BP |
11074 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); |
11075 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
1a2fb4cd | 11076 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000)); |
fe47ec10 RD |
11077 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
11078 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
11079 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
11080 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
11081 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
11082 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
11083 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
11084 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
fe0aca37 | 11085 | PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39)); |
fe47ec10 RD |
11086 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); |
11087 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
11088 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
11089 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
11090 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
11091 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
11092 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
11093 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
11094 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
11095 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
11096 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
11097 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
11098 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
11099 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
11100 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
11101 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
11102 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
11103 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
11104 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
11105 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
65ec6247 RD |
11106 | PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0)); |
11107 | PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1)); | |
11108 | PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2)); | |
f6bcfd97 BP |
11109 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); |
11110 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
11111 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
11112 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
11113 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
11114 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
1a2fb4cd RD |
11115 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20)); |
11116 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40)); | |
11117 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80)); | |
11118 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0)); | |
fe47ec10 RD |
11119 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
11120 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
11121 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
65ec6247 RD |
11122 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3)); |
11123 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4)); | |
fe47ec10 RD |
11124 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); |
11125 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
11126 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
11127 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
11128 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
11129 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
11130 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
11131 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
11132 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
f6bcfd97 BP |
11133 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); |
11134 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
11135 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
65ec6247 | 11136 | PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000)); |
1a2fb4cd RD |
11137 | PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0)); |
11138 | PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1)); | |
11139 | PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0)); | |
11140 | PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1)); | |
11141 | PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2)); | |
11142 | PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3)); | |
fe47ec10 RD |
11143 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
11144 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
11145 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
11146 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
11147 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
11148 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
11149 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
11150 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
11151 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
11152 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
11153 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
11154 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
11155 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
11156 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
11157 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
11158 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
11159 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
11160 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
11161 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
11162 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
11163 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
11164 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
11165 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
11166 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
11167 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
11168 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
11169 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
11170 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
11171 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
11172 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
11173 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
11174 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
11175 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
11176 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
11177 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
11178 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
11179 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
11180 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
11181 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
11182 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
11183 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
11184 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
11185 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
11186 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
1a2fb4cd | 11187 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344)); |
fe47ec10 RD |
11188 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); |
11189 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
11190 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
f6bcfd97 | 11191 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
fe47ec10 | 11192 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); |
f6bcfd97 | 11193 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); |
65ec6247 RD |
11194 | PyDict_SetItemString(d,"wxSTC_CARET_XEVEN", PyInt_FromLong((long) 0x08)); |
11195 | PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10)); | |
11196 | PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1)); | |
11197 | PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3)); | |
11198 | PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01)); | |
11199 | PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04)); | |
fe47ec10 RD |
11200 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
11201 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
11202 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
11203 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
11204 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
11205 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
11206 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
11207 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
11208 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
11209 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
11210 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
11211 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
11212 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
11213 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
11214 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
11215 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
11216 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
11217 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
11218 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
11219 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
11220 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
11221 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
11222 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
11223 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
11224 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
11225 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
11226 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
11227 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
11228 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
11229 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
11230 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
11231 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
11232 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
11233 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
11234 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
11235 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
11236 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
11237 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
11238 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
11239 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
11240 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
11241 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
11242 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
11243 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
11244 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
11245 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
11246 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
11247 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
11248 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
65ec6247 RD |
11249 | PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17)); |
11250 | PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18)); | |
11251 | PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19)); | |
11252 | PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20)); | |
11253 | PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21)); | |
11254 | PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22)); | |
11255 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23)); | |
11256 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24)); | |
11257 | PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25)); | |
fe0aca37 | 11258 | PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26)); |
1a2fb4cd RD |
11259 | PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27)); |
11260 | PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28)); | |
11261 | PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29)); | |
11262 | PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30)); | |
11263 | PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31)); | |
11264 | PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32)); | |
65ec6247 | 11265 | PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000)); |
fe47ec10 RD |
11266 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); |
11267 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11268 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
11269 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
11270 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
11271 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
11272 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
11273 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
11274 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
11275 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
11276 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
11277 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11278 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
11279 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
11280 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
11281 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
11282 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11283 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11284 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
11285 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
11286 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
11287 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
11288 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
11289 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11290 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
11291 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11292 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
11293 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
65ec6247 RD |
11294 | PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14)); |
11295 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
11296 | PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16)); | |
fe0aca37 RD |
11297 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); |
11298 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
1a2fb4cd RD |
11299 | PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0)); |
11300 | PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1)); | |
11301 | PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2)); | |
11302 | PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3)); | |
11303 | PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4)); | |
11304 | PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5)); | |
11305 | PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6)); | |
11306 | PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11307 | PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8)); | |
fe47ec10 RD |
11308 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); |
11309 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
11310 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
11311 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
11312 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
11313 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
11314 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
11315 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
11316 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
11317 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
11318 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
11319 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
11320 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
11321 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
11322 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
11323 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
11324 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
11325 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
11326 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
11327 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
65ec6247 | 11328 | PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20)); |
fe0aca37 RD |
11329 | PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21)); |
11330 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22)); | |
11331 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23)); | |
11332 | PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24)); | |
11333 | PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25)); | |
11334 | PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26)); | |
11335 | PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27)); | |
11336 | PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28)); | |
11337 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29)); | |
11338 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30)); | |
11339 | PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31)); | |
fe47ec10 RD |
11340 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); |
11341 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
11342 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
11343 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
11344 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
11345 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
11346 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
11347 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
11348 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
11349 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
11350 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
11351 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
65ec6247 | 11352 | PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52)); |
fe47ec10 RD |
11353 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); |
11354 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
11355 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
11356 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
11357 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
11358 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
11359 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
11360 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
11361 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
11362 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
11363 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
11364 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
65ec6247 | 11365 | PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67)); |
fe47ec10 RD |
11366 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); |
11367 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
11368 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
11369 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
11370 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
11371 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
11372 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
11373 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
11374 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
11375 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
11376 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
11377 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
11378 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
11379 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
11380 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
11381 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
11382 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
11383 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
11384 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
11385 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
11386 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
11387 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
11388 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
11389 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
11390 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
11391 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
11392 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
11393 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
11394 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
11395 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
11396 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
11397 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
11398 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
11399 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
11400 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
11401 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
11402 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
11403 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
11404 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
11405 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
11406 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
11407 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
11408 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
11409 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
11410 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
11411 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
11412 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
11413 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
11414 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
11415 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
65ec6247 RD |
11416 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126)); |
11417 | PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127)); | |
fe47ec10 | 11418 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); |
65ec6247 | 11419 | PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1)); |
fe47ec10 RD |
11420 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); |
11421 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
11422 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
11423 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
11424 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
11425 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
11426 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
11427 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11428 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
11429 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11430 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
11431 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
11432 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
11433 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
fe47ec10 RD |
11434 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); |
11435 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
11436 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
11437 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
11438 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
65ec6247 RD |
11439 | PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22)); |
11440 | PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23)); | |
11441 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24)); | |
11442 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25)); | |
11443 | PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26)); | |
11444 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27)); | |
11445 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28)); | |
11446 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29)); | |
11447 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30)); | |
fe47ec10 RD |
11448 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); |
11449 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
11450 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
11451 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
11452 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
11453 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
11454 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
11455 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11456 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11457 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
11458 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
11459 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
11460 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
11461 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
11462 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11463 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
11464 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11465 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
1a2fb4cd RD |
11466 | PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13)); |
11467 | PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14)); | |
11468 | PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15)); | |
11469 | PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16)); | |
11470 | PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17)); | |
fe47ec10 RD |
11471 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); |
11472 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
11473 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
11474 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
11475 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
11476 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
11477 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
65ec6247 RD |
11478 | PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7)); |
11479 | PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8)); | |
11480 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10)); | |
11481 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11)); | |
11482 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12)); | |
11483 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13)); | |
11484 | PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0)); | |
11485 | PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1)); | |
11486 | PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2)); | |
11487 | PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3)); | |
11488 | PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4)); | |
11489 | PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5)); | |
11490 | PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6)); | |
11491 | PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7)); | |
11492 | PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0)); | |
11493 | PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1)); | |
11494 | PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2)); | |
11495 | PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11496 | PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4)); | |
11497 | PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5)); | |
11498 | PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9)); | |
11499 | PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0)); | |
11500 | PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1)); | |
11501 | PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2)); | |
11502 | PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11503 | PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4)); | |
11504 | PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5)); | |
11505 | PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6)); | |
11506 | PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7)); | |
11507 | PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8)); | |
11508 | PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9)); | |
11509 | PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0)); | |
11510 | PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1)); | |
11511 | PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2)); | |
11512 | PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3)); | |
11513 | PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4)); | |
11514 | PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5)); | |
11515 | PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6)); | |
11516 | PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7)); | |
11517 | PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8)); | |
11518 | PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11519 | PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10)); | |
11520 | PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0)); | |
11521 | PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1)); | |
11522 | PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2)); | |
11523 | PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3)); | |
11524 | PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4)); | |
11525 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5)); | |
11526 | PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6)); | |
11527 | PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11528 | PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8)); | |
1a2fb4cd RD |
11529 | PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0)); |
11530 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1)); | |
11531 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2)); | |
11532 | PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3)); | |
11533 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4)); | |
11534 | PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5)); | |
11535 | PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6)); | |
11536 | PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7)); | |
11537 | PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8)); | |
11538 | PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9)); | |
11539 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10)); | |
65ec6247 RD |
11540 | PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0)); |
11541 | PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1)); | |
11542 | PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2)); | |
11543 | PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3)); | |
11544 | PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6)); | |
11545 | PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8)); | |
11546 | PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11547 | PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10)); | |
11548 | PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0)); | |
11549 | PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11550 | PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2)); | |
11551 | PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3)); | |
11552 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4)); | |
11553 | PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5)); | |
11554 | PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6)); | |
11555 | PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11556 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8)); | |
fe0aca37 RD |
11557 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0)); |
11558 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1)); | |
11559 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2)); | |
11560 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3)); | |
11561 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11562 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5)); | |
11563 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6)); | |
11564 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7)); | |
11565 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8)); | |
11566 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9)); | |
11567 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10)); | |
1a2fb4cd RD |
11568 | PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0)); |
11569 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1)); | |
11570 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2)); | |
11571 | PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3)); | |
11572 | PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11573 | PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5)); | |
11574 | PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6)); | |
11575 | PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7)); | |
f6bcfd97 | 11576 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
92bbd64f | 11577 | PyDict_SetItemString(d,"STC_USE_DND", PyInt_FromLong((long) 1)); |
f6bcfd97 BP |
11578 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); |
11579 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
11580 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
f6bcfd97 BP |
11581 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); |
11582 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
11583 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
65ec6247 | 11584 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); |
f6bcfd97 | 11585 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); |
65ec6247 | 11586 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); |
f6bcfd97 | 11587 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); |
f6bcfd97 BP |
11588 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); |
11589 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
11590 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
fe47ec10 | 11591 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); |
65ec6247 RD |
11592 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED)); |
11593 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION)); | |
11594 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED)); | |
11595 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART)); | |
11596 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND)); | |
74933d75 RD |
11597 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG)); |
11598 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER)); | |
11599 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP)); | |
f6bcfd97 BP |
11600 | |
11601 | ||
e508a2b6 RD |
11602 | wxClassInfo::CleanUpClasses(); |
11603 | wxClassInfo::InitializeClasses(); | |
f6bcfd97 BP |
11604 | |
11605 | { | |
11606 | int i; | |
11607 | for (i = 0; _swig_mapping[i].n1; i++) | |
11608 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
11609 | } | |
11610 | } |