]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | /* |
74933d75 | 2 | * FILE : contrib/stc/msw/stc_.cpp |
f6bcfd97 BP |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
f6bcfd97 BP |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
83b18bab | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
83b18bab | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
83b18bab | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
83b18bab RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
83b18bab | 44 | |
f6bcfd97 BP |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initstc_c | |
55 | ||
56 | #define SWIG_name "stc_c" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
f6bcfd97 BP |
59 | #include "wx/stc/stc.h" |
60 | ||
f6bcfd97 BP |
61 | |
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
f3d9dc1d | 66 | if (!target) { |
f6bcfd97 | 67 | target = o; |
f3d9dc1d | 68 | } else if (target == Py_None) { |
f6bcfd97 BP |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
f3d9dc1d | 71 | } else { |
f6bcfd97 BP |
72 | if (!PyTuple_Check(target)) { |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
f3d9dc1d RD |
77 | o3 = PyTuple_New(1); |
78 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
79 | |
80 | o2 = target; | |
f3d9dc1d RD |
81 | target = PySequence_Concat(o2, o3); |
82 | Py_DECREF(o2); | |
f6bcfd97 BP |
83 | Py_DECREF(o3); |
84 | } | |
85 | return target; | |
86 | } | |
f6bcfd97 BP |
87 | #ifdef __cplusplus |
88 | extern "C" { | |
89 | #endif | |
90 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
91 | wxStyledTextCtrl *src; | |
92 | wxControl *dest; | |
93 | src = (wxStyledTextCtrl *) ptr; | |
94 | dest = (wxControl *) src; | |
95 | return (void *) dest; | |
96 | } | |
97 | ||
98 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
99 | wxStyledTextCtrl *src; | |
100 | wxWindow *dest; | |
101 | src = (wxStyledTextCtrl *) ptr; | |
102 | dest = (wxWindow *) src; | |
103 | return (void *) dest; | |
104 | } | |
105 | ||
106 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
107 | wxStyledTextCtrl *src; | |
108 | wxEvtHandler *dest; | |
109 | src = (wxStyledTextCtrl *) ptr; | |
110 | dest = (wxEvtHandler *) src; | |
111 | return (void *) dest; | |
112 | } | |
113 | ||
493f1553 RD |
114 | static void *SwigwxStyledTextCtrlTowxObject(void *ptr) { |
115 | wxStyledTextCtrl *src; | |
116 | wxObject *dest; | |
117 | src = (wxStyledTextCtrl *) ptr; | |
118 | dest = (wxObject *) src; | |
119 | return (void *) dest; | |
120 | } | |
121 | ||
f6bcfd97 BP |
122 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
123 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
124 | PyObject * _resultobj; | |
125 | wxStyledTextCtrl * _result; | |
126 | wxWindow * _arg0; | |
127 | wxWindowID _arg1; | |
128 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
129 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
130 | long _arg4 = (long ) 0; | |
131 | char * _arg5 = (char *) "styledtext"; | |
132 | PyObject * _argo0 = 0; | |
133 | wxPoint temp; | |
134 | PyObject * _obj2 = 0; | |
135 | wxSize temp0; | |
136 | PyObject * _obj3 = 0; | |
137 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
138 | char _ptemp[128]; | |
139 | ||
140 | self = self; | |
141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
142 | return NULL; | |
143 | if (_argo0) { | |
144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
147 | return NULL; | |
148 | } | |
149 | } | |
150 | if (_obj2) | |
151 | { | |
152 | _arg2 = &temp; | |
153 | if (! wxPoint_helper(_obj2, &_arg2)) | |
154 | return NULL; | |
155 | } | |
156 | if (_obj3) | |
157 | { | |
158 | _arg3 = &temp0; | |
159 | if (! wxSize_helper(_obj3, &_arg3)) | |
160 | return NULL; | |
161 | } | |
162 | { | |
4268f798 | 163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 164 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 | 165 | |
4268f798 RD |
166 | wxPyEndAllowThreads(__tstate); |
167 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
168 | } if (_result) { |
169 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
170 | _resultobj = Py_BuildValue("s",_ptemp); | |
171 | } else { | |
172 | Py_INCREF(Py_None); | |
173 | _resultobj = Py_None; | |
174 | } | |
175 | return _resultobj; | |
176 | } | |
177 | ||
fe47ec10 RD |
178 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) |
179 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 180 | PyObject * _resultobj; |
f6bcfd97 | 181 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 182 | wxString * _arg1; |
f6bcfd97 | 183 | PyObject * _argo0 = 0; |
fe47ec10 RD |
184 | PyObject * _obj1 = 0; |
185 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
186 | |
187 | self = self; | |
fe47ec10 | 188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
189 | return NULL; |
190 | if (_argo0) { | |
191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
194 | return NULL; |
195 | } | |
196 | } | |
fe47ec10 | 197 | { |
c8bc7bb8 RD |
198 | _arg1 = wxString_in_helper(_obj1); |
199 | if (_arg1 == NULL) | |
185d7c3e | 200 | return NULL; |
fe47ec10 | 201 | } |
f6bcfd97 | 202 | { |
4268f798 | 203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 204 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
f6bcfd97 | 205 | |
4268f798 RD |
206 | wxPyEndAllowThreads(__tstate); |
207 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
208 | } Py_INCREF(Py_None); |
209 | _resultobj = Py_None; | |
f6bcfd97 | 210 | { |
fe47ec10 RD |
211 | if (_obj1) |
212 | delete _arg1; | |
f6bcfd97 BP |
213 | } |
214 | return _resultobj; | |
215 | } | |
216 | ||
fe47ec10 RD |
217 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) |
218 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 219 | PyObject * _resultobj; |
f6bcfd97 | 220 | wxStyledTextCtrl * _arg0; |
10ef30eb | 221 | wxMemoryBuffer * _arg1; |
f6bcfd97 BP |
222 | PyObject * _argo0 = 0; |
223 | PyObject * _obj1 = 0; | |
10ef30eb | 224 | char *_kwnames[] = { "self","data", NULL }; |
f6bcfd97 BP |
225 | |
226 | self = self; | |
fe47ec10 | 227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
228 | return NULL; |
229 | if (_argo0) { | |
230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
233 | return NULL; |
234 | } | |
235 | } | |
236 | { | |
10ef30eb RD |
237 | if (!PyString_Check(_obj1)) { |
238 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
185d7c3e | 239 | return NULL; |
10ef30eb RD |
240 | } |
241 | char* str = PyString_AS_STRING(_obj1); | |
242 | int len = PyString_GET_SIZE(_obj1); | |
243 | _arg1 = new wxMemoryBuffer(len); | |
244 | memcpy(_arg1->GetData(), str, len); | |
f6bcfd97 BP |
245 | } |
246 | { | |
4268f798 | 247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 248 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
f6bcfd97 | 249 | |
4268f798 RD |
250 | wxPyEndAllowThreads(__tstate); |
251 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
252 | } Py_INCREF(Py_None); |
253 | _resultobj = Py_None; | |
f6bcfd97 BP |
254 | { |
255 | if (_obj1) | |
256 | delete _arg1; | |
257 | } | |
258 | return _resultobj; | |
259 | } | |
260 | ||
fe47ec10 RD |
261 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) |
262 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 263 | PyObject * _resultobj; |
f6bcfd97 BP |
264 | wxStyledTextCtrl * _arg0; |
265 | int _arg1; | |
fe47ec10 | 266 | wxString * _arg2; |
f6bcfd97 | 267 | PyObject * _argo0 = 0; |
fe47ec10 RD |
268 | PyObject * _obj2 = 0; |
269 | char *_kwnames[] = { "self","pos","text", NULL }; | |
f6bcfd97 BP |
270 | |
271 | self = self; | |
fe47ec10 | 272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
273 | return NULL; |
274 | if (_argo0) { | |
275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
278 | return NULL; |
279 | } | |
280 | } | |
fe47ec10 | 281 | { |
c8bc7bb8 RD |
282 | _arg2 = wxString_in_helper(_obj2); |
283 | if (_arg2 == NULL) | |
185d7c3e | 284 | return NULL; |
fe47ec10 | 285 | } |
f6bcfd97 | 286 | { |
4268f798 | 287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 288 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
f6bcfd97 | 289 | |
4268f798 RD |
290 | wxPyEndAllowThreads(__tstate); |
291 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
292 | } Py_INCREF(Py_None); |
293 | _resultobj = Py_None; | |
f6bcfd97 | 294 | { |
fe47ec10 RD |
295 | if (_obj2) |
296 | delete _arg2; | |
f6bcfd97 BP |
297 | } |
298 | return _resultobj; | |
299 | } | |
300 | ||
fe47ec10 RD |
301 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) |
302 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
303 | PyObject * _resultobj; |
304 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 305 | PyObject * _argo0 = 0; |
fe47ec10 | 306 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
307 | |
308 | self = self; | |
fe47ec10 | 309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
310 | return NULL; |
311 | if (_argo0) { | |
312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
315 | return NULL; |
316 | } | |
317 | } | |
f6bcfd97 | 318 | { |
4268f798 | 319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 320 | wxStyledTextCtrl_ClearAll(_arg0); |
f6bcfd97 | 321 | |
4268f798 RD |
322 | wxPyEndAllowThreads(__tstate); |
323 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
324 | } Py_INCREF(Py_None); |
325 | _resultobj = Py_None; | |
f6bcfd97 BP |
326 | return _resultobj; |
327 | } | |
328 | ||
fe47ec10 RD |
329 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) |
330 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
331 | PyObject * _resultobj; |
332 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 333 | PyObject * _argo0 = 0; |
fe47ec10 | 334 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
335 | |
336 | self = self; | |
fe47ec10 | 337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) |
f6bcfd97 BP |
338 | return NULL; |
339 | if (_argo0) { | |
340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
343 | return NULL; |
344 | } | |
345 | } | |
f6bcfd97 | 346 | { |
4268f798 | 347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 348 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
f6bcfd97 | 349 | |
4268f798 RD |
350 | wxPyEndAllowThreads(__tstate); |
351 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
352 | } Py_INCREF(Py_None); |
353 | _resultobj = Py_None; | |
354 | return _resultobj; | |
355 | } | |
356 | ||
fe47ec10 RD |
357 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) |
358 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 359 | PyObject * _resultobj; |
fe47ec10 | 360 | int _result; |
f6bcfd97 BP |
361 | wxStyledTextCtrl * _arg0; |
362 | PyObject * _argo0 = 0; | |
363 | char *_kwnames[] = { "self", NULL }; | |
364 | ||
365 | self = self; | |
fe47ec10 | 366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
367 | return NULL; |
368 | if (_argo0) { | |
369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
372 | return NULL; |
373 | } | |
374 | } | |
375 | { | |
4268f798 | 376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 377 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
f6bcfd97 | 378 | |
4268f798 RD |
379 | wxPyEndAllowThreads(__tstate); |
380 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
381 | } _resultobj = Py_BuildValue("i",_result); |
382 | return _resultobj; | |
383 | } | |
384 | ||
fe47ec10 RD |
385 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) |
386 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 387 | PyObject * _resultobj; |
fe47ec10 | 388 | int _result; |
f6bcfd97 BP |
389 | wxStyledTextCtrl * _arg0; |
390 | int _arg1; | |
f6bcfd97 | 391 | PyObject * _argo0 = 0; |
fe47ec10 | 392 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
393 | |
394 | self = self; | |
fe47ec10 | 395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
396 | return NULL; |
397 | if (_argo0) { | |
398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
401 | return NULL; |
402 | } | |
403 | } | |
404 | { | |
4268f798 | 405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 406 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
f6bcfd97 | 407 | |
4268f798 RD |
408 | wxPyEndAllowThreads(__tstate); |
409 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 410 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
411 | return _resultobj; |
412 | } | |
413 | ||
fe47ec10 RD |
414 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) |
415 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 416 | PyObject * _resultobj; |
fe47ec10 | 417 | int _result; |
f6bcfd97 | 418 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 419 | PyObject * _argo0 = 0; |
fe47ec10 | 420 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
421 | |
422 | self = self; | |
fe47ec10 | 423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) |
f6bcfd97 BP |
424 | return NULL; |
425 | if (_argo0) { | |
426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
429 | return NULL; |
430 | } | |
431 | } | |
432 | { | |
4268f798 | 433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 434 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
f6bcfd97 | 435 | |
4268f798 RD |
436 | wxPyEndAllowThreads(__tstate); |
437 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 438 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
439 | return _resultobj; |
440 | } | |
441 | ||
fe47ec10 RD |
442 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) |
443 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 444 | PyObject * _resultobj; |
fe47ec10 | 445 | int _result; |
f6bcfd97 | 446 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 447 | PyObject * _argo0 = 0; |
fe47ec10 | 448 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
449 | |
450 | self = self; | |
fe47ec10 | 451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) |
f6bcfd97 BP |
452 | return NULL; |
453 | if (_argo0) { | |
454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
457 | return NULL; |
458 | } | |
459 | } | |
f6bcfd97 | 460 | { |
4268f798 | 461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 462 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
f6bcfd97 | 463 | |
4268f798 RD |
464 | wxPyEndAllowThreads(__tstate); |
465 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 466 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
467 | return _resultobj; |
468 | } | |
469 | ||
fe47ec10 RD |
470 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) |
471 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 472 | PyObject * _resultobj; |
fe47ec10 | 473 | int _result; |
f6bcfd97 | 474 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 475 | int _arg1; |
f6bcfd97 | 476 | PyObject * _argo0 = 0; |
fe47ec10 | 477 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
478 | |
479 | self = self; | |
fe47ec10 | 480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
481 | return NULL; |
482 | if (_argo0) { | |
483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
486 | return NULL; |
487 | } | |
488 | } | |
f6bcfd97 | 489 | { |
4268f798 | 490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 491 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
f6bcfd97 | 492 | |
4268f798 RD |
493 | wxPyEndAllowThreads(__tstate); |
494 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 495 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
496 | return _resultobj; |
497 | } | |
498 | ||
fe47ec10 RD |
499 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) |
500 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
501 | PyObject * _resultobj; |
502 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 503 | PyObject * _argo0 = 0; |
fe47ec10 | 504 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
505 | |
506 | self = self; | |
fe47ec10 | 507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) |
f6bcfd97 BP |
508 | return NULL; |
509 | if (_argo0) { | |
510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
513 | return NULL; |
514 | } | |
515 | } | |
f6bcfd97 | 516 | { |
4268f798 | 517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 518 | wxStyledTextCtrl_Redo(_arg0); |
f6bcfd97 | 519 | |
4268f798 RD |
520 | wxPyEndAllowThreads(__tstate); |
521 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
522 | } Py_INCREF(Py_None); |
523 | _resultobj = Py_None; | |
f6bcfd97 BP |
524 | return _resultobj; |
525 | } | |
526 | ||
fe47ec10 RD |
527 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) |
528 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
529 | PyObject * _resultobj; |
530 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 531 | bool _arg1; |
f6bcfd97 | 532 | PyObject * _argo0 = 0; |
fe47ec10 RD |
533 | int tempbool1; |
534 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
f6bcfd97 BP |
535 | |
536 | self = self; | |
fe47ec10 | 537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
538 | return NULL; |
539 | if (_argo0) { | |
540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
543 | return NULL; |
544 | } | |
545 | } | |
fe47ec10 | 546 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 547 | { |
4268f798 | 548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 549 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
f6bcfd97 | 550 | |
4268f798 RD |
551 | wxPyEndAllowThreads(__tstate); |
552 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
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 | { | |
4268f798 | 576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 577 | wxStyledTextCtrl_SelectAll(_arg0); |
f6bcfd97 | 578 | |
4268f798 RD |
579 | wxPyEndAllowThreads(__tstate); |
580 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
581 | } Py_INCREF(Py_None); |
582 | _resultobj = Py_None; | |
f6bcfd97 BP |
583 | return _resultobj; |
584 | } | |
585 | ||
fe47ec10 RD |
586 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) |
587 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 588 | PyObject * _resultobj; |
f6bcfd97 | 589 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 590 | PyObject * _argo0 = 0; |
fe47ec10 | 591 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
592 | |
593 | self = self; | |
fe47ec10 | 594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) |
f6bcfd97 BP |
595 | return NULL; |
596 | if (_argo0) { | |
597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
600 | return NULL; |
601 | } | |
602 | } | |
603 | { | |
4268f798 | 604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 605 | wxStyledTextCtrl_SetSavePoint(_arg0); |
f6bcfd97 | 606 | |
4268f798 RD |
607 | wxPyEndAllowThreads(__tstate); |
608 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
609 | } Py_INCREF(Py_None); |
610 | _resultobj = Py_None; | |
f6bcfd97 BP |
611 | return _resultobj; |
612 | } | |
613 | ||
fe47ec10 RD |
614 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) |
615 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 616 | PyObject * _resultobj; |
10ef30eb | 617 | wxMemoryBuffer * _result; |
f6bcfd97 BP |
618 | wxStyledTextCtrl * _arg0; |
619 | int _arg1; | |
fe47ec10 | 620 | int _arg2; |
f6bcfd97 | 621 | PyObject * _argo0 = 0; |
fe47ec10 | 622 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
623 | |
624 | self = self; | |
fe47ec10 | 625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
626 | return NULL; |
627 | if (_argo0) { | |
628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
631 | return NULL; |
632 | } | |
633 | } | |
634 | { | |
4268f798 | 635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10ef30eb | 636 | _result = new wxMemoryBuffer (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
f6bcfd97 | 637 | |
4268f798 RD |
638 | wxPyEndAllowThreads(__tstate); |
639 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 640 | }{ |
10ef30eb | 641 | _resultobj = PyString_FromStringAndSize((char*)_result->GetData(), _result->GetDataLen()); |
fe47ec10 RD |
642 | } |
643 | { | |
644 | delete _result; | |
645 | } | |
f6bcfd97 BP |
646 | return _resultobj; |
647 | } | |
648 | ||
fe47ec10 RD |
649 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) |
650 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 651 | PyObject * _resultobj; |
fe47ec10 | 652 | bool _result; |
f6bcfd97 BP |
653 | wxStyledTextCtrl * _arg0; |
654 | PyObject * _argo0 = 0; | |
655 | char *_kwnames[] = { "self", NULL }; | |
656 | ||
657 | self = self; | |
fe47ec10 | 658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) |
f6bcfd97 BP |
659 | return NULL; |
660 | if (_argo0) { | |
661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
664 | return NULL; |
665 | } | |
666 | } | |
667 | { | |
4268f798 | 668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 669 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
f6bcfd97 | 670 | |
4268f798 RD |
671 | wxPyEndAllowThreads(__tstate); |
672 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
673 | } _resultobj = Py_BuildValue("i",_result); |
674 | return _resultobj; | |
675 | } | |
676 | ||
fe47ec10 RD |
677 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) |
678 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 679 | PyObject * _resultobj; |
fe47ec10 | 680 | int _result; |
f6bcfd97 | 681 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 682 | int _arg1; |
f6bcfd97 | 683 | PyObject * _argo0 = 0; |
fe47ec10 | 684 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
685 | |
686 | self = self; | |
fe47ec10 | 687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
688 | return NULL; |
689 | if (_argo0) { | |
690 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
691 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
693 | return NULL; |
694 | } | |
695 | } | |
696 | { | |
4268f798 | 697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 698 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
f6bcfd97 | 699 | |
4268f798 RD |
700 | wxPyEndAllowThreads(__tstate); |
701 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 702 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
703 | return _resultobj; |
704 | } | |
705 | ||
fe47ec10 RD |
706 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) |
707 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
708 | PyObject * _resultobj; |
709 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 710 | int _arg1; |
f6bcfd97 | 711 | PyObject * _argo0 = 0; |
fe47ec10 | 712 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
713 | |
714 | self = self; | |
fe47ec10 | 715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
716 | return NULL; |
717 | if (_argo0) { | |
718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
721 | return NULL; |
722 | } | |
723 | } | |
724 | { | |
4268f798 | 725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 726 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
f6bcfd97 | 727 | |
4268f798 RD |
728 | wxPyEndAllowThreads(__tstate); |
729 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
730 | } Py_INCREF(Py_None); |
731 | _resultobj = Py_None; | |
732 | return _resultobj; | |
733 | } | |
734 | ||
fe47ec10 RD |
735 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) |
736 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 737 | PyObject * _resultobj; |
fe47ec10 | 738 | bool _result; |
f6bcfd97 BP |
739 | wxStyledTextCtrl * _arg0; |
740 | PyObject * _argo0 = 0; | |
741 | char *_kwnames[] = { "self", NULL }; | |
742 | ||
743 | self = self; | |
fe47ec10 | 744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) |
f6bcfd97 BP |
745 | return NULL; |
746 | if (_argo0) { | |
747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
750 | return NULL; |
751 | } | |
752 | } | |
753 | { | |
4268f798 | 754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 755 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
f6bcfd97 | 756 | |
4268f798 RD |
757 | wxPyEndAllowThreads(__tstate); |
758 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 759 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
760 | return _resultobj; |
761 | } | |
762 | ||
fe47ec10 RD |
763 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) |
764 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 765 | PyObject * _resultobj; |
fe47ec10 | 766 | int _result; |
f6bcfd97 BP |
767 | wxStyledTextCtrl * _arg0; |
768 | PyObject * _argo0 = 0; | |
769 | char *_kwnames[] = { "self", NULL }; | |
770 | ||
771 | self = self; | |
fe47ec10 | 772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) |
f6bcfd97 BP |
773 | return NULL; |
774 | if (_argo0) { | |
775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
778 | return NULL; |
779 | } | |
780 | } | |
781 | { | |
4268f798 | 782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 783 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
f6bcfd97 | 784 | |
4268f798 RD |
785 | wxPyEndAllowThreads(__tstate); |
786 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
787 | } _resultobj = Py_BuildValue("i",_result); |
788 | return _resultobj; | |
789 | } | |
790 | ||
fe47ec10 RD |
791 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) |
792 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
793 | PyObject * _resultobj; |
794 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 795 | int _arg1; |
f6bcfd97 | 796 | PyObject * _argo0 = 0; |
fe47ec10 | 797 | char *_kwnames[] = { "self","viewWS", NULL }; |
f6bcfd97 BP |
798 | |
799 | self = self; | |
fe47ec10 | 800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
801 | return NULL; |
802 | if (_argo0) { | |
803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
806 | return NULL; |
807 | } | |
808 | } | |
809 | { | |
4268f798 | 810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 811 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
f6bcfd97 | 812 | |
4268f798 RD |
813 | wxPyEndAllowThreads(__tstate); |
814 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
815 | } Py_INCREF(Py_None); |
816 | _resultobj = Py_None; | |
817 | return _resultobj; | |
818 | } | |
819 | ||
fe47ec10 RD |
820 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) |
821 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 822 | PyObject * _resultobj; |
fe47ec10 | 823 | int _result; |
f6bcfd97 | 824 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 825 | wxPoint * _arg1; |
f6bcfd97 | 826 | PyObject * _argo0 = 0; |
fe47ec10 RD |
827 | wxPoint temp; |
828 | PyObject * _obj1 = 0; | |
829 | char *_kwnames[] = { "self","pt", NULL }; | |
f6bcfd97 BP |
830 | |
831 | self = self; | |
fe47ec10 | 832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
833 | return NULL; |
834 | if (_argo0) { | |
835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
838 | return NULL; |
839 | } | |
840 | } | |
fe47ec10 RD |
841 | { |
842 | _arg1 = &temp; | |
843 | if (! wxPoint_helper(_obj1, &_arg1)) | |
844 | return NULL; | |
845 | } | |
f6bcfd97 | 846 | { |
4268f798 | 847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 848 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
f6bcfd97 | 849 | |
4268f798 RD |
850 | wxPyEndAllowThreads(__tstate); |
851 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 852 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
853 | return _resultobj; |
854 | } | |
855 | ||
65ec6247 RD |
856 | #define wxStyledTextCtrl_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1)) |
857 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
858 | PyObject * _resultobj; | |
859 | int _result; | |
860 | wxStyledTextCtrl * _arg0; | |
861 | int _arg1; | |
862 | int _arg2; | |
863 | PyObject * _argo0 = 0; | |
864 | char *_kwnames[] = { "self","x","y", NULL }; | |
865 | ||
866 | self = self; | |
867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_kwnames,&_argo0,&_arg1,&_arg2)) | |
868 | return NULL; | |
869 | if (_argo0) { | |
870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPointClose. Expected _wxStyledTextCtrl_p."); | |
873 | return NULL; | |
874 | } | |
875 | } | |
876 | { | |
4268f798 | 877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 878 | _result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2); |
65ec6247 | 879 | |
4268f798 RD |
880 | wxPyEndAllowThreads(__tstate); |
881 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
882 | } _resultobj = Py_BuildValue("i",_result); |
883 | return _resultobj; | |
884 | } | |
885 | ||
fe47ec10 RD |
886 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) |
887 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 888 | PyObject * _resultobj; |
f6bcfd97 | 889 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 890 | int _arg1; |
f6bcfd97 | 891 | PyObject * _argo0 = 0; |
fe47ec10 | 892 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
893 | |
894 | self = self; | |
fe47ec10 | 895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
896 | return NULL; |
897 | if (_argo0) { | |
898 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
899 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 900 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
901 | return NULL; |
902 | } | |
903 | } | |
904 | { | |
4268f798 | 905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 906 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
f6bcfd97 | 907 | |
4268f798 RD |
908 | wxPyEndAllowThreads(__tstate); |
909 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
910 | } Py_INCREF(Py_None); |
911 | _resultobj = Py_None; | |
f6bcfd97 BP |
912 | return _resultobj; |
913 | } | |
914 | ||
fe47ec10 RD |
915 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) |
916 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
917 | PyObject * _resultobj; |
918 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 919 | int _arg1; |
f6bcfd97 | 920 | PyObject * _argo0 = 0; |
fe47ec10 | 921 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
922 | |
923 | self = self; | |
fe47ec10 | 924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
925 | return NULL; |
926 | if (_argo0) { | |
927 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
928 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
930 | return NULL; |
931 | } | |
932 | } | |
933 | { | |
4268f798 | 934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 935 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
f6bcfd97 | 936 | |
4268f798 RD |
937 | wxPyEndAllowThreads(__tstate); |
938 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
939 | } Py_INCREF(Py_None); |
940 | _resultobj = Py_None; | |
941 | return _resultobj; | |
942 | } | |
943 | ||
fe47ec10 RD |
944 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) |
945 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
946 | PyObject * _resultobj; |
947 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 948 | int _arg1; |
f6bcfd97 | 949 | PyObject * _argo0 = 0; |
fe47ec10 | 950 | char *_kwnames[] = { "self","posAnchor", NULL }; |
f6bcfd97 BP |
951 | |
952 | self = self; | |
fe47ec10 | 953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
954 | return NULL; |
955 | if (_argo0) { | |
956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
959 | return NULL; |
960 | } | |
961 | } | |
962 | { | |
4268f798 | 963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 964 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
f6bcfd97 | 965 | |
4268f798 RD |
966 | wxPyEndAllowThreads(__tstate); |
967 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
968 | } Py_INCREF(Py_None); |
969 | _resultobj = Py_None; | |
970 | return _resultobj; | |
971 | } | |
972 | ||
fe47ec10 RD |
973 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) |
974 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 975 | PyObject * _resultobj; |
fe47ec10 | 976 | wxString * _result; |
f6bcfd97 | 977 | wxStyledTextCtrl * _arg0; |
fea018f8 | 978 | int * _arg1; |
fe47ec10 | 979 | int temp; |
f6bcfd97 BP |
980 | PyObject * _argo0 = 0; |
981 | char *_kwnames[] = { "self", NULL }; | |
982 | ||
983 | self = self; | |
fe47ec10 RD |
984 | { |
985 | _arg1 = &temp; | |
986 | } | |
987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
f6bcfd97 BP |
988 | return NULL; |
989 | if (_argo0) { | |
990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
993 | return NULL; |
994 | } | |
995 | } | |
996 | { | |
4268f798 | 997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 998 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
f6bcfd97 | 999 | |
4268f798 RD |
1000 | wxPyEndAllowThreads(__tstate); |
1001 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1002 | }{ |
c8bc7bb8 RD |
1003 | #if wxUSE_UNICODE |
1004 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
1005 | #else | |
fe47ec10 | 1006 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 1007 | #endif |
fe47ec10 RD |
1008 | } |
1009 | { | |
1010 | PyObject *o; | |
1011 | o = PyInt_FromLong((long) (*_arg1)); | |
1012 | _resultobj = t_output_helper(_resultobj, o); | |
1013 | } | |
1014 | { | |
1015 | delete _result; | |
1016 | } | |
f6bcfd97 BP |
1017 | return _resultobj; |
1018 | } | |
1019 | ||
fe47ec10 RD |
1020 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) |
1021 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1022 | PyObject * _resultobj; |
fe47ec10 | 1023 | int _result; |
f6bcfd97 | 1024 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 1025 | PyObject * _argo0 = 0; |
fe47ec10 | 1026 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1027 | |
1028 | self = self; | |
fe47ec10 | 1029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) |
f6bcfd97 BP |
1030 | return NULL; |
1031 | if (_argo0) { | |
1032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1035 | return NULL; |
1036 | } | |
1037 | } | |
1038 | { | |
4268f798 | 1039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1040 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
f6bcfd97 | 1041 | |
4268f798 RD |
1042 | wxPyEndAllowThreads(__tstate); |
1043 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1044 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1045 | return _resultobj; |
1046 | } | |
1047 | ||
65ec6247 | 1048 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0)) |
fe47ec10 | 1049 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { |
f6bcfd97 | 1050 | PyObject * _resultobj; |
f6bcfd97 | 1051 | wxStyledTextCtrl * _arg0; |
65ec6247 | 1052 | int _arg1; |
f6bcfd97 | 1053 | PyObject * _argo0 = 0; |
65ec6247 | 1054 | char *_kwnames[] = { "self","eolMode", NULL }; |
f6bcfd97 BP |
1055 | |
1056 | self = self; | |
65ec6247 | 1057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1058 | return NULL; |
1059 | if (_argo0) { | |
1060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1063 | return NULL; |
1064 | } | |
1065 | } | |
1066 | { | |
4268f798 | 1067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1068 | wxStyledTextCtrl_ConvertEOLs(_arg0,_arg1); |
f6bcfd97 | 1069 | |
4268f798 RD |
1070 | wxPyEndAllowThreads(__tstate); |
1071 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1072 | } Py_INCREF(Py_None); |
1073 | _resultobj = Py_None; | |
f6bcfd97 BP |
1074 | return _resultobj; |
1075 | } | |
1076 | ||
fe47ec10 RD |
1077 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) |
1078 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1079 | PyObject * _resultobj; |
fe47ec10 | 1080 | int _result; |
f6bcfd97 BP |
1081 | wxStyledTextCtrl * _arg0; |
1082 | PyObject * _argo0 = 0; | |
1083 | char *_kwnames[] = { "self", NULL }; | |
1084 | ||
1085 | self = self; | |
fe47ec10 | 1086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
1087 | return NULL; |
1088 | if (_argo0) { | |
1089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1092 | return NULL; |
1093 | } | |
1094 | } | |
1095 | { | |
4268f798 | 1096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1097 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
f6bcfd97 | 1098 | |
4268f798 RD |
1099 | wxPyEndAllowThreads(__tstate); |
1100 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1101 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1102 | return _resultobj; |
1103 | } | |
1104 | ||
fe47ec10 RD |
1105 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) |
1106 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1107 | PyObject * _resultobj; |
1108 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1109 | int _arg1; |
f6bcfd97 | 1110 | PyObject * _argo0 = 0; |
fe47ec10 | 1111 | char *_kwnames[] = { "self","eolMode", NULL }; |
f6bcfd97 BP |
1112 | |
1113 | self = self; | |
fe47ec10 | 1114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1115 | return NULL; |
1116 | if (_argo0) { | |
1117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1120 | return NULL; |
1121 | } | |
1122 | } | |
1123 | { | |
4268f798 | 1124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1125 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
f6bcfd97 | 1126 | |
4268f798 RD |
1127 | wxPyEndAllowThreads(__tstate); |
1128 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1129 | } Py_INCREF(Py_None); |
1130 | _resultobj = Py_None; | |
1131 | return _resultobj; | |
1132 | } | |
1133 | ||
fe47ec10 RD |
1134 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) |
1135 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1136 | PyObject * _resultobj; |
1137 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1138 | int _arg1; |
1139 | int _arg2; | |
f6bcfd97 | 1140 | PyObject * _argo0 = 0; |
fe47ec10 | 1141 | char *_kwnames[] = { "self","pos","mask", NULL }; |
f6bcfd97 BP |
1142 | |
1143 | self = self; | |
fe47ec10 | 1144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1145 | return NULL; |
1146 | if (_argo0) { | |
1147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1150 | return NULL; |
1151 | } | |
1152 | } | |
1153 | { | |
4268f798 | 1154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1155 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
f6bcfd97 | 1156 | |
4268f798 RD |
1157 | wxPyEndAllowThreads(__tstate); |
1158 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1159 | } Py_INCREF(Py_None); |
1160 | _resultobj = Py_None; | |
f6bcfd97 BP |
1161 | return _resultobj; |
1162 | } | |
1163 | ||
fe47ec10 RD |
1164 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) |
1165 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1166 | PyObject * _resultobj; |
1167 | wxStyledTextCtrl * _arg0; | |
1168 | int _arg1; | |
1169 | int _arg2; | |
1170 | PyObject * _argo0 = 0; | |
fe47ec10 | 1171 | char *_kwnames[] = { "self","length","style", NULL }; |
f6bcfd97 BP |
1172 | |
1173 | self = self; | |
fe47ec10 | 1174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1175 | return NULL; |
1176 | if (_argo0) { | |
1177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1180 | return NULL; |
1181 | } | |
1182 | } | |
1183 | { | |
4268f798 | 1184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1185 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
f6bcfd97 | 1186 | |
4268f798 RD |
1187 | wxPyEndAllowThreads(__tstate); |
1188 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1189 | } Py_INCREF(Py_None); |
1190 | _resultobj = Py_None; | |
1191 | return _resultobj; | |
1192 | } | |
1193 | ||
fe47ec10 RD |
1194 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) |
1195 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1196 | PyObject * _resultobj; |
fe47ec10 | 1197 | bool _result; |
f6bcfd97 BP |
1198 | wxStyledTextCtrl * _arg0; |
1199 | PyObject * _argo0 = 0; | |
1200 | char *_kwnames[] = { "self", NULL }; | |
1201 | ||
1202 | self = self; | |
fe47ec10 | 1203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) |
f6bcfd97 BP |
1204 | return NULL; |
1205 | if (_argo0) { | |
1206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1209 | return NULL; |
1210 | } | |
1211 | } | |
1212 | { | |
4268f798 | 1213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1214 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
f6bcfd97 | 1215 | |
4268f798 RD |
1216 | wxPyEndAllowThreads(__tstate); |
1217 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1218 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1219 | return _resultobj; |
1220 | } | |
1221 | ||
fe47ec10 RD |
1222 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) |
1223 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1224 | PyObject * _resultobj; |
1225 | wxStyledTextCtrl * _arg0; | |
1226 | bool _arg1; | |
1227 | PyObject * _argo0 = 0; | |
1228 | int tempbool1; | |
fe47ec10 | 1229 | char *_kwnames[] = { "self","buffered", NULL }; |
f6bcfd97 BP |
1230 | |
1231 | self = self; | |
fe47ec10 | 1232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
1233 | return NULL; |
1234 | if (_argo0) { | |
1235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1238 | return NULL; |
1239 | } | |
1240 | } | |
1241 | _arg1 = (bool ) tempbool1; | |
1242 | { | |
4268f798 | 1243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1244 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
f6bcfd97 | 1245 | |
4268f798 RD |
1246 | wxPyEndAllowThreads(__tstate); |
1247 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1248 | } Py_INCREF(Py_None); |
1249 | _resultobj = Py_None; | |
1250 | return _resultobj; | |
1251 | } | |
1252 | ||
fe47ec10 RD |
1253 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) |
1254 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1255 | PyObject * _resultobj; |
f6bcfd97 | 1256 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1257 | int _arg1; |
f6bcfd97 | 1258 | PyObject * _argo0 = 0; |
fe47ec10 | 1259 | char *_kwnames[] = { "self","tabWidth", NULL }; |
f6bcfd97 BP |
1260 | |
1261 | self = self; | |
fe47ec10 | 1262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1263 | return NULL; |
1264 | if (_argo0) { | |
1265 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1266 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1268 | return NULL; |
1269 | } | |
1270 | } | |
1271 | { | |
4268f798 | 1272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1273 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
f6bcfd97 | 1274 | |
4268f798 RD |
1275 | wxPyEndAllowThreads(__tstate); |
1276 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1277 | } Py_INCREF(Py_None); |
1278 | _resultobj = Py_None; | |
f6bcfd97 BP |
1279 | return _resultobj; |
1280 | } | |
1281 | ||
fe47ec10 RD |
1282 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) |
1283 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1284 | PyObject * _resultobj; |
1285 | int _result; | |
1286 | wxStyledTextCtrl * _arg0; | |
1287 | PyObject * _argo0 = 0; | |
1288 | char *_kwnames[] = { "self", NULL }; | |
1289 | ||
1290 | self = self; | |
fe47ec10 | 1291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
1292 | return NULL; |
1293 | if (_argo0) { | |
1294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1297 | return NULL; |
1298 | } | |
1299 | } | |
1300 | { | |
4268f798 | 1301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1302 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
f6bcfd97 | 1303 | |
4268f798 RD |
1304 | wxPyEndAllowThreads(__tstate); |
1305 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1306 | } _resultobj = Py_BuildValue("i",_result); |
1307 | return _resultobj; | |
1308 | } | |
1309 | ||
fe47ec10 RD |
1310 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) |
1311 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1312 | PyObject * _resultobj; |
f6bcfd97 | 1313 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1314 | int _arg1; |
f6bcfd97 | 1315 | PyObject * _argo0 = 0; |
fe47ec10 | 1316 | char *_kwnames[] = { "self","codePage", NULL }; |
f6bcfd97 BP |
1317 | |
1318 | self = self; | |
fe47ec10 | 1319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1320 | return NULL; |
1321 | if (_argo0) { | |
1322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1325 | return NULL; |
1326 | } | |
1327 | } | |
1328 | { | |
4268f798 | 1329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1330 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
f6bcfd97 | 1331 | |
4268f798 RD |
1332 | wxPyEndAllowThreads(__tstate); |
1333 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1334 | } Py_INCREF(Py_None); |
1335 | _resultobj = Py_None; | |
f6bcfd97 BP |
1336 | return _resultobj; |
1337 | } | |
1338 | ||
fe47ec10 RD |
1339 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
1340 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1341 | PyObject * _resultobj; |
f6bcfd97 | 1342 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1343 | int _arg1; |
1344 | int _arg2; | |
1345 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1346 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
f6bcfd97 | 1347 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1348 | wxColour temp; |
1349 | PyObject * _obj3 = 0; | |
1350 | wxColour temp0; | |
1351 | PyObject * _obj4 = 0; | |
1352 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
f6bcfd97 BP |
1353 | |
1354 | self = self; | |
fe47ec10 | 1355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
f6bcfd97 BP |
1356 | return NULL; |
1357 | if (_argo0) { | |
1358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1361 | return NULL; |
1362 | } | |
1363 | } | |
fe47ec10 RD |
1364 | if (_obj3) |
1365 | { | |
1366 | _arg3 = &temp; | |
1367 | if (! wxColour_helper(_obj3, &_arg3)) | |
1368 | return NULL; | |
1369 | } | |
1370 | if (_obj4) | |
1371 | { | |
1372 | _arg4 = &temp0; | |
1373 | if (! wxColour_helper(_obj4, &_arg4)) | |
1374 | return NULL; | |
1375 | } | |
f6bcfd97 | 1376 | { |
4268f798 | 1377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1378 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
f6bcfd97 | 1379 | |
4268f798 RD |
1380 | wxPyEndAllowThreads(__tstate); |
1381 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1382 | } Py_INCREF(Py_None); |
1383 | _resultobj = Py_None; | |
f6bcfd97 BP |
1384 | return _resultobj; |
1385 | } | |
1386 | ||
fe47ec10 RD |
1387 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) |
1388 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1389 | PyObject * _resultobj; |
f6bcfd97 | 1390 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1391 | int _arg1; |
1392 | wxColour * _arg2; | |
f6bcfd97 | 1393 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1394 | wxColour temp; |
1395 | PyObject * _obj2 = 0; | |
1396 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
f6bcfd97 BP |
1397 | |
1398 | self = self; | |
fe47ec10 | 1399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1400 | return NULL; |
1401 | if (_argo0) { | |
1402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1405 | return NULL; |
1406 | } | |
1407 | } | |
fe47ec10 RD |
1408 | { |
1409 | _arg2 = &temp; | |
1410 | if (! wxColour_helper(_obj2, &_arg2)) | |
1411 | return NULL; | |
1412 | } | |
f6bcfd97 | 1413 | { |
4268f798 | 1414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1415 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1416 | |
4268f798 RD |
1417 | wxPyEndAllowThreads(__tstate); |
1418 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1419 | } Py_INCREF(Py_None); |
1420 | _resultobj = Py_None; | |
f6bcfd97 BP |
1421 | return _resultobj; |
1422 | } | |
1423 | ||
fe47ec10 RD |
1424 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) |
1425 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1426 | PyObject * _resultobj; |
f6bcfd97 | 1427 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1428 | int _arg1; |
1429 | wxColour * _arg2; | |
f6bcfd97 | 1430 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1431 | wxColour temp; |
1432 | PyObject * _obj2 = 0; | |
1433 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
f6bcfd97 BP |
1434 | |
1435 | self = self; | |
fe47ec10 | 1436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1437 | return NULL; |
1438 | if (_argo0) { | |
1439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1442 | return NULL; |
1443 | } | |
1444 | } | |
fe47ec10 RD |
1445 | { |
1446 | _arg2 = &temp; | |
1447 | if (! wxColour_helper(_obj2, &_arg2)) | |
1448 | return NULL; | |
1449 | } | |
f6bcfd97 | 1450 | { |
4268f798 | 1451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1452 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1453 | |
4268f798 RD |
1454 | wxPyEndAllowThreads(__tstate); |
1455 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1456 | } Py_INCREF(Py_None); |
1457 | _resultobj = Py_None; | |
f6bcfd97 BP |
1458 | return _resultobj; |
1459 | } | |
1460 | ||
fe47ec10 RD |
1461 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) |
1462 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1463 | PyObject * _resultobj; |
1a2fb4cd | 1464 | int _result; |
f6bcfd97 BP |
1465 | wxStyledTextCtrl * _arg0; |
1466 | int _arg1; | |
fe47ec10 | 1467 | int _arg2; |
f6bcfd97 | 1468 | PyObject * _argo0 = 0; |
fe47ec10 | 1469 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1470 | |
1471 | self = self; | |
fe47ec10 | 1472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1473 | return NULL; |
1474 | if (_argo0) { | |
1475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1478 | return NULL; |
1479 | } | |
1480 | } | |
1481 | { | |
4268f798 | 1482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1a2fb4cd | 1483 | _result = (int )wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
f6bcfd97 | 1484 | |
4268f798 RD |
1485 | wxPyEndAllowThreads(__tstate); |
1486 | if (PyErr_Occurred()) return NULL; | |
1a2fb4cd | 1487 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1488 | return _resultobj; |
1489 | } | |
1490 | ||
fe47ec10 RD |
1491 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) |
1492 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1493 | PyObject * _resultobj; |
f6bcfd97 BP |
1494 | wxStyledTextCtrl * _arg0; |
1495 | int _arg1; | |
fe47ec10 | 1496 | int _arg2; |
f6bcfd97 | 1497 | PyObject * _argo0 = 0; |
fe47ec10 | 1498 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1499 | |
1500 | self = self; | |
fe47ec10 | 1501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1502 | return NULL; |
1503 | if (_argo0) { | |
1504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1507 | return NULL; |
1508 | } | |
1509 | } | |
1510 | { | |
4268f798 | 1511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1512 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
f6bcfd97 | 1513 | |
4268f798 RD |
1514 | wxPyEndAllowThreads(__tstate); |
1515 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1516 | } Py_INCREF(Py_None); |
1517 | _resultobj = Py_None; | |
f6bcfd97 BP |
1518 | return _resultobj; |
1519 | } | |
1520 | ||
fe47ec10 RD |
1521 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) |
1522 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1523 | PyObject * _resultobj; |
f6bcfd97 BP |
1524 | wxStyledTextCtrl * _arg0; |
1525 | int _arg1; | |
1526 | PyObject * _argo0 = 0; | |
fe47ec10 | 1527 | char *_kwnames[] = { "self","markerNumber", NULL }; |
f6bcfd97 BP |
1528 | |
1529 | self = self; | |
fe47ec10 | 1530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1531 | return NULL; |
1532 | if (_argo0) { | |
1533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1536 | return NULL; |
1537 | } | |
1538 | } | |
1539 | { | |
4268f798 | 1540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1541 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
f6bcfd97 | 1542 | |
4268f798 RD |
1543 | wxPyEndAllowThreads(__tstate); |
1544 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1545 | } Py_INCREF(Py_None); |
1546 | _resultobj = Py_None; | |
f6bcfd97 BP |
1547 | return _resultobj; |
1548 | } | |
1549 | ||
fe47ec10 RD |
1550 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) |
1551 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1552 | PyObject * _resultobj; |
1553 | int _result; | |
1554 | wxStyledTextCtrl * _arg0; | |
1555 | int _arg1; | |
1556 | PyObject * _argo0 = 0; | |
1557 | char *_kwnames[] = { "self","line", NULL }; | |
1558 | ||
1559 | self = self; | |
fe47ec10 | 1560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1561 | return NULL; |
1562 | if (_argo0) { | |
1563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1566 | return NULL; |
1567 | } | |
1568 | } | |
1569 | { | |
4268f798 | 1570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1571 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
f6bcfd97 | 1572 | |
4268f798 RD |
1573 | wxPyEndAllowThreads(__tstate); |
1574 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1575 | } _resultobj = Py_BuildValue("i",_result); |
1576 | return _resultobj; | |
1577 | } | |
1578 | ||
fe47ec10 RD |
1579 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) |
1580 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1581 | PyObject * _resultobj; |
fe47ec10 | 1582 | int _result; |
f6bcfd97 | 1583 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1584 | int _arg1; |
1585 | int _arg2; | |
f6bcfd97 | 1586 | PyObject * _argo0 = 0; |
fe47ec10 | 1587 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1588 | |
1589 | self = self; | |
fe47ec10 | 1590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1591 | return NULL; |
1592 | if (_argo0) { | |
1593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1596 | return NULL; |
1597 | } | |
1598 | } | |
1599 | { | |
4268f798 | 1600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1601 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
f6bcfd97 | 1602 | |
4268f798 RD |
1603 | wxPyEndAllowThreads(__tstate); |
1604 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1605 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1606 | return _resultobj; |
1607 | } | |
1608 | ||
fe47ec10 RD |
1609 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) |
1610 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1611 | PyObject * _resultobj; |
1612 | int _result; | |
1613 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1614 | int _arg1; |
1615 | int _arg2; | |
f6bcfd97 | 1616 | PyObject * _argo0 = 0; |
fe47ec10 | 1617 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1618 | |
1619 | self = self; | |
fe47ec10 | 1620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1621 | return NULL; |
1622 | if (_argo0) { | |
1623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1626 | return NULL; |
1627 | } | |
1628 | } | |
1629 | { | |
4268f798 | 1630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1631 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
f6bcfd97 | 1632 | |
4268f798 RD |
1633 | wxPyEndAllowThreads(__tstate); |
1634 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1635 | } _resultobj = Py_BuildValue("i",_result); |
1636 | return _resultobj; | |
1637 | } | |
1638 | ||
fe47ec10 RD |
1639 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) |
1640 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1641 | PyObject * _resultobj; |
f6bcfd97 | 1642 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1643 | int _arg1; |
1644 | int _arg2; | |
f6bcfd97 | 1645 | PyObject * _argo0 = 0; |
fe47ec10 | 1646 | char *_kwnames[] = { "self","margin","marginType", NULL }; |
f6bcfd97 BP |
1647 | |
1648 | self = self; | |
fe47ec10 | 1649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1650 | return NULL; |
1651 | if (_argo0) { | |
1652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1655 | return NULL; |
1656 | } | |
1657 | } | |
f6bcfd97 | 1658 | { |
4268f798 | 1659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1660 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
f6bcfd97 | 1661 | |
4268f798 RD |
1662 | wxPyEndAllowThreads(__tstate); |
1663 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1664 | } Py_INCREF(Py_None); |
1665 | _resultobj = Py_None; | |
f6bcfd97 BP |
1666 | return _resultobj; |
1667 | } | |
1668 | ||
fe47ec10 RD |
1669 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) |
1670 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1671 | PyObject * _resultobj; |
1672 | int _result; | |
1673 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1674 | int _arg1; |
f6bcfd97 | 1675 | PyObject * _argo0 = 0; |
fe47ec10 | 1676 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1677 | |
1678 | self = self; | |
fe47ec10 | 1679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1680 | return NULL; |
1681 | if (_argo0) { | |
1682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1685 | return NULL; |
1686 | } | |
1687 | } | |
f6bcfd97 | 1688 | { |
4268f798 | 1689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1690 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
f6bcfd97 | 1691 | |
4268f798 RD |
1692 | wxPyEndAllowThreads(__tstate); |
1693 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1694 | } _resultobj = Py_BuildValue("i",_result); |
1695 | return _resultobj; | |
1696 | } | |
1697 | ||
fe47ec10 RD |
1698 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) |
1699 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1700 | PyObject * _resultobj; |
f6bcfd97 BP |
1701 | wxStyledTextCtrl * _arg0; |
1702 | int _arg1; | |
fe47ec10 | 1703 | int _arg2; |
f6bcfd97 | 1704 | PyObject * _argo0 = 0; |
fe47ec10 | 1705 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; |
f6bcfd97 BP |
1706 | |
1707 | self = self; | |
fe47ec10 | 1708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1709 | return NULL; |
1710 | if (_argo0) { | |
1711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1714 | return NULL; |
1715 | } | |
1716 | } | |
1717 | { | |
4268f798 | 1718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1719 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
f6bcfd97 | 1720 | |
4268f798 RD |
1721 | wxPyEndAllowThreads(__tstate); |
1722 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1723 | } Py_INCREF(Py_None); |
1724 | _resultobj = Py_None; | |
f6bcfd97 BP |
1725 | return _resultobj; |
1726 | } | |
1727 | ||
fe47ec10 RD |
1728 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) |
1729 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1730 | PyObject * _resultobj; |
1731 | int _result; | |
1732 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1733 | int _arg1; |
f6bcfd97 | 1734 | PyObject * _argo0 = 0; |
fe47ec10 | 1735 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1736 | |
1737 | self = self; | |
fe47ec10 | 1738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1739 | return NULL; |
1740 | if (_argo0) { | |
1741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1744 | return NULL; |
1745 | } | |
1746 | } | |
1747 | { | |
4268f798 | 1748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1749 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
f6bcfd97 | 1750 | |
4268f798 RD |
1751 | wxPyEndAllowThreads(__tstate); |
1752 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1753 | } _resultobj = Py_BuildValue("i",_result); |
1754 | return _resultobj; | |
1755 | } | |
1756 | ||
fe47ec10 RD |
1757 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) |
1758 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1759 | PyObject * _resultobj; |
f6bcfd97 | 1760 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1761 | int _arg1; |
1762 | int _arg2; | |
f6bcfd97 | 1763 | PyObject * _argo0 = 0; |
fe47ec10 | 1764 | char *_kwnames[] = { "self","margin","mask", NULL }; |
f6bcfd97 BP |
1765 | |
1766 | self = self; | |
fe47ec10 | 1767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1768 | return NULL; |
1769 | if (_argo0) { | |
1770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1773 | return NULL; |
1774 | } | |
1775 | } | |
1776 | { | |
4268f798 | 1777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1778 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
f6bcfd97 | 1779 | |
4268f798 RD |
1780 | wxPyEndAllowThreads(__tstate); |
1781 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1782 | } Py_INCREF(Py_None); |
1783 | _resultobj = Py_None; | |
f6bcfd97 BP |
1784 | return _resultobj; |
1785 | } | |
1786 | ||
fe47ec10 RD |
1787 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) |
1788 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1789 | PyObject * _resultobj; |
fe47ec10 | 1790 | int _result; |
f6bcfd97 | 1791 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1792 | int _arg1; |
f6bcfd97 | 1793 | PyObject * _argo0 = 0; |
fe47ec10 | 1794 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1795 | |
1796 | self = self; | |
fe47ec10 | 1797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1798 | return NULL; |
1799 | if (_argo0) { | |
1800 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1801 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1803 | return NULL; |
1804 | } | |
1805 | } | |
1806 | { | |
4268f798 | 1807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1808 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
f6bcfd97 | 1809 | |
4268f798 RD |
1810 | wxPyEndAllowThreads(__tstate); |
1811 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1812 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1813 | return _resultobj; |
1814 | } | |
1815 | ||
fe47ec10 RD |
1816 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) |
1817 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1818 | PyObject * _resultobj; |
1819 | wxStyledTextCtrl * _arg0; | |
1820 | int _arg1; | |
fe47ec10 | 1821 | bool _arg2; |
f6bcfd97 | 1822 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1823 | int tempbool2; |
1824 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
f6bcfd97 BP |
1825 | |
1826 | self = self; | |
fe47ec10 | 1827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1828 | return NULL; |
1829 | if (_argo0) { | |
1830 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1831 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1833 | return NULL; |
1834 | } | |
1835 | } | |
fe47ec10 | 1836 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 1837 | { |
4268f798 | 1838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1839 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
f6bcfd97 | 1840 | |
4268f798 RD |
1841 | wxPyEndAllowThreads(__tstate); |
1842 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1843 | } Py_INCREF(Py_None); |
1844 | _resultobj = Py_None; | |
1845 | return _resultobj; | |
1846 | } | |
1847 | ||
fe47ec10 RD |
1848 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) |
1849 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1850 | PyObject * _resultobj; |
fe47ec10 | 1851 | bool _result; |
f6bcfd97 BP |
1852 | wxStyledTextCtrl * _arg0; |
1853 | int _arg1; | |
1854 | PyObject * _argo0 = 0; | |
fe47ec10 | 1855 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1856 | |
1857 | self = self; | |
fe47ec10 | 1858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1859 | return NULL; |
1860 | if (_argo0) { | |
1861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1864 | return NULL; |
1865 | } | |
1866 | } | |
1867 | { | |
4268f798 | 1868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1869 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
f6bcfd97 | 1870 | |
4268f798 RD |
1871 | wxPyEndAllowThreads(__tstate); |
1872 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1873 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1874 | return _resultobj; |
1875 | } | |
1876 | ||
fe47ec10 RD |
1877 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) |
1878 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1879 | PyObject * _resultobj; |
1880 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 1881 | PyObject * _argo0 = 0; |
fe47ec10 | 1882 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1883 | |
1884 | self = self; | |
fe47ec10 | 1885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
1886 | return NULL; |
1887 | if (_argo0) { | |
1888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1891 | return NULL; |
1892 | } | |
1893 | } | |
1894 | { | |
4268f798 | 1895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1896 | wxStyledTextCtrl_StyleClearAll(_arg0); |
f6bcfd97 | 1897 | |
4268f798 RD |
1898 | wxPyEndAllowThreads(__tstate); |
1899 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1900 | } Py_INCREF(Py_None); |
1901 | _resultobj = Py_None; | |
1902 | return _resultobj; | |
1903 | } | |
1904 | ||
fe47ec10 RD |
1905 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) |
1906 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1907 | PyObject * _resultobj; |
1908 | wxStyledTextCtrl * _arg0; | |
1909 | int _arg1; | |
fe47ec10 | 1910 | wxColour * _arg2; |
f6bcfd97 | 1911 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1912 | wxColour temp; |
1913 | PyObject * _obj2 = 0; | |
1914 | char *_kwnames[] = { "self","style","fore", NULL }; | |
f6bcfd97 BP |
1915 | |
1916 | self = self; | |
fe47ec10 | 1917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1918 | return NULL; |
1919 | if (_argo0) { | |
1920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1923 | return NULL; |
1924 | } | |
1925 | } | |
fe47ec10 RD |
1926 | { |
1927 | _arg2 = &temp; | |
1928 | if (! wxColour_helper(_obj2, &_arg2)) | |
1929 | return NULL; | |
1930 | } | |
f6bcfd97 | 1931 | { |
4268f798 | 1932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1933 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1934 | |
4268f798 RD |
1935 | wxPyEndAllowThreads(__tstate); |
1936 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1937 | } Py_INCREF(Py_None); |
1938 | _resultobj = Py_None; | |
1939 | return _resultobj; | |
1940 | } | |
1941 | ||
fe47ec10 RD |
1942 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) |
1943 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1944 | PyObject * _resultobj; |
1945 | wxStyledTextCtrl * _arg0; | |
1946 | int _arg1; | |
fe47ec10 | 1947 | wxColour * _arg2; |
f6bcfd97 | 1948 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1949 | wxColour temp; |
1950 | PyObject * _obj2 = 0; | |
1951 | char *_kwnames[] = { "self","style","back", NULL }; | |
f6bcfd97 BP |
1952 | |
1953 | self = self; | |
fe47ec10 | 1954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1955 | return NULL; |
1956 | if (_argo0) { | |
1957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1960 | return NULL; |
1961 | } | |
1962 | } | |
fe47ec10 RD |
1963 | { |
1964 | _arg2 = &temp; | |
1965 | if (! wxColour_helper(_obj2, &_arg2)) | |
1966 | return NULL; | |
1967 | } | |
f6bcfd97 | 1968 | { |
4268f798 | 1969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1970 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1971 | |
4268f798 RD |
1972 | wxPyEndAllowThreads(__tstate); |
1973 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1974 | } Py_INCREF(Py_None); |
1975 | _resultobj = Py_None; | |
1976 | return _resultobj; | |
1977 | } | |
1978 | ||
fe47ec10 RD |
1979 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) |
1980 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1981 | PyObject * _resultobj; |
1982 | wxStyledTextCtrl * _arg0; | |
1983 | int _arg1; | |
1984 | bool _arg2; | |
1985 | PyObject * _argo0 = 0; | |
1986 | int tempbool2; | |
fe47ec10 | 1987 | char *_kwnames[] = { "self","style","bold", NULL }; |
f6bcfd97 BP |
1988 | |
1989 | self = self; | |
fe47ec10 | 1990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1991 | return NULL; |
1992 | if (_argo0) { | |
1993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1996 | return NULL; |
1997 | } | |
1998 | } | |
1999 | _arg2 = (bool ) tempbool2; | |
2000 | { | |
4268f798 | 2001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2002 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
f6bcfd97 | 2003 | |
4268f798 RD |
2004 | wxPyEndAllowThreads(__tstate); |
2005 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2006 | } Py_INCREF(Py_None); |
2007 | _resultobj = Py_None; | |
2008 | return _resultobj; | |
2009 | } | |
2010 | ||
fe47ec10 RD |
2011 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) |
2012 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2013 | PyObject * _resultobj; |
2014 | wxStyledTextCtrl * _arg0; | |
2015 | int _arg1; | |
fe47ec10 | 2016 | bool _arg2; |
f6bcfd97 | 2017 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2018 | int tempbool2; |
2019 | char *_kwnames[] = { "self","style","italic", NULL }; | |
f6bcfd97 BP |
2020 | |
2021 | self = self; | |
fe47ec10 | 2022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2023 | return NULL; |
2024 | if (_argo0) { | |
2025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2028 | return NULL; |
2029 | } | |
2030 | } | |
fe47ec10 | 2031 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2032 | { |
4268f798 | 2033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2034 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
f6bcfd97 | 2035 | |
4268f798 RD |
2036 | wxPyEndAllowThreads(__tstate); |
2037 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2038 | } Py_INCREF(Py_None); |
2039 | _resultobj = Py_None; | |
2040 | return _resultobj; | |
2041 | } | |
2042 | ||
fe47ec10 RD |
2043 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) |
2044 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2045 | PyObject * _resultobj; |
2046 | wxStyledTextCtrl * _arg0; | |
2047 | int _arg1; | |
fe47ec10 | 2048 | int _arg2; |
f6bcfd97 | 2049 | PyObject * _argo0 = 0; |
fe47ec10 | 2050 | char *_kwnames[] = { "self","style","sizePoints", NULL }; |
f6bcfd97 BP |
2051 | |
2052 | self = self; | |
fe47ec10 | 2053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2054 | return NULL; |
2055 | if (_argo0) { | |
2056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2059 | return NULL; |
2060 | } | |
2061 | } | |
2062 | { | |
4268f798 | 2063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2064 | wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 2065 | |
4268f798 RD |
2066 | wxPyEndAllowThreads(__tstate); |
2067 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2068 | } Py_INCREF(Py_None); |
2069 | _resultobj = Py_None; | |
2070 | return _resultobj; | |
2071 | } | |
2072 | ||
fe47ec10 RD |
2073 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) |
2074 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2075 | PyObject * _resultobj; |
2076 | wxStyledTextCtrl * _arg0; | |
2077 | int _arg1; | |
fe47ec10 | 2078 | wxString * _arg2; |
f6bcfd97 | 2079 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2080 | PyObject * _obj2 = 0; |
2081 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
f6bcfd97 BP |
2082 | |
2083 | self = self; | |
fe47ec10 | 2084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2085 | return NULL; |
2086 | if (_argo0) { | |
2087 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2088 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2090 | return NULL; |
2091 | } | |
2092 | } | |
fe47ec10 | 2093 | { |
c8bc7bb8 RD |
2094 | _arg2 = wxString_in_helper(_obj2); |
2095 | if (_arg2 == NULL) | |
185d7c3e | 2096 | return NULL; |
fe47ec10 | 2097 | } |
f6bcfd97 | 2098 | { |
4268f798 | 2099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2100 | wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2101 | |
4268f798 RD |
2102 | wxPyEndAllowThreads(__tstate); |
2103 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2104 | } Py_INCREF(Py_None); |
2105 | _resultobj = Py_None; | |
fe47ec10 RD |
2106 | { |
2107 | if (_obj2) | |
2108 | delete _arg2; | |
2109 | } | |
f6bcfd97 BP |
2110 | return _resultobj; |
2111 | } | |
2112 | ||
fe47ec10 RD |
2113 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) |
2114 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2115 | PyObject * _resultobj; |
2116 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2117 | int _arg1; |
2118 | bool _arg2; | |
f6bcfd97 | 2119 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2120 | int tempbool2; |
2121 | char *_kwnames[] = { "self","style","filled", NULL }; | |
f6bcfd97 BP |
2122 | |
2123 | self = self; | |
fe47ec10 | 2124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2125 | return NULL; |
2126 | if (_argo0) { | |
2127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2130 | return NULL; |
2131 | } | |
2132 | } | |
fe47ec10 | 2133 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2134 | { |
4268f798 | 2135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2136 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
f6bcfd97 | 2137 | |
4268f798 RD |
2138 | wxPyEndAllowThreads(__tstate); |
2139 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2140 | } Py_INCREF(Py_None); |
2141 | _resultobj = Py_None; | |
2142 | return _resultobj; | |
2143 | } | |
2144 | ||
fe47ec10 RD |
2145 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) |
2146 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2147 | PyObject * _resultobj; |
2148 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2149 | PyObject * _argo0 = 0; |
fe47ec10 | 2150 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2151 | |
2152 | self = self; | |
fe47ec10 | 2153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) |
f6bcfd97 BP |
2154 | return NULL; |
2155 | if (_argo0) { | |
2156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2159 | return NULL; |
2160 | } | |
2161 | } | |
2162 | { | |
4268f798 | 2163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2164 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
f6bcfd97 | 2165 | |
4268f798 RD |
2166 | wxPyEndAllowThreads(__tstate); |
2167 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2168 | } Py_INCREF(Py_None); |
2169 | _resultobj = Py_None; | |
2170 | return _resultobj; | |
2171 | } | |
2172 | ||
fe47ec10 RD |
2173 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) |
2174 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2175 | PyObject * _resultobj; |
f6bcfd97 | 2176 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2177 | int _arg1; |
2178 | bool _arg2; | |
f6bcfd97 | 2179 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2180 | int tempbool2; |
2181 | char *_kwnames[] = { "self","style","underline", NULL }; | |
f6bcfd97 BP |
2182 | |
2183 | self = self; | |
fe47ec10 | 2184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2185 | return NULL; |
2186 | if (_argo0) { | |
2187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2190 | return NULL; |
2191 | } | |
2192 | } | |
fe47ec10 | 2193 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2194 | { |
4268f798 | 2195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2196 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
f6bcfd97 | 2197 | |
4268f798 RD |
2198 | wxPyEndAllowThreads(__tstate); |
2199 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2200 | } Py_INCREF(Py_None); |
2201 | _resultobj = Py_None; | |
f6bcfd97 BP |
2202 | return _resultobj; |
2203 | } | |
2204 | ||
65ec6247 RD |
2205 | #define wxStyledTextCtrl_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1)) |
2206 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2207 | PyObject * _resultobj; | |
2208 | wxStyledTextCtrl * _arg0; | |
2209 | int _arg1; | |
2210 | int _arg2; | |
2211 | PyObject * _argo0 = 0; | |
2212 | char *_kwnames[] = { "self","style","caseForce", NULL }; | |
2213 | ||
2214 | self = self; | |
2215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2216 | return NULL; | |
2217 | if (_argo0) { | |
2218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCase. Expected _wxStyledTextCtrl_p."); | |
2221 | return NULL; | |
2222 | } | |
2223 | } | |
2224 | { | |
4268f798 | 2225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2226 | wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2); |
65ec6247 | 2227 | |
4268f798 RD |
2228 | wxPyEndAllowThreads(__tstate); |
2229 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
2230 | } Py_INCREF(Py_None); |
2231 | _resultobj = Py_None; | |
2232 | return _resultobj; | |
2233 | } | |
2234 | ||
10ef30eb RD |
2235 | #define wxStyledTextCtrl_StyleSetCharacterSet(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCharacterSet(_swigarg0,_swigarg1)) |
2236 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2237 | PyObject * _resultobj; | |
2238 | wxStyledTextCtrl * _arg0; | |
2239 | int _arg1; | |
2240 | int _arg2; | |
2241 | PyObject * _argo0 = 0; | |
2242 | char *_kwnames[] = { "self","style","characterSet", NULL }; | |
2243 | ||
2244 | self = self; | |
2245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCharacterSet",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2246 | return NULL; | |
2247 | if (_argo0) { | |
2248 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2249 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2250 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCharacterSet. Expected _wxStyledTextCtrl_p."); | |
2251 | return NULL; | |
2252 | } | |
2253 | } | |
2254 | { | |
2255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2256 | wxStyledTextCtrl_StyleSetCharacterSet(_arg0,_arg1,_arg2); | |
2257 | ||
2258 | wxPyEndAllowThreads(__tstate); | |
2259 | if (PyErr_Occurred()) return NULL; | |
2260 | } Py_INCREF(Py_None); | |
2261 | _resultobj = Py_None; | |
2262 | return _resultobj; | |
2263 | } | |
2264 | ||
fe47ec10 RD |
2265 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) |
2266 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2267 | PyObject * _resultobj; |
f6bcfd97 | 2268 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2269 | bool _arg1; |
2270 | wxColour * _arg2; | |
f6bcfd97 | 2271 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2272 | int tempbool1; |
2273 | wxColour temp; | |
2274 | PyObject * _obj2 = 0; | |
2275 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
f6bcfd97 BP |
2276 | |
2277 | self = self; | |
fe47ec10 | 2278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2279 | return NULL; |
2280 | if (_argo0) { | |
2281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2284 | return NULL; |
2285 | } | |
2286 | } | |
fe47ec10 RD |
2287 | _arg1 = (bool ) tempbool1; |
2288 | { | |
2289 | _arg2 = &temp; | |
2290 | if (! wxColour_helper(_obj2, &_arg2)) | |
2291 | return NULL; | |
2292 | } | |
f6bcfd97 | 2293 | { |
4268f798 | 2294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2295 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2296 | |
4268f798 RD |
2297 | wxPyEndAllowThreads(__tstate); |
2298 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2299 | } Py_INCREF(Py_None); |
2300 | _resultobj = Py_None; | |
f6bcfd97 BP |
2301 | return _resultobj; |
2302 | } | |
2303 | ||
fe47ec10 RD |
2304 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) |
2305 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2306 | PyObject * _resultobj; |
f6bcfd97 | 2307 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2308 | bool _arg1; |
2309 | wxColour * _arg2; | |
f6bcfd97 | 2310 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2311 | int tempbool1; |
2312 | wxColour temp; | |
2313 | PyObject * _obj2 = 0; | |
2314 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
f6bcfd97 BP |
2315 | |
2316 | self = self; | |
fe47ec10 | 2317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2318 | return NULL; |
2319 | if (_argo0) { | |
2320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2323 | return NULL; |
2324 | } | |
2325 | } | |
fe47ec10 RD |
2326 | _arg1 = (bool ) tempbool1; |
2327 | { | |
2328 | _arg2 = &temp; | |
2329 | if (! wxColour_helper(_obj2, &_arg2)) | |
2330 | return NULL; | |
2331 | } | |
f6bcfd97 | 2332 | { |
4268f798 | 2333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2334 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2335 | |
4268f798 RD |
2336 | wxPyEndAllowThreads(__tstate); |
2337 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2338 | } Py_INCREF(Py_None); |
2339 | _resultobj = Py_None; | |
f6bcfd97 BP |
2340 | return _resultobj; |
2341 | } | |
2342 | ||
fe47ec10 RD |
2343 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) |
2344 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2345 | PyObject * _resultobj; |
2346 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2347 | wxColour * _arg1; |
f6bcfd97 | 2348 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2349 | wxColour temp; |
2350 | PyObject * _obj1 = 0; | |
2351 | char *_kwnames[] = { "self","fore", NULL }; | |
f6bcfd97 BP |
2352 | |
2353 | self = self; | |
fe47ec10 | 2354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2355 | return NULL; |
2356 | if (_argo0) { | |
2357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2360 | return NULL; |
2361 | } | |
2362 | } | |
fe47ec10 RD |
2363 | { |
2364 | _arg1 = &temp; | |
2365 | if (! wxColour_helper(_obj1, &_arg1)) | |
2366 | return NULL; | |
2367 | } | |
f6bcfd97 | 2368 | { |
4268f798 | 2369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2370 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
f6bcfd97 | 2371 | |
4268f798 RD |
2372 | wxPyEndAllowThreads(__tstate); |
2373 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2374 | } Py_INCREF(Py_None); |
2375 | _resultobj = Py_None; | |
2376 | return _resultobj; | |
2377 | } | |
2378 | ||
fe47ec10 RD |
2379 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) |
2380 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2381 | PyObject * _resultobj; |
f6bcfd97 | 2382 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2383 | int _arg1; |
2384 | int _arg2; | |
2385 | int _arg3; | |
f6bcfd97 | 2386 | PyObject * _argo0 = 0; |
fe47ec10 | 2387 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; |
f6bcfd97 BP |
2388 | |
2389 | self = self; | |
fe47ec10 | 2390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
2391 | return NULL; |
2392 | if (_argo0) { | |
2393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2396 | return NULL; |
2397 | } | |
2398 | } | |
2399 | { | |
4268f798 | 2400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2401 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2402 | |
4268f798 RD |
2403 | wxPyEndAllowThreads(__tstate); |
2404 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2405 | } Py_INCREF(Py_None); |
2406 | _resultobj = Py_None; | |
f6bcfd97 BP |
2407 | return _resultobj; |
2408 | } | |
2409 | ||
fe47ec10 RD |
2410 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) |
2411 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2412 | PyObject * _resultobj; |
f6bcfd97 BP |
2413 | wxStyledTextCtrl * _arg0; |
2414 | int _arg1; | |
2415 | int _arg2; | |
f6bcfd97 | 2416 | PyObject * _argo0 = 0; |
fe47ec10 | 2417 | char *_kwnames[] = { "self","key","modifiers", NULL }; |
f6bcfd97 BP |
2418 | |
2419 | self = self; | |
fe47ec10 | 2420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2421 | return NULL; |
2422 | if (_argo0) { | |
2423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2426 | return NULL; |
2427 | } | |
2428 | } | |
f6bcfd97 | 2429 | { |
4268f798 | 2430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2431 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
f6bcfd97 | 2432 | |
4268f798 RD |
2433 | wxPyEndAllowThreads(__tstate); |
2434 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2435 | } Py_INCREF(Py_None); |
2436 | _resultobj = Py_None; | |
f6bcfd97 BP |
2437 | return _resultobj; |
2438 | } | |
2439 | ||
fe47ec10 RD |
2440 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) |
2441 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2442 | PyObject * _resultobj; |
2443 | wxStyledTextCtrl * _arg0; | |
2444 | PyObject * _argo0 = 0; | |
2445 | char *_kwnames[] = { "self", NULL }; | |
2446 | ||
2447 | self = self; | |
fe47ec10 | 2448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
2449 | return NULL; |
2450 | if (_argo0) { | |
2451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2454 | return NULL; |
2455 | } | |
2456 | } | |
2457 | { | |
4268f798 | 2458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2459 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
f6bcfd97 | 2460 | |
4268f798 RD |
2461 | wxPyEndAllowThreads(__tstate); |
2462 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2463 | } Py_INCREF(Py_None); |
2464 | _resultobj = Py_None; | |
2465 | return _resultobj; | |
2466 | } | |
2467 | ||
fe47ec10 RD |
2468 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) |
2469 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2470 | PyObject * _resultobj; |
f6bcfd97 | 2471 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2472 | int _arg1; |
2473 | char * _arg2; | |
f6bcfd97 | 2474 | PyObject * _argo0 = 0; |
fe47ec10 | 2475 | char *_kwnames[] = { "self","length","styleBytes", NULL }; |
f6bcfd97 BP |
2476 | |
2477 | self = self; | |
fe47ec10 | 2478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2479 | return NULL; |
2480 | if (_argo0) { | |
2481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2484 | return NULL; |
2485 | } | |
2486 | } | |
f6bcfd97 | 2487 | { |
4268f798 | 2488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2489 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
f6bcfd97 | 2490 | |
4268f798 RD |
2491 | wxPyEndAllowThreads(__tstate); |
2492 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2493 | } Py_INCREF(Py_None); |
2494 | _resultobj = Py_None; | |
f6bcfd97 BP |
2495 | return _resultobj; |
2496 | } | |
2497 | ||
fe47ec10 RD |
2498 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) |
2499 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2500 | PyObject * _resultobj; |
f6bcfd97 | 2501 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2502 | int _arg1; |
f6bcfd97 | 2503 | bool _arg2; |
f6bcfd97 | 2504 | PyObject * _argo0 = 0; |
f6bcfd97 | 2505 | int tempbool2; |
fe47ec10 | 2506 | char *_kwnames[] = { "self","style","visible", NULL }; |
f6bcfd97 BP |
2507 | |
2508 | self = self; | |
fe47ec10 | 2509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2510 | return NULL; |
2511 | if (_argo0) { | |
2512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2515 | return NULL; |
2516 | } | |
2517 | } | |
f6bcfd97 | 2518 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2519 | { |
4268f798 | 2520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2521 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
f6bcfd97 | 2522 | |
4268f798 RD |
2523 | wxPyEndAllowThreads(__tstate); |
2524 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2525 | } Py_INCREF(Py_None); |
2526 | _resultobj = Py_None; | |
f6bcfd97 BP |
2527 | return _resultobj; |
2528 | } | |
2529 | ||
fe47ec10 RD |
2530 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) |
2531 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2532 | PyObject * _resultobj; |
fe47ec10 | 2533 | int _result; |
f6bcfd97 BP |
2534 | wxStyledTextCtrl * _arg0; |
2535 | PyObject * _argo0 = 0; | |
2536 | char *_kwnames[] = { "self", NULL }; | |
2537 | ||
2538 | self = self; | |
fe47ec10 | 2539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) |
f6bcfd97 BP |
2540 | return NULL; |
2541 | if (_argo0) { | |
2542 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2543 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2545 | return NULL; |
2546 | } | |
2547 | } | |
2548 | { | |
4268f798 | 2549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2550 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
f6bcfd97 | 2551 | |
4268f798 RD |
2552 | wxPyEndAllowThreads(__tstate); |
2553 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2554 | } _resultobj = Py_BuildValue("i",_result); |
2555 | return _resultobj; | |
2556 | } | |
2557 | ||
fe47ec10 RD |
2558 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) |
2559 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2560 | PyObject * _resultobj; |
2561 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2562 | int _arg1; |
f6bcfd97 | 2563 | PyObject * _argo0 = 0; |
fe47ec10 | 2564 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; |
f6bcfd97 BP |
2565 | |
2566 | self = self; | |
fe47ec10 | 2567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2568 | return NULL; |
2569 | if (_argo0) { | |
2570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2573 | return NULL; |
2574 | } | |
2575 | } | |
f6bcfd97 | 2576 | { |
4268f798 | 2577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2578 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
f6bcfd97 | 2579 | |
4268f798 RD |
2580 | wxPyEndAllowThreads(__tstate); |
2581 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2582 | } Py_INCREF(Py_None); |
2583 | _resultobj = Py_None; | |
2584 | return _resultobj; | |
2585 | } | |
2586 | ||
fe47ec10 RD |
2587 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) |
2588 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2589 | PyObject * _resultobj; |
f6bcfd97 | 2590 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2591 | wxString * _arg1; |
f6bcfd97 | 2592 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2593 | PyObject * _obj1 = 0; |
2594 | char *_kwnames[] = { "self","characters", NULL }; | |
f6bcfd97 BP |
2595 | |
2596 | self = self; | |
fe47ec10 | 2597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2598 | return NULL; |
2599 | if (_argo0) { | |
2600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2603 | return NULL; |
2604 | } | |
2605 | } | |
fe47ec10 | 2606 | { |
c8bc7bb8 RD |
2607 | _arg1 = wxString_in_helper(_obj1); |
2608 | if (_arg1 == NULL) | |
185d7c3e | 2609 | return NULL; |
fe47ec10 | 2610 | } |
f6bcfd97 | 2611 | { |
4268f798 | 2612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2613 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
f6bcfd97 | 2614 | |
4268f798 RD |
2615 | wxPyEndAllowThreads(__tstate); |
2616 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2617 | } Py_INCREF(Py_None); |
2618 | _resultobj = Py_None; | |
2619 | { | |
2620 | if (_obj1) | |
2621 | delete _arg1; | |
2622 | } | |
f6bcfd97 BP |
2623 | return _resultobj; |
2624 | } | |
2625 | ||
fe47ec10 RD |
2626 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) |
2627 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2628 | PyObject * _resultobj; |
2629 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2630 | PyObject * _argo0 = 0; |
fe47ec10 | 2631 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2632 | |
2633 | self = self; | |
fe47ec10 | 2634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2635 | return NULL; |
2636 | if (_argo0) { | |
2637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2640 | return NULL; |
2641 | } | |
2642 | } | |
2643 | { | |
4268f798 | 2644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2645 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
f6bcfd97 | 2646 | |
4268f798 RD |
2647 | wxPyEndAllowThreads(__tstate); |
2648 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2649 | } Py_INCREF(Py_None); |
2650 | _resultobj = Py_None; | |
2651 | return _resultobj; | |
2652 | } | |
2653 | ||
fe47ec10 RD |
2654 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) |
2655 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2656 | PyObject * _resultobj; |
f6bcfd97 BP |
2657 | wxStyledTextCtrl * _arg0; |
2658 | PyObject * _argo0 = 0; | |
2659 | char *_kwnames[] = { "self", NULL }; | |
2660 | ||
2661 | self = self; | |
fe47ec10 | 2662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2663 | return NULL; |
2664 | if (_argo0) { | |
2665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2668 | return NULL; |
2669 | } | |
2670 | } | |
2671 | { | |
4268f798 | 2672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2673 | wxStyledTextCtrl_EndUndoAction(_arg0); |
f6bcfd97 | 2674 | |
4268f798 RD |
2675 | wxPyEndAllowThreads(__tstate); |
2676 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2677 | } Py_INCREF(Py_None); |
2678 | _resultobj = Py_None; | |
f6bcfd97 BP |
2679 | return _resultobj; |
2680 | } | |
2681 | ||
fe47ec10 RD |
2682 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) |
2683 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2684 | PyObject * _resultobj; |
2685 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2686 | int _arg1; |
2687 | int _arg2; | |
f6bcfd97 | 2688 | PyObject * _argo0 = 0; |
fe47ec10 | 2689 | char *_kwnames[] = { "self","indic","style", NULL }; |
f6bcfd97 BP |
2690 | |
2691 | self = self; | |
fe47ec10 | 2692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2693 | return NULL; |
2694 | if (_argo0) { | |
2695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2698 | return NULL; |
2699 | } | |
2700 | } | |
f6bcfd97 | 2701 | { |
4268f798 | 2702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2703 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
f6bcfd97 | 2704 | |
4268f798 RD |
2705 | wxPyEndAllowThreads(__tstate); |
2706 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2707 | } Py_INCREF(Py_None); |
2708 | _resultobj = Py_None; | |
2709 | return _resultobj; | |
2710 | } | |
2711 | ||
fe47ec10 RD |
2712 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) |
2713 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2714 | PyObject * _resultobj; |
fe47ec10 | 2715 | int _result; |
f6bcfd97 | 2716 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2717 | int _arg1; |
f6bcfd97 | 2718 | PyObject * _argo0 = 0; |
fe47ec10 | 2719 | char *_kwnames[] = { "self","indic", NULL }; |
f6bcfd97 BP |
2720 | |
2721 | self = self; | |
fe47ec10 | 2722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2723 | return NULL; |
2724 | if (_argo0) { | |
2725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2728 | return NULL; |
2729 | } | |
2730 | } | |
2731 | { | |
4268f798 | 2732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2733 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
f6bcfd97 | 2734 | |
4268f798 RD |
2735 | wxPyEndAllowThreads(__tstate); |
2736 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 2737 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2738 | return _resultobj; |
2739 | } | |
2740 | ||
fe47ec10 RD |
2741 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) |
2742 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2743 | PyObject * _resultobj; |
f6bcfd97 | 2744 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2745 | int _arg1; |
2746 | wxColour * _arg2; | |
f6bcfd97 | 2747 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2748 | wxColour temp; |
2749 | PyObject * _obj2 = 0; | |
2750 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
f6bcfd97 BP |
2751 | |
2752 | self = self; | |
fe47ec10 | 2753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2754 | return NULL; |
2755 | if (_argo0) { | |
2756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2759 | return NULL; |
2760 | } | |
2761 | } | |
fe47ec10 RD |
2762 | { |
2763 | _arg2 = &temp; | |
2764 | if (! wxColour_helper(_obj2, &_arg2)) | |
2765 | return NULL; | |
2766 | } | |
f6bcfd97 | 2767 | { |
4268f798 | 2768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2769 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2770 | |
4268f798 RD |
2771 | wxPyEndAllowThreads(__tstate); |
2772 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2773 | } Py_INCREF(Py_None); |
2774 | _resultobj = Py_None; | |
f6bcfd97 BP |
2775 | return _resultobj; |
2776 | } | |
2777 | ||
fe47ec10 RD |
2778 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) |
2779 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2780 | PyObject * _resultobj; |
fe47ec10 | 2781 | wxColour * _result; |
f6bcfd97 BP |
2782 | wxStyledTextCtrl * _arg0; |
2783 | int _arg1; | |
f6bcfd97 | 2784 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2785 | char *_kwnames[] = { "self","indic", NULL }; |
2786 | char _ptemp[128]; | |
f6bcfd97 BP |
2787 | |
2788 | self = self; | |
fe47ec10 | 2789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2790 | return NULL; |
2791 | if (_argo0) { | |
2792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2795 | return NULL; |
2796 | } | |
2797 | } | |
2798 | { | |
4268f798 | 2799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2800 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
f6bcfd97 | 2801 | |
4268f798 RD |
2802 | wxPyEndAllowThreads(__tstate); |
2803 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2804 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2805 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
2806 | return _resultobj; |
2807 | } | |
2808 | ||
fe47ec10 RD |
2809 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) |
2810 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2811 | PyObject * _resultobj; |
2812 | wxStyledTextCtrl * _arg0; | |
2813 | int _arg1; | |
f6bcfd97 | 2814 | PyObject * _argo0 = 0; |
fe47ec10 | 2815 | char *_kwnames[] = { "self","bits", NULL }; |
f6bcfd97 BP |
2816 | |
2817 | self = self; | |
fe47ec10 | 2818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2819 | return NULL; |
2820 | if (_argo0) { | |
2821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2824 | return NULL; |
2825 | } | |
2826 | } | |
2827 | { | |
4268f798 | 2828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2829 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
f6bcfd97 | 2830 | |
4268f798 RD |
2831 | wxPyEndAllowThreads(__tstate); |
2832 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2833 | } Py_INCREF(Py_None); |
2834 | _resultobj = Py_None; | |
2835 | return _resultobj; | |
2836 | } | |
2837 | ||
fe47ec10 RD |
2838 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) |
2839 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2840 | PyObject * _resultobj; |
fe47ec10 | 2841 | int _result; |
f6bcfd97 | 2842 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2843 | PyObject * _argo0 = 0; |
fe47ec10 | 2844 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2845 | |
2846 | self = self; | |
fe47ec10 | 2847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) |
f6bcfd97 BP |
2848 | return NULL; |
2849 | if (_argo0) { | |
2850 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2851 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2853 | return NULL; |
2854 | } | |
2855 | } | |
2856 | { | |
4268f798 | 2857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2858 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
f6bcfd97 | 2859 | |
4268f798 RD |
2860 | wxPyEndAllowThreads(__tstate); |
2861 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 2862 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2863 | return _resultobj; |
2864 | } | |
2865 | ||
2866 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2867 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2868 | PyObject * _resultobj; | |
2869 | wxStyledTextCtrl * _arg0; | |
2870 | int _arg1; | |
2871 | int _arg2; | |
2872 | PyObject * _argo0 = 0; | |
fe47ec10 | 2873 | char *_kwnames[] = { "self","line","state", NULL }; |
f6bcfd97 BP |
2874 | |
2875 | self = self; | |
2876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2877 | return NULL; | |
2878 | if (_argo0) { | |
2879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2882 | return NULL; | |
2883 | } | |
2884 | } | |
2885 | { | |
4268f798 | 2886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2887 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); |
f6bcfd97 | 2888 | |
4268f798 RD |
2889 | wxPyEndAllowThreads(__tstate); |
2890 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2891 | } Py_INCREF(Py_None); |
2892 | _resultobj = Py_None; | |
2893 | return _resultobj; | |
2894 | } | |
2895 | ||
2896 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2897 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2898 | PyObject * _resultobj; | |
2899 | int _result; | |
2900 | wxStyledTextCtrl * _arg0; | |
2901 | int _arg1; | |
2902 | PyObject * _argo0 = 0; | |
2903 | char *_kwnames[] = { "self","line", NULL }; | |
2904 | ||
2905 | self = self; | |
2906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2907 | return NULL; | |
2908 | if (_argo0) { | |
2909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
2912 | return NULL; | |
2913 | } | |
2914 | } | |
2915 | { | |
4268f798 | 2916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2917 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); |
f6bcfd97 | 2918 | |
4268f798 RD |
2919 | wxPyEndAllowThreads(__tstate); |
2920 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2921 | } _resultobj = Py_BuildValue("i",_result); |
2922 | return _resultobj; | |
2923 | } | |
2924 | ||
fe47ec10 RD |
2925 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) |
2926 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2927 | PyObject * _resultobj; |
fe47ec10 | 2928 | int _result; |
f6bcfd97 BP |
2929 | wxStyledTextCtrl * _arg0; |
2930 | PyObject * _argo0 = 0; | |
2931 | char *_kwnames[] = { "self", NULL }; | |
2932 | ||
2933 | self = self; | |
fe47ec10 | 2934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) |
f6bcfd97 BP |
2935 | return NULL; |
2936 | if (_argo0) { | |
2937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2940 | return NULL; |
2941 | } | |
2942 | } | |
2943 | { | |
4268f798 | 2944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2945 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
f6bcfd97 | 2946 | |
4268f798 RD |
2947 | wxPyEndAllowThreads(__tstate); |
2948 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 2949 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2950 | return _resultobj; |
2951 | } | |
2952 | ||
65ec6247 RD |
2953 | #define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible()) |
2954 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2955 | PyObject * _resultobj; | |
2956 | bool _result; | |
2957 | wxStyledTextCtrl * _arg0; | |
2958 | PyObject * _argo0 = 0; | |
2959 | char *_kwnames[] = { "self", NULL }; | |
2960 | ||
2961 | self = self; | |
2962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0)) | |
2963 | return NULL; | |
2964 | if (_argo0) { | |
2965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
2968 | return NULL; | |
2969 | } | |
2970 | } | |
2971 | { | |
4268f798 | 2972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2973 | _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0); |
65ec6247 | 2974 | |
4268f798 RD |
2975 | wxPyEndAllowThreads(__tstate); |
2976 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
2977 | } _resultobj = Py_BuildValue("i",_result); |
2978 | return _resultobj; | |
2979 | } | |
2980 | ||
2981 | #define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0)) | |
2982 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2983 | PyObject * _resultobj; | |
2984 | wxStyledTextCtrl * _arg0; | |
2985 | bool _arg1; | |
2986 | PyObject * _argo0 = 0; | |
2987 | int tempbool1; | |
2988 | char *_kwnames[] = { "self","show", NULL }; | |
2989 | ||
2990 | self = self; | |
2991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1)) | |
2992 | return NULL; | |
2993 | if (_argo0) { | |
2994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
2997 | return NULL; | |
2998 | } | |
2999 | } | |
3000 | _arg1 = (bool ) tempbool1; | |
3001 | { | |
4268f798 | 3002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3003 | wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1); |
65ec6247 | 3004 | |
4268f798 RD |
3005 | wxPyEndAllowThreads(__tstate); |
3006 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3007 | } Py_INCREF(Py_None); |
3008 | _resultobj = Py_None; | |
3009 | return _resultobj; | |
3010 | } | |
3011 | ||
3012 | #define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack()) | |
3013 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3014 | PyObject * _resultobj; | |
3015 | wxColour * _result; | |
3016 | wxStyledTextCtrl * _arg0; | |
3017 | PyObject * _argo0 = 0; | |
3018 | char *_kwnames[] = { "self", NULL }; | |
3019 | char _ptemp[128]; | |
3020 | ||
3021 | self = self; | |
3022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0)) | |
3023 | return NULL; | |
3024 | if (_argo0) { | |
3025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3028 | return NULL; | |
3029 | } | |
3030 | } | |
3031 | { | |
4268f798 | 3032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3033 | _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0)); |
65ec6247 | 3034 | |
4268f798 RD |
3035 | wxPyEndAllowThreads(__tstate); |
3036 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3037 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3038 | _resultobj = Py_BuildValue("s",_ptemp); | |
3039 | return _resultobj; | |
3040 | } | |
3041 | ||
3042 | #define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0)) | |
3043 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3044 | PyObject * _resultobj; | |
3045 | wxStyledTextCtrl * _arg0; | |
3046 | wxColour * _arg1; | |
3047 | PyObject * _argo0 = 0; | |
3048 | wxColour temp; | |
3049 | PyObject * _obj1 = 0; | |
3050 | char *_kwnames[] = { "self","back", NULL }; | |
3051 | ||
3052 | self = self; | |
3053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1)) | |
3054 | return NULL; | |
3055 | if (_argo0) { | |
3056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3059 | return NULL; | |
3060 | } | |
3061 | } | |
3062 | { | |
3063 | _arg1 = &temp; | |
3064 | if (! wxColour_helper(_obj1, &_arg1)) | |
3065 | return NULL; | |
3066 | } | |
3067 | { | |
4268f798 | 3068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3069 | wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1); |
65ec6247 | 3070 | |
4268f798 RD |
3071 | wxPyEndAllowThreads(__tstate); |
3072 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3073 | } Py_INCREF(Py_None); |
3074 | _resultobj = Py_None; | |
3075 | return _resultobj; | |
3076 | } | |
3077 | ||
1a2fb4cd RD |
3078 | #define wxStyledTextCtrl_StyleSetChangeable(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetChangeable(_swigarg0,_swigarg1)) |
3079 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3080 | PyObject * _resultobj; | |
3081 | wxStyledTextCtrl * _arg0; | |
3082 | int _arg1; | |
3083 | bool _arg2; | |
3084 | PyObject * _argo0 = 0; | |
3085 | int tempbool2; | |
3086 | char *_kwnames[] = { "self","style","changeable", NULL }; | |
3087 | ||
3088 | self = self; | |
3089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetChangeable",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3090 | return NULL; | |
3091 | if (_argo0) { | |
3092 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3093 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetChangeable. Expected _wxStyledTextCtrl_p."); | |
3095 | return NULL; | |
3096 | } | |
3097 | } | |
3098 | _arg2 = (bool ) tempbool2; | |
3099 | { | |
3100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3101 | wxStyledTextCtrl_StyleSetChangeable(_arg0,_arg1,_arg2); | |
3102 | ||
3103 | wxPyEndAllowThreads(__tstate); | |
3104 | if (PyErr_Occurred()) return NULL; | |
3105 | } Py_INCREF(Py_None); | |
3106 | _resultobj = Py_None; | |
3107 | return _resultobj; | |
3108 | } | |
3109 | ||
fe47ec10 RD |
3110 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
3111 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3112 | PyObject * _resultobj; |
3113 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
3114 | int _arg1; |
3115 | wxString * _arg2; | |
f6bcfd97 | 3116 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3117 | PyObject * _obj2 = 0; |
3118 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
f6bcfd97 BP |
3119 | |
3120 | self = self; | |
fe47ec10 | 3121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
3122 | return NULL; |
3123 | if (_argo0) { | |
3124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3127 | return NULL; |
3128 | } | |
3129 | } | |
fe47ec10 | 3130 | { |
c8bc7bb8 RD |
3131 | _arg2 = wxString_in_helper(_obj2); |
3132 | if (_arg2 == NULL) | |
185d7c3e | 3133 | return NULL; |
fe47ec10 | 3134 | } |
f6bcfd97 | 3135 | { |
4268f798 | 3136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3137 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
f6bcfd97 | 3138 | |
4268f798 RD |
3139 | wxPyEndAllowThreads(__tstate); |
3140 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3141 | } Py_INCREF(Py_None); |
3142 | _resultobj = Py_None; | |
fe47ec10 RD |
3143 | { |
3144 | if (_obj2) | |
3145 | delete _arg2; | |
3146 | } | |
f6bcfd97 BP |
3147 | return _resultobj; |
3148 | } | |
3149 | ||
fe47ec10 RD |
3150 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) |
3151 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3152 | PyObject * _resultobj; |
3153 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3154 | PyObject * _argo0 = 0; |
fe47ec10 | 3155 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3156 | |
3157 | self = self; | |
fe47ec10 | 3158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
3159 | return NULL; |
3160 | if (_argo0) { | |
3161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3164 | return NULL; |
3165 | } | |
3166 | } | |
f6bcfd97 | 3167 | { |
4268f798 | 3168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3169 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
f6bcfd97 | 3170 | |
4268f798 RD |
3171 | wxPyEndAllowThreads(__tstate); |
3172 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3173 | } Py_INCREF(Py_None); |
3174 | _resultobj = Py_None; | |
f6bcfd97 BP |
3175 | return _resultobj; |
3176 | } | |
3177 | ||
fe47ec10 RD |
3178 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) |
3179 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3180 | PyObject * _resultobj; |
fe47ec10 | 3181 | bool _result; |
f6bcfd97 | 3182 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3183 | PyObject * _argo0 = 0; |
fe47ec10 | 3184 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3185 | |
3186 | self = self; | |
fe47ec10 | 3187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
3188 | return NULL; |
3189 | if (_argo0) { | |
3190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3193 | return NULL; |
3194 | } | |
3195 | } | |
f6bcfd97 | 3196 | { |
4268f798 | 3197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3198 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
f6bcfd97 | 3199 | |
4268f798 RD |
3200 | wxPyEndAllowThreads(__tstate); |
3201 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3202 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3203 | return _resultobj; |
3204 | } | |
3205 | ||
fe47ec10 RD |
3206 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) |
3207 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3208 | PyObject * _resultobj; |
fe47ec10 | 3209 | int _result; |
f6bcfd97 | 3210 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3211 | PyObject * _argo0 = 0; |
fe47ec10 | 3212 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3213 | |
3214 | self = self; | |
fe47ec10 | 3215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3216 | return NULL; |
3217 | if (_argo0) { | |
3218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3221 | return NULL; |
3222 | } | |
3223 | } | |
f6bcfd97 | 3224 | { |
4268f798 | 3225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3226 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
f6bcfd97 | 3227 | |
4268f798 RD |
3228 | wxPyEndAllowThreads(__tstate); |
3229 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3230 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3231 | return _resultobj; |
3232 | } | |
3233 | ||
fe47ec10 RD |
3234 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) |
3235 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3236 | PyObject * _resultobj; |
3237 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3238 | PyObject * _argo0 = 0; |
fe47ec10 | 3239 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3240 | |
3241 | self = self; | |
fe47ec10 | 3242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) |
f6bcfd97 BP |
3243 | return NULL; |
3244 | if (_argo0) { | |
3245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3248 | return NULL; |
3249 | } | |
3250 | } | |
3251 | { | |
4268f798 | 3252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3253 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
f6bcfd97 | 3254 | |
4268f798 RD |
3255 | wxPyEndAllowThreads(__tstate); |
3256 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3257 | } Py_INCREF(Py_None); |
3258 | _resultobj = Py_None; | |
3259 | return _resultobj; | |
3260 | } | |
3261 | ||
fe47ec10 RD |
3262 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) |
3263 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3264 | PyObject * _resultobj; |
3265 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3266 | wxString * _arg1; |
f6bcfd97 | 3267 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3268 | PyObject * _obj1 = 0; |
3269 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3270 | |
3271 | self = self; | |
fe47ec10 | 3272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3273 | return NULL; |
3274 | if (_argo0) { | |
3275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3278 | return NULL; |
3279 | } | |
3280 | } | |
3281 | { | |
c8bc7bb8 RD |
3282 | _arg1 = wxString_in_helper(_obj1); |
3283 | if (_arg1 == NULL) | |
f6bcfd97 | 3284 | return NULL; |
f6bcfd97 | 3285 | } |
f6bcfd97 | 3286 | { |
4268f798 | 3287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3288 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
f6bcfd97 | 3289 | |
4268f798 RD |
3290 | wxPyEndAllowThreads(__tstate); |
3291 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3292 | } Py_INCREF(Py_None); |
3293 | _resultobj = Py_None; | |
3294 | { | |
fe47ec10 RD |
3295 | if (_obj1) |
3296 | delete _arg1; | |
f6bcfd97 BP |
3297 | } |
3298 | return _resultobj; | |
3299 | } | |
3300 | ||
fe47ec10 RD |
3301 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) |
3302 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3303 | PyObject * _resultobj; |
3304 | wxStyledTextCtrl * _arg0; | |
3305 | int _arg1; | |
f6bcfd97 | 3306 | PyObject * _argo0 = 0; |
fe47ec10 | 3307 | char *_kwnames[] = { "self","separatorCharacter", NULL }; |
f6bcfd97 BP |
3308 | |
3309 | self = self; | |
fe47ec10 | 3310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3311 | return NULL; |
3312 | if (_argo0) { | |
3313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3316 | return NULL; |
3317 | } | |
3318 | } | |
f6bcfd97 | 3319 | { |
4268f798 | 3320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3321 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
f6bcfd97 | 3322 | |
4268f798 RD |
3323 | wxPyEndAllowThreads(__tstate); |
3324 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3325 | } Py_INCREF(Py_None); |
3326 | _resultobj = Py_None; | |
3327 | return _resultobj; | |
3328 | } | |
3329 | ||
fe47ec10 RD |
3330 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) |
3331 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3332 | PyObject * _resultobj; |
fe47ec10 | 3333 | int _result; |
f6bcfd97 | 3334 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3335 | PyObject * _argo0 = 0; |
fe47ec10 | 3336 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3337 | |
3338 | self = self; | |
fe47ec10 | 3339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) |
f6bcfd97 BP |
3340 | return NULL; |
3341 | if (_argo0) { | |
3342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3345 | return NULL; |
3346 | } | |
3347 | } | |
f6bcfd97 | 3348 | { |
4268f798 | 3349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3350 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
f6bcfd97 | 3351 | |
4268f798 RD |
3352 | wxPyEndAllowThreads(__tstate); |
3353 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3354 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3355 | return _resultobj; |
3356 | } | |
3357 | ||
fe47ec10 RD |
3358 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) |
3359 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3360 | PyObject * _resultobj; |
3361 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3362 | wxString * _arg1; |
f6bcfd97 | 3363 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3364 | PyObject * _obj1 = 0; |
3365 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
3366 | |
3367 | self = self; | |
fe47ec10 | 3368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3369 | return NULL; |
3370 | if (_argo0) { | |
3371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3374 | return NULL; |
3375 | } | |
3376 | } | |
3377 | { | |
c8bc7bb8 RD |
3378 | _arg1 = wxString_in_helper(_obj1); |
3379 | if (_arg1 == NULL) | |
185d7c3e | 3380 | return NULL; |
f6bcfd97 BP |
3381 | } |
3382 | { | |
4268f798 | 3383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3384 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
f6bcfd97 | 3385 | |
4268f798 RD |
3386 | wxPyEndAllowThreads(__tstate); |
3387 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3388 | } Py_INCREF(Py_None); |
3389 | _resultobj = Py_None; | |
3390 | { | |
fe47ec10 RD |
3391 | if (_obj1) |
3392 | delete _arg1; | |
f6bcfd97 BP |
3393 | } |
3394 | return _resultobj; | |
3395 | } | |
3396 | ||
fe47ec10 RD |
3397 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) |
3398 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3399 | PyObject * _resultobj; |
3400 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3401 | bool _arg1; |
f6bcfd97 | 3402 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3403 | int tempbool1; |
3404 | char *_kwnames[] = { "self","cancel", NULL }; | |
f6bcfd97 BP |
3405 | |
3406 | self = self; | |
fe47ec10 | 3407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3408 | return NULL; |
3409 | if (_argo0) { | |
3410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3413 | return NULL; |
3414 | } | |
3415 | } | |
fe47ec10 | 3416 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3417 | { |
4268f798 | 3418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3419 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
f6bcfd97 | 3420 | |
4268f798 RD |
3421 | wxPyEndAllowThreads(__tstate); |
3422 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3423 | } Py_INCREF(Py_None); |
3424 | _resultobj = Py_None; | |
3425 | return _resultobj; | |
3426 | } | |
3427 | ||
fe47ec10 RD |
3428 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) |
3429 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3430 | PyObject * _resultobj; |
fe47ec10 | 3431 | bool _result; |
f6bcfd97 | 3432 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3433 | PyObject * _argo0 = 0; |
fe47ec10 | 3434 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3435 | |
3436 | self = self; | |
fe47ec10 | 3437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3438 | return NULL; |
3439 | if (_argo0) { | |
3440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3443 | return NULL; |
3444 | } | |
3445 | } | |
f6bcfd97 | 3446 | { |
4268f798 | 3447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3448 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
f6bcfd97 | 3449 | |
4268f798 RD |
3450 | wxPyEndAllowThreads(__tstate); |
3451 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3452 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3453 | return _resultobj; |
3454 | } | |
3455 | ||
fe47ec10 RD |
3456 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) |
3457 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3458 | PyObject * _resultobj; |
3459 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3460 | wxString * _arg1; |
f6bcfd97 | 3461 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3462 | PyObject * _obj1 = 0; |
3463 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3464 | |
3465 | self = self; | |
fe47ec10 | 3466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3467 | return NULL; |
3468 | if (_argo0) { | |
3469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3472 | return NULL; |
3473 | } | |
3474 | } | |
fe47ec10 | 3475 | { |
c8bc7bb8 RD |
3476 | _arg1 = wxString_in_helper(_obj1); |
3477 | if (_arg1 == NULL) | |
185d7c3e | 3478 | return NULL; |
fe47ec10 | 3479 | } |
f6bcfd97 | 3480 | { |
4268f798 | 3481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3482 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
f6bcfd97 | 3483 | |
4268f798 RD |
3484 | wxPyEndAllowThreads(__tstate); |
3485 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3486 | } Py_INCREF(Py_None); |
3487 | _resultobj = Py_None; | |
fe47ec10 RD |
3488 | { |
3489 | if (_obj1) | |
3490 | delete _arg1; | |
3491 | } | |
f6bcfd97 BP |
3492 | return _resultobj; |
3493 | } | |
3494 | ||
fe47ec10 RD |
3495 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) |
3496 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3497 | PyObject * _resultobj; |
f6bcfd97 | 3498 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 3499 | bool _arg1; |
f6bcfd97 | 3500 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3501 | int tempbool1; |
3502 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
f6bcfd97 BP |
3503 | |
3504 | self = self; | |
fe47ec10 | 3505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3506 | return NULL; |
3507 | if (_argo0) { | |
3508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3511 | return NULL; |
3512 | } | |
3513 | } | |
fe47ec10 | 3514 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3515 | { |
4268f798 | 3516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3517 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
f6bcfd97 | 3518 | |
4268f798 RD |
3519 | wxPyEndAllowThreads(__tstate); |
3520 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
3521 | } Py_INCREF(Py_None); |
3522 | _resultobj = Py_None; | |
f6bcfd97 BP |
3523 | return _resultobj; |
3524 | } | |
3525 | ||
fe47ec10 RD |
3526 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) |
3527 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3528 | PyObject * _resultobj; |
fe47ec10 | 3529 | bool _result; |
f6bcfd97 BP |
3530 | wxStyledTextCtrl * _arg0; |
3531 | PyObject * _argo0 = 0; | |
3532 | char *_kwnames[] = { "self", NULL }; | |
3533 | ||
3534 | self = self; | |
fe47ec10 | 3535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) |
f6bcfd97 BP |
3536 | return NULL; |
3537 | if (_argo0) { | |
3538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3541 | return NULL; |
3542 | } | |
3543 | } | |
3544 | { | |
4268f798 | 3545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3546 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
f6bcfd97 | 3547 | |
4268f798 RD |
3548 | wxPyEndAllowThreads(__tstate); |
3549 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3550 | } _resultobj = Py_BuildValue("i",_result); |
3551 | return _resultobj; | |
3552 | } | |
3553 | ||
fe47ec10 RD |
3554 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) |
3555 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3556 | PyObject * _resultobj; |
3557 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3558 | bool _arg1; |
f6bcfd97 | 3559 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3560 | int tempbool1; |
3561 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
f6bcfd97 BP |
3562 | |
3563 | self = self; | |
fe47ec10 | 3564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3565 | return NULL; |
3566 | if (_argo0) { | |
3567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3570 | return NULL; |
3571 | } | |
3572 | } | |
fe47ec10 | 3573 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3574 | { |
4268f798 | 3575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3576 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
f6bcfd97 | 3577 | |
4268f798 RD |
3578 | wxPyEndAllowThreads(__tstate); |
3579 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3580 | } Py_INCREF(Py_None); |
3581 | _resultobj = Py_None; | |
3582 | return _resultobj; | |
3583 | } | |
3584 | ||
fe47ec10 RD |
3585 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) |
3586 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3587 | PyObject * _resultobj; | |
3588 | bool _result; | |
3589 | wxStyledTextCtrl * _arg0; | |
3590 | PyObject * _argo0 = 0; | |
3591 | char *_kwnames[] = { "self", NULL }; | |
3592 | ||
3593 | self = self; | |
3594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3595 | return NULL; | |
3596 | if (_argo0) { | |
3597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3600 | return NULL; | |
3601 | } | |
3602 | } | |
3603 | { | |
4268f798 | 3604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3605 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); |
fe47ec10 | 3606 | |
4268f798 RD |
3607 | wxPyEndAllowThreads(__tstate); |
3608 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
3609 | } _resultobj = Py_BuildValue("i",_result); |
3610 | return _resultobj; | |
3611 | } | |
3612 | ||
65ec6247 RD |
3613 | #define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1)) |
3614 | static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3615 | PyObject * _resultobj; | |
3616 | wxStyledTextCtrl * _arg0; | |
3617 | int _arg1; | |
3618 | wxString * _arg2; | |
3619 | PyObject * _argo0 = 0; | |
3620 | PyObject * _obj2 = 0; | |
3621 | char *_kwnames[] = { "self","listType","itemList", NULL }; | |
3622 | ||
3623 | self = self; | |
3624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3625 | return NULL; | |
3626 | if (_argo0) { | |
3627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p."); | |
3630 | return NULL; | |
3631 | } | |
3632 | } | |
3633 | { | |
c8bc7bb8 RD |
3634 | _arg2 = wxString_in_helper(_obj2); |
3635 | if (_arg2 == NULL) | |
65ec6247 | 3636 | return NULL; |
65ec6247 RD |
3637 | } |
3638 | { | |
4268f798 | 3639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3640 | wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2); |
65ec6247 | 3641 | |
4268f798 RD |
3642 | wxPyEndAllowThreads(__tstate); |
3643 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3644 | } Py_INCREF(Py_None); |
3645 | _resultobj = Py_None; | |
3646 | { | |
3647 | if (_obj2) | |
3648 | delete _arg2; | |
3649 | } | |
3650 | return _resultobj; | |
3651 | } | |
3652 | ||
3653 | #define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0)) | |
3654 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3655 | PyObject * _resultobj; | |
3656 | wxStyledTextCtrl * _arg0; | |
3657 | bool _arg1; | |
3658 | PyObject * _argo0 = 0; | |
3659 | int tempbool1; | |
3660 | char *_kwnames[] = { "self","autoHide", NULL }; | |
3661 | ||
3662 | self = self; | |
3663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1)) | |
3664 | return NULL; | |
3665 | if (_argo0) { | |
3666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3669 | return NULL; | |
3670 | } | |
3671 | } | |
3672 | _arg1 = (bool ) tempbool1; | |
3673 | { | |
4268f798 | 3674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3675 | wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1); |
65ec6247 | 3676 | |
4268f798 RD |
3677 | wxPyEndAllowThreads(__tstate); |
3678 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3679 | } Py_INCREF(Py_None); |
3680 | _resultobj = Py_None; | |
3681 | return _resultobj; | |
3682 | } | |
3683 | ||
3684 | #define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide()) | |
3685 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3686 | PyObject * _resultobj; | |
3687 | bool _result; | |
3688 | wxStyledTextCtrl * _arg0; | |
3689 | PyObject * _argo0 = 0; | |
3690 | char *_kwnames[] = { "self", NULL }; | |
3691 | ||
3692 | self = self; | |
3693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0)) | |
3694 | return NULL; | |
3695 | if (_argo0) { | |
3696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3699 | return NULL; | |
3700 | } | |
3701 | } | |
3702 | { | |
4268f798 | 3703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3704 | _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0); |
65ec6247 | 3705 | |
4268f798 RD |
3706 | wxPyEndAllowThreads(__tstate); |
3707 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3708 | } _resultobj = Py_BuildValue("i",_result); |
3709 | return _resultobj; | |
3710 | } | |
3711 | ||
1a2fb4cd RD |
3712 | #define wxStyledTextCtrl_AutoCompSetDropRestOfWord(_swigobj,_swigarg0) (_swigobj->AutoCompSetDropRestOfWord(_swigarg0)) |
3713 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3714 | PyObject * _resultobj; | |
3715 | wxStyledTextCtrl * _arg0; | |
3716 | bool _arg1; | |
3717 | PyObject * _argo0 = 0; | |
3718 | int tempbool1; | |
3719 | char *_kwnames[] = { "self","dropRestOfWord", NULL }; | |
3720 | ||
3721 | self = self; | |
3722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetDropRestOfWord",_kwnames,&_argo0,&tempbool1)) | |
3723 | return NULL; | |
3724 | if (_argo0) { | |
3725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3728 | return NULL; | |
3729 | } | |
3730 | } | |
3731 | _arg1 = (bool ) tempbool1; | |
3732 | { | |
3733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3734 | wxStyledTextCtrl_AutoCompSetDropRestOfWord(_arg0,_arg1); | |
3735 | ||
3736 | wxPyEndAllowThreads(__tstate); | |
3737 | if (PyErr_Occurred()) return NULL; | |
3738 | } Py_INCREF(Py_None); | |
3739 | _resultobj = Py_None; | |
3740 | return _resultobj; | |
3741 | } | |
3742 | ||
3743 | #define wxStyledTextCtrl_AutoCompGetDropRestOfWord(_swigobj) (_swigobj->AutoCompGetDropRestOfWord()) | |
3744 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3745 | PyObject * _resultobj; | |
3746 | bool _result; | |
3747 | wxStyledTextCtrl * _arg0; | |
3748 | PyObject * _argo0 = 0; | |
3749 | char *_kwnames[] = { "self", NULL }; | |
3750 | ||
3751 | self = self; | |
3752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetDropRestOfWord",_kwnames,&_argo0)) | |
3753 | return NULL; | |
3754 | if (_argo0) { | |
3755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3758 | return NULL; | |
3759 | } | |
3760 | } | |
3761 | { | |
3762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3763 | _result = (bool )wxStyledTextCtrl_AutoCompGetDropRestOfWord(_arg0); | |
3764 | ||
3765 | wxPyEndAllowThreads(__tstate); | |
3766 | if (PyErr_Occurred()) return NULL; | |
3767 | } _resultobj = Py_BuildValue("i",_result); | |
3768 | return _resultobj; | |
3769 | } | |
3770 | ||
fe47ec10 RD |
3771 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
3772 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3773 | PyObject * _resultobj; |
3774 | wxStyledTextCtrl * _arg0; | |
3775 | int _arg1; | |
f6bcfd97 | 3776 | PyObject * _argo0 = 0; |
fe47ec10 | 3777 | char *_kwnames[] = { "self","indentSize", NULL }; |
f6bcfd97 BP |
3778 | |
3779 | self = self; | |
fe47ec10 | 3780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3781 | return NULL; |
3782 | if (_argo0) { | |
3783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3786 | return NULL; |
3787 | } | |
3788 | } | |
3789 | { | |
4268f798 | 3790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3791 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
f6bcfd97 | 3792 | |
4268f798 RD |
3793 | wxPyEndAllowThreads(__tstate); |
3794 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3795 | } Py_INCREF(Py_None); |
3796 | _resultobj = Py_None; | |
3797 | return _resultobj; | |
3798 | } | |
3799 | ||
fe47ec10 RD |
3800 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
3801 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3802 | PyObject * _resultobj; |
3803 | int _result; | |
3804 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3805 | PyObject * _argo0 = 0; |
fe47ec10 | 3806 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3807 | |
3808 | self = self; | |
fe47ec10 | 3809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) |
f6bcfd97 BP |
3810 | return NULL; |
3811 | if (_argo0) { | |
3812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3815 | return NULL; |
3816 | } | |
3817 | } | |
3818 | { | |
4268f798 | 3819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3820 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
f6bcfd97 | 3821 | |
4268f798 RD |
3822 | wxPyEndAllowThreads(__tstate); |
3823 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3824 | } _resultobj = Py_BuildValue("i",_result); |
3825 | return _resultobj; | |
3826 | } | |
3827 | ||
fe47ec10 RD |
3828 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) |
3829 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3830 | PyObject * _resultobj; |
3831 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3832 | bool _arg1; |
f6bcfd97 | 3833 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3834 | int tempbool1; |
3835 | char *_kwnames[] = { "self","useTabs", NULL }; | |
f6bcfd97 BP |
3836 | |
3837 | self = self; | |
fe47ec10 | 3838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3839 | return NULL; |
3840 | if (_argo0) { | |
3841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3844 | return NULL; |
3845 | } | |
3846 | } | |
fe47ec10 | 3847 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3848 | { |
4268f798 | 3849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3850 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
f6bcfd97 | 3851 | |
4268f798 RD |
3852 | wxPyEndAllowThreads(__tstate); |
3853 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3854 | } Py_INCREF(Py_None); |
3855 | _resultobj = Py_None; | |
3856 | return _resultobj; | |
3857 | } | |
3858 | ||
fe47ec10 RD |
3859 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) |
3860 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3861 | PyObject * _resultobj; |
fe47ec10 | 3862 | bool _result; |
f6bcfd97 | 3863 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3864 | PyObject * _argo0 = 0; |
fe47ec10 | 3865 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3866 | |
3867 | self = self; | |
fe47ec10 | 3868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) |
f6bcfd97 BP |
3869 | return NULL; |
3870 | if (_argo0) { | |
3871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3874 | return NULL; |
3875 | } | |
3876 | } | |
3877 | { | |
4268f798 | 3878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3879 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
f6bcfd97 | 3880 | |
4268f798 RD |
3881 | wxPyEndAllowThreads(__tstate); |
3882 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3883 | } _resultobj = Py_BuildValue("i",_result); |
3884 | return _resultobj; | |
3885 | } | |
3886 | ||
fe47ec10 RD |
3887 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) |
3888 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3889 | PyObject * _resultobj; |
3890 | wxStyledTextCtrl * _arg0; | |
3891 | int _arg1; | |
3892 | int _arg2; | |
3893 | PyObject * _argo0 = 0; | |
fe47ec10 | 3894 | char *_kwnames[] = { "self","line","indentSize", NULL }; |
f6bcfd97 BP |
3895 | |
3896 | self = self; | |
fe47ec10 | 3897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
3898 | return NULL; |
3899 | if (_argo0) { | |
3900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3903 | return NULL; |
3904 | } | |
3905 | } | |
3906 | { | |
4268f798 | 3907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3908 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
f6bcfd97 | 3909 | |
4268f798 RD |
3910 | wxPyEndAllowThreads(__tstate); |
3911 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3912 | } Py_INCREF(Py_None); |
3913 | _resultobj = Py_None; | |
3914 | return _resultobj; | |
3915 | } | |
3916 | ||
fe47ec10 RD |
3917 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) |
3918 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3919 | PyObject * _resultobj; |
3920 | int _result; | |
3921 | wxStyledTextCtrl * _arg0; | |
3922 | int _arg1; | |
3923 | PyObject * _argo0 = 0; | |
fe47ec10 | 3924 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3925 | |
3926 | self = self; | |
fe47ec10 | 3927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3928 | return NULL; |
3929 | if (_argo0) { | |
3930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3933 | return NULL; |
3934 | } | |
3935 | } | |
3936 | { | |
4268f798 | 3937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3938 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
f6bcfd97 | 3939 | |
4268f798 RD |
3940 | wxPyEndAllowThreads(__tstate); |
3941 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3942 | } _resultobj = Py_BuildValue("i",_result); |
3943 | return _resultobj; | |
3944 | } | |
3945 | ||
fe47ec10 RD |
3946 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) |
3947 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3948 | PyObject * _resultobj; |
fe47ec10 | 3949 | int _result; |
f6bcfd97 BP |
3950 | wxStyledTextCtrl * _arg0; |
3951 | int _arg1; | |
f6bcfd97 | 3952 | PyObject * _argo0 = 0; |
fe47ec10 | 3953 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3954 | |
3955 | self = self; | |
fe47ec10 | 3956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3957 | return NULL; |
3958 | if (_argo0) { | |
3959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3962 | return NULL; |
3963 | } | |
3964 | } | |
f6bcfd97 | 3965 | { |
4268f798 | 3966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3967 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
f6bcfd97 | 3968 | |
4268f798 RD |
3969 | wxPyEndAllowThreads(__tstate); |
3970 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3971 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3972 | return _resultobj; |
3973 | } | |
3974 | ||
fe47ec10 RD |
3975 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) |
3976 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3977 | PyObject * _resultobj; |
fe47ec10 | 3978 | int _result; |
f6bcfd97 BP |
3979 | wxStyledTextCtrl * _arg0; |
3980 | int _arg1; | |
3981 | PyObject * _argo0 = 0; | |
fe47ec10 | 3982 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3983 | |
3984 | self = self; | |
fe47ec10 | 3985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3986 | return NULL; |
3987 | if (_argo0) { | |
3988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3991 | return NULL; |
3992 | } | |
3993 | } | |
3994 | { | |
4268f798 | 3995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3996 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
f6bcfd97 | 3997 | |
4268f798 RD |
3998 | wxPyEndAllowThreads(__tstate); |
3999 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4000 | } _resultobj = Py_BuildValue("i",_result); |
4001 | return _resultobj; | |
4002 | } | |
4003 | ||
fe47ec10 RD |
4004 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) |
4005 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4006 | PyObject * _resultobj; |
4007 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4008 | bool _arg1; |
f6bcfd97 | 4009 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4010 | int tempbool1; |
4011 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
4012 | |
4013 | self = self; | |
fe47ec10 | 4014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4015 | return NULL; |
4016 | if (_argo0) { | |
4017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4020 | return NULL; |
4021 | } | |
4022 | } | |
fe47ec10 | 4023 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 4024 | { |
4268f798 | 4025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4026 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
f6bcfd97 | 4027 | |
4268f798 RD |
4028 | wxPyEndAllowThreads(__tstate); |
4029 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4030 | } Py_INCREF(Py_None); |
4031 | _resultobj = Py_None; | |
4032 | return _resultobj; | |
4033 | } | |
4034 | ||
fe47ec10 RD |
4035 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) |
4036 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4037 | PyObject * _resultobj; |
fe47ec10 | 4038 | bool _result; |
f6bcfd97 | 4039 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4040 | PyObject * _argo0 = 0; |
fe47ec10 | 4041 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4042 | |
4043 | self = self; | |
fe47ec10 | 4044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) |
f6bcfd97 BP |
4045 | return NULL; |
4046 | if (_argo0) { | |
4047 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4048 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4049 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4050 | return NULL; |
4051 | } | |
4052 | } | |
f6bcfd97 | 4053 | { |
4268f798 | 4054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4055 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
f6bcfd97 | 4056 | |
4268f798 RD |
4057 | wxPyEndAllowThreads(__tstate); |
4058 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4059 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4060 | return _resultobj; |
4061 | } | |
4062 | ||
fe47ec10 RD |
4063 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) |
4064 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4065 | PyObject * _resultobj; |
4066 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4067 | bool _arg1; |
f6bcfd97 | 4068 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4069 | int tempbool1; |
4070 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
4071 | |
4072 | self = self; | |
fe47ec10 | 4073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4074 | return NULL; |
4075 | if (_argo0) { | |
4076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4079 | return NULL; |
4080 | } | |
4081 | } | |
fe47ec10 | 4082 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 4083 | { |
4268f798 | 4084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4085 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
f6bcfd97 | 4086 | |
4268f798 RD |
4087 | wxPyEndAllowThreads(__tstate); |
4088 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4089 | } Py_INCREF(Py_None); |
4090 | _resultobj = Py_None; | |
4091 | return _resultobj; | |
4092 | } | |
4093 | ||
fe47ec10 RD |
4094 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) |
4095 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4096 | PyObject * _resultobj; |
fe47ec10 | 4097 | bool _result; |
f6bcfd97 BP |
4098 | wxStyledTextCtrl * _arg0; |
4099 | PyObject * _argo0 = 0; | |
4100 | char *_kwnames[] = { "self", NULL }; | |
4101 | ||
4102 | self = self; | |
fe47ec10 | 4103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) |
f6bcfd97 BP |
4104 | return NULL; |
4105 | if (_argo0) { | |
4106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4109 | return NULL; |
4110 | } | |
4111 | } | |
4112 | { | |
4268f798 | 4113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4114 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
f6bcfd97 | 4115 | |
4268f798 RD |
4116 | wxPyEndAllowThreads(__tstate); |
4117 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4118 | } _resultobj = Py_BuildValue("i",_result); |
4119 | return _resultobj; | |
4120 | } | |
4121 | ||
fe47ec10 RD |
4122 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) |
4123 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4124 | PyObject * _resultobj; |
4125 | wxStyledTextCtrl * _arg0; | |
4126 | int _arg1; | |
4127 | PyObject * _argo0 = 0; | |
fe47ec10 | 4128 | char *_kwnames[] = { "self","column", NULL }; |
f6bcfd97 BP |
4129 | |
4130 | self = self; | |
fe47ec10 | 4131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4132 | return NULL; |
4133 | if (_argo0) { | |
4134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4137 | return NULL; |
4138 | } | |
4139 | } | |
4140 | { | |
4268f798 | 4141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4142 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
f6bcfd97 | 4143 | |
4268f798 RD |
4144 | wxPyEndAllowThreads(__tstate); |
4145 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4146 | } Py_INCREF(Py_None); |
4147 | _resultobj = Py_None; | |
4148 | return _resultobj; | |
4149 | } | |
4150 | ||
fe47ec10 RD |
4151 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) |
4152 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4153 | PyObject * _resultobj; |
fe47ec10 | 4154 | int _result; |
f6bcfd97 | 4155 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4156 | PyObject * _argo0 = 0; |
fe47ec10 | 4157 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4158 | |
4159 | self = self; | |
fe47ec10 | 4160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) |
f6bcfd97 BP |
4161 | return NULL; |
4162 | if (_argo0) { | |
4163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4166 | return NULL; |
4167 | } | |
4168 | } | |
f6bcfd97 | 4169 | { |
4268f798 | 4170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4171 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
f6bcfd97 | 4172 | |
4268f798 RD |
4173 | wxPyEndAllowThreads(__tstate); |
4174 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4175 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4176 | return _resultobj; |
4177 | } | |
4178 | ||
fe47ec10 RD |
4179 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) |
4180 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4181 | PyObject * _resultobj; |
fe47ec10 | 4182 | int _result; |
f6bcfd97 BP |
4183 | wxStyledTextCtrl * _arg0; |
4184 | int _arg1; | |
4185 | PyObject * _argo0 = 0; | |
fe47ec10 | 4186 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4187 | |
4188 | self = self; | |
fe47ec10 | 4189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4190 | return NULL; |
4191 | if (_argo0) { | |
4192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4195 | return NULL; |
4196 | } | |
4197 | } | |
4198 | { | |
4268f798 | 4199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4200 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
f6bcfd97 | 4201 | |
4268f798 RD |
4202 | wxPyEndAllowThreads(__tstate); |
4203 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4204 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4205 | return _resultobj; |
4206 | } | |
4207 | ||
fe47ec10 RD |
4208 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) |
4209 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4210 | PyObject * _resultobj; |
fe47ec10 | 4211 | int _result; |
f6bcfd97 | 4212 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4213 | PyObject * _argo0 = 0; |
fe47ec10 | 4214 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4215 | |
4216 | self = self; | |
fe47ec10 | 4217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) |
f6bcfd97 BP |
4218 | return NULL; |
4219 | if (_argo0) { | |
4220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4223 | return NULL; |
4224 | } | |
4225 | } | |
4226 | { | |
4268f798 | 4227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4228 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
f6bcfd97 | 4229 | |
4268f798 RD |
4230 | wxPyEndAllowThreads(__tstate); |
4231 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4232 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4233 | return _resultobj; |
4234 | } | |
4235 | ||
fe47ec10 RD |
4236 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) |
4237 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4238 | PyObject * _resultobj; |
fe47ec10 | 4239 | wxColour * _result; |
f6bcfd97 | 4240 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4241 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4242 | char *_kwnames[] = { "self", NULL }; |
4243 | char _ptemp[128]; | |
f6bcfd97 BP |
4244 | |
4245 | self = self; | |
fe47ec10 | 4246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) |
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_GetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4252 | return NULL; |
4253 | } | |
4254 | } | |
f6bcfd97 | 4255 | { |
4268f798 | 4256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4257 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
f6bcfd97 | 4258 | |
4268f798 RD |
4259 | wxPyEndAllowThreads(__tstate); |
4260 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4261 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4262 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
4263 | return _resultobj; |
4264 | } | |
4265 | ||
fe47ec10 RD |
4266 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) |
4267 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4268 | PyObject * _resultobj; |
fe47ec10 | 4269 | bool _result; |
f6bcfd97 | 4270 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4271 | PyObject * _argo0 = 0; |
fe47ec10 | 4272 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4273 | |
4274 | self = self; | |
fe47ec10 | 4275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) |
f6bcfd97 BP |
4276 | return NULL; |
4277 | if (_argo0) { | |
4278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4281 | return NULL; |
4282 | } | |
4283 | } | |
4284 | { | |
4268f798 | 4285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4286 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
f6bcfd97 | 4287 | |
4268f798 RD |
4288 | wxPyEndAllowThreads(__tstate); |
4289 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4290 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4291 | return _resultobj; |
4292 | } | |
4293 | ||
fe47ec10 RD |
4294 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) |
4295 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4296 | PyObject * _resultobj; |
f6bcfd97 BP |
4297 | wxStyledTextCtrl * _arg0; |
4298 | int _arg1; | |
4299 | PyObject * _argo0 = 0; | |
fe47ec10 | 4300 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4301 | |
4302 | self = self; | |
fe47ec10 | 4303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4304 | return NULL; |
4305 | if (_argo0) { | |
4306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4309 | return NULL; |
4310 | } | |
4311 | } | |
4312 | { | |
4268f798 | 4313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4314 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
f6bcfd97 | 4315 | |
4268f798 RD |
4316 | wxPyEndAllowThreads(__tstate); |
4317 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4318 | } Py_INCREF(Py_None); |
4319 | _resultobj = Py_None; | |
f6bcfd97 BP |
4320 | return _resultobj; |
4321 | } | |
4322 | ||
fe47ec10 RD |
4323 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) |
4324 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4325 | PyObject * _resultobj; |
f6bcfd97 BP |
4326 | wxStyledTextCtrl * _arg0; |
4327 | int _arg1; | |
4328 | PyObject * _argo0 = 0; | |
fe47ec10 | 4329 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4330 | |
4331 | self = self; | |
fe47ec10 | 4332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4333 | return NULL; |
4334 | if (_argo0) { | |
4335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4338 | return NULL; |
4339 | } | |
4340 | } | |
4341 | { | |
4268f798 | 4342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4343 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
f6bcfd97 | 4344 | |
4268f798 RD |
4345 | wxPyEndAllowThreads(__tstate); |
4346 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4347 | } Py_INCREF(Py_None); |
4348 | _resultobj = Py_None; | |
f6bcfd97 BP |
4349 | return _resultobj; |
4350 | } | |
4351 | ||
fe47ec10 RD |
4352 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) |
4353 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4354 | PyObject * _resultobj; |
fe47ec10 | 4355 | int _result; |
f6bcfd97 | 4356 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4357 | PyObject * _argo0 = 0; |
fe47ec10 | 4358 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4359 | |
4360 | self = self; | |
fe47ec10 | 4361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
4362 | return NULL; |
4363 | if (_argo0) { | |
4364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4367 | return NULL; |
4368 | } | |
4369 | } | |
f6bcfd97 | 4370 | { |
4268f798 | 4371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4372 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
f6bcfd97 | 4373 | |
4268f798 RD |
4374 | wxPyEndAllowThreads(__tstate); |
4375 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4376 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4377 | return _resultobj; |
4378 | } | |
4379 | ||
fe47ec10 RD |
4380 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) |
4381 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4382 | PyObject * _resultobj; |
4383 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4384 | int _arg1; |
f6bcfd97 | 4385 | PyObject * _argo0 = 0; |
fe47ec10 | 4386 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4387 | |
4388 | self = self; | |
fe47ec10 | 4389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4390 | return NULL; |
4391 | if (_argo0) { | |
4392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4395 | return NULL; |
4396 | } | |
4397 | } | |
f6bcfd97 | 4398 | { |
4268f798 | 4399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4400 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
f6bcfd97 | 4401 | |
4268f798 RD |
4402 | wxPyEndAllowThreads(__tstate); |
4403 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4404 | } Py_INCREF(Py_None); |
4405 | _resultobj = Py_None; | |
4406 | return _resultobj; | |
4407 | } | |
4408 | ||
fe47ec10 RD |
4409 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) |
4410 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4411 | PyObject * _resultobj; |
fe47ec10 | 4412 | int _result; |
f6bcfd97 | 4413 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4414 | PyObject * _argo0 = 0; |
fe47ec10 | 4415 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4416 | |
4417 | self = self; | |
fe47ec10 | 4418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) |
f6bcfd97 BP |
4419 | return NULL; |
4420 | if (_argo0) { | |
4421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4424 | return NULL; |
4425 | } | |
4426 | } | |
4427 | { | |
4268f798 | 4428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4429 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
f6bcfd97 | 4430 | |
4268f798 RD |
4431 | wxPyEndAllowThreads(__tstate); |
4432 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4433 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4434 | return _resultobj; |
4435 | } | |
4436 | ||
fe47ec10 RD |
4437 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) |
4438 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4439 | PyObject * _resultobj; |
4440 | wxStyledTextCtrl * _arg0; | |
4441 | int _arg1; | |
4442 | PyObject * _argo0 = 0; | |
fe47ec10 | 4443 | char *_kwnames[] = { "self","magnification", NULL }; |
f6bcfd97 BP |
4444 | |
4445 | self = self; | |
fe47ec10 | 4446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) |
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_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4452 | return NULL; |
4453 | } | |
4454 | } | |
4455 | { | |
4268f798 | 4456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4457 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
f6bcfd97 | 4458 | |
4268f798 RD |
4459 | wxPyEndAllowThreads(__tstate); |
4460 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4461 | } Py_INCREF(Py_None); |
4462 | _resultobj = Py_None; | |
4463 | return _resultobj; | |
4464 | } | |
4465 | ||
fe47ec10 RD |
4466 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) |
4467 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4468 | PyObject * _resultobj; |
4469 | int _result; | |
4470 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4471 | PyObject * _argo0 = 0; |
fe47ec10 | 4472 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4473 | |
4474 | self = self; | |
fe47ec10 | 4475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) |
f6bcfd97 BP |
4476 | return NULL; |
4477 | if (_argo0) { | |
4478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4481 | return NULL; |
4482 | } | |
4483 | } | |
4484 | { | |
4268f798 | 4485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4486 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
f6bcfd97 | 4487 | |
4268f798 RD |
4488 | wxPyEndAllowThreads(__tstate); |
4489 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4490 | } _resultobj = Py_BuildValue("i",_result); |
4491 | return _resultobj; | |
4492 | } | |
4493 | ||
fe47ec10 RD |
4494 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) |
4495 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4496 | PyObject * _resultobj; |
4497 | wxStyledTextCtrl * _arg0; | |
4498 | int _arg1; | |
f6bcfd97 | 4499 | PyObject * _argo0 = 0; |
fe47ec10 | 4500 | char *_kwnames[] = { "self","mode", NULL }; |
f6bcfd97 BP |
4501 | |
4502 | self = self; | |
fe47ec10 | 4503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4504 | return NULL; |
4505 | if (_argo0) { | |
4506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4509 | return NULL; |
4510 | } | |
4511 | } | |
f6bcfd97 | 4512 | { |
4268f798 | 4513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4514 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
f6bcfd97 | 4515 | |
4268f798 RD |
4516 | wxPyEndAllowThreads(__tstate); |
4517 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4518 | } Py_INCREF(Py_None); |
4519 | _resultobj = Py_None; | |
4520 | return _resultobj; | |
4521 | } | |
4522 | ||
fe47ec10 RD |
4523 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) |
4524 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4525 | PyObject * _resultobj; |
fe47ec10 | 4526 | int _result; |
f6bcfd97 | 4527 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4528 | PyObject * _argo0 = 0; |
fe47ec10 | 4529 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4530 | |
4531 | self = self; | |
fe47ec10 | 4532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
4533 | return NULL; |
4534 | if (_argo0) { | |
4535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4538 | return NULL; |
4539 | } | |
4540 | } | |
4541 | { | |
4268f798 | 4542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4543 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
f6bcfd97 | 4544 | |
4268f798 RD |
4545 | wxPyEndAllowThreads(__tstate); |
4546 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4547 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4548 | return _resultobj; |
4549 | } | |
4550 | ||
fe47ec10 RD |
4551 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
4552 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4553 | PyObject * _resultobj; |
fe47ec10 | 4554 | int _result; |
f6bcfd97 BP |
4555 | wxStyledTextCtrl * _arg0; |
4556 | int _arg1; | |
fe47ec10 RD |
4557 | int _arg2; |
4558 | wxString * _arg3; | |
4559 | bool _arg4; | |
4560 | bool _arg5; | |
f6bcfd97 | 4561 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4562 | PyObject * _obj3 = 0; |
4563 | int tempbool4; | |
4564 | int tempbool5; | |
4565 | char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL }; | |
f6bcfd97 BP |
4566 | |
4567 | self = self; | |
fe47ec10 | 4568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5)) |
f6bcfd97 BP |
4569 | return NULL; |
4570 | if (_argo0) { | |
4571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4574 | return NULL; |
4575 | } | |
4576 | } | |
4577 | { | |
c8bc7bb8 RD |
4578 | _arg3 = wxString_in_helper(_obj3); |
4579 | if (_arg3 == NULL) | |
185d7c3e | 4580 | return NULL; |
f6bcfd97 | 4581 | } |
fe47ec10 RD |
4582 | _arg4 = (bool ) tempbool4; |
4583 | _arg5 = (bool ) tempbool5; | |
f6bcfd97 | 4584 | { |
4268f798 | 4585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4586 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 | 4587 | |
4268f798 RD |
4588 | wxPyEndAllowThreads(__tstate); |
4589 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4590 | } _resultobj = Py_BuildValue("i",_result); |
4591 | { | |
4592 | if (_obj3) | |
4593 | delete _arg3; | |
4594 | } | |
f6bcfd97 BP |
4595 | return _resultobj; |
4596 | } | |
4597 | ||
fe47ec10 RD |
4598 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
4599 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4600 | PyObject * _resultobj; |
fe47ec10 | 4601 | int _result; |
f6bcfd97 | 4602 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4603 | bool _arg1; |
4604 | int _arg2; | |
4605 | int _arg3; | |
4606 | wxDC * _arg4; | |
4607 | wxDC * _arg5; | |
4608 | wxRect * _arg6; | |
4609 | wxRect * _arg7; | |
f6bcfd97 | 4610 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4611 | int tempbool1; |
4612 | PyObject * _argo4 = 0; | |
4613 | PyObject * _argo5 = 0; | |
4614 | wxRect temp; | |
4615 | PyObject * _obj6 = 0; | |
4616 | wxRect temp0; | |
4617 | PyObject * _obj7 = 0; | |
4618 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
f6bcfd97 BP |
4619 | |
4620 | self = self; | |
fe47ec10 | 4621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) |
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 RD |
4626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); |
4627 | return NULL; | |
4628 | } | |
4629 | } | |
4630 | _arg1 = (bool ) tempbool1; | |
4631 | if (_argo4) { | |
4632 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4633 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4635 | return NULL; | |
4636 | } | |
4637 | } | |
4638 | if (_argo5) { | |
4639 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4640 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
f6bcfd97 BP |
4642 | return NULL; |
4643 | } | |
4644 | } | |
4645 | { | |
fe47ec10 RD |
4646 | _arg6 = &temp; |
4647 | if (! wxRect_helper(_obj6, &_arg6)) | |
4648 | return NULL; | |
4649 | } | |
4650 | { | |
4651 | _arg7 = &temp0; | |
4652 | if (! wxRect_helper(_obj7, &_arg7)) | |
f6bcfd97 BP |
4653 | return NULL; |
4654 | } | |
4655 | { | |
4268f798 | 4656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4657 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
f6bcfd97 | 4658 | |
4268f798 RD |
4659 | wxPyEndAllowThreads(__tstate); |
4660 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4661 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4662 | return _resultobj; |
4663 | } | |
4664 | ||
fe47ec10 RD |
4665 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) |
4666 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4667 | PyObject * _resultobj; |
4668 | int _result; | |
4669 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4670 | PyObject * _argo0 = 0; |
fe47ec10 | 4671 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4672 | |
4673 | self = self; | |
fe47ec10 | 4674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) |
f6bcfd97 BP |
4675 | return NULL; |
4676 | if (_argo0) { | |
4677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4680 | return NULL; |
4681 | } | |
4682 | } | |
4683 | { | |
4268f798 | 4684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4685 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
f6bcfd97 | 4686 | |
4268f798 RD |
4687 | wxPyEndAllowThreads(__tstate); |
4688 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4689 | } _resultobj = Py_BuildValue("i",_result); |
4690 | return _resultobj; | |
4691 | } | |
4692 | ||
fe47ec10 RD |
4693 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) |
4694 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4695 | PyObject * _resultobj; |
fe47ec10 | 4696 | wxString * _result; |
f6bcfd97 BP |
4697 | wxStyledTextCtrl * _arg0; |
4698 | int _arg1; | |
f6bcfd97 | 4699 | PyObject * _argo0 = 0; |
fe47ec10 | 4700 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4701 | |
4702 | self = self; | |
fe47ec10 | 4703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4704 | return NULL; |
4705 | if (_argo0) { | |
4706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4709 | return NULL; |
4710 | } | |
4711 | } | |
4712 | { | |
4268f798 | 4713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4714 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
f6bcfd97 | 4715 | |
4268f798 RD |
4716 | wxPyEndAllowThreads(__tstate); |
4717 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4718 | }{ |
c8bc7bb8 RD |
4719 | #if wxUSE_UNICODE |
4720 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4721 | #else | |
fe47ec10 | 4722 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4723 | #endif |
fe47ec10 RD |
4724 | } |
4725 | { | |
4726 | delete _result; | |
4727 | } | |
f6bcfd97 BP |
4728 | return _resultobj; |
4729 | } | |
4730 | ||
fe47ec10 RD |
4731 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) |
4732 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4733 | PyObject * _resultobj; |
fe47ec10 | 4734 | int _result; |
f6bcfd97 | 4735 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4736 | PyObject * _argo0 = 0; |
fe47ec10 | 4737 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4738 | |
4739 | self = self; | |
fe47ec10 | 4740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) |
f6bcfd97 BP |
4741 | return NULL; |
4742 | if (_argo0) { | |
4743 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4744 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4745 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4746 | return NULL; |
4747 | } | |
4748 | } | |
4749 | { | |
4268f798 | 4750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4751 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
f6bcfd97 | 4752 | |
4268f798 RD |
4753 | wxPyEndAllowThreads(__tstate); |
4754 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4755 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4756 | return _resultobj; |
4757 | } | |
4758 | ||
fe47ec10 RD |
4759 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) |
4760 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4761 | PyObject * _resultobj; |
f6bcfd97 BP |
4762 | wxStyledTextCtrl * _arg0; |
4763 | int _arg1; | |
4764 | PyObject * _argo0 = 0; | |
65ec6247 | 4765 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
4766 | |
4767 | self = self; | |
fe47ec10 | 4768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4769 | return NULL; |
4770 | if (_argo0) { | |
4771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4774 | return NULL; |
4775 | } | |
4776 | } | |
4777 | { | |
4268f798 | 4778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4779 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
f6bcfd97 | 4780 | |
4268f798 RD |
4781 | wxPyEndAllowThreads(__tstate); |
4782 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4783 | } Py_INCREF(Py_None); |
4784 | _resultobj = Py_None; | |
f6bcfd97 BP |
4785 | return _resultobj; |
4786 | } | |
4787 | ||
fe47ec10 RD |
4788 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) |
4789 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4790 | PyObject * _resultobj; |
4791 | int _result; | |
4792 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4793 | PyObject * _argo0 = 0; |
fe47ec10 | 4794 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4795 | |
4796 | self = self; | |
fe47ec10 | 4797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_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_GetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4803 | return NULL; |
4804 | } | |
4805 | } | |
4806 | { | |
4268f798 | 4807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4808 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
f6bcfd97 | 4809 | |
4268f798 RD |
4810 | wxPyEndAllowThreads(__tstate); |
4811 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4812 | } _resultobj = Py_BuildValue("i",_result); |
4813 | return _resultobj; | |
4814 | } | |
4815 | ||
fe47ec10 RD |
4816 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) |
4817 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4818 | PyObject * _resultobj; |
f6bcfd97 BP |
4819 | wxStyledTextCtrl * _arg0; |
4820 | int _arg1; | |
f6bcfd97 | 4821 | PyObject * _argo0 = 0; |
65ec6247 | 4822 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
4823 | |
4824 | self = self; | |
fe47ec10 | 4825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4826 | return NULL; |
4827 | if (_argo0) { | |
4828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4831 | return NULL; |
4832 | } | |
4833 | } | |
4834 | { | |
4268f798 | 4835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4836 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
f6bcfd97 | 4837 | |
4268f798 RD |
4838 | wxPyEndAllowThreads(__tstate); |
4839 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4840 | } Py_INCREF(Py_None); |
4841 | _resultobj = Py_None; | |
f6bcfd97 BP |
4842 | return _resultobj; |
4843 | } | |
4844 | ||
fe47ec10 RD |
4845 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) |
4846 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4847 | PyObject * _resultobj; |
4848 | int _result; | |
4849 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4850 | PyObject * _argo0 = 0; |
fe47ec10 | 4851 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4852 | |
4853 | self = self; | |
fe47ec10 | 4854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) |
f6bcfd97 BP |
4855 | return NULL; |
4856 | if (_argo0) { | |
4857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4860 | return NULL; |
4861 | } | |
4862 | } | |
4863 | { | |
4268f798 | 4864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4865 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
f6bcfd97 | 4866 | |
4268f798 RD |
4867 | wxPyEndAllowThreads(__tstate); |
4868 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4869 | } _resultobj = Py_BuildValue("i",_result); |
4870 | return _resultobj; | |
4871 | } | |
4872 | ||
fe47ec10 RD |
4873 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) |
4874 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4875 | PyObject * _resultobj; |
fe47ec10 | 4876 | bool _result; |
f6bcfd97 | 4877 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4878 | PyObject * _argo0 = 0; |
fe47ec10 | 4879 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4880 | |
4881 | self = self; | |
fe47ec10 | 4882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) |
f6bcfd97 BP |
4883 | return NULL; |
4884 | if (_argo0) { | |
4885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4888 | return NULL; |
4889 | } | |
4890 | } | |
4891 | { | |
4268f798 | 4892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4893 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
f6bcfd97 | 4894 | |
4268f798 RD |
4895 | wxPyEndAllowThreads(__tstate); |
4896 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4897 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4898 | return _resultobj; |
4899 | } | |
4900 | ||
fe47ec10 RD |
4901 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) |
4902 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4903 | PyObject * _resultobj; |
4904 | wxStyledTextCtrl * _arg0; | |
4905 | int _arg1; | |
4906 | int _arg2; | |
4907 | PyObject * _argo0 = 0; | |
fe47ec10 | 4908 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
4909 | |
4910 | self = self; | |
fe47ec10 | 4911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4912 | return NULL; |
4913 | if (_argo0) { | |
4914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4917 | return NULL; |
4918 | } | |
4919 | } | |
4920 | { | |
4268f798 | 4921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4922 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 4923 | |
4268f798 RD |
4924 | wxPyEndAllowThreads(__tstate); |
4925 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4926 | } Py_INCREF(Py_None); |
4927 | _resultobj = Py_None; | |
4928 | return _resultobj; | |
4929 | } | |
4930 | ||
fe47ec10 RD |
4931 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) |
4932 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4933 | PyObject * _resultobj; |
fe47ec10 | 4934 | wxString * _result; |
f6bcfd97 | 4935 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4936 | PyObject * _argo0 = 0; |
fe47ec10 | 4937 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4938 | |
4939 | self = self; | |
fe47ec10 | 4940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) |
f6bcfd97 BP |
4941 | return NULL; |
4942 | if (_argo0) { | |
4943 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4944 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4945 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4946 | return NULL; |
4947 | } | |
4948 | } | |
4949 | { | |
4268f798 | 4950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4951 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
f6bcfd97 | 4952 | |
4268f798 RD |
4953 | wxPyEndAllowThreads(__tstate); |
4954 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4955 | }{ |
c8bc7bb8 RD |
4956 | #if wxUSE_UNICODE |
4957 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4958 | #else | |
fe47ec10 | 4959 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4960 | #endif |
fe47ec10 RD |
4961 | } |
4962 | { | |
4963 | delete _result; | |
4964 | } | |
f6bcfd97 BP |
4965 | return _resultobj; |
4966 | } | |
4967 | ||
fe47ec10 RD |
4968 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) |
4969 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4970 | PyObject * _resultobj; |
fe47ec10 | 4971 | wxString * _result; |
f6bcfd97 BP |
4972 | wxStyledTextCtrl * _arg0; |
4973 | int _arg1; | |
fe47ec10 | 4974 | int _arg2; |
f6bcfd97 | 4975 | PyObject * _argo0 = 0; |
fe47ec10 | 4976 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
4977 | |
4978 | self = self; | |
fe47ec10 | 4979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4980 | return NULL; |
4981 | if (_argo0) { | |
4982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4985 | return NULL; |
4986 | } | |
4987 | } | |
f6bcfd97 | 4988 | { |
4268f798 | 4989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4990 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
f6bcfd97 | 4991 | |
4268f798 RD |
4992 | wxPyEndAllowThreads(__tstate); |
4993 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4994 | }{ |
c8bc7bb8 RD |
4995 | #if wxUSE_UNICODE |
4996 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4997 | #else | |
fe47ec10 | 4998 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4999 | #endif |
fe47ec10 RD |
5000 | } |
5001 | { | |
5002 | delete _result; | |
5003 | } | |
f6bcfd97 BP |
5004 | return _resultobj; |
5005 | } | |
5006 | ||
fe47ec10 RD |
5007 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) |
5008 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5009 | PyObject * _resultobj; |
5010 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5011 | bool _arg1; |
f6bcfd97 | 5012 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5013 | int tempbool1; |
5014 | char *_kwnames[] = { "self","normal", NULL }; | |
f6bcfd97 BP |
5015 | |
5016 | self = self; | |
fe47ec10 | 5017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5018 | return NULL; |
5019 | if (_argo0) { | |
5020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5023 | return NULL; |
5024 | } | |
5025 | } | |
fe47ec10 | 5026 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5027 | { |
4268f798 | 5028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5029 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
f6bcfd97 | 5030 | |
4268f798 RD |
5031 | wxPyEndAllowThreads(__tstate); |
5032 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5033 | } Py_INCREF(Py_None); |
5034 | _resultobj = Py_None; | |
f6bcfd97 BP |
5035 | return _resultobj; |
5036 | } | |
5037 | ||
fe47ec10 RD |
5038 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) |
5039 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5040 | PyObject * _resultobj; |
fe47ec10 | 5041 | int _result; |
f6bcfd97 | 5042 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5043 | int _arg1; |
f6bcfd97 | 5044 | PyObject * _argo0 = 0; |
fe47ec10 | 5045 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5046 | |
5047 | self = self; | |
fe47ec10 | 5048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5049 | return NULL; |
5050 | if (_argo0) { | |
5051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5054 | return NULL; |
5055 | } | |
5056 | } | |
5057 | { | |
4268f798 | 5058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5059 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
f6bcfd97 | 5060 | |
4268f798 RD |
5061 | wxPyEndAllowThreads(__tstate); |
5062 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5063 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5064 | return _resultobj; |
5065 | } | |
5066 | ||
fe47ec10 RD |
5067 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) |
5068 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5069 | PyObject * _resultobj; |
fe47ec10 | 5070 | int _result; |
f6bcfd97 | 5071 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5072 | int _arg1; |
f6bcfd97 | 5073 | PyObject * _argo0 = 0; |
fe47ec10 | 5074 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
5075 | |
5076 | self = self; | |
fe47ec10 | 5077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5078 | return NULL; |
5079 | if (_argo0) { | |
5080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5083 | return NULL; |
5084 | } | |
5085 | } | |
5086 | { | |
4268f798 | 5087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5088 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
f6bcfd97 | 5089 | |
4268f798 RD |
5090 | wxPyEndAllowThreads(__tstate); |
5091 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5092 | } _resultobj = Py_BuildValue("i",_result); |
5093 | return _resultobj; | |
5094 | } | |
5095 | ||
fe47ec10 RD |
5096 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) |
5097 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5098 | PyObject * _resultobj; |
f6bcfd97 | 5099 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
5100 | int _arg1; |
5101 | int _arg2; | |
f6bcfd97 | 5102 | PyObject * _argo0 = 0; |
fe47ec10 | 5103 | char *_kwnames[] = { "self","columns","lines", NULL }; |
f6bcfd97 BP |
5104 | |
5105 | self = self; | |
fe47ec10 | 5106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
5107 | return NULL; |
5108 | if (_argo0) { | |
5109 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5110 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5112 | return NULL; |
5113 | } | |
5114 | } | |
5115 | { | |
4268f798 | 5116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5117 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
f6bcfd97 | 5118 | |
4268f798 RD |
5119 | wxPyEndAllowThreads(__tstate); |
5120 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5121 | } Py_INCREF(Py_None); |
5122 | _resultobj = Py_None; | |
f6bcfd97 BP |
5123 | return _resultobj; |
5124 | } | |
5125 | ||
fe47ec10 RD |
5126 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) |
5127 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5128 | PyObject * _resultobj; |
5129 | wxStyledTextCtrl * _arg0; | |
5130 | PyObject * _argo0 = 0; | |
5131 | char *_kwnames[] = { "self", NULL }; | |
5132 | ||
5133 | self = self; | |
fe47ec10 | 5134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) |
f6bcfd97 BP |
5135 | return NULL; |
5136 | if (_argo0) { | |
5137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5140 | return NULL; |
5141 | } | |
5142 | } | |
5143 | { | |
4268f798 | 5144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5145 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
f6bcfd97 | 5146 | |
4268f798 RD |
5147 | wxPyEndAllowThreads(__tstate); |
5148 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5149 | } Py_INCREF(Py_None); |
5150 | _resultobj = Py_None; | |
5151 | return _resultobj; | |
5152 | } | |
5153 | ||
fe47ec10 RD |
5154 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) |
5155 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5156 | PyObject * _resultobj; |
5157 | wxStyledTextCtrl * _arg0; | |
5158 | wxString * _arg1; | |
5159 | PyObject * _argo0 = 0; | |
5160 | PyObject * _obj1 = 0; | |
fe47ec10 | 5161 | char *_kwnames[] = { "self","text", NULL }; |
f6bcfd97 BP |
5162 | |
5163 | self = self; | |
fe47ec10 | 5164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5165 | return NULL; |
5166 | if (_argo0) { | |
5167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5170 | return NULL; |
5171 | } | |
5172 | } | |
5173 | { | |
c8bc7bb8 RD |
5174 | _arg1 = wxString_in_helper(_obj1); |
5175 | if (_arg1 == NULL) | |
f6bcfd97 | 5176 | return NULL; |
f6bcfd97 BP |
5177 | } |
5178 | { | |
4268f798 | 5179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5180 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
f6bcfd97 | 5181 | |
4268f798 RD |
5182 | wxPyEndAllowThreads(__tstate); |
5183 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5184 | } Py_INCREF(Py_None); |
5185 | _resultobj = Py_None; | |
5186 | { | |
5187 | if (_obj1) | |
5188 | delete _arg1; | |
5189 | } | |
5190 | return _resultobj; | |
5191 | } | |
5192 | ||
fe47ec10 RD |
5193 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
5194 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5195 | PyObject * _resultobj; |
5196 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5197 | bool _arg1; |
f6bcfd97 | 5198 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5199 | int tempbool1; |
5200 | char *_kwnames[] = { "self","readOnly", NULL }; | |
f6bcfd97 BP |
5201 | |
5202 | self = self; | |
fe47ec10 | 5203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5204 | return NULL; |
5205 | if (_argo0) { | |
5206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5209 | return NULL; |
5210 | } | |
5211 | } | |
fe47ec10 | 5212 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5213 | { |
4268f798 | 5214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5215 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
f6bcfd97 | 5216 | |
4268f798 RD |
5217 | wxPyEndAllowThreads(__tstate); |
5218 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5219 | } Py_INCREF(Py_None); |
5220 | _resultobj = Py_None; | |
5221 | return _resultobj; | |
5222 | } | |
5223 | ||
fe47ec10 RD |
5224 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) |
5225 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5226 | PyObject * _resultobj; |
fe47ec10 | 5227 | bool _result; |
f6bcfd97 BP |
5228 | wxStyledTextCtrl * _arg0; |
5229 | PyObject * _argo0 = 0; | |
5230 | char *_kwnames[] = { "self", NULL }; | |
5231 | ||
5232 | self = self; | |
fe47ec10 | 5233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) |
f6bcfd97 BP |
5234 | return NULL; |
5235 | if (_argo0) { | |
5236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5239 | return NULL; |
5240 | } | |
5241 | } | |
5242 | { | |
4268f798 | 5243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5244 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
f6bcfd97 | 5245 | |
4268f798 RD |
5246 | wxPyEndAllowThreads(__tstate); |
5247 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5248 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5249 | return _resultobj; |
5250 | } | |
5251 | ||
fe47ec10 RD |
5252 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) |
5253 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5254 | PyObject * _resultobj; |
fe47ec10 | 5255 | bool _result; |
f6bcfd97 | 5256 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5257 | PyObject * _argo0 = 0; |
fe47ec10 | 5258 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5259 | |
5260 | self = self; | |
fe47ec10 | 5261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) |
f6bcfd97 BP |
5262 | return NULL; |
5263 | if (_argo0) { | |
5264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5267 | return NULL; |
5268 | } | |
5269 | } | |
f6bcfd97 | 5270 | { |
4268f798 | 5271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5272 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
f6bcfd97 | 5273 | |
4268f798 RD |
5274 | wxPyEndAllowThreads(__tstate); |
5275 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5276 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5277 | return _resultobj; |
5278 | } | |
5279 | ||
fe47ec10 RD |
5280 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) |
5281 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5282 | PyObject * _resultobj; |
5283 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5284 | PyObject * _argo0 = 0; |
fe47ec10 | 5285 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5286 | |
5287 | self = self; | |
fe47ec10 | 5288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) |
f6bcfd97 BP |
5289 | return NULL; |
5290 | if (_argo0) { | |
5291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5294 | return NULL; |
5295 | } | |
5296 | } | |
f6bcfd97 | 5297 | { |
4268f798 | 5298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5299 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
f6bcfd97 | 5300 | |
4268f798 RD |
5301 | wxPyEndAllowThreads(__tstate); |
5302 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5303 | } Py_INCREF(Py_None); |
5304 | _resultobj = Py_None; | |
f6bcfd97 BP |
5305 | return _resultobj; |
5306 | } | |
5307 | ||
fe47ec10 RD |
5308 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
5309 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5310 | PyObject * _resultobj; |
5311 | wxStyledTextCtrl * _arg0; | |
5312 | PyObject * _argo0 = 0; | |
5313 | char *_kwnames[] = { "self", NULL }; | |
5314 | ||
5315 | self = self; | |
fe47ec10 | 5316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) |
f6bcfd97 BP |
5317 | return NULL; |
5318 | if (_argo0) { | |
5319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5322 | return NULL; |
5323 | } | |
5324 | } | |
5325 | { | |
4268f798 | 5326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5327 | wxStyledTextCtrl_Undo(_arg0); |
f6bcfd97 | 5328 | |
4268f798 RD |
5329 | wxPyEndAllowThreads(__tstate); |
5330 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5331 | } Py_INCREF(Py_None); |
5332 | _resultobj = Py_None; | |
5333 | return _resultobj; | |
5334 | } | |
5335 | ||
fe47ec10 RD |
5336 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) |
5337 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5338 | PyObject * _resultobj; |
f6bcfd97 BP |
5339 | wxStyledTextCtrl * _arg0; |
5340 | PyObject * _argo0 = 0; | |
5341 | char *_kwnames[] = { "self", NULL }; | |
5342 | ||
5343 | self = self; | |
fe47ec10 | 5344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) |
f6bcfd97 BP |
5345 | return NULL; |
5346 | if (_argo0) { | |
5347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5350 | return NULL; |
5351 | } | |
5352 | } | |
5353 | { | |
4268f798 | 5354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5355 | wxStyledTextCtrl_Cut(_arg0); |
f6bcfd97 | 5356 | |
4268f798 RD |
5357 | wxPyEndAllowThreads(__tstate); |
5358 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5359 | } Py_INCREF(Py_None); |
5360 | _resultobj = Py_None; | |
f6bcfd97 BP |
5361 | return _resultobj; |
5362 | } | |
5363 | ||
fe47ec10 RD |
5364 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) |
5365 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5366 | PyObject * _resultobj; |
f6bcfd97 BP |
5367 | wxStyledTextCtrl * _arg0; |
5368 | PyObject * _argo0 = 0; | |
5369 | char *_kwnames[] = { "self", NULL }; | |
5370 | ||
5371 | self = self; | |
fe47ec10 | 5372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) |
f6bcfd97 BP |
5373 | return NULL; |
5374 | if (_argo0) { | |
5375 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5376 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5378 | return NULL; |
5379 | } | |
5380 | } | |
5381 | { | |
4268f798 | 5382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5383 | wxStyledTextCtrl_Copy(_arg0); |
f6bcfd97 | 5384 | |
4268f798 RD |
5385 | wxPyEndAllowThreads(__tstate); |
5386 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5387 | } Py_INCREF(Py_None); |
5388 | _resultobj = Py_None; | |
f6bcfd97 BP |
5389 | return _resultobj; |
5390 | } | |
5391 | ||
fe47ec10 RD |
5392 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) |
5393 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5394 | PyObject * _resultobj; |
5395 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5396 | PyObject * _argo0 = 0; |
fe47ec10 | 5397 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5398 | |
5399 | self = self; | |
fe47ec10 | 5400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) |
f6bcfd97 BP |
5401 | return NULL; |
5402 | if (_argo0) { | |
5403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5406 | return NULL; |
5407 | } | |
5408 | } | |
5409 | { | |
4268f798 | 5410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5411 | wxStyledTextCtrl_Paste(_arg0); |
f6bcfd97 | 5412 | |
4268f798 RD |
5413 | wxPyEndAllowThreads(__tstate); |
5414 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5415 | } Py_INCREF(Py_None); |
5416 | _resultobj = Py_None; | |
5417 | return _resultobj; | |
5418 | } | |
5419 | ||
fe47ec10 RD |
5420 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) |
5421 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5422 | PyObject * _resultobj; |
5423 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5424 | PyObject * _argo0 = 0; |
fe47ec10 | 5425 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5426 | |
5427 | self = self; | |
fe47ec10 | 5428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) |
f6bcfd97 BP |
5429 | return NULL; |
5430 | if (_argo0) { | |
5431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5434 | return NULL; |
5435 | } | |
5436 | } | |
f6bcfd97 | 5437 | { |
4268f798 | 5438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5439 | wxStyledTextCtrl_Clear(_arg0); |
f6bcfd97 | 5440 | |
4268f798 RD |
5441 | wxPyEndAllowThreads(__tstate); |
5442 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5443 | } Py_INCREF(Py_None); |
5444 | _resultobj = Py_None; | |
5445 | return _resultobj; | |
5446 | } | |
5447 | ||
fe47ec10 RD |
5448 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
5449 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5450 | PyObject * _resultobj; |
5451 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5452 | wxString * _arg1; |
f6bcfd97 | 5453 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5454 | PyObject * _obj1 = 0; |
5455 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5456 | |
5457 | self = self; | |
fe47ec10 | 5458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5459 | return NULL; |
5460 | if (_argo0) { | |
5461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5464 | return NULL; |
5465 | } | |
5466 | } | |
fe47ec10 | 5467 | { |
c8bc7bb8 RD |
5468 | _arg1 = wxString_in_helper(_obj1); |
5469 | if (_arg1 == NULL) | |
185d7c3e | 5470 | return NULL; |
fe47ec10 | 5471 | } |
f6bcfd97 | 5472 | { |
4268f798 | 5473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5474 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
f6bcfd97 | 5475 | |
4268f798 RD |
5476 | wxPyEndAllowThreads(__tstate); |
5477 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5478 | } Py_INCREF(Py_None); |
5479 | _resultobj = Py_None; | |
fe47ec10 RD |
5480 | { |
5481 | if (_obj1) | |
5482 | delete _arg1; | |
5483 | } | |
f6bcfd97 BP |
5484 | return _resultobj; |
5485 | } | |
5486 | ||
fe47ec10 RD |
5487 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) |
5488 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5489 | PyObject * _resultobj; |
fe47ec10 | 5490 | wxString * _result; |
f6bcfd97 | 5491 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5492 | PyObject * _argo0 = 0; |
fe47ec10 | 5493 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5494 | |
5495 | self = self; | |
fe47ec10 | 5496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) |
f6bcfd97 BP |
5497 | return NULL; |
5498 | if (_argo0) { | |
5499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5502 | return NULL; |
5503 | } | |
5504 | } | |
5505 | { | |
4268f798 | 5506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5507 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
f6bcfd97 | 5508 | |
4268f798 RD |
5509 | wxPyEndAllowThreads(__tstate); |
5510 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5511 | }{ |
c8bc7bb8 RD |
5512 | #if wxUSE_UNICODE |
5513 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5514 | #else | |
fe47ec10 | 5515 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5516 | #endif |
fe47ec10 RD |
5517 | } |
5518 | { | |
5519 | delete _result; | |
5520 | } | |
f6bcfd97 BP |
5521 | return _resultobj; |
5522 | } | |
5523 | ||
fe47ec10 RD |
5524 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) |
5525 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5526 | PyObject * _resultobj; |
fe47ec10 | 5527 | int _result; |
f6bcfd97 BP |
5528 | wxStyledTextCtrl * _arg0; |
5529 | PyObject * _argo0 = 0; | |
5530 | char *_kwnames[] = { "self", NULL }; | |
5531 | ||
5532 | self = self; | |
fe47ec10 | 5533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
5534 | return NULL; |
5535 | if (_argo0) { | |
5536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5539 | return NULL; |
5540 | } | |
5541 | } | |
5542 | { | |
4268f798 | 5543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5544 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
f6bcfd97 | 5545 | |
4268f798 RD |
5546 | wxPyEndAllowThreads(__tstate); |
5547 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5548 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5549 | return _resultobj; |
5550 | } | |
5551 | ||
fe47ec10 RD |
5552 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) |
5553 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5554 | PyObject * _resultobj; |
5555 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5556 | bool _arg1; |
f6bcfd97 | 5557 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5558 | int tempbool1; |
5559 | char *_kwnames[] = { "self","overtype", NULL }; | |
f6bcfd97 BP |
5560 | |
5561 | self = self; | |
fe47ec10 | 5562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5563 | return NULL; |
5564 | if (_argo0) { | |
5565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5568 | return NULL; |
5569 | } | |
5570 | } | |
fe47ec10 | 5571 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5572 | { |
4268f798 | 5573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5574 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
f6bcfd97 | 5575 | |
4268f798 RD |
5576 | wxPyEndAllowThreads(__tstate); |
5577 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5578 | } Py_INCREF(Py_None); |
5579 | _resultobj = Py_None; | |
5580 | return _resultobj; | |
5581 | } | |
5582 | ||
fe47ec10 RD |
5583 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) |
5584 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5585 | PyObject * _resultobj; |
fe47ec10 | 5586 | bool _result; |
f6bcfd97 | 5587 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5588 | PyObject * _argo0 = 0; |
fe47ec10 | 5589 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5590 | |
5591 | self = self; | |
fe47ec10 | 5592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) |
f6bcfd97 BP |
5593 | return NULL; |
5594 | if (_argo0) { | |
5595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5598 | return NULL; |
5599 | } | |
5600 | } | |
f6bcfd97 | 5601 | { |
4268f798 | 5602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5603 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
f6bcfd97 | 5604 | |
4268f798 RD |
5605 | wxPyEndAllowThreads(__tstate); |
5606 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5607 | } _resultobj = Py_BuildValue("i",_result); |
5608 | return _resultobj; | |
5609 | } | |
5610 | ||
65ec6247 RD |
5611 | #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0)) |
5612 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5613 | PyObject * _resultobj; |
f6bcfd97 | 5614 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5615 | int _arg1; |
f6bcfd97 | 5616 | PyObject * _argo0 = 0; |
65ec6247 | 5617 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
5618 | |
5619 | self = self; | |
65ec6247 | 5620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5621 | return NULL; |
5622 | if (_argo0) { | |
5623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5626 | return NULL; |
5627 | } | |
5628 | } | |
5629 | { | |
4268f798 | 5630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5631 | wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1); |
f6bcfd97 | 5632 | |
4268f798 RD |
5633 | wxPyEndAllowThreads(__tstate); |
5634 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5635 | } Py_INCREF(Py_None); |
5636 | _resultobj = Py_None; | |
f6bcfd97 BP |
5637 | return _resultobj; |
5638 | } | |
5639 | ||
65ec6247 RD |
5640 | #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth()) |
5641 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5642 | PyObject * _resultobj; |
65ec6247 | 5643 | int _result; |
f6bcfd97 | 5644 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5645 | PyObject * _argo0 = 0; |
fe47ec10 | 5646 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5647 | |
5648 | self = self; | |
65ec6247 | 5649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
5650 | return NULL; |
5651 | if (_argo0) { | |
5652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5655 | return NULL; |
5656 | } | |
5657 | } | |
5658 | { | |
4268f798 | 5659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5660 | _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0); |
f6bcfd97 | 5661 | |
4268f798 RD |
5662 | wxPyEndAllowThreads(__tstate); |
5663 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 5664 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5665 | return _resultobj; |
5666 | } | |
5667 | ||
65ec6247 RD |
5668 | #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0)) |
5669 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5670 | PyObject * _resultobj; |
f6bcfd97 | 5671 | wxStyledTextCtrl * _arg0; |
65ec6247 | 5672 | int _arg1; |
f6bcfd97 | 5673 | PyObject * _argo0 = 0; |
65ec6247 | 5674 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5675 | |
5676 | self = self; | |
65ec6247 | 5677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5678 | return NULL; |
5679 | if (_argo0) { | |
5680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5683 | return NULL; |
5684 | } | |
5685 | } | |
5686 | { | |
4268f798 | 5687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5688 | wxStyledTextCtrl_SetTargetStart(_arg0,_arg1); |
f6bcfd97 | 5689 | |
4268f798 RD |
5690 | wxPyEndAllowThreads(__tstate); |
5691 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5692 | } Py_INCREF(Py_None); |
5693 | _resultobj = Py_None; | |
f6bcfd97 BP |
5694 | return _resultobj; |
5695 | } | |
5696 | ||
65ec6247 RD |
5697 | #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart()) |
5698 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5699 | PyObject * _resultobj; |
5700 | int _result; | |
5701 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5702 | PyObject * _argo0 = 0; |
fe47ec10 | 5703 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5704 | |
5705 | self = self; | |
65ec6247 | 5706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
5707 | return NULL; |
5708 | if (_argo0) { | |
5709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5712 | return NULL; |
5713 | } | |
5714 | } | |
5715 | { | |
4268f798 | 5716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5717 | _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0); |
f6bcfd97 | 5718 | |
4268f798 RD |
5719 | wxPyEndAllowThreads(__tstate); |
5720 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5721 | } _resultobj = Py_BuildValue("i",_result); |
5722 | return _resultobj; | |
5723 | } | |
5724 | ||
65ec6247 RD |
5725 | #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0)) |
5726 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
5727 | PyObject * _resultobj; |
5728 | wxStyledTextCtrl * _arg0; | |
5729 | int _arg1; | |
fe47ec10 | 5730 | PyObject * _argo0 = 0; |
65ec6247 | 5731 | char *_kwnames[] = { "self","pos", NULL }; |
fe47ec10 RD |
5732 | |
5733 | self = self; | |
65ec6247 | 5734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
5735 | return NULL; |
5736 | if (_argo0) { | |
5737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5740 | return NULL; |
5741 | } | |
5742 | } | |
5743 | { | |
4268f798 | 5744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5745 | wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1); |
fe47ec10 | 5746 | |
4268f798 RD |
5747 | wxPyEndAllowThreads(__tstate); |
5748 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5749 | } Py_INCREF(Py_None); |
5750 | _resultobj = Py_None; | |
5751 | return _resultobj; | |
5752 | } | |
5753 | ||
65ec6247 RD |
5754 | #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd()) |
5755 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5756 | PyObject * _resultobj; |
65ec6247 | 5757 | int _result; |
fe47ec10 | 5758 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5759 | PyObject * _argo0 = 0; |
65ec6247 | 5760 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
5761 | |
5762 | self = self; | |
65ec6247 | 5763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0)) |
fe47ec10 RD |
5764 | return NULL; |
5765 | if (_argo0) { | |
5766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5769 | return NULL; |
5770 | } | |
5771 | } | |
fe47ec10 | 5772 | { |
4268f798 | 5773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5774 | _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0); |
fe47ec10 | 5775 | |
4268f798 RD |
5776 | wxPyEndAllowThreads(__tstate); |
5777 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 5778 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
5779 | return _resultobj; |
5780 | } | |
5781 | ||
65ec6247 RD |
5782 | #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0)) |
5783 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
5784 | PyObject * _resultobj; |
5785 | int _result; | |
5786 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 5787 | wxString * _arg1; |
fe47ec10 | 5788 | PyObject * _argo0 = 0; |
65ec6247 RD |
5789 | PyObject * _obj1 = 0; |
5790 | char *_kwnames[] = { "self","text", NULL }; | |
fe47ec10 RD |
5791 | |
5792 | self = self; | |
65ec6247 | 5793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1)) |
fe47ec10 RD |
5794 | return NULL; |
5795 | if (_argo0) { | |
5796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5799 | return NULL; |
5800 | } | |
5801 | } | |
65ec6247 | 5802 | { |
c8bc7bb8 RD |
5803 | _arg1 = wxString_in_helper(_obj1); |
5804 | if (_arg1 == NULL) | |
65ec6247 | 5805 | return NULL; |
65ec6247 | 5806 | } |
fe47ec10 | 5807 | { |
4268f798 | 5808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5809 | _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1); |
fe47ec10 | 5810 | |
4268f798 RD |
5811 | wxPyEndAllowThreads(__tstate); |
5812 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5813 | } _resultobj = Py_BuildValue("i",_result); |
65ec6247 RD |
5814 | { |
5815 | if (_obj1) | |
5816 | delete _arg1; | |
5817 | } | |
fe47ec10 RD |
5818 | return _resultobj; |
5819 | } | |
5820 | ||
65ec6247 RD |
5821 | #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0)) |
5822 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5823 | PyObject * _resultobj; |
f6bcfd97 BP |
5824 | int _result; |
5825 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 5826 | wxString * _arg1; |
fe47ec10 | 5827 | PyObject * _argo0 = 0; |
65ec6247 RD |
5828 | PyObject * _obj1 = 0; |
5829 | char *_kwnames[] = { "self","text", NULL }; | |
fe47ec10 RD |
5830 | |
5831 | self = self; | |
65ec6247 | 5832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1)) |
fe47ec10 RD |
5833 | return NULL; |
5834 | if (_argo0) { | |
5835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5838 | return NULL; |
5839 | } | |
5840 | } | |
65ec6247 | 5841 | { |
c8bc7bb8 RD |
5842 | _arg1 = wxString_in_helper(_obj1); |
5843 | if (_arg1 == NULL) | |
65ec6247 | 5844 | return NULL; |
65ec6247 | 5845 | } |
fe47ec10 | 5846 | { |
4268f798 | 5847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5848 | _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1); |
fe47ec10 | 5849 | |
4268f798 RD |
5850 | wxPyEndAllowThreads(__tstate); |
5851 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5852 | } _resultobj = Py_BuildValue("i",_result); |
65ec6247 RD |
5853 | { |
5854 | if (_obj1) | |
5855 | delete _arg1; | |
5856 | } | |
fe47ec10 RD |
5857 | return _resultobj; |
5858 | } | |
5859 | ||
65ec6247 RD |
5860 | #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0)) |
5861 | static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5862 | PyObject * _resultobj; |
65ec6247 | 5863 | int _result; |
fe47ec10 | 5864 | wxStyledTextCtrl * _arg0; |
65ec6247 | 5865 | wxString * _arg1; |
f6bcfd97 | 5866 | PyObject * _argo0 = 0; |
65ec6247 RD |
5867 | PyObject * _obj1 = 0; |
5868 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5869 | |
5870 | self = self; | |
65ec6247 | 5871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5872 | return NULL; |
5873 | if (_argo0) { | |
5874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5877 | return NULL; |
5878 | } | |
5879 | } | |
65ec6247 | 5880 | { |
c8bc7bb8 RD |
5881 | _arg1 = wxString_in_helper(_obj1); |
5882 | if (_arg1 == NULL) | |
65ec6247 | 5883 | return NULL; |
65ec6247 | 5884 | } |
f6bcfd97 | 5885 | { |
4268f798 | 5886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5887 | _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1); |
f6bcfd97 | 5888 | |
4268f798 RD |
5889 | wxPyEndAllowThreads(__tstate); |
5890 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5891 | } _resultobj = Py_BuildValue("i",_result); |
5892 | { | |
5893 | if (_obj1) | |
5894 | delete _arg1; | |
5895 | } | |
f6bcfd97 BP |
5896 | return _resultobj; |
5897 | } | |
5898 | ||
65ec6247 RD |
5899 | #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0)) |
5900 | static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5901 | PyObject * _resultobj; |
f6bcfd97 BP |
5902 | wxStyledTextCtrl * _arg0; |
5903 | int _arg1; | |
5904 | PyObject * _argo0 = 0; | |
65ec6247 | 5905 | char *_kwnames[] = { "self","flags", NULL }; |
f6bcfd97 BP |
5906 | |
5907 | self = self; | |
65ec6247 | 5908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5909 | return NULL; |
5910 | if (_argo0) { | |
5911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5914 | return NULL; |
5915 | } | |
5916 | } | |
5917 | { | |
4268f798 | 5918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5919 | wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1); |
f6bcfd97 | 5920 | |
4268f798 RD |
5921 | wxPyEndAllowThreads(__tstate); |
5922 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5923 | } Py_INCREF(Py_None); |
5924 | _resultobj = Py_None; | |
f6bcfd97 BP |
5925 | return _resultobj; |
5926 | } | |
5927 | ||
65ec6247 RD |
5928 | #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags()) |
5929 | static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5930 | PyObject * _resultobj; |
5931 | int _result; | |
5932 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5933 | PyObject * _argo0 = 0; |
65ec6247 | 5934 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5935 | |
5936 | self = self; | |
65ec6247 | 5937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0)) |
f6bcfd97 BP |
5938 | return NULL; |
5939 | if (_argo0) { | |
5940 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5941 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5943 | return NULL; |
5944 | } | |
5945 | } | |
5946 | { | |
4268f798 | 5947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5948 | _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0); |
f6bcfd97 | 5949 | |
4268f798 RD |
5950 | wxPyEndAllowThreads(__tstate); |
5951 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5952 | } _resultobj = Py_BuildValue("i",_result); |
5953 | return _resultobj; | |
5954 | } | |
5955 | ||
65ec6247 RD |
5956 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) |
5957 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5958 | PyObject * _resultobj; |
f6bcfd97 BP |
5959 | wxStyledTextCtrl * _arg0; |
5960 | int _arg1; | |
65ec6247 | 5961 | wxString * _arg2; |
f6bcfd97 | 5962 | PyObject * _argo0 = 0; |
65ec6247 RD |
5963 | PyObject * _obj2 = 0; |
5964 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
f6bcfd97 BP |
5965 | |
5966 | self = self; | |
65ec6247 | 5967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
5968 | return NULL; |
5969 | if (_argo0) { | |
5970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5973 | return NULL; |
5974 | } | |
5975 | } | |
65ec6247 | 5976 | { |
c8bc7bb8 RD |
5977 | _arg2 = wxString_in_helper(_obj2); |
5978 | if (_arg2 == NULL) | |
65ec6247 | 5979 | return NULL; |
65ec6247 | 5980 | } |
f6bcfd97 | 5981 | { |
4268f798 | 5982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5983 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5984 | |
4268f798 RD |
5985 | wxPyEndAllowThreads(__tstate); |
5986 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5987 | } Py_INCREF(Py_None); |
5988 | _resultobj = Py_None; | |
5989 | { | |
5990 | if (_obj2) | |
5991 | delete _arg2; | |
5992 | } | |
f6bcfd97 BP |
5993 | return _resultobj; |
5994 | } | |
5995 | ||
65ec6247 RD |
5996 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) |
5997 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5998 | PyObject * _resultobj; |
5999 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 6000 | PyObject * _argo0 = 0; |
65ec6247 | 6001 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6002 | |
6003 | self = self; | |
65ec6247 | 6004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
6005 | return NULL; |
6006 | if (_argo0) { | |
6007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6010 | return NULL; |
6011 | } | |
6012 | } | |
6013 | { | |
4268f798 | 6014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6015 | wxStyledTextCtrl_CallTipCancel(_arg0); |
f6bcfd97 | 6016 | |
4268f798 RD |
6017 | wxPyEndAllowThreads(__tstate); |
6018 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6019 | } Py_INCREF(Py_None); |
6020 | _resultobj = Py_None; | |
6021 | return _resultobj; | |
6022 | } | |
6023 | ||
65ec6247 RD |
6024 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) |
6025 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6026 | PyObject * _resultobj; |
65ec6247 | 6027 | bool _result; |
f6bcfd97 | 6028 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6029 | PyObject * _argo0 = 0; |
65ec6247 | 6030 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6031 | |
6032 | self = self; | |
65ec6247 | 6033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
6034 | return NULL; |
6035 | if (_argo0) { | |
6036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6039 | return NULL; |
6040 | } | |
6041 | } | |
6042 | { | |
4268f798 | 6043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6044 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
f6bcfd97 | 6045 | |
4268f798 RD |
6046 | wxPyEndAllowThreads(__tstate); |
6047 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6048 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6049 | return _resultobj; |
6050 | } | |
6051 | ||
65ec6247 RD |
6052 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) |
6053 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6054 | PyObject * _resultobj; |
65ec6247 | 6055 | int _result; |
f6bcfd97 | 6056 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6057 | PyObject * _argo0 = 0; |
65ec6247 | 6058 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6059 | |
6060 | self = self; | |
65ec6247 | 6061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
6062 | return NULL; |
6063 | if (_argo0) { | |
6064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6067 | return NULL; |
6068 | } | |
6069 | } | |
6070 | { | |
4268f798 | 6071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6072 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
f6bcfd97 | 6073 | |
4268f798 RD |
6074 | wxPyEndAllowThreads(__tstate); |
6075 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6076 | } _resultobj = Py_BuildValue("i",_result); |
6077 | return _resultobj; | |
6078 | } | |
6079 | ||
65ec6247 RD |
6080 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) |
6081 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6082 | PyObject * _resultobj; |
6083 | wxStyledTextCtrl * _arg0; | |
6084 | int _arg1; | |
65ec6247 | 6085 | int _arg2; |
f6bcfd97 | 6086 | PyObject * _argo0 = 0; |
65ec6247 | 6087 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
6088 | |
6089 | self = self; | |
65ec6247 | 6090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6091 | return NULL; |
6092 | if (_argo0) { | |
6093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6096 | return NULL; |
6097 | } | |
6098 | } | |
f6bcfd97 | 6099 | { |
4268f798 | 6100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6101 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); |
f6bcfd97 | 6102 | |
4268f798 RD |
6103 | wxPyEndAllowThreads(__tstate); |
6104 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6105 | } Py_INCREF(Py_None); |
6106 | _resultobj = Py_None; | |
6107 | return _resultobj; | |
6108 | } | |
6109 | ||
65ec6247 RD |
6110 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) |
6111 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6112 | PyObject * _resultobj; |
f6bcfd97 | 6113 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6114 | wxColour * _arg1; |
f6bcfd97 | 6115 | PyObject * _argo0 = 0; |
65ec6247 RD |
6116 | wxColour temp; |
6117 | PyObject * _obj1 = 0; | |
6118 | char *_kwnames[] = { "self","back", NULL }; | |
f6bcfd97 BP |
6119 | |
6120 | self = self; | |
65ec6247 | 6121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
6122 | return NULL; |
6123 | if (_argo0) { | |
6124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6127 | return NULL; |
6128 | } | |
6129 | } | |
65ec6247 RD |
6130 | { |
6131 | _arg1 = &temp; | |
6132 | if (! wxColour_helper(_obj1, &_arg1)) | |
6133 | return NULL; | |
6134 | } | |
f6bcfd97 | 6135 | { |
4268f798 | 6136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6137 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); |
f6bcfd97 | 6138 | |
4268f798 RD |
6139 | wxPyEndAllowThreads(__tstate); |
6140 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6141 | } Py_INCREF(Py_None); |
6142 | _resultobj = Py_None; | |
f6bcfd97 BP |
6143 | return _resultobj; |
6144 | } | |
6145 | ||
65ec6247 RD |
6146 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) |
6147 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6148 | PyObject * _resultobj; |
65ec6247 | 6149 | int _result; |
f6bcfd97 BP |
6150 | wxStyledTextCtrl * _arg0; |
6151 | int _arg1; | |
6152 | PyObject * _argo0 = 0; | |
6153 | char *_kwnames[] = { "self","line", NULL }; | |
6154 | ||
6155 | self = self; | |
65ec6247 | 6156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6157 | return NULL; |
6158 | if (_argo0) { | |
6159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6162 | return NULL; |
6163 | } | |
6164 | } | |
6165 | { | |
4268f798 | 6166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6167 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); |
f6bcfd97 | 6168 | |
4268f798 RD |
6169 | wxPyEndAllowThreads(__tstate); |
6170 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6171 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6172 | return _resultobj; |
6173 | } | |
6174 | ||
65ec6247 RD |
6175 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) |
6176 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6177 | PyObject * _resultobj; |
65ec6247 | 6178 | int _result; |
f6bcfd97 BP |
6179 | wxStyledTextCtrl * _arg0; |
6180 | int _arg1; | |
6181 | PyObject * _argo0 = 0; | |
65ec6247 | 6182 | char *_kwnames[] = { "self","lineDisplay", NULL }; |
f6bcfd97 BP |
6183 | |
6184 | self = self; | |
65ec6247 | 6185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6186 | return NULL; |
6187 | if (_argo0) { | |
6188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6191 | return NULL; |
6192 | } | |
6193 | } | |
6194 | { | |
4268f798 | 6195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6196 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); |
f6bcfd97 | 6197 | |
4268f798 RD |
6198 | wxPyEndAllowThreads(__tstate); |
6199 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6200 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6201 | return _resultobj; |
6202 | } | |
6203 | ||
65ec6247 RD |
6204 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) |
6205 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6206 | PyObject * _resultobj; |
6207 | wxStyledTextCtrl * _arg0; | |
6208 | int _arg1; | |
65ec6247 | 6209 | int _arg2; |
f6bcfd97 | 6210 | PyObject * _argo0 = 0; |
65ec6247 | 6211 | char *_kwnames[] = { "self","line","level", NULL }; |
f6bcfd97 BP |
6212 | |
6213 | self = self; | |
65ec6247 | 6214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6215 | return NULL; |
6216 | if (_argo0) { | |
6217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6220 | return NULL; |
6221 | } | |
6222 | } | |
6223 | { | |
4268f798 | 6224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6225 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
f6bcfd97 | 6226 | |
4268f798 RD |
6227 | wxPyEndAllowThreads(__tstate); |
6228 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6229 | } Py_INCREF(Py_None); |
6230 | _resultobj = Py_None; | |
6231 | return _resultobj; | |
6232 | } | |
6233 | ||
65ec6247 RD |
6234 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) |
6235 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6236 | PyObject * _resultobj; |
fe47ec10 | 6237 | int _result; |
f6bcfd97 | 6238 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6239 | int _arg1; |
f6bcfd97 | 6240 | PyObject * _argo0 = 0; |
fe47ec10 | 6241 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6242 | |
6243 | self = self; | |
65ec6247 | 6244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6245 | return NULL; |
6246 | if (_argo0) { | |
6247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6250 | return NULL; |
6251 | } | |
6252 | } | |
6253 | { | |
4268f798 | 6254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6255 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); |
f6bcfd97 | 6256 | |
4268f798 RD |
6257 | wxPyEndAllowThreads(__tstate); |
6258 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 6259 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6260 | return _resultobj; |
6261 | } | |
6262 | ||
65ec6247 RD |
6263 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) |
6264 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6265 | PyObject * _resultobj; |
65ec6247 | 6266 | int _result; |
f6bcfd97 | 6267 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
6268 | int _arg1; |
6269 | int _arg2; | |
f6bcfd97 | 6270 | PyObject * _argo0 = 0; |
65ec6247 | 6271 | char *_kwnames[] = { "self","line","level", NULL }; |
f6bcfd97 BP |
6272 | |
6273 | self = self; | |
65ec6247 | 6274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6275 | return NULL; |
6276 | if (_argo0) { | |
6277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6280 | return NULL; |
6281 | } | |
6282 | } | |
6283 | { | |
4268f798 | 6284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6285 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); |
f6bcfd97 | 6286 | |
4268f798 RD |
6287 | wxPyEndAllowThreads(__tstate); |
6288 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6289 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6290 | return _resultobj; |
6291 | } | |
6292 | ||
65ec6247 RD |
6293 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) |
6294 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6295 | PyObject * _resultobj; |
65ec6247 | 6296 | int _result; |
f6bcfd97 BP |
6297 | wxStyledTextCtrl * _arg0; |
6298 | int _arg1; | |
6299 | PyObject * _argo0 = 0; | |
65ec6247 | 6300 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6301 | |
6302 | self = self; | |
65ec6247 | 6303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6304 | return NULL; |
6305 | if (_argo0) { | |
6306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6309 | return NULL; |
6310 | } | |
6311 | } | |
6312 | { | |
4268f798 | 6313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6314 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); |
f6bcfd97 | 6315 | |
4268f798 RD |
6316 | wxPyEndAllowThreads(__tstate); |
6317 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6318 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6319 | return _resultobj; |
6320 | } | |
6321 | ||
65ec6247 RD |
6322 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) |
6323 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6324 | PyObject * _resultobj; |
f6bcfd97 | 6325 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6326 | int _arg1; |
65ec6247 | 6327 | int _arg2; |
f6bcfd97 | 6328 | PyObject * _argo0 = 0; |
65ec6247 | 6329 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; |
f6bcfd97 BP |
6330 | |
6331 | self = self; | |
65ec6247 | 6332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6333 | return NULL; |
6334 | if (_argo0) { | |
6335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6338 | return NULL; |
6339 | } | |
6340 | } | |
6341 | { | |
4268f798 | 6342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6343 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); |
f6bcfd97 | 6344 | |
4268f798 RD |
6345 | wxPyEndAllowThreads(__tstate); |
6346 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6347 | } Py_INCREF(Py_None); |
6348 | _resultobj = Py_None; | |
f6bcfd97 BP |
6349 | return _resultobj; |
6350 | } | |
6351 | ||
65ec6247 RD |
6352 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) |
6353 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6354 | PyObject * _resultobj; |
f6bcfd97 | 6355 | wxStyledTextCtrl * _arg0; |
65ec6247 RD |
6356 | int _arg1; |
6357 | int _arg2; | |
f6bcfd97 | 6358 | PyObject * _argo0 = 0; |
65ec6247 | 6359 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; |
f6bcfd97 BP |
6360 | |
6361 | self = self; | |
65ec6247 | 6362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6363 | return NULL; |
6364 | if (_argo0) { | |
6365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6368 | return NULL; |
6369 | } | |
6370 | } | |
6371 | { | |
4268f798 | 6372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6373 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); |
f6bcfd97 | 6374 | |
4268f798 RD |
6375 | wxPyEndAllowThreads(__tstate); |
6376 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6377 | } Py_INCREF(Py_None); |
6378 | _resultobj = Py_None; | |
f6bcfd97 BP |
6379 | return _resultobj; |
6380 | } | |
6381 | ||
65ec6247 RD |
6382 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) |
6383 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6384 | PyObject * _resultobj; |
65ec6247 | 6385 | bool _result; |
f6bcfd97 | 6386 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6387 | int _arg1; |
f6bcfd97 | 6388 | PyObject * _argo0 = 0; |
65ec6247 | 6389 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6390 | |
6391 | self = self; | |
65ec6247 | 6392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6393 | return NULL; |
6394 | if (_argo0) { | |
6395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6398 | return NULL; |
6399 | } | |
6400 | } | |
6401 | { | |
4268f798 | 6402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6403 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); |
f6bcfd97 | 6404 | |
4268f798 RD |
6405 | wxPyEndAllowThreads(__tstate); |
6406 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6407 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6408 | return _resultobj; |
6409 | } | |
6410 | ||
65ec6247 RD |
6411 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) |
6412 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6413 | PyObject * _resultobj; |
f6bcfd97 | 6414 | wxStyledTextCtrl * _arg0; |
65ec6247 RD |
6415 | int _arg1; |
6416 | bool _arg2; | |
f6bcfd97 | 6417 | PyObject * _argo0 = 0; |
65ec6247 RD |
6418 | int tempbool2; |
6419 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
f6bcfd97 BP |
6420 | |
6421 | self = self; | |
65ec6247 | 6422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
6423 | return NULL; |
6424 | if (_argo0) { | |
6425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6428 | return NULL; |
6429 | } | |
6430 | } | |
65ec6247 | 6431 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 6432 | { |
4268f798 | 6433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6434 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); |
f6bcfd97 | 6435 | |
4268f798 RD |
6436 | wxPyEndAllowThreads(__tstate); |
6437 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6438 | } Py_INCREF(Py_None); |
6439 | _resultobj = Py_None; | |
f6bcfd97 BP |
6440 | return _resultobj; |
6441 | } | |
6442 | ||
65ec6247 RD |
6443 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) |
6444 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6445 | PyObject * _resultobj; |
65ec6247 | 6446 | bool _result; |
f6bcfd97 | 6447 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6448 | int _arg1; |
f6bcfd97 | 6449 | PyObject * _argo0 = 0; |
65ec6247 | 6450 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6451 | |
6452 | self = self; | |
65ec6247 | 6453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6454 | return NULL; |
6455 | if (_argo0) { | |
6456 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6457 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6459 | return NULL; |
6460 | } | |
6461 | } | |
6462 | { | |
4268f798 | 6463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6464 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); |
f6bcfd97 | 6465 | |
4268f798 RD |
6466 | wxPyEndAllowThreads(__tstate); |
6467 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6468 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6469 | return _resultobj; |
6470 | } | |
6471 | ||
65ec6247 RD |
6472 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) |
6473 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6474 | PyObject * _resultobj; | |
6475 | wxStyledTextCtrl * _arg0; | |
6476 | int _arg1; | |
6477 | PyObject * _argo0 = 0; | |
6478 | char *_kwnames[] = { "self","line", NULL }; | |
6479 | ||
6480 | self = self; | |
6481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
6482 | return NULL; | |
6483 | if (_argo0) { | |
6484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
6487 | return NULL; | |
6488 | } | |
6489 | } | |
6490 | { | |
4268f798 | 6491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6492 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); |
65ec6247 | 6493 | |
4268f798 RD |
6494 | wxPyEndAllowThreads(__tstate); |
6495 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6496 | } Py_INCREF(Py_None); |
6497 | _resultobj = Py_None; | |
6498 | return _resultobj; | |
6499 | } | |
6500 | ||
6501 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
6502 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6503 | PyObject * _resultobj; | |
6504 | wxStyledTextCtrl * _arg0; | |
6505 | int _arg1; | |
6506 | PyObject * _argo0 = 0; | |
6507 | char *_kwnames[] = { "self","line", NULL }; | |
6508 | ||
6509 | self = self; | |
6510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
6511 | return NULL; | |
6512 | if (_argo0) { | |
6513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
6516 | return NULL; | |
6517 | } | |
6518 | } | |
6519 | { | |
4268f798 | 6520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6521 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); |
65ec6247 | 6522 | |
4268f798 RD |
6523 | wxPyEndAllowThreads(__tstate); |
6524 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6525 | } Py_INCREF(Py_None); |
6526 | _resultobj = Py_None; | |
6527 | return _resultobj; | |
6528 | } | |
6529 | ||
6530 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
6531 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6532 | PyObject * _resultobj; | |
6533 | wxStyledTextCtrl * _arg0; | |
6534 | int _arg1; | |
6535 | PyObject * _argo0 = 0; | |
6536 | char *_kwnames[] = { "self","flags", NULL }; | |
6537 | ||
6538 | self = self; | |
6539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
6540 | return NULL; | |
6541 | if (_argo0) { | |
6542 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6543 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
6545 | return NULL; | |
6546 | } | |
6547 | } | |
6548 | { | |
4268f798 | 6549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6550 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); |
65ec6247 | 6551 | |
4268f798 RD |
6552 | wxPyEndAllowThreads(__tstate); |
6553 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6554 | } Py_INCREF(Py_None); |
6555 | _resultobj = Py_None; | |
6556 | return _resultobj; | |
6557 | } | |
6558 | ||
6559 | #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0)) | |
6560 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6561 | PyObject * _resultobj; | |
6562 | wxStyledTextCtrl * _arg0; | |
6563 | int _arg1; | |
6564 | PyObject * _argo0 = 0; | |
6565 | char *_kwnames[] = { "self","line", NULL }; | |
6566 | ||
6567 | self = self; | |
6568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1)) | |
6569 | return NULL; | |
6570 | if (_argo0) { | |
6571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p."); | |
6574 | return NULL; | |
6575 | } | |
6576 | } | |
6577 | { | |
4268f798 | 6578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6579 | wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1); |
65ec6247 | 6580 | |
4268f798 RD |
6581 | wxPyEndAllowThreads(__tstate); |
6582 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6583 | } Py_INCREF(Py_None); |
6584 | _resultobj = Py_None; | |
6585 | return _resultobj; | |
6586 | } | |
6587 | ||
6588 | #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0)) | |
6589 | static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6590 | PyObject * _resultobj; | |
6591 | wxStyledTextCtrl * _arg0; | |
6592 | bool _arg1; | |
6593 | PyObject * _argo0 = 0; | |
6594 | int tempbool1; | |
6595 | char *_kwnames[] = { "self","tabIndents", NULL }; | |
6596 | ||
6597 | self = self; | |
6598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1)) | |
6599 | return NULL; | |
6600 | if (_argo0) { | |
6601 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6602 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6604 | return NULL; | |
6605 | } | |
6606 | } | |
6607 | _arg1 = (bool ) tempbool1; | |
6608 | { | |
4268f798 | 6609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6610 | wxStyledTextCtrl_SetTabIndents(_arg0,_arg1); |
65ec6247 | 6611 | |
4268f798 RD |
6612 | wxPyEndAllowThreads(__tstate); |
6613 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6614 | } Py_INCREF(Py_None); |
6615 | _resultobj = Py_None; | |
6616 | return _resultobj; | |
6617 | } | |
6618 | ||
6619 | #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents()) | |
6620 | static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6621 | PyObject * _resultobj; | |
6622 | bool _result; | |
6623 | wxStyledTextCtrl * _arg0; | |
6624 | PyObject * _argo0 = 0; | |
6625 | char *_kwnames[] = { "self", NULL }; | |
6626 | ||
6627 | self = self; | |
6628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0)) | |
6629 | return NULL; | |
6630 | if (_argo0) { | |
6631 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6632 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6634 | return NULL; | |
6635 | } | |
6636 | } | |
6637 | { | |
4268f798 | 6638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6639 | _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0); |
65ec6247 | 6640 | |
4268f798 RD |
6641 | wxPyEndAllowThreads(__tstate); |
6642 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6643 | } _resultobj = Py_BuildValue("i",_result); |
6644 | return _resultobj; | |
6645 | } | |
6646 | ||
6647 | #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0)) | |
6648 | static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6649 | PyObject * _resultobj; | |
6650 | wxStyledTextCtrl * _arg0; | |
6651 | bool _arg1; | |
6652 | PyObject * _argo0 = 0; | |
6653 | int tempbool1; | |
6654 | char *_kwnames[] = { "self","bsUnIndents", NULL }; | |
6655 | ||
6656 | self = self; | |
6657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1)) | |
6658 | return NULL; | |
6659 | if (_argo0) { | |
6660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6663 | return NULL; | |
6664 | } | |
6665 | } | |
6666 | _arg1 = (bool ) tempbool1; | |
6667 | { | |
4268f798 | 6668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6669 | wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1); |
65ec6247 | 6670 | |
4268f798 RD |
6671 | wxPyEndAllowThreads(__tstate); |
6672 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6673 | } Py_INCREF(Py_None); |
6674 | _resultobj = Py_None; | |
6675 | return _resultobj; | |
6676 | } | |
6677 | ||
6678 | #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents()) | |
6679 | static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6680 | PyObject * _resultobj; | |
6681 | bool _result; | |
6682 | wxStyledTextCtrl * _arg0; | |
6683 | PyObject * _argo0 = 0; | |
6684 | char *_kwnames[] = { "self", NULL }; | |
6685 | ||
6686 | self = self; | |
6687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0)) | |
6688 | return NULL; | |
6689 | if (_argo0) { | |
6690 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6691 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6693 | return NULL; | |
6694 | } | |
6695 | } | |
6696 | { | |
4268f798 | 6697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6698 | _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0); |
65ec6247 | 6699 | |
4268f798 RD |
6700 | wxPyEndAllowThreads(__tstate); |
6701 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6702 | } _resultobj = Py_BuildValue("i",_result); |
6703 | return _resultobj; | |
6704 | } | |
6705 | ||
6706 | #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0)) | |
6707 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6708 | PyObject * _resultobj; | |
6709 | wxStyledTextCtrl * _arg0; | |
6710 | int _arg1; | |
6711 | PyObject * _argo0 = 0; | |
6712 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
6713 | ||
6714 | self = self; | |
6715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1)) | |
6716 | return NULL; | |
6717 | if (_argo0) { | |
6718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6721 | return NULL; | |
6722 | } | |
6723 | } | |
6724 | { | |
4268f798 | 6725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6726 | wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1); |
65ec6247 | 6727 | |
4268f798 RD |
6728 | wxPyEndAllowThreads(__tstate); |
6729 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6730 | } Py_INCREF(Py_None); |
6731 | _resultobj = Py_None; | |
6732 | return _resultobj; | |
6733 | } | |
6734 | ||
6735 | #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime()) | |
6736 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6737 | PyObject * _resultobj; | |
6738 | int _result; | |
6739 | wxStyledTextCtrl * _arg0; | |
6740 | PyObject * _argo0 = 0; | |
6741 | char *_kwnames[] = { "self", NULL }; | |
6742 | ||
6743 | self = self; | |
6744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0)) | |
6745 | return NULL; | |
6746 | if (_argo0) { | |
6747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6750 | return NULL; | |
6751 | } | |
6752 | } | |
6753 | { | |
4268f798 | 6754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6755 | _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0); |
65ec6247 | 6756 | |
4268f798 RD |
6757 | wxPyEndAllowThreads(__tstate); |
6758 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6759 | } _resultobj = Py_BuildValue("i",_result); |
6760 | return _resultobj; | |
6761 | } | |
6762 | ||
1a2fb4cd RD |
6763 | #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1)) |
6764 | static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6765 | PyObject * _resultobj; | |
6766 | int _result; | |
6767 | wxStyledTextCtrl * _arg0; | |
6768 | int _arg1; | |
6769 | bool _arg2; | |
6770 | PyObject * _argo0 = 0; | |
6771 | int tempbool2; | |
6772 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6773 | ||
6774 | self = self; | |
6775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6776 | return NULL; | |
6777 | if (_argo0) { | |
6778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p."); | |
6781 | return NULL; | |
6782 | } | |
6783 | } | |
6784 | _arg2 = (bool ) tempbool2; | |
6785 | { | |
6786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6787 | _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2); | |
6788 | ||
6789 | wxPyEndAllowThreads(__tstate); | |
6790 | if (PyErr_Occurred()) return NULL; | |
6791 | } _resultobj = Py_BuildValue("i",_result); | |
6792 | return _resultobj; | |
6793 | } | |
6794 | ||
6795 | #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1)) | |
6796 | static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6797 | PyObject * _resultobj; | |
6798 | int _result; | |
6799 | wxStyledTextCtrl * _arg0; | |
6800 | int _arg1; | |
6801 | bool _arg2; | |
6802 | PyObject * _argo0 = 0; | |
6803 | int tempbool2; | |
6804 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6805 | ||
6806 | self = self; | |
6807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6808 | return NULL; | |
6809 | if (_argo0) { | |
6810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p."); | |
6813 | return NULL; | |
6814 | } | |
6815 | } | |
6816 | _arg2 = (bool ) tempbool2; | |
6817 | { | |
6818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6819 | _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2); | |
6820 | ||
6821 | wxPyEndAllowThreads(__tstate); | |
6822 | if (PyErr_Occurred()) return NULL; | |
6823 | } _resultobj = Py_BuildValue("i",_result); | |
6824 | return _resultobj; | |
6825 | } | |
6826 | ||
6827 | #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0)) | |
6828 | static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6829 | PyObject * _resultobj; | |
6830 | wxStyledTextCtrl * _arg0; | |
6831 | int _arg1; | |
6832 | PyObject * _argo0 = 0; | |
6833 | char *_kwnames[] = { "self","mode", NULL }; | |
6834 | ||
6835 | self = self; | |
6836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1)) | |
6837 | return NULL; | |
6838 | if (_argo0) { | |
6839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6842 | return NULL; | |
6843 | } | |
6844 | } | |
6845 | { | |
6846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6847 | wxStyledTextCtrl_SetWrapMode(_arg0,_arg1); | |
6848 | ||
6849 | wxPyEndAllowThreads(__tstate); | |
6850 | if (PyErr_Occurred()) return NULL; | |
6851 | } Py_INCREF(Py_None); | |
6852 | _resultobj = Py_None; | |
6853 | return _resultobj; | |
6854 | } | |
6855 | ||
6856 | #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode()) | |
6857 | static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6858 | PyObject * _resultobj; | |
6859 | int _result; | |
6860 | wxStyledTextCtrl * _arg0; | |
6861 | PyObject * _argo0 = 0; | |
6862 | char *_kwnames[] = { "self", NULL }; | |
6863 | ||
6864 | self = self; | |
6865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0)) | |
6866 | return NULL; | |
6867 | if (_argo0) { | |
6868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6871 | return NULL; | |
6872 | } | |
6873 | } | |
6874 | { | |
6875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6876 | _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0); | |
6877 | ||
6878 | wxPyEndAllowThreads(__tstate); | |
6879 | if (PyErr_Occurred()) return NULL; | |
6880 | } _resultobj = Py_BuildValue("i",_result); | |
6881 | return _resultobj; | |
6882 | } | |
6883 | ||
6884 | #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0)) | |
6885 | static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6886 | PyObject * _resultobj; | |
6887 | wxStyledTextCtrl * _arg0; | |
6888 | int _arg1; | |
6889 | PyObject * _argo0 = 0; | |
6890 | char *_kwnames[] = { "self","mode", NULL }; | |
6891 | ||
6892 | self = self; | |
6893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1)) | |
6894 | return NULL; | |
6895 | if (_argo0) { | |
6896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6899 | return NULL; | |
6900 | } | |
6901 | } | |
6902 | { | |
6903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6904 | wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1); | |
6905 | ||
6906 | wxPyEndAllowThreads(__tstate); | |
6907 | if (PyErr_Occurred()) return NULL; | |
6908 | } Py_INCREF(Py_None); | |
6909 | _resultobj = Py_None; | |
6910 | return _resultobj; | |
6911 | } | |
6912 | ||
6913 | #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache()) | |
6914 | static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6915 | PyObject * _resultobj; | |
6916 | int _result; | |
6917 | wxStyledTextCtrl * _arg0; | |
6918 | PyObject * _argo0 = 0; | |
6919 | char *_kwnames[] = { "self", NULL }; | |
6920 | ||
6921 | self = self; | |
6922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0)) | |
6923 | return NULL; | |
6924 | if (_argo0) { | |
6925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6928 | return NULL; | |
6929 | } | |
6930 | } | |
6931 | { | |
6932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6933 | _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0); | |
6934 | ||
6935 | wxPyEndAllowThreads(__tstate); | |
6936 | if (PyErr_Occurred()) return NULL; | |
6937 | } _resultobj = Py_BuildValue("i",_result); | |
6938 | return _resultobj; | |
6939 | } | |
6940 | ||
65ec6247 RD |
6941 | #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView()) |
6942 | static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6943 | PyObject * _resultobj; | |
6944 | wxStyledTextCtrl * _arg0; | |
6945 | PyObject * _argo0 = 0; | |
6946 | char *_kwnames[] = { "self", NULL }; | |
6947 | ||
6948 | self = self; | |
6949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0)) | |
6950 | return NULL; | |
6951 | if (_argo0) { | |
6952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p."); | |
6955 | return NULL; | |
6956 | } | |
6957 | } | |
6958 | { | |
4268f798 | 6959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6960 | wxStyledTextCtrl_MoveCaretInsideView(_arg0); |
65ec6247 | 6961 | |
4268f798 RD |
6962 | wxPyEndAllowThreads(__tstate); |
6963 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6964 | } Py_INCREF(Py_None); |
6965 | _resultobj = Py_None; | |
6966 | return _resultobj; | |
6967 | } | |
6968 | ||
6969 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) | |
6970 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6971 | PyObject * _resultobj; | |
6972 | int _result; | |
6973 | wxStyledTextCtrl * _arg0; | |
6974 | int _arg1; | |
6975 | PyObject * _argo0 = 0; | |
6976 | char *_kwnames[] = { "self","line", NULL }; | |
6977 | ||
6978 | self = self; | |
6979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) | |
6980 | return NULL; | |
6981 | if (_argo0) { | |
6982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); | |
6985 | return NULL; | |
6986 | } | |
6987 | } | |
6988 | { | |
4268f798 | 6989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6990 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
65ec6247 | 6991 | |
4268f798 RD |
6992 | wxPyEndAllowThreads(__tstate); |
6993 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6994 | } _resultobj = Py_BuildValue("i",_result); |
6995 | return _resultobj; | |
6996 | } | |
6997 | ||
6998 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) | |
6999 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7000 | PyObject * _resultobj; | |
7001 | wxStyledTextCtrl * _arg0; | |
7002 | int _arg1; | |
7003 | int _arg2; | |
7004 | PyObject * _argo0 = 0; | |
7005 | char *_kwnames[] = { "self","pos1","pos2", NULL }; | |
7006 | ||
7007 | self = self; | |
7008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7009 | return NULL; | |
7010 | if (_argo0) { | |
7011 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7012 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); | |
7014 | return NULL; | |
7015 | } | |
7016 | } | |
7017 | { | |
4268f798 | 7018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7019 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
65ec6247 | 7020 | |
4268f798 RD |
7021 | wxPyEndAllowThreads(__tstate); |
7022 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7023 | } Py_INCREF(Py_None); |
7024 | _resultobj = Py_None; | |
7025 | return _resultobj; | |
7026 | } | |
7027 | ||
7028 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) | |
7029 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7030 | PyObject * _resultobj; | |
7031 | wxStyledTextCtrl * _arg0; | |
7032 | int _arg1; | |
7033 | PyObject * _argo0 = 0; | |
7034 | char *_kwnames[] = { "self","pos", NULL }; | |
7035 | ||
7036 | self = self; | |
7037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) | |
7038 | return NULL; | |
7039 | if (_argo0) { | |
7040 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7041 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); | |
7043 | return NULL; | |
7044 | } | |
7045 | } | |
7046 | { | |
4268f798 | 7047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7048 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
65ec6247 | 7049 | |
4268f798 RD |
7050 | wxPyEndAllowThreads(__tstate); |
7051 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7052 | } Py_INCREF(Py_None); |
7053 | _resultobj = Py_None; | |
7054 | return _resultobj; | |
7055 | } | |
7056 | ||
7057 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) | |
7058 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7059 | PyObject * _resultobj; | |
7060 | int _result; | |
7061 | wxStyledTextCtrl * _arg0; | |
7062 | int _arg1; | |
7063 | PyObject * _argo0 = 0; | |
7064 | char *_kwnames[] = { "self","pos", NULL }; | |
7065 | ||
7066 | self = self; | |
7067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) | |
7068 | return NULL; | |
7069 | if (_argo0) { | |
7070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); | |
7073 | return NULL; | |
7074 | } | |
7075 | } | |
7076 | { | |
4268f798 | 7077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7078 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
65ec6247 | 7079 | |
4268f798 RD |
7080 | wxPyEndAllowThreads(__tstate); |
7081 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7082 | } _resultobj = Py_BuildValue("i",_result); |
7083 | return _resultobj; | |
7084 | } | |
7085 | ||
7086 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) | |
7087 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7088 | PyObject * _resultobj; | |
7089 | bool _result; | |
7090 | wxStyledTextCtrl * _arg0; | |
7091 | PyObject * _argo0 = 0; | |
7092 | char *_kwnames[] = { "self", NULL }; | |
7093 | ||
7094 | self = self; | |
7095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) | |
7096 | return NULL; | |
7097 | if (_argo0) { | |
7098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7101 | return NULL; | |
7102 | } | |
7103 | } | |
7104 | { | |
4268f798 | 7105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7106 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
65ec6247 | 7107 | |
4268f798 RD |
7108 | wxPyEndAllowThreads(__tstate); |
7109 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7110 | } _resultobj = Py_BuildValue("i",_result); |
7111 | return _resultobj; | |
7112 | } | |
7113 | ||
7114 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) | |
7115 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7116 | PyObject * _resultobj; | |
7117 | wxStyledTextCtrl * _arg0; | |
7118 | bool _arg1; | |
7119 | PyObject * _argo0 = 0; | |
7120 | int tempbool1; | |
7121 | char *_kwnames[] = { "self","visible", NULL }; | |
7122 | ||
7123 | self = self; | |
7124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) | |
7125 | return NULL; | |
7126 | if (_argo0) { | |
7127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7130 | return NULL; | |
7131 | } | |
7132 | } | |
7133 | _arg1 = (bool ) tempbool1; | |
7134 | { | |
4268f798 | 7135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7136 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
65ec6247 | 7137 | |
4268f798 RD |
7138 | wxPyEndAllowThreads(__tstate); |
7139 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7140 | } Py_INCREF(Py_None); |
7141 | _resultobj = Py_None; | |
7142 | return _resultobj; | |
7143 | } | |
7144 | ||
7145 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) | |
7146 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7147 | PyObject * _resultobj; | |
7148 | void * _result; | |
7149 | wxStyledTextCtrl * _arg0; | |
7150 | PyObject * _argo0 = 0; | |
7151 | char *_kwnames[] = { "self", NULL }; | |
7152 | char _ptemp[128]; | |
7153 | ||
7154 | self = self; | |
7155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) | |
7156 | return NULL; | |
7157 | if (_argo0) { | |
7158 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7159 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7160 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7161 | return NULL; | |
7162 | } | |
7163 | } | |
7164 | { | |
4268f798 | 7165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7166 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
65ec6247 | 7167 | |
4268f798 RD |
7168 | wxPyEndAllowThreads(__tstate); |
7169 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7170 | } if (_result) { |
7171 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7172 | _resultobj = Py_BuildValue("s",_ptemp); | |
7173 | } else { | |
7174 | Py_INCREF(Py_None); | |
7175 | _resultobj = Py_None; | |
7176 | } | |
7177 | return _resultobj; | |
7178 | } | |
7179 | ||
7180 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) | |
7181 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7182 | PyObject * _resultobj; | |
7183 | wxStyledTextCtrl * _arg0; | |
7184 | void * _arg1; | |
7185 | PyObject * _argo0 = 0; | |
7186 | PyObject * _argo1 = 0; | |
7187 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7188 | ||
7189 | self = self; | |
7190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) | |
7191 | return NULL; | |
7192 | if (_argo0) { | |
7193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7196 | return NULL; | |
7197 | } | |
7198 | } | |
7199 | if (_argo1) { | |
7200 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7201 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
7203 | return NULL; | |
7204 | } | |
7205 | } | |
7206 | { | |
4268f798 | 7207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7208 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
65ec6247 | 7209 | |
4268f798 RD |
7210 | wxPyEndAllowThreads(__tstate); |
7211 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7212 | } Py_INCREF(Py_None); |
7213 | _resultobj = Py_None; | |
7214 | return _resultobj; | |
7215 | } | |
7216 | ||
7217 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) | |
fe47ec10 | 7218 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
f6bcfd97 | 7219 | PyObject * _resultobj; |
f6bcfd97 | 7220 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 7221 | int _arg1; |
f6bcfd97 | 7222 | PyObject * _argo0 = 0; |
65ec6247 RD |
7223 | char *_kwnames[] = { "self","mask", NULL }; |
7224 | ||
7225 | self = self; | |
7226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) | |
7227 | return NULL; | |
7228 | if (_argo0) { | |
7229 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7230 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7232 | return NULL; | |
7233 | } | |
7234 | } | |
7235 | { | |
4268f798 | 7236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7237 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
65ec6247 | 7238 | |
4268f798 RD |
7239 | wxPyEndAllowThreads(__tstate); |
7240 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7241 | } Py_INCREF(Py_None); |
7242 | _resultobj = Py_None; | |
7243 | return _resultobj; | |
7244 | } | |
7245 | ||
7246 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) | |
7247 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7248 | PyObject * _resultobj; | |
7249 | int _result; | |
7250 | wxStyledTextCtrl * _arg0; | |
7251 | PyObject * _argo0 = 0; | |
7252 | char *_kwnames[] = { "self", NULL }; | |
7253 | ||
7254 | self = self; | |
7255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) | |
7256 | return NULL; | |
7257 | if (_argo0) { | |
7258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7261 | return NULL; | |
7262 | } | |
7263 | } | |
7264 | { | |
4268f798 | 7265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7266 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
65ec6247 | 7267 | |
4268f798 RD |
7268 | wxPyEndAllowThreads(__tstate); |
7269 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7270 | } _resultobj = Py_BuildValue("i",_result); |
7271 | return _resultobj; | |
7272 | } | |
7273 | ||
7274 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) | |
7275 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7276 | PyObject * _resultobj; | |
7277 | wxStyledTextCtrl * _arg0; | |
7278 | int _arg1; | |
7279 | PyObject * _argo0 = 0; | |
7280 | char *_kwnames[] = { "self","column", NULL }; | |
7281 | ||
7282 | self = self; | |
7283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
7284 | return NULL; | |
7285 | if (_argo0) { | |
7286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7289 | return NULL; | |
7290 | } | |
7291 | } | |
7292 | { | |
4268f798 | 7293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7294 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); |
65ec6247 | 7295 | |
4268f798 RD |
7296 | wxPyEndAllowThreads(__tstate); |
7297 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7298 | } Py_INCREF(Py_None); |
7299 | _resultobj = Py_None; | |
7300 | return _resultobj; | |
7301 | } | |
7302 | ||
7303 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
7304 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7305 | PyObject * _resultobj; | |
7306 | int _result; | |
7307 | wxStyledTextCtrl * _arg0; | |
7308 | PyObject * _argo0 = 0; | |
7309 | char *_kwnames[] = { "self", NULL }; | |
7310 | ||
7311 | self = self; | |
7312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
7313 | return NULL; | |
7314 | if (_argo0) { | |
7315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7318 | return NULL; | |
7319 | } | |
7320 | } | |
7321 | { | |
4268f798 | 7322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7323 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); |
65ec6247 | 7324 | |
4268f798 RD |
7325 | wxPyEndAllowThreads(__tstate); |
7326 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7327 | } _resultobj = Py_BuildValue("i",_result); |
7328 | return _resultobj; | |
7329 | } | |
7330 | ||
7331 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
7332 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7333 | PyObject * _resultobj; | |
7334 | wxStyledTextCtrl * _arg0; | |
7335 | int _arg1; | |
7336 | PyObject * _argo0 = 0; | |
7337 | char *_kwnames[] = { "self","mode", NULL }; | |
7338 | ||
7339 | self = self; | |
7340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
7341 | return NULL; | |
7342 | if (_argo0) { | |
7343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7346 | return NULL; | |
7347 | } | |
7348 | } | |
7349 | { | |
4268f798 | 7350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7351 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); |
65ec6247 | 7352 | |
4268f798 RD |
7353 | wxPyEndAllowThreads(__tstate); |
7354 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7355 | } Py_INCREF(Py_None); |
7356 | _resultobj = Py_None; | |
7357 | return _resultobj; | |
7358 | } | |
7359 | ||
7360 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
7361 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7362 | PyObject * _resultobj; | |
7363 | wxColour * _result; | |
7364 | wxStyledTextCtrl * _arg0; | |
7365 | PyObject * _argo0 = 0; | |
7366 | char *_kwnames[] = { "self", NULL }; | |
7367 | char _ptemp[128]; | |
7368 | ||
7369 | self = self; | |
7370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
7371 | return NULL; | |
7372 | if (_argo0) { | |
7373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7376 | return NULL; | |
7377 | } | |
7378 | } | |
7379 | { | |
4268f798 | 7380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7381 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); |
65ec6247 | 7382 | |
4268f798 RD |
7383 | wxPyEndAllowThreads(__tstate); |
7384 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7385 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
7386 | _resultobj = Py_BuildValue("s",_ptemp); | |
7387 | return _resultobj; | |
7388 | } | |
7389 | ||
7390 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
7391 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7392 | PyObject * _resultobj; | |
7393 | wxStyledTextCtrl * _arg0; | |
7394 | wxColour * _arg1; | |
7395 | PyObject * _argo0 = 0; | |
7396 | wxColour temp; | |
7397 | PyObject * _obj1 = 0; | |
7398 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
7399 | ||
7400 | self = self; | |
7401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
7402 | return NULL; | |
7403 | if (_argo0) { | |
7404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7407 | return NULL; | |
7408 | } | |
7409 | } | |
7410 | { | |
7411 | _arg1 = &temp; | |
7412 | if (! wxColour_helper(_obj1, &_arg1)) | |
7413 | return NULL; | |
7414 | } | |
7415 | { | |
4268f798 | 7416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7417 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); |
65ec6247 | 7418 | |
4268f798 RD |
7419 | wxPyEndAllowThreads(__tstate); |
7420 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7421 | } Py_INCREF(Py_None); |
7422 | _resultobj = Py_None; | |
7423 | return _resultobj; | |
7424 | } | |
7425 | ||
7426 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
7427 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7428 | PyObject * _resultobj; | |
7429 | wxStyledTextCtrl * _arg0; | |
7430 | PyObject * _argo0 = 0; | |
7431 | char *_kwnames[] = { "self", NULL }; | |
7432 | ||
7433 | self = self; | |
7434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
7435 | return NULL; | |
7436 | if (_argo0) { | |
7437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
7440 | return NULL; | |
7441 | } | |
7442 | } | |
7443 | { | |
4268f798 | 7444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7445 | wxStyledTextCtrl_SearchAnchor(_arg0); |
65ec6247 | 7446 | |
4268f798 RD |
7447 | wxPyEndAllowThreads(__tstate); |
7448 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7449 | } Py_INCREF(Py_None); |
7450 | _resultobj = Py_None; | |
7451 | return _resultobj; | |
7452 | } | |
7453 | ||
7454 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
7455 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7456 | PyObject * _resultobj; | |
7457 | int _result; | |
7458 | wxStyledTextCtrl * _arg0; | |
7459 | int _arg1; | |
7460 | wxString * _arg2; | |
7461 | PyObject * _argo0 = 0; | |
7462 | PyObject * _obj2 = 0; | |
7463 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7464 | ||
7465 | self = self; | |
7466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7467 | return NULL; | |
7468 | if (_argo0) { | |
7469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
7472 | return NULL; | |
7473 | } | |
7474 | } | |
7475 | { | |
c8bc7bb8 RD |
7476 | _arg2 = wxString_in_helper(_obj2); |
7477 | if (_arg2 == NULL) | |
65ec6247 | 7478 | return NULL; |
65ec6247 RD |
7479 | } |
7480 | { | |
4268f798 | 7481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7482 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); |
65ec6247 | 7483 | |
4268f798 RD |
7484 | wxPyEndAllowThreads(__tstate); |
7485 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7486 | } _resultobj = Py_BuildValue("i",_result); |
7487 | { | |
7488 | if (_obj2) | |
7489 | delete _arg2; | |
7490 | } | |
7491 | return _resultobj; | |
7492 | } | |
7493 | ||
7494 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
7495 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7496 | PyObject * _resultobj; | |
7497 | int _result; | |
7498 | wxStyledTextCtrl * _arg0; | |
7499 | int _arg1; | |
7500 | wxString * _arg2; | |
7501 | PyObject * _argo0 = 0; | |
7502 | PyObject * _obj2 = 0; | |
7503 | char *_kwnames[] = { "self","flags","text", NULL }; | |
f6bcfd97 BP |
7504 | |
7505 | self = self; | |
65ec6247 | 7506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
7507 | return NULL; |
7508 | if (_argo0) { | |
7509 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7510 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); |
7512 | return NULL; | |
7513 | } | |
7514 | } | |
7515 | { | |
c8bc7bb8 RD |
7516 | _arg2 = wxString_in_helper(_obj2); |
7517 | if (_arg2 == NULL) | |
65ec6247 | 7518 | return NULL; |
65ec6247 RD |
7519 | } |
7520 | { | |
4268f798 | 7521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7522 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); |
65ec6247 | 7523 | |
4268f798 RD |
7524 | wxPyEndAllowThreads(__tstate); |
7525 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7526 | } _resultobj = Py_BuildValue("i",_result); |
7527 | { | |
7528 | if (_obj2) | |
7529 | delete _arg2; | |
7530 | } | |
7531 | return _resultobj; | |
7532 | } | |
7533 | ||
7534 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
7535 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7536 | PyObject * _resultobj; | |
7537 | wxStyledTextCtrl * _arg0; | |
7538 | int _arg1; | |
7539 | int _arg2; | |
7540 | PyObject * _argo0 = 0; | |
7541 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
7542 | ||
7543 | self = self; | |
7544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7545 | return NULL; | |
7546 | if (_argo0) { | |
7547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
7550 | return NULL; | |
7551 | } | |
7552 | } | |
7553 | { | |
4268f798 | 7554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7555 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); |
65ec6247 | 7556 | |
4268f798 RD |
7557 | wxPyEndAllowThreads(__tstate); |
7558 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7559 | } Py_INCREF(Py_None); |
7560 | _resultobj = Py_None; | |
7561 | return _resultobj; | |
7562 | } | |
7563 | ||
7564 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
7565 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7566 | PyObject * _resultobj; | |
7567 | int _result; | |
7568 | wxStyledTextCtrl * _arg0; | |
7569 | PyObject * _argo0 = 0; | |
7570 | char *_kwnames[] = { "self", NULL }; | |
7571 | ||
7572 | self = self; | |
7573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
7574 | return NULL; | |
7575 | if (_argo0) { | |
7576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
7579 | return NULL; | |
7580 | } | |
7581 | } | |
7582 | { | |
4268f798 | 7583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7584 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); |
65ec6247 | 7585 | |
4268f798 RD |
7586 | wxPyEndAllowThreads(__tstate); |
7587 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7588 | } _resultobj = Py_BuildValue("i",_result); |
7589 | return _resultobj; | |
7590 | } | |
7591 | ||
7592 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
7593 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7594 | PyObject * _resultobj; | |
7595 | wxStyledTextCtrl * _arg0; | |
7596 | bool _arg1; | |
7597 | PyObject * _argo0 = 0; | |
7598 | int tempbool1; | |
7599 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
7600 | ||
7601 | self = self; | |
7602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
7603 | return NULL; | |
7604 | if (_argo0) { | |
7605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
7608 | return NULL; | |
7609 | } | |
7610 | } | |
7611 | _arg1 = (bool ) tempbool1; | |
7612 | { | |
4268f798 | 7613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7614 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); |
65ec6247 | 7615 | |
4268f798 RD |
7616 | wxPyEndAllowThreads(__tstate); |
7617 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7618 | } Py_INCREF(Py_None); |
7619 | _resultobj = Py_None; | |
7620 | return _resultobj; | |
7621 | } | |
7622 | ||
7623 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
7624 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7625 | PyObject * _resultobj; | |
7626 | bool _result; | |
7627 | wxStyledTextCtrl * _arg0; | |
7628 | PyObject * _argo0 = 0; | |
7629 | char *_kwnames[] = { "self", NULL }; | |
7630 | ||
7631 | self = self; | |
7632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
7633 | return NULL; | |
7634 | if (_argo0) { | |
7635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
7638 | return NULL; | |
7639 | } | |
7640 | } | |
7641 | { | |
4268f798 | 7642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7643 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); |
65ec6247 | 7644 | |
4268f798 RD |
7645 | wxPyEndAllowThreads(__tstate); |
7646 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7647 | } _resultobj = Py_BuildValue("i",_result); |
7648 | return _resultobj; | |
7649 | } | |
7650 | ||
7651 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
7652 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7653 | PyObject * _resultobj; | |
7654 | wxStyledTextCtrl * _arg0; | |
7655 | int _arg1; | |
7656 | PyObject * _argo0 = 0; | |
7657 | char *_kwnames[] = { "self","zoom", NULL }; | |
7658 | ||
7659 | self = self; | |
7660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
7661 | return NULL; | |
7662 | if (_argo0) { | |
7663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
7666 | return NULL; | |
7667 | } | |
7668 | } | |
7669 | { | |
4268f798 | 7670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7671 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); |
65ec6247 | 7672 | |
4268f798 RD |
7673 | wxPyEndAllowThreads(__tstate); |
7674 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7675 | } Py_INCREF(Py_None); |
7676 | _resultobj = Py_None; | |
7677 | return _resultobj; | |
7678 | } | |
7679 | ||
7680 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
7681 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7682 | PyObject * _resultobj; | |
7683 | int _result; | |
7684 | wxStyledTextCtrl * _arg0; | |
7685 | PyObject * _argo0 = 0; | |
7686 | char *_kwnames[] = { "self", NULL }; | |
7687 | ||
7688 | self = self; | |
7689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
7690 | return NULL; | |
7691 | if (_argo0) { | |
7692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
7695 | return NULL; | |
7696 | } | |
7697 | } | |
7698 | { | |
4268f798 | 7699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7700 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); |
65ec6247 | 7701 | |
4268f798 RD |
7702 | wxPyEndAllowThreads(__tstate); |
7703 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7704 | } _resultobj = Py_BuildValue("i",_result); |
7705 | return _resultobj; | |
7706 | } | |
7707 | ||
7708 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
7709 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7710 | PyObject * _resultobj; | |
7711 | void * _result; | |
7712 | wxStyledTextCtrl * _arg0; | |
7713 | PyObject * _argo0 = 0; | |
7714 | char *_kwnames[] = { "self", NULL }; | |
7715 | char _ptemp[128]; | |
7716 | ||
7717 | self = self; | |
7718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
7719 | return NULL; | |
7720 | if (_argo0) { | |
7721 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7722 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
f6bcfd97 BP |
7724 | return NULL; |
7725 | } | |
7726 | } | |
7727 | { | |
4268f798 | 7728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7729 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); |
f6bcfd97 | 7730 | |
4268f798 RD |
7731 | wxPyEndAllowThreads(__tstate); |
7732 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7733 | } if (_result) { |
7734 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7735 | _resultobj = Py_BuildValue("s",_ptemp); | |
7736 | } else { | |
7737 | Py_INCREF(Py_None); | |
7738 | _resultobj = Py_None; | |
7739 | } | |
f6bcfd97 BP |
7740 | return _resultobj; |
7741 | } | |
7742 | ||
65ec6247 RD |
7743 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) |
7744 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
7745 | PyObject * _resultobj; |
7746 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7747 | void * _arg1; |
f6bcfd97 | 7748 | PyObject * _argo0 = 0; |
65ec6247 RD |
7749 | PyObject * _argo1 = 0; |
7750 | char *_kwnames[] = { "self","docPointer", NULL }; | |
f6bcfd97 BP |
7751 | |
7752 | self = self; | |
65ec6247 | 7753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) |
f6bcfd97 BP |
7754 | return NULL; |
7755 | if (_argo0) { | |
7756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); |
7759 | return NULL; | |
7760 | } | |
7761 | } | |
7762 | if (_argo1) { | |
7763 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7764 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
f6bcfd97 BP |
7766 | return NULL; |
7767 | } | |
7768 | } | |
f6bcfd97 | 7769 | { |
4268f798 | 7770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7771 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); |
f6bcfd97 | 7772 | |
4268f798 RD |
7773 | wxPyEndAllowThreads(__tstate); |
7774 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7775 | } Py_INCREF(Py_None); |
7776 | _resultobj = Py_None; | |
f6bcfd97 BP |
7777 | return _resultobj; |
7778 | } | |
7779 | ||
65ec6247 RD |
7780 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) |
7781 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7782 | PyObject * _resultobj; |
7783 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7784 | void * _arg1; |
fe47ec10 | 7785 | PyObject * _argo0 = 0; |
65ec6247 RD |
7786 | PyObject * _argo1 = 0; |
7787 | char *_kwnames[] = { "self","docPointer", NULL }; | |
fe47ec10 RD |
7788 | |
7789 | self = self; | |
65ec6247 | 7790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) |
fe47ec10 RD |
7791 | return NULL; |
7792 | if (_argo0) { | |
7793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); |
7796 | return NULL; | |
7797 | } | |
7798 | } | |
7799 | if (_argo1) { | |
7800 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7801 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
fe47ec10 RD |
7803 | return NULL; |
7804 | } | |
7805 | } | |
7806 | { | |
4268f798 | 7807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7808 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); |
fe47ec10 | 7809 | |
4268f798 RD |
7810 | wxPyEndAllowThreads(__tstate); |
7811 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7812 | } Py_INCREF(Py_None); |
7813 | _resultobj = Py_None; | |
7814 | return _resultobj; | |
7815 | } | |
7816 | ||
65ec6247 RD |
7817 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) |
7818 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7819 | PyObject * _resultobj; |
7820 | int _result; | |
7821 | wxStyledTextCtrl * _arg0; | |
7822 | PyObject * _argo0 = 0; | |
7823 | char *_kwnames[] = { "self", NULL }; | |
7824 | ||
7825 | self = self; | |
65ec6247 | 7826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) |
fe47ec10 RD |
7827 | return NULL; |
7828 | if (_argo0) { | |
7829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7832 | return NULL; |
7833 | } | |
7834 | } | |
7835 | { | |
4268f798 | 7836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7837 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); |
fe47ec10 | 7838 | |
4268f798 RD |
7839 | wxPyEndAllowThreads(__tstate); |
7840 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7841 | } _resultobj = Py_BuildValue("i",_result); |
7842 | return _resultobj; | |
7843 | } | |
7844 | ||
fea018f8 RD |
7845 | #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0)) |
7846 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7847 | PyObject * _resultobj; |
7848 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7849 | bool _arg1; |
fe47ec10 | 7850 | PyObject * _argo0 = 0; |
65ec6247 RD |
7851 | int tempbool1; |
7852 | char *_kwnames[] = { "self","focus", NULL }; | |
fe47ec10 RD |
7853 | |
7854 | self = self; | |
fea018f8 | 7855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1)) |
fe47ec10 RD |
7856 | return NULL; |
7857 | if (_argo0) { | |
7858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fea018f8 | 7860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7861 | return NULL; |
7862 | } | |
7863 | } | |
65ec6247 | 7864 | _arg1 = (bool ) tempbool1; |
fe47ec10 | 7865 | { |
4268f798 | 7866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7867 | wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1); |
fe47ec10 | 7868 | |
4268f798 RD |
7869 | wxPyEndAllowThreads(__tstate); |
7870 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7871 | } Py_INCREF(Py_None); |
7872 | _resultobj = Py_None; | |
7873 | return _resultobj; | |
7874 | } | |
7875 | ||
fea018f8 RD |
7876 | #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus()) |
7877 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7878 | PyObject * _resultobj; |
65ec6247 | 7879 | bool _result; |
fe47ec10 RD |
7880 | wxStyledTextCtrl * _arg0; |
7881 | PyObject * _argo0 = 0; | |
7882 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 RD |
7883 | |
7884 | self = self; | |
fea018f8 | 7885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0)) |
fe47ec10 RD |
7886 | return NULL; |
7887 | if (_argo0) { | |
7888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fea018f8 | 7890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7891 | return NULL; |
7892 | } | |
7893 | } | |
7894 | { | |
4268f798 | 7895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7896 | _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0); |
fe47ec10 | 7897 | |
4268f798 RD |
7898 | wxPyEndAllowThreads(__tstate); |
7899 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 7900 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
7901 | return _resultobj; |
7902 | } | |
7903 | ||
65ec6247 RD |
7904 | #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0)) |
7905 | static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7906 | PyObject * _resultobj; |
7907 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7908 | int _arg1; |
fe47ec10 | 7909 | PyObject * _argo0 = 0; |
65ec6247 | 7910 | char *_kwnames[] = { "self","statusCode", NULL }; |
fe47ec10 RD |
7911 | |
7912 | self = self; | |
65ec6247 | 7913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
7914 | return NULL; |
7915 | if (_argo0) { | |
7916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7919 | return NULL; |
7920 | } | |
7921 | } | |
fe47ec10 | 7922 | { |
4268f798 | 7923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7924 | wxStyledTextCtrl_SetStatus(_arg0,_arg1); |
fe47ec10 | 7925 | |
4268f798 RD |
7926 | wxPyEndAllowThreads(__tstate); |
7927 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7928 | } Py_INCREF(Py_None); |
7929 | _resultobj = Py_None; | |
7930 | return _resultobj; | |
7931 | } | |
7932 | ||
65ec6247 RD |
7933 | #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus()) |
7934 | static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7935 | PyObject * _resultobj; |
65ec6247 | 7936 | int _result; |
fe47ec10 RD |
7937 | wxStyledTextCtrl * _arg0; |
7938 | PyObject * _argo0 = 0; | |
7939 | char *_kwnames[] = { "self", NULL }; | |
7940 | ||
7941 | self = self; | |
65ec6247 | 7942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0)) |
fe47ec10 RD |
7943 | return NULL; |
7944 | if (_argo0) { | |
7945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7948 | return NULL; |
7949 | } | |
7950 | } | |
7951 | { | |
4268f798 | 7952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7953 | _result = (int )wxStyledTextCtrl_GetStatus(_arg0); |
fe47ec10 | 7954 | |
4268f798 RD |
7955 | wxPyEndAllowThreads(__tstate); |
7956 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 7957 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
7958 | return _resultobj; |
7959 | } | |
7960 | ||
65ec6247 RD |
7961 | #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0)) |
7962 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7963 | PyObject * _resultobj; |
fe47ec10 | 7964 | wxStyledTextCtrl * _arg0; |
65ec6247 | 7965 | bool _arg1; |
fe47ec10 | 7966 | PyObject * _argo0 = 0; |
65ec6247 RD |
7967 | int tempbool1; |
7968 | char *_kwnames[] = { "self","captures", NULL }; | |
fe47ec10 RD |
7969 | |
7970 | self = self; | |
65ec6247 | 7971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1)) |
fe47ec10 RD |
7972 | return NULL; |
7973 | if (_argo0) { | |
7974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7977 | return NULL; |
7978 | } | |
7979 | } | |
65ec6247 | 7980 | _arg1 = (bool ) tempbool1; |
fe47ec10 | 7981 | { |
4268f798 | 7982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7983 | wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1); |
fe47ec10 | 7984 | |
4268f798 RD |
7985 | wxPyEndAllowThreads(__tstate); |
7986 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7987 | } Py_INCREF(Py_None); |
7988 | _resultobj = Py_None; | |
fe47ec10 RD |
7989 | return _resultobj; |
7990 | } | |
7991 | ||
65ec6247 RD |
7992 | #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures()) |
7993 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7994 | PyObject * _resultobj; |
65ec6247 | 7995 | bool _result; |
fe47ec10 | 7996 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 7997 | PyObject * _argo0 = 0; |
65ec6247 | 7998 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
7999 | |
8000 | self = self; | |
65ec6247 | 8001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0)) |
fe47ec10 RD |
8002 | return NULL; |
8003 | if (_argo0) { | |
8004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8007 | return NULL; |
8008 | } | |
8009 | } | |
fe47ec10 | 8010 | { |
4268f798 | 8011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8012 | _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0); |
fe47ec10 | 8013 | |
4268f798 RD |
8014 | wxPyEndAllowThreads(__tstate); |
8015 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 8016 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
8017 | return _resultobj; |
8018 | } | |
8019 | ||
65ec6247 RD |
8020 | #define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) |
8021 | static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8022 | PyObject * _resultobj; |
8023 | wxStyledTextCtrl * _arg0; | |
8024 | int _arg1; | |
fe47ec10 | 8025 | PyObject * _argo0 = 0; |
65ec6247 | 8026 | char *_kwnames[] = { "self","cursorType", NULL }; |
fe47ec10 RD |
8027 | |
8028 | self = self; | |
65ec6247 | 8029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
8030 | return NULL; |
8031 | if (_argo0) { | |
8032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8035 | return NULL; |
8036 | } | |
8037 | } | |
8038 | { | |
4268f798 | 8039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8040 | wxStyledTextCtrl_SetCursor(_arg0,_arg1); |
fe47ec10 | 8041 | |
4268f798 RD |
8042 | wxPyEndAllowThreads(__tstate); |
8043 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8044 | } Py_INCREF(Py_None); |
8045 | _resultobj = Py_None; | |
8046 | return _resultobj; | |
8047 | } | |
8048 | ||
65ec6247 RD |
8049 | #define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor()) |
8050 | static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8051 | PyObject * _resultobj; |
8052 | int _result; | |
8053 | wxStyledTextCtrl * _arg0; | |
8054 | PyObject * _argo0 = 0; | |
8055 | char *_kwnames[] = { "self", NULL }; | |
8056 | ||
8057 | self = self; | |
65ec6247 | 8058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0)) |
fe47ec10 RD |
8059 | return NULL; |
8060 | if (_argo0) { | |
8061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8064 | return NULL; |
8065 | } | |
8066 | } | |
8067 | { | |
4268f798 | 8068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8069 | _result = (int )wxStyledTextCtrl_GetCursor(_arg0); |
fe47ec10 | 8070 | |
4268f798 RD |
8071 | wxPyEndAllowThreads(__tstate); |
8072 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8073 | } _resultobj = Py_BuildValue("i",_result); |
8074 | return _resultobj; | |
8075 | } | |
8076 | ||
1a2fb4cd RD |
8077 | #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0)) |
8078 | static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8079 | PyObject * _resultobj; | |
8080 | wxStyledTextCtrl * _arg0; | |
8081 | int _arg1; | |
8082 | PyObject * _argo0 = 0; | |
8083 | char *_kwnames[] = { "self","symbol", NULL }; | |
8084 | ||
8085 | self = self; | |
8086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1)) | |
8087 | return NULL; | |
8088 | if (_argo0) { | |
8089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8092 | return NULL; | |
8093 | } | |
8094 | } | |
8095 | { | |
8096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8097 | wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1); | |
8098 | ||
8099 | wxPyEndAllowThreads(__tstate); | |
8100 | if (PyErr_Occurred()) return NULL; | |
8101 | } Py_INCREF(Py_None); | |
8102 | _resultobj = Py_None; | |
8103 | return _resultobj; | |
8104 | } | |
8105 | ||
8106 | #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol()) | |
8107 | static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8108 | PyObject * _resultobj; | |
8109 | int _result; | |
8110 | wxStyledTextCtrl * _arg0; | |
8111 | PyObject * _argo0 = 0; | |
8112 | char *_kwnames[] = { "self", NULL }; | |
8113 | ||
8114 | self = self; | |
8115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0)) | |
8116 | return NULL; | |
8117 | if (_argo0) { | |
8118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8121 | return NULL; | |
8122 | } | |
8123 | } | |
8124 | { | |
8125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8126 | _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0); | |
8127 | ||
8128 | wxPyEndAllowThreads(__tstate); | |
8129 | if (PyErr_Occurred()) return NULL; | |
8130 | } _resultobj = Py_BuildValue("i",_result); | |
8131 | return _resultobj; | |
8132 | } | |
8133 | ||
65ec6247 RD |
8134 | #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft()) |
8135 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8136 | PyObject * _resultobj; |
8137 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8138 | PyObject * _argo0 = 0; |
65ec6247 | 8139 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8140 | |
8141 | self = self; | |
65ec6247 | 8142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0)) |
fe47ec10 RD |
8143 | return NULL; |
8144 | if (_argo0) { | |
8145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8148 | return NULL; |
8149 | } | |
8150 | } | |
fe47ec10 | 8151 | { |
4268f798 | 8152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8153 | wxStyledTextCtrl_WordPartLeft(_arg0); |
fe47ec10 | 8154 | |
4268f798 RD |
8155 | wxPyEndAllowThreads(__tstate); |
8156 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8157 | } Py_INCREF(Py_None); |
8158 | _resultobj = Py_None; | |
8159 | return _resultobj; | |
8160 | } | |
8161 | ||
65ec6247 RD |
8162 | #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend()) |
8163 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8164 | PyObject * _resultobj; |
fe47ec10 RD |
8165 | wxStyledTextCtrl * _arg0; |
8166 | PyObject * _argo0 = 0; | |
8167 | char *_kwnames[] = { "self", NULL }; | |
8168 | ||
8169 | self = self; | |
65ec6247 | 8170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0)) |
fe47ec10 RD |
8171 | return NULL; |
8172 | if (_argo0) { | |
8173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8176 | return NULL; |
8177 | } | |
8178 | } | |
8179 | { | |
4268f798 | 8180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8181 | wxStyledTextCtrl_WordPartLeftExtend(_arg0); |
fe47ec10 | 8182 | |
4268f798 RD |
8183 | wxPyEndAllowThreads(__tstate); |
8184 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8185 | } Py_INCREF(Py_None); |
8186 | _resultobj = Py_None; | |
8187 | return _resultobj; | |
8188 | } | |
8189 | ||
65ec6247 RD |
8190 | #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight()) |
8191 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8192 | PyObject * _resultobj; |
fe47ec10 RD |
8193 | wxStyledTextCtrl * _arg0; |
8194 | PyObject * _argo0 = 0; | |
8195 | char *_kwnames[] = { "self", NULL }; | |
8196 | ||
8197 | self = self; | |
65ec6247 | 8198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0)) |
fe47ec10 RD |
8199 | return NULL; |
8200 | if (_argo0) { | |
8201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8204 | return NULL; |
8205 | } | |
8206 | } | |
8207 | { | |
4268f798 | 8208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8209 | wxStyledTextCtrl_WordPartRight(_arg0); |
fe47ec10 | 8210 | |
4268f798 RD |
8211 | wxPyEndAllowThreads(__tstate); |
8212 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8213 | } Py_INCREF(Py_None); |
8214 | _resultobj = Py_None; | |
fe47ec10 RD |
8215 | return _resultobj; |
8216 | } | |
8217 | ||
65ec6247 RD |
8218 | #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend()) |
8219 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8220 | PyObject * _resultobj; |
fe47ec10 RD |
8221 | wxStyledTextCtrl * _arg0; |
8222 | PyObject * _argo0 = 0; | |
8223 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 RD |
8224 | |
8225 | self = self; | |
65ec6247 | 8226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0)) |
fe47ec10 RD |
8227 | return NULL; |
8228 | if (_argo0) { | |
8229 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8230 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8232 | return NULL; |
8233 | } | |
8234 | } | |
8235 | { | |
4268f798 | 8236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8237 | wxStyledTextCtrl_WordPartRightExtend(_arg0); |
fe47ec10 | 8238 | |
4268f798 RD |
8239 | wxPyEndAllowThreads(__tstate); |
8240 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8241 | } Py_INCREF(Py_None); |
8242 | _resultobj = Py_None; | |
fe47ec10 RD |
8243 | return _resultobj; |
8244 | } | |
8245 | ||
65ec6247 RD |
8246 | #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1)) |
8247 | static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8248 | PyObject * _resultobj; |
8249 | wxStyledTextCtrl * _arg0; | |
65ec6247 RD |
8250 | int _arg1; |
8251 | int _arg2; | |
fe47ec10 | 8252 | PyObject * _argo0 = 0; |
65ec6247 | 8253 | char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL }; |
fe47ec10 RD |
8254 | |
8255 | self = self; | |
65ec6247 | 8256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2)) |
fe47ec10 RD |
8257 | return NULL; |
8258 | if (_argo0) { | |
8259 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8260 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8262 | return NULL; |
8263 | } | |
8264 | } | |
8265 | { | |
4268f798 | 8266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8267 | wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2); |
fe47ec10 | 8268 | |
4268f798 RD |
8269 | wxPyEndAllowThreads(__tstate); |
8270 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8271 | } Py_INCREF(Py_None); |
8272 | _resultobj = Py_None; | |
8273 | return _resultobj; | |
8274 | } | |
8275 | ||
65ec6247 RD |
8276 | #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft()) |
8277 | static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8278 | PyObject * _resultobj; |
8279 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8280 | PyObject * _argo0 = 0; |
65ec6247 | 8281 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8282 | |
8283 | self = self; | |
65ec6247 | 8284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0)) |
fe47ec10 RD |
8285 | return NULL; |
8286 | if (_argo0) { | |
8287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8290 | return NULL; |
8291 | } | |
8292 | } | |
8293 | { | |
4268f798 | 8294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8295 | wxStyledTextCtrl_DelLineLeft(_arg0); |
fe47ec10 | 8296 | |
4268f798 RD |
8297 | wxPyEndAllowThreads(__tstate); |
8298 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8299 | } Py_INCREF(Py_None); |
8300 | _resultobj = Py_None; | |
8301 | return _resultobj; | |
8302 | } | |
8303 | ||
65ec6247 RD |
8304 | #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight()) |
8305 | static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8306 | PyObject * _resultobj; |
fe47ec10 RD |
8307 | wxStyledTextCtrl * _arg0; |
8308 | PyObject * _argo0 = 0; | |
8309 | char *_kwnames[] = { "self", NULL }; | |
8310 | ||
8311 | self = self; | |
65ec6247 | 8312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0)) |
fe47ec10 RD |
8313 | return NULL; |
8314 | if (_argo0) { | |
8315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8318 | return NULL; |
8319 | } | |
8320 | } | |
8321 | { | |
4268f798 | 8322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8323 | wxStyledTextCtrl_DelLineRight(_arg0); |
fe47ec10 | 8324 | |
4268f798 RD |
8325 | wxPyEndAllowThreads(__tstate); |
8326 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8327 | } Py_INCREF(Py_None); |
8328 | _resultobj = Py_None; | |
fe47ec10 RD |
8329 | return _resultobj; |
8330 | } | |
8331 | ||
1a2fb4cd RD |
8332 | #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) |
8333 | static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8334 | PyObject * _resultobj; | |
8335 | wxStyledTextCtrl * _arg0; | |
8336 | int _arg1; | |
8337 | PyObject * _argo0 = 0; | |
8338 | char *_kwnames[] = { "self","newOffset", NULL }; | |
8339 | ||
8340 | self = self; | |
8341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
8342 | return NULL; | |
8343 | if (_argo0) { | |
8344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p."); | |
8347 | return NULL; | |
8348 | } | |
8349 | } | |
8350 | { | |
8351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8352 | wxStyledTextCtrl_SetXOffset(_arg0,_arg1); | |
8353 | ||
8354 | wxPyEndAllowThreads(__tstate); | |
8355 | if (PyErr_Occurred()) return NULL; | |
8356 | } Py_INCREF(Py_None); | |
8357 | _resultobj = Py_None; | |
8358 | return _resultobj; | |
8359 | } | |
8360 | ||
8361 | #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
8362 | static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8363 | PyObject * _resultobj; | |
8364 | int _result; | |
8365 | wxStyledTextCtrl * _arg0; | |
8366 | PyObject * _argo0 = 0; | |
8367 | char *_kwnames[] = { "self", NULL }; | |
8368 | ||
8369 | self = self; | |
8370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0)) | |
8371 | return NULL; | |
8372 | if (_argo0) { | |
8373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p."); | |
8376 | return NULL; | |
8377 | } | |
8378 | } | |
8379 | { | |
8380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8381 | _result = (int )wxStyledTextCtrl_GetXOffset(_arg0); | |
8382 | ||
8383 | wxPyEndAllowThreads(__tstate); | |
8384 | if (PyErr_Occurred()) return NULL; | |
8385 | } _resultobj = Py_BuildValue("i",_result); | |
8386 | return _resultobj; | |
8387 | } | |
8388 | ||
fe47ec10 RD |
8389 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) |
8390 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8391 | PyObject * _resultobj; | |
8392 | wxStyledTextCtrl * _arg0; | |
8393 | PyObject * _argo0 = 0; | |
8394 | char *_kwnames[] = { "self", NULL }; | |
8395 | ||
8396 | self = self; | |
8397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
8398 | return NULL; | |
8399 | if (_argo0) { | |
8400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
8403 | return NULL; | |
8404 | } | |
8405 | } | |
8406 | { | |
4268f798 | 8407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8408 | wxStyledTextCtrl_StartRecord(_arg0); |
fe47ec10 | 8409 | |
4268f798 RD |
8410 | wxPyEndAllowThreads(__tstate); |
8411 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8412 | } Py_INCREF(Py_None); |
8413 | _resultobj = Py_None; | |
8414 | return _resultobj; | |
8415 | } | |
8416 | ||
8417 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
8418 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8419 | PyObject * _resultobj; | |
8420 | wxStyledTextCtrl * _arg0; | |
8421 | PyObject * _argo0 = 0; | |
8422 | char *_kwnames[] = { "self", NULL }; | |
8423 | ||
8424 | self = self; | |
8425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
8426 | return NULL; | |
8427 | if (_argo0) { | |
8428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
8431 | return NULL; | |
8432 | } | |
8433 | } | |
8434 | { | |
4268f798 | 8435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8436 | wxStyledTextCtrl_StopRecord(_arg0); |
fe47ec10 | 8437 | |
4268f798 RD |
8438 | wxPyEndAllowThreads(__tstate); |
8439 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8440 | } Py_INCREF(Py_None); |
8441 | _resultobj = Py_None; | |
8442 | return _resultobj; | |
8443 | } | |
8444 | ||
8445 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
8446 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
8447 | PyObject * _resultobj; |
8448 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8449 | int _arg1; |
f6bcfd97 BP |
8450 | PyObject * _argo0 = 0; |
8451 | char *_kwnames[] = { "self","lexer", NULL }; | |
8452 | ||
8453 | self = self; | |
8454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
8455 | return NULL; | |
8456 | if (_argo0) { | |
8457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
8460 | return NULL; | |
8461 | } | |
8462 | } | |
8463 | { | |
4268f798 | 8464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8465 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); |
f6bcfd97 | 8466 | |
4268f798 RD |
8467 | wxPyEndAllowThreads(__tstate); |
8468 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8469 | } Py_INCREF(Py_None); |
8470 | _resultobj = Py_None; | |
8471 | return _resultobj; | |
8472 | } | |
8473 | ||
8474 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
8475 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8476 | PyObject * _resultobj; | |
fe47ec10 | 8477 | int _result; |
f6bcfd97 BP |
8478 | wxStyledTextCtrl * _arg0; |
8479 | PyObject * _argo0 = 0; | |
8480 | char *_kwnames[] = { "self", NULL }; | |
8481 | ||
8482 | self = self; | |
8483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
8484 | return NULL; | |
8485 | if (_argo0) { | |
8486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
8489 | return NULL; | |
8490 | } | |
8491 | } | |
8492 | { | |
4268f798 | 8493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8494 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
f6bcfd97 | 8495 | |
4268f798 RD |
8496 | wxPyEndAllowThreads(__tstate); |
8497 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8498 | } _resultobj = Py_BuildValue("i",_result); |
8499 | return _resultobj; | |
8500 | } | |
8501 | ||
8502 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
8503 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8504 | PyObject * _resultobj; | |
8505 | wxStyledTextCtrl * _arg0; | |
8506 | int _arg1; | |
8507 | int _arg2; | |
8508 | PyObject * _argo0 = 0; | |
8509 | char *_kwnames[] = { "self","start","end", NULL }; | |
8510 | ||
8511 | self = self; | |
8512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8513 | return NULL; | |
8514 | if (_argo0) { | |
8515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
8518 | return NULL; | |
8519 | } | |
8520 | } | |
8521 | { | |
4268f798 | 8522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8523 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); |
f6bcfd97 | 8524 | |
4268f798 RD |
8525 | wxPyEndAllowThreads(__tstate); |
8526 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8527 | } Py_INCREF(Py_None); |
8528 | _resultobj = Py_None; | |
8529 | return _resultobj; | |
8530 | } | |
8531 | ||
8532 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
8533 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8534 | PyObject * _resultobj; | |
8535 | wxStyledTextCtrl * _arg0; | |
8536 | wxString * _arg1; | |
8537 | wxString * _arg2; | |
8538 | PyObject * _argo0 = 0; | |
8539 | PyObject * _obj1 = 0; | |
8540 | PyObject * _obj2 = 0; | |
8541 | char *_kwnames[] = { "self","key","value", NULL }; | |
8542 | ||
8543 | self = self; | |
8544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
8545 | return NULL; | |
8546 | if (_argo0) { | |
8547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
8550 | return NULL; | |
8551 | } | |
8552 | } | |
8553 | { | |
c8bc7bb8 RD |
8554 | _arg1 = wxString_in_helper(_obj1); |
8555 | if (_arg1 == NULL) | |
185d7c3e | 8556 | return NULL; |
f6bcfd97 BP |
8557 | } |
8558 | { | |
c8bc7bb8 RD |
8559 | _arg2 = wxString_in_helper(_obj2); |
8560 | if (_arg2 == NULL) | |
185d7c3e | 8561 | return NULL; |
f6bcfd97 BP |
8562 | } |
8563 | { | |
4268f798 | 8564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8565 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); |
f6bcfd97 | 8566 | |
4268f798 RD |
8567 | wxPyEndAllowThreads(__tstate); |
8568 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8569 | } Py_INCREF(Py_None); |
8570 | _resultobj = Py_None; | |
8571 | { | |
8572 | if (_obj1) | |
8573 | delete _arg1; | |
8574 | } | |
8575 | { | |
8576 | if (_obj2) | |
8577 | delete _arg2; | |
8578 | } | |
8579 | return _resultobj; | |
8580 | } | |
8581 | ||
fe47ec10 RD |
8582 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) |
8583 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8584 | PyObject * _resultobj; | |
8585 | wxStyledTextCtrl * _arg0; | |
8586 | int _arg1; | |
8587 | wxString * _arg2; | |
8588 | PyObject * _argo0 = 0; | |
8589 | PyObject * _obj2 = 0; | |
8590 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
8591 | ||
8592 | self = self; | |
8593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8594 | return NULL; | |
8595 | if (_argo0) { | |
8596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
8599 | return NULL; | |
8600 | } | |
8601 | } | |
8602 | { | |
c8bc7bb8 RD |
8603 | _arg2 = wxString_in_helper(_obj2); |
8604 | if (_arg2 == NULL) | |
185d7c3e | 8605 | return NULL; |
fe47ec10 RD |
8606 | } |
8607 | { | |
4268f798 | 8608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8609 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); |
fe47ec10 | 8610 | |
4268f798 RD |
8611 | wxPyEndAllowThreads(__tstate); |
8612 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8613 | } Py_INCREF(Py_None); |
8614 | _resultobj = Py_None; | |
8615 | { | |
8616 | if (_obj2) | |
8617 | delete _arg2; | |
8618 | } | |
8619 | return _resultobj; | |
8620 | } | |
8621 | ||
65ec6247 RD |
8622 | #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0)) |
8623 | static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8624 | PyObject * _resultobj; | |
8625 | wxStyledTextCtrl * _arg0; | |
8626 | wxString * _arg1; | |
8627 | PyObject * _argo0 = 0; | |
8628 | PyObject * _obj1 = 0; | |
8629 | char *_kwnames[] = { "self","language", NULL }; | |
8630 | ||
8631 | self = self; | |
8632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1)) | |
8633 | return NULL; | |
8634 | if (_argo0) { | |
8635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p."); | |
8638 | return NULL; | |
8639 | } | |
8640 | } | |
8641 | { | |
c8bc7bb8 RD |
8642 | _arg1 = wxString_in_helper(_obj1); |
8643 | if (_arg1 == NULL) | |
65ec6247 | 8644 | return NULL; |
65ec6247 RD |
8645 | } |
8646 | { | |
4268f798 | 8647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8648 | wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1); |
65ec6247 | 8649 | |
4268f798 RD |
8650 | wxPyEndAllowThreads(__tstate); |
8651 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8652 | } Py_INCREF(Py_None); |
8653 | _resultobj = Py_None; | |
8654 | { | |
8655 | if (_obj1) | |
8656 | delete _arg1; | |
8657 | } | |
8658 | return _resultobj; | |
8659 | } | |
8660 | ||
fe47ec10 RD |
8661 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) |
8662 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8663 | PyObject * _resultobj; | |
8664 | int _result; | |
8665 | wxStyledTextCtrl * _arg0; | |
8666 | PyObject * _argo0 = 0; | |
8667 | char *_kwnames[] = { "self", NULL }; | |
8668 | ||
8669 | self = self; | |
8670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
8671 | return NULL; | |
8672 | if (_argo0) { | |
8673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
8676 | return NULL; | |
8677 | } | |
8678 | } | |
8679 | { | |
4268f798 | 8680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8681 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); |
fe47ec10 | 8682 | |
4268f798 RD |
8683 | wxPyEndAllowThreads(__tstate); |
8684 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8685 | } _resultobj = Py_BuildValue("i",_result); |
8686 | return _resultobj; | |
8687 | } | |
8688 | ||
8689 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
8690 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
8691 | PyObject * _resultobj; |
8692 | wxStyledTextCtrl * _arg0; | |
8693 | int _arg1; | |
8694 | wxString * _arg2; | |
8695 | PyObject * _argo0 = 0; | |
8696 | PyObject * _obj2 = 0; | |
fe47ec10 RD |
8697 | char *_kwnames[] = { "self","styleNum","spec", NULL }; |
8698 | ||
8699 | self = self; | |
8700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8701 | return NULL; | |
8702 | if (_argo0) { | |
8703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
8706 | return NULL; | |
8707 | } | |
8708 | } | |
8709 | { | |
c8bc7bb8 RD |
8710 | _arg2 = wxString_in_helper(_obj2); |
8711 | if (_arg2 == NULL) | |
185d7c3e | 8712 | return NULL; |
fe47ec10 RD |
8713 | } |
8714 | { | |
4268f798 | 8715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8716 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); |
fe47ec10 | 8717 | |
4268f798 RD |
8718 | wxPyEndAllowThreads(__tstate); |
8719 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8720 | } Py_INCREF(Py_None); |
8721 | _resultobj = Py_None; | |
8722 | { | |
8723 | if (_obj2) | |
8724 | delete _arg2; | |
8725 | } | |
8726 | return _resultobj; | |
8727 | } | |
8728 | ||
8729 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
8730 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8731 | PyObject * _resultobj; | |
8732 | wxStyledTextCtrl * _arg0; | |
8733 | int _arg1; | |
8734 | wxFont * _arg2; | |
8735 | PyObject * _argo0 = 0; | |
8736 | PyObject * _argo2 = 0; | |
8737 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
8738 | ||
8739 | self = self; | |
8740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
8741 | return NULL; | |
8742 | if (_argo0) { | |
8743 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8744 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8745 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
8746 | return NULL; | |
8747 | } | |
8748 | } | |
8749 | if (_argo2) { | |
8750 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8751 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
8752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
8753 | return NULL; | |
8754 | } | |
8755 | } | |
8756 | { | |
4268f798 | 8757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8758 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); |
fe47ec10 | 8759 | |
4268f798 RD |
8760 | wxPyEndAllowThreads(__tstate); |
8761 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8762 | } Py_INCREF(Py_None); |
8763 | _resultobj = Py_None; | |
8764 | return _resultobj; | |
8765 | } | |
8766 | ||
8767 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8768 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8769 | PyObject * _resultobj; | |
8770 | wxStyledTextCtrl * _arg0; | |
8771 | int _arg1; | |
8772 | int _arg2; | |
8773 | wxString * _arg3; | |
8774 | bool _arg4; | |
8775 | bool _arg5; | |
8776 | bool _arg6; | |
8777 | PyObject * _argo0 = 0; | |
8778 | PyObject * _obj3 = 0; | |
8779 | int tempbool4; | |
8780 | int tempbool5; | |
8781 | int tempbool6; | |
8782 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
8783 | ||
8784 | self = self; | |
8785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
8786 | return NULL; | |
8787 | if (_argo0) { | |
8788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
8791 | return NULL; | |
8792 | } | |
8793 | } | |
8794 | { | |
c8bc7bb8 RD |
8795 | _arg3 = wxString_in_helper(_obj3); |
8796 | if (_arg3 == NULL) | |
185d7c3e | 8797 | return NULL; |
fe47ec10 RD |
8798 | } |
8799 | _arg4 = (bool ) tempbool4; | |
8800 | _arg5 = (bool ) tempbool5; | |
8801 | _arg6 = (bool ) tempbool6; | |
8802 | { | |
4268f798 | 8803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8804 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); |
fe47ec10 | 8805 | |
4268f798 RD |
8806 | wxPyEndAllowThreads(__tstate); |
8807 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8808 | } Py_INCREF(Py_None); |
8809 | _resultobj = Py_None; | |
8810 | { | |
8811 | if (_obj3) | |
8812 | delete _arg3; | |
8813 | } | |
8814 | return _resultobj; | |
8815 | } | |
8816 | ||
8817 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
8818 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8819 | PyObject * _resultobj; | |
8820 | wxStyledTextCtrl * _arg0; | |
8821 | int _arg1; | |
8822 | PyObject * _argo0 = 0; | |
8823 | char *_kwnames[] = { "self","cmd", NULL }; | |
8824 | ||
8825 | self = self; | |
8826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
8827 | return NULL; | |
8828 | if (_argo0) { | |
8829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
8832 | return NULL; | |
8833 | } | |
8834 | } | |
8835 | { | |
4268f798 | 8836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8837 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); |
fe47ec10 | 8838 | |
4268f798 RD |
8839 | wxPyEndAllowThreads(__tstate); |
8840 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8841 | } Py_INCREF(Py_None); |
8842 | _resultobj = Py_None; | |
8843 | return _resultobj; | |
8844 | } | |
8845 | ||
8846 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
8847 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8848 | PyObject * _resultobj; | |
8849 | wxStyledTextCtrl * _arg0; | |
8850 | int _arg1; | |
8851 | int _arg2; | |
8852 | PyObject * _argo0 = 0; | |
8853 | char *_kwnames[] = { "self","left","right", NULL }; | |
8854 | ||
8855 | self = self; | |
8856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8857 | return NULL; | |
8858 | if (_argo0) { | |
8859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
8862 | return NULL; | |
8863 | } | |
8864 | } | |
8865 | { | |
4268f798 | 8866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8867 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); |
fe47ec10 | 8868 | |
4268f798 RD |
8869 | wxPyEndAllowThreads(__tstate); |
8870 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8871 | } Py_INCREF(Py_None); |
8872 | _resultobj = Py_None; | |
8873 | return _resultobj; | |
8874 | } | |
8875 | ||
8876 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
8877 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8878 | PyObject * _resultobj; | |
8879 | wxStyledTextCtrl * _arg0; | |
8880 | int * _arg1; | |
8881 | int temp; | |
8882 | int * _arg2; | |
8883 | int temp0; | |
8884 | PyObject * _argo0 = 0; | |
8885 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
8886 | |
8887 | self = self; | |
fe47ec10 RD |
8888 | { |
8889 | _arg1 = &temp; | |
8890 | } | |
8891 | { | |
8892 | _arg2 = &temp0; | |
8893 | } | |
8894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
f6bcfd97 BP |
8895 | return NULL; |
8896 | if (_argo0) { | |
8897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 8899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
8900 | return NULL; |
8901 | } | |
8902 | } | |
f6bcfd97 | 8903 | { |
4268f798 | 8904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8905 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 8906 | |
4268f798 RD |
8907 | wxPyEndAllowThreads(__tstate); |
8908 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8909 | } Py_INCREF(Py_None); |
8910 | _resultobj = Py_None; | |
8911 | { | |
fe47ec10 RD |
8912 | PyObject *o; |
8913 | o = PyInt_FromLong((long) (*_arg1)); | |
8914 | _resultobj = t_output_helper(_resultobj, o); | |
8915 | } | |
8916 | { | |
8917 | PyObject *o; | |
8918 | o = PyInt_FromLong((long) (*_arg2)); | |
8919 | _resultobj = t_output_helper(_resultobj, o); | |
f6bcfd97 BP |
8920 | } |
8921 | return _resultobj; | |
8922 | } | |
8923 | ||
fe47ec10 RD |
8924 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) |
8925 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 8926 | PyObject * _resultobj; |
fe47ec10 | 8927 | wxPoint * _result; |
f6bcfd97 BP |
8928 | wxStyledTextCtrl * _arg0; |
8929 | int _arg1; | |
8930 | PyObject * _argo0 = 0; | |
fe47ec10 RD |
8931 | char *_kwnames[] = { "self","pos", NULL }; |
8932 | char _ptemp[128]; | |
f6bcfd97 BP |
8933 | |
8934 | self = self; | |
fe47ec10 | 8935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
8936 | return NULL; |
8937 | if (_argo0) { | |
8938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 8940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
8941 | return NULL; |
8942 | } | |
8943 | } | |
8944 | { | |
4268f798 | 8945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8946 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
f6bcfd97 | 8947 | |
4268f798 RD |
8948 | wxPyEndAllowThreads(__tstate); |
8949 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8950 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
8951 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
8952 | return _resultobj; |
8953 | } | |
8954 | ||
ea7c631c RD |
8955 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) |
8956 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8957 | PyObject * _resultobj; | |
8958 | wxStyledTextCtrl * _arg0; | |
8959 | int _arg1; | |
8960 | PyObject * _argo0 = 0; | |
8961 | char *_kwnames[] = { "self","line", NULL }; | |
8962 | ||
8963 | self = self; | |
8964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
8965 | return NULL; | |
8966 | if (_argo0) { | |
8967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
8970 | return NULL; | |
8971 | } | |
8972 | } | |
8973 | { | |
4268f798 | 8974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8975 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); |
ea7c631c | 8976 | |
4268f798 RD |
8977 | wxPyEndAllowThreads(__tstate); |
8978 | if (PyErr_Occurred()) return NULL; | |
ea7c631c RD |
8979 | } Py_INCREF(Py_None); |
8980 | _resultobj = Py_None; | |
8981 | return _resultobj; | |
8982 | } | |
8983 | ||
8984 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
8985 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8986 | PyObject * _resultobj; | |
8987 | wxStyledTextCtrl * _arg0; | |
8988 | int _arg1; | |
8989 | PyObject * _argo0 = 0; | |
8990 | char *_kwnames[] = { "self","column", NULL }; | |
8991 | ||
8992 | self = self; | |
8993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
8994 | return NULL; | |
8995 | if (_argo0) { | |
8996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
8999 | return NULL; | |
9000 | } | |
9001 | } | |
9002 | { | |
4268f798 | 9003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9004 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); |
ea7c631c | 9005 | |
4268f798 RD |
9006 | wxPyEndAllowThreads(__tstate); |
9007 | if (PyErr_Occurred()) return NULL; | |
ea7c631c RD |
9008 | } Py_INCREF(Py_None); |
9009 | _resultobj = Py_None; | |
9010 | return _resultobj; | |
9011 | } | |
9012 | ||
65ec6247 RD |
9013 | #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2)) |
9014 | static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9015 | PyObject * _resultobj; | |
9016 | long _result; | |
9017 | wxStyledTextCtrl * _arg0; | |
9018 | int _arg1; | |
9019 | long _arg2 = (long ) 0; | |
9020 | long _arg3 = (long ) 0; | |
9021 | PyObject * _argo0 = 0; | |
9022 | char *_kwnames[] = { "self","msg","wp","lp", NULL }; | |
9023 | ||
9024 | self = self; | |
9025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
9026 | return NULL; | |
9027 | if (_argo0) { | |
9028 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9029 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9030 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p."); | |
9031 | return NULL; | |
9032 | } | |
9033 | } | |
9034 | { | |
4268f798 | 9035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9036 | _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3); |
65ec6247 | 9037 | |
4268f798 RD |
9038 | wxPyEndAllowThreads(__tstate); |
9039 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9040 | } _resultobj = Py_BuildValue("l",_result); |
9041 | return _resultobj; | |
9042 | } | |
9043 | ||
ebf4302c RD |
9044 | #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0)) |
9045 | static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9046 | PyObject * _resultobj; | |
9047 | wxStyledTextCtrl * _arg0; | |
9048 | wxScrollBar * _arg1; | |
9049 | PyObject * _argo0 = 0; | |
9050 | PyObject * _argo1 = 0; | |
9051 | char *_kwnames[] = { "self","bar", NULL }; | |
9052 | ||
9053 | self = self; | |
9054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1)) | |
9055 | return NULL; | |
9056 | if (_argo0) { | |
9057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p."); | |
9060 | return NULL; | |
9061 | } | |
9062 | } | |
9063 | if (_argo1) { | |
9064 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9065 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p."); | |
9067 | return NULL; | |
9068 | } | |
9069 | } | |
9070 | { | |
4268f798 | 9071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9072 | wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1); |
ebf4302c | 9073 | |
4268f798 RD |
9074 | wxPyEndAllowThreads(__tstate); |
9075 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
9076 | } Py_INCREF(Py_None); |
9077 | _resultobj = Py_None; | |
9078 | return _resultobj; | |
9079 | } | |
9080 | ||
9081 | #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0)) | |
9082 | static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9083 | PyObject * _resultobj; | |
9084 | wxStyledTextCtrl * _arg0; | |
9085 | wxScrollBar * _arg1; | |
9086 | PyObject * _argo0 = 0; | |
9087 | PyObject * _argo1 = 0; | |
9088 | char *_kwnames[] = { "self","bar", NULL }; | |
9089 | ||
9090 | self = self; | |
9091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1)) | |
9092 | return NULL; | |
9093 | if (_argo0) { | |
9094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p."); | |
9097 | return NULL; | |
9098 | } | |
9099 | } | |
9100 | if (_argo1) { | |
9101 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9102 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p."); | |
9104 | return NULL; | |
9105 | } | |
9106 | } | |
9107 | { | |
4268f798 | 9108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9109 | wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1); |
ebf4302c | 9110 | |
4268f798 RD |
9111 | wxPyEndAllowThreads(__tstate); |
9112 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
9113 | } Py_INCREF(Py_None); |
9114 | _resultobj = Py_None; | |
9115 | return _resultobj; | |
9116 | } | |
9117 | ||
f6bcfd97 BP |
9118 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
9119 | wxStyledTextEvent *src; | |
9120 | wxCommandEvent *dest; | |
9121 | src = (wxStyledTextEvent *) ptr; | |
9122 | dest = (wxCommandEvent *) src; | |
9123 | return (void *) dest; | |
9124 | } | |
9125 | ||
9126 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
9127 | wxStyledTextEvent *src; | |
9128 | wxEvent *dest; | |
9129 | src = (wxStyledTextEvent *) ptr; | |
9130 | dest = (wxEvent *) src; | |
9131 | return (void *) dest; | |
9132 | } | |
9133 | ||
493f1553 RD |
9134 | static void *SwigwxStyledTextEventTowxObject(void *ptr) { |
9135 | wxStyledTextEvent *src; | |
9136 | wxObject *dest; | |
9137 | src = (wxStyledTextEvent *) ptr; | |
9138 | dest = (wxObject *) src; | |
9139 | return (void *) dest; | |
9140 | } | |
9141 | ||
7a0f694a | 9142 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) |
f6bcfd97 BP |
9143 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
9144 | PyObject * _resultobj; | |
9145 | wxStyledTextEvent * _result; | |
7a0f694a RD |
9146 | wxEventType _arg0 = (wxEventType ) 0; |
9147 | int _arg1 = (int ) 0; | |
9148 | char *_kwnames[] = { "commandType","id", NULL }; | |
f6bcfd97 BP |
9149 | char _ptemp[128]; |
9150 | ||
9151 | self = self; | |
7a0f694a | 9152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) |
f6bcfd97 BP |
9153 | return NULL; |
9154 | { | |
4268f798 | 9155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9156 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); |
f6bcfd97 | 9157 | |
4268f798 RD |
9158 | wxPyEndAllowThreads(__tstate); |
9159 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9160 | } if (_result) { |
9161 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
9162 | _resultobj = Py_BuildValue("s",_ptemp); | |
9163 | } else { | |
9164 | Py_INCREF(Py_None); | |
9165 | _resultobj = Py_None; | |
9166 | } | |
9167 | return _resultobj; | |
9168 | } | |
9169 | ||
9170 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
9171 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9172 | PyObject * _resultobj; | |
9173 | wxStyledTextEvent * _arg0; | |
9174 | PyObject * _argo0 = 0; | |
9175 | char *_kwnames[] = { "self", NULL }; | |
9176 | ||
9177 | self = self; | |
9178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
9179 | return NULL; | |
9180 | if (_argo0) { | |
9181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
9184 | return NULL; | |
9185 | } | |
9186 | } | |
9187 | { | |
4268f798 | 9188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9189 | delete_wxStyledTextEvent(_arg0); |
f6bcfd97 | 9190 | |
4268f798 RD |
9191 | wxPyEndAllowThreads(__tstate); |
9192 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9193 | } Py_INCREF(Py_None); |
9194 | _resultobj = Py_None; | |
9195 | return _resultobj; | |
9196 | } | |
9197 | ||
9198 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
9199 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9200 | PyObject * _resultobj; | |
9201 | wxStyledTextEvent * _arg0; | |
9202 | int _arg1; | |
9203 | PyObject * _argo0 = 0; | |
9204 | char *_kwnames[] = { "self","pos", NULL }; | |
9205 | ||
9206 | self = self; | |
9207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
9208 | return NULL; | |
9209 | if (_argo0) { | |
9210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
9213 | return NULL; | |
9214 | } | |
9215 | } | |
9216 | { | |
4268f798 | 9217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9218 | wxStyledTextEvent_SetPosition(_arg0,_arg1); |
f6bcfd97 | 9219 | |
4268f798 RD |
9220 | wxPyEndAllowThreads(__tstate); |
9221 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9222 | } Py_INCREF(Py_None); |
9223 | _resultobj = Py_None; | |
9224 | return _resultobj; | |
9225 | } | |
9226 | ||
9227 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
9228 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9229 | PyObject * _resultobj; | |
9230 | wxStyledTextEvent * _arg0; | |
9231 | int _arg1; | |
9232 | PyObject * _argo0 = 0; | |
9233 | char *_kwnames[] = { "self","k", NULL }; | |
9234 | ||
9235 | self = self; | |
9236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
9237 | return NULL; | |
9238 | if (_argo0) { | |
9239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
9242 | return NULL; | |
9243 | } | |
9244 | } | |
9245 | { | |
4268f798 | 9246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9247 | wxStyledTextEvent_SetKey(_arg0,_arg1); |
f6bcfd97 | 9248 | |
4268f798 RD |
9249 | wxPyEndAllowThreads(__tstate); |
9250 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9251 | } Py_INCREF(Py_None); |
9252 | _resultobj = Py_None; | |
9253 | return _resultobj; | |
9254 | } | |
9255 | ||
9256 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
9257 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9258 | PyObject * _resultobj; | |
9259 | wxStyledTextEvent * _arg0; | |
9260 | int _arg1; | |
9261 | PyObject * _argo0 = 0; | |
9262 | char *_kwnames[] = { "self","m", NULL }; | |
9263 | ||
9264 | self = self; | |
9265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
9266 | return NULL; | |
9267 | if (_argo0) { | |
9268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
9271 | return NULL; | |
9272 | } | |
9273 | } | |
9274 | { | |
4268f798 | 9275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9276 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); |
f6bcfd97 | 9277 | |
4268f798 RD |
9278 | wxPyEndAllowThreads(__tstate); |
9279 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9280 | } Py_INCREF(Py_None); |
9281 | _resultobj = Py_None; | |
9282 | return _resultobj; | |
9283 | } | |
9284 | ||
9285 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
9286 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9287 | PyObject * _resultobj; | |
9288 | wxStyledTextEvent * _arg0; | |
9289 | int _arg1; | |
9290 | PyObject * _argo0 = 0; | |
9291 | char *_kwnames[] = { "self","t", NULL }; | |
9292 | ||
9293 | self = self; | |
9294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
9295 | return NULL; | |
9296 | if (_argo0) { | |
9297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
9300 | return NULL; | |
9301 | } | |
9302 | } | |
9303 | { | |
4268f798 | 9304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9305 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); |
f6bcfd97 | 9306 | |
4268f798 RD |
9307 | wxPyEndAllowThreads(__tstate); |
9308 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9309 | } Py_INCREF(Py_None); |
9310 | _resultobj = Py_None; | |
9311 | return _resultobj; | |
9312 | } | |
9313 | ||
9314 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
9315 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9316 | PyObject * _resultobj; | |
9317 | wxStyledTextEvent * _arg0; | |
10ef30eb | 9318 | wxString * _arg1; |
f6bcfd97 | 9319 | PyObject * _argo0 = 0; |
10ef30eb | 9320 | PyObject * _obj1 = 0; |
f6bcfd97 BP |
9321 | char *_kwnames[] = { "self","t", NULL }; |
9322 | ||
9323 | self = self; | |
10ef30eb | 9324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
9325 | return NULL; |
9326 | if (_argo0) { | |
9327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
9330 | return NULL; | |
9331 | } | |
9332 | } | |
10ef30eb RD |
9333 | { |
9334 | _arg1 = wxString_in_helper(_obj1); | |
9335 | if (_arg1 == NULL) | |
9336 | return NULL; | |
9337 | } | |
f6bcfd97 | 9338 | { |
4268f798 | 9339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10ef30eb | 9340 | wxStyledTextEvent_SetText(_arg0,*_arg1); |
f6bcfd97 | 9341 | |
4268f798 RD |
9342 | wxPyEndAllowThreads(__tstate); |
9343 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9344 | } Py_INCREF(Py_None); |
9345 | _resultobj = Py_None; | |
10ef30eb RD |
9346 | { |
9347 | if (_obj1) | |
9348 | delete _arg1; | |
9349 | } | |
f6bcfd97 BP |
9350 | return _resultobj; |
9351 | } | |
9352 | ||
9353 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
9354 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9355 | PyObject * _resultobj; | |
9356 | wxStyledTextEvent * _arg0; | |
9357 | int _arg1; | |
9358 | PyObject * _argo0 = 0; | |
9359 | char *_kwnames[] = { "self","len", NULL }; | |
9360 | ||
9361 | self = self; | |
9362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
9363 | return NULL; | |
9364 | if (_argo0) { | |
9365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
9368 | return NULL; | |
9369 | } | |
9370 | } | |
9371 | { | |
4268f798 | 9372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9373 | wxStyledTextEvent_SetLength(_arg0,_arg1); |
f6bcfd97 | 9374 | |
4268f798 RD |
9375 | wxPyEndAllowThreads(__tstate); |
9376 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9377 | } Py_INCREF(Py_None); |
9378 | _resultobj = Py_None; | |
9379 | return _resultobj; | |
9380 | } | |
9381 | ||
9382 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
9383 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9384 | PyObject * _resultobj; | |
9385 | wxStyledTextEvent * _arg0; | |
9386 | int _arg1; | |
9387 | PyObject * _argo0 = 0; | |
9388 | char *_kwnames[] = { "self","num", NULL }; | |
9389 | ||
9390 | self = self; | |
9391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
9392 | return NULL; | |
9393 | if (_argo0) { | |
9394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9397 | return NULL; | |
9398 | } | |
9399 | } | |
9400 | { | |
4268f798 | 9401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9402 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); |
f6bcfd97 | 9403 | |
4268f798 RD |
9404 | wxPyEndAllowThreads(__tstate); |
9405 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9406 | } Py_INCREF(Py_None); |
9407 | _resultobj = Py_None; | |
9408 | return _resultobj; | |
9409 | } | |
9410 | ||
9411 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
9412 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9413 | PyObject * _resultobj; | |
9414 | wxStyledTextEvent * _arg0; | |
9415 | int _arg1; | |
9416 | PyObject * _argo0 = 0; | |
9417 | char *_kwnames[] = { "self","val", NULL }; | |
9418 | ||
9419 | self = self; | |
9420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
9421 | return NULL; | |
9422 | if (_argo0) { | |
9423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
9426 | return NULL; | |
9427 | } | |
9428 | } | |
9429 | { | |
4268f798 | 9430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9431 | wxStyledTextEvent_SetLine(_arg0,_arg1); |
f6bcfd97 | 9432 | |
4268f798 RD |
9433 | wxPyEndAllowThreads(__tstate); |
9434 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9435 | } Py_INCREF(Py_None); |
9436 | _resultobj = Py_None; | |
9437 | return _resultobj; | |
9438 | } | |
9439 | ||
9440 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
9441 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9442 | PyObject * _resultobj; | |
9443 | wxStyledTextEvent * _arg0; | |
9444 | int _arg1; | |
9445 | PyObject * _argo0 = 0; | |
9446 | char *_kwnames[] = { "self","val", NULL }; | |
9447 | ||
9448 | self = self; | |
9449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
9450 | return NULL; | |
9451 | if (_argo0) { | |
9452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
9455 | return NULL; | |
9456 | } | |
9457 | } | |
9458 | { | |
4268f798 | 9459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9460 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); |
f6bcfd97 | 9461 | |
4268f798 RD |
9462 | wxPyEndAllowThreads(__tstate); |
9463 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9464 | } Py_INCREF(Py_None); |
9465 | _resultobj = Py_None; | |
9466 | return _resultobj; | |
9467 | } | |
9468 | ||
9469 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
9470 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9471 | PyObject * _resultobj; | |
9472 | wxStyledTextEvent * _arg0; | |
9473 | int _arg1; | |
9474 | PyObject * _argo0 = 0; | |
9475 | char *_kwnames[] = { "self","val", NULL }; | |
9476 | ||
9477 | self = self; | |
9478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
9479 | return NULL; | |
9480 | if (_argo0) { | |
9481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
9484 | return NULL; | |
9485 | } | |
9486 | } | |
9487 | { | |
4268f798 | 9488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9489 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); |
f6bcfd97 | 9490 | |
4268f798 RD |
9491 | wxPyEndAllowThreads(__tstate); |
9492 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9493 | } Py_INCREF(Py_None); |
9494 | _resultobj = Py_None; | |
9495 | return _resultobj; | |
9496 | } | |
9497 | ||
9498 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
9499 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9500 | PyObject * _resultobj; | |
9501 | wxStyledTextEvent * _arg0; | |
9502 | int _arg1; | |
9503 | PyObject * _argo0 = 0; | |
9504 | char *_kwnames[] = { "self","val", NULL }; | |
9505 | ||
9506 | self = self; | |
9507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
9508 | return NULL; | |
9509 | if (_argo0) { | |
9510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
9513 | return NULL; | |
9514 | } | |
9515 | } | |
9516 | { | |
4268f798 | 9517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9518 | wxStyledTextEvent_SetMargin(_arg0,_arg1); |
f6bcfd97 | 9519 | |
4268f798 RD |
9520 | wxPyEndAllowThreads(__tstate); |
9521 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9522 | } Py_INCREF(Py_None); |
9523 | _resultobj = Py_None; | |
9524 | return _resultobj; | |
9525 | } | |
9526 | ||
9527 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
9528 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9529 | PyObject * _resultobj; | |
9530 | wxStyledTextEvent * _arg0; | |
9531 | int _arg1; | |
9532 | PyObject * _argo0 = 0; | |
9533 | char *_kwnames[] = { "self","val", NULL }; | |
9534 | ||
9535 | self = self; | |
9536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
9537 | return NULL; | |
9538 | if (_argo0) { | |
9539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
9542 | return NULL; | |
9543 | } | |
9544 | } | |
9545 | { | |
4268f798 | 9546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9547 | wxStyledTextEvent_SetMessage(_arg0,_arg1); |
f6bcfd97 | 9548 | |
4268f798 RD |
9549 | wxPyEndAllowThreads(__tstate); |
9550 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9551 | } Py_INCREF(Py_None); |
9552 | _resultobj = Py_None; | |
9553 | return _resultobj; | |
9554 | } | |
9555 | ||
9556 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
9557 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9558 | PyObject * _resultobj; | |
9559 | wxStyledTextEvent * _arg0; | |
9560 | int _arg1; | |
9561 | PyObject * _argo0 = 0; | |
9562 | char *_kwnames[] = { "self","val", NULL }; | |
9563 | ||
9564 | self = self; | |
9565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
9566 | return NULL; | |
9567 | if (_argo0) { | |
9568 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9569 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
9571 | return NULL; | |
9572 | } | |
9573 | } | |
9574 | { | |
4268f798 | 9575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9576 | wxStyledTextEvent_SetWParam(_arg0,_arg1); |
f6bcfd97 | 9577 | |
4268f798 RD |
9578 | wxPyEndAllowThreads(__tstate); |
9579 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9580 | } Py_INCREF(Py_None); |
9581 | _resultobj = Py_None; | |
9582 | return _resultobj; | |
9583 | } | |
9584 | ||
9585 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
9586 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9587 | PyObject * _resultobj; | |
9588 | wxStyledTextEvent * _arg0; | |
9589 | int _arg1; | |
9590 | PyObject * _argo0 = 0; | |
9591 | char *_kwnames[] = { "self","val", NULL }; | |
9592 | ||
9593 | self = self; | |
9594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
9595 | return NULL; | |
9596 | if (_argo0) { | |
9597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
9600 | return NULL; | |
9601 | } | |
9602 | } | |
9603 | { | |
4268f798 | 9604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9605 | wxStyledTextEvent_SetLParam(_arg0,_arg1); |
f6bcfd97 | 9606 | |
4268f798 RD |
9607 | wxPyEndAllowThreads(__tstate); |
9608 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9609 | } Py_INCREF(Py_None); |
9610 | _resultobj = Py_None; | |
9611 | return _resultobj; | |
9612 | } | |
9613 | ||
65ec6247 RD |
9614 | #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0)) |
9615 | static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9616 | PyObject * _resultobj; | |
9617 | wxStyledTextEvent * _arg0; | |
9618 | int _arg1; | |
9619 | PyObject * _argo0 = 0; | |
9620 | char *_kwnames[] = { "self","val", NULL }; | |
9621 | ||
9622 | self = self; | |
9623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1)) | |
9624 | return NULL; | |
9625 | if (_argo0) { | |
9626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p."); | |
9629 | return NULL; | |
9630 | } | |
9631 | } | |
9632 | { | |
4268f798 | 9633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9634 | wxStyledTextEvent_SetListType(_arg0,_arg1); |
65ec6247 | 9635 | |
4268f798 RD |
9636 | wxPyEndAllowThreads(__tstate); |
9637 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9638 | } Py_INCREF(Py_None); |
9639 | _resultobj = Py_None; | |
9640 | return _resultobj; | |
9641 | } | |
9642 | ||
9643 | #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
9644 | static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9645 | PyObject * _resultobj; | |
9646 | wxStyledTextEvent * _arg0; | |
9647 | int _arg1; | |
9648 | PyObject * _argo0 = 0; | |
9649 | char *_kwnames[] = { "self","val", NULL }; | |
9650 | ||
9651 | self = self; | |
9652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1)) | |
9653 | return NULL; | |
9654 | if (_argo0) { | |
9655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p."); | |
9658 | return NULL; | |
9659 | } | |
9660 | } | |
9661 | { | |
4268f798 | 9662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9663 | wxStyledTextEvent_SetX(_arg0,_arg1); |
65ec6247 | 9664 | |
4268f798 RD |
9665 | wxPyEndAllowThreads(__tstate); |
9666 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9667 | } Py_INCREF(Py_None); |
9668 | _resultobj = Py_None; | |
9669 | return _resultobj; | |
9670 | } | |
9671 | ||
9672 | #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
9673 | static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9674 | PyObject * _resultobj; | |
9675 | wxStyledTextEvent * _arg0; | |
9676 | int _arg1; | |
9677 | PyObject * _argo0 = 0; | |
9678 | char *_kwnames[] = { "self","val", NULL }; | |
9679 | ||
9680 | self = self; | |
9681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1)) | |
9682 | return NULL; | |
9683 | if (_argo0) { | |
9684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p."); | |
9687 | return NULL; | |
9688 | } | |
9689 | } | |
9690 | { | |
4268f798 | 9691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9692 | wxStyledTextEvent_SetY(_arg0,_arg1); |
65ec6247 | 9693 | |
4268f798 RD |
9694 | wxPyEndAllowThreads(__tstate); |
9695 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9696 | } Py_INCREF(Py_None); |
9697 | _resultobj = Py_None; | |
9698 | return _resultobj; | |
9699 | } | |
9700 | ||
74933d75 RD |
9701 | #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0)) |
9702 | static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9703 | PyObject * _resultobj; | |
9704 | wxStyledTextEvent * _arg0; | |
9705 | wxString * _arg1; | |
9706 | PyObject * _argo0 = 0; | |
9707 | PyObject * _obj1 = 0; | |
9708 | char *_kwnames[] = { "self","val", NULL }; | |
9709 | ||
9710 | self = self; | |
9711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1)) | |
9712 | return NULL; | |
9713 | if (_argo0) { | |
9714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p."); | |
9717 | return NULL; | |
9718 | } | |
9719 | } | |
9720 | { | |
c8bc7bb8 RD |
9721 | _arg1 = wxString_in_helper(_obj1); |
9722 | if (_arg1 == NULL) | |
74933d75 | 9723 | return NULL; |
74933d75 RD |
9724 | } |
9725 | { | |
4268f798 | 9726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9727 | wxStyledTextEvent_SetDragText(_arg0,*_arg1); |
74933d75 | 9728 | |
4268f798 RD |
9729 | wxPyEndAllowThreads(__tstate); |
9730 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9731 | } Py_INCREF(Py_None); |
9732 | _resultobj = Py_None; | |
9733 | { | |
9734 | if (_obj1) | |
9735 | delete _arg1; | |
9736 | } | |
9737 | return _resultobj; | |
9738 | } | |
9739 | ||
9740 | #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0)) | |
9741 | static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9742 | PyObject * _resultobj; | |
9743 | wxStyledTextEvent * _arg0; | |
9744 | bool _arg1; | |
9745 | PyObject * _argo0 = 0; | |
9746 | int tempbool1; | |
9747 | char *_kwnames[] = { "self","val", NULL }; | |
9748 | ||
9749 | self = self; | |
9750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1)) | |
9751 | return NULL; | |
9752 | if (_argo0) { | |
9753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
9756 | return NULL; | |
9757 | } | |
9758 | } | |
9759 | _arg1 = (bool ) tempbool1; | |
9760 | { | |
4268f798 | 9761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9762 | wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1); |
74933d75 | 9763 | |
4268f798 RD |
9764 | wxPyEndAllowThreads(__tstate); |
9765 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9766 | } Py_INCREF(Py_None); |
9767 | _resultobj = Py_None; | |
9768 | return _resultobj; | |
9769 | } | |
9770 | ||
9771 | #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0)) | |
9772 | static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9773 | PyObject * _resultobj; | |
9774 | wxStyledTextEvent * _arg0; | |
9775 | wxDragResult _arg1; | |
9776 | PyObject * _argo0 = 0; | |
9777 | char *_kwnames[] = { "self","val", NULL }; | |
9778 | ||
9779 | self = self; | |
9780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1)) | |
9781 | return NULL; | |
9782 | if (_argo0) { | |
9783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p."); | |
9786 | return NULL; | |
9787 | } | |
9788 | } | |
9789 | { | |
4268f798 | 9790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9791 | wxStyledTextEvent_SetDragResult(_arg0,_arg1); |
74933d75 | 9792 | |
4268f798 RD |
9793 | wxPyEndAllowThreads(__tstate); |
9794 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9795 | } Py_INCREF(Py_None); |
9796 | _resultobj = Py_None; | |
9797 | return _resultobj; | |
9798 | } | |
9799 | ||
f6bcfd97 BP |
9800 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
9801 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9802 | PyObject * _resultobj; | |
9803 | int _result; | |
9804 | wxStyledTextEvent * _arg0; | |
9805 | PyObject * _argo0 = 0; | |
9806 | char *_kwnames[] = { "self", NULL }; | |
9807 | ||
9808 | self = self; | |
9809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
9810 | return NULL; | |
9811 | if (_argo0) { | |
9812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
9815 | return NULL; | |
9816 | } | |
9817 | } | |
9818 | { | |
4268f798 | 9819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9820 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); |
f6bcfd97 | 9821 | |
4268f798 RD |
9822 | wxPyEndAllowThreads(__tstate); |
9823 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9824 | } _resultobj = Py_BuildValue("i",_result); |
9825 | return _resultobj; | |
9826 | } | |
9827 | ||
9828 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
9829 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9830 | PyObject * _resultobj; | |
9831 | int _result; | |
9832 | wxStyledTextEvent * _arg0; | |
9833 | PyObject * _argo0 = 0; | |
9834 | char *_kwnames[] = { "self", NULL }; | |
9835 | ||
9836 | self = self; | |
9837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
9838 | return NULL; | |
9839 | if (_argo0) { | |
9840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
9843 | return NULL; | |
9844 | } | |
9845 | } | |
9846 | { | |
4268f798 | 9847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9848 | _result = (int )wxStyledTextEvent_GetKey(_arg0); |
f6bcfd97 | 9849 | |
4268f798 RD |
9850 | wxPyEndAllowThreads(__tstate); |
9851 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9852 | } _resultobj = Py_BuildValue("i",_result); |
9853 | return _resultobj; | |
9854 | } | |
9855 | ||
9856 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
9857 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9858 | PyObject * _resultobj; | |
9859 | int _result; | |
9860 | wxStyledTextEvent * _arg0; | |
9861 | PyObject * _argo0 = 0; | |
9862 | char *_kwnames[] = { "self", NULL }; | |
9863 | ||
9864 | self = self; | |
9865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
9866 | return NULL; | |
9867 | if (_argo0) { | |
9868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
9871 | return NULL; | |
9872 | } | |
9873 | } | |
9874 | { | |
4268f798 | 9875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9876 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); |
f6bcfd97 | 9877 | |
4268f798 RD |
9878 | wxPyEndAllowThreads(__tstate); |
9879 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9880 | } _resultobj = Py_BuildValue("i",_result); |
9881 | return _resultobj; | |
9882 | } | |
9883 | ||
9884 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
9885 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9886 | PyObject * _resultobj; | |
9887 | int _result; | |
9888 | wxStyledTextEvent * _arg0; | |
9889 | PyObject * _argo0 = 0; | |
9890 | char *_kwnames[] = { "self", NULL }; | |
9891 | ||
9892 | self = self; | |
9893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
9894 | return NULL; | |
9895 | if (_argo0) { | |
9896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
9899 | return NULL; | |
9900 | } | |
9901 | } | |
9902 | { | |
4268f798 | 9903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9904 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); |
f6bcfd97 | 9905 | |
4268f798 RD |
9906 | wxPyEndAllowThreads(__tstate); |
9907 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9908 | } _resultobj = Py_BuildValue("i",_result); |
9909 | return _resultobj; | |
9910 | } | |
9911 | ||
9912 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
9913 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9914 | PyObject * _resultobj; | |
9915 | wxString * _result; | |
9916 | wxStyledTextEvent * _arg0; | |
9917 | PyObject * _argo0 = 0; | |
9918 | char *_kwnames[] = { "self", NULL }; | |
9919 | ||
9920 | self = self; | |
9921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
9922 | return NULL; | |
9923 | if (_argo0) { | |
9924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
9927 | return NULL; | |
9928 | } | |
9929 | } | |
9930 | { | |
4268f798 | 9931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9932 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); |
f6bcfd97 | 9933 | |
4268f798 RD |
9934 | wxPyEndAllowThreads(__tstate); |
9935 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 | 9936 | }{ |
c8bc7bb8 RD |
9937 | #if wxUSE_UNICODE |
9938 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9939 | #else | |
f6bcfd97 | 9940 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9941 | #endif |
f6bcfd97 BP |
9942 | } |
9943 | { | |
9944 | delete _result; | |
9945 | } | |
9946 | return _resultobj; | |
9947 | } | |
9948 | ||
9949 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
9950 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9951 | PyObject * _resultobj; | |
9952 | int _result; | |
9953 | wxStyledTextEvent * _arg0; | |
9954 | PyObject * _argo0 = 0; | |
9955 | char *_kwnames[] = { "self", NULL }; | |
9956 | ||
9957 | self = self; | |
9958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
9959 | return NULL; | |
9960 | if (_argo0) { | |
9961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
9964 | return NULL; | |
9965 | } | |
9966 | } | |
9967 | { | |
4268f798 | 9968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9969 | _result = (int )wxStyledTextEvent_GetLength(_arg0); |
f6bcfd97 | 9970 | |
4268f798 RD |
9971 | wxPyEndAllowThreads(__tstate); |
9972 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9973 | } _resultobj = Py_BuildValue("i",_result); |
9974 | return _resultobj; | |
9975 | } | |
9976 | ||
9977 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
9978 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9979 | PyObject * _resultobj; | |
9980 | int _result; | |
9981 | wxStyledTextEvent * _arg0; | |
9982 | PyObject * _argo0 = 0; | |
9983 | char *_kwnames[] = { "self", NULL }; | |
9984 | ||
9985 | self = self; | |
9986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
9987 | return NULL; | |
9988 | if (_argo0) { | |
9989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9992 | return NULL; | |
9993 | } | |
9994 | } | |
9995 | { | |
4268f798 | 9996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9997 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); |
f6bcfd97 | 9998 | |
4268f798 RD |
9999 | wxPyEndAllowThreads(__tstate); |
10000 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10001 | } _resultobj = Py_BuildValue("i",_result); |
10002 | return _resultobj; | |
10003 | } | |
10004 | ||
10005 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
10006 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10007 | PyObject * _resultobj; | |
10008 | int _result; | |
10009 | wxStyledTextEvent * _arg0; | |
10010 | PyObject * _argo0 = 0; | |
10011 | char *_kwnames[] = { "self", NULL }; | |
10012 | ||
10013 | self = self; | |
10014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
10015 | return NULL; | |
10016 | if (_argo0) { | |
10017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
10020 | return NULL; | |
10021 | } | |
10022 | } | |
10023 | { | |
4268f798 | 10024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10025 | _result = (int )wxStyledTextEvent_GetLine(_arg0); |
f6bcfd97 | 10026 | |
4268f798 RD |
10027 | wxPyEndAllowThreads(__tstate); |
10028 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10029 | } _resultobj = Py_BuildValue("i",_result); |
10030 | return _resultobj; | |
10031 | } | |
10032 | ||
10033 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
10034 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10035 | PyObject * _resultobj; | |
10036 | int _result; | |
10037 | wxStyledTextEvent * _arg0; | |
10038 | PyObject * _argo0 = 0; | |
10039 | char *_kwnames[] = { "self", NULL }; | |
10040 | ||
10041 | self = self; | |
10042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
10043 | return NULL; | |
10044 | if (_argo0) { | |
10045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
10048 | return NULL; | |
10049 | } | |
10050 | } | |
10051 | { | |
4268f798 | 10052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10053 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); |
f6bcfd97 | 10054 | |
4268f798 RD |
10055 | wxPyEndAllowThreads(__tstate); |
10056 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10057 | } _resultobj = Py_BuildValue("i",_result); |
10058 | return _resultobj; | |
10059 | } | |
10060 | ||
10061 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
10062 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10063 | PyObject * _resultobj; | |
10064 | int _result; | |
10065 | wxStyledTextEvent * _arg0; | |
10066 | PyObject * _argo0 = 0; | |
10067 | char *_kwnames[] = { "self", NULL }; | |
10068 | ||
10069 | self = self; | |
10070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
10071 | return NULL; | |
10072 | if (_argo0) { | |
10073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
10076 | return NULL; | |
10077 | } | |
10078 | } | |
10079 | { | |
4268f798 | 10080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10081 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); |
f6bcfd97 | 10082 | |
4268f798 RD |
10083 | wxPyEndAllowThreads(__tstate); |
10084 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10085 | } _resultobj = Py_BuildValue("i",_result); |
10086 | return _resultobj; | |
10087 | } | |
10088 | ||
10089 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
10090 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10091 | PyObject * _resultobj; | |
10092 | int _result; | |
10093 | wxStyledTextEvent * _arg0; | |
10094 | PyObject * _argo0 = 0; | |
10095 | char *_kwnames[] = { "self", NULL }; | |
10096 | ||
10097 | self = self; | |
10098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
10099 | return NULL; | |
10100 | if (_argo0) { | |
10101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
10104 | return NULL; | |
10105 | } | |
10106 | } | |
10107 | { | |
4268f798 | 10108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10109 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); |
f6bcfd97 | 10110 | |
4268f798 RD |
10111 | wxPyEndAllowThreads(__tstate); |
10112 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10113 | } _resultobj = Py_BuildValue("i",_result); |
10114 | return _resultobj; | |
10115 | } | |
10116 | ||
10117 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
10118 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10119 | PyObject * _resultobj; | |
10120 | int _result; | |
10121 | wxStyledTextEvent * _arg0; | |
10122 | PyObject * _argo0 = 0; | |
10123 | char *_kwnames[] = { "self", NULL }; | |
10124 | ||
10125 | self = self; | |
10126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
10127 | return NULL; | |
10128 | if (_argo0) { | |
10129 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10130 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
10132 | return NULL; | |
10133 | } | |
10134 | } | |
10135 | { | |
4268f798 | 10136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10137 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); |
f6bcfd97 | 10138 | |
4268f798 RD |
10139 | wxPyEndAllowThreads(__tstate); |
10140 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10141 | } _resultobj = Py_BuildValue("i",_result); |
10142 | return _resultobj; | |
10143 | } | |
10144 | ||
10145 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
10146 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10147 | PyObject * _resultobj; | |
10148 | int _result; | |
10149 | wxStyledTextEvent * _arg0; | |
10150 | PyObject * _argo0 = 0; | |
10151 | char *_kwnames[] = { "self", NULL }; | |
10152 | ||
10153 | self = self; | |
10154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
10155 | return NULL; | |
10156 | if (_argo0) { | |
10157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
10160 | return NULL; | |
10161 | } | |
10162 | } | |
10163 | { | |
4268f798 | 10164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10165 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); |
f6bcfd97 | 10166 | |
4268f798 RD |
10167 | wxPyEndAllowThreads(__tstate); |
10168 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10169 | } _resultobj = Py_BuildValue("i",_result); |
10170 | return _resultobj; | |
10171 | } | |
10172 | ||
10173 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
10174 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10175 | PyObject * _resultobj; | |
10176 | int _result; | |
10177 | wxStyledTextEvent * _arg0; | |
10178 | PyObject * _argo0 = 0; | |
10179 | char *_kwnames[] = { "self", NULL }; | |
10180 | ||
10181 | self = self; | |
10182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
10183 | return NULL; | |
10184 | if (_argo0) { | |
10185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
10188 | return NULL; | |
10189 | } | |
10190 | } | |
10191 | { | |
4268f798 | 10192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10193 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); |
f6bcfd97 | 10194 | |
4268f798 RD |
10195 | wxPyEndAllowThreads(__tstate); |
10196 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10197 | } _resultobj = Py_BuildValue("i",_result); |
10198 | return _resultobj; | |
10199 | } | |
10200 | ||
65ec6247 RD |
10201 | #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType()) |
10202 | static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10203 | PyObject * _resultobj; | |
10204 | int _result; | |
10205 | wxStyledTextEvent * _arg0; | |
10206 | PyObject * _argo0 = 0; | |
10207 | char *_kwnames[] = { "self", NULL }; | |
10208 | ||
10209 | self = self; | |
10210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0)) | |
10211 | return NULL; | |
10212 | if (_argo0) { | |
10213 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10214 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p."); | |
10216 | return NULL; | |
10217 | } | |
10218 | } | |
10219 | { | |
4268f798 | 10220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10221 | _result = (int )wxStyledTextEvent_GetListType(_arg0); |
65ec6247 | 10222 | |
4268f798 RD |
10223 | wxPyEndAllowThreads(__tstate); |
10224 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10225 | } _resultobj = Py_BuildValue("i",_result); |
10226 | return _resultobj; | |
10227 | } | |
10228 | ||
10229 | #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX()) | |
10230 | static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10231 | PyObject * _resultobj; | |
10232 | int _result; | |
10233 | wxStyledTextEvent * _arg0; | |
10234 | PyObject * _argo0 = 0; | |
10235 | char *_kwnames[] = { "self", NULL }; | |
10236 | ||
10237 | self = self; | |
10238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0)) | |
10239 | return NULL; | |
10240 | if (_argo0) { | |
10241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p."); | |
10244 | return NULL; | |
10245 | } | |
10246 | } | |
10247 | { | |
4268f798 | 10248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10249 | _result = (int )wxStyledTextEvent_GetX(_arg0); |
65ec6247 | 10250 | |
4268f798 RD |
10251 | wxPyEndAllowThreads(__tstate); |
10252 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10253 | } _resultobj = Py_BuildValue("i",_result); |
10254 | return _resultobj; | |
10255 | } | |
10256 | ||
10257 | #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY()) | |
10258 | static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10259 | PyObject * _resultobj; | |
10260 | int _result; | |
10261 | wxStyledTextEvent * _arg0; | |
10262 | PyObject * _argo0 = 0; | |
10263 | char *_kwnames[] = { "self", NULL }; | |
10264 | ||
10265 | self = self; | |
10266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0)) | |
10267 | return NULL; | |
10268 | if (_argo0) { | |
10269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p."); | |
10272 | return NULL; | |
10273 | } | |
10274 | } | |
10275 | { | |
4268f798 | 10276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10277 | _result = (int )wxStyledTextEvent_GetY(_arg0); |
65ec6247 | 10278 | |
4268f798 RD |
10279 | wxPyEndAllowThreads(__tstate); |
10280 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10281 | } _resultobj = Py_BuildValue("i",_result); |
10282 | return _resultobj; | |
10283 | } | |
10284 | ||
74933d75 RD |
10285 | #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText()) |
10286 | static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10287 | PyObject * _resultobj; | |
10288 | wxString * _result; | |
10289 | wxStyledTextEvent * _arg0; | |
10290 | PyObject * _argo0 = 0; | |
10291 | char *_kwnames[] = { "self", NULL }; | |
10292 | ||
10293 | self = self; | |
10294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0)) | |
10295 | return NULL; | |
10296 | if (_argo0) { | |
10297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p."); | |
10300 | return NULL; | |
10301 | } | |
10302 | } | |
10303 | { | |
4268f798 | 10304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10305 | _result = new wxString (wxStyledTextEvent_GetDragText(_arg0)); |
74933d75 | 10306 | |
4268f798 RD |
10307 | wxPyEndAllowThreads(__tstate); |
10308 | if (PyErr_Occurred()) return NULL; | |
74933d75 | 10309 | }{ |
c8bc7bb8 RD |
10310 | #if wxUSE_UNICODE |
10311 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10312 | #else | |
74933d75 | 10313 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 10314 | #endif |
74933d75 RD |
10315 | } |
10316 | { | |
10317 | delete _result; | |
10318 | } | |
10319 | return _resultobj; | |
10320 | } | |
10321 | ||
10322 | #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove()) | |
10323 | static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10324 | PyObject * _resultobj; | |
10325 | bool _result; | |
10326 | wxStyledTextEvent * _arg0; | |
10327 | PyObject * _argo0 = 0; | |
10328 | char *_kwnames[] = { "self", NULL }; | |
10329 | ||
10330 | self = self; | |
10331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0)) | |
10332 | return NULL; | |
10333 | if (_argo0) { | |
10334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
10337 | return NULL; | |
10338 | } | |
10339 | } | |
10340 | { | |
4268f798 | 10341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10342 | _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0); |
74933d75 | 10343 | |
4268f798 RD |
10344 | wxPyEndAllowThreads(__tstate); |
10345 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
10346 | } _resultobj = Py_BuildValue("i",_result); |
10347 | return _resultobj; | |
10348 | } | |
10349 | ||
10350 | #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult()) | |
10351 | static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10352 | PyObject * _resultobj; | |
10353 | wxDragResult _result; | |
10354 | wxStyledTextEvent * _arg0; | |
10355 | PyObject * _argo0 = 0; | |
10356 | char *_kwnames[] = { "self", NULL }; | |
10357 | ||
10358 | self = self; | |
10359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0)) | |
10360 | return NULL; | |
10361 | if (_argo0) { | |
10362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p."); | |
10365 | return NULL; | |
10366 | } | |
10367 | } | |
10368 | { | |
4268f798 | 10369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10370 | _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0); |
74933d75 | 10371 | |
4268f798 RD |
10372 | wxPyEndAllowThreads(__tstate); |
10373 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
10374 | } _resultobj = Py_BuildValue("i",_result); |
10375 | return _resultobj; | |
10376 | } | |
10377 | ||
f6bcfd97 BP |
10378 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) |
10379 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10380 | PyObject * _resultobj; | |
10381 | bool _result; | |
10382 | wxStyledTextEvent * _arg0; | |
10383 | PyObject * _argo0 = 0; | |
10384 | char *_kwnames[] = { "self", NULL }; | |
10385 | ||
10386 | self = self; | |
10387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
10388 | return NULL; | |
10389 | if (_argo0) { | |
10390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
10393 | return NULL; | |
10394 | } | |
10395 | } | |
10396 | { | |
4268f798 | 10397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10398 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); |
f6bcfd97 | 10399 | |
4268f798 RD |
10400 | wxPyEndAllowThreads(__tstate); |
10401 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10402 | } _resultobj = Py_BuildValue("i",_result); |
10403 | return _resultobj; | |
10404 | } | |
10405 | ||
10406 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
10407 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10408 | PyObject * _resultobj; | |
10409 | bool _result; | |
10410 | wxStyledTextEvent * _arg0; | |
10411 | PyObject * _argo0 = 0; | |
10412 | char *_kwnames[] = { "self", NULL }; | |
10413 | ||
10414 | self = self; | |
10415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
10416 | return NULL; | |
10417 | if (_argo0) { | |
10418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
10421 | return NULL; | |
10422 | } | |
10423 | } | |
10424 | { | |
4268f798 | 10425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10426 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); |
f6bcfd97 | 10427 | |
4268f798 RD |
10428 | wxPyEndAllowThreads(__tstate); |
10429 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10430 | } _resultobj = Py_BuildValue("i",_result); |
10431 | return _resultobj; | |
10432 | } | |
10433 | ||
10434 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
10435 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10436 | PyObject * _resultobj; | |
10437 | bool _result; | |
10438 | wxStyledTextEvent * _arg0; | |
10439 | PyObject * _argo0 = 0; | |
10440 | char *_kwnames[] = { "self", NULL }; | |
10441 | ||
10442 | self = self; | |
10443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
10444 | return NULL; | |
10445 | if (_argo0) { | |
10446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
10449 | return NULL; | |
10450 | } | |
10451 | } | |
10452 | { | |
4268f798 | 10453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10454 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); |
f6bcfd97 | 10455 | |
4268f798 RD |
10456 | wxPyEndAllowThreads(__tstate); |
10457 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10458 | } _resultobj = Py_BuildValue("i",_result); |
10459 | return _resultobj; | |
10460 | } | |
10461 | ||
ebf4302c RD |
10462 | #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone()) |
10463 | static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 10464 | PyObject * _resultobj; |
ebf4302c | 10465 | wxEvent * _result; |
f6bcfd97 | 10466 | wxStyledTextEvent * _arg0; |
f6bcfd97 | 10467 | PyObject * _argo0 = 0; |
ebf4302c RD |
10468 | char *_kwnames[] = { "self", NULL }; |
10469 | char _ptemp[128]; | |
f6bcfd97 BP |
10470 | |
10471 | self = self; | |
ebf4302c | 10472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0)) |
f6bcfd97 BP |
10473 | return NULL; |
10474 | if (_argo0) { | |
10475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
ebf4302c | 10477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p."); |
f6bcfd97 BP |
10478 | return NULL; |
10479 | } | |
10480 | } | |
10481 | { | |
4268f798 | 10482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10483 | _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0); |
f6bcfd97 | 10484 | |
4268f798 RD |
10485 | wxPyEndAllowThreads(__tstate); |
10486 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
10487 | } if (_result) { |
10488 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p"); | |
10489 | _resultobj = Py_BuildValue("s",_ptemp); | |
10490 | } else { | |
10491 | Py_INCREF(Py_None); | |
10492 | _resultobj = Py_None; | |
10493 | } | |
f6bcfd97 BP |
10494 | return _resultobj; |
10495 | } | |
10496 | ||
10497 | static PyMethodDef stc_cMethods[] = { | |
ebf4302c | 10498 | { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10499 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, |
10500 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
10501 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
74933d75 RD |
10502 | { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10503 | { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10504 | { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10505 | { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
10506 | { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
10507 | { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10508 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, |
10509 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10510 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10511 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10512 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10513 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10514 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10515 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10516 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10517 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10518 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10519 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10520 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
10521 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
74933d75 RD |
10522 | { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10523 | { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10524 | { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10525 | { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, |
10526 | { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
10527 | { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10528 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, |
10529 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10530 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10531 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10532 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10533 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10534 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
10535 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10536 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
10537 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10538 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10539 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10540 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
10541 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
10542 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
10543 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
ebf4302c RD |
10544 | { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, |
10545 | { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10546 | { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, |
ea7c631c RD |
10547 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, |
10548 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10549 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, |
10550 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10551 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10552 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
10553 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
10554 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
10555 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
10556 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10557 | { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10558 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10559 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, |
10560 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
10561 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
10562 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10563 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, |
10564 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10565 | { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, |
10566 | { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10567 | { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, |
10568 | { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
10569 | { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
10570 | { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
10571 | { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
10572 | { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
10573 | { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10574 | { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, |
10575 | { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10576 | { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS }, |
10577 | { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10578 | { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10579 | { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10580 | { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
10581 | { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
fea018f8 RD |
10582 | { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, |
10583 | { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10584 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
10585 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
10586 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
10587 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
10588 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10589 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10590 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
10591 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
10592 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
10593 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
10594 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
10595 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
10596 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10597 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, |
10598 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
10599 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10600 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10601 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
10602 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10603 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
10604 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10605 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10606 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10607 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10608 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
10609 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
10610 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10611 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10612 | { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, |
1a2fb4cd RD |
10613 | { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, |
10614 | { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
10615 | { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10616 | { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10617 | { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10618 | { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10619 | { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, |
10620 | { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
10621 | { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10622 | { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10623 | { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10624 | { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10625 | { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10626 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, |
10627 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
10628 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
10629 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10630 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10631 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10632 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
10633 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
10634 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
10635 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
10636 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10637 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10638 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
10639 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10640 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, |
10641 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10642 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10643 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
10644 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
10645 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10646 | { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, |
10647 | { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
10648 | { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
10649 | { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
10650 | { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
10651 | { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10652 | { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10653 | { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10654 | { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10655 | { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
10656 | { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10657 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, |
10658 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
10659 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
10660 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10661 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10662 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
10663 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
10664 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
10665 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
10666 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
10667 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
10668 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
10669 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
10670 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10671 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
10672 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
10673 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
10674 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
10675 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
10676 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
10677 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
10678 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
10679 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10680 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
10681 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10682 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10683 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10684 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10685 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
10686 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10687 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
10688 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
10689 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
10690 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10691 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10692 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10693 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10694 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10695 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10696 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10697 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10698 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
10699 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10700 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
10701 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10702 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10703 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10704 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10705 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10706 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10707 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10708 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10709 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
10710 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
10711 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10712 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10713 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10714 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10715 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10716 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10717 | { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, |
10718 | { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10719 | { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, |
10720 | { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
10721 | { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10722 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, |
10723 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
10724 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10725 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10726 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
10727 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10728 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10729 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, |
10730 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
10731 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 | 10732 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10733 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10734 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10735 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, |
10736 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
10737 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd | 10738 | { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, |
65ec6247 RD |
10739 | { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, |
10740 | { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
10741 | { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10742 | { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10743 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, |
10744 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10745 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10746 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10747 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10748 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10749 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10750 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, |
10751 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10752 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, |
10753 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10754 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10755 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, |
10756 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10757 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, |
10758 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
10759 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10760 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
10761 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10762 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10763 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, |
10764 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
10ef30eb | 10765 | { "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, |
65ec6247 | 10766 | { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10767 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10768 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10769 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10770 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10771 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10772 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, |
10773 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10774 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, |
10775 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10776 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10777 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, |
10778 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
10779 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
10787 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
10788 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
10789 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
10790 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
10791 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10792 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10793 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
10794 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10795 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10797 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10798 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10799 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10800 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10801 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, |
10802 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10803 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, |
10804 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
10805 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10806 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10807 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, |
10808 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10809 | { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10810 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10811 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, |
10812 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10813 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10814 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, |
10815 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10816 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10817 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, |
10818 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
10819 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10820 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10821 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10822 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10823 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, |
10824 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10825 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10826 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, |
10827 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10828 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, |
10829 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
10830 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
10831 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10832 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, |
10833 | { NULL, NULL } | |
10834 | }; | |
10835 | #ifdef __cplusplus | |
10836 | } | |
10837 | #endif | |
10838 | /* | |
10839 | * This table is used by the pointer type-checker | |
10840 | */ | |
10841 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
f6bcfd97 | 10842 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, |
f6bcfd97 | 10843 | { "_signed_long","_long",0}, |
f6bcfd97 BP |
10844 | { "_wxPrintQuality","_wxCoord",0}, |
10845 | { "_wxPrintQuality","_int",0}, | |
10846 | { "_wxPrintQuality","_signed_int",0}, | |
10847 | { "_wxPrintQuality","_unsigned_int",0}, | |
10848 | { "_wxPrintQuality","_wxWindowID",0}, | |
10849 | { "_wxPrintQuality","_uint",0}, | |
10850 | { "_wxPrintQuality","_EBool",0}, | |
10851 | { "_wxPrintQuality","_size_t",0}, | |
fe47ec10 | 10852 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 10853 | { "_byte","_unsigned_char",0}, |
f6bcfd97 BP |
10854 | { "_long","_unsigned_long",0}, |
10855 | { "_long","_signed_long",0}, | |
f6bcfd97 BP |
10856 | { "_size_t","_wxCoord",0}, |
10857 | { "_size_t","_wxPrintQuality",0}, | |
fe47ec10 | 10858 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
10859 | { "_size_t","_unsigned_int",0}, |
10860 | { "_size_t","_int",0}, | |
10861 | { "_size_t","_wxWindowID",0}, | |
10862 | { "_size_t","_uint",0}, | |
f6bcfd97 BP |
10863 | { "_uint","_wxCoord",0}, |
10864 | { "_uint","_wxPrintQuality",0}, | |
fe47ec10 | 10865 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
10866 | { "_uint","_size_t",0}, |
10867 | { "_uint","_unsigned_int",0}, | |
10868 | { "_uint","_int",0}, | |
10869 | { "_uint","_wxWindowID",0}, | |
10870 | { "_wxChar","_char",0}, | |
f6bcfd97 | 10871 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, |
f6bcfd97 | 10872 | { "_char","_wxChar",0}, |
fea018f8 | 10873 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
f6bcfd97 BP |
10874 | { "_EBool","_wxCoord",0}, |
10875 | { "_EBool","_wxPrintQuality",0}, | |
10876 | { "_EBool","_signed_int",0}, | |
10877 | { "_EBool","_int",0}, | |
10878 | { "_EBool","_wxWindowID",0}, | |
f6bcfd97 | 10879 | { "_unsigned_long","_long",0}, |
fea018f8 | 10880 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
f6bcfd97 BP |
10881 | { "_signed_int","_wxCoord",0}, |
10882 | { "_signed_int","_wxPrintQuality",0}, | |
10883 | { "_signed_int","_EBool",0}, | |
10884 | { "_signed_int","_wxWindowID",0}, | |
10885 | { "_signed_int","_int",0}, | |
ea7c631c | 10886 | { "_WXTYPE","_wxDateTime_t",0}, |
f6bcfd97 BP |
10887 | { "_WXTYPE","_short",0}, |
10888 | { "_WXTYPE","_signed_short",0}, | |
10889 | { "_WXTYPE","_unsigned_short",0}, | |
ea7c631c | 10890 | { "_unsigned_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
10891 | { "_unsigned_short","_WXTYPE",0}, |
10892 | { "_unsigned_short","_short",0}, | |
493f1553 RD |
10893 | { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject}, |
10894 | { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject}, | |
f6bcfd97 BP |
10895 | { "_signed_short","_WXTYPE",0}, |
10896 | { "_signed_short","_short",0}, | |
f6bcfd97 | 10897 | { "_unsigned_char","_byte",0}, |
f6bcfd97 | 10898 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, |
f6bcfd97 BP |
10899 | { "_unsigned_int","_wxCoord",0}, |
10900 | { "_unsigned_int","_wxPrintQuality",0}, | |
fe47ec10 | 10901 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
10902 | { "_unsigned_int","_size_t",0}, |
10903 | { "_unsigned_int","_uint",0}, | |
10904 | { "_unsigned_int","_wxWindowID",0}, | |
10905 | { "_unsigned_int","_int",0}, | |
ea7c631c | 10906 | { "_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
10907 | { "_short","_WXTYPE",0}, |
10908 | { "_short","_unsigned_short",0}, | |
10909 | { "_short","_signed_short",0}, | |
f6bcfd97 BP |
10910 | { "_wxWindowID","_wxCoord",0}, |
10911 | { "_wxWindowID","_wxPrintQuality",0}, | |
fe47ec10 | 10912 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
10913 | { "_wxWindowID","_size_t",0}, |
10914 | { "_wxWindowID","_EBool",0}, | |
10915 | { "_wxWindowID","_uint",0}, | |
10916 | { "_wxWindowID","_int",0}, | |
10917 | { "_wxWindowID","_signed_int",0}, | |
10918 | { "_wxWindowID","_unsigned_int",0}, | |
f6bcfd97 BP |
10919 | { "_int","_wxCoord",0}, |
10920 | { "_int","_wxPrintQuality",0}, | |
fe47ec10 | 10921 | { "_int","_time_t",0}, |
f6bcfd97 BP |
10922 | { "_int","_size_t",0}, |
10923 | { "_int","_EBool",0}, | |
10924 | { "_int","_uint",0}, | |
10925 | { "_int","_wxWindowID",0}, | |
10926 | { "_int","_unsigned_int",0}, | |
10927 | { "_int","_signed_int",0}, | |
ea7c631c RD |
10928 | { "_wxDateTime_t","_unsigned_short",0}, |
10929 | { "_wxDateTime_t","_short",0}, | |
10930 | { "_wxDateTime_t","_WXTYPE",0}, | |
fe47ec10 RD |
10931 | { "_time_t","_wxCoord",0}, |
10932 | { "_time_t","_wxPrintQuality",0}, | |
10933 | { "_time_t","_unsigned_int",0}, | |
10934 | { "_time_t","_int",0}, | |
10935 | { "_time_t","_wxWindowID",0}, | |
10936 | { "_time_t","_uint",0}, | |
10937 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
10938 | { "_wxCoord","_int",0}, |
10939 | { "_wxCoord","_signed_int",0}, | |
10940 | { "_wxCoord","_unsigned_int",0}, | |
10941 | { "_wxCoord","_wxWindowID",0}, | |
10942 | { "_wxCoord","_uint",0}, | |
10943 | { "_wxCoord","_EBool",0}, | |
10944 | { "_wxCoord","_size_t",0}, | |
fe47ec10 | 10945 | { "_wxCoord","_time_t",0}, |
f6bcfd97 | 10946 | { "_wxCoord","_wxPrintQuality",0}, |
f6bcfd97 | 10947 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, |
f6bcfd97 | 10948 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, |
f6bcfd97 BP |
10949 | {0,0,0}}; |
10950 | ||
10951 | static PyObject *SWIG_globals; | |
10952 | #ifdef __cplusplus | |
10953 | extern "C" | |
10954 | #endif | |
10955 | SWIGEXPORT(void) initstc_c() { | |
10956 | PyObject *m, *d; | |
10957 | SWIG_globals = SWIG_newvarlink(); | |
10958 | m = Py_InitModule("stc_c", stc_cMethods); | |
10959 | d = PyModule_GetDict(m); | |
fe47ec10 RD |
10960 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
10961 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
10962 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
10963 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
10964 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
10965 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
10966 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
10967 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
10968 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
10969 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
10970 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
10971 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
10972 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
f6bcfd97 BP |
10973 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); |
10974 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
10975 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
10976 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
10977 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
10978 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
10979 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
10980 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
10981 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
10982 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
65ec6247 RD |
10983 | PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9)); |
10984 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10)); | |
10985 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11)); | |
10986 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12)); | |
10987 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13)); | |
10988 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14)); | |
10989 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15)); | |
10990 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16)); | |
10991 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17)); | |
10992 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18)); | |
10993 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19)); | |
10994 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20)); | |
10995 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21)); | |
1a2fb4cd | 10996 | PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22)); |
fe0aca37 | 10997 | PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000)); |
65ec6247 RD |
10998 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25)); |
10999 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26)); | |
11000 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27)); | |
11001 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28)); | |
11002 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29)); | |
f6bcfd97 BP |
11003 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); |
11004 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
1a2fb4cd | 11005 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000)); |
fe47ec10 RD |
11006 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
11007 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
11008 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
11009 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
11010 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
11011 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
11012 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
11013 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
fe0aca37 | 11014 | PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39)); |
fe47ec10 RD |
11015 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); |
11016 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
11017 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
11018 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
11019 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
11020 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
11021 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
11022 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
11023 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
11024 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
11025 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
11026 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
11027 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
11028 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
11029 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
11030 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
11031 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
11032 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
11033 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
11034 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
65ec6247 RD |
11035 | PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0)); |
11036 | PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1)); | |
11037 | PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2)); | |
f6bcfd97 BP |
11038 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); |
11039 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
11040 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
11041 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
11042 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
11043 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
1a2fb4cd RD |
11044 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20)); |
11045 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40)); | |
11046 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80)); | |
11047 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0)); | |
fe47ec10 RD |
11048 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
11049 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
11050 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
65ec6247 RD |
11051 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3)); |
11052 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4)); | |
fe47ec10 RD |
11053 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); |
11054 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
11055 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
11056 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
11057 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
11058 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
11059 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
11060 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
11061 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
f6bcfd97 BP |
11062 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); |
11063 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
11064 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
65ec6247 | 11065 | PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000)); |
1a2fb4cd RD |
11066 | PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0)); |
11067 | PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1)); | |
11068 | PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0)); | |
11069 | PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1)); | |
11070 | PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2)); | |
11071 | PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3)); | |
fe47ec10 RD |
11072 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
11073 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
11074 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
11075 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
11076 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
11077 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
11078 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
11079 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
11080 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
11081 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
11082 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
11083 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
11084 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
11085 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
11086 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
11087 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
11088 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
11089 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
11090 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
11091 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
11092 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
11093 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
11094 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
11095 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
11096 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
11097 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
11098 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
11099 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
11100 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
11101 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
11102 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
11103 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
11104 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
11105 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
11106 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
11107 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
11108 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
11109 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
11110 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
11111 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
11112 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
11113 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
11114 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
11115 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
1a2fb4cd | 11116 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344)); |
fe47ec10 RD |
11117 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); |
11118 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
11119 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
f6bcfd97 | 11120 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
fe47ec10 | 11121 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); |
f6bcfd97 | 11122 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); |
65ec6247 RD |
11123 | PyDict_SetItemString(d,"wxSTC_CARET_XEVEN", PyInt_FromLong((long) 0x08)); |
11124 | PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10)); | |
11125 | PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1)); | |
11126 | PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3)); | |
11127 | PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01)); | |
11128 | PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04)); | |
fe47ec10 RD |
11129 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
11130 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
11131 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
11132 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
11133 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
11134 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
11135 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
11136 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
11137 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
11138 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
11139 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
11140 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
11141 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
11142 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
11143 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
11144 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
11145 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
11146 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
11147 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
11148 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
11149 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
11150 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
11151 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
11152 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
11153 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
11154 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
11155 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
11156 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
11157 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
11158 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
11159 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
11160 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
11161 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
11162 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
11163 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
11164 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
11165 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
11166 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
11167 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
11168 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
11169 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
11170 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
11171 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
11172 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
11173 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
11174 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
11175 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
11176 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
11177 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
65ec6247 RD |
11178 | PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17)); |
11179 | PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18)); | |
11180 | PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19)); | |
11181 | PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20)); | |
11182 | PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21)); | |
11183 | PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22)); | |
11184 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23)); | |
11185 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24)); | |
11186 | PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25)); | |
fe0aca37 | 11187 | PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26)); |
1a2fb4cd RD |
11188 | PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27)); |
11189 | PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28)); | |
11190 | PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29)); | |
11191 | PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30)); | |
11192 | PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31)); | |
11193 | PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32)); | |
65ec6247 | 11194 | PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000)); |
fe47ec10 RD |
11195 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); |
11196 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11197 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
11198 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
11199 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
11200 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
11201 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
11202 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
11203 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
11204 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
11205 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
11206 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11207 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
11208 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
11209 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
11210 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
11211 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11212 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11213 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
11214 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
11215 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
11216 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
11217 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
11218 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11219 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
11220 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11221 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
11222 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
65ec6247 RD |
11223 | PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14)); |
11224 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
11225 | PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16)); | |
fe0aca37 RD |
11226 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); |
11227 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
1a2fb4cd RD |
11228 | PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0)); |
11229 | PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1)); | |
11230 | PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2)); | |
11231 | PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3)); | |
11232 | PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4)); | |
11233 | PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5)); | |
11234 | PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6)); | |
11235 | PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11236 | PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8)); | |
fe47ec10 RD |
11237 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); |
11238 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
11239 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
11240 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
11241 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
11242 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
11243 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
11244 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
11245 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
11246 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
11247 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
11248 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
11249 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
11250 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
11251 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
11252 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
11253 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
11254 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
11255 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
11256 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
65ec6247 | 11257 | PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20)); |
fe0aca37 RD |
11258 | PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21)); |
11259 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22)); | |
11260 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23)); | |
11261 | PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24)); | |
11262 | PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25)); | |
11263 | PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26)); | |
11264 | PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27)); | |
11265 | PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28)); | |
11266 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29)); | |
11267 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30)); | |
11268 | PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31)); | |
fe47ec10 RD |
11269 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); |
11270 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
11271 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
11272 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
11273 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
11274 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
11275 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
11276 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
11277 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
11278 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
11279 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
11280 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
65ec6247 | 11281 | PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52)); |
fe47ec10 RD |
11282 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); |
11283 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
11284 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
11285 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
11286 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
11287 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
11288 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
11289 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
11290 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
11291 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
11292 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
11293 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
65ec6247 | 11294 | PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67)); |
fe47ec10 RD |
11295 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); |
11296 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
11297 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
11298 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
11299 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
11300 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
11301 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
11302 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
11303 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
11304 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
11305 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
11306 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
11307 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
11308 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
11309 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
11310 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
11311 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
11312 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
11313 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
11314 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
11315 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
11316 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
11317 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
11318 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
11319 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
11320 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
11321 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
11322 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
11323 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
11324 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
11325 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
11326 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
11327 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
11328 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
11329 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
11330 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
11331 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
11332 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
11333 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
11334 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
11335 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
11336 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
11337 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
11338 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
11339 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
11340 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
11341 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
11342 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
11343 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
11344 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
65ec6247 RD |
11345 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126)); |
11346 | PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127)); | |
fe47ec10 | 11347 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); |
65ec6247 | 11348 | PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1)); |
fe47ec10 RD |
11349 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); |
11350 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
11351 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
11352 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
11353 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
11354 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
11355 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
11356 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11357 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
11358 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11359 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
11360 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
11361 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
11362 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
fe47ec10 RD |
11363 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); |
11364 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
11365 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
11366 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
11367 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
65ec6247 RD |
11368 | PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22)); |
11369 | PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23)); | |
11370 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24)); | |
11371 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25)); | |
11372 | PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26)); | |
11373 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27)); | |
11374 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28)); | |
11375 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29)); | |
11376 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30)); | |
fe47ec10 RD |
11377 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); |
11378 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
11379 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
11380 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
11381 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
11382 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
11383 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
11384 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11385 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11386 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
11387 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
11388 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
11389 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
11390 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
11391 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11392 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
11393 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11394 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
1a2fb4cd RD |
11395 | PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13)); |
11396 | PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14)); | |
11397 | PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15)); | |
11398 | PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16)); | |
11399 | PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17)); | |
fe47ec10 RD |
11400 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); |
11401 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
11402 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
11403 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
11404 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
11405 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
11406 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
65ec6247 RD |
11407 | PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7)); |
11408 | PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8)); | |
11409 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10)); | |
11410 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11)); | |
11411 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12)); | |
11412 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13)); | |
11413 | PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0)); | |
11414 | PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1)); | |
11415 | PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2)); | |
11416 | PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3)); | |
11417 | PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4)); | |
11418 | PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5)); | |
11419 | PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6)); | |
11420 | PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7)); | |
11421 | PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0)); | |
11422 | PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1)); | |
11423 | PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2)); | |
11424 | PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11425 | PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4)); | |
11426 | PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5)); | |
11427 | PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9)); | |
11428 | PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0)); | |
11429 | PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1)); | |
11430 | PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2)); | |
11431 | PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11432 | PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4)); | |
11433 | PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5)); | |
11434 | PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6)); | |
11435 | PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7)); | |
11436 | PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8)); | |
11437 | PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9)); | |
11438 | PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0)); | |
11439 | PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1)); | |
11440 | PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2)); | |
11441 | PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3)); | |
11442 | PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4)); | |
11443 | PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5)); | |
11444 | PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6)); | |
11445 | PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7)); | |
11446 | PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8)); | |
11447 | PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11448 | PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10)); | |
11449 | PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0)); | |
11450 | PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1)); | |
11451 | PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2)); | |
11452 | PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3)); | |
11453 | PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4)); | |
11454 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5)); | |
11455 | PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6)); | |
11456 | PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11457 | PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8)); | |
1a2fb4cd RD |
11458 | PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0)); |
11459 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1)); | |
11460 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2)); | |
11461 | PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3)); | |
11462 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4)); | |
11463 | PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5)); | |
11464 | PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6)); | |
11465 | PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7)); | |
11466 | PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8)); | |
11467 | PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9)); | |
11468 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10)); | |
65ec6247 RD |
11469 | PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0)); |
11470 | PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1)); | |
11471 | PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2)); | |
11472 | PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3)); | |
11473 | PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6)); | |
11474 | PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8)); | |
11475 | PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11476 | PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10)); | |
11477 | PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0)); | |
11478 | PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11479 | PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2)); | |
11480 | PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3)); | |
11481 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4)); | |
11482 | PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5)); | |
11483 | PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6)); | |
11484 | PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11485 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8)); | |
fe0aca37 RD |
11486 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0)); |
11487 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1)); | |
11488 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2)); | |
11489 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3)); | |
11490 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11491 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5)); | |
11492 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6)); | |
11493 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7)); | |
11494 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8)); | |
11495 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9)); | |
11496 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10)); | |
1a2fb4cd RD |
11497 | PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0)); |
11498 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1)); | |
11499 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2)); | |
11500 | PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3)); | |
11501 | PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11502 | PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5)); | |
11503 | PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6)); | |
11504 | PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7)); | |
f6bcfd97 BP |
11505 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
11506 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); | |
11507 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
11508 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
f6bcfd97 BP |
11509 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); |
11510 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
11511 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
65ec6247 | 11512 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); |
f6bcfd97 | 11513 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); |
65ec6247 | 11514 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); |
f6bcfd97 | 11515 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); |
f6bcfd97 BP |
11516 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); |
11517 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
11518 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
fe47ec10 | 11519 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); |
65ec6247 RD |
11520 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED)); |
11521 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION)); | |
11522 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED)); | |
11523 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART)); | |
11524 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND)); | |
74933d75 RD |
11525 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG)); |
11526 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER)); | |
11527 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP)); | |
f6bcfd97 BP |
11528 | |
11529 | ||
e508a2b6 RD |
11530 | wxClassInfo::CleanUpClasses(); |
11531 | wxClassInfo::InitializeClasses(); | |
f6bcfd97 BP |
11532 | |
11533 | { | |
11534 | int i; | |
11535 | for (i = 0; _swig_mapping[i].n1; i++) | |
11536 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
11537 | } | |
11538 | } |