]>
Commit | Line | Data |
---|---|---|
f6bcfd97 BP |
1 | /* |
2 | * FILE : ./stc_.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 810) | |
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__) | |
fe47ec10 | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
fe47ec10 | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
fe47ec10 | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
fe47ec10 RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
f6bcfd97 BP |
44 | extern void SWIG_MakePtr(char *, void *, char *); |
45 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
46 | extern char *SWIG_GetPtr(char *, void **, char *); | |
47 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
48 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
49 | extern PyObject *SWIG_newvarlink(void); | |
50 | #ifdef __cplusplus | |
51 | } | |
52 | #endif | |
53 | #define SWIG_init initstc_c | |
54 | ||
55 | #define SWIG_name "stc_c" | |
56 | ||
57 | #include "helpers.h" | |
58 | #include "wx/stc/stc.h" | |
59 | ||
60 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
61 | PyObject* o2; | |
fe47ec10 | 62 | if (!target) { |
f6bcfd97 | 63 | target = o; |
fe47ec10 | 64 | } else if (target == Py_None) { |
f6bcfd97 BP |
65 | Py_DECREF(Py_None); |
66 | target = o; | |
fe47ec10 | 67 | } else { |
f6bcfd97 BP |
68 | if (!PyList_Check(target)) { |
69 | o2 = target; | |
70 | target = PyList_New(0); | |
71 | PyList_Append(target, o2); | |
72 | Py_XDECREF(o2); | |
73 | } | |
74 | PyList_Append(target,o); | |
75 | Py_XDECREF(o); | |
76 | } | |
77 | return target; | |
78 | } | |
79 | ||
80 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
82 | PyObject* o3; | |
83 | ||
fe47ec10 | 84 | if (!target) { |
f6bcfd97 | 85 | target = o; |
fe47ec10 | 86 | } else if (target == Py_None) { |
f6bcfd97 BP |
87 | Py_DECREF(Py_None); |
88 | target = o; | |
fe47ec10 | 89 | } else { |
f6bcfd97 BP |
90 | if (!PyTuple_Check(target)) { |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
fe47ec10 RD |
95 | o3 = PyTuple_New(1); |
96 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
97 | |
98 | o2 = target; | |
fe47ec10 RD |
99 | target = PySequence_Concat(o2, o3); |
100 | Py_DECREF(o2); | |
f6bcfd97 BP |
101 | Py_DECREF(o3); |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
106 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
107 | #ifdef __cplusplus | |
108 | extern "C" { | |
109 | #endif | |
110 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
111 | wxStyledTextCtrl *src; | |
112 | wxControl *dest; | |
113 | src = (wxStyledTextCtrl *) ptr; | |
114 | dest = (wxControl *) src; | |
115 | return (void *) dest; | |
116 | } | |
117 | ||
118 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
119 | wxStyledTextCtrl *src; | |
120 | wxWindow *dest; | |
121 | src = (wxStyledTextCtrl *) ptr; | |
122 | dest = (wxWindow *) src; | |
123 | return (void *) dest; | |
124 | } | |
125 | ||
126 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
127 | wxStyledTextCtrl *src; | |
128 | wxEvtHandler *dest; | |
129 | src = (wxStyledTextCtrl *) ptr; | |
130 | dest = (wxEvtHandler *) src; | |
131 | return (void *) dest; | |
132 | } | |
133 | ||
134 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
135 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
136 | PyObject * _resultobj; | |
137 | wxStyledTextCtrl * _result; | |
138 | wxWindow * _arg0; | |
139 | wxWindowID _arg1; | |
140 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
141 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
142 | long _arg4 = (long ) 0; | |
143 | char * _arg5 = (char *) "styledtext"; | |
144 | PyObject * _argo0 = 0; | |
145 | wxPoint temp; | |
146 | PyObject * _obj2 = 0; | |
147 | wxSize temp0; | |
148 | PyObject * _obj3 = 0; | |
149 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
150 | char _ptemp[128]; | |
151 | ||
152 | self = self; | |
153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
154 | return NULL; | |
155 | if (_argo0) { | |
156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
159 | return NULL; | |
160 | } | |
161 | } | |
162 | if (_obj2) | |
163 | { | |
164 | _arg2 = &temp; | |
165 | if (! wxPoint_helper(_obj2, &_arg2)) | |
166 | return NULL; | |
167 | } | |
168 | if (_obj3) | |
169 | { | |
170 | _arg3 = &temp0; | |
171 | if (! wxSize_helper(_obj3, &_arg3)) | |
172 | return NULL; | |
173 | } | |
174 | { | |
175 | wxPy_BEGIN_ALLOW_THREADS; | |
176 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
177 | ||
178 | wxPy_END_ALLOW_THREADS; | |
179 | } if (_result) { | |
180 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
181 | _resultobj = Py_BuildValue("s",_ptemp); | |
182 | } else { | |
183 | Py_INCREF(Py_None); | |
184 | _resultobj = Py_None; | |
185 | } | |
186 | return _resultobj; | |
187 | } | |
188 | ||
fe47ec10 RD |
189 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) |
190 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 191 | PyObject * _resultobj; |
f6bcfd97 | 192 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 193 | wxString * _arg1; |
f6bcfd97 | 194 | PyObject * _argo0 = 0; |
fe47ec10 RD |
195 | PyObject * _obj1 = 0; |
196 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
197 | |
198 | self = self; | |
fe47ec10 | 199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
200 | return NULL; |
201 | if (_argo0) { | |
202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
205 | return NULL; |
206 | } | |
207 | } | |
fe47ec10 RD |
208 | { |
209 | if (!PyString_Check(_obj1)) { | |
210 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
211 | return NULL; | |
212 | } | |
213 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
214 | } | |
f6bcfd97 BP |
215 | { |
216 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 217 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
f6bcfd97 BP |
218 | |
219 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
220 | } Py_INCREF(Py_None); |
221 | _resultobj = Py_None; | |
f6bcfd97 | 222 | { |
fe47ec10 RD |
223 | if (_obj1) |
224 | delete _arg1; | |
f6bcfd97 BP |
225 | } |
226 | return _resultobj; | |
227 | } | |
228 | ||
fe47ec10 RD |
229 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) |
230 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 231 | PyObject * _resultobj; |
f6bcfd97 BP |
232 | wxStyledTextCtrl * _arg0; |
233 | wxString * _arg1; | |
234 | PyObject * _argo0 = 0; | |
235 | PyObject * _obj1 = 0; | |
236 | char *_kwnames[] = { "self","text", NULL }; | |
237 | ||
238 | self = self; | |
fe47ec10 | 239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
240 | return NULL; |
241 | if (_argo0) { | |
242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
245 | return NULL; |
246 | } | |
247 | } | |
248 | { | |
249 | if (!PyString_Check(_obj1)) { | |
250 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
251 | return NULL; | |
252 | } | |
253 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
254 | } | |
255 | { | |
256 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 257 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
f6bcfd97 BP |
258 | |
259 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
260 | } Py_INCREF(Py_None); |
261 | _resultobj = Py_None; | |
f6bcfd97 BP |
262 | { |
263 | if (_obj1) | |
264 | delete _arg1; | |
265 | } | |
266 | return _resultobj; | |
267 | } | |
268 | ||
fe47ec10 RD |
269 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) |
270 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 271 | PyObject * _resultobj; |
f6bcfd97 BP |
272 | wxStyledTextCtrl * _arg0; |
273 | int _arg1; | |
fe47ec10 | 274 | wxString * _arg2; |
f6bcfd97 | 275 | PyObject * _argo0 = 0; |
fe47ec10 RD |
276 | PyObject * _obj2 = 0; |
277 | char *_kwnames[] = { "self","pos","text", NULL }; | |
f6bcfd97 BP |
278 | |
279 | self = self; | |
fe47ec10 | 280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
281 | return NULL; |
282 | if (_argo0) { | |
283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
286 | return NULL; |
287 | } | |
288 | } | |
fe47ec10 RD |
289 | { |
290 | if (!PyString_Check(_obj2)) { | |
291 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
292 | return NULL; | |
293 | } | |
294 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
295 | } | |
f6bcfd97 BP |
296 | { |
297 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 298 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
299 | |
300 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
301 | } Py_INCREF(Py_None); |
302 | _resultobj = Py_None; | |
f6bcfd97 | 303 | { |
fe47ec10 RD |
304 | if (_obj2) |
305 | delete _arg2; | |
f6bcfd97 BP |
306 | } |
307 | return _resultobj; | |
308 | } | |
309 | ||
fe47ec10 RD |
310 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) |
311 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
312 | PyObject * _resultobj; |
313 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 314 | PyObject * _argo0 = 0; |
fe47ec10 | 315 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
316 | |
317 | self = self; | |
fe47ec10 | 318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
319 | return NULL; |
320 | if (_argo0) { | |
321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
324 | return NULL; |
325 | } | |
326 | } | |
f6bcfd97 BP |
327 | { |
328 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 329 | wxStyledTextCtrl_ClearAll(_arg0); |
f6bcfd97 BP |
330 | |
331 | wxPy_END_ALLOW_THREADS; | |
332 | } Py_INCREF(Py_None); | |
333 | _resultobj = Py_None; | |
f6bcfd97 BP |
334 | return _resultobj; |
335 | } | |
336 | ||
fe47ec10 RD |
337 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) |
338 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
339 | PyObject * _resultobj; |
340 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 341 | PyObject * _argo0 = 0; |
fe47ec10 | 342 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
343 | |
344 | self = self; | |
fe47ec10 | 345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) |
f6bcfd97 BP |
346 | return NULL; |
347 | if (_argo0) { | |
348 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
349 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
351 | return NULL; |
352 | } | |
353 | } | |
f6bcfd97 BP |
354 | { |
355 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 356 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
f6bcfd97 BP |
357 | |
358 | wxPy_END_ALLOW_THREADS; | |
359 | } Py_INCREF(Py_None); | |
360 | _resultobj = Py_None; | |
361 | return _resultobj; | |
362 | } | |
363 | ||
fe47ec10 RD |
364 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) |
365 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 366 | PyObject * _resultobj; |
fe47ec10 | 367 | int _result; |
f6bcfd97 BP |
368 | wxStyledTextCtrl * _arg0; |
369 | PyObject * _argo0 = 0; | |
370 | char *_kwnames[] = { "self", NULL }; | |
371 | ||
372 | self = self; | |
fe47ec10 | 373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
374 | return NULL; |
375 | if (_argo0) { | |
376 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
377 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
379 | return NULL; |
380 | } | |
381 | } | |
382 | { | |
383 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 384 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
f6bcfd97 BP |
385 | |
386 | wxPy_END_ALLOW_THREADS; | |
387 | } _resultobj = Py_BuildValue("i",_result); | |
388 | return _resultobj; | |
389 | } | |
390 | ||
fe47ec10 RD |
391 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) |
392 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 393 | PyObject * _resultobj; |
fe47ec10 | 394 | int _result; |
f6bcfd97 BP |
395 | wxStyledTextCtrl * _arg0; |
396 | int _arg1; | |
f6bcfd97 | 397 | PyObject * _argo0 = 0; |
fe47ec10 | 398 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
399 | |
400 | self = self; | |
fe47ec10 | 401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
402 | return NULL; |
403 | if (_argo0) { | |
404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
407 | return NULL; |
408 | } | |
409 | } | |
410 | { | |
411 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 412 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
f6bcfd97 BP |
413 | |
414 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 415 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
416 | return _resultobj; |
417 | } | |
418 | ||
fe47ec10 RD |
419 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) |
420 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 421 | PyObject * _resultobj; |
fe47ec10 | 422 | int _result; |
f6bcfd97 | 423 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 424 | PyObject * _argo0 = 0; |
fe47ec10 | 425 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
426 | |
427 | self = self; | |
fe47ec10 | 428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) |
f6bcfd97 BP |
429 | return NULL; |
430 | if (_argo0) { | |
431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
434 | return NULL; |
435 | } | |
436 | } | |
437 | { | |
438 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 439 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
f6bcfd97 BP |
440 | |
441 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 442 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
443 | return _resultobj; |
444 | } | |
445 | ||
fe47ec10 RD |
446 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) |
447 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 448 | PyObject * _resultobj; |
fe47ec10 | 449 | int _result; |
f6bcfd97 | 450 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 451 | PyObject * _argo0 = 0; |
fe47ec10 | 452 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
453 | |
454 | self = self; | |
fe47ec10 | 455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) |
f6bcfd97 BP |
456 | return NULL; |
457 | if (_argo0) { | |
458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
461 | return NULL; |
462 | } | |
463 | } | |
f6bcfd97 BP |
464 | { |
465 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 466 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
f6bcfd97 BP |
467 | |
468 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 469 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
470 | return _resultobj; |
471 | } | |
472 | ||
fe47ec10 RD |
473 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) |
474 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 475 | PyObject * _resultobj; |
fe47ec10 | 476 | int _result; |
f6bcfd97 | 477 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 478 | int _arg1; |
f6bcfd97 | 479 | PyObject * _argo0 = 0; |
fe47ec10 | 480 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
481 | |
482 | self = self; | |
fe47ec10 | 483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
484 | return NULL; |
485 | if (_argo0) { | |
486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
489 | return NULL; |
490 | } | |
491 | } | |
f6bcfd97 BP |
492 | { |
493 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 494 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
f6bcfd97 BP |
495 | |
496 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 497 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
498 | return _resultobj; |
499 | } | |
500 | ||
fe47ec10 RD |
501 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) |
502 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
503 | PyObject * _resultobj; |
504 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 505 | PyObject * _argo0 = 0; |
fe47ec10 | 506 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
507 | |
508 | self = self; | |
fe47ec10 | 509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) |
f6bcfd97 BP |
510 | return NULL; |
511 | if (_argo0) { | |
512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
515 | return NULL; |
516 | } | |
517 | } | |
f6bcfd97 BP |
518 | { |
519 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 520 | wxStyledTextCtrl_Redo(_arg0); |
f6bcfd97 BP |
521 | |
522 | wxPy_END_ALLOW_THREADS; | |
523 | } Py_INCREF(Py_None); | |
524 | _resultobj = Py_None; | |
f6bcfd97 BP |
525 | return _resultobj; |
526 | } | |
527 | ||
fe47ec10 RD |
528 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) |
529 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
530 | PyObject * _resultobj; |
531 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 532 | bool _arg1; |
f6bcfd97 | 533 | PyObject * _argo0 = 0; |
fe47ec10 RD |
534 | int tempbool1; |
535 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
f6bcfd97 BP |
536 | |
537 | self = self; | |
fe47ec10 | 538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
539 | return NULL; |
540 | if (_argo0) { | |
541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
544 | return NULL; |
545 | } | |
546 | } | |
fe47ec10 | 547 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
548 | { |
549 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 550 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
f6bcfd97 BP |
551 | |
552 | wxPy_END_ALLOW_THREADS; | |
553 | } Py_INCREF(Py_None); | |
554 | _resultobj = Py_None; | |
555 | return _resultobj; | |
556 | } | |
557 | ||
fe47ec10 RD |
558 | #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll()) |
559 | static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 560 | PyObject * _resultobj; |
f6bcfd97 | 561 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 562 | PyObject * _argo0 = 0; |
fe47ec10 | 563 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
564 | |
565 | self = self; | |
fe47ec10 | 566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
567 | return NULL; |
568 | if (_argo0) { | |
569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
572 | return NULL; |
573 | } | |
574 | } | |
575 | { | |
576 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 577 | wxStyledTextCtrl_SelectAll(_arg0); |
f6bcfd97 BP |
578 | |
579 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
580 | } Py_INCREF(Py_None); |
581 | _resultobj = Py_None; | |
f6bcfd97 BP |
582 | return _resultobj; |
583 | } | |
584 | ||
fe47ec10 RD |
585 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) |
586 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 587 | PyObject * _resultobj; |
f6bcfd97 | 588 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 589 | PyObject * _argo0 = 0; |
fe47ec10 | 590 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
591 | |
592 | self = self; | |
fe47ec10 | 593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) |
f6bcfd97 BP |
594 | return NULL; |
595 | if (_argo0) { | |
596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
599 | return NULL; |
600 | } | |
601 | } | |
602 | { | |
603 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 604 | wxStyledTextCtrl_SetSavePoint(_arg0); |
f6bcfd97 BP |
605 | |
606 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
607 | } Py_INCREF(Py_None); |
608 | _resultobj = Py_None; | |
f6bcfd97 BP |
609 | return _resultobj; |
610 | } | |
611 | ||
fe47ec10 RD |
612 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) |
613 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 614 | PyObject * _resultobj; |
fe47ec10 | 615 | wxString * _result; |
f6bcfd97 BP |
616 | wxStyledTextCtrl * _arg0; |
617 | int _arg1; | |
fe47ec10 | 618 | int _arg2; |
f6bcfd97 | 619 | PyObject * _argo0 = 0; |
fe47ec10 | 620 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
621 | |
622 | self = self; | |
fe47ec10 | 623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
624 | return NULL; |
625 | if (_argo0) { | |
626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
629 | return NULL; |
630 | } | |
631 | } | |
632 | { | |
633 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 634 | _result = new wxString (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
f6bcfd97 BP |
635 | |
636 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
637 | }{ |
638 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
639 | } | |
640 | { | |
641 | delete _result; | |
642 | } | |
f6bcfd97 BP |
643 | return _resultobj; |
644 | } | |
645 | ||
fe47ec10 RD |
646 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) |
647 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 648 | PyObject * _resultobj; |
fe47ec10 | 649 | bool _result; |
f6bcfd97 BP |
650 | wxStyledTextCtrl * _arg0; |
651 | PyObject * _argo0 = 0; | |
652 | char *_kwnames[] = { "self", NULL }; | |
653 | ||
654 | self = self; | |
fe47ec10 | 655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) |
f6bcfd97 BP |
656 | return NULL; |
657 | if (_argo0) { | |
658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
661 | return NULL; |
662 | } | |
663 | } | |
664 | { | |
665 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 666 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
f6bcfd97 BP |
667 | |
668 | wxPy_END_ALLOW_THREADS; | |
669 | } _resultobj = Py_BuildValue("i",_result); | |
670 | return _resultobj; | |
671 | } | |
672 | ||
fe47ec10 RD |
673 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) |
674 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 675 | PyObject * _resultobj; |
fe47ec10 | 676 | int _result; |
f6bcfd97 | 677 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 678 | int _arg1; |
f6bcfd97 | 679 | PyObject * _argo0 = 0; |
fe47ec10 | 680 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
681 | |
682 | self = self; | |
fe47ec10 | 683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
684 | return NULL; |
685 | if (_argo0) { | |
686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
689 | return NULL; |
690 | } | |
691 | } | |
692 | { | |
693 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 694 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
f6bcfd97 BP |
695 | |
696 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 697 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
698 | return _resultobj; |
699 | } | |
700 | ||
fe47ec10 RD |
701 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) |
702 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
703 | PyObject * _resultobj; |
704 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 705 | int _arg1; |
f6bcfd97 | 706 | PyObject * _argo0 = 0; |
fe47ec10 | 707 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
708 | |
709 | self = self; | |
fe47ec10 | 710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
711 | return NULL; |
712 | if (_argo0) { | |
713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
716 | return NULL; |
717 | } | |
718 | } | |
719 | { | |
720 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 721 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
f6bcfd97 BP |
722 | |
723 | wxPy_END_ALLOW_THREADS; | |
724 | } Py_INCREF(Py_None); | |
725 | _resultobj = Py_None; | |
726 | return _resultobj; | |
727 | } | |
728 | ||
fe47ec10 RD |
729 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) |
730 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 731 | PyObject * _resultobj; |
fe47ec10 | 732 | bool _result; |
f6bcfd97 BP |
733 | wxStyledTextCtrl * _arg0; |
734 | PyObject * _argo0 = 0; | |
735 | char *_kwnames[] = { "self", NULL }; | |
736 | ||
737 | self = self; | |
fe47ec10 | 738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) |
f6bcfd97 BP |
739 | return NULL; |
740 | if (_argo0) { | |
741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
744 | return NULL; |
745 | } | |
746 | } | |
747 | { | |
748 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 749 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
f6bcfd97 BP |
750 | |
751 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 752 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
753 | return _resultobj; |
754 | } | |
755 | ||
fe47ec10 RD |
756 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) |
757 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 758 | PyObject * _resultobj; |
fe47ec10 | 759 | int _result; |
f6bcfd97 BP |
760 | wxStyledTextCtrl * _arg0; |
761 | PyObject * _argo0 = 0; | |
762 | char *_kwnames[] = { "self", NULL }; | |
763 | ||
764 | self = self; | |
fe47ec10 | 765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) |
f6bcfd97 BP |
766 | return NULL; |
767 | if (_argo0) { | |
768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
771 | return NULL; |
772 | } | |
773 | } | |
774 | { | |
775 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 776 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
f6bcfd97 BP |
777 | |
778 | wxPy_END_ALLOW_THREADS; | |
779 | } _resultobj = Py_BuildValue("i",_result); | |
780 | return _resultobj; | |
781 | } | |
782 | ||
fe47ec10 RD |
783 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) |
784 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
785 | PyObject * _resultobj; |
786 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 787 | int _arg1; |
f6bcfd97 | 788 | PyObject * _argo0 = 0; |
fe47ec10 | 789 | char *_kwnames[] = { "self","viewWS", NULL }; |
f6bcfd97 BP |
790 | |
791 | self = self; | |
fe47ec10 | 792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
793 | return NULL; |
794 | if (_argo0) { | |
795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
798 | return NULL; |
799 | } | |
800 | } | |
801 | { | |
802 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 803 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
f6bcfd97 BP |
804 | |
805 | wxPy_END_ALLOW_THREADS; | |
806 | } Py_INCREF(Py_None); | |
807 | _resultobj = Py_None; | |
808 | return _resultobj; | |
809 | } | |
810 | ||
fe47ec10 RD |
811 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) |
812 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 813 | PyObject * _resultobj; |
fe47ec10 | 814 | int _result; |
f6bcfd97 | 815 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 816 | wxPoint * _arg1; |
f6bcfd97 | 817 | PyObject * _argo0 = 0; |
fe47ec10 RD |
818 | wxPoint temp; |
819 | PyObject * _obj1 = 0; | |
820 | char *_kwnames[] = { "self","pt", NULL }; | |
f6bcfd97 BP |
821 | |
822 | self = self; | |
fe47ec10 | 823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
824 | return NULL; |
825 | if (_argo0) { | |
826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
829 | return NULL; |
830 | } | |
831 | } | |
fe47ec10 RD |
832 | { |
833 | _arg1 = &temp; | |
834 | if (! wxPoint_helper(_obj1, &_arg1)) | |
835 | return NULL; | |
836 | } | |
f6bcfd97 BP |
837 | { |
838 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 839 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
f6bcfd97 BP |
840 | |
841 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 842 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
843 | return _resultobj; |
844 | } | |
845 | ||
fe47ec10 RD |
846 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) |
847 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 848 | PyObject * _resultobj; |
f6bcfd97 | 849 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 850 | int _arg1; |
f6bcfd97 | 851 | PyObject * _argo0 = 0; |
fe47ec10 | 852 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
853 | |
854 | self = self; | |
fe47ec10 | 855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
856 | return NULL; |
857 | if (_argo0) { | |
858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
861 | return NULL; |
862 | } | |
863 | } | |
864 | { | |
865 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 866 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
f6bcfd97 BP |
867 | |
868 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
869 | } Py_INCREF(Py_None); |
870 | _resultobj = Py_None; | |
f6bcfd97 BP |
871 | return _resultobj; |
872 | } | |
873 | ||
fe47ec10 RD |
874 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) |
875 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
876 | PyObject * _resultobj; |
877 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 878 | int _arg1; |
f6bcfd97 | 879 | PyObject * _argo0 = 0; |
fe47ec10 | 880 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
881 | |
882 | self = self; | |
fe47ec10 | 883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
884 | return NULL; |
885 | if (_argo0) { | |
886 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
887 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
889 | return NULL; |
890 | } | |
891 | } | |
892 | { | |
893 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 894 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
f6bcfd97 BP |
895 | |
896 | wxPy_END_ALLOW_THREADS; | |
897 | } Py_INCREF(Py_None); | |
898 | _resultobj = Py_None; | |
899 | return _resultobj; | |
900 | } | |
901 | ||
fe47ec10 RD |
902 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) |
903 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
904 | PyObject * _resultobj; |
905 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 906 | int _arg1; |
f6bcfd97 | 907 | PyObject * _argo0 = 0; |
fe47ec10 | 908 | char *_kwnames[] = { "self","posAnchor", NULL }; |
f6bcfd97 BP |
909 | |
910 | self = self; | |
fe47ec10 | 911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
912 | return NULL; |
913 | if (_argo0) { | |
914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
917 | return NULL; |
918 | } | |
919 | } | |
920 | { | |
921 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 922 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
f6bcfd97 BP |
923 | |
924 | wxPy_END_ALLOW_THREADS; | |
925 | } Py_INCREF(Py_None); | |
926 | _resultobj = Py_None; | |
927 | return _resultobj; | |
928 | } | |
929 | ||
fe47ec10 RD |
930 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) |
931 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 932 | PyObject * _resultobj; |
fe47ec10 | 933 | wxString * _result; |
f6bcfd97 | 934 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
935 | int * _arg1 = (int *) NULL; |
936 | int temp; | |
f6bcfd97 BP |
937 | PyObject * _argo0 = 0; |
938 | char *_kwnames[] = { "self", NULL }; | |
939 | ||
940 | self = self; | |
fe47ec10 RD |
941 | { |
942 | _arg1 = &temp; | |
943 | } | |
944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
f6bcfd97 BP |
945 | return NULL; |
946 | if (_argo0) { | |
947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
950 | return NULL; |
951 | } | |
952 | } | |
953 | { | |
954 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 955 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
f6bcfd97 BP |
956 | |
957 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
958 | }{ |
959 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
960 | } | |
961 | { | |
962 | PyObject *o; | |
963 | o = PyInt_FromLong((long) (*_arg1)); | |
964 | _resultobj = t_output_helper(_resultobj, o); | |
965 | } | |
966 | { | |
967 | delete _result; | |
968 | } | |
f6bcfd97 BP |
969 | return _resultobj; |
970 | } | |
971 | ||
fe47ec10 RD |
972 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) |
973 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 974 | PyObject * _resultobj; |
fe47ec10 | 975 | int _result; |
f6bcfd97 | 976 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 977 | PyObject * _argo0 = 0; |
fe47ec10 | 978 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
979 | |
980 | self = self; | |
fe47ec10 | 981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) |
f6bcfd97 BP |
982 | return NULL; |
983 | if (_argo0) { | |
984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
987 | return NULL; |
988 | } | |
989 | } | |
990 | { | |
991 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 992 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
f6bcfd97 BP |
993 | |
994 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 995 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
996 | return _resultobj; |
997 | } | |
998 | ||
fe47ec10 RD |
999 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj) (_swigobj->ConvertEOLs()) |
1000 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1001 | PyObject * _resultobj; |
f6bcfd97 BP |
1002 | wxStyledTextCtrl * _arg0; |
1003 | PyObject * _argo0 = 0; | |
1004 | char *_kwnames[] = { "self", NULL }; | |
1005 | ||
1006 | self = self; | |
fe47ec10 | 1007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0)) |
f6bcfd97 BP |
1008 | return NULL; |
1009 | if (_argo0) { | |
1010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1013 | return NULL; |
1014 | } | |
1015 | } | |
1016 | { | |
1017 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1018 | wxStyledTextCtrl_ConvertEOLs(_arg0); |
f6bcfd97 BP |
1019 | |
1020 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1021 | } Py_INCREF(Py_None); |
1022 | _resultobj = Py_None; | |
f6bcfd97 BP |
1023 | return _resultobj; |
1024 | } | |
1025 | ||
fe47ec10 RD |
1026 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) |
1027 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1028 | PyObject * _resultobj; |
fe47ec10 | 1029 | int _result; |
f6bcfd97 BP |
1030 | wxStyledTextCtrl * _arg0; |
1031 | PyObject * _argo0 = 0; | |
1032 | char *_kwnames[] = { "self", NULL }; | |
1033 | ||
1034 | self = self; | |
fe47ec10 | 1035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
1036 | return NULL; |
1037 | if (_argo0) { | |
1038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1041 | return NULL; |
1042 | } | |
1043 | } | |
1044 | { | |
1045 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1046 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
f6bcfd97 BP |
1047 | |
1048 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1049 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1050 | return _resultobj; |
1051 | } | |
1052 | ||
fe47ec10 RD |
1053 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) |
1054 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1055 | PyObject * _resultobj; |
1056 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1057 | int _arg1; |
f6bcfd97 | 1058 | PyObject * _argo0 = 0; |
fe47ec10 | 1059 | char *_kwnames[] = { "self","eolMode", NULL }; |
f6bcfd97 BP |
1060 | |
1061 | self = self; | |
fe47ec10 | 1062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1063 | return NULL; |
1064 | if (_argo0) { | |
1065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1068 | return NULL; |
1069 | } | |
1070 | } | |
1071 | { | |
1072 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1073 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
f6bcfd97 BP |
1074 | |
1075 | wxPy_END_ALLOW_THREADS; | |
1076 | } Py_INCREF(Py_None); | |
1077 | _resultobj = Py_None; | |
1078 | return _resultobj; | |
1079 | } | |
1080 | ||
fe47ec10 RD |
1081 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) |
1082 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1083 | PyObject * _resultobj; |
1084 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1085 | int _arg1; |
1086 | int _arg2; | |
f6bcfd97 | 1087 | PyObject * _argo0 = 0; |
fe47ec10 | 1088 | char *_kwnames[] = { "self","pos","mask", NULL }; |
f6bcfd97 BP |
1089 | |
1090 | self = self; | |
fe47ec10 | 1091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1092 | return NULL; |
1093 | if (_argo0) { | |
1094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1097 | return NULL; |
1098 | } | |
1099 | } | |
1100 | { | |
1101 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1102 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1103 | |
1104 | wxPy_END_ALLOW_THREADS; | |
1105 | } Py_INCREF(Py_None); | |
1106 | _resultobj = Py_None; | |
f6bcfd97 BP |
1107 | return _resultobj; |
1108 | } | |
1109 | ||
fe47ec10 RD |
1110 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) |
1111 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1112 | PyObject * _resultobj; |
1113 | wxStyledTextCtrl * _arg0; | |
1114 | int _arg1; | |
1115 | int _arg2; | |
1116 | PyObject * _argo0 = 0; | |
fe47ec10 | 1117 | char *_kwnames[] = { "self","length","style", NULL }; |
f6bcfd97 BP |
1118 | |
1119 | self = self; | |
fe47ec10 | 1120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1121 | return NULL; |
1122 | if (_argo0) { | |
1123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1126 | return NULL; |
1127 | } | |
1128 | } | |
1129 | { | |
1130 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1131 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1132 | |
1133 | wxPy_END_ALLOW_THREADS; | |
1134 | } Py_INCREF(Py_None); | |
1135 | _resultobj = Py_None; | |
1136 | return _resultobj; | |
1137 | } | |
1138 | ||
fe47ec10 RD |
1139 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) |
1140 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1141 | PyObject * _resultobj; |
fe47ec10 | 1142 | bool _result; |
f6bcfd97 BP |
1143 | wxStyledTextCtrl * _arg0; |
1144 | PyObject * _argo0 = 0; | |
1145 | char *_kwnames[] = { "self", NULL }; | |
1146 | ||
1147 | self = self; | |
fe47ec10 | 1148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) |
f6bcfd97 BP |
1149 | return NULL; |
1150 | if (_argo0) { | |
1151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1154 | return NULL; |
1155 | } | |
1156 | } | |
1157 | { | |
1158 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1159 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
f6bcfd97 BP |
1160 | |
1161 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1162 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1163 | return _resultobj; |
1164 | } | |
1165 | ||
fe47ec10 RD |
1166 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) |
1167 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1168 | PyObject * _resultobj; |
1169 | wxStyledTextCtrl * _arg0; | |
1170 | bool _arg1; | |
1171 | PyObject * _argo0 = 0; | |
1172 | int tempbool1; | |
fe47ec10 | 1173 | char *_kwnames[] = { "self","buffered", NULL }; |
f6bcfd97 BP |
1174 | |
1175 | self = self; | |
fe47ec10 | 1176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
1177 | return NULL; |
1178 | if (_argo0) { | |
1179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1182 | return NULL; |
1183 | } | |
1184 | } | |
1185 | _arg1 = (bool ) tempbool1; | |
1186 | { | |
1187 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1188 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
f6bcfd97 BP |
1189 | |
1190 | wxPy_END_ALLOW_THREADS; | |
1191 | } Py_INCREF(Py_None); | |
1192 | _resultobj = Py_None; | |
1193 | return _resultobj; | |
1194 | } | |
1195 | ||
fe47ec10 RD |
1196 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) |
1197 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1198 | PyObject * _resultobj; |
f6bcfd97 | 1199 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1200 | int _arg1; |
f6bcfd97 | 1201 | PyObject * _argo0 = 0; |
fe47ec10 | 1202 | char *_kwnames[] = { "self","tabWidth", NULL }; |
f6bcfd97 BP |
1203 | |
1204 | self = self; | |
fe47ec10 | 1205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1206 | return NULL; |
1207 | if (_argo0) { | |
1208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1211 | return NULL; |
1212 | } | |
1213 | } | |
1214 | { | |
1215 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1216 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
f6bcfd97 BP |
1217 | |
1218 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1219 | } Py_INCREF(Py_None); |
1220 | _resultobj = Py_None; | |
f6bcfd97 BP |
1221 | return _resultobj; |
1222 | } | |
1223 | ||
fe47ec10 RD |
1224 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) |
1225 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1226 | PyObject * _resultobj; |
1227 | int _result; | |
1228 | wxStyledTextCtrl * _arg0; | |
1229 | PyObject * _argo0 = 0; | |
1230 | char *_kwnames[] = { "self", NULL }; | |
1231 | ||
1232 | self = self; | |
fe47ec10 | 1233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
1234 | return NULL; |
1235 | if (_argo0) { | |
1236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1239 | return NULL; |
1240 | } | |
1241 | } | |
1242 | { | |
1243 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1244 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
f6bcfd97 BP |
1245 | |
1246 | wxPy_END_ALLOW_THREADS; | |
1247 | } _resultobj = Py_BuildValue("i",_result); | |
1248 | return _resultobj; | |
1249 | } | |
1250 | ||
fe47ec10 RD |
1251 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) |
1252 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1253 | PyObject * _resultobj; |
f6bcfd97 | 1254 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1255 | int _arg1; |
f6bcfd97 | 1256 | PyObject * _argo0 = 0; |
fe47ec10 | 1257 | char *_kwnames[] = { "self","codePage", NULL }; |
f6bcfd97 BP |
1258 | |
1259 | self = self; | |
fe47ec10 | 1260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1261 | return NULL; |
1262 | if (_argo0) { | |
1263 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1264 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1266 | return NULL; |
1267 | } | |
1268 | } | |
1269 | { | |
1270 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1271 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
f6bcfd97 BP |
1272 | |
1273 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1274 | } Py_INCREF(Py_None); |
1275 | _resultobj = Py_None; | |
f6bcfd97 BP |
1276 | return _resultobj; |
1277 | } | |
1278 | ||
fe47ec10 RD |
1279 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
1280 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1281 | PyObject * _resultobj; |
f6bcfd97 | 1282 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1283 | int _arg1; |
1284 | int _arg2; | |
1285 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1286 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
f6bcfd97 | 1287 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1288 | wxColour temp; |
1289 | PyObject * _obj3 = 0; | |
1290 | wxColour temp0; | |
1291 | PyObject * _obj4 = 0; | |
1292 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
f6bcfd97 BP |
1293 | |
1294 | self = self; | |
fe47ec10 | 1295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
f6bcfd97 BP |
1296 | return NULL; |
1297 | if (_argo0) { | |
1298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1301 | return NULL; |
1302 | } | |
1303 | } | |
fe47ec10 RD |
1304 | if (_obj3) |
1305 | { | |
1306 | _arg3 = &temp; | |
1307 | if (! wxColour_helper(_obj3, &_arg3)) | |
1308 | return NULL; | |
1309 | } | |
1310 | if (_obj4) | |
1311 | { | |
1312 | _arg4 = &temp0; | |
1313 | if (! wxColour_helper(_obj4, &_arg4)) | |
1314 | return NULL; | |
1315 | } | |
f6bcfd97 BP |
1316 | { |
1317 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1318 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
f6bcfd97 BP |
1319 | |
1320 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1321 | } Py_INCREF(Py_None); |
1322 | _resultobj = Py_None; | |
f6bcfd97 BP |
1323 | return _resultobj; |
1324 | } | |
1325 | ||
fe47ec10 RD |
1326 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) |
1327 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1328 | PyObject * _resultobj; |
f6bcfd97 | 1329 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1330 | int _arg1; |
1331 | wxColour * _arg2; | |
f6bcfd97 | 1332 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1333 | wxColour temp; |
1334 | PyObject * _obj2 = 0; | |
1335 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
f6bcfd97 BP |
1336 | |
1337 | self = self; | |
fe47ec10 | 1338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1339 | return NULL; |
1340 | if (_argo0) { | |
1341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1344 | return NULL; |
1345 | } | |
1346 | } | |
fe47ec10 RD |
1347 | { |
1348 | _arg2 = &temp; | |
1349 | if (! wxColour_helper(_obj2, &_arg2)) | |
1350 | return NULL; | |
1351 | } | |
f6bcfd97 BP |
1352 | { |
1353 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1354 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1355 | |
1356 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1357 | } Py_INCREF(Py_None); |
1358 | _resultobj = Py_None; | |
f6bcfd97 BP |
1359 | return _resultobj; |
1360 | } | |
1361 | ||
fe47ec10 RD |
1362 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) |
1363 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1364 | PyObject * _resultobj; |
f6bcfd97 | 1365 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1366 | int _arg1; |
1367 | wxColour * _arg2; | |
f6bcfd97 | 1368 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1369 | wxColour temp; |
1370 | PyObject * _obj2 = 0; | |
1371 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
f6bcfd97 BP |
1372 | |
1373 | self = self; | |
fe47ec10 | 1374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1375 | return NULL; |
1376 | if (_argo0) { | |
1377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1380 | return NULL; |
1381 | } | |
1382 | } | |
fe47ec10 RD |
1383 | { |
1384 | _arg2 = &temp; | |
1385 | if (! wxColour_helper(_obj2, &_arg2)) | |
1386 | return NULL; | |
1387 | } | |
f6bcfd97 BP |
1388 | { |
1389 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1390 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1391 | |
1392 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1393 | } Py_INCREF(Py_None); |
1394 | _resultobj = Py_None; | |
f6bcfd97 BP |
1395 | return _resultobj; |
1396 | } | |
1397 | ||
fe47ec10 RD |
1398 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) |
1399 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1400 | PyObject * _resultobj; |
f6bcfd97 BP |
1401 | wxStyledTextCtrl * _arg0; |
1402 | int _arg1; | |
fe47ec10 | 1403 | int _arg2; |
f6bcfd97 | 1404 | PyObject * _argo0 = 0; |
fe47ec10 | 1405 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1406 | |
1407 | self = self; | |
fe47ec10 | 1408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1409 | return NULL; |
1410 | if (_argo0) { | |
1411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1414 | return NULL; |
1415 | } | |
1416 | } | |
1417 | { | |
1418 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1419 | wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1420 | |
1421 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1422 | } Py_INCREF(Py_None); |
1423 | _resultobj = Py_None; | |
f6bcfd97 BP |
1424 | return _resultobj; |
1425 | } | |
1426 | ||
fe47ec10 RD |
1427 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) |
1428 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1429 | PyObject * _resultobj; |
f6bcfd97 BP |
1430 | wxStyledTextCtrl * _arg0; |
1431 | int _arg1; | |
fe47ec10 | 1432 | int _arg2; |
f6bcfd97 | 1433 | PyObject * _argo0 = 0; |
fe47ec10 | 1434 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1435 | |
1436 | self = self; | |
fe47ec10 | 1437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1438 | return NULL; |
1439 | if (_argo0) { | |
1440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1443 | return NULL; |
1444 | } | |
1445 | } | |
1446 | { | |
1447 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1448 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1449 | |
1450 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1451 | } Py_INCREF(Py_None); |
1452 | _resultobj = Py_None; | |
f6bcfd97 BP |
1453 | return _resultobj; |
1454 | } | |
1455 | ||
fe47ec10 RD |
1456 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) |
1457 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1458 | PyObject * _resultobj; |
f6bcfd97 BP |
1459 | wxStyledTextCtrl * _arg0; |
1460 | int _arg1; | |
1461 | PyObject * _argo0 = 0; | |
fe47ec10 | 1462 | char *_kwnames[] = { "self","markerNumber", NULL }; |
f6bcfd97 BP |
1463 | |
1464 | self = self; | |
fe47ec10 | 1465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1466 | return NULL; |
1467 | if (_argo0) { | |
1468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1471 | return NULL; |
1472 | } | |
1473 | } | |
1474 | { | |
1475 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1476 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
f6bcfd97 BP |
1477 | |
1478 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1479 | } Py_INCREF(Py_None); |
1480 | _resultobj = Py_None; | |
f6bcfd97 BP |
1481 | return _resultobj; |
1482 | } | |
1483 | ||
fe47ec10 RD |
1484 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) |
1485 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1486 | PyObject * _resultobj; |
1487 | int _result; | |
1488 | wxStyledTextCtrl * _arg0; | |
1489 | int _arg1; | |
1490 | PyObject * _argo0 = 0; | |
1491 | char *_kwnames[] = { "self","line", NULL }; | |
1492 | ||
1493 | self = self; | |
fe47ec10 | 1494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1495 | return NULL; |
1496 | if (_argo0) { | |
1497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1500 | return NULL; |
1501 | } | |
1502 | } | |
1503 | { | |
1504 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1505 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
f6bcfd97 BP |
1506 | |
1507 | wxPy_END_ALLOW_THREADS; | |
1508 | } _resultobj = Py_BuildValue("i",_result); | |
1509 | return _resultobj; | |
1510 | } | |
1511 | ||
fe47ec10 RD |
1512 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) |
1513 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1514 | PyObject * _resultobj; |
fe47ec10 | 1515 | int _result; |
f6bcfd97 | 1516 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1517 | int _arg1; |
1518 | int _arg2; | |
f6bcfd97 | 1519 | PyObject * _argo0 = 0; |
fe47ec10 | 1520 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1521 | |
1522 | self = self; | |
fe47ec10 | 1523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1524 | return NULL; |
1525 | if (_argo0) { | |
1526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1529 | return NULL; |
1530 | } | |
1531 | } | |
1532 | { | |
1533 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1534 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1535 | |
1536 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1537 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1538 | return _resultobj; |
1539 | } | |
1540 | ||
fe47ec10 RD |
1541 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) |
1542 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1543 | PyObject * _resultobj; |
1544 | int _result; | |
1545 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1546 | int _arg1; |
1547 | int _arg2; | |
f6bcfd97 | 1548 | PyObject * _argo0 = 0; |
fe47ec10 | 1549 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1550 | |
1551 | self = self; | |
fe47ec10 | 1552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1553 | return NULL; |
1554 | if (_argo0) { | |
1555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1558 | return NULL; |
1559 | } | |
1560 | } | |
1561 | { | |
1562 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1563 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1564 | |
1565 | wxPy_END_ALLOW_THREADS; | |
1566 | } _resultobj = Py_BuildValue("i",_result); | |
1567 | return _resultobj; | |
1568 | } | |
1569 | ||
fe47ec10 RD |
1570 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) |
1571 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1572 | PyObject * _resultobj; |
f6bcfd97 | 1573 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1574 | int _arg1; |
1575 | int _arg2; | |
f6bcfd97 | 1576 | PyObject * _argo0 = 0; |
fe47ec10 | 1577 | char *_kwnames[] = { "self","margin","marginType", NULL }; |
f6bcfd97 BP |
1578 | |
1579 | self = self; | |
fe47ec10 | 1580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1581 | return NULL; |
1582 | if (_argo0) { | |
1583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1586 | return NULL; |
1587 | } | |
1588 | } | |
f6bcfd97 BP |
1589 | { |
1590 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1591 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1592 | |
1593 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1594 | } Py_INCREF(Py_None); |
1595 | _resultobj = Py_None; | |
f6bcfd97 BP |
1596 | return _resultobj; |
1597 | } | |
1598 | ||
fe47ec10 RD |
1599 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) |
1600 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1601 | PyObject * _resultobj; |
1602 | int _result; | |
1603 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1604 | int _arg1; |
f6bcfd97 | 1605 | PyObject * _argo0 = 0; |
fe47ec10 | 1606 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1607 | |
1608 | self = self; | |
fe47ec10 | 1609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1610 | return NULL; |
1611 | if (_argo0) { | |
1612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1615 | return NULL; |
1616 | } | |
1617 | } | |
f6bcfd97 BP |
1618 | { |
1619 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1620 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
f6bcfd97 BP |
1621 | |
1622 | wxPy_END_ALLOW_THREADS; | |
1623 | } _resultobj = Py_BuildValue("i",_result); | |
1624 | return _resultobj; | |
1625 | } | |
1626 | ||
fe47ec10 RD |
1627 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) |
1628 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1629 | PyObject * _resultobj; |
f6bcfd97 BP |
1630 | wxStyledTextCtrl * _arg0; |
1631 | int _arg1; | |
fe47ec10 | 1632 | int _arg2; |
f6bcfd97 | 1633 | PyObject * _argo0 = 0; |
fe47ec10 | 1634 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; |
f6bcfd97 BP |
1635 | |
1636 | self = self; | |
fe47ec10 | 1637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1638 | return NULL; |
1639 | if (_argo0) { | |
1640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1643 | return NULL; |
1644 | } | |
1645 | } | |
1646 | { | |
1647 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1648 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1649 | |
1650 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1651 | } Py_INCREF(Py_None); |
1652 | _resultobj = Py_None; | |
f6bcfd97 BP |
1653 | return _resultobj; |
1654 | } | |
1655 | ||
fe47ec10 RD |
1656 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) |
1657 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1658 | PyObject * _resultobj; |
1659 | int _result; | |
1660 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1661 | int _arg1; |
f6bcfd97 | 1662 | PyObject * _argo0 = 0; |
fe47ec10 | 1663 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1664 | |
1665 | self = self; | |
fe47ec10 | 1666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1667 | return NULL; |
1668 | if (_argo0) { | |
1669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1672 | return NULL; |
1673 | } | |
1674 | } | |
1675 | { | |
1676 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1677 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
f6bcfd97 BP |
1678 | |
1679 | wxPy_END_ALLOW_THREADS; | |
1680 | } _resultobj = Py_BuildValue("i",_result); | |
1681 | return _resultobj; | |
1682 | } | |
1683 | ||
fe47ec10 RD |
1684 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) |
1685 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1686 | PyObject * _resultobj; |
f6bcfd97 | 1687 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1688 | int _arg1; |
1689 | int _arg2; | |
f6bcfd97 | 1690 | PyObject * _argo0 = 0; |
fe47ec10 | 1691 | char *_kwnames[] = { "self","margin","mask", NULL }; |
f6bcfd97 BP |
1692 | |
1693 | self = self; | |
fe47ec10 | 1694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1695 | return NULL; |
1696 | if (_argo0) { | |
1697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1700 | return NULL; |
1701 | } | |
1702 | } | |
1703 | { | |
1704 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1705 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1706 | |
1707 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1708 | } Py_INCREF(Py_None); |
1709 | _resultobj = Py_None; | |
f6bcfd97 BP |
1710 | return _resultobj; |
1711 | } | |
1712 | ||
fe47ec10 RD |
1713 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) |
1714 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1715 | PyObject * _resultobj; |
fe47ec10 | 1716 | int _result; |
f6bcfd97 | 1717 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1718 | int _arg1; |
f6bcfd97 | 1719 | PyObject * _argo0 = 0; |
fe47ec10 | 1720 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1721 | |
1722 | self = self; | |
fe47ec10 | 1723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1724 | return NULL; |
1725 | if (_argo0) { | |
1726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1729 | return NULL; |
1730 | } | |
1731 | } | |
1732 | { | |
1733 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1734 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
f6bcfd97 BP |
1735 | |
1736 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1737 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1738 | return _resultobj; |
1739 | } | |
1740 | ||
fe47ec10 RD |
1741 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) |
1742 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1743 | PyObject * _resultobj; |
1744 | wxStyledTextCtrl * _arg0; | |
1745 | int _arg1; | |
fe47ec10 | 1746 | bool _arg2; |
f6bcfd97 | 1747 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1748 | int tempbool2; |
1749 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
f6bcfd97 BP |
1750 | |
1751 | self = self; | |
fe47ec10 | 1752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) |
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_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1758 | return NULL; |
1759 | } | |
1760 | } | |
fe47ec10 | 1761 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
1762 | { |
1763 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1764 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1765 | |
1766 | wxPy_END_ALLOW_THREADS; | |
1767 | } Py_INCREF(Py_None); | |
1768 | _resultobj = Py_None; | |
1769 | return _resultobj; | |
1770 | } | |
1771 | ||
fe47ec10 RD |
1772 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) |
1773 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1774 | PyObject * _resultobj; |
fe47ec10 | 1775 | bool _result; |
f6bcfd97 BP |
1776 | wxStyledTextCtrl * _arg0; |
1777 | int _arg1; | |
1778 | PyObject * _argo0 = 0; | |
fe47ec10 | 1779 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1780 | |
1781 | self = self; | |
fe47ec10 | 1782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1783 | return NULL; |
1784 | if (_argo0) { | |
1785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1788 | return NULL; |
1789 | } | |
1790 | } | |
1791 | { | |
1792 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1793 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
f6bcfd97 BP |
1794 | |
1795 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1796 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1797 | return _resultobj; |
1798 | } | |
1799 | ||
fe47ec10 RD |
1800 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) |
1801 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1802 | PyObject * _resultobj; |
1803 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 1804 | PyObject * _argo0 = 0; |
fe47ec10 | 1805 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1806 | |
1807 | self = self; | |
fe47ec10 | 1808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
1809 | return NULL; |
1810 | if (_argo0) { | |
1811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1814 | return NULL; |
1815 | } | |
1816 | } | |
1817 | { | |
1818 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1819 | wxStyledTextCtrl_StyleClearAll(_arg0); |
f6bcfd97 BP |
1820 | |
1821 | wxPy_END_ALLOW_THREADS; | |
1822 | } Py_INCREF(Py_None); | |
1823 | _resultobj = Py_None; | |
1824 | return _resultobj; | |
1825 | } | |
1826 | ||
fe47ec10 RD |
1827 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) |
1828 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1829 | PyObject * _resultobj; |
1830 | wxStyledTextCtrl * _arg0; | |
1831 | int _arg1; | |
fe47ec10 | 1832 | wxColour * _arg2; |
f6bcfd97 | 1833 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1834 | wxColour temp; |
1835 | PyObject * _obj2 = 0; | |
1836 | char *_kwnames[] = { "self","style","fore", NULL }; | |
f6bcfd97 BP |
1837 | |
1838 | self = self; | |
fe47ec10 | 1839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1840 | return NULL; |
1841 | if (_argo0) { | |
1842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1845 | return NULL; |
1846 | } | |
1847 | } | |
fe47ec10 RD |
1848 | { |
1849 | _arg2 = &temp; | |
1850 | if (! wxColour_helper(_obj2, &_arg2)) | |
1851 | return NULL; | |
1852 | } | |
f6bcfd97 BP |
1853 | { |
1854 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1855 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1856 | |
1857 | wxPy_END_ALLOW_THREADS; | |
1858 | } Py_INCREF(Py_None); | |
1859 | _resultobj = Py_None; | |
1860 | return _resultobj; | |
1861 | } | |
1862 | ||
fe47ec10 RD |
1863 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) |
1864 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1865 | PyObject * _resultobj; |
1866 | wxStyledTextCtrl * _arg0; | |
1867 | int _arg1; | |
fe47ec10 | 1868 | wxColour * _arg2; |
f6bcfd97 | 1869 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1870 | wxColour temp; |
1871 | PyObject * _obj2 = 0; | |
1872 | char *_kwnames[] = { "self","style","back", NULL }; | |
f6bcfd97 BP |
1873 | |
1874 | self = self; | |
fe47ec10 | 1875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1876 | return NULL; |
1877 | if (_argo0) { | |
1878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1881 | return NULL; |
1882 | } | |
1883 | } | |
fe47ec10 RD |
1884 | { |
1885 | _arg2 = &temp; | |
1886 | if (! wxColour_helper(_obj2, &_arg2)) | |
1887 | return NULL; | |
1888 | } | |
f6bcfd97 BP |
1889 | { |
1890 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1891 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1892 | |
1893 | wxPy_END_ALLOW_THREADS; | |
1894 | } Py_INCREF(Py_None); | |
1895 | _resultobj = Py_None; | |
1896 | return _resultobj; | |
1897 | } | |
1898 | ||
fe47ec10 RD |
1899 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) |
1900 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1901 | PyObject * _resultobj; |
1902 | wxStyledTextCtrl * _arg0; | |
1903 | int _arg1; | |
1904 | bool _arg2; | |
1905 | PyObject * _argo0 = 0; | |
1906 | int tempbool2; | |
fe47ec10 | 1907 | char *_kwnames[] = { "self","style","bold", NULL }; |
f6bcfd97 BP |
1908 | |
1909 | self = self; | |
fe47ec10 | 1910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1911 | return NULL; |
1912 | if (_argo0) { | |
1913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1916 | return NULL; |
1917 | } | |
1918 | } | |
1919 | _arg2 = (bool ) tempbool2; | |
1920 | { | |
1921 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1922 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1923 | |
1924 | wxPy_END_ALLOW_THREADS; | |
1925 | } Py_INCREF(Py_None); | |
1926 | _resultobj = Py_None; | |
1927 | return _resultobj; | |
1928 | } | |
1929 | ||
fe47ec10 RD |
1930 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) |
1931 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1932 | PyObject * _resultobj; |
1933 | wxStyledTextCtrl * _arg0; | |
1934 | int _arg1; | |
fe47ec10 | 1935 | bool _arg2; |
f6bcfd97 | 1936 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1937 | int tempbool2; |
1938 | char *_kwnames[] = { "self","style","italic", NULL }; | |
f6bcfd97 BP |
1939 | |
1940 | self = self; | |
fe47ec10 | 1941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1942 | return NULL; |
1943 | if (_argo0) { | |
1944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1947 | return NULL; |
1948 | } | |
1949 | } | |
fe47ec10 | 1950 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
1951 | { |
1952 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1953 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1954 | |
1955 | wxPy_END_ALLOW_THREADS; | |
1956 | } Py_INCREF(Py_None); | |
1957 | _resultobj = Py_None; | |
1958 | return _resultobj; | |
1959 | } | |
1960 | ||
fe47ec10 RD |
1961 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) |
1962 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1963 | PyObject * _resultobj; |
1964 | wxStyledTextCtrl * _arg0; | |
1965 | int _arg1; | |
fe47ec10 | 1966 | int _arg2; |
f6bcfd97 | 1967 | PyObject * _argo0 = 0; |
fe47ec10 | 1968 | char *_kwnames[] = { "self","style","sizePoints", NULL }; |
f6bcfd97 BP |
1969 | |
1970 | self = self; | |
fe47ec10 | 1971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1972 | return NULL; |
1973 | if (_argo0) { | |
1974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1977 | return NULL; |
1978 | } | |
1979 | } | |
1980 | { | |
1981 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1982 | wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1983 | |
1984 | wxPy_END_ALLOW_THREADS; | |
1985 | } Py_INCREF(Py_None); | |
1986 | _resultobj = Py_None; | |
1987 | return _resultobj; | |
1988 | } | |
1989 | ||
fe47ec10 RD |
1990 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) |
1991 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1992 | PyObject * _resultobj; |
1993 | wxStyledTextCtrl * _arg0; | |
1994 | int _arg1; | |
fe47ec10 | 1995 | wxString * _arg2; |
f6bcfd97 | 1996 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1997 | PyObject * _obj2 = 0; |
1998 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
f6bcfd97 BP |
1999 | |
2000 | self = self; | |
fe47ec10 | 2001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2002 | return NULL; |
2003 | if (_argo0) { | |
2004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2007 | return NULL; |
2008 | } | |
2009 | } | |
fe47ec10 RD |
2010 | { |
2011 | if (!PyString_Check(_obj2)) { | |
2012 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2013 | return NULL; | |
2014 | } | |
2015 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2016 | } | |
f6bcfd97 BP |
2017 | { |
2018 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2019 | wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2020 | |
2021 | wxPy_END_ALLOW_THREADS; | |
2022 | } Py_INCREF(Py_None); | |
2023 | _resultobj = Py_None; | |
fe47ec10 RD |
2024 | { |
2025 | if (_obj2) | |
2026 | delete _arg2; | |
2027 | } | |
f6bcfd97 BP |
2028 | return _resultobj; |
2029 | } | |
2030 | ||
fe47ec10 RD |
2031 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) |
2032 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2033 | PyObject * _resultobj; |
2034 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2035 | int _arg1; |
2036 | bool _arg2; | |
f6bcfd97 | 2037 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2038 | int tempbool2; |
2039 | char *_kwnames[] = { "self","style","filled", NULL }; | |
f6bcfd97 BP |
2040 | |
2041 | self = self; | |
fe47ec10 | 2042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2043 | return NULL; |
2044 | if (_argo0) { | |
2045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2048 | return NULL; |
2049 | } | |
2050 | } | |
fe47ec10 | 2051 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2052 | { |
2053 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2054 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2055 | |
2056 | wxPy_END_ALLOW_THREADS; | |
2057 | } Py_INCREF(Py_None); | |
2058 | _resultobj = Py_None; | |
2059 | return _resultobj; | |
2060 | } | |
2061 | ||
fe47ec10 RD |
2062 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) |
2063 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2064 | PyObject * _resultobj; |
2065 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2066 | PyObject * _argo0 = 0; |
fe47ec10 | 2067 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2068 | |
2069 | self = self; | |
fe47ec10 | 2070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) |
f6bcfd97 BP |
2071 | return NULL; |
2072 | if (_argo0) { | |
2073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2076 | return NULL; |
2077 | } | |
2078 | } | |
2079 | { | |
2080 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2081 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
f6bcfd97 BP |
2082 | |
2083 | wxPy_END_ALLOW_THREADS; | |
2084 | } Py_INCREF(Py_None); | |
2085 | _resultobj = Py_None; | |
2086 | return _resultobj; | |
2087 | } | |
2088 | ||
fe47ec10 RD |
2089 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) |
2090 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2091 | PyObject * _resultobj; |
f6bcfd97 | 2092 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2093 | int _arg1; |
2094 | bool _arg2; | |
f6bcfd97 | 2095 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2096 | int tempbool2; |
2097 | char *_kwnames[] = { "self","style","underline", NULL }; | |
f6bcfd97 BP |
2098 | |
2099 | self = self; | |
fe47ec10 | 2100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2101 | return NULL; |
2102 | if (_argo0) { | |
2103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2106 | return NULL; |
2107 | } | |
2108 | } | |
fe47ec10 | 2109 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2110 | { |
2111 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2112 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2113 | |
2114 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2115 | } Py_INCREF(Py_None); |
2116 | _resultobj = Py_None; | |
f6bcfd97 BP |
2117 | return _resultobj; |
2118 | } | |
2119 | ||
fe47ec10 RD |
2120 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) |
2121 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2122 | PyObject * _resultobj; |
f6bcfd97 | 2123 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2124 | bool _arg1; |
2125 | wxColour * _arg2; | |
f6bcfd97 | 2126 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2127 | int tempbool1; |
2128 | wxColour temp; | |
2129 | PyObject * _obj2 = 0; | |
2130 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
f6bcfd97 BP |
2131 | |
2132 | self = self; | |
fe47ec10 | 2133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2134 | return NULL; |
2135 | if (_argo0) { | |
2136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2139 | return NULL; |
2140 | } | |
2141 | } | |
fe47ec10 RD |
2142 | _arg1 = (bool ) tempbool1; |
2143 | { | |
2144 | _arg2 = &temp; | |
2145 | if (! wxColour_helper(_obj2, &_arg2)) | |
2146 | return NULL; | |
2147 | } | |
f6bcfd97 BP |
2148 | { |
2149 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2150 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2151 | |
2152 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2153 | } Py_INCREF(Py_None); |
2154 | _resultobj = Py_None; | |
f6bcfd97 BP |
2155 | return _resultobj; |
2156 | } | |
2157 | ||
fe47ec10 RD |
2158 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) |
2159 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2160 | PyObject * _resultobj; |
f6bcfd97 | 2161 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2162 | bool _arg1; |
2163 | wxColour * _arg2; | |
f6bcfd97 | 2164 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2165 | int tempbool1; |
2166 | wxColour temp; | |
2167 | PyObject * _obj2 = 0; | |
2168 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
f6bcfd97 BP |
2169 | |
2170 | self = self; | |
fe47ec10 | 2171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2172 | return NULL; |
2173 | if (_argo0) { | |
2174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2177 | return NULL; |
2178 | } | |
2179 | } | |
fe47ec10 RD |
2180 | _arg1 = (bool ) tempbool1; |
2181 | { | |
2182 | _arg2 = &temp; | |
2183 | if (! wxColour_helper(_obj2, &_arg2)) | |
2184 | return NULL; | |
2185 | } | |
f6bcfd97 BP |
2186 | { |
2187 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2188 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2189 | |
2190 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2191 | } Py_INCREF(Py_None); |
2192 | _resultobj = Py_None; | |
f6bcfd97 BP |
2193 | return _resultobj; |
2194 | } | |
2195 | ||
fe47ec10 RD |
2196 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) |
2197 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2198 | PyObject * _resultobj; |
2199 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2200 | wxColour * _arg1; |
f6bcfd97 | 2201 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2202 | wxColour temp; |
2203 | PyObject * _obj1 = 0; | |
2204 | char *_kwnames[] = { "self","fore", NULL }; | |
f6bcfd97 BP |
2205 | |
2206 | self = self; | |
fe47ec10 | 2207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2208 | return NULL; |
2209 | if (_argo0) { | |
2210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2213 | return NULL; |
2214 | } | |
2215 | } | |
fe47ec10 RD |
2216 | { |
2217 | _arg1 = &temp; | |
2218 | if (! wxColour_helper(_obj1, &_arg1)) | |
2219 | return NULL; | |
2220 | } | |
f6bcfd97 BP |
2221 | { |
2222 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2223 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
f6bcfd97 BP |
2224 | |
2225 | wxPy_END_ALLOW_THREADS; | |
2226 | } Py_INCREF(Py_None); | |
2227 | _resultobj = Py_None; | |
2228 | return _resultobj; | |
2229 | } | |
2230 | ||
fe47ec10 RD |
2231 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) |
2232 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2233 | PyObject * _resultobj; |
f6bcfd97 | 2234 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2235 | int _arg1; |
2236 | int _arg2; | |
2237 | int _arg3; | |
f6bcfd97 | 2238 | PyObject * _argo0 = 0; |
fe47ec10 | 2239 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; |
f6bcfd97 BP |
2240 | |
2241 | self = self; | |
fe47ec10 | 2242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
2243 | return NULL; |
2244 | if (_argo0) { | |
2245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2248 | return NULL; |
2249 | } | |
2250 | } | |
2251 | { | |
2252 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2253 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 BP |
2254 | |
2255 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2256 | } Py_INCREF(Py_None); |
2257 | _resultobj = Py_None; | |
f6bcfd97 BP |
2258 | return _resultobj; |
2259 | } | |
2260 | ||
fe47ec10 RD |
2261 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) |
2262 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2263 | PyObject * _resultobj; |
f6bcfd97 BP |
2264 | wxStyledTextCtrl * _arg0; |
2265 | int _arg1; | |
2266 | int _arg2; | |
f6bcfd97 | 2267 | PyObject * _argo0 = 0; |
fe47ec10 | 2268 | char *_kwnames[] = { "self","key","modifiers", NULL }; |
f6bcfd97 BP |
2269 | |
2270 | self = self; | |
fe47ec10 | 2271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2272 | return NULL; |
2273 | if (_argo0) { | |
2274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2277 | return NULL; |
2278 | } | |
2279 | } | |
f6bcfd97 BP |
2280 | { |
2281 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2282 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2283 | |
2284 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2285 | } Py_INCREF(Py_None); |
2286 | _resultobj = Py_None; | |
f6bcfd97 BP |
2287 | return _resultobj; |
2288 | } | |
2289 | ||
fe47ec10 RD |
2290 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) |
2291 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2292 | PyObject * _resultobj; |
2293 | wxStyledTextCtrl * _arg0; | |
2294 | PyObject * _argo0 = 0; | |
2295 | char *_kwnames[] = { "self", NULL }; | |
2296 | ||
2297 | self = self; | |
fe47ec10 | 2298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
2299 | return NULL; |
2300 | if (_argo0) { | |
2301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2304 | return NULL; |
2305 | } | |
2306 | } | |
2307 | { | |
2308 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2309 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
f6bcfd97 BP |
2310 | |
2311 | wxPy_END_ALLOW_THREADS; | |
2312 | } Py_INCREF(Py_None); | |
2313 | _resultobj = Py_None; | |
2314 | return _resultobj; | |
2315 | } | |
2316 | ||
fe47ec10 RD |
2317 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) |
2318 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2319 | PyObject * _resultobj; |
f6bcfd97 | 2320 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2321 | int _arg1; |
2322 | char * _arg2; | |
f6bcfd97 | 2323 | PyObject * _argo0 = 0; |
fe47ec10 | 2324 | char *_kwnames[] = { "self","length","styleBytes", NULL }; |
f6bcfd97 BP |
2325 | |
2326 | self = self; | |
fe47ec10 | 2327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2328 | return NULL; |
2329 | if (_argo0) { | |
2330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2333 | return NULL; |
2334 | } | |
2335 | } | |
f6bcfd97 BP |
2336 | { |
2337 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2338 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2339 | |
2340 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2341 | } Py_INCREF(Py_None); |
2342 | _resultobj = Py_None; | |
f6bcfd97 BP |
2343 | return _resultobj; |
2344 | } | |
2345 | ||
fe47ec10 RD |
2346 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) |
2347 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2348 | PyObject * _resultobj; |
f6bcfd97 | 2349 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2350 | int _arg1; |
f6bcfd97 | 2351 | bool _arg2; |
f6bcfd97 | 2352 | PyObject * _argo0 = 0; |
f6bcfd97 | 2353 | int tempbool2; |
fe47ec10 | 2354 | char *_kwnames[] = { "self","style","visible", NULL }; |
f6bcfd97 BP |
2355 | |
2356 | self = self; | |
fe47ec10 | 2357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2358 | return NULL; |
2359 | if (_argo0) { | |
2360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2363 | return NULL; |
2364 | } | |
2365 | } | |
f6bcfd97 | 2366 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2367 | { |
2368 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2369 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2370 | |
2371 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2372 | } Py_INCREF(Py_None); |
2373 | _resultobj = Py_None; | |
f6bcfd97 BP |
2374 | return _resultobj; |
2375 | } | |
2376 | ||
fe47ec10 RD |
2377 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) |
2378 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2379 | PyObject * _resultobj; |
fe47ec10 | 2380 | int _result; |
f6bcfd97 BP |
2381 | wxStyledTextCtrl * _arg0; |
2382 | PyObject * _argo0 = 0; | |
2383 | char *_kwnames[] = { "self", NULL }; | |
2384 | ||
2385 | self = self; | |
fe47ec10 | 2386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) |
f6bcfd97 BP |
2387 | return NULL; |
2388 | if (_argo0) { | |
2389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2392 | return NULL; |
2393 | } | |
2394 | } | |
2395 | { | |
2396 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2397 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
f6bcfd97 BP |
2398 | |
2399 | wxPy_END_ALLOW_THREADS; | |
2400 | } _resultobj = Py_BuildValue("i",_result); | |
2401 | return _resultobj; | |
2402 | } | |
2403 | ||
fe47ec10 RD |
2404 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) |
2405 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2406 | PyObject * _resultobj; |
2407 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2408 | int _arg1; |
f6bcfd97 | 2409 | PyObject * _argo0 = 0; |
fe47ec10 | 2410 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; |
f6bcfd97 BP |
2411 | |
2412 | self = self; | |
fe47ec10 | 2413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2414 | return NULL; |
2415 | if (_argo0) { | |
2416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2419 | return NULL; |
2420 | } | |
2421 | } | |
f6bcfd97 BP |
2422 | { |
2423 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2424 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
f6bcfd97 BP |
2425 | |
2426 | wxPy_END_ALLOW_THREADS; | |
2427 | } Py_INCREF(Py_None); | |
2428 | _resultobj = Py_None; | |
2429 | return _resultobj; | |
2430 | } | |
2431 | ||
fe47ec10 RD |
2432 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) |
2433 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2434 | PyObject * _resultobj; |
f6bcfd97 | 2435 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2436 | wxString * _arg1; |
f6bcfd97 | 2437 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2438 | PyObject * _obj1 = 0; |
2439 | char *_kwnames[] = { "self","characters", NULL }; | |
f6bcfd97 BP |
2440 | |
2441 | self = self; | |
fe47ec10 | 2442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2443 | return NULL; |
2444 | if (_argo0) { | |
2445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2448 | return NULL; |
2449 | } | |
2450 | } | |
fe47ec10 RD |
2451 | { |
2452 | if (!PyString_Check(_obj1)) { | |
2453 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2454 | return NULL; | |
2455 | } | |
2456 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2457 | } | |
f6bcfd97 BP |
2458 | { |
2459 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2460 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
f6bcfd97 BP |
2461 | |
2462 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2463 | } Py_INCREF(Py_None); |
2464 | _resultobj = Py_None; | |
2465 | { | |
2466 | if (_obj1) | |
2467 | delete _arg1; | |
2468 | } | |
f6bcfd97 BP |
2469 | return _resultobj; |
2470 | } | |
2471 | ||
fe47ec10 RD |
2472 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) |
2473 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2474 | PyObject * _resultobj; |
2475 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2476 | PyObject * _argo0 = 0; |
fe47ec10 | 2477 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2478 | |
2479 | self = self; | |
fe47ec10 | 2480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2481 | return NULL; |
2482 | if (_argo0) { | |
2483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2486 | return NULL; |
2487 | } | |
2488 | } | |
2489 | { | |
2490 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2491 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
f6bcfd97 BP |
2492 | |
2493 | wxPy_END_ALLOW_THREADS; | |
2494 | } Py_INCREF(Py_None); | |
2495 | _resultobj = Py_None; | |
2496 | return _resultobj; | |
2497 | } | |
2498 | ||
fe47ec10 RD |
2499 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) |
2500 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2501 | PyObject * _resultobj; |
f6bcfd97 BP |
2502 | wxStyledTextCtrl * _arg0; |
2503 | PyObject * _argo0 = 0; | |
2504 | char *_kwnames[] = { "self", NULL }; | |
2505 | ||
2506 | self = self; | |
fe47ec10 | 2507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2508 | return NULL; |
2509 | if (_argo0) { | |
2510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2513 | return NULL; |
2514 | } | |
2515 | } | |
2516 | { | |
2517 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2518 | wxStyledTextCtrl_EndUndoAction(_arg0); |
f6bcfd97 BP |
2519 | |
2520 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2521 | } Py_INCREF(Py_None); |
2522 | _resultobj = Py_None; | |
f6bcfd97 BP |
2523 | return _resultobj; |
2524 | } | |
2525 | ||
fe47ec10 RD |
2526 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) |
2527 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2528 | PyObject * _resultobj; |
2529 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2530 | int _arg1; |
2531 | int _arg2; | |
f6bcfd97 | 2532 | PyObject * _argo0 = 0; |
fe47ec10 | 2533 | char *_kwnames[] = { "self","indic","style", NULL }; |
f6bcfd97 BP |
2534 | |
2535 | self = self; | |
fe47ec10 | 2536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2537 | return NULL; |
2538 | if (_argo0) { | |
2539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2542 | return NULL; |
2543 | } | |
2544 | } | |
f6bcfd97 BP |
2545 | { |
2546 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2547 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2548 | |
2549 | wxPy_END_ALLOW_THREADS; | |
2550 | } Py_INCREF(Py_None); | |
2551 | _resultobj = Py_None; | |
2552 | return _resultobj; | |
2553 | } | |
2554 | ||
fe47ec10 RD |
2555 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) |
2556 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2557 | PyObject * _resultobj; |
fe47ec10 | 2558 | int _result; |
f6bcfd97 | 2559 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2560 | int _arg1; |
f6bcfd97 | 2561 | PyObject * _argo0 = 0; |
fe47ec10 | 2562 | char *_kwnames[] = { "self","indic", NULL }; |
f6bcfd97 BP |
2563 | |
2564 | self = self; | |
fe47ec10 | 2565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2566 | return NULL; |
2567 | if (_argo0) { | |
2568 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2569 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2571 | return NULL; |
2572 | } | |
2573 | } | |
2574 | { | |
2575 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2576 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
f6bcfd97 BP |
2577 | |
2578 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2579 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2580 | return _resultobj; |
2581 | } | |
2582 | ||
fe47ec10 RD |
2583 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) |
2584 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2585 | PyObject * _resultobj; |
f6bcfd97 | 2586 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2587 | int _arg1; |
2588 | wxColour * _arg2; | |
f6bcfd97 | 2589 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2590 | wxColour temp; |
2591 | PyObject * _obj2 = 0; | |
2592 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
f6bcfd97 BP |
2593 | |
2594 | self = self; | |
fe47ec10 | 2595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2596 | return NULL; |
2597 | if (_argo0) { | |
2598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2601 | return NULL; |
2602 | } | |
2603 | } | |
fe47ec10 RD |
2604 | { |
2605 | _arg2 = &temp; | |
2606 | if (! wxColour_helper(_obj2, &_arg2)) | |
2607 | return NULL; | |
2608 | } | |
f6bcfd97 BP |
2609 | { |
2610 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2611 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2612 | |
2613 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2614 | } Py_INCREF(Py_None); |
2615 | _resultobj = Py_None; | |
f6bcfd97 BP |
2616 | return _resultobj; |
2617 | } | |
2618 | ||
fe47ec10 RD |
2619 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) |
2620 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2621 | PyObject * _resultobj; |
fe47ec10 | 2622 | wxColour * _result; |
f6bcfd97 BP |
2623 | wxStyledTextCtrl * _arg0; |
2624 | int _arg1; | |
f6bcfd97 | 2625 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2626 | char *_kwnames[] = { "self","indic", NULL }; |
2627 | char _ptemp[128]; | |
f6bcfd97 BP |
2628 | |
2629 | self = self; | |
fe47ec10 | 2630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2631 | return NULL; |
2632 | if (_argo0) { | |
2633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2636 | return NULL; |
2637 | } | |
2638 | } | |
2639 | { | |
2640 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2641 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
f6bcfd97 BP |
2642 | |
2643 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2644 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2645 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
2646 | return _resultobj; |
2647 | } | |
2648 | ||
fe47ec10 RD |
2649 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) |
2650 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2651 | PyObject * _resultobj; |
2652 | wxStyledTextCtrl * _arg0; | |
2653 | int _arg1; | |
f6bcfd97 | 2654 | PyObject * _argo0 = 0; |
fe47ec10 | 2655 | char *_kwnames[] = { "self","bits", NULL }; |
f6bcfd97 BP |
2656 | |
2657 | self = self; | |
fe47ec10 | 2658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2659 | return NULL; |
2660 | if (_argo0) { | |
2661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2664 | return NULL; |
2665 | } | |
2666 | } | |
2667 | { | |
2668 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2669 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
f6bcfd97 BP |
2670 | |
2671 | wxPy_END_ALLOW_THREADS; | |
2672 | } Py_INCREF(Py_None); | |
2673 | _resultobj = Py_None; | |
2674 | return _resultobj; | |
2675 | } | |
2676 | ||
fe47ec10 RD |
2677 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) |
2678 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2679 | PyObject * _resultobj; |
fe47ec10 | 2680 | int _result; |
f6bcfd97 | 2681 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2682 | PyObject * _argo0 = 0; |
fe47ec10 | 2683 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2684 | |
2685 | self = self; | |
fe47ec10 | 2686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) |
f6bcfd97 BP |
2687 | return NULL; |
2688 | if (_argo0) { | |
2689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2692 | return NULL; |
2693 | } | |
2694 | } | |
2695 | { | |
2696 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2697 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
f6bcfd97 BP |
2698 | |
2699 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2700 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2701 | return _resultobj; |
2702 | } | |
2703 | ||
2704 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2705 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2706 | PyObject * _resultobj; | |
2707 | wxStyledTextCtrl * _arg0; | |
2708 | int _arg1; | |
2709 | int _arg2; | |
2710 | PyObject * _argo0 = 0; | |
fe47ec10 | 2711 | char *_kwnames[] = { "self","line","state", NULL }; |
f6bcfd97 BP |
2712 | |
2713 | self = self; | |
2714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2715 | return NULL; | |
2716 | if (_argo0) { | |
2717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2720 | return NULL; | |
2721 | } | |
2722 | } | |
2723 | { | |
2724 | wxPy_BEGIN_ALLOW_THREADS; | |
2725 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); | |
2726 | ||
2727 | wxPy_END_ALLOW_THREADS; | |
2728 | } Py_INCREF(Py_None); | |
2729 | _resultobj = Py_None; | |
2730 | return _resultobj; | |
2731 | } | |
2732 | ||
2733 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2734 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2735 | PyObject * _resultobj; | |
2736 | int _result; | |
2737 | wxStyledTextCtrl * _arg0; | |
2738 | int _arg1; | |
2739 | PyObject * _argo0 = 0; | |
2740 | char *_kwnames[] = { "self","line", NULL }; | |
2741 | ||
2742 | self = self; | |
2743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2744 | return NULL; | |
2745 | if (_argo0) { | |
2746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
2749 | return NULL; | |
2750 | } | |
2751 | } | |
2752 | { | |
2753 | wxPy_BEGIN_ALLOW_THREADS; | |
2754 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); | |
2755 | ||
2756 | wxPy_END_ALLOW_THREADS; | |
2757 | } _resultobj = Py_BuildValue("i",_result); | |
2758 | return _resultobj; | |
2759 | } | |
2760 | ||
fe47ec10 RD |
2761 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) |
2762 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2763 | PyObject * _resultobj; |
fe47ec10 | 2764 | int _result; |
f6bcfd97 BP |
2765 | wxStyledTextCtrl * _arg0; |
2766 | PyObject * _argo0 = 0; | |
2767 | char *_kwnames[] = { "self", NULL }; | |
2768 | ||
2769 | self = self; | |
fe47ec10 | 2770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) |
f6bcfd97 BP |
2771 | return NULL; |
2772 | if (_argo0) { | |
2773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2776 | return NULL; |
2777 | } | |
2778 | } | |
2779 | { | |
2780 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2781 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
f6bcfd97 BP |
2782 | |
2783 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2784 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2785 | return _resultobj; |
2786 | } | |
2787 | ||
fe47ec10 RD |
2788 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
2789 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2790 | PyObject * _resultobj; |
2791 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2792 | int _arg1; |
2793 | wxString * _arg2; | |
f6bcfd97 | 2794 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2795 | PyObject * _obj2 = 0; |
2796 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
f6bcfd97 BP |
2797 | |
2798 | self = self; | |
fe47ec10 | 2799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2800 | return NULL; |
2801 | if (_argo0) { | |
2802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2805 | return NULL; |
2806 | } | |
2807 | } | |
fe47ec10 RD |
2808 | { |
2809 | if (!PyString_Check(_obj2)) { | |
2810 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2811 | return NULL; | |
2812 | } | |
2813 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2814 | } | |
f6bcfd97 BP |
2815 | { |
2816 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2817 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2818 | |
2819 | wxPy_END_ALLOW_THREADS; | |
2820 | } Py_INCREF(Py_None); | |
2821 | _resultobj = Py_None; | |
fe47ec10 RD |
2822 | { |
2823 | if (_obj2) | |
2824 | delete _arg2; | |
2825 | } | |
f6bcfd97 BP |
2826 | return _resultobj; |
2827 | } | |
2828 | ||
fe47ec10 RD |
2829 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) |
2830 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2831 | PyObject * _resultobj; |
2832 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2833 | PyObject * _argo0 = 0; |
fe47ec10 | 2834 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2835 | |
2836 | self = self; | |
fe47ec10 | 2837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
2838 | return NULL; |
2839 | if (_argo0) { | |
2840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2843 | return NULL; |
2844 | } | |
2845 | } | |
f6bcfd97 BP |
2846 | { |
2847 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2848 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
f6bcfd97 BP |
2849 | |
2850 | wxPy_END_ALLOW_THREADS; | |
2851 | } Py_INCREF(Py_None); | |
2852 | _resultobj = Py_None; | |
f6bcfd97 BP |
2853 | return _resultobj; |
2854 | } | |
2855 | ||
fe47ec10 RD |
2856 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) |
2857 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2858 | PyObject * _resultobj; |
fe47ec10 | 2859 | bool _result; |
f6bcfd97 | 2860 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2861 | PyObject * _argo0 = 0; |
fe47ec10 | 2862 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2863 | |
2864 | self = self; | |
fe47ec10 | 2865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
2866 | return NULL; |
2867 | if (_argo0) { | |
2868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2871 | return NULL; |
2872 | } | |
2873 | } | |
f6bcfd97 BP |
2874 | { |
2875 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2876 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
f6bcfd97 BP |
2877 | |
2878 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2879 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2880 | return _resultobj; |
2881 | } | |
2882 | ||
fe47ec10 RD |
2883 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) |
2884 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2885 | PyObject * _resultobj; |
fe47ec10 | 2886 | int _result; |
f6bcfd97 | 2887 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2888 | PyObject * _argo0 = 0; |
fe47ec10 | 2889 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2890 | |
2891 | self = self; | |
fe47ec10 | 2892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
2893 | return NULL; |
2894 | if (_argo0) { | |
2895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2898 | return NULL; |
2899 | } | |
2900 | } | |
f6bcfd97 BP |
2901 | { |
2902 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2903 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
f6bcfd97 BP |
2904 | |
2905 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2906 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2907 | return _resultobj; |
2908 | } | |
2909 | ||
fe47ec10 RD |
2910 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) |
2911 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2912 | PyObject * _resultobj; |
2913 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2914 | PyObject * _argo0 = 0; |
fe47ec10 | 2915 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2916 | |
2917 | self = self; | |
fe47ec10 | 2918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) |
f6bcfd97 BP |
2919 | return NULL; |
2920 | if (_argo0) { | |
2921 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2922 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2924 | return NULL; |
2925 | } | |
2926 | } | |
2927 | { | |
2928 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2929 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
f6bcfd97 BP |
2930 | |
2931 | wxPy_END_ALLOW_THREADS; | |
2932 | } Py_INCREF(Py_None); | |
2933 | _resultobj = Py_None; | |
2934 | return _resultobj; | |
2935 | } | |
2936 | ||
fe47ec10 RD |
2937 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) |
2938 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2939 | PyObject * _resultobj; |
2940 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2941 | wxString * _arg1; |
f6bcfd97 | 2942 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2943 | PyObject * _obj1 = 0; |
2944 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
2945 | |
2946 | self = self; | |
fe47ec10 | 2947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2948 | return NULL; |
2949 | if (_argo0) { | |
2950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2953 | return NULL; |
2954 | } | |
2955 | } | |
2956 | { | |
fe47ec10 | 2957 | if (!PyString_Check(_obj1)) { |
f6bcfd97 BP |
2958 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2959 | return NULL; | |
2960 | } | |
fe47ec10 | 2961 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
f6bcfd97 | 2962 | } |
f6bcfd97 BP |
2963 | { |
2964 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2965 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
f6bcfd97 BP |
2966 | |
2967 | wxPy_END_ALLOW_THREADS; | |
2968 | } Py_INCREF(Py_None); | |
2969 | _resultobj = Py_None; | |
2970 | { | |
fe47ec10 RD |
2971 | if (_obj1) |
2972 | delete _arg1; | |
f6bcfd97 BP |
2973 | } |
2974 | return _resultobj; | |
2975 | } | |
2976 | ||
fe47ec10 RD |
2977 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) |
2978 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2979 | PyObject * _resultobj; |
2980 | wxStyledTextCtrl * _arg0; | |
2981 | int _arg1; | |
f6bcfd97 | 2982 | PyObject * _argo0 = 0; |
fe47ec10 | 2983 | char *_kwnames[] = { "self","separatorCharacter", NULL }; |
f6bcfd97 BP |
2984 | |
2985 | self = self; | |
fe47ec10 | 2986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2987 | return NULL; |
2988 | if (_argo0) { | |
2989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2992 | return NULL; |
2993 | } | |
2994 | } | |
f6bcfd97 BP |
2995 | { |
2996 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2997 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
f6bcfd97 BP |
2998 | |
2999 | wxPy_END_ALLOW_THREADS; | |
3000 | } Py_INCREF(Py_None); | |
3001 | _resultobj = Py_None; | |
3002 | return _resultobj; | |
3003 | } | |
3004 | ||
fe47ec10 RD |
3005 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) |
3006 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3007 | PyObject * _resultobj; |
fe47ec10 | 3008 | int _result; |
f6bcfd97 | 3009 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3010 | PyObject * _argo0 = 0; |
fe47ec10 | 3011 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3012 | |
3013 | self = self; | |
fe47ec10 | 3014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) |
f6bcfd97 BP |
3015 | return NULL; |
3016 | if (_argo0) { | |
3017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3020 | return NULL; |
3021 | } | |
3022 | } | |
f6bcfd97 BP |
3023 | { |
3024 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3025 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
f6bcfd97 BP |
3026 | |
3027 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3028 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3029 | return _resultobj; |
3030 | } | |
3031 | ||
fe47ec10 RD |
3032 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) |
3033 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3034 | PyObject * _resultobj; |
3035 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3036 | wxString * _arg1; |
f6bcfd97 | 3037 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3038 | PyObject * _obj1 = 0; |
3039 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
3040 | |
3041 | self = self; | |
fe47ec10 | 3042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3043 | return NULL; |
3044 | if (_argo0) { | |
3045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3048 | return NULL; |
3049 | } | |
3050 | } | |
3051 | { | |
fe47ec10 | 3052 | if (!PyString_Check(_obj1)) { |
f6bcfd97 BP |
3053 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
3054 | return NULL; | |
3055 | } | |
fe47ec10 | 3056 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
f6bcfd97 BP |
3057 | } |
3058 | { | |
3059 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3060 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
f6bcfd97 BP |
3061 | |
3062 | wxPy_END_ALLOW_THREADS; | |
3063 | } Py_INCREF(Py_None); | |
3064 | _resultobj = Py_None; | |
3065 | { | |
fe47ec10 RD |
3066 | if (_obj1) |
3067 | delete _arg1; | |
f6bcfd97 BP |
3068 | } |
3069 | return _resultobj; | |
3070 | } | |
3071 | ||
fe47ec10 RD |
3072 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) |
3073 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3074 | PyObject * _resultobj; |
3075 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3076 | bool _arg1; |
f6bcfd97 | 3077 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3078 | int tempbool1; |
3079 | char *_kwnames[] = { "self","cancel", NULL }; | |
f6bcfd97 BP |
3080 | |
3081 | self = self; | |
fe47ec10 | 3082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3083 | return NULL; |
3084 | if (_argo0) { | |
3085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3088 | return NULL; |
3089 | } | |
3090 | } | |
fe47ec10 | 3091 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3092 | { |
3093 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3094 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
f6bcfd97 BP |
3095 | |
3096 | wxPy_END_ALLOW_THREADS; | |
3097 | } Py_INCREF(Py_None); | |
3098 | _resultobj = Py_None; | |
3099 | return _resultobj; | |
3100 | } | |
3101 | ||
fe47ec10 RD |
3102 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) |
3103 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3104 | PyObject * _resultobj; |
fe47ec10 | 3105 | bool _result; |
f6bcfd97 | 3106 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3107 | PyObject * _argo0 = 0; |
fe47ec10 | 3108 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3109 | |
3110 | self = self; | |
fe47ec10 | 3111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3112 | return NULL; |
3113 | if (_argo0) { | |
3114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3117 | return NULL; |
3118 | } | |
3119 | } | |
f6bcfd97 BP |
3120 | { |
3121 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3122 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
f6bcfd97 BP |
3123 | |
3124 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3125 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3126 | return _resultobj; |
3127 | } | |
3128 | ||
fe47ec10 RD |
3129 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) |
3130 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3131 | PyObject * _resultobj; |
3132 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3133 | wxString * _arg1; |
f6bcfd97 | 3134 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3135 | PyObject * _obj1 = 0; |
3136 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3137 | |
3138 | self = self; | |
fe47ec10 | 3139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3140 | return NULL; |
3141 | if (_argo0) { | |
3142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3145 | return NULL; |
3146 | } | |
3147 | } | |
fe47ec10 RD |
3148 | { |
3149 | if (!PyString_Check(_obj1)) { | |
3150 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3151 | return NULL; | |
3152 | } | |
3153 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
3154 | } | |
f6bcfd97 BP |
3155 | { |
3156 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3157 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
f6bcfd97 BP |
3158 | |
3159 | wxPy_END_ALLOW_THREADS; | |
3160 | } Py_INCREF(Py_None); | |
3161 | _resultobj = Py_None; | |
fe47ec10 RD |
3162 | { |
3163 | if (_obj1) | |
3164 | delete _arg1; | |
3165 | } | |
f6bcfd97 BP |
3166 | return _resultobj; |
3167 | } | |
3168 | ||
fe47ec10 RD |
3169 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) |
3170 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3171 | PyObject * _resultobj; |
f6bcfd97 | 3172 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 3173 | bool _arg1; |
f6bcfd97 | 3174 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3175 | int tempbool1; |
3176 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
f6bcfd97 BP |
3177 | |
3178 | self = self; | |
fe47ec10 | 3179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3180 | return NULL; |
3181 | if (_argo0) { | |
3182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3185 | return NULL; |
3186 | } | |
3187 | } | |
fe47ec10 | 3188 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3189 | { |
3190 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3191 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
f6bcfd97 BP |
3192 | |
3193 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3194 | } Py_INCREF(Py_None); |
3195 | _resultobj = Py_None; | |
f6bcfd97 BP |
3196 | return _resultobj; |
3197 | } | |
3198 | ||
fe47ec10 RD |
3199 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) |
3200 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3201 | PyObject * _resultobj; |
fe47ec10 | 3202 | bool _result; |
f6bcfd97 BP |
3203 | wxStyledTextCtrl * _arg0; |
3204 | PyObject * _argo0 = 0; | |
3205 | char *_kwnames[] = { "self", NULL }; | |
3206 | ||
3207 | self = self; | |
fe47ec10 | 3208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) |
f6bcfd97 BP |
3209 | return NULL; |
3210 | if (_argo0) { | |
3211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3214 | return NULL; |
3215 | } | |
3216 | } | |
3217 | { | |
3218 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3219 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
f6bcfd97 BP |
3220 | |
3221 | wxPy_END_ALLOW_THREADS; | |
3222 | } _resultobj = Py_BuildValue("i",_result); | |
3223 | return _resultobj; | |
3224 | } | |
3225 | ||
fe47ec10 RD |
3226 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) |
3227 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3228 | PyObject * _resultobj; |
3229 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3230 | bool _arg1; |
f6bcfd97 | 3231 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3232 | int tempbool1; |
3233 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
f6bcfd97 BP |
3234 | |
3235 | self = self; | |
fe47ec10 | 3236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3237 | return NULL; |
3238 | if (_argo0) { | |
3239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3242 | return NULL; |
3243 | } | |
3244 | } | |
fe47ec10 | 3245 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3246 | { |
3247 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3248 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
f6bcfd97 BP |
3249 | |
3250 | wxPy_END_ALLOW_THREADS; | |
3251 | } Py_INCREF(Py_None); | |
3252 | _resultobj = Py_None; | |
3253 | return _resultobj; | |
3254 | } | |
3255 | ||
fe47ec10 RD |
3256 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) |
3257 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3258 | PyObject * _resultobj; | |
3259 | bool _result; | |
3260 | wxStyledTextCtrl * _arg0; | |
3261 | PyObject * _argo0 = 0; | |
3262 | char *_kwnames[] = { "self", NULL }; | |
3263 | ||
3264 | self = self; | |
3265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3266 | return NULL; | |
3267 | if (_argo0) { | |
3268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3271 | return NULL; | |
3272 | } | |
3273 | } | |
3274 | { | |
3275 | wxPy_BEGIN_ALLOW_THREADS; | |
3276 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); | |
3277 | ||
3278 | wxPy_END_ALLOW_THREADS; | |
3279 | } _resultobj = Py_BuildValue("i",_result); | |
3280 | return _resultobj; | |
3281 | } | |
3282 | ||
3283 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) | |
3284 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3285 | PyObject * _resultobj; |
3286 | wxStyledTextCtrl * _arg0; | |
3287 | int _arg1; | |
f6bcfd97 | 3288 | PyObject * _argo0 = 0; |
fe47ec10 | 3289 | char *_kwnames[] = { "self","indentSize", NULL }; |
f6bcfd97 BP |
3290 | |
3291 | self = self; | |
fe47ec10 | 3292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3293 | return NULL; |
3294 | if (_argo0) { | |
3295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3298 | return NULL; |
3299 | } | |
3300 | } | |
3301 | { | |
3302 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3303 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
f6bcfd97 BP |
3304 | |
3305 | wxPy_END_ALLOW_THREADS; | |
3306 | } Py_INCREF(Py_None); | |
3307 | _resultobj = Py_None; | |
3308 | return _resultobj; | |
3309 | } | |
3310 | ||
fe47ec10 RD |
3311 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
3312 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3313 | PyObject * _resultobj; |
3314 | int _result; | |
3315 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3316 | PyObject * _argo0 = 0; |
fe47ec10 | 3317 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3318 | |
3319 | self = self; | |
fe47ec10 | 3320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) |
f6bcfd97 BP |
3321 | return NULL; |
3322 | if (_argo0) { | |
3323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3326 | return NULL; |
3327 | } | |
3328 | } | |
3329 | { | |
3330 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3331 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
f6bcfd97 BP |
3332 | |
3333 | wxPy_END_ALLOW_THREADS; | |
3334 | } _resultobj = Py_BuildValue("i",_result); | |
3335 | return _resultobj; | |
3336 | } | |
3337 | ||
fe47ec10 RD |
3338 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) |
3339 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3340 | PyObject * _resultobj; |
3341 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3342 | bool _arg1; |
f6bcfd97 | 3343 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3344 | int tempbool1; |
3345 | char *_kwnames[] = { "self","useTabs", NULL }; | |
f6bcfd97 BP |
3346 | |
3347 | self = self; | |
fe47ec10 | 3348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3349 | return NULL; |
3350 | if (_argo0) { | |
3351 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3352 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3353 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3354 | return NULL; |
3355 | } | |
3356 | } | |
fe47ec10 | 3357 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3358 | { |
3359 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3360 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
f6bcfd97 BP |
3361 | |
3362 | wxPy_END_ALLOW_THREADS; | |
3363 | } Py_INCREF(Py_None); | |
3364 | _resultobj = Py_None; | |
3365 | return _resultobj; | |
3366 | } | |
3367 | ||
fe47ec10 RD |
3368 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) |
3369 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3370 | PyObject * _resultobj; |
fe47ec10 | 3371 | bool _result; |
f6bcfd97 | 3372 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3373 | PyObject * _argo0 = 0; |
fe47ec10 | 3374 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3375 | |
3376 | self = self; | |
fe47ec10 | 3377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) |
f6bcfd97 BP |
3378 | return NULL; |
3379 | if (_argo0) { | |
3380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3383 | return NULL; |
3384 | } | |
3385 | } | |
3386 | { | |
3387 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3388 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
f6bcfd97 BP |
3389 | |
3390 | wxPy_END_ALLOW_THREADS; | |
3391 | } _resultobj = Py_BuildValue("i",_result); | |
3392 | return _resultobj; | |
3393 | } | |
3394 | ||
fe47ec10 RD |
3395 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) |
3396 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3397 | PyObject * _resultobj; |
3398 | wxStyledTextCtrl * _arg0; | |
3399 | int _arg1; | |
3400 | int _arg2; | |
3401 | PyObject * _argo0 = 0; | |
fe47ec10 | 3402 | char *_kwnames[] = { "self","line","indentSize", NULL }; |
f6bcfd97 BP |
3403 | |
3404 | self = self; | |
fe47ec10 | 3405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
3406 | return NULL; |
3407 | if (_argo0) { | |
3408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3411 | return NULL; |
3412 | } | |
3413 | } | |
3414 | { | |
3415 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3416 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
3417 | |
3418 | wxPy_END_ALLOW_THREADS; | |
3419 | } Py_INCREF(Py_None); | |
3420 | _resultobj = Py_None; | |
3421 | return _resultobj; | |
3422 | } | |
3423 | ||
fe47ec10 RD |
3424 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) |
3425 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3426 | PyObject * _resultobj; |
3427 | int _result; | |
3428 | wxStyledTextCtrl * _arg0; | |
3429 | int _arg1; | |
3430 | PyObject * _argo0 = 0; | |
fe47ec10 | 3431 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3432 | |
3433 | self = self; | |
fe47ec10 | 3434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3435 | return NULL; |
3436 | if (_argo0) { | |
3437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3440 | return NULL; |
3441 | } | |
3442 | } | |
3443 | { | |
3444 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3445 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
f6bcfd97 BP |
3446 | |
3447 | wxPy_END_ALLOW_THREADS; | |
3448 | } _resultobj = Py_BuildValue("i",_result); | |
3449 | return _resultobj; | |
3450 | } | |
3451 | ||
fe47ec10 RD |
3452 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) |
3453 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3454 | PyObject * _resultobj; |
fe47ec10 | 3455 | int _result; |
f6bcfd97 BP |
3456 | wxStyledTextCtrl * _arg0; |
3457 | int _arg1; | |
f6bcfd97 | 3458 | PyObject * _argo0 = 0; |
fe47ec10 | 3459 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3460 | |
3461 | self = self; | |
fe47ec10 | 3462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3463 | return NULL; |
3464 | if (_argo0) { | |
3465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3468 | return NULL; |
3469 | } | |
3470 | } | |
f6bcfd97 BP |
3471 | { |
3472 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3473 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
f6bcfd97 BP |
3474 | |
3475 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3476 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3477 | return _resultobj; |
3478 | } | |
3479 | ||
fe47ec10 RD |
3480 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) |
3481 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3482 | PyObject * _resultobj; |
fe47ec10 | 3483 | int _result; |
f6bcfd97 BP |
3484 | wxStyledTextCtrl * _arg0; |
3485 | int _arg1; | |
3486 | PyObject * _argo0 = 0; | |
fe47ec10 | 3487 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3488 | |
3489 | self = self; | |
fe47ec10 | 3490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3491 | return NULL; |
3492 | if (_argo0) { | |
3493 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3494 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3496 | return NULL; |
3497 | } | |
3498 | } | |
3499 | { | |
3500 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3501 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
f6bcfd97 BP |
3502 | |
3503 | wxPy_END_ALLOW_THREADS; | |
3504 | } _resultobj = Py_BuildValue("i",_result); | |
3505 | return _resultobj; | |
3506 | } | |
3507 | ||
fe47ec10 RD |
3508 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) |
3509 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3510 | PyObject * _resultobj; |
3511 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3512 | bool _arg1; |
f6bcfd97 | 3513 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3514 | int tempbool1; |
3515 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
3516 | |
3517 | self = self; | |
fe47ec10 | 3518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3519 | return NULL; |
3520 | if (_argo0) { | |
3521 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3522 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3524 | return NULL; |
3525 | } | |
3526 | } | |
fe47ec10 | 3527 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3528 | { |
3529 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3530 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
f6bcfd97 BP |
3531 | |
3532 | wxPy_END_ALLOW_THREADS; | |
3533 | } Py_INCREF(Py_None); | |
3534 | _resultobj = Py_None; | |
3535 | return _resultobj; | |
3536 | } | |
3537 | ||
fe47ec10 RD |
3538 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) |
3539 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3540 | PyObject * _resultobj; |
fe47ec10 | 3541 | bool _result; |
f6bcfd97 | 3542 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3543 | PyObject * _argo0 = 0; |
fe47ec10 | 3544 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3545 | |
3546 | self = self; | |
fe47ec10 | 3547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) |
f6bcfd97 BP |
3548 | return NULL; |
3549 | if (_argo0) { | |
3550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3553 | return NULL; |
3554 | } | |
3555 | } | |
f6bcfd97 BP |
3556 | { |
3557 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3558 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
f6bcfd97 BP |
3559 | |
3560 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3561 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3562 | return _resultobj; |
3563 | } | |
3564 | ||
fe47ec10 RD |
3565 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) |
3566 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3567 | PyObject * _resultobj; |
3568 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3569 | bool _arg1; |
f6bcfd97 | 3570 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3571 | int tempbool1; |
3572 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
3573 | |
3574 | self = self; | |
fe47ec10 | 3575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3576 | return NULL; |
3577 | if (_argo0) { | |
3578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3581 | return NULL; |
3582 | } | |
3583 | } | |
fe47ec10 | 3584 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3585 | { |
3586 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3587 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
f6bcfd97 BP |
3588 | |
3589 | wxPy_END_ALLOW_THREADS; | |
3590 | } Py_INCREF(Py_None); | |
3591 | _resultobj = Py_None; | |
3592 | return _resultobj; | |
3593 | } | |
3594 | ||
fe47ec10 RD |
3595 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) |
3596 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3597 | PyObject * _resultobj; |
fe47ec10 | 3598 | bool _result; |
f6bcfd97 BP |
3599 | wxStyledTextCtrl * _arg0; |
3600 | PyObject * _argo0 = 0; | |
3601 | char *_kwnames[] = { "self", NULL }; | |
3602 | ||
3603 | self = self; | |
fe47ec10 | 3604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) |
f6bcfd97 BP |
3605 | return NULL; |
3606 | if (_argo0) { | |
3607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3610 | return NULL; |
3611 | } | |
3612 | } | |
3613 | { | |
3614 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3615 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
f6bcfd97 BP |
3616 | |
3617 | wxPy_END_ALLOW_THREADS; | |
3618 | } _resultobj = Py_BuildValue("i",_result); | |
3619 | return _resultobj; | |
3620 | } | |
3621 | ||
fe47ec10 RD |
3622 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) |
3623 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3624 | PyObject * _resultobj; |
3625 | wxStyledTextCtrl * _arg0; | |
3626 | int _arg1; | |
3627 | PyObject * _argo0 = 0; | |
fe47ec10 | 3628 | char *_kwnames[] = { "self","column", NULL }; |
f6bcfd97 BP |
3629 | |
3630 | self = self; | |
fe47ec10 | 3631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3632 | return NULL; |
3633 | if (_argo0) { | |
3634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3637 | return NULL; |
3638 | } | |
3639 | } | |
3640 | { | |
3641 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3642 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
f6bcfd97 BP |
3643 | |
3644 | wxPy_END_ALLOW_THREADS; | |
3645 | } Py_INCREF(Py_None); | |
3646 | _resultobj = Py_None; | |
3647 | return _resultobj; | |
3648 | } | |
3649 | ||
fe47ec10 RD |
3650 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) |
3651 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3652 | PyObject * _resultobj; |
fe47ec10 | 3653 | int _result; |
f6bcfd97 | 3654 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3655 | PyObject * _argo0 = 0; |
fe47ec10 | 3656 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3657 | |
3658 | self = self; | |
fe47ec10 | 3659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) |
f6bcfd97 BP |
3660 | return NULL; |
3661 | if (_argo0) { | |
3662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3665 | return NULL; |
3666 | } | |
3667 | } | |
f6bcfd97 BP |
3668 | { |
3669 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3670 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
f6bcfd97 BP |
3671 | |
3672 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3673 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3674 | return _resultobj; |
3675 | } | |
3676 | ||
fe47ec10 RD |
3677 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) |
3678 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3679 | PyObject * _resultobj; |
fe47ec10 | 3680 | int _result; |
f6bcfd97 BP |
3681 | wxStyledTextCtrl * _arg0; |
3682 | int _arg1; | |
3683 | PyObject * _argo0 = 0; | |
fe47ec10 | 3684 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3685 | |
3686 | self = self; | |
fe47ec10 | 3687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3688 | return NULL; |
3689 | if (_argo0) { | |
3690 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3691 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3693 | return NULL; |
3694 | } | |
3695 | } | |
3696 | { | |
3697 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3698 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
f6bcfd97 BP |
3699 | |
3700 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3701 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3702 | return _resultobj; |
3703 | } | |
3704 | ||
fe47ec10 RD |
3705 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) |
3706 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3707 | PyObject * _resultobj; |
fe47ec10 | 3708 | int _result; |
f6bcfd97 | 3709 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3710 | PyObject * _argo0 = 0; |
fe47ec10 | 3711 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3712 | |
3713 | self = self; | |
fe47ec10 | 3714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) |
f6bcfd97 BP |
3715 | return NULL; |
3716 | if (_argo0) { | |
3717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3720 | return NULL; |
3721 | } | |
3722 | } | |
3723 | { | |
3724 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3725 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
f6bcfd97 BP |
3726 | |
3727 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3728 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3729 | return _resultobj; |
3730 | } | |
3731 | ||
fe47ec10 RD |
3732 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) |
3733 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3734 | PyObject * _resultobj; |
fe47ec10 | 3735 | wxColour * _result; |
f6bcfd97 | 3736 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3737 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3738 | char *_kwnames[] = { "self", NULL }; |
3739 | char _ptemp[128]; | |
f6bcfd97 BP |
3740 | |
3741 | self = self; | |
fe47ec10 | 3742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) |
f6bcfd97 BP |
3743 | return NULL; |
3744 | if (_argo0) { | |
3745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3748 | return NULL; |
3749 | } | |
3750 | } | |
f6bcfd97 BP |
3751 | { |
3752 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3753 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
f6bcfd97 BP |
3754 | |
3755 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3756 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3757 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3758 | return _resultobj; |
3759 | } | |
3760 | ||
fe47ec10 RD |
3761 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) |
3762 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3763 | PyObject * _resultobj; |
fe47ec10 | 3764 | bool _result; |
f6bcfd97 | 3765 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3766 | PyObject * _argo0 = 0; |
fe47ec10 | 3767 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3768 | |
3769 | self = self; | |
fe47ec10 | 3770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) |
f6bcfd97 BP |
3771 | return NULL; |
3772 | if (_argo0) { | |
3773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3776 | return NULL; |
3777 | } | |
3778 | } | |
3779 | { | |
3780 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3781 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
f6bcfd97 BP |
3782 | |
3783 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3784 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3785 | return _resultobj; |
3786 | } | |
3787 | ||
fe47ec10 RD |
3788 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) |
3789 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3790 | PyObject * _resultobj; |
f6bcfd97 BP |
3791 | wxStyledTextCtrl * _arg0; |
3792 | int _arg1; | |
3793 | PyObject * _argo0 = 0; | |
fe47ec10 | 3794 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3795 | |
3796 | self = self; | |
fe47ec10 | 3797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3798 | return NULL; |
3799 | if (_argo0) { | |
3800 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3801 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3803 | return NULL; |
3804 | } | |
3805 | } | |
3806 | { | |
3807 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3808 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
f6bcfd97 BP |
3809 | |
3810 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3811 | } Py_INCREF(Py_None); |
3812 | _resultobj = Py_None; | |
f6bcfd97 BP |
3813 | return _resultobj; |
3814 | } | |
3815 | ||
fe47ec10 RD |
3816 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) |
3817 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3818 | PyObject * _resultobj; |
f6bcfd97 BP |
3819 | wxStyledTextCtrl * _arg0; |
3820 | int _arg1; | |
3821 | PyObject * _argo0 = 0; | |
fe47ec10 | 3822 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3823 | |
3824 | self = self; | |
fe47ec10 | 3825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3826 | return NULL; |
3827 | if (_argo0) { | |
3828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3831 | return NULL; |
3832 | } | |
3833 | } | |
3834 | { | |
3835 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3836 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
f6bcfd97 BP |
3837 | |
3838 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3839 | } Py_INCREF(Py_None); |
3840 | _resultobj = Py_None; | |
f6bcfd97 BP |
3841 | return _resultobj; |
3842 | } | |
3843 | ||
fe47ec10 RD |
3844 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) |
3845 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3846 | PyObject * _resultobj; |
fe47ec10 | 3847 | int _result; |
f6bcfd97 | 3848 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3849 | PyObject * _argo0 = 0; |
fe47ec10 | 3850 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3851 | |
3852 | self = self; | |
fe47ec10 | 3853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3854 | return NULL; |
3855 | if (_argo0) { | |
3856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3859 | return NULL; |
3860 | } | |
3861 | } | |
f6bcfd97 BP |
3862 | { |
3863 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3864 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
f6bcfd97 BP |
3865 | |
3866 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3867 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3868 | return _resultobj; |
3869 | } | |
3870 | ||
fe47ec10 RD |
3871 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) |
3872 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3873 | PyObject * _resultobj; |
3874 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3875 | int _arg1; |
f6bcfd97 | 3876 | PyObject * _argo0 = 0; |
fe47ec10 | 3877 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3878 | |
3879 | self = self; | |
fe47ec10 | 3880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3881 | return NULL; |
3882 | if (_argo0) { | |
3883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3886 | return NULL; |
3887 | } | |
3888 | } | |
f6bcfd97 BP |
3889 | { |
3890 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3891 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
f6bcfd97 BP |
3892 | |
3893 | wxPy_END_ALLOW_THREADS; | |
3894 | } Py_INCREF(Py_None); | |
3895 | _resultobj = Py_None; | |
3896 | return _resultobj; | |
3897 | } | |
3898 | ||
fe47ec10 RD |
3899 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) |
3900 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3901 | PyObject * _resultobj; |
fe47ec10 | 3902 | int _result; |
f6bcfd97 | 3903 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3904 | PyObject * _argo0 = 0; |
fe47ec10 | 3905 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3906 | |
3907 | self = self; | |
fe47ec10 | 3908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) |
f6bcfd97 BP |
3909 | return NULL; |
3910 | if (_argo0) { | |
3911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3914 | return NULL; |
3915 | } | |
3916 | } | |
3917 | { | |
3918 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3919 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
f6bcfd97 BP |
3920 | |
3921 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3922 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3923 | return _resultobj; |
3924 | } | |
3925 | ||
fe47ec10 RD |
3926 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) |
3927 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3928 | PyObject * _resultobj; |
3929 | wxStyledTextCtrl * _arg0; | |
3930 | int _arg1; | |
3931 | PyObject * _argo0 = 0; | |
fe47ec10 | 3932 | char *_kwnames[] = { "self","magnification", NULL }; |
f6bcfd97 BP |
3933 | |
3934 | self = self; | |
fe47ec10 | 3935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3936 | return NULL; |
3937 | if (_argo0) { | |
3938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3941 | return NULL; |
3942 | } | |
3943 | } | |
3944 | { | |
3945 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3946 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
f6bcfd97 BP |
3947 | |
3948 | wxPy_END_ALLOW_THREADS; | |
3949 | } Py_INCREF(Py_None); | |
3950 | _resultobj = Py_None; | |
3951 | return _resultobj; | |
3952 | } | |
3953 | ||
fe47ec10 RD |
3954 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) |
3955 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3956 | PyObject * _resultobj; |
3957 | int _result; | |
3958 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3959 | PyObject * _argo0 = 0; |
fe47ec10 | 3960 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3961 | |
3962 | self = self; | |
fe47ec10 | 3963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) |
f6bcfd97 BP |
3964 | return NULL; |
3965 | if (_argo0) { | |
3966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3969 | return NULL; |
3970 | } | |
3971 | } | |
3972 | { | |
3973 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3974 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
f6bcfd97 BP |
3975 | |
3976 | wxPy_END_ALLOW_THREADS; | |
3977 | } _resultobj = Py_BuildValue("i",_result); | |
3978 | return _resultobj; | |
3979 | } | |
3980 | ||
fe47ec10 RD |
3981 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) |
3982 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3983 | PyObject * _resultobj; |
3984 | wxStyledTextCtrl * _arg0; | |
3985 | int _arg1; | |
f6bcfd97 | 3986 | PyObject * _argo0 = 0; |
fe47ec10 | 3987 | char *_kwnames[] = { "self","mode", NULL }; |
f6bcfd97 BP |
3988 | |
3989 | self = self; | |
fe47ec10 | 3990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3991 | return NULL; |
3992 | if (_argo0) { | |
3993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3996 | return NULL; |
3997 | } | |
3998 | } | |
f6bcfd97 BP |
3999 | { |
4000 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4001 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
f6bcfd97 BP |
4002 | |
4003 | wxPy_END_ALLOW_THREADS; | |
4004 | } Py_INCREF(Py_None); | |
4005 | _resultobj = Py_None; | |
4006 | return _resultobj; | |
4007 | } | |
4008 | ||
fe47ec10 RD |
4009 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) |
4010 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4011 | PyObject * _resultobj; |
fe47ec10 | 4012 | int _result; |
f6bcfd97 | 4013 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4014 | PyObject * _argo0 = 0; |
fe47ec10 | 4015 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4016 | |
4017 | self = self; | |
fe47ec10 | 4018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
4019 | return NULL; |
4020 | if (_argo0) { | |
4021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4024 | return NULL; |
4025 | } | |
4026 | } | |
4027 | { | |
4028 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4029 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
f6bcfd97 BP |
4030 | |
4031 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4032 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4033 | return _resultobj; |
4034 | } | |
4035 | ||
fe47ec10 RD |
4036 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
4037 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4038 | PyObject * _resultobj; |
fe47ec10 | 4039 | int _result; |
f6bcfd97 BP |
4040 | wxStyledTextCtrl * _arg0; |
4041 | int _arg1; | |
fe47ec10 RD |
4042 | int _arg2; |
4043 | wxString * _arg3; | |
4044 | bool _arg4; | |
4045 | bool _arg5; | |
f6bcfd97 | 4046 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4047 | PyObject * _obj3 = 0; |
4048 | int tempbool4; | |
4049 | int tempbool5; | |
4050 | char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL }; | |
f6bcfd97 BP |
4051 | |
4052 | self = self; | |
fe47ec10 | 4053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5)) |
f6bcfd97 BP |
4054 | return NULL; |
4055 | if (_argo0) { | |
4056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4059 | return NULL; |
4060 | } | |
4061 | } | |
4062 | { | |
fe47ec10 RD |
4063 | if (!PyString_Check(_obj3)) { |
4064 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
f6bcfd97 | 4065 | return NULL; |
fe47ec10 RD |
4066 | } |
4067 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); | |
f6bcfd97 | 4068 | } |
fe47ec10 RD |
4069 | _arg4 = (bool ) tempbool4; |
4070 | _arg5 = (bool ) tempbool5; | |
f6bcfd97 BP |
4071 | { |
4072 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4073 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 BP |
4074 | |
4075 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4076 | } _resultobj = Py_BuildValue("i",_result); |
4077 | { | |
4078 | if (_obj3) | |
4079 | delete _arg3; | |
4080 | } | |
f6bcfd97 BP |
4081 | return _resultobj; |
4082 | } | |
4083 | ||
fe47ec10 RD |
4084 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
4085 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4086 | PyObject * _resultobj; |
fe47ec10 | 4087 | int _result; |
f6bcfd97 | 4088 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4089 | bool _arg1; |
4090 | int _arg2; | |
4091 | int _arg3; | |
4092 | wxDC * _arg4; | |
4093 | wxDC * _arg5; | |
4094 | wxRect * _arg6; | |
4095 | wxRect * _arg7; | |
f6bcfd97 | 4096 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4097 | int tempbool1; |
4098 | PyObject * _argo4 = 0; | |
4099 | PyObject * _argo5 = 0; | |
4100 | wxRect temp; | |
4101 | PyObject * _obj6 = 0; | |
4102 | wxRect temp0; | |
4103 | PyObject * _obj7 = 0; | |
4104 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
f6bcfd97 BP |
4105 | |
4106 | self = self; | |
fe47ec10 | 4107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) |
f6bcfd97 BP |
4108 | return NULL; |
4109 | if (_argo0) { | |
4110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
4112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); |
4113 | return NULL; | |
4114 | } | |
4115 | } | |
4116 | _arg1 = (bool ) tempbool1; | |
4117 | if (_argo4) { | |
4118 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4119 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4121 | return NULL; | |
4122 | } | |
4123 | } | |
4124 | if (_argo5) { | |
4125 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4126 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
f6bcfd97 BP |
4128 | return NULL; |
4129 | } | |
4130 | } | |
4131 | { | |
fe47ec10 RD |
4132 | _arg6 = &temp; |
4133 | if (! wxRect_helper(_obj6, &_arg6)) | |
4134 | return NULL; | |
4135 | } | |
4136 | { | |
4137 | _arg7 = &temp0; | |
4138 | if (! wxRect_helper(_obj7, &_arg7)) | |
f6bcfd97 BP |
4139 | return NULL; |
4140 | } | |
4141 | { | |
4142 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4143 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
f6bcfd97 BP |
4144 | |
4145 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4146 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4147 | return _resultobj; |
4148 | } | |
4149 | ||
fe47ec10 RD |
4150 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) |
4151 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4152 | PyObject * _resultobj; |
4153 | int _result; | |
4154 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4155 | PyObject * _argo0 = 0; |
fe47ec10 | 4156 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4157 | |
4158 | self = self; | |
fe47ec10 | 4159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) |
f6bcfd97 BP |
4160 | return NULL; |
4161 | if (_argo0) { | |
4162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4165 | return NULL; |
4166 | } | |
4167 | } | |
4168 | { | |
4169 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4170 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
f6bcfd97 BP |
4171 | |
4172 | wxPy_END_ALLOW_THREADS; | |
4173 | } _resultobj = Py_BuildValue("i",_result); | |
4174 | return _resultobj; | |
4175 | } | |
4176 | ||
fe47ec10 RD |
4177 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) |
4178 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4179 | PyObject * _resultobj; |
fe47ec10 | 4180 | wxString * _result; |
f6bcfd97 BP |
4181 | wxStyledTextCtrl * _arg0; |
4182 | int _arg1; | |
f6bcfd97 | 4183 | PyObject * _argo0 = 0; |
fe47ec10 | 4184 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4185 | |
4186 | self = self; | |
fe47ec10 | 4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4188 | return NULL; |
4189 | if (_argo0) { | |
4190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4193 | return NULL; |
4194 | } | |
4195 | } | |
4196 | { | |
4197 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4198 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
f6bcfd97 BP |
4199 | |
4200 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4201 | }{ |
4202 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4203 | } | |
4204 | { | |
4205 | delete _result; | |
4206 | } | |
f6bcfd97 BP |
4207 | return _resultobj; |
4208 | } | |
4209 | ||
fe47ec10 RD |
4210 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) |
4211 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4212 | PyObject * _resultobj; |
fe47ec10 | 4213 | int _result; |
f6bcfd97 | 4214 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4215 | PyObject * _argo0 = 0; |
fe47ec10 | 4216 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4217 | |
4218 | self = self; | |
fe47ec10 | 4219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) |
f6bcfd97 BP |
4220 | return NULL; |
4221 | if (_argo0) { | |
4222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4225 | return NULL; |
4226 | } | |
4227 | } | |
4228 | { | |
4229 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4230 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
f6bcfd97 BP |
4231 | |
4232 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4233 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4234 | return _resultobj; |
4235 | } | |
4236 | ||
fe47ec10 RD |
4237 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) |
4238 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4239 | PyObject * _resultobj; |
f6bcfd97 BP |
4240 | wxStyledTextCtrl * _arg0; |
4241 | int _arg1; | |
4242 | PyObject * _argo0 = 0; | |
fe47ec10 | 4243 | char *_kwnames[] = { "self","width", NULL }; |
f6bcfd97 BP |
4244 | |
4245 | self = self; | |
fe47ec10 | 4246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4247 | return NULL; |
4248 | if (_argo0) { | |
4249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4252 | return NULL; |
4253 | } | |
4254 | } | |
4255 | { | |
4256 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4257 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
f6bcfd97 BP |
4258 | |
4259 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4260 | } Py_INCREF(Py_None); |
4261 | _resultobj = Py_None; | |
f6bcfd97 BP |
4262 | return _resultobj; |
4263 | } | |
4264 | ||
fe47ec10 RD |
4265 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) |
4266 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4267 | PyObject * _resultobj; |
4268 | int _result; | |
4269 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4270 | PyObject * _argo0 = 0; |
fe47ec10 | 4271 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4272 | |
4273 | self = self; | |
fe47ec10 | 4274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) |
f6bcfd97 BP |
4275 | return NULL; |
4276 | if (_argo0) { | |
4277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4280 | return NULL; |
4281 | } | |
4282 | } | |
4283 | { | |
4284 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4285 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
f6bcfd97 BP |
4286 | |
4287 | wxPy_END_ALLOW_THREADS; | |
4288 | } _resultobj = Py_BuildValue("i",_result); | |
4289 | return _resultobj; | |
4290 | } | |
4291 | ||
fe47ec10 RD |
4292 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) |
4293 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4294 | PyObject * _resultobj; |
f6bcfd97 BP |
4295 | wxStyledTextCtrl * _arg0; |
4296 | int _arg1; | |
f6bcfd97 | 4297 | PyObject * _argo0 = 0; |
fe47ec10 | 4298 | char *_kwnames[] = { "self","width", NULL }; |
f6bcfd97 BP |
4299 | |
4300 | self = self; | |
fe47ec10 | 4301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4302 | return NULL; |
4303 | if (_argo0) { | |
4304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4307 | return NULL; |
4308 | } | |
4309 | } | |
4310 | { | |
4311 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4312 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
f6bcfd97 BP |
4313 | |
4314 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4315 | } Py_INCREF(Py_None); |
4316 | _resultobj = Py_None; | |
f6bcfd97 BP |
4317 | return _resultobj; |
4318 | } | |
4319 | ||
fe47ec10 RD |
4320 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) |
4321 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4322 | PyObject * _resultobj; |
4323 | int _result; | |
4324 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4325 | PyObject * _argo0 = 0; |
fe47ec10 | 4326 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4327 | |
4328 | self = self; | |
fe47ec10 | 4329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) |
f6bcfd97 BP |
4330 | return NULL; |
4331 | if (_argo0) { | |
4332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4335 | return NULL; |
4336 | } | |
4337 | } | |
4338 | { | |
4339 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4340 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
f6bcfd97 BP |
4341 | |
4342 | wxPy_END_ALLOW_THREADS; | |
4343 | } _resultobj = Py_BuildValue("i",_result); | |
4344 | return _resultobj; | |
4345 | } | |
4346 | ||
fe47ec10 RD |
4347 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) |
4348 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4349 | PyObject * _resultobj; |
fe47ec10 | 4350 | bool _result; |
f6bcfd97 | 4351 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4352 | PyObject * _argo0 = 0; |
fe47ec10 | 4353 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4354 | |
4355 | self = self; | |
fe47ec10 | 4356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) |
f6bcfd97 BP |
4357 | return NULL; |
4358 | if (_argo0) { | |
4359 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4360 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4362 | return NULL; |
4363 | } | |
4364 | } | |
4365 | { | |
4366 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4367 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
f6bcfd97 BP |
4368 | |
4369 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4370 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4371 | return _resultobj; |
4372 | } | |
4373 | ||
fe47ec10 RD |
4374 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) |
4375 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4376 | PyObject * _resultobj; |
4377 | wxStyledTextCtrl * _arg0; | |
4378 | int _arg1; | |
4379 | int _arg2; | |
4380 | PyObject * _argo0 = 0; | |
fe47ec10 | 4381 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
4382 | |
4383 | self = self; | |
fe47ec10 | 4384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4385 | return NULL; |
4386 | if (_argo0) { | |
4387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4390 | return NULL; |
4391 | } | |
4392 | } | |
4393 | { | |
4394 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4395 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
4396 | |
4397 | wxPy_END_ALLOW_THREADS; | |
4398 | } Py_INCREF(Py_None); | |
4399 | _resultobj = Py_None; | |
4400 | return _resultobj; | |
4401 | } | |
4402 | ||
fe47ec10 RD |
4403 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) |
4404 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4405 | PyObject * _resultobj; |
fe47ec10 | 4406 | wxString * _result; |
f6bcfd97 | 4407 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4408 | PyObject * _argo0 = 0; |
fe47ec10 | 4409 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4410 | |
4411 | self = self; | |
fe47ec10 | 4412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) |
f6bcfd97 BP |
4413 | return NULL; |
4414 | if (_argo0) { | |
4415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4418 | return NULL; |
4419 | } | |
4420 | } | |
4421 | { | |
4422 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4423 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
f6bcfd97 BP |
4424 | |
4425 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4426 | }{ |
4427 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4428 | } | |
4429 | { | |
4430 | delete _result; | |
4431 | } | |
f6bcfd97 BP |
4432 | return _resultobj; |
4433 | } | |
4434 | ||
fe47ec10 RD |
4435 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) |
4436 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4437 | PyObject * _resultobj; |
fe47ec10 | 4438 | wxString * _result; |
f6bcfd97 BP |
4439 | wxStyledTextCtrl * _arg0; |
4440 | int _arg1; | |
fe47ec10 | 4441 | int _arg2; |
f6bcfd97 | 4442 | PyObject * _argo0 = 0; |
fe47ec10 | 4443 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
4444 | |
4445 | self = self; | |
fe47ec10 | 4446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4447 | return NULL; |
4448 | if (_argo0) { | |
4449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4452 | return NULL; |
4453 | } | |
4454 | } | |
f6bcfd97 BP |
4455 | { |
4456 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4457 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
f6bcfd97 BP |
4458 | |
4459 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4460 | }{ |
4461 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4462 | } | |
4463 | { | |
4464 | delete _result; | |
4465 | } | |
f6bcfd97 BP |
4466 | return _resultobj; |
4467 | } | |
4468 | ||
fe47ec10 RD |
4469 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) |
4470 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4471 | PyObject * _resultobj; |
4472 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4473 | bool _arg1; |
f6bcfd97 | 4474 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4475 | int tempbool1; |
4476 | char *_kwnames[] = { "self","normal", NULL }; | |
f6bcfd97 BP |
4477 | |
4478 | self = self; | |
fe47ec10 | 4479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4480 | return NULL; |
4481 | if (_argo0) { | |
4482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4485 | return NULL; |
4486 | } | |
4487 | } | |
fe47ec10 | 4488 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
4489 | { |
4490 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4491 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
f6bcfd97 BP |
4492 | |
4493 | wxPy_END_ALLOW_THREADS; | |
4494 | } Py_INCREF(Py_None); | |
4495 | _resultobj = Py_None; | |
f6bcfd97 BP |
4496 | return _resultobj; |
4497 | } | |
4498 | ||
fe47ec10 RD |
4499 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) |
4500 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4501 | PyObject * _resultobj; |
fe47ec10 | 4502 | int _result; |
f6bcfd97 | 4503 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 4504 | int _arg1; |
f6bcfd97 | 4505 | PyObject * _argo0 = 0; |
fe47ec10 | 4506 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4507 | |
4508 | self = self; | |
fe47ec10 | 4509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4510 | return NULL; |
4511 | if (_argo0) { | |
4512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4515 | return NULL; |
4516 | } | |
4517 | } | |
4518 | { | |
4519 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4520 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
f6bcfd97 BP |
4521 | |
4522 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4523 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4524 | return _resultobj; |
4525 | } | |
4526 | ||
fe47ec10 RD |
4527 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) |
4528 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4529 | PyObject * _resultobj; |
fe47ec10 | 4530 | int _result; |
f6bcfd97 | 4531 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 4532 | int _arg1; |
f6bcfd97 | 4533 | PyObject * _argo0 = 0; |
fe47ec10 | 4534 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4535 | |
4536 | self = self; | |
fe47ec10 | 4537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4538 | return NULL; |
4539 | if (_argo0) { | |
4540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4543 | return NULL; |
4544 | } | |
4545 | } | |
4546 | { | |
4547 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4548 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
f6bcfd97 BP |
4549 | |
4550 | wxPy_END_ALLOW_THREADS; | |
4551 | } _resultobj = Py_BuildValue("i",_result); | |
4552 | return _resultobj; | |
4553 | } | |
4554 | ||
fe47ec10 RD |
4555 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) |
4556 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4557 | PyObject * _resultobj; |
f6bcfd97 | 4558 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4559 | int _arg1; |
4560 | int _arg2; | |
f6bcfd97 | 4561 | PyObject * _argo0 = 0; |
fe47ec10 | 4562 | char *_kwnames[] = { "self","columns","lines", NULL }; |
f6bcfd97 BP |
4563 | |
4564 | self = self; | |
fe47ec10 | 4565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4566 | return NULL; |
4567 | if (_argo0) { | |
4568 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4569 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4571 | return NULL; |
4572 | } | |
4573 | } | |
4574 | { | |
4575 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4576 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
4577 | |
4578 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4579 | } Py_INCREF(Py_None); |
4580 | _resultobj = Py_None; | |
f6bcfd97 BP |
4581 | return _resultobj; |
4582 | } | |
4583 | ||
fe47ec10 RD |
4584 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) |
4585 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4586 | PyObject * _resultobj; |
4587 | wxStyledTextCtrl * _arg0; | |
4588 | PyObject * _argo0 = 0; | |
4589 | char *_kwnames[] = { "self", NULL }; | |
4590 | ||
4591 | self = self; | |
fe47ec10 | 4592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) |
f6bcfd97 BP |
4593 | return NULL; |
4594 | if (_argo0) { | |
4595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4598 | return NULL; |
4599 | } | |
4600 | } | |
4601 | { | |
4602 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4603 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
f6bcfd97 BP |
4604 | |
4605 | wxPy_END_ALLOW_THREADS; | |
4606 | } Py_INCREF(Py_None); | |
4607 | _resultobj = Py_None; | |
4608 | return _resultobj; | |
4609 | } | |
4610 | ||
fe47ec10 RD |
4611 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) |
4612 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4613 | PyObject * _resultobj; |
4614 | wxStyledTextCtrl * _arg0; | |
4615 | wxString * _arg1; | |
4616 | PyObject * _argo0 = 0; | |
4617 | PyObject * _obj1 = 0; | |
fe47ec10 | 4618 | char *_kwnames[] = { "self","text", NULL }; |
f6bcfd97 BP |
4619 | |
4620 | self = self; | |
fe47ec10 | 4621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
4622 | return NULL; |
4623 | if (_argo0) { | |
4624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4627 | return NULL; |
4628 | } | |
4629 | } | |
4630 | { | |
4631 | if (!PyString_Check(_obj1)) { | |
4632 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4633 | return NULL; | |
4634 | } | |
4635 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4636 | } | |
4637 | { | |
4638 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4639 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
f6bcfd97 BP |
4640 | |
4641 | wxPy_END_ALLOW_THREADS; | |
4642 | } Py_INCREF(Py_None); | |
4643 | _resultobj = Py_None; | |
4644 | { | |
4645 | if (_obj1) | |
4646 | delete _arg1; | |
4647 | } | |
4648 | return _resultobj; | |
4649 | } | |
4650 | ||
fe47ec10 RD |
4651 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
4652 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4653 | PyObject * _resultobj; |
4654 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4655 | bool _arg1; |
f6bcfd97 | 4656 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4657 | int tempbool1; |
4658 | char *_kwnames[] = { "self","readOnly", NULL }; | |
f6bcfd97 BP |
4659 | |
4660 | self = self; | |
fe47ec10 | 4661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4662 | return NULL; |
4663 | if (_argo0) { | |
4664 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4665 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4667 | return NULL; |
4668 | } | |
4669 | } | |
fe47ec10 | 4670 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
4671 | { |
4672 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4673 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
f6bcfd97 BP |
4674 | |
4675 | wxPy_END_ALLOW_THREADS; | |
4676 | } Py_INCREF(Py_None); | |
4677 | _resultobj = Py_None; | |
4678 | return _resultobj; | |
4679 | } | |
4680 | ||
fe47ec10 RD |
4681 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) |
4682 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4683 | PyObject * _resultobj; |
fe47ec10 | 4684 | bool _result; |
f6bcfd97 BP |
4685 | wxStyledTextCtrl * _arg0; |
4686 | PyObject * _argo0 = 0; | |
4687 | char *_kwnames[] = { "self", NULL }; | |
4688 | ||
4689 | self = self; | |
fe47ec10 | 4690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) |
f6bcfd97 BP |
4691 | return NULL; |
4692 | if (_argo0) { | |
4693 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4694 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4696 | return NULL; |
4697 | } | |
4698 | } | |
4699 | { | |
4700 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4701 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
f6bcfd97 BP |
4702 | |
4703 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4704 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4705 | return _resultobj; |
4706 | } | |
4707 | ||
fe47ec10 RD |
4708 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) |
4709 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4710 | PyObject * _resultobj; |
fe47ec10 | 4711 | bool _result; |
f6bcfd97 | 4712 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4713 | PyObject * _argo0 = 0; |
fe47ec10 | 4714 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4715 | |
4716 | self = self; | |
fe47ec10 | 4717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) |
f6bcfd97 BP |
4718 | return NULL; |
4719 | if (_argo0) { | |
4720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4723 | return NULL; |
4724 | } | |
4725 | } | |
f6bcfd97 BP |
4726 | { |
4727 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4728 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
f6bcfd97 BP |
4729 | |
4730 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4731 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4732 | return _resultobj; |
4733 | } | |
4734 | ||
fe47ec10 RD |
4735 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) |
4736 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4737 | PyObject * _resultobj; |
4738 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4739 | PyObject * _argo0 = 0; |
fe47ec10 | 4740 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4741 | |
4742 | self = self; | |
fe47ec10 | 4743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) |
f6bcfd97 BP |
4744 | return NULL; |
4745 | if (_argo0) { | |
4746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4749 | return NULL; |
4750 | } | |
4751 | } | |
f6bcfd97 BP |
4752 | { |
4753 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4754 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
f6bcfd97 BP |
4755 | |
4756 | wxPy_END_ALLOW_THREADS; | |
4757 | } Py_INCREF(Py_None); | |
4758 | _resultobj = Py_None; | |
f6bcfd97 BP |
4759 | return _resultobj; |
4760 | } | |
4761 | ||
fe47ec10 RD |
4762 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
4763 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4764 | PyObject * _resultobj; |
4765 | wxStyledTextCtrl * _arg0; | |
4766 | PyObject * _argo0 = 0; | |
4767 | char *_kwnames[] = { "self", NULL }; | |
4768 | ||
4769 | self = self; | |
fe47ec10 | 4770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) |
f6bcfd97 BP |
4771 | return NULL; |
4772 | if (_argo0) { | |
4773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4776 | return NULL; |
4777 | } | |
4778 | } | |
4779 | { | |
4780 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4781 | wxStyledTextCtrl_Undo(_arg0); |
f6bcfd97 BP |
4782 | |
4783 | wxPy_END_ALLOW_THREADS; | |
4784 | } Py_INCREF(Py_None); | |
4785 | _resultobj = Py_None; | |
4786 | return _resultobj; | |
4787 | } | |
4788 | ||
fe47ec10 RD |
4789 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) |
4790 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4791 | PyObject * _resultobj; |
f6bcfd97 BP |
4792 | wxStyledTextCtrl * _arg0; |
4793 | PyObject * _argo0 = 0; | |
4794 | char *_kwnames[] = { "self", NULL }; | |
4795 | ||
4796 | self = self; | |
fe47ec10 | 4797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) |
f6bcfd97 BP |
4798 | return NULL; |
4799 | if (_argo0) { | |
4800 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4801 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4803 | return NULL; |
4804 | } | |
4805 | } | |
4806 | { | |
4807 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4808 | wxStyledTextCtrl_Cut(_arg0); |
f6bcfd97 BP |
4809 | |
4810 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4811 | } Py_INCREF(Py_None); |
4812 | _resultobj = Py_None; | |
f6bcfd97 BP |
4813 | return _resultobj; |
4814 | } | |
4815 | ||
fe47ec10 RD |
4816 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) |
4817 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4818 | PyObject * _resultobj; |
f6bcfd97 BP |
4819 | wxStyledTextCtrl * _arg0; |
4820 | PyObject * _argo0 = 0; | |
4821 | char *_kwnames[] = { "self", NULL }; | |
4822 | ||
4823 | self = self; | |
fe47ec10 | 4824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) |
f6bcfd97 BP |
4825 | return NULL; |
4826 | if (_argo0) { | |
4827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4830 | return NULL; |
4831 | } | |
4832 | } | |
4833 | { | |
4834 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4835 | wxStyledTextCtrl_Copy(_arg0); |
f6bcfd97 BP |
4836 | |
4837 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4838 | } Py_INCREF(Py_None); |
4839 | _resultobj = Py_None; | |
f6bcfd97 BP |
4840 | return _resultobj; |
4841 | } | |
4842 | ||
fe47ec10 RD |
4843 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) |
4844 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4845 | PyObject * _resultobj; |
4846 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4847 | PyObject * _argo0 = 0; |
fe47ec10 | 4848 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4849 | |
4850 | self = self; | |
fe47ec10 | 4851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) |
f6bcfd97 BP |
4852 | return NULL; |
4853 | if (_argo0) { | |
4854 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4855 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4857 | return NULL; |
4858 | } | |
4859 | } | |
4860 | { | |
4861 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4862 | wxStyledTextCtrl_Paste(_arg0); |
f6bcfd97 BP |
4863 | |
4864 | wxPy_END_ALLOW_THREADS; | |
4865 | } Py_INCREF(Py_None); | |
4866 | _resultobj = Py_None; | |
4867 | return _resultobj; | |
4868 | } | |
4869 | ||
fe47ec10 RD |
4870 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) |
4871 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4872 | PyObject * _resultobj; |
4873 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4874 | PyObject * _argo0 = 0; |
fe47ec10 | 4875 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4876 | |
4877 | self = self; | |
fe47ec10 | 4878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) |
f6bcfd97 BP |
4879 | return NULL; |
4880 | if (_argo0) { | |
4881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4884 | return NULL; |
4885 | } | |
4886 | } | |
f6bcfd97 BP |
4887 | { |
4888 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4889 | wxStyledTextCtrl_Clear(_arg0); |
f6bcfd97 BP |
4890 | |
4891 | wxPy_END_ALLOW_THREADS; | |
4892 | } Py_INCREF(Py_None); | |
4893 | _resultobj = Py_None; | |
4894 | return _resultobj; | |
4895 | } | |
4896 | ||
fe47ec10 RD |
4897 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
4898 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4899 | PyObject * _resultobj; |
4900 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4901 | wxString * _arg1; |
f6bcfd97 | 4902 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4903 | PyObject * _obj1 = 0; |
4904 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
4905 | |
4906 | self = self; | |
fe47ec10 | 4907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
4908 | return NULL; |
4909 | if (_argo0) { | |
4910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4913 | return NULL; |
4914 | } | |
4915 | } | |
fe47ec10 RD |
4916 | { |
4917 | if (!PyString_Check(_obj1)) { | |
4918 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4919 | return NULL; | |
4920 | } | |
4921 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4922 | } | |
f6bcfd97 BP |
4923 | { |
4924 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4925 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
f6bcfd97 BP |
4926 | |
4927 | wxPy_END_ALLOW_THREADS; | |
4928 | } Py_INCREF(Py_None); | |
4929 | _resultobj = Py_None; | |
fe47ec10 RD |
4930 | { |
4931 | if (_obj1) | |
4932 | delete _arg1; | |
4933 | } | |
f6bcfd97 BP |
4934 | return _resultobj; |
4935 | } | |
4936 | ||
fe47ec10 RD |
4937 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) |
4938 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4939 | PyObject * _resultobj; |
fe47ec10 | 4940 | wxString * _result; |
f6bcfd97 | 4941 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4942 | PyObject * _argo0 = 0; |
fe47ec10 | 4943 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4944 | |
4945 | self = self; | |
fe47ec10 | 4946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) |
f6bcfd97 BP |
4947 | return NULL; |
4948 | if (_argo0) { | |
4949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4952 | return NULL; |
4953 | } | |
4954 | } | |
4955 | { | |
4956 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4957 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
f6bcfd97 BP |
4958 | |
4959 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4960 | }{ |
4961 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4962 | } | |
4963 | { | |
4964 | delete _result; | |
4965 | } | |
f6bcfd97 BP |
4966 | return _resultobj; |
4967 | } | |
4968 | ||
fe47ec10 RD |
4969 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) |
4970 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4971 | PyObject * _resultobj; |
fe47ec10 | 4972 | int _result; |
f6bcfd97 BP |
4973 | wxStyledTextCtrl * _arg0; |
4974 | PyObject * _argo0 = 0; | |
4975 | char *_kwnames[] = { "self", NULL }; | |
4976 | ||
4977 | self = self; | |
fe47ec10 | 4978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
4979 | return NULL; |
4980 | if (_argo0) { | |
4981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4984 | return NULL; |
4985 | } | |
4986 | } | |
4987 | { | |
4988 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4989 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
f6bcfd97 BP |
4990 | |
4991 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4992 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4993 | return _resultobj; |
4994 | } | |
4995 | ||
fe47ec10 RD |
4996 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) |
4997 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4998 | PyObject * _resultobj; |
4999 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5000 | bool _arg1; |
f6bcfd97 | 5001 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5002 | int tempbool1; |
5003 | char *_kwnames[] = { "self","overtype", NULL }; | |
f6bcfd97 BP |
5004 | |
5005 | self = self; | |
fe47ec10 | 5006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5007 | return NULL; |
5008 | if (_argo0) { | |
5009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5012 | return NULL; |
5013 | } | |
5014 | } | |
fe47ec10 | 5015 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
5016 | { |
5017 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5018 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
f6bcfd97 BP |
5019 | |
5020 | wxPy_END_ALLOW_THREADS; | |
5021 | } Py_INCREF(Py_None); | |
5022 | _resultobj = Py_None; | |
5023 | return _resultobj; | |
5024 | } | |
5025 | ||
fe47ec10 RD |
5026 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) |
5027 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5028 | PyObject * _resultobj; |
fe47ec10 | 5029 | bool _result; |
f6bcfd97 | 5030 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5031 | PyObject * _argo0 = 0; |
fe47ec10 | 5032 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5033 | |
5034 | self = self; | |
fe47ec10 | 5035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) |
f6bcfd97 BP |
5036 | return NULL; |
5037 | if (_argo0) { | |
5038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5041 | return NULL; |
5042 | } | |
5043 | } | |
f6bcfd97 BP |
5044 | { |
5045 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5046 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
f6bcfd97 BP |
5047 | |
5048 | wxPy_END_ALLOW_THREADS; | |
5049 | } _resultobj = Py_BuildValue("i",_result); | |
5050 | return _resultobj; | |
5051 | } | |
5052 | ||
fe47ec10 RD |
5053 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) |
5054 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5055 | PyObject * _resultobj; |
f6bcfd97 | 5056 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
5057 | int _arg1; |
5058 | wxString * _arg2; | |
f6bcfd97 | 5059 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5060 | PyObject * _obj2 = 0; |
5061 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
f6bcfd97 BP |
5062 | |
5063 | self = self; | |
fe47ec10 | 5064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
5065 | return NULL; |
5066 | if (_argo0) { | |
5067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5070 | return NULL; |
5071 | } | |
5072 | } | |
fe47ec10 RD |
5073 | { |
5074 | if (!PyString_Check(_obj2)) { | |
5075 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5076 | return NULL; | |
5077 | } | |
5078 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
5079 | } | |
f6bcfd97 BP |
5080 | { |
5081 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5082 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
5083 | |
5084 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5085 | } Py_INCREF(Py_None); |
5086 | _resultobj = Py_None; | |
5087 | { | |
5088 | if (_obj2) | |
5089 | delete _arg2; | |
5090 | } | |
f6bcfd97 BP |
5091 | return _resultobj; |
5092 | } | |
5093 | ||
fe47ec10 RD |
5094 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) |
5095 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5096 | PyObject * _resultobj; |
5097 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5098 | PyObject * _argo0 = 0; |
fe47ec10 | 5099 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5100 | |
5101 | self = self; | |
fe47ec10 | 5102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
5103 | return NULL; |
5104 | if (_argo0) { | |
5105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5108 | return NULL; |
5109 | } | |
5110 | } | |
5111 | { | |
5112 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5113 | wxStyledTextCtrl_CallTipCancel(_arg0); |
f6bcfd97 BP |
5114 | |
5115 | wxPy_END_ALLOW_THREADS; | |
5116 | } Py_INCREF(Py_None); | |
5117 | _resultobj = Py_None; | |
5118 | return _resultobj; | |
5119 | } | |
5120 | ||
fe47ec10 RD |
5121 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) |
5122 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5123 | PyObject * _resultobj; |
fe47ec10 | 5124 | bool _result; |
f6bcfd97 | 5125 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5126 | PyObject * _argo0 = 0; |
fe47ec10 | 5127 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5128 | |
5129 | self = self; | |
fe47ec10 | 5130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
5131 | return NULL; |
5132 | if (_argo0) { | |
5133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5136 | return NULL; |
5137 | } | |
5138 | } | |
5139 | { | |
5140 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5141 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
f6bcfd97 BP |
5142 | |
5143 | wxPy_END_ALLOW_THREADS; | |
5144 | } _resultobj = Py_BuildValue("i",_result); | |
5145 | return _resultobj; | |
5146 | } | |
5147 | ||
fe47ec10 RD |
5148 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) |
5149 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5150 | PyObject * _resultobj; |
5151 | int _result; | |
5152 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5153 | PyObject * _argo0 = 0; |
fe47ec10 | 5154 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5155 | |
5156 | self = self; | |
fe47ec10 | 5157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
5158 | return NULL; |
5159 | if (_argo0) { | |
5160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5163 | return NULL; |
5164 | } | |
5165 | } | |
5166 | { | |
5167 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5168 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
f6bcfd97 BP |
5169 | |
5170 | wxPy_END_ALLOW_THREADS; | |
5171 | } _resultobj = Py_BuildValue("i",_result); | |
5172 | return _resultobj; | |
5173 | } | |
5174 | ||
fe47ec10 RD |
5175 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) |
5176 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5177 | PyObject * _resultobj; | |
5178 | wxStyledTextCtrl * _arg0; | |
5179 | int _arg1; | |
5180 | int _arg2; | |
5181 | PyObject * _argo0 = 0; | |
5182 | char *_kwnames[] = { "self","start","end", NULL }; | |
5183 | ||
5184 | self = self; | |
5185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5186 | return NULL; | |
5187 | if (_argo0) { | |
5188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); | |
5191 | return NULL; | |
5192 | } | |
5193 | } | |
5194 | { | |
5195 | wxPy_BEGIN_ALLOW_THREADS; | |
5196 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); | |
5197 | ||
5198 | wxPy_END_ALLOW_THREADS; | |
5199 | } Py_INCREF(Py_None); | |
5200 | _resultobj = Py_None; | |
5201 | return _resultobj; | |
5202 | } | |
5203 | ||
5204 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) | |
5205 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5206 | PyObject * _resultobj; | |
5207 | wxStyledTextCtrl * _arg0; | |
5208 | wxColour * _arg1; | |
5209 | PyObject * _argo0 = 0; | |
5210 | wxColour temp; | |
5211 | PyObject * _obj1 = 0; | |
5212 | char *_kwnames[] = { "self","back", NULL }; | |
5213 | ||
5214 | self = self; | |
5215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) | |
5216 | return NULL; | |
5217 | if (_argo0) { | |
5218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); | |
5221 | return NULL; | |
5222 | } | |
5223 | } | |
5224 | { | |
5225 | _arg1 = &temp; | |
5226 | if (! wxColour_helper(_obj1, &_arg1)) | |
5227 | return NULL; | |
5228 | } | |
5229 | { | |
5230 | wxPy_BEGIN_ALLOW_THREADS; | |
5231 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); | |
5232 | ||
5233 | wxPy_END_ALLOW_THREADS; | |
5234 | } Py_INCREF(Py_None); | |
5235 | _resultobj = Py_None; | |
5236 | return _resultobj; | |
5237 | } | |
5238 | ||
5239 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) | |
5240 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5241 | PyObject * _resultobj; | |
5242 | int _result; | |
5243 | wxStyledTextCtrl * _arg0; | |
5244 | int _arg1; | |
5245 | PyObject * _argo0 = 0; | |
5246 | char *_kwnames[] = { "self","line", NULL }; | |
5247 | ||
5248 | self = self; | |
5249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) | |
5250 | return NULL; | |
5251 | if (_argo0) { | |
5252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); | |
5255 | return NULL; | |
5256 | } | |
5257 | } | |
5258 | { | |
5259 | wxPy_BEGIN_ALLOW_THREADS; | |
5260 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); | |
5261 | ||
5262 | wxPy_END_ALLOW_THREADS; | |
5263 | } _resultobj = Py_BuildValue("i",_result); | |
5264 | return _resultobj; | |
5265 | } | |
5266 | ||
5267 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) | |
5268 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5269 | PyObject * _resultobj; | |
f6bcfd97 BP |
5270 | int _result; |
5271 | wxStyledTextCtrl * _arg0; | |
5272 | int _arg1; | |
fe47ec10 RD |
5273 | PyObject * _argo0 = 0; |
5274 | char *_kwnames[] = { "self","lineDisplay", NULL }; | |
5275 | ||
5276 | self = self; | |
5277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) | |
5278 | return NULL; | |
5279 | if (_argo0) { | |
5280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); | |
5283 | return NULL; | |
5284 | } | |
5285 | } | |
5286 | { | |
5287 | wxPy_BEGIN_ALLOW_THREADS; | |
5288 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); | |
5289 | ||
5290 | wxPy_END_ALLOW_THREADS; | |
5291 | } _resultobj = Py_BuildValue("i",_result); | |
5292 | return _resultobj; | |
5293 | } | |
5294 | ||
5295 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) | |
5296 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5297 | PyObject * _resultobj; | |
5298 | wxStyledTextCtrl * _arg0; | |
5299 | int _arg1; | |
f6bcfd97 BP |
5300 | int _arg2; |
5301 | PyObject * _argo0 = 0; | |
5302 | char *_kwnames[] = { "self","line","level", NULL }; | |
5303 | ||
5304 | self = self; | |
5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5306 | return NULL; | |
5307 | if (_argo0) { | |
5308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
5311 | return NULL; | |
5312 | } | |
5313 | } | |
5314 | { | |
5315 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5316 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
5317 | |
5318 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5319 | } Py_INCREF(Py_None); |
5320 | _resultobj = Py_None; | |
f6bcfd97 BP |
5321 | return _resultobj; |
5322 | } | |
5323 | ||
5324 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) | |
5325 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5326 | PyObject * _resultobj; | |
5327 | int _result; | |
5328 | wxStyledTextCtrl * _arg0; | |
5329 | int _arg1; | |
5330 | PyObject * _argo0 = 0; | |
5331 | char *_kwnames[] = { "self","line", NULL }; | |
5332 | ||
5333 | self = self; | |
5334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) | |
5335 | return NULL; | |
5336 | if (_argo0) { | |
5337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
5340 | return NULL; | |
5341 | } | |
5342 | } | |
5343 | { | |
5344 | wxPy_BEGIN_ALLOW_THREADS; | |
5345 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); | |
5346 | ||
5347 | wxPy_END_ALLOW_THREADS; | |
5348 | } _resultobj = Py_BuildValue("i",_result); | |
5349 | return _resultobj; | |
5350 | } | |
5351 | ||
5352 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) | |
5353 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5354 | PyObject * _resultobj; | |
5355 | int _result; | |
5356 | wxStyledTextCtrl * _arg0; | |
5357 | int _arg1; | |
5358 | int _arg2; | |
5359 | PyObject * _argo0 = 0; | |
5360 | char *_kwnames[] = { "self","line","level", NULL }; | |
5361 | ||
5362 | self = self; | |
5363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5364 | return NULL; | |
5365 | if (_argo0) { | |
5366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); | |
5369 | return NULL; | |
5370 | } | |
5371 | } | |
5372 | { | |
5373 | wxPy_BEGIN_ALLOW_THREADS; | |
5374 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); | |
5375 | ||
5376 | wxPy_END_ALLOW_THREADS; | |
5377 | } _resultobj = Py_BuildValue("i",_result); | |
5378 | return _resultobj; | |
5379 | } | |
5380 | ||
5381 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) | |
5382 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5383 | PyObject * _resultobj; | |
5384 | int _result; | |
5385 | wxStyledTextCtrl * _arg0; | |
5386 | int _arg1; | |
5387 | PyObject * _argo0 = 0; | |
5388 | char *_kwnames[] = { "self","line", NULL }; | |
5389 | ||
5390 | self = self; | |
5391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) | |
5392 | return NULL; | |
5393 | if (_argo0) { | |
5394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); | |
5397 | return NULL; | |
5398 | } | |
5399 | } | |
5400 | { | |
5401 | wxPy_BEGIN_ALLOW_THREADS; | |
5402 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); | |
5403 | ||
5404 | wxPy_END_ALLOW_THREADS; | |
5405 | } _resultobj = Py_BuildValue("i",_result); | |
5406 | return _resultobj; | |
5407 | } | |
5408 | ||
5409 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) | |
5410 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5411 | PyObject * _resultobj; | |
5412 | wxStyledTextCtrl * _arg0; | |
5413 | int _arg1; | |
5414 | int _arg2; | |
5415 | PyObject * _argo0 = 0; | |
5416 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
5417 | ||
5418 | self = self; | |
5419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5420 | return NULL; | |
5421 | if (_argo0) { | |
5422 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5423 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); | |
5425 | return NULL; | |
5426 | } | |
5427 | } | |
5428 | { | |
5429 | wxPy_BEGIN_ALLOW_THREADS; | |
5430 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); | |
5431 | ||
5432 | wxPy_END_ALLOW_THREADS; | |
5433 | } Py_INCREF(Py_None); | |
5434 | _resultobj = Py_None; | |
5435 | return _resultobj; | |
5436 | } | |
5437 | ||
5438 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) | |
5439 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5440 | PyObject * _resultobj; | |
5441 | wxStyledTextCtrl * _arg0; | |
5442 | int _arg1; | |
5443 | int _arg2; | |
5444 | PyObject * _argo0 = 0; | |
5445 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
5446 | ||
5447 | self = self; | |
5448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5449 | return NULL; | |
5450 | if (_argo0) { | |
5451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); | |
5454 | return NULL; | |
5455 | } | |
5456 | } | |
5457 | { | |
5458 | wxPy_BEGIN_ALLOW_THREADS; | |
5459 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); | |
5460 | ||
5461 | wxPy_END_ALLOW_THREADS; | |
5462 | } Py_INCREF(Py_None); | |
5463 | _resultobj = Py_None; | |
5464 | return _resultobj; | |
5465 | } | |
5466 | ||
5467 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) | |
5468 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5469 | PyObject * _resultobj; | |
5470 | bool _result; | |
5471 | wxStyledTextCtrl * _arg0; | |
5472 | int _arg1; | |
5473 | PyObject * _argo0 = 0; | |
5474 | char *_kwnames[] = { "self","line", NULL }; | |
5475 | ||
5476 | self = self; | |
5477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) | |
5478 | return NULL; | |
5479 | if (_argo0) { | |
5480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); | |
5483 | return NULL; | |
5484 | } | |
5485 | } | |
5486 | { | |
5487 | wxPy_BEGIN_ALLOW_THREADS; | |
5488 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); | |
5489 | ||
5490 | wxPy_END_ALLOW_THREADS; | |
5491 | } _resultobj = Py_BuildValue("i",_result); | |
5492 | return _resultobj; | |
5493 | } | |
5494 | ||
5495 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) | |
5496 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5497 | PyObject * _resultobj; | |
5498 | wxStyledTextCtrl * _arg0; | |
5499 | int _arg1; | |
5500 | bool _arg2; | |
5501 | PyObject * _argo0 = 0; | |
5502 | int tempbool2; | |
5503 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
5504 | ||
5505 | self = self; | |
5506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
5507 | return NULL; | |
5508 | if (_argo0) { | |
5509 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5510 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
5512 | return NULL; | |
5513 | } | |
5514 | } | |
5515 | _arg2 = (bool ) tempbool2; | |
5516 | { | |
5517 | wxPy_BEGIN_ALLOW_THREADS; | |
5518 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); | |
5519 | ||
5520 | wxPy_END_ALLOW_THREADS; | |
5521 | } Py_INCREF(Py_None); | |
5522 | _resultobj = Py_None; | |
5523 | return _resultobj; | |
5524 | } | |
5525 | ||
5526 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) | |
5527 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5528 | PyObject * _resultobj; | |
5529 | bool _result; | |
5530 | wxStyledTextCtrl * _arg0; | |
5531 | int _arg1; | |
5532 | PyObject * _argo0 = 0; | |
5533 | char *_kwnames[] = { "self","line", NULL }; | |
5534 | ||
5535 | self = self; | |
5536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) | |
5537 | return NULL; | |
5538 | if (_argo0) { | |
5539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
5542 | return NULL; | |
5543 | } | |
5544 | } | |
5545 | { | |
5546 | wxPy_BEGIN_ALLOW_THREADS; | |
5547 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); | |
5548 | ||
5549 | wxPy_END_ALLOW_THREADS; | |
5550 | } _resultobj = Py_BuildValue("i",_result); | |
5551 | return _resultobj; | |
5552 | } | |
5553 | ||
5554 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) | |
5555 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5556 | PyObject * _resultobj; | |
5557 | wxStyledTextCtrl * _arg0; | |
5558 | int _arg1; | |
5559 | PyObject * _argo0 = 0; | |
5560 | char *_kwnames[] = { "self","line", NULL }; | |
5561 | ||
5562 | self = self; | |
5563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
5564 | return NULL; | |
5565 | if (_argo0) { | |
5566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
5569 | return NULL; | |
5570 | } | |
5571 | } | |
5572 | { | |
5573 | wxPy_BEGIN_ALLOW_THREADS; | |
5574 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); | |
5575 | ||
5576 | wxPy_END_ALLOW_THREADS; | |
5577 | } Py_INCREF(Py_None); | |
5578 | _resultobj = Py_None; | |
5579 | return _resultobj; | |
5580 | } | |
5581 | ||
5582 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
5583 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5584 | PyObject * _resultobj; | |
5585 | wxStyledTextCtrl * _arg0; | |
5586 | int _arg1; | |
5587 | PyObject * _argo0 = 0; | |
5588 | char *_kwnames[] = { "self","line", NULL }; | |
5589 | ||
5590 | self = self; | |
5591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
5592 | return NULL; | |
5593 | if (_argo0) { | |
5594 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5595 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
5597 | return NULL; | |
5598 | } | |
5599 | } | |
5600 | { | |
5601 | wxPy_BEGIN_ALLOW_THREADS; | |
5602 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); | |
5603 | ||
5604 | wxPy_END_ALLOW_THREADS; | |
5605 | } Py_INCREF(Py_None); | |
5606 | _resultobj = Py_None; | |
5607 | return _resultobj; | |
5608 | } | |
5609 | ||
5610 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
5611 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5612 | PyObject * _resultobj; | |
5613 | wxStyledTextCtrl * _arg0; | |
5614 | int _arg1; | |
5615 | PyObject * _argo0 = 0; | |
5616 | char *_kwnames[] = { "self","flags", NULL }; | |
5617 | ||
5618 | self = self; | |
5619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
5620 | return NULL; | |
5621 | if (_argo0) { | |
5622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
5625 | return NULL; | |
5626 | } | |
5627 | } | |
5628 | { | |
5629 | wxPy_BEGIN_ALLOW_THREADS; | |
5630 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); | |
5631 | ||
5632 | wxPy_END_ALLOW_THREADS; | |
5633 | } Py_INCREF(Py_None); | |
5634 | _resultobj = Py_None; | |
5635 | return _resultobj; | |
5636 | } | |
5637 | ||
fe47ec10 RD |
5638 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) |
5639 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5640 | PyObject * _resultobj; |
fe47ec10 | 5641 | int _result; |
f6bcfd97 | 5642 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5643 | int _arg1; |
f6bcfd97 | 5644 | PyObject * _argo0 = 0; |
fe47ec10 | 5645 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
5646 | |
5647 | self = self; | |
fe47ec10 | 5648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5649 | return NULL; |
5650 | if (_argo0) { | |
5651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5654 | return NULL; |
5655 | } | |
5656 | } | |
5657 | { | |
5658 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5659 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
f6bcfd97 BP |
5660 | |
5661 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 5662 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5663 | return _resultobj; |
5664 | } | |
5665 | ||
fe47ec10 RD |
5666 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) |
5667 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5668 | PyObject * _resultobj; |
5669 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
5670 | int _arg1; |
5671 | int _arg2; | |
f6bcfd97 | 5672 | PyObject * _argo0 = 0; |
fe47ec10 | 5673 | char *_kwnames[] = { "self","pos1","pos2", NULL }; |
f6bcfd97 BP |
5674 | |
5675 | self = self; | |
fe47ec10 | 5676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
5677 | return NULL; |
5678 | if (_argo0) { | |
5679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5682 | return NULL; |
5683 | } | |
5684 | } | |
5685 | { | |
5686 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5687 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
5688 | |
5689 | wxPy_END_ALLOW_THREADS; | |
5690 | } Py_INCREF(Py_None); | |
5691 | _resultobj = Py_None; | |
5692 | return _resultobj; | |
5693 | } | |
5694 | ||
fe47ec10 RD |
5695 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) |
5696 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5697 | PyObject * _resultobj; |
5698 | wxStyledTextCtrl * _arg0; | |
5699 | int _arg1; | |
5700 | PyObject * _argo0 = 0; | |
fe47ec10 | 5701 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5702 | |
5703 | self = self; | |
fe47ec10 | 5704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5705 | return NULL; |
5706 | if (_argo0) { | |
5707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5710 | return NULL; |
5711 | } | |
5712 | } | |
5713 | { | |
5714 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5715 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
f6bcfd97 BP |
5716 | |
5717 | wxPy_END_ALLOW_THREADS; | |
5718 | } Py_INCREF(Py_None); | |
5719 | _resultobj = Py_None; | |
5720 | return _resultobj; | |
5721 | } | |
5722 | ||
fe47ec10 RD |
5723 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) |
5724 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5725 | PyObject * _resultobj; |
5726 | int _result; | |
5727 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5728 | int _arg1; |
f6bcfd97 | 5729 | PyObject * _argo0 = 0; |
fe47ec10 | 5730 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5731 | |
5732 | self = self; | |
fe47ec10 | 5733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5734 | return NULL; |
5735 | if (_argo0) { | |
5736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5739 | return NULL; |
5740 | } | |
5741 | } | |
5742 | { | |
5743 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5744 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
f6bcfd97 BP |
5745 | |
5746 | wxPy_END_ALLOW_THREADS; | |
5747 | } _resultobj = Py_BuildValue("i",_result); | |
5748 | return _resultobj; | |
5749 | } | |
5750 | ||
fe47ec10 RD |
5751 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) |
5752 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5753 | PyObject * _resultobj; |
fe47ec10 | 5754 | bool _result; |
f6bcfd97 BP |
5755 | wxStyledTextCtrl * _arg0; |
5756 | PyObject * _argo0 = 0; | |
5757 | char *_kwnames[] = { "self", NULL }; | |
5758 | ||
5759 | self = self; | |
fe47ec10 | 5760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) |
f6bcfd97 BP |
5761 | return NULL; |
5762 | if (_argo0) { | |
5763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5766 | return NULL; |
5767 | } | |
5768 | } | |
5769 | { | |
5770 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5771 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
f6bcfd97 BP |
5772 | |
5773 | wxPy_END_ALLOW_THREADS; | |
5774 | } _resultobj = Py_BuildValue("i",_result); | |
5775 | return _resultobj; | |
5776 | } | |
5777 | ||
fe47ec10 RD |
5778 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) |
5779 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5780 | PyObject * _resultobj; |
5781 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5782 | bool _arg1; |
f6bcfd97 | 5783 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5784 | int tempbool1; |
5785 | char *_kwnames[] = { "self","visible", NULL }; | |
f6bcfd97 BP |
5786 | |
5787 | self = self; | |
fe47ec10 | 5788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5789 | return NULL; |
5790 | if (_argo0) { | |
5791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5794 | return NULL; |
5795 | } | |
5796 | } | |
fe47ec10 | 5797 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
5798 | { |
5799 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5800 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
f6bcfd97 BP |
5801 | |
5802 | wxPy_END_ALLOW_THREADS; | |
5803 | } Py_INCREF(Py_None); | |
5804 | _resultobj = Py_None; | |
5805 | return _resultobj; | |
5806 | } | |
5807 | ||
fe47ec10 RD |
5808 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) |
5809 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5810 | PyObject * _resultobj; |
fe47ec10 | 5811 | void * _result; |
f6bcfd97 BP |
5812 | wxStyledTextCtrl * _arg0; |
5813 | PyObject * _argo0 = 0; | |
5814 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 | 5815 | char _ptemp[128]; |
f6bcfd97 BP |
5816 | |
5817 | self = self; | |
fe47ec10 | 5818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) |
f6bcfd97 BP |
5819 | return NULL; |
5820 | if (_argo0) { | |
5821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5824 | return NULL; |
5825 | } | |
5826 | } | |
5827 | { | |
5828 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5829 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
f6bcfd97 BP |
5830 | |
5831 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5832 | } if (_result) { |
5833 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
5834 | _resultobj = Py_BuildValue("s",_ptemp); | |
5835 | } else { | |
5836 | Py_INCREF(Py_None); | |
5837 | _resultobj = Py_None; | |
5838 | } | |
f6bcfd97 BP |
5839 | return _resultobj; |
5840 | } | |
5841 | ||
fe47ec10 RD |
5842 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) |
5843 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5844 | PyObject * _resultobj; |
5845 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5846 | void * _arg1; |
f6bcfd97 | 5847 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5848 | PyObject * _argo1 = 0; |
5849 | char *_kwnames[] = { "self","docPointer", NULL }; | |
f6bcfd97 BP |
5850 | |
5851 | self = self; | |
fe47ec10 | 5852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) |
f6bcfd97 BP |
5853 | return NULL; |
5854 | if (_argo0) { | |
5855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
5857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); |
5858 | return NULL; | |
5859 | } | |
5860 | } | |
5861 | if (_argo1) { | |
5862 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5863 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
5864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
f6bcfd97 BP |
5865 | return NULL; |
5866 | } | |
5867 | } | |
5868 | { | |
5869 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5870 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
f6bcfd97 BP |
5871 | |
5872 | wxPy_END_ALLOW_THREADS; | |
5873 | } Py_INCREF(Py_None); | |
5874 | _resultobj = Py_None; | |
5875 | return _resultobj; | |
5876 | } | |
5877 | ||
fe47ec10 RD |
5878 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) |
5879 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5880 | PyObject * _resultobj; |
f6bcfd97 | 5881 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5882 | int _arg1; |
f6bcfd97 | 5883 | PyObject * _argo0 = 0; |
fe47ec10 | 5884 | char *_kwnames[] = { "self","mask", NULL }; |
f6bcfd97 BP |
5885 | |
5886 | self = self; | |
fe47ec10 | 5887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5888 | return NULL; |
5889 | if (_argo0) { | |
5890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5893 | return NULL; |
5894 | } | |
5895 | } | |
5896 | { | |
5897 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5898 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
f6bcfd97 BP |
5899 | |
5900 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5901 | } Py_INCREF(Py_None); |
5902 | _resultobj = Py_None; | |
f6bcfd97 BP |
5903 | return _resultobj; |
5904 | } | |
5905 | ||
fe47ec10 RD |
5906 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) |
5907 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5908 | PyObject * _resultobj; |
fe47ec10 | 5909 | int _result; |
f6bcfd97 | 5910 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5911 | PyObject * _argo0 = 0; |
fe47ec10 | 5912 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5913 | |
5914 | self = self; | |
fe47ec10 | 5915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) |
f6bcfd97 BP |
5916 | return NULL; |
5917 | if (_argo0) { | |
5918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5921 | return NULL; |
5922 | } | |
5923 | } | |
f6bcfd97 BP |
5924 | { |
5925 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5926 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
f6bcfd97 BP |
5927 | |
5928 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 5929 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5930 | return _resultobj; |
5931 | } | |
5932 | ||
fe47ec10 RD |
5933 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) |
5934 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5935 | PyObject * _resultobj; | |
5936 | wxStyledTextCtrl * _arg0; | |
5937 | int _arg1; | |
5938 | PyObject * _argo0 = 0; | |
5939 | char *_kwnames[] = { "self","column", NULL }; | |
5940 | ||
5941 | self = self; | |
5942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
5943 | return NULL; | |
5944 | if (_argo0) { | |
5945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
5948 | return NULL; | |
5949 | } | |
5950 | } | |
5951 | { | |
5952 | wxPy_BEGIN_ALLOW_THREADS; | |
5953 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); | |
5954 | ||
5955 | wxPy_END_ALLOW_THREADS; | |
5956 | } Py_INCREF(Py_None); | |
5957 | _resultobj = Py_None; | |
5958 | return _resultobj; | |
5959 | } | |
5960 | ||
5961 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
5962 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5963 | PyObject * _resultobj; | |
5964 | int _result; | |
5965 | wxStyledTextCtrl * _arg0; | |
5966 | PyObject * _argo0 = 0; | |
5967 | char *_kwnames[] = { "self", NULL }; | |
5968 | ||
5969 | self = self; | |
5970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
5971 | return NULL; | |
5972 | if (_argo0) { | |
5973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
5976 | return NULL; | |
5977 | } | |
5978 | } | |
5979 | { | |
5980 | wxPy_BEGIN_ALLOW_THREADS; | |
5981 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); | |
5982 | ||
5983 | wxPy_END_ALLOW_THREADS; | |
5984 | } _resultobj = Py_BuildValue("i",_result); | |
5985 | return _resultobj; | |
5986 | } | |
5987 | ||
5988 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
5989 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5990 | PyObject * _resultobj; | |
5991 | wxStyledTextCtrl * _arg0; | |
5992 | int _arg1; | |
5993 | PyObject * _argo0 = 0; | |
5994 | char *_kwnames[] = { "self","mode", NULL }; | |
5995 | ||
5996 | self = self; | |
5997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
5998 | return NULL; | |
5999 | if (_argo0) { | |
6000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
6003 | return NULL; | |
6004 | } | |
6005 | } | |
6006 | { | |
6007 | wxPy_BEGIN_ALLOW_THREADS; | |
6008 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); | |
6009 | ||
6010 | wxPy_END_ALLOW_THREADS; | |
6011 | } Py_INCREF(Py_None); | |
6012 | _resultobj = Py_None; | |
6013 | return _resultobj; | |
6014 | } | |
6015 | ||
6016 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
6017 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6018 | PyObject * _resultobj; | |
6019 | wxColour * _result; | |
6020 | wxStyledTextCtrl * _arg0; | |
6021 | PyObject * _argo0 = 0; | |
6022 | char *_kwnames[] = { "self", NULL }; | |
6023 | char _ptemp[128]; | |
6024 | ||
6025 | self = self; | |
6026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
6027 | return NULL; | |
6028 | if (_argo0) { | |
6029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
6032 | return NULL; | |
6033 | } | |
6034 | } | |
6035 | { | |
6036 | wxPy_BEGIN_ALLOW_THREADS; | |
6037 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); | |
6038 | ||
6039 | wxPy_END_ALLOW_THREADS; | |
6040 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
6041 | _resultobj = Py_BuildValue("s",_ptemp); | |
6042 | return _resultobj; | |
6043 | } | |
6044 | ||
6045 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
6046 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6047 | PyObject * _resultobj; | |
6048 | wxStyledTextCtrl * _arg0; | |
6049 | wxColour * _arg1; | |
6050 | PyObject * _argo0 = 0; | |
6051 | wxColour temp; | |
6052 | PyObject * _obj1 = 0; | |
6053 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
6054 | ||
6055 | self = self; | |
6056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
6057 | return NULL; | |
6058 | if (_argo0) { | |
6059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
6062 | return NULL; | |
6063 | } | |
6064 | } | |
6065 | { | |
6066 | _arg1 = &temp; | |
6067 | if (! wxColour_helper(_obj1, &_arg1)) | |
6068 | return NULL; | |
6069 | } | |
6070 | { | |
6071 | wxPy_BEGIN_ALLOW_THREADS; | |
6072 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); | |
6073 | ||
6074 | wxPy_END_ALLOW_THREADS; | |
6075 | } Py_INCREF(Py_None); | |
6076 | _resultobj = Py_None; | |
6077 | return _resultobj; | |
6078 | } | |
6079 | ||
6080 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
6081 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6082 | PyObject * _resultobj; | |
6083 | wxStyledTextCtrl * _arg0; | |
6084 | PyObject * _argo0 = 0; | |
6085 | char *_kwnames[] = { "self", NULL }; | |
6086 | ||
6087 | self = self; | |
6088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
6089 | return NULL; | |
6090 | if (_argo0) { | |
6091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
6094 | return NULL; | |
6095 | } | |
6096 | } | |
6097 | { | |
6098 | wxPy_BEGIN_ALLOW_THREADS; | |
6099 | wxStyledTextCtrl_SearchAnchor(_arg0); | |
6100 | ||
6101 | wxPy_END_ALLOW_THREADS; | |
6102 | } Py_INCREF(Py_None); | |
6103 | _resultobj = Py_None; | |
6104 | return _resultobj; | |
6105 | } | |
6106 | ||
6107 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
6108 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6109 | PyObject * _resultobj; | |
6110 | int _result; | |
6111 | wxStyledTextCtrl * _arg0; | |
6112 | int _arg1; | |
6113 | wxString * _arg2; | |
6114 | PyObject * _argo0 = 0; | |
6115 | PyObject * _obj2 = 0; | |
6116 | char *_kwnames[] = { "self","flags","text", NULL }; | |
6117 | ||
6118 | self = self; | |
6119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6120 | return NULL; | |
6121 | if (_argo0) { | |
6122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
6125 | return NULL; | |
6126 | } | |
6127 | } | |
6128 | { | |
6129 | if (!PyString_Check(_obj2)) { | |
6130 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6131 | return NULL; | |
6132 | } | |
6133 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
6134 | } | |
6135 | { | |
6136 | wxPy_BEGIN_ALLOW_THREADS; | |
6137 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); | |
6138 | ||
6139 | wxPy_END_ALLOW_THREADS; | |
6140 | } _resultobj = Py_BuildValue("i",_result); | |
6141 | { | |
6142 | if (_obj2) | |
6143 | delete _arg2; | |
6144 | } | |
6145 | return _resultobj; | |
6146 | } | |
6147 | ||
6148 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
6149 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6150 | PyObject * _resultobj; | |
6151 | int _result; | |
6152 | wxStyledTextCtrl * _arg0; | |
6153 | int _arg1; | |
6154 | wxString * _arg2; | |
6155 | PyObject * _argo0 = 0; | |
6156 | PyObject * _obj2 = 0; | |
6157 | char *_kwnames[] = { "self","flags","text", NULL }; | |
6158 | ||
6159 | self = self; | |
6160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6161 | return NULL; | |
6162 | if (_argo0) { | |
6163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); | |
6166 | return NULL; | |
6167 | } | |
6168 | } | |
6169 | { | |
6170 | if (!PyString_Check(_obj2)) { | |
6171 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6172 | return NULL; | |
6173 | } | |
6174 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
6175 | } | |
6176 | { | |
6177 | wxPy_BEGIN_ALLOW_THREADS; | |
6178 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); | |
6179 | ||
6180 | wxPy_END_ALLOW_THREADS; | |
6181 | } _resultobj = Py_BuildValue("i",_result); | |
6182 | { | |
6183 | if (_obj2) | |
6184 | delete _arg2; | |
6185 | } | |
6186 | return _resultobj; | |
6187 | } | |
6188 | ||
6189 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
6190 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6191 | PyObject * _resultobj; | |
6192 | wxStyledTextCtrl * _arg0; | |
6193 | int _arg1; | |
6194 | int _arg2; | |
6195 | PyObject * _argo0 = 0; | |
6196 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
6197 | ||
6198 | self = self; | |
6199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6200 | return NULL; | |
6201 | if (_argo0) { | |
6202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
6205 | return NULL; | |
6206 | } | |
6207 | } | |
6208 | { | |
6209 | wxPy_BEGIN_ALLOW_THREADS; | |
6210 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); | |
6211 | ||
6212 | wxPy_END_ALLOW_THREADS; | |
6213 | } Py_INCREF(Py_None); | |
6214 | _resultobj = Py_None; | |
6215 | return _resultobj; | |
6216 | } | |
6217 | ||
6218 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
6219 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6220 | PyObject * _resultobj; | |
6221 | int _result; | |
6222 | wxStyledTextCtrl * _arg0; | |
6223 | PyObject * _argo0 = 0; | |
6224 | char *_kwnames[] = { "self", NULL }; | |
6225 | ||
6226 | self = self; | |
6227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
6228 | return NULL; | |
6229 | if (_argo0) { | |
6230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
6233 | return NULL; | |
6234 | } | |
6235 | } | |
6236 | { | |
6237 | wxPy_BEGIN_ALLOW_THREADS; | |
6238 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); | |
6239 | ||
6240 | wxPy_END_ALLOW_THREADS; | |
6241 | } _resultobj = Py_BuildValue("i",_result); | |
6242 | return _resultobj; | |
6243 | } | |
6244 | ||
6245 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
6246 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6247 | PyObject * _resultobj; | |
6248 | wxStyledTextCtrl * _arg0; | |
6249 | bool _arg1; | |
6250 | PyObject * _argo0 = 0; | |
6251 | int tempbool1; | |
6252 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
6253 | ||
6254 | self = self; | |
6255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
6256 | return NULL; | |
6257 | if (_argo0) { | |
6258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
6261 | return NULL; | |
6262 | } | |
6263 | } | |
6264 | _arg1 = (bool ) tempbool1; | |
6265 | { | |
6266 | wxPy_BEGIN_ALLOW_THREADS; | |
6267 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); | |
6268 | ||
6269 | wxPy_END_ALLOW_THREADS; | |
6270 | } Py_INCREF(Py_None); | |
6271 | _resultobj = Py_None; | |
6272 | return _resultobj; | |
6273 | } | |
6274 | ||
6275 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
6276 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6277 | PyObject * _resultobj; | |
6278 | bool _result; | |
6279 | wxStyledTextCtrl * _arg0; | |
6280 | PyObject * _argo0 = 0; | |
6281 | char *_kwnames[] = { "self", NULL }; | |
6282 | ||
6283 | self = self; | |
6284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
6285 | return NULL; | |
6286 | if (_argo0) { | |
6287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
6290 | return NULL; | |
6291 | } | |
6292 | } | |
6293 | { | |
6294 | wxPy_BEGIN_ALLOW_THREADS; | |
6295 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); | |
6296 | ||
6297 | wxPy_END_ALLOW_THREADS; | |
6298 | } _resultobj = Py_BuildValue("i",_result); | |
6299 | return _resultobj; | |
6300 | } | |
6301 | ||
6302 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
6303 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6304 | PyObject * _resultobj; | |
6305 | wxStyledTextCtrl * _arg0; | |
6306 | int _arg1; | |
6307 | PyObject * _argo0 = 0; | |
6308 | char *_kwnames[] = { "self","zoom", NULL }; | |
6309 | ||
6310 | self = self; | |
6311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
6312 | return NULL; | |
6313 | if (_argo0) { | |
6314 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6315 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
6317 | return NULL; | |
6318 | } | |
6319 | } | |
6320 | { | |
6321 | wxPy_BEGIN_ALLOW_THREADS; | |
6322 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); | |
6323 | ||
6324 | wxPy_END_ALLOW_THREADS; | |
6325 | } Py_INCREF(Py_None); | |
6326 | _resultobj = Py_None; | |
6327 | return _resultobj; | |
6328 | } | |
6329 | ||
6330 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
6331 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6332 | PyObject * _resultobj; | |
6333 | int _result; | |
6334 | wxStyledTextCtrl * _arg0; | |
6335 | PyObject * _argo0 = 0; | |
6336 | char *_kwnames[] = { "self", NULL }; | |
6337 | ||
6338 | self = self; | |
6339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
6340 | return NULL; | |
6341 | if (_argo0) { | |
6342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
6345 | return NULL; | |
6346 | } | |
6347 | } | |
6348 | { | |
6349 | wxPy_BEGIN_ALLOW_THREADS; | |
6350 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); | |
6351 | ||
6352 | wxPy_END_ALLOW_THREADS; | |
6353 | } _resultobj = Py_BuildValue("i",_result); | |
6354 | return _resultobj; | |
6355 | } | |
6356 | ||
6357 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
6358 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6359 | PyObject * _resultobj; | |
6360 | void * _result; | |
6361 | wxStyledTextCtrl * _arg0; | |
6362 | PyObject * _argo0 = 0; | |
6363 | char *_kwnames[] = { "self", NULL }; | |
6364 | char _ptemp[128]; | |
6365 | ||
6366 | self = self; | |
6367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
6368 | return NULL; | |
6369 | if (_argo0) { | |
6370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
6373 | return NULL; | |
6374 | } | |
6375 | } | |
6376 | { | |
6377 | wxPy_BEGIN_ALLOW_THREADS; | |
6378 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); | |
6379 | ||
6380 | wxPy_END_ALLOW_THREADS; | |
6381 | } if (_result) { | |
6382 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
6383 | _resultobj = Py_BuildValue("s",_ptemp); | |
6384 | } else { | |
6385 | Py_INCREF(Py_None); | |
6386 | _resultobj = Py_None; | |
6387 | } | |
6388 | return _resultobj; | |
6389 | } | |
6390 | ||
6391 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) | |
6392 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6393 | PyObject * _resultobj; | |
6394 | wxStyledTextCtrl * _arg0; | |
6395 | void * _arg1; | |
6396 | PyObject * _argo0 = 0; | |
6397 | PyObject * _argo1 = 0; | |
6398 | char *_kwnames[] = { "self","docPointer", NULL }; | |
6399 | ||
6400 | self = self; | |
6401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) | |
6402 | return NULL; | |
6403 | if (_argo0) { | |
6404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); | |
6407 | return NULL; | |
6408 | } | |
6409 | } | |
6410 | if (_argo1) { | |
6411 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6412 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
6414 | return NULL; | |
6415 | } | |
6416 | } | |
6417 | { | |
6418 | wxPy_BEGIN_ALLOW_THREADS; | |
6419 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); | |
6420 | ||
6421 | wxPy_END_ALLOW_THREADS; | |
6422 | } Py_INCREF(Py_None); | |
6423 | _resultobj = Py_None; | |
6424 | return _resultobj; | |
6425 | } | |
6426 | ||
6427 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) | |
6428 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6429 | PyObject * _resultobj; | |
6430 | wxStyledTextCtrl * _arg0; | |
6431 | void * _arg1; | |
6432 | PyObject * _argo0 = 0; | |
6433 | PyObject * _argo1 = 0; | |
6434 | char *_kwnames[] = { "self","docPointer", NULL }; | |
6435 | ||
6436 | self = self; | |
6437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) | |
6438 | return NULL; | |
6439 | if (_argo0) { | |
6440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); | |
6443 | return NULL; | |
6444 | } | |
6445 | } | |
6446 | if (_argo1) { | |
6447 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6448 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
6450 | return NULL; | |
6451 | } | |
6452 | } | |
6453 | { | |
6454 | wxPy_BEGIN_ALLOW_THREADS; | |
6455 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); | |
6456 | ||
6457 | wxPy_END_ALLOW_THREADS; | |
6458 | } Py_INCREF(Py_None); | |
6459 | _resultobj = Py_None; | |
6460 | return _resultobj; | |
6461 | } | |
6462 | ||
6463 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) | |
6464 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6465 | PyObject * _resultobj; | |
6466 | int _result; | |
6467 | wxStyledTextCtrl * _arg0; | |
6468 | PyObject * _argo0 = 0; | |
6469 | char *_kwnames[] = { "self", NULL }; | |
6470 | ||
6471 | self = self; | |
6472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) | |
6473 | return NULL; | |
6474 | if (_argo0) { | |
6475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); | |
6478 | return NULL; | |
6479 | } | |
6480 | } | |
6481 | { | |
6482 | wxPy_BEGIN_ALLOW_THREADS; | |
6483 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); | |
6484 | ||
6485 | wxPy_END_ALLOW_THREADS; | |
6486 | } _resultobj = Py_BuildValue("i",_result); | |
6487 | return _resultobj; | |
6488 | } | |
6489 | ||
6490 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) | |
6491 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6492 | PyObject * _resultobj; | |
6493 | wxStyledTextCtrl * _arg0; | |
6494 | PyObject * _argo0 = 0; | |
6495 | char *_kwnames[] = { "self", NULL }; | |
6496 | ||
6497 | self = self; | |
6498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
6499 | return NULL; | |
6500 | if (_argo0) { | |
6501 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6502 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
6504 | return NULL; | |
6505 | } | |
6506 | } | |
6507 | { | |
6508 | wxPy_BEGIN_ALLOW_THREADS; | |
6509 | wxStyledTextCtrl_StartRecord(_arg0); | |
6510 | ||
6511 | wxPy_END_ALLOW_THREADS; | |
6512 | } Py_INCREF(Py_None); | |
6513 | _resultobj = Py_None; | |
6514 | return _resultobj; | |
6515 | } | |
6516 | ||
6517 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
6518 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6519 | PyObject * _resultobj; | |
6520 | wxStyledTextCtrl * _arg0; | |
6521 | PyObject * _argo0 = 0; | |
6522 | char *_kwnames[] = { "self", NULL }; | |
6523 | ||
6524 | self = self; | |
6525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
6526 | return NULL; | |
6527 | if (_argo0) { | |
6528 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6529 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6530 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
6531 | return NULL; | |
6532 | } | |
6533 | } | |
6534 | { | |
6535 | wxPy_BEGIN_ALLOW_THREADS; | |
6536 | wxStyledTextCtrl_StopRecord(_arg0); | |
6537 | ||
6538 | wxPy_END_ALLOW_THREADS; | |
6539 | } Py_INCREF(Py_None); | |
6540 | _resultobj = Py_None; | |
6541 | return _resultobj; | |
6542 | } | |
6543 | ||
6544 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
6545 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6546 | PyObject * _resultobj; |
6547 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 6548 | int _arg1; |
f6bcfd97 BP |
6549 | PyObject * _argo0 = 0; |
6550 | char *_kwnames[] = { "self","lexer", NULL }; | |
6551 | ||
6552 | self = self; | |
6553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
6554 | return NULL; | |
6555 | if (_argo0) { | |
6556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
6559 | return NULL; | |
6560 | } | |
6561 | } | |
6562 | { | |
6563 | wxPy_BEGIN_ALLOW_THREADS; | |
6564 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); | |
6565 | ||
6566 | wxPy_END_ALLOW_THREADS; | |
6567 | } Py_INCREF(Py_None); | |
6568 | _resultobj = Py_None; | |
6569 | return _resultobj; | |
6570 | } | |
6571 | ||
6572 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
6573 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6574 | PyObject * _resultobj; | |
fe47ec10 | 6575 | int _result; |
f6bcfd97 BP |
6576 | wxStyledTextCtrl * _arg0; |
6577 | PyObject * _argo0 = 0; | |
6578 | char *_kwnames[] = { "self", NULL }; | |
6579 | ||
6580 | self = self; | |
6581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
6582 | return NULL; | |
6583 | if (_argo0) { | |
6584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
6587 | return NULL; | |
6588 | } | |
6589 | } | |
6590 | { | |
6591 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6592 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
f6bcfd97 BP |
6593 | |
6594 | wxPy_END_ALLOW_THREADS; | |
6595 | } _resultobj = Py_BuildValue("i",_result); | |
6596 | return _resultobj; | |
6597 | } | |
6598 | ||
6599 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
6600 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6601 | PyObject * _resultobj; | |
6602 | wxStyledTextCtrl * _arg0; | |
6603 | int _arg1; | |
6604 | int _arg2; | |
6605 | PyObject * _argo0 = 0; | |
6606 | char *_kwnames[] = { "self","start","end", NULL }; | |
6607 | ||
6608 | self = self; | |
6609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6610 | return NULL; | |
6611 | if (_argo0) { | |
6612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
6615 | return NULL; | |
6616 | } | |
6617 | } | |
6618 | { | |
6619 | wxPy_BEGIN_ALLOW_THREADS; | |
6620 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); | |
6621 | ||
6622 | wxPy_END_ALLOW_THREADS; | |
6623 | } Py_INCREF(Py_None); | |
6624 | _resultobj = Py_None; | |
6625 | return _resultobj; | |
6626 | } | |
6627 | ||
6628 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
6629 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6630 | PyObject * _resultobj; | |
6631 | wxStyledTextCtrl * _arg0; | |
6632 | wxString * _arg1; | |
6633 | wxString * _arg2; | |
6634 | PyObject * _argo0 = 0; | |
6635 | PyObject * _obj1 = 0; | |
6636 | PyObject * _obj2 = 0; | |
6637 | char *_kwnames[] = { "self","key","value", NULL }; | |
6638 | ||
6639 | self = self; | |
6640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
6641 | return NULL; | |
6642 | if (_argo0) { | |
6643 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6644 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
6646 | return NULL; | |
6647 | } | |
6648 | } | |
6649 | { | |
6650 | if (!PyString_Check(_obj1)) { | |
6651 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6652 | return NULL; | |
6653 | } | |
6654 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
6655 | } | |
6656 | { | |
6657 | if (!PyString_Check(_obj2)) { | |
6658 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6659 | return NULL; | |
6660 | } | |
6661 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
6662 | } | |
6663 | { | |
6664 | wxPy_BEGIN_ALLOW_THREADS; | |
6665 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); | |
6666 | ||
6667 | wxPy_END_ALLOW_THREADS; | |
6668 | } Py_INCREF(Py_None); | |
6669 | _resultobj = Py_None; | |
6670 | { | |
6671 | if (_obj1) | |
6672 | delete _arg1; | |
6673 | } | |
6674 | { | |
6675 | if (_obj2) | |
6676 | delete _arg2; | |
6677 | } | |
6678 | return _resultobj; | |
6679 | } | |
6680 | ||
fe47ec10 RD |
6681 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) |
6682 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6683 | PyObject * _resultobj; | |
6684 | wxStyledTextCtrl * _arg0; | |
6685 | int _arg1; | |
6686 | wxString * _arg2; | |
6687 | PyObject * _argo0 = 0; | |
6688 | PyObject * _obj2 = 0; | |
6689 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
6690 | ||
6691 | self = self; | |
6692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6693 | return NULL; | |
6694 | if (_argo0) { | |
6695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
6698 | return NULL; | |
6699 | } | |
6700 | } | |
6701 | { | |
6702 | if (!PyString_Check(_obj2)) { | |
6703 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6704 | return NULL; | |
6705 | } | |
6706 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
6707 | } | |
6708 | { | |
6709 | wxPy_BEGIN_ALLOW_THREADS; | |
6710 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); | |
6711 | ||
6712 | wxPy_END_ALLOW_THREADS; | |
6713 | } Py_INCREF(Py_None); | |
6714 | _resultobj = Py_None; | |
6715 | { | |
6716 | if (_obj2) | |
6717 | delete _arg2; | |
6718 | } | |
6719 | return _resultobj; | |
6720 | } | |
6721 | ||
6722 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) | |
6723 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6724 | PyObject * _resultobj; | |
6725 | int _result; | |
6726 | wxStyledTextCtrl * _arg0; | |
6727 | PyObject * _argo0 = 0; | |
6728 | char *_kwnames[] = { "self", NULL }; | |
6729 | ||
6730 | self = self; | |
6731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
6732 | return NULL; | |
6733 | if (_argo0) { | |
6734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
6737 | return NULL; | |
6738 | } | |
6739 | } | |
6740 | { | |
6741 | wxPy_BEGIN_ALLOW_THREADS; | |
6742 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); | |
6743 | ||
6744 | wxPy_END_ALLOW_THREADS; | |
6745 | } _resultobj = Py_BuildValue("i",_result); | |
6746 | return _resultobj; | |
6747 | } | |
6748 | ||
6749 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
6750 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6751 | PyObject * _resultobj; |
6752 | wxStyledTextCtrl * _arg0; | |
6753 | int _arg1; | |
6754 | wxString * _arg2; | |
6755 | PyObject * _argo0 = 0; | |
6756 | PyObject * _obj2 = 0; | |
fe47ec10 RD |
6757 | char *_kwnames[] = { "self","styleNum","spec", NULL }; |
6758 | ||
6759 | self = self; | |
6760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6761 | return NULL; | |
6762 | if (_argo0) { | |
6763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
6766 | return NULL; | |
6767 | } | |
6768 | } | |
6769 | { | |
6770 | if (!PyString_Check(_obj2)) { | |
6771 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6772 | return NULL; | |
6773 | } | |
6774 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
6775 | } | |
6776 | { | |
6777 | wxPy_BEGIN_ALLOW_THREADS; | |
6778 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); | |
6779 | ||
6780 | wxPy_END_ALLOW_THREADS; | |
6781 | } Py_INCREF(Py_None); | |
6782 | _resultobj = Py_None; | |
6783 | { | |
6784 | if (_obj2) | |
6785 | delete _arg2; | |
6786 | } | |
6787 | return _resultobj; | |
6788 | } | |
6789 | ||
6790 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
6791 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6792 | PyObject * _resultobj; | |
6793 | wxStyledTextCtrl * _arg0; | |
6794 | int _arg1; | |
6795 | wxFont * _arg2; | |
6796 | PyObject * _argo0 = 0; | |
6797 | PyObject * _argo2 = 0; | |
6798 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
6799 | ||
6800 | self = self; | |
6801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
6802 | return NULL; | |
6803 | if (_argo0) { | |
6804 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6805 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
6807 | return NULL; | |
6808 | } | |
6809 | } | |
6810 | if (_argo2) { | |
6811 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6812 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
6813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
6814 | return NULL; | |
6815 | } | |
6816 | } | |
6817 | { | |
6818 | wxPy_BEGIN_ALLOW_THREADS; | |
6819 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); | |
6820 | ||
6821 | wxPy_END_ALLOW_THREADS; | |
6822 | } Py_INCREF(Py_None); | |
6823 | _resultobj = Py_None; | |
6824 | return _resultobj; | |
6825 | } | |
6826 | ||
6827 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6828 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6829 | PyObject * _resultobj; | |
6830 | wxStyledTextCtrl * _arg0; | |
6831 | int _arg1; | |
6832 | int _arg2; | |
6833 | wxString * _arg3; | |
6834 | bool _arg4; | |
6835 | bool _arg5; | |
6836 | bool _arg6; | |
6837 | PyObject * _argo0 = 0; | |
6838 | PyObject * _obj3 = 0; | |
6839 | int tempbool4; | |
6840 | int tempbool5; | |
6841 | int tempbool6; | |
6842 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
6843 | ||
6844 | self = self; | |
6845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
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_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
6851 | return NULL; | |
6852 | } | |
6853 | } | |
6854 | { | |
6855 | if (!PyString_Check(_obj3)) { | |
6856 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6857 | return NULL; | |
6858 | } | |
6859 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); | |
6860 | } | |
6861 | _arg4 = (bool ) tempbool4; | |
6862 | _arg5 = (bool ) tempbool5; | |
6863 | _arg6 = (bool ) tempbool6; | |
6864 | { | |
6865 | wxPy_BEGIN_ALLOW_THREADS; | |
6866 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); | |
6867 | ||
6868 | wxPy_END_ALLOW_THREADS; | |
6869 | } Py_INCREF(Py_None); | |
6870 | _resultobj = Py_None; | |
6871 | { | |
6872 | if (_obj3) | |
6873 | delete _arg3; | |
6874 | } | |
6875 | return _resultobj; | |
6876 | } | |
6877 | ||
6878 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
6879 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6880 | PyObject * _resultobj; | |
6881 | wxStyledTextCtrl * _arg0; | |
6882 | int _arg1; | |
6883 | PyObject * _argo0 = 0; | |
6884 | char *_kwnames[] = { "self","cmd", NULL }; | |
6885 | ||
6886 | self = self; | |
6887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
6888 | return NULL; | |
6889 | if (_argo0) { | |
6890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
6893 | return NULL; | |
6894 | } | |
6895 | } | |
6896 | { | |
6897 | wxPy_BEGIN_ALLOW_THREADS; | |
6898 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); | |
6899 | ||
6900 | wxPy_END_ALLOW_THREADS; | |
6901 | } Py_INCREF(Py_None); | |
6902 | _resultobj = Py_None; | |
6903 | return _resultobj; | |
6904 | } | |
6905 | ||
6906 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
6907 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6908 | PyObject * _resultobj; | |
6909 | wxStyledTextCtrl * _arg0; | |
6910 | int _arg1; | |
6911 | int _arg2; | |
6912 | PyObject * _argo0 = 0; | |
6913 | char *_kwnames[] = { "self","left","right", NULL }; | |
6914 | ||
6915 | self = self; | |
6916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6917 | return NULL; | |
6918 | if (_argo0) { | |
6919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
6922 | return NULL; | |
6923 | } | |
6924 | } | |
6925 | { | |
6926 | wxPy_BEGIN_ALLOW_THREADS; | |
6927 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); | |
6928 | ||
6929 | wxPy_END_ALLOW_THREADS; | |
6930 | } Py_INCREF(Py_None); | |
6931 | _resultobj = Py_None; | |
6932 | return _resultobj; | |
6933 | } | |
6934 | ||
6935 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
6936 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6937 | PyObject * _resultobj; | |
6938 | wxStyledTextCtrl * _arg0; | |
6939 | int * _arg1; | |
6940 | int temp; | |
6941 | int * _arg2; | |
6942 | int temp0; | |
6943 | PyObject * _argo0 = 0; | |
6944 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
6945 | |
6946 | self = self; | |
fe47ec10 RD |
6947 | { |
6948 | _arg1 = &temp; | |
6949 | } | |
6950 | { | |
6951 | _arg2 = &temp0; | |
6952 | } | |
6953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
f6bcfd97 BP |
6954 | return NULL; |
6955 | if (_argo0) { | |
6956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 6958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6959 | return NULL; |
6960 | } | |
6961 | } | |
f6bcfd97 BP |
6962 | { |
6963 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6964 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
6965 | |
6966 | wxPy_END_ALLOW_THREADS; | |
6967 | } Py_INCREF(Py_None); | |
6968 | _resultobj = Py_None; | |
6969 | { | |
fe47ec10 RD |
6970 | PyObject *o; |
6971 | o = PyInt_FromLong((long) (*_arg1)); | |
6972 | _resultobj = t_output_helper(_resultobj, o); | |
6973 | } | |
6974 | { | |
6975 | PyObject *o; | |
6976 | o = PyInt_FromLong((long) (*_arg2)); | |
6977 | _resultobj = t_output_helper(_resultobj, o); | |
f6bcfd97 BP |
6978 | } |
6979 | return _resultobj; | |
6980 | } | |
6981 | ||
fe47ec10 RD |
6982 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) |
6983 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6984 | PyObject * _resultobj; |
fe47ec10 | 6985 | wxPoint * _result; |
f6bcfd97 BP |
6986 | wxStyledTextCtrl * _arg0; |
6987 | int _arg1; | |
6988 | PyObject * _argo0 = 0; | |
fe47ec10 RD |
6989 | char *_kwnames[] = { "self","pos", NULL }; |
6990 | char _ptemp[128]; | |
f6bcfd97 BP |
6991 | |
6992 | self = self; | |
fe47ec10 | 6993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6994 | return NULL; |
6995 | if (_argo0) { | |
6996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 6998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6999 | return NULL; |
7000 | } | |
7001 | } | |
7002 | { | |
7003 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 7004 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
f6bcfd97 BP |
7005 | |
7006 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
7007 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
7008 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
7009 | return _resultobj; |
7010 | } | |
7011 | ||
7012 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { | |
7013 | wxStyledTextEvent *src; | |
7014 | wxCommandEvent *dest; | |
7015 | src = (wxStyledTextEvent *) ptr; | |
7016 | dest = (wxCommandEvent *) src; | |
7017 | return (void *) dest; | |
7018 | } | |
7019 | ||
7020 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
7021 | wxStyledTextEvent *src; | |
7022 | wxEvent *dest; | |
7023 | src = (wxStyledTextEvent *) ptr; | |
7024 | dest = (wxEvent *) src; | |
7025 | return (void *) dest; | |
7026 | } | |
7027 | ||
7028 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) | |
7029 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7030 | PyObject * _resultobj; | |
7031 | wxStyledTextEvent * _result; | |
7032 | wxEventType _arg0 = (wxEventType ) 0; | |
7033 | int _arg1 = (int ) 0; | |
7034 | char *_kwnames[] = { "commandType","id", NULL }; | |
7035 | char _ptemp[128]; | |
7036 | ||
7037 | self = self; | |
7038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) | |
7039 | return NULL; | |
7040 | { | |
7041 | wxPy_BEGIN_ALLOW_THREADS; | |
7042 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); | |
7043 | ||
7044 | wxPy_END_ALLOW_THREADS; | |
7045 | } if (_result) { | |
7046 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
7047 | _resultobj = Py_BuildValue("s",_ptemp); | |
7048 | } else { | |
7049 | Py_INCREF(Py_None); | |
7050 | _resultobj = Py_None; | |
7051 | } | |
7052 | return _resultobj; | |
7053 | } | |
7054 | ||
7055 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
7056 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7057 | PyObject * _resultobj; | |
7058 | wxStyledTextEvent * _arg0; | |
7059 | PyObject * _argo0 = 0; | |
7060 | char *_kwnames[] = { "self", NULL }; | |
7061 | ||
7062 | self = self; | |
7063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
7064 | return NULL; | |
7065 | if (_argo0) { | |
7066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
7069 | return NULL; | |
7070 | } | |
7071 | } | |
7072 | { | |
7073 | wxPy_BEGIN_ALLOW_THREADS; | |
7074 | delete_wxStyledTextEvent(_arg0); | |
7075 | ||
7076 | wxPy_END_ALLOW_THREADS; | |
7077 | } Py_INCREF(Py_None); | |
7078 | _resultobj = Py_None; | |
7079 | return _resultobj; | |
7080 | } | |
7081 | ||
7082 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
7083 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7084 | PyObject * _resultobj; | |
7085 | wxStyledTextEvent * _arg0; | |
7086 | int _arg1; | |
7087 | PyObject * _argo0 = 0; | |
7088 | char *_kwnames[] = { "self","pos", NULL }; | |
7089 | ||
7090 | self = self; | |
7091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
7092 | return NULL; | |
7093 | if (_argo0) { | |
7094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
7097 | return NULL; | |
7098 | } | |
7099 | } | |
7100 | { | |
7101 | wxPy_BEGIN_ALLOW_THREADS; | |
7102 | wxStyledTextEvent_SetPosition(_arg0,_arg1); | |
7103 | ||
7104 | wxPy_END_ALLOW_THREADS; | |
7105 | } Py_INCREF(Py_None); | |
7106 | _resultobj = Py_None; | |
7107 | return _resultobj; | |
7108 | } | |
7109 | ||
7110 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
7111 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7112 | PyObject * _resultobj; | |
7113 | wxStyledTextEvent * _arg0; | |
7114 | int _arg1; | |
7115 | PyObject * _argo0 = 0; | |
7116 | char *_kwnames[] = { "self","k", NULL }; | |
7117 | ||
7118 | self = self; | |
7119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
7120 | return NULL; | |
7121 | if (_argo0) { | |
7122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
7125 | return NULL; | |
7126 | } | |
7127 | } | |
7128 | { | |
7129 | wxPy_BEGIN_ALLOW_THREADS; | |
7130 | wxStyledTextEvent_SetKey(_arg0,_arg1); | |
7131 | ||
7132 | wxPy_END_ALLOW_THREADS; | |
7133 | } Py_INCREF(Py_None); | |
7134 | _resultobj = Py_None; | |
7135 | return _resultobj; | |
7136 | } | |
7137 | ||
7138 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
7139 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7140 | PyObject * _resultobj; | |
7141 | wxStyledTextEvent * _arg0; | |
7142 | int _arg1; | |
7143 | PyObject * _argo0 = 0; | |
7144 | char *_kwnames[] = { "self","m", NULL }; | |
7145 | ||
7146 | self = self; | |
7147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
7148 | return NULL; | |
7149 | if (_argo0) { | |
7150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
7153 | return NULL; | |
7154 | } | |
7155 | } | |
7156 | { | |
7157 | wxPy_BEGIN_ALLOW_THREADS; | |
7158 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); | |
7159 | ||
7160 | wxPy_END_ALLOW_THREADS; | |
7161 | } Py_INCREF(Py_None); | |
7162 | _resultobj = Py_None; | |
7163 | return _resultobj; | |
7164 | } | |
7165 | ||
7166 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
7167 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7168 | PyObject * _resultobj; | |
7169 | wxStyledTextEvent * _arg0; | |
7170 | int _arg1; | |
7171 | PyObject * _argo0 = 0; | |
7172 | char *_kwnames[] = { "self","t", NULL }; | |
7173 | ||
7174 | self = self; | |
7175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
7176 | return NULL; | |
7177 | if (_argo0) { | |
7178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
7181 | return NULL; | |
7182 | } | |
7183 | } | |
7184 | { | |
7185 | wxPy_BEGIN_ALLOW_THREADS; | |
7186 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); | |
7187 | ||
7188 | wxPy_END_ALLOW_THREADS; | |
7189 | } Py_INCREF(Py_None); | |
7190 | _resultobj = Py_None; | |
7191 | return _resultobj; | |
7192 | } | |
7193 | ||
7194 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
7195 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7196 | PyObject * _resultobj; | |
7197 | wxStyledTextEvent * _arg0; | |
7198 | char * _arg1; | |
7199 | PyObject * _argo0 = 0; | |
7200 | char *_kwnames[] = { "self","t", NULL }; | |
7201 | ||
7202 | self = self; | |
7203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1)) | |
7204 | return NULL; | |
7205 | if (_argo0) { | |
7206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
7209 | return NULL; | |
7210 | } | |
7211 | } | |
7212 | { | |
7213 | wxPy_BEGIN_ALLOW_THREADS; | |
7214 | wxStyledTextEvent_SetText(_arg0,_arg1); | |
7215 | ||
7216 | wxPy_END_ALLOW_THREADS; | |
7217 | } Py_INCREF(Py_None); | |
7218 | _resultobj = Py_None; | |
7219 | return _resultobj; | |
7220 | } | |
7221 | ||
7222 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
7223 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7224 | PyObject * _resultobj; | |
7225 | wxStyledTextEvent * _arg0; | |
7226 | int _arg1; | |
7227 | PyObject * _argo0 = 0; | |
7228 | char *_kwnames[] = { "self","len", NULL }; | |
7229 | ||
7230 | self = self; | |
7231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
7232 | return NULL; | |
7233 | if (_argo0) { | |
7234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
7237 | return NULL; | |
7238 | } | |
7239 | } | |
7240 | { | |
7241 | wxPy_BEGIN_ALLOW_THREADS; | |
7242 | wxStyledTextEvent_SetLength(_arg0,_arg1); | |
7243 | ||
7244 | wxPy_END_ALLOW_THREADS; | |
7245 | } Py_INCREF(Py_None); | |
7246 | _resultobj = Py_None; | |
7247 | return _resultobj; | |
7248 | } | |
7249 | ||
7250 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
7251 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7252 | PyObject * _resultobj; | |
7253 | wxStyledTextEvent * _arg0; | |
7254 | int _arg1; | |
7255 | PyObject * _argo0 = 0; | |
7256 | char *_kwnames[] = { "self","num", NULL }; | |
7257 | ||
7258 | self = self; | |
7259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
7260 | return NULL; | |
7261 | if (_argo0) { | |
7262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
7265 | return NULL; | |
7266 | } | |
7267 | } | |
7268 | { | |
7269 | wxPy_BEGIN_ALLOW_THREADS; | |
7270 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); | |
7271 | ||
7272 | wxPy_END_ALLOW_THREADS; | |
7273 | } Py_INCREF(Py_None); | |
7274 | _resultobj = Py_None; | |
7275 | return _resultobj; | |
7276 | } | |
7277 | ||
7278 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
7279 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7280 | PyObject * _resultobj; | |
7281 | wxStyledTextEvent * _arg0; | |
7282 | int _arg1; | |
7283 | PyObject * _argo0 = 0; | |
7284 | char *_kwnames[] = { "self","val", NULL }; | |
7285 | ||
7286 | self = self; | |
7287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
7288 | return NULL; | |
7289 | if (_argo0) { | |
7290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
7293 | return NULL; | |
7294 | } | |
7295 | } | |
7296 | { | |
7297 | wxPy_BEGIN_ALLOW_THREADS; | |
7298 | wxStyledTextEvent_SetLine(_arg0,_arg1); | |
7299 | ||
7300 | wxPy_END_ALLOW_THREADS; | |
7301 | } Py_INCREF(Py_None); | |
7302 | _resultobj = Py_None; | |
7303 | return _resultobj; | |
7304 | } | |
7305 | ||
7306 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
7307 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7308 | PyObject * _resultobj; | |
7309 | wxStyledTextEvent * _arg0; | |
7310 | int _arg1; | |
7311 | PyObject * _argo0 = 0; | |
7312 | char *_kwnames[] = { "self","val", NULL }; | |
7313 | ||
7314 | self = self; | |
7315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
7316 | return NULL; | |
7317 | if (_argo0) { | |
7318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
7321 | return NULL; | |
7322 | } | |
7323 | } | |
7324 | { | |
7325 | wxPy_BEGIN_ALLOW_THREADS; | |
7326 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); | |
7327 | ||
7328 | wxPy_END_ALLOW_THREADS; | |
7329 | } Py_INCREF(Py_None); | |
7330 | _resultobj = Py_None; | |
7331 | return _resultobj; | |
7332 | } | |
7333 | ||
7334 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
7335 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7336 | PyObject * _resultobj; | |
7337 | wxStyledTextEvent * _arg0; | |
7338 | int _arg1; | |
7339 | PyObject * _argo0 = 0; | |
7340 | char *_kwnames[] = { "self","val", NULL }; | |
7341 | ||
7342 | self = self; | |
7343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
7344 | return NULL; | |
7345 | if (_argo0) { | |
7346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
7349 | return NULL; | |
7350 | } | |
7351 | } | |
7352 | { | |
7353 | wxPy_BEGIN_ALLOW_THREADS; | |
7354 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); | |
7355 | ||
7356 | wxPy_END_ALLOW_THREADS; | |
7357 | } Py_INCREF(Py_None); | |
7358 | _resultobj = Py_None; | |
7359 | return _resultobj; | |
7360 | } | |
7361 | ||
7362 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
7363 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7364 | PyObject * _resultobj; | |
7365 | wxStyledTextEvent * _arg0; | |
7366 | int _arg1; | |
7367 | PyObject * _argo0 = 0; | |
7368 | char *_kwnames[] = { "self","val", NULL }; | |
7369 | ||
7370 | self = self; | |
7371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
7372 | return NULL; | |
7373 | if (_argo0) { | |
7374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
7377 | return NULL; | |
7378 | } | |
7379 | } | |
7380 | { | |
7381 | wxPy_BEGIN_ALLOW_THREADS; | |
7382 | wxStyledTextEvent_SetMargin(_arg0,_arg1); | |
7383 | ||
7384 | wxPy_END_ALLOW_THREADS; | |
7385 | } Py_INCREF(Py_None); | |
7386 | _resultobj = Py_None; | |
7387 | return _resultobj; | |
7388 | } | |
7389 | ||
7390 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
7391 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7392 | PyObject * _resultobj; | |
7393 | wxStyledTextEvent * _arg0; | |
7394 | int _arg1; | |
7395 | PyObject * _argo0 = 0; | |
7396 | char *_kwnames[] = { "self","val", NULL }; | |
7397 | ||
7398 | self = self; | |
7399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
7400 | return NULL; | |
7401 | if (_argo0) { | |
7402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
7405 | return NULL; | |
7406 | } | |
7407 | } | |
7408 | { | |
7409 | wxPy_BEGIN_ALLOW_THREADS; | |
7410 | wxStyledTextEvent_SetMessage(_arg0,_arg1); | |
7411 | ||
7412 | wxPy_END_ALLOW_THREADS; | |
7413 | } Py_INCREF(Py_None); | |
7414 | _resultobj = Py_None; | |
7415 | return _resultobj; | |
7416 | } | |
7417 | ||
7418 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
7419 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7420 | PyObject * _resultobj; | |
7421 | wxStyledTextEvent * _arg0; | |
7422 | int _arg1; | |
7423 | PyObject * _argo0 = 0; | |
7424 | char *_kwnames[] = { "self","val", NULL }; | |
7425 | ||
7426 | self = self; | |
7427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
7428 | return NULL; | |
7429 | if (_argo0) { | |
7430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
7433 | return NULL; | |
7434 | } | |
7435 | } | |
7436 | { | |
7437 | wxPy_BEGIN_ALLOW_THREADS; | |
7438 | wxStyledTextEvent_SetWParam(_arg0,_arg1); | |
7439 | ||
7440 | wxPy_END_ALLOW_THREADS; | |
7441 | } Py_INCREF(Py_None); | |
7442 | _resultobj = Py_None; | |
7443 | return _resultobj; | |
7444 | } | |
7445 | ||
7446 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
7447 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7448 | PyObject * _resultobj; | |
7449 | wxStyledTextEvent * _arg0; | |
7450 | int _arg1; | |
7451 | PyObject * _argo0 = 0; | |
7452 | char *_kwnames[] = { "self","val", NULL }; | |
7453 | ||
7454 | self = self; | |
7455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
7456 | return NULL; | |
7457 | if (_argo0) { | |
7458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
7461 | return NULL; | |
7462 | } | |
7463 | } | |
7464 | { | |
7465 | wxPy_BEGIN_ALLOW_THREADS; | |
7466 | wxStyledTextEvent_SetLParam(_arg0,_arg1); | |
7467 | ||
7468 | wxPy_END_ALLOW_THREADS; | |
7469 | } Py_INCREF(Py_None); | |
7470 | _resultobj = Py_None; | |
7471 | return _resultobj; | |
7472 | } | |
7473 | ||
7474 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
7475 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7476 | PyObject * _resultobj; | |
7477 | int _result; | |
7478 | wxStyledTextEvent * _arg0; | |
7479 | PyObject * _argo0 = 0; | |
7480 | char *_kwnames[] = { "self", NULL }; | |
7481 | ||
7482 | self = self; | |
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
7484 | return NULL; | |
7485 | if (_argo0) { | |
7486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
7489 | return NULL; | |
7490 | } | |
7491 | } | |
7492 | { | |
7493 | wxPy_BEGIN_ALLOW_THREADS; | |
7494 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); | |
7495 | ||
7496 | wxPy_END_ALLOW_THREADS; | |
7497 | } _resultobj = Py_BuildValue("i",_result); | |
7498 | return _resultobj; | |
7499 | } | |
7500 | ||
7501 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
7502 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7503 | PyObject * _resultobj; | |
7504 | int _result; | |
7505 | wxStyledTextEvent * _arg0; | |
7506 | PyObject * _argo0 = 0; | |
7507 | char *_kwnames[] = { "self", NULL }; | |
7508 | ||
7509 | self = self; | |
7510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
7511 | return NULL; | |
7512 | if (_argo0) { | |
7513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
7516 | return NULL; | |
7517 | } | |
7518 | } | |
7519 | { | |
7520 | wxPy_BEGIN_ALLOW_THREADS; | |
7521 | _result = (int )wxStyledTextEvent_GetKey(_arg0); | |
7522 | ||
7523 | wxPy_END_ALLOW_THREADS; | |
7524 | } _resultobj = Py_BuildValue("i",_result); | |
7525 | return _resultobj; | |
7526 | } | |
7527 | ||
7528 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
7529 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7530 | PyObject * _resultobj; | |
7531 | int _result; | |
7532 | wxStyledTextEvent * _arg0; | |
7533 | PyObject * _argo0 = 0; | |
7534 | char *_kwnames[] = { "self", NULL }; | |
7535 | ||
7536 | self = self; | |
7537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
7538 | return NULL; | |
7539 | if (_argo0) { | |
7540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
7543 | return NULL; | |
7544 | } | |
7545 | } | |
7546 | { | |
7547 | wxPy_BEGIN_ALLOW_THREADS; | |
7548 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); | |
7549 | ||
7550 | wxPy_END_ALLOW_THREADS; | |
7551 | } _resultobj = Py_BuildValue("i",_result); | |
7552 | return _resultobj; | |
7553 | } | |
7554 | ||
7555 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
7556 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7557 | PyObject * _resultobj; | |
7558 | int _result; | |
7559 | wxStyledTextEvent * _arg0; | |
7560 | PyObject * _argo0 = 0; | |
7561 | char *_kwnames[] = { "self", NULL }; | |
7562 | ||
7563 | self = self; | |
7564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
7565 | return NULL; | |
7566 | if (_argo0) { | |
7567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
7570 | return NULL; | |
7571 | } | |
7572 | } | |
7573 | { | |
7574 | wxPy_BEGIN_ALLOW_THREADS; | |
7575 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); | |
7576 | ||
7577 | wxPy_END_ALLOW_THREADS; | |
7578 | } _resultobj = Py_BuildValue("i",_result); | |
7579 | return _resultobj; | |
7580 | } | |
7581 | ||
7582 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
7583 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7584 | PyObject * _resultobj; | |
7585 | wxString * _result; | |
7586 | wxStyledTextEvent * _arg0; | |
7587 | PyObject * _argo0 = 0; | |
7588 | char *_kwnames[] = { "self", NULL }; | |
7589 | ||
7590 | self = self; | |
7591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
7592 | return NULL; | |
7593 | if (_argo0) { | |
7594 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7595 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
7597 | return NULL; | |
7598 | } | |
7599 | } | |
7600 | { | |
7601 | wxPy_BEGIN_ALLOW_THREADS; | |
7602 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); | |
7603 | ||
7604 | wxPy_END_ALLOW_THREADS; | |
7605 | }{ | |
7606 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
7607 | } | |
7608 | { | |
7609 | delete _result; | |
7610 | } | |
7611 | return _resultobj; | |
7612 | } | |
7613 | ||
7614 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
7615 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7616 | PyObject * _resultobj; | |
7617 | int _result; | |
7618 | wxStyledTextEvent * _arg0; | |
7619 | PyObject * _argo0 = 0; | |
7620 | char *_kwnames[] = { "self", NULL }; | |
7621 | ||
7622 | self = self; | |
7623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
7624 | return NULL; | |
7625 | if (_argo0) { | |
7626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
7629 | return NULL; | |
7630 | } | |
7631 | } | |
7632 | { | |
7633 | wxPy_BEGIN_ALLOW_THREADS; | |
7634 | _result = (int )wxStyledTextEvent_GetLength(_arg0); | |
7635 | ||
7636 | wxPy_END_ALLOW_THREADS; | |
7637 | } _resultobj = Py_BuildValue("i",_result); | |
7638 | return _resultobj; | |
7639 | } | |
7640 | ||
7641 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
7642 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7643 | PyObject * _resultobj; | |
7644 | int _result; | |
7645 | wxStyledTextEvent * _arg0; | |
7646 | PyObject * _argo0 = 0; | |
7647 | char *_kwnames[] = { "self", NULL }; | |
7648 | ||
7649 | self = self; | |
7650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
7651 | return NULL; | |
7652 | if (_argo0) { | |
7653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
7656 | return NULL; | |
7657 | } | |
7658 | } | |
7659 | { | |
7660 | wxPy_BEGIN_ALLOW_THREADS; | |
7661 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); | |
7662 | ||
7663 | wxPy_END_ALLOW_THREADS; | |
7664 | } _resultobj = Py_BuildValue("i",_result); | |
7665 | return _resultobj; | |
7666 | } | |
7667 | ||
7668 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
7669 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7670 | PyObject * _resultobj; | |
7671 | int _result; | |
7672 | wxStyledTextEvent * _arg0; | |
7673 | PyObject * _argo0 = 0; | |
7674 | char *_kwnames[] = { "self", NULL }; | |
7675 | ||
7676 | self = self; | |
7677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
7678 | return NULL; | |
7679 | if (_argo0) { | |
7680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
7683 | return NULL; | |
7684 | } | |
7685 | } | |
7686 | { | |
7687 | wxPy_BEGIN_ALLOW_THREADS; | |
7688 | _result = (int )wxStyledTextEvent_GetLine(_arg0); | |
7689 | ||
7690 | wxPy_END_ALLOW_THREADS; | |
7691 | } _resultobj = Py_BuildValue("i",_result); | |
7692 | return _resultobj; | |
7693 | } | |
7694 | ||
7695 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
7696 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7697 | PyObject * _resultobj; | |
7698 | int _result; | |
7699 | wxStyledTextEvent * _arg0; | |
7700 | PyObject * _argo0 = 0; | |
7701 | char *_kwnames[] = { "self", NULL }; | |
7702 | ||
7703 | self = self; | |
7704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
7705 | return NULL; | |
7706 | if (_argo0) { | |
7707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
7710 | return NULL; | |
7711 | } | |
7712 | } | |
7713 | { | |
7714 | wxPy_BEGIN_ALLOW_THREADS; | |
7715 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); | |
7716 | ||
7717 | wxPy_END_ALLOW_THREADS; | |
7718 | } _resultobj = Py_BuildValue("i",_result); | |
7719 | return _resultobj; | |
7720 | } | |
7721 | ||
7722 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
7723 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7724 | PyObject * _resultobj; | |
7725 | int _result; | |
7726 | wxStyledTextEvent * _arg0; | |
7727 | PyObject * _argo0 = 0; | |
7728 | char *_kwnames[] = { "self", NULL }; | |
7729 | ||
7730 | self = self; | |
7731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
7732 | return NULL; | |
7733 | if (_argo0) { | |
7734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
7737 | return NULL; | |
7738 | } | |
7739 | } | |
7740 | { | |
7741 | wxPy_BEGIN_ALLOW_THREADS; | |
7742 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); | |
7743 | ||
7744 | wxPy_END_ALLOW_THREADS; | |
7745 | } _resultobj = Py_BuildValue("i",_result); | |
7746 | return _resultobj; | |
7747 | } | |
7748 | ||
7749 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
7750 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7751 | PyObject * _resultobj; | |
7752 | int _result; | |
7753 | wxStyledTextEvent * _arg0; | |
7754 | PyObject * _argo0 = 0; | |
7755 | char *_kwnames[] = { "self", NULL }; | |
7756 | ||
7757 | self = self; | |
7758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
7759 | return NULL; | |
7760 | if (_argo0) { | |
7761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
7764 | return NULL; | |
7765 | } | |
7766 | } | |
7767 | { | |
7768 | wxPy_BEGIN_ALLOW_THREADS; | |
7769 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); | |
7770 | ||
7771 | wxPy_END_ALLOW_THREADS; | |
7772 | } _resultobj = Py_BuildValue("i",_result); | |
7773 | return _resultobj; | |
7774 | } | |
7775 | ||
7776 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
7777 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7778 | PyObject * _resultobj; | |
7779 | int _result; | |
7780 | wxStyledTextEvent * _arg0; | |
7781 | PyObject * _argo0 = 0; | |
7782 | char *_kwnames[] = { "self", NULL }; | |
7783 | ||
7784 | self = self; | |
7785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
7786 | return NULL; | |
7787 | if (_argo0) { | |
7788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
7791 | return NULL; | |
7792 | } | |
7793 | } | |
7794 | { | |
7795 | wxPy_BEGIN_ALLOW_THREADS; | |
7796 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); | |
7797 | ||
7798 | wxPy_END_ALLOW_THREADS; | |
7799 | } _resultobj = Py_BuildValue("i",_result); | |
7800 | return _resultobj; | |
7801 | } | |
7802 | ||
7803 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
7804 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7805 | PyObject * _resultobj; | |
7806 | int _result; | |
7807 | wxStyledTextEvent * _arg0; | |
7808 | PyObject * _argo0 = 0; | |
7809 | char *_kwnames[] = { "self", NULL }; | |
7810 | ||
7811 | self = self; | |
7812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
7813 | return NULL; | |
7814 | if (_argo0) { | |
7815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
7818 | return NULL; | |
7819 | } | |
7820 | } | |
7821 | { | |
7822 | wxPy_BEGIN_ALLOW_THREADS; | |
7823 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); | |
7824 | ||
7825 | wxPy_END_ALLOW_THREADS; | |
7826 | } _resultobj = Py_BuildValue("i",_result); | |
7827 | return _resultobj; | |
7828 | } | |
7829 | ||
7830 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
7831 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7832 | PyObject * _resultobj; | |
7833 | int _result; | |
7834 | wxStyledTextEvent * _arg0; | |
7835 | PyObject * _argo0 = 0; | |
7836 | char *_kwnames[] = { "self", NULL }; | |
7837 | ||
7838 | self = self; | |
7839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
7840 | return NULL; | |
7841 | if (_argo0) { | |
7842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
7845 | return NULL; | |
7846 | } | |
7847 | } | |
7848 | { | |
7849 | wxPy_BEGIN_ALLOW_THREADS; | |
7850 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); | |
7851 | ||
7852 | wxPy_END_ALLOW_THREADS; | |
7853 | } _resultobj = Py_BuildValue("i",_result); | |
7854 | return _resultobj; | |
7855 | } | |
7856 | ||
7857 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) | |
7858 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7859 | PyObject * _resultobj; | |
7860 | bool _result; | |
7861 | wxStyledTextEvent * _arg0; | |
7862 | PyObject * _argo0 = 0; | |
7863 | char *_kwnames[] = { "self", NULL }; | |
7864 | ||
7865 | self = self; | |
7866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
7867 | return NULL; | |
7868 | if (_argo0) { | |
7869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
7872 | return NULL; | |
7873 | } | |
7874 | } | |
7875 | { | |
7876 | wxPy_BEGIN_ALLOW_THREADS; | |
7877 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); | |
7878 | ||
7879 | wxPy_END_ALLOW_THREADS; | |
7880 | } _resultobj = Py_BuildValue("i",_result); | |
7881 | return _resultobj; | |
7882 | } | |
7883 | ||
7884 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
7885 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7886 | PyObject * _resultobj; | |
7887 | bool _result; | |
7888 | wxStyledTextEvent * _arg0; | |
7889 | PyObject * _argo0 = 0; | |
7890 | char *_kwnames[] = { "self", NULL }; | |
7891 | ||
7892 | self = self; | |
7893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
7894 | return NULL; | |
7895 | if (_argo0) { | |
7896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
7899 | return NULL; | |
7900 | } | |
7901 | } | |
7902 | { | |
7903 | wxPy_BEGIN_ALLOW_THREADS; | |
7904 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); | |
7905 | ||
7906 | wxPy_END_ALLOW_THREADS; | |
7907 | } _resultobj = Py_BuildValue("i",_result); | |
7908 | return _resultobj; | |
7909 | } | |
7910 | ||
7911 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
7912 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7913 | PyObject * _resultobj; | |
7914 | bool _result; | |
7915 | wxStyledTextEvent * _arg0; | |
7916 | PyObject * _argo0 = 0; | |
7917 | char *_kwnames[] = { "self", NULL }; | |
7918 | ||
7919 | self = self; | |
7920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
7921 | return NULL; | |
7922 | if (_argo0) { | |
7923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
7926 | return NULL; | |
7927 | } | |
7928 | } | |
7929 | { | |
7930 | wxPy_BEGIN_ALLOW_THREADS; | |
7931 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); | |
7932 | ||
7933 | wxPy_END_ALLOW_THREADS; | |
7934 | } _resultobj = Py_BuildValue("i",_result); | |
7935 | return _resultobj; | |
7936 | } | |
7937 | ||
7938 | #define wxStyledTextEvent_CopyObject(_swigobj,_swigarg0) (_swigobj->CopyObject(_swigarg0)) | |
7939 | static PyObject *_wrap_wxStyledTextEvent_CopyObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7940 | PyObject * _resultobj; | |
7941 | wxStyledTextEvent * _arg0; | |
7942 | wxObject * _arg1; | |
7943 | PyObject * _argo0 = 0; | |
7944 | PyObject * _argo1 = 0; | |
7945 | char *_kwnames[] = { "self","obj", NULL }; | |
7946 | ||
7947 | self = self; | |
7948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_CopyObject",_kwnames,&_argo0,&_argo1)) | |
7949 | return NULL; | |
7950 | if (_argo0) { | |
7951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_CopyObject. Expected _wxStyledTextEvent_p."); | |
7954 | return NULL; | |
7955 | } | |
7956 | } | |
7957 | if (_argo1) { | |
7958 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7959 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) { | |
7960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextEvent_CopyObject. Expected _wxObject_p."); | |
7961 | return NULL; | |
7962 | } | |
7963 | } | |
7964 | { | |
7965 | wxPy_BEGIN_ALLOW_THREADS; | |
7966 | wxStyledTextEvent_CopyObject(_arg0,*_arg1); | |
7967 | ||
7968 | wxPy_END_ALLOW_THREADS; | |
7969 | } Py_INCREF(Py_None); | |
7970 | _resultobj = Py_None; | |
7971 | return _resultobj; | |
7972 | } | |
7973 | ||
7974 | static PyMethodDef stc_cMethods[] = { | |
7975 | { "wxStyledTextEvent_CopyObject", (PyCFunction) _wrap_wxStyledTextEvent_CopyObject, METH_VARARGS | METH_KEYWORDS }, | |
7976 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, | |
7977 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
7978 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
7979 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
7980 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
7981 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
7982 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
7983 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
7984 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
7985 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
7986 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
7987 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
7988 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
7989 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
7990 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
7991 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
7992 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7993 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
7994 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
7995 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
7996 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
7997 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
7998 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
7999 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
8000 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
8001 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
8002 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8003 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
8004 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
8005 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
8006 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8007 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
8008 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8009 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, |
8010 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8011 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
8012 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
8013 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
8014 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
8015 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
8016 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
8017 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8018 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, |
8019 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
8020 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
8021 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8022 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, |
8023 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
8024 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
8025 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
8026 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
8027 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
8028 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
8029 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
8030 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
8031 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
8032 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
8033 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
8034 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
8035 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
8036 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8037 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, |
8038 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
8039 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
8040 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
8041 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
8042 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8043 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
8044 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
8045 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
8046 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
8047 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
8048 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
8049 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
8050 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8051 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8052 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, |
8053 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
8054 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
8055 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
8056 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
8057 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
8058 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
8059 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
8060 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
8061 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
8062 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
8063 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
8064 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
8065 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8066 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, |
8067 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8068 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
8069 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
8070 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
8071 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8072 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, |
8073 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
8074 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
8075 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8076 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8077 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
8078 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
8079 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8080 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
8081 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
8082 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
8083 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
8084 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
8085 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
8086 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
8087 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
8088 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
8089 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
8090 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
8091 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
8092 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
8093 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
8094 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8095 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
8096 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
8097 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
8098 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
8099 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
8100 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
8101 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
8102 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
8103 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
8104 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
8105 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
8106 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
8107 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
8108 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
8109 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
8110 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
8111 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
8112 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
8113 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
8114 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
8115 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
8116 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
8117 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
8118 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
8119 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
8120 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
8121 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
8122 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8123 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8124 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
8125 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
8126 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
8127 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
8128 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
8129 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
8130 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8131 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8132 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
8133 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
8134 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
8135 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
8136 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
8137 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
8138 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8139 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, |
8140 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
8141 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 | 8142 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8143 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8144 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8145 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, |
8146 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
8147 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8148 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, |
8149 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
8150 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
8151 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
8152 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
8153 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
8154 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8155 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, |
8156 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8157 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, |
8158 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8159 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8160 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, |
8161 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8162 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, |
8163 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
8164 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
8165 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
8166 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8167 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8168 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, |
8169 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8170 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8171 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8172 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8173 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8174 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8175 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, |
8176 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8177 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, |
8178 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8179 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8180 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, |
8181 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
8182 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
8183 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
8184 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
8185 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
8186 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
8187 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
8188 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
8189 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
8190 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
8191 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
8192 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
8193 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
8194 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
8195 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
8196 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
8197 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
8198 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
8199 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
8200 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
8201 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
8202 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8203 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8204 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, |
8205 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8206 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, |
8207 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
8208 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8209 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8210 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, |
8211 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8212 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8213 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, |
8214 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8215 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8216 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, |
8217 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8218 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8219 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, |
8220 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
8221 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
8222 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8223 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8224 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8225 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, |
8226 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8227 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8228 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, |
8229 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8230 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, |
8231 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
8232 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
8233 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8234 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, |
8235 | { NULL, NULL } | |
8236 | }; | |
8237 | #ifdef __cplusplus | |
8238 | } | |
8239 | #endif | |
8240 | /* | |
8241 | * This table is used by the pointer type-checker | |
8242 | */ | |
8243 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8244 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8245 | { "_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8246 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8247 | { "_wxEvent","_class_wxEvent",0}, | |
8248 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8249 | { "_signed_long","_long",0}, | |
8250 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
8251 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
8252 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, | |
8253 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
8254 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, | |
8255 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
8256 | { "_wxImage","_class_wxImage",0}, | |
8257 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, | |
8258 | { "_wxPrintQuality","_wxCoord",0}, | |
8259 | { "_wxPrintQuality","_int",0}, | |
8260 | { "_wxPrintQuality","_signed_int",0}, | |
8261 | { "_wxPrintQuality","_unsigned_int",0}, | |
8262 | { "_wxPrintQuality","_wxWindowID",0}, | |
8263 | { "_wxPrintQuality","_uint",0}, | |
8264 | { "_wxPrintQuality","_EBool",0}, | |
8265 | { "_wxPrintQuality","_size_t",0}, | |
fe47ec10 | 8266 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 BP |
8267 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
8268 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, | |
8269 | { "_wxFontData","_class_wxFontData",0}, | |
8270 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
8271 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, | |
8272 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
8273 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
8274 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, | |
8275 | { "_class_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
8276 | { "_class_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
8277 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
8278 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8279 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
8280 | { "_wxPySizer","_class_wxPySizer",0}, | |
8281 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
8282 | { "_wxCursor","_class_wxCursor",0}, | |
8283 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
8284 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
8285 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
8286 | { "_wxLog","_class_wxLog",0}, | |
8287 | { "_class_wxToolBarBase","_wxToolBarBase",0}, | |
8288 | { "_wxMask","_class_wxMask",0}, | |
8289 | { "_wxToolTip","_class_wxToolTip",0}, | |
8290 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
8291 | { "_class_wxStyledTextCtrl","_wxStyledTextCtrl",0}, | |
8292 | { "_class_wxColourData","_wxColourData",0}, | |
8293 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
8294 | { "_wxPrinter","_class_wxPrinter",0}, | |
8295 | { "_wxPen","_class_wxPen",0}, | |
8296 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
8297 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, | |
8298 | { "_byte","_unsigned_char",0}, | |
8299 | { "_wxDataObject","_class_wxDataObject",0}, | |
8300 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
8301 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
8302 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, | |
8303 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
8304 | { "_wxChoice","_class_wxChoice",0}, | |
8305 | { "_wxSlider","_class_wxSlider",0}, | |
8306 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
8307 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
8308 | { "_long","_unsigned_long",0}, | |
8309 | { "_long","_signed_long",0}, | |
8310 | { "_wxImageList","_class_wxImageList",0}, | |
8311 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, | |
8312 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
8313 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8314 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
8315 | { "_class_wxSizer","_wxSizer",0}, | |
8316 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, | |
8317 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
8318 | { "_wxGridSizer","_class_wxGridSizer",0}, | |
8319 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
8320 | { "_class_wxClipboard","_wxClipboard",0}, | |
8321 | { "_class_wxGauge","_wxGauge",0}, | |
8322 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
8323 | { "_wxDC","_class_wxDC",0}, | |
8324 | { "_wxSizerItem","_class_wxSizerItem",0}, | |
8325 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, | |
8326 | { "_wxListEvent","_class_wxListEvent",0}, | |
8327 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
8328 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
8329 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
8330 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
8331 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, | |
8332 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
8333 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
8334 | { "_size_t","_wxCoord",0}, | |
8335 | { "_size_t","_wxPrintQuality",0}, | |
fe47ec10 | 8336 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
8337 | { "_size_t","_unsigned_int",0}, |
8338 | { "_size_t","_int",0}, | |
8339 | { "_size_t","_wxWindowID",0}, | |
8340 | { "_size_t","_uint",0}, | |
8341 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
8342 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, | |
8343 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
8344 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
8345 | { "_wxLogGui","_class_wxLogGui",0}, | |
8346 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8347 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8348 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8349 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8350 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
8351 | { "_class_wxPySizer","_wxPySizer",0}, | |
8352 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
8353 | { "_wxPanel","_class_wxPanel",0}, | |
8354 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8355 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
8356 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, | |
8357 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
8358 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8359 | { "_class_wxMask","_wxMask",0}, | |
8360 | { "_wxTextDataObject","_class_wxTextDataObject",0}, | |
8361 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
8362 | { "_class_wxToolTip","_wxToolTip",0}, | |
8363 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
8364 | { "_wxColour","_class_wxColour",0}, | |
8365 | { "_class_wxDialog","_wxDialog",0}, | |
8366 | { "_wxBusyCursor","_class_wxBusyCursor",0}, | |
8367 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
8368 | { "_class_wxPrinter","_wxPrinter",0}, | |
8369 | { "_class_wxFileDataObject","_wxFileDataObject",0}, | |
8370 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
8371 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8372 | { "_wxToolBar","_class_wxToolBar",0}, | |
8373 | { "_class_wxDataObject","_wxDataObject",0}, | |
8374 | { "_wxCaret","_class_wxCaret",0}, | |
8375 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
8376 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8377 | { "_wxBrush","_class_wxBrush",0}, | |
8378 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
8379 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8380 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
8381 | { "_wxDataFormat","_class_wxDataFormat",0}, | |
8382 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
8383 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
8384 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
8385 | { "_uint","_wxCoord",0}, | |
8386 | { "_uint","_wxPrintQuality",0}, | |
fe47ec10 | 8387 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
8388 | { "_uint","_size_t",0}, |
8389 | { "_uint","_unsigned_int",0}, | |
8390 | { "_uint","_int",0}, | |
8391 | { "_uint","_wxWindowID",0}, | |
8392 | { "_wxChar","_char",0}, | |
8393 | { "_wxPyValidator","_class_wxPyValidator",0}, | |
8394 | { "_class_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8395 | { "_class_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8396 | { "_class_wxEvent","_wxEvent",0}, | |
8397 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8398 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
8399 | { "_wxRect","_class_wxRect",0}, | |
8400 | { "_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8401 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8402 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8403 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
8404 | { "_class_wxLogWindow","_wxLogWindow",0}, | |
8405 | { "_class_wxImage","_wxImage",0}, | |
8406 | { "_wxPoint","_class_wxPoint",0}, | |
8407 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
8408 | { "_class_wxButton","_wxButton",0}, | |
8409 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
8410 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, | |
8411 | { "_class_wxFontData","_wxFontData",0}, | |
8412 | { "_class_wxPNMHandler","_wxPNMHandler",0}, | |
8413 | { "_wxBoxSizer","_class_wxBoxSizer",0}, | |
8414 | { "_char","_wxChar",0}, | |
8415 | { "_wxBitmap","_class_wxBitmap",0}, | |
8416 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
8417 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
8418 | { "_wxTimerEvent","_class_wxTimerEvent",0}, | |
8419 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
8420 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
8421 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
8422 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
8423 | { "_wxPrintData","_class_wxPrintData",0}, | |
8424 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
8425 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8426 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
8427 | { "_class_wxValidator","_wxValidator",0}, | |
8428 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
8429 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
8430 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
8431 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
8432 | { "_class_wxBusyCursor","_wxBusyCursor",0}, | |
8433 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
8434 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
8435 | { "_wxListItem","_class_wxListItem",0}, | |
8436 | { "_class_wxToolBar","_wxToolBar",0}, | |
8437 | { "_wxDropTarget","_class_wxDropTarget",0}, | |
8438 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
8439 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
8440 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, | |
8441 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
8442 | { "_EBool","_wxCoord",0}, | |
8443 | { "_EBool","_wxPrintQuality",0}, | |
8444 | { "_EBool","_signed_int",0}, | |
8445 | { "_EBool","_int",0}, | |
8446 | { "_EBool","_wxWindowID",0}, | |
8447 | { "_class_wxRegion","_wxRegion",0}, | |
8448 | { "_class_wxDataFormat","_wxDataFormat",0}, | |
8449 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
8450 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, | |
8451 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
8452 | { "_wxStaticText","_class_wxStaticText",0}, | |
8453 | { "_wxFont","_class_wxFont",0}, | |
8454 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, | |
8455 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
8456 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
8457 | { "_wxNotebook","_class_wxNotebook",0}, | |
8458 | { "_unsigned_long","_long",0}, | |
8459 | { "_class_wxRect","_wxRect",0}, | |
8460 | { "_class_wxDC","_wxDC",0}, | |
8461 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, | |
8462 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, | |
8463 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
8464 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, | |
8465 | { "_wxPyApp","_class_wxPyApp",0}, | |
8466 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
8467 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
8468 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
8469 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8470 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
8471 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
8472 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
8473 | { "_class_wxTimerEvent","_wxTimerEvent",0}, | |
8474 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
8475 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
8476 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8477 | { "_class_wxPanel","_wxPanel",0}, | |
8478 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8479 | { "_wxComboBox","_class_wxComboBox",0}, | |
8480 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8481 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
8482 | { "_signed_int","_wxCoord",0}, | |
8483 | { "_signed_int","_wxPrintQuality",0}, | |
8484 | { "_signed_int","_EBool",0}, | |
8485 | { "_signed_int","_wxWindowID",0}, | |
8486 | { "_signed_int","_int",0}, | |
8487 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
8488 | { "_class_wxListItemAttr","_wxListItemAttr",0}, | |
8489 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
8490 | { "_class_wxTextDataObject","_wxTextDataObject",0}, | |
8491 | { "_wxMenu","_class_wxMenu",0}, | |
8492 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8493 | { "_wxListBox","_class_wxListBox",0}, | |
8494 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
8495 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, | |
8496 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
8497 | { "_WXTYPE","_short",0}, | |
8498 | { "_WXTYPE","_signed_short",0}, | |
8499 | { "_WXTYPE","_unsigned_short",0}, | |
8500 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
8501 | { "_class_wxDropTarget","_wxDropTarget",0}, | |
8502 | { "_class_wxCaret","_wxCaret",0}, | |
8503 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
8504 | { "_class_wxBrush","_wxBrush",0}, | |
8505 | { "_wxTipProvider","_class_wxTipProvider",0}, | |
8506 | { "_unsigned_short","_WXTYPE",0}, | |
8507 | { "_unsigned_short","_short",0}, | |
8508 | { "_class_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8509 | { "_class_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8510 | { "_class_wxWindow","_wxWindow",0}, | |
8511 | { "_class_wxLogStderr","_wxLogStderr",0}, | |
8512 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
8513 | { "_class_wxStyledTextEvent","_wxStyledTextEvent",0}, | |
8514 | { "_class_wxStaticText","_wxStaticText",0}, | |
8515 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8516 | { "_class_wxFont","_wxFont",0}, | |
8517 | { "_wxClipboard","_class_wxClipboard",0}, | |
8518 | { "_class_wxPyValidator","_wxPyValidator",0}, | |
8519 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
8520 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
8521 | { "_wxBusyInfo","_class_wxBusyInfo",0}, | |
8522 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
8523 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, | |
8524 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
8525 | { "_wxClientDC","_class_wxClientDC",0}, | |
8526 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
8527 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, | |
8528 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
8529 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8530 | { "_class_wxPoint","_wxPoint",0}, | |
8531 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
8532 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
8533 | { "_class_wxBoxSizer","_wxBoxSizer",0}, | |
8534 | { "_signed_short","_WXTYPE",0}, | |
8535 | { "_signed_short","_short",0}, | |
8536 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
8537 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, | |
8538 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
8539 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
8540 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8541 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8542 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8543 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
8544 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
8545 | { "_class_wxCursor","_wxCursor",0}, | |
8546 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
8547 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, | |
8548 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
8549 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
8550 | { "_class_wxLog","_wxLog",0}, | |
8551 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
8552 | { "_unsigned_char","_byte",0}, | |
8553 | { "_class_wxMenu","_wxMenu",0}, | |
8554 | { "_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8555 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8556 | { "_wxControl","_class_wxControl",0}, | |
8557 | { "_class_wxListBox","_wxListBox",0}, | |
8558 | { "_unsigned_int","_wxCoord",0}, | |
8559 | { "_unsigned_int","_wxPrintQuality",0}, | |
fe47ec10 | 8560 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
8561 | { "_unsigned_int","_size_t",0}, |
8562 | { "_unsigned_int","_uint",0}, | |
8563 | { "_unsigned_int","_wxWindowID",0}, | |
8564 | { "_unsigned_int","_int",0}, | |
8565 | { "_wxIcon","_class_wxIcon",0}, | |
8566 | { "_wxDialog","_class_wxDialog",0}, | |
8567 | { "_class_wxListItem","_wxListItem",0}, | |
8568 | { "_class_wxPen","_wxPen",0}, | |
8569 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8570 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
8571 | { "_short","_WXTYPE",0}, | |
8572 | { "_short","_unsigned_short",0}, | |
8573 | { "_short","_signed_short",0}, | |
8574 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8575 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
8576 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, | |
8577 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
8578 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
8579 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8580 | { "_class_wxChoice","_wxChoice",0}, | |
8581 | { "_class_wxSlider","_wxSlider",0}, | |
8582 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8583 | { "_class_wxImageList","_wxImageList",0}, | |
8584 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
8585 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, | |
8586 | { "_wxFrame","_class_wxFrame",0}, | |
8587 | { "_wxPCXHandler","_class_wxPCXHandler",0}, | |
8588 | { "_class_wxGridSizer","_wxGridSizer",0}, | |
8589 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, | |
8590 | { "_class_wxNotebook","_wxNotebook",0}, | |
8591 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
8592 | { "_wxWindowID","_wxCoord",0}, | |
8593 | { "_wxWindowID","_wxPrintQuality",0}, | |
fe47ec10 | 8594 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
8595 | { "_wxWindowID","_size_t",0}, |
8596 | { "_wxWindowID","_EBool",0}, | |
8597 | { "_wxWindowID","_uint",0}, | |
8598 | { "_wxWindowID","_int",0}, | |
8599 | { "_wxWindowID","_signed_int",0}, | |
8600 | { "_wxWindowID","_unsigned_int",0}, | |
8601 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, | |
8602 | { "_class_wxSizerItem","_wxSizerItem",0}, | |
8603 | { "_int","_wxCoord",0}, | |
8604 | { "_int","_wxPrintQuality",0}, | |
fe47ec10 | 8605 | { "_int","_time_t",0}, |
f6bcfd97 BP |
8606 | { "_int","_size_t",0}, |
8607 | { "_int","_EBool",0}, | |
8608 | { "_int","_uint",0}, | |
8609 | { "_int","_wxWindowID",0}, | |
8610 | { "_int","_unsigned_int",0}, | |
8611 | { "_int","_signed_int",0}, | |
8612 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
8613 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, | |
8614 | { "_wxLogWindow","_class_wxLogWindow",0}, | |
8615 | { "_class_wxListEvent","_wxListEvent",0}, | |
8616 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
8617 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
8618 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, | |
fe47ec10 RD |
8619 | { "_time_t","_wxCoord",0}, |
8620 | { "_time_t","_wxPrintQuality",0}, | |
8621 | { "_time_t","_unsigned_int",0}, | |
8622 | { "_time_t","_int",0}, | |
8623 | { "_time_t","_wxWindowID",0}, | |
8624 | { "_time_t","_uint",0}, | |
8625 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
8626 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
8627 | { "_wxLogNull","_class_wxLogNull",0}, | |
8628 | { "_wxButton","_class_wxButton",0}, | |
8629 | { "_class_wxPyApp","_wxPyApp",0}, | |
8630 | { "_wxSize","_class_wxSize",0}, | |
8631 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
8632 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, | |
8633 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, | |
8634 | { "_class_wxLogGui","_wxLogGui",0}, | |
8635 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
8636 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
8637 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, | |
8638 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
8639 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
8640 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, | |
8641 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
8642 | { "_class_wxComboBox","_wxComboBox",0}, | |
8643 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8644 | { "_wxValidator","_class_wxValidator",0}, | |
8645 | { "_wxToolBarBase","_class_wxToolBarBase",0}, | |
8646 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
8647 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
8648 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8649 | { "_class_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8650 | { "_class_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8651 | { "_class_wxControl","_wxControl",0}, | |
8652 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8653 | { "_wxStyledTextCtrl","_class_wxStyledTextCtrl",0}, | |
8654 | { "_class_wxIcon","_wxIcon",0}, | |
8655 | { "_class_wxColour","_wxColour",0}, | |
8656 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8657 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8658 | { "_wxPalette","_class_wxPalette",0}, | |
8659 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
8660 | { "_wxCoord","_int",0}, | |
8661 | { "_wxCoord","_signed_int",0}, | |
8662 | { "_wxCoord","_unsigned_int",0}, | |
8663 | { "_wxCoord","_wxWindowID",0}, | |
8664 | { "_wxCoord","_uint",0}, | |
8665 | { "_wxCoord","_EBool",0}, | |
8666 | { "_wxCoord","_size_t",0}, | |
fe47ec10 | 8667 | { "_wxCoord","_time_t",0}, |
f6bcfd97 BP |
8668 | { "_wxCoord","_wxPrintQuality",0}, |
8669 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
8670 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, | |
8671 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
8672 | { "_class_wxTipProvider","_wxTipProvider",0}, | |
8673 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
8674 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
8675 | { "_wxRegion","_class_wxRegion",0}, | |
8676 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8677 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
8678 | { "_wxSizer","_class_wxSizer",0}, | |
8679 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
8680 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, | |
8681 | { "_class_wxPCXHandler","_wxPCXHandler",0}, | |
8682 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
8683 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
8684 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
8685 | { "_wxGauge","_class_wxGauge",0}, | |
8686 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
8687 | { "_class_wxBusyInfo","_wxBusyInfo",0}, | |
8688 | { "_class_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8689 | { "_class_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8690 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
8691 | { "_class_wxClientDC","_wxClientDC",0}, | |
8692 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8693 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
8694 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, | |
8695 | { "_class_wxLogNull","_wxLogNull",0}, | |
8696 | { "_class_wxSize","_wxSize",0}, | |
8697 | { "_class_wxBitmap","_wxBitmap",0}, | |
8698 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
8699 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, | |
8700 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
8701 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
8702 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
8703 | { "_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
8704 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
8705 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8706 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8707 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
8708 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
8709 | { "_class_wxPrintData","_wxPrintData",0}, | |
8710 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
8711 | { "_wxListItemAttr","_class_wxListItemAttr",0}, | |
8712 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
8713 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
8714 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8715 | { "_wxColourData","_class_wxColourData",0}, | |
8716 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
8717 | { "_class_wxPalette","_wxPalette",0}, | |
8718 | { "_wxFileDataObject","_class_wxFileDataObject",0}, | |
8719 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
8720 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, | |
8721 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
8722 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, | |
8723 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
8724 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, | |
8725 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
8726 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
8727 | { "_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8728 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8729 | { "_wxWindow","_class_wxWindow",0}, | |
8730 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, | |
8731 | { "_wxLogStderr","_class_wxLogStderr",0}, | |
8732 | { "_wxStyledTextEvent","_class_wxStyledTextEvent",0}, | |
8733 | { "_class_wxFrame","_wxFrame",0}, | |
8734 | {0,0,0}}; | |
8735 | ||
8736 | static PyObject *SWIG_globals; | |
8737 | #ifdef __cplusplus | |
8738 | extern "C" | |
8739 | #endif | |
8740 | SWIGEXPORT(void) initstc_c() { | |
8741 | PyObject *m, *d; | |
8742 | SWIG_globals = SWIG_newvarlink(); | |
8743 | m = Py_InitModule("stc_c", stc_cMethods); | |
8744 | d = PyModule_GetDict(m); | |
fe47ec10 RD |
8745 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
8746 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
8747 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
8748 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
8749 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
8750 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
8751 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
8752 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
8753 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
8754 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
8755 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
8756 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
8757 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
f6bcfd97 BP |
8758 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); |
8759 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
8760 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
8761 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
8762 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
8763 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
8764 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
8765 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
8766 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
8767 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
8768 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); | |
8769 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
fe47ec10 RD |
8770 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
8771 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
8772 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
8773 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
8774 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
8775 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
8776 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
8777 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
8778 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); | |
8779 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
8780 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
8781 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
8782 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
8783 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
8784 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
8785 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
8786 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
8787 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
8788 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
8789 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
8790 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
8791 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
8792 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
8793 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
8794 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
8795 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
8796 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
8797 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
f6bcfd97 BP |
8798 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); |
8799 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
8800 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
8801 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
8802 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
8803 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
8804 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32)); | |
8805 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64)); | |
8806 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128)); | |
fe47ec10 RD |
8807 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 32|64|128)); |
8808 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); | |
8809 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
8810 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
8811 | PyDict_SetItemString(d,"wxSTC_FIND_DOWN", PyInt_FromLong((long) 1)); | |
8812 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); | |
8813 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
8814 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
8815 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
8816 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
8817 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
8818 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
8819 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
8820 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
f6bcfd97 BP |
8821 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); |
8822 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
8823 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
fe47ec10 RD |
8824 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
8825 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
8826 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
8827 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
8828 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
8829 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
8830 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
8831 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
8832 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
8833 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
8834 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
8835 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
8836 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
8837 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
8838 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
8839 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
8840 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
8841 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
8842 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
8843 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
8844 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
8845 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
8846 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
8847 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
8848 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
8849 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
8850 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
8851 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
8852 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
8853 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
8854 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
8855 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
8856 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
8857 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
8858 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
8859 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
8860 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
8861 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
8862 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
8863 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
8864 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
8865 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
8866 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
8867 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
8868 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); | |
8869 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
8870 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
f6bcfd97 | 8871 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
fe47ec10 | 8872 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); |
f6bcfd97 | 8873 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); |
fe47ec10 RD |
8874 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
8875 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
8876 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
8877 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
8878 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
8879 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
8880 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
8881 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
8882 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
8883 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
8884 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
8885 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
8886 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
8887 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
8888 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
8889 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
8890 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
8891 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
8892 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
8893 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
8894 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
8895 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
8896 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
8897 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
8898 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
8899 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
8900 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
8901 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
8902 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
8903 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
8904 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
8905 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
8906 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
8907 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
8908 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
8909 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
8910 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
8911 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
8912 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
8913 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
8914 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
8915 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
8916 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
8917 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
8918 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
8919 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
8920 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
8921 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
8922 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
8923 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); | |
8924 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
8925 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
8926 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
8927 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
8928 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
8929 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
8930 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
8931 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
8932 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
8933 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
8934 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
8935 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
8936 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
8937 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
8938 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
8939 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
8940 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
8941 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
8942 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
8943 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
8944 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
8945 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
8946 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
8947 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
8948 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
8949 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
8950 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
8951 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); | |
8952 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
8953 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
8954 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
8955 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
8956 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
8957 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
8958 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
8959 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
8960 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
8961 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
8962 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
8963 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
8964 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
8965 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
8966 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
8967 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
8968 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
8969 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
8970 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
8971 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); | |
8972 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
8973 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
8974 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
8975 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
8976 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
8977 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
8978 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
8979 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
8980 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
8981 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
8982 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
8983 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); | |
8984 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
8985 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
8986 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
8987 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
8988 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
8989 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
8990 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
8991 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
8992 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
8993 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
8994 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
8995 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); | |
8996 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
8997 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
8998 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
8999 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
9000 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
9001 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
9002 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
9003 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
9004 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
9005 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
9006 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
9007 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
9008 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
9009 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
9010 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
9011 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
9012 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
9013 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
9014 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
9015 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
9016 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
9017 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
9018 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
9019 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
9020 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
9021 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
9022 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
9023 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
9024 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
9025 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
9026 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
9027 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
9028 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
9029 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
9030 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
9031 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
9032 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
9033 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
9034 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
9035 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
9036 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
9037 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
9038 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
9039 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
9040 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
9041 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
9042 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
9043 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
9044 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
9045 | PyDict_SetItemString(d,"wxSTC_HPHP_STRINGEOL", PyInt_FromLong((long) 126)); | |
9046 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); | |
9047 | PyDict_SetItemString(d,"wxSTC_PL_HERE", PyInt_FromLong((long) 1)); | |
9048 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9049 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
9050 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
9051 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
9052 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
9053 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
9054 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
9055 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9056 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
9057 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9058 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
9059 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
9060 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
9061 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
9062 | PyDict_SetItemString(d,"wxSTC_PL_REF", PyInt_FromLong((long) 16)); | |
9063 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); | |
9064 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
9065 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
9066 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
9067 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
9068 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); | |
9069 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
9070 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
9071 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
9072 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
9073 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
9074 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
9075 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9076 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
9077 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
9078 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
9079 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
9080 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
9081 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
9082 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9083 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
9084 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9085 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
9086 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); | |
9087 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
9088 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
9089 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
9090 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
9091 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
9092 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
9093 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31))))); | |
f6bcfd97 BP |
9094 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
9095 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); | |
9096 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
9097 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
9098 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); | |
9099 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); | |
9100 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
9101 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
9102 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); | |
9103 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); | |
9104 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); | |
9105 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); | |
9106 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
9107 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
fe47ec10 | 9108 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); |
f6bcfd97 BP |
9109 | |
9110 | ||
9111 | wxClassInfo::CleanUpClasses(); | |
9112 | wxClassInfo::InitializeClasses(); | |
9113 | ||
9114 | { | |
9115 | int i; | |
9116 | for (i = 0; _swig_mapping[i].n1; i++) | |
9117 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
9118 | } | |
9119 | } |