]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
a41e16b6 | 3 | * Version 1.3.22 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
c370783e | 46 | #define SWIG_TypePrettyName SWIG_Python_TypePrettyName |
d14a1e28 RD |
47 | #define SWIG_TypeQuery SWIG_Python_TypeQuery |
48 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
c9c7117a RD |
49 | #define SWIG_PackData SWIG_Python_PackData |
50 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
51 | ||
d14a1e28 RD |
52 | |
53 | /*********************************************************************** | |
54 | * common.swg for wxPython | |
55 | * | |
56 | * Include only the function prototypes and such from SWIG's common.swg, | |
57 | * but not the runtime functions themselves. This helps keep the | |
58 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
59 | * anyway. | |
60 | * | |
61 | ************************************************************************/ | |
62 | ||
63 | #include <string.h> | |
64 | ||
cc6dd355 RD |
65 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
66 | # if defined(_MSC_VER) || defined(__GNUC__) | |
67 | # if defined(STATIC_LINKED) | |
68 | # define SWIGEXPORT(a) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # else | |
71 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
72 | # define SWIGIMPORT(a) extern a | |
73 | # endif | |
74 | # else | |
75 | # if defined(__BORLANDC__) | |
76 | # define SWIGEXPORT(a) a _export | |
77 | # define SWIGIMPORT(a) a _export | |
78 | # else | |
79 | # define SWIGEXPORT(a) a | |
80 | # define SWIGIMPORT(a) a | |
81 | # endif | |
82 | # endif | |
d14a1e28 | 83 | #else |
cc6dd355 RD |
84 | # define SWIGEXPORT(a) a |
85 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
86 | #endif |
87 | ||
88 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 89 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 90 | #else |
cc6dd355 | 91 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
92 | #endif |
93 | ||
d14a1e28 RD |
94 | #ifdef __cplusplus |
95 | extern "C" { | |
96 | #endif | |
97 | ||
98 | typedef void *(*swig_converter_func)(void *); | |
99 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
100 | ||
101 | typedef struct swig_type_info { | |
cc6dd355 | 102 | const char *name; |
d14a1e28 RD |
103 | swig_converter_func converter; |
104 | const char *str; | |
cc6dd355 | 105 | void *clientdata; |
d14a1e28 RD |
106 | swig_dycast_func dcast; |
107 | struct swig_type_info *next; | |
108 | struct swig_type_info *prev; | |
109 | } swig_type_info; | |
110 | ||
111 | ||
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
114 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
116 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
c370783e | 117 | SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *); |
d14a1e28 RD |
118 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); |
119 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
cc6dd355 RD |
120 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
121 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
122 | |
123 | ||
124 | #ifdef __cplusplus | |
125 | } | |
126 | #endif | |
127 | ||
c370783e | 128 | |
d14a1e28 RD |
129 | /*********************************************************************** |
130 | * pyrun.swg for wxPython | |
131 | * | |
132 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
133 | * but not the runtime functions themselves. This helps keep the | |
134 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
135 | * anyway. | |
136 | * | |
137 | ************************************************************************/ | |
138 | ||
d14a1e28 RD |
139 | #ifdef __cplusplus |
140 | extern "C" { | |
141 | #endif | |
142 | ||
143 | #define SWIG_PY_INT 1 | |
144 | #define SWIG_PY_FLOAT 2 | |
145 | #define SWIG_PY_STRING 3 | |
146 | #define SWIG_PY_POINTER 4 | |
147 | #define SWIG_PY_BINARY 5 | |
148 | ||
149 | /* Flags for pointer conversion */ | |
150 | ||
151 | #define SWIG_POINTER_EXCEPTION 0x1 | |
152 | #define SWIG_POINTER_DISOWN 0x2 | |
153 | ||
154 | /* Exception handling in wrappers */ | |
155 | #define SWIG_fail goto fail | |
156 | ||
157 | /* Constant information structure */ | |
158 | typedef struct swig_const_info { | |
159 | int type; | |
160 | char *name; | |
161 | long lvalue; | |
162 | double dvalue; | |
163 | void *pvalue; | |
164 | swig_type_info **ptype; | |
165 | } swig_const_info; | |
166 | ||
d14a1e28 RD |
167 | /* Common SWIG API */ |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
a41e16b6 | 174 | |
d14a1e28 RD |
175 | /* Python-specific SWIG API */ |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
182 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
183 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
184 | #define SWIG_InstallConstants(d, constants) \ | |
185 | SWIG_Python_InstallConstants(d, constants) | |
186 | ||
994141e6 | 187 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 188 | |
cc6dd355 RD |
189 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
190 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
191 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
192 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
193 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
194 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
195 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
196 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 197 | |
d14a1e28 RD |
198 | |
199 | /* Contract support */ | |
200 | ||
9d1d5697 | 201 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 202 | |
d14a1e28 RD |
203 | #ifdef __cplusplus |
204 | } | |
205 | #endif | |
206 | ||
207 | ||
c370783e | 208 | |
d14a1e28 RD |
209 | /* -------- TYPES TABLE (BEGIN) -------- */ |
210 | ||
211 | #define SWIGTYPE_p_wxRect swig_types[0] | |
212 | #define SWIGTYPE_p_wxColour swig_types[1] | |
213 | #define SWIGTYPE_p_wxObject swig_types[2] | |
214 | #define SWIGTYPE_p_wxScrollBar swig_types[3] | |
215 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[4] | |
216 | #define SWIGTYPE_p_wxWindow swig_types[5] | |
217 | #define SWIGTYPE_p_wxCommandEvent swig_types[6] | |
218 | #define SWIGTYPE_p_wxBitmap swig_types[7] | |
219 | #define SWIGTYPE_p_void swig_types[8] | |
220 | #define SWIGTYPE_p_wxPoint swig_types[9] | |
4d5c3d91 RD |
221 | #define SWIGTYPE_p_wxDC swig_types[10] |
222 | #define SWIGTYPE_p_char swig_types[11] | |
96b3fa7c RD |
223 | #define SWIGTYPE_p_wxEvtHandler swig_types[12] |
224 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[13] | |
225 | #define SWIGTYPE_p_wxFont swig_types[14] | |
226 | #define SWIGTYPE_p_wxControl swig_types[15] | |
227 | #define SWIGTYPE_p_wxEvent swig_types[16] | |
228 | #define SWIGTYPE_p_int swig_types[17] | |
229 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[18] | |
230 | static swig_type_info *swig_types[20]; | |
d14a1e28 RD |
231 | |
232 | /* -------- TYPES TABLE (END) -------- */ | |
233 | ||
234 | ||
235 | /*----------------------------------------------- | |
236 | @(target):= _stc.so | |
237 | ------------------------------------------------*/ | |
238 | #define SWIG_init init_stc | |
239 | ||
240 | #define SWIG_name "_stc" | |
241 | ||
c370783e RD |
242 | /* Auxiliar swig macros that appear in the header */ |
243 | ||
244 | #define SWIG_OLDOBJ 1 | |
245 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
246 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
994141e6 | 247 | |
994141e6 | 248 | #ifdef __cplusplus |
15afbcd0 | 249 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 250 | #define SWIGSTATIC(a) static a |
c370783e RD |
251 | #define swig_new_array(size,Type) (new Type[(size)]) |
252 | #define swig_delete(cptr) delete cptr | |
15afbcd0 | 253 | #define swig_delete_array(cptr) delete[] cptr |
c370783e RD |
254 | #define swig_const_cast(a,Type) const_cast<Type >(a) |
255 | #define swig_static_cast(a,Type) static_cast<Type >(a) | |
256 | #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) | |
257 | #define swig_new_copy(ptr,Type) (new Type(*ptr)) | |
258 | #define swig_numeric_cast(a,Type) static_cast<Type >(a) | |
994141e6 | 259 | |
15afbcd0 RD |
260 | #else /* C case */ |
261 | ||
262 | #define SWIGSTATICINLINE(a) static a | |
263 | #define SWIGSTATIC(a) static a | |
c370783e RD |
264 | #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) |
265 | #define swig_delete(cptr) free((char*)cptr) | |
15afbcd0 | 266 | #define swig_delete_array(cptr) free((char*)cptr) |
c370783e RD |
267 | #define swig_const_cast(a,Type) (Type)(a) |
268 | #define swig_static_cast(a,Type) (Type)(a) | |
269 | #define swig_reinterpret_cast(a,Type) (Type)(a) | |
270 | #define swig_numeric_cast(a,Type) (Type)(a) | |
271 | #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) | |
15afbcd0 RD |
272 | |
273 | #endif /* __cplusplus */ | |
994141e6 RD |
274 | |
275 | ||
c370783e RD |
276 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ |
277 | #define SWIG_From_signed_SS_char PyInt_FromLong | |
278 | /*@@*/ | |
279 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
280 | #define SWIG_From_unsigned_SS_char PyInt_FromLong | |
281 | /*@@*/ | |
282 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
283 | #define SWIG_From_short PyInt_FromLong | |
284 | /*@@*/ | |
285 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
286 | #define SWIG_From_unsigned_SS_short PyInt_FromLong | |
287 | /*@@*/ | |
288 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
289 | #define SWIG_From_int PyInt_FromLong | |
290 | /*@@*/ | |
291 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
292 | #define SWIG_From_long PyInt_FromLong | |
293 | /*@@*/ | |
294 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
295 | #define SWIG_From_float PyFloat_FromDouble | |
296 | /*@@*/ | |
297 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
298 | #define SWIG_From_double PyFloat_FromDouble | |
299 | /*@@*/ | |
994141e6 RD |
300 | |
301 | ||
d14a1e28 RD |
302 | #include "wx/wxPython/wxPython.h" |
303 | #include "wx/wxPython/pyclasses.h" | |
304 | #include <wx/stc/stc.h> | |
305 | ||
d14a1e28 | 306 | |
b2dc1044 | 307 | static const wxString wxPySTCNameStr(wxSTCNameStr); |
d14a1e28 | 308 | |
15afbcd0 RD |
309 | #include <limits.h> |
310 | ||
311 | ||
c370783e RD |
312 | SWIGSTATICINLINE(int) |
313 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
314 | const char *errmsg) | |
15afbcd0 | 315 | { |
c370783e RD |
316 | if (value < min_value) { |
317 | if (errmsg) { | |
318 | PyErr_Format(PyExc_OverflowError, | |
319 | "value %ld is less than '%s' minimum %ld", | |
320 | value, errmsg, min_value); | |
321 | } | |
322 | return 0; | |
323 | } else if (value > max_value) { | |
324 | if (errmsg) { | |
325 | PyErr_Format(PyExc_OverflowError, | |
326 | "value %ld is greater than '%s' maximum %ld", | |
327 | value, errmsg, max_value); | |
15afbcd0 | 328 | } |
c370783e | 329 | return 0; |
15afbcd0 | 330 | } |
c370783e | 331 | return 1; |
15afbcd0 RD |
332 | } |
333 | ||
334 | ||
c370783e RD |
335 | // See my_fragments.i |
336 | SWIGSTATICINLINE(int) | |
337 | SWIG_AsVal_long(PyObject* obj, long* val) | |
15afbcd0 | 338 | { |
c370783e RD |
339 | if (PyNumber_Check(obj)) { |
340 | if (val) *val = PyInt_AsLong(obj); | |
341 | return 1; | |
342 | } | |
69223c70 RD |
343 | else { |
344 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
345 | obj->ob_type->tp_name); | |
346 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
347 | Py_DECREF(errmsg); | |
69223c70 | 348 | } |
c370783e | 349 | return 0; |
15afbcd0 RD |
350 | } |
351 | ||
352 | ||
353 | #if INT_MAX != LONG_MAX | |
354 | SWIGSTATICINLINE(int) | |
c370783e | 355 | SWIG_AsVal_int(PyObject *obj, int *val) |
994141e6 | 356 | { |
c370783e RD |
357 | const char* errmsg = val ? "int" : 0; |
358 | long v; | |
359 | if (SWIG_AsVal_long(obj, &v)) { | |
360 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
361 | if (val) *val = swig_numeric_cast(v, int); | |
362 | return 1; | |
363 | } else { | |
364 | return 0; | |
365 | } | |
366 | } else { | |
367 | PyErr_Clear(); | |
368 | } | |
369 | if (val) { | |
370 | PyErr_SetString(PyExc_TypeError, "an int is expected"); | |
371 | } | |
372 | return 0; | |
994141e6 | 373 | } |
15afbcd0 | 374 | #else |
c370783e RD |
375 | SWIGSTATICINLINE(int) |
376 | SWIG_AsVal_int(PyObject *obj, int *val) | |
377 | { | |
378 | return SWIG_AsVal_long(obj,(long*)val); | |
379 | } | |
15afbcd0 | 380 | #endif |
994141e6 RD |
381 | |
382 | ||
15afbcd0 | 383 | SWIGSTATICINLINE(int) |
c370783e | 384 | SWIG_As_int(PyObject* obj) |
994141e6 | 385 | { |
c370783e RD |
386 | int v; |
387 | if (!SWIG_AsVal_int(obj, &v)) { | |
388 | /* | |
389 | this is needed to make valgrind/purify happier. the other | |
390 | solution is throw an exception, but since this code should work | |
391 | with plain C .... | |
392 | */ | |
393 | memset((void*)&v, 0, sizeof(int)); | |
15afbcd0 | 394 | } |
c370783e | 395 | return v; |
15afbcd0 RD |
396 | } |
397 | ||
398 | ||
c370783e RD |
399 | SWIGSTATICINLINE(long) |
400 | SWIG_As_long(PyObject* obj) | |
15afbcd0 | 401 | { |
c370783e RD |
402 | long v; |
403 | if (!SWIG_AsVal_long(obj, &v)) { | |
404 | /* | |
405 | this is needed to make valgrind/purify happier. the other | |
406 | solution is throw an exception, but since this code should work | |
407 | with plain C .... | |
408 | */ | |
409 | memset((void*)&v, 0, sizeof(long)); | |
15afbcd0 | 410 | } |
c370783e | 411 | return v; |
994141e6 RD |
412 | } |
413 | ||
c370783e RD |
414 | |
415 | SWIGSTATICINLINE(int) | |
416 | SWIG_Check_int(PyObject* obj) | |
417 | { | |
418 | return SWIG_AsVal_int(obj, (int*)0); | |
419 | } | |
994141e6 | 420 | |
c370783e RD |
421 | |
422 | SWIGSTATICINLINE(int) | |
423 | SWIG_Check_long(PyObject* obj) | |
994141e6 | 424 | { |
c370783e | 425 | return SWIG_AsVal_long(obj, (long*)0); |
994141e6 RD |
426 | } |
427 | ||
428 | ||
15afbcd0 | 429 | SWIGSTATICINLINE(int) |
c370783e | 430 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
15afbcd0 | 431 | { |
c370783e RD |
432 | /* if (val) *val = PyObject_IsTrue(obj); return 1; */ |
433 | if (obj == Py_True) { | |
434 | if (val) *val = true; | |
15afbcd0 RD |
435 | return 1; |
436 | } | |
c370783e RD |
437 | if (obj == Py_False) { |
438 | if (val) *val = false; | |
439 | return 1; | |
440 | } | |
441 | int res = 0; | |
442 | if (SWIG_AsVal_int(obj, &res)) { | |
443 | if (val) *val = (bool)res; | |
444 | return 1; | |
445 | } | |
446 | if (val) { | |
447 | PyErr_SetString(PyExc_TypeError, "a bool is expected"); | |
448 | } | |
449 | return 0; | |
450 | } | |
451 | ||
452 | ||
453 | SWIGSTATICINLINE(bool) | |
454 | SWIG_As_bool(PyObject* obj) | |
455 | { | |
456 | bool v; | |
457 | if (!SWIG_AsVal_bool(obj, &v)) { | |
458 | /* | |
459 | this is needed to make valgrind/purify happier. the other | |
460 | solution is throw an exception, but since this code should work | |
461 | with plain C .... | |
462 | */ | |
463 | memset((void*)&v, 0, sizeof(bool)); | |
464 | } | |
465 | return v; | |
466 | } | |
467 | ||
468 | ||
469 | SWIGSTATICINLINE(int) | |
470 | SWIG_Check_bool(PyObject* obj) | |
471 | { | |
472 | return SWIG_AsVal_bool(obj, (bool*)0); | |
15afbcd0 RD |
473 | } |
474 | ||
475 | ||
c370783e | 476 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
d14a1e28 RD |
477 | PyObject* o2; |
478 | PyObject* o3; | |
c370783e | 479 | |
d14a1e28 RD |
480 | if (!target) { |
481 | target = o; | |
482 | } else if (target == Py_None) { | |
483 | Py_DECREF(Py_None); | |
484 | target = o; | |
629e65c2 RD |
485 | } else { |
486 | if (!PyTuple_Check(target)) { | |
487 | o2 = target; | |
488 | target = PyTuple_New(1); | |
489 | PyTuple_SetItem(target, 0, o2); | |
490 | } | |
d14a1e28 RD |
491 | o3 = PyTuple_New(1); |
492 | PyTuple_SetItem(o3, 0, o); | |
493 | ||
494 | o2 = target; | |
495 | target = PySequence_Concat(o2, o3); | |
496 | Py_DECREF(o2); | |
497 | Py_DECREF(o3); | |
498 | } | |
499 | return target; | |
629e65c2 | 500 | } |
d14a1e28 | 501 | |
15afbcd0 | 502 | |
c370783e RD |
503 | |
504 | /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ | |
15afbcd0 | 505 | SWIGSTATIC(int) |
c370783e | 506 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) |
15afbcd0 RD |
507 | { |
508 | static swig_type_info* pchar_info = 0; | |
c370783e | 509 | char* vptr = 0; |
15afbcd0 | 510 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); |
c370783e RD |
511 | if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { |
512 | if (cptr) *cptr = vptr; | |
513 | if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; | |
514 | return SWIG_OLDOBJ; | |
15afbcd0 | 515 | } else { |
c370783e RD |
516 | if (PyString_Check(obj)) { |
517 | if (cptr) { | |
518 | *cptr = PyString_AS_STRING(obj); | |
519 | if (psize) { | |
520 | *psize = PyString_GET_SIZE(obj) + 1; | |
521 | } | |
522 | } | |
523 | return SWIG_PYSTR; | |
524 | } | |
525 | } | |
526 | if (cptr) { | |
527 | PyErr_SetString(PyExc_TypeError, "a string is expected"); | |
15afbcd0 | 528 | } |
c370783e | 529 | return 0; |
15afbcd0 RD |
530 | } |
531 | ||
532 | ||
c370783e RD |
533 | SWIGSTATICINLINE(int) |
534 | SWIG_AsCharPtr(PyObject *obj, char **val) | |
15afbcd0 | 535 | { |
c370783e RD |
536 | char* cptr = 0; |
537 | if (SWIG_AsCharPtrAndSize(obj, &cptr, (size_t*)(0))) { | |
538 | if (val) *val = cptr; | |
539 | return 1; | |
540 | } | |
541 | if (val) { | |
15afbcd0 | 542 | PyErr_SetString(PyExc_TypeError, "a char* is expected"); |
c370783e RD |
543 | } |
544 | return 0; | |
15afbcd0 RD |
545 | } |
546 | ||
d14a1e28 RD |
547 | #ifdef __cplusplus |
548 | extern "C" { | |
549 | #endif | |
c370783e | 550 | static int _wrap_STCNameStr_set(PyObject *) { |
b2dc1044 RD |
551 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); |
552 | return 1; | |
553 | } | |
554 | ||
555 | ||
556 | static PyObject *_wrap_STCNameStr_get() { | |
557 | PyObject *pyobj; | |
558 | ||
559 | { | |
560 | #if wxUSE_UNICODE | |
561 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
562 | #else | |
563 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
564 | #endif | |
565 | } | |
566 | return pyobj; | |
567 | } | |
568 | ||
569 | ||
c370783e | 570 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
571 | PyObject *resultobj; |
572 | wxWindow *arg1 = (wxWindow *) 0 ; | |
bfddbb17 | 573 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
574 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
575 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
576 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
577 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
578 | long arg5 = (long) 0 ; | |
579 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
580 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
581 | wxStyledTextCtrl *result; | |
582 | wxPoint temp3 ; | |
583 | wxSize temp4 ; | |
b411df4a | 584 | bool temp6 = false ; |
d14a1e28 | 585 | PyObject * obj0 = 0 ; |
994141e6 | 586 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
587 | PyObject * obj2 = 0 ; |
588 | PyObject * obj3 = 0 ; | |
994141e6 | 589 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
590 | PyObject * obj5 = 0 ; |
591 | char *kwnames[] = { | |
592 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
593 | }; | |
594 | ||
bfddbb17 | 595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
596 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
597 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 598 | if (obj1) { |
c370783e | 599 | arg2 = (int)SWIG_As_int(obj1); |
bfddbb17 RD |
600 | if (PyErr_Occurred()) SWIG_fail; |
601 | } | |
d14a1e28 RD |
602 | if (obj2) { |
603 | { | |
604 | arg3 = &temp3; | |
605 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
606 | } | |
607 | } | |
608 | if (obj3) { | |
609 | { | |
610 | arg4 = &temp4; | |
611 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
612 | } | |
613 | } | |
994141e6 | 614 | if (obj4) { |
c370783e | 615 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 616 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 617 | } |
d14a1e28 RD |
618 | if (obj5) { |
619 | { | |
620 | arg6 = wxString_in_helper(obj5); | |
621 | if (arg6 == NULL) SWIG_fail; | |
b411df4a | 622 | temp6 = true; |
d14a1e28 RD |
623 | } |
624 | } | |
625 | { | |
0439c23b | 626 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
628 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
629 | ||
630 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 631 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 632 | } |
15afbcd0 | 633 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
d14a1e28 RD |
634 | { |
635 | if (temp6) | |
636 | delete arg6; | |
637 | } | |
638 | return resultobj; | |
639 | fail: | |
640 | { | |
641 | if (temp6) | |
642 | delete arg6; | |
643 | } | |
644 | return NULL; | |
645 | } | |
646 | ||
647 | ||
c370783e | 648 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
649 | PyObject *resultobj; |
650 | wxStyledTextCtrl *result; | |
651 | char *kwnames[] = { | |
652 | NULL | |
653 | }; | |
654 | ||
655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; | |
656 | { | |
0439c23b | 657 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
659 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); | |
660 | ||
661 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 662 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 663 | } |
15afbcd0 | 664 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
d14a1e28 RD |
665 | return resultobj; |
666 | fail: | |
667 | return NULL; | |
668 | } | |
669 | ||
670 | ||
c370783e | 671 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
672 | PyObject *resultobj; |
673 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
674 | wxWindow *arg2 = (wxWindow *) 0 ; | |
bfddbb17 | 675 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
676 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
677 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
678 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
679 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
680 | long arg6 = (long) 0 ; | |
681 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
682 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
683 | wxPoint temp4 ; | |
684 | wxSize temp5 ; | |
b411df4a | 685 | bool temp7 = false ; |
d14a1e28 RD |
686 | PyObject * obj0 = 0 ; |
687 | PyObject * obj1 = 0 ; | |
994141e6 | 688 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
689 | PyObject * obj3 = 0 ; |
690 | PyObject * obj4 = 0 ; | |
994141e6 | 691 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
692 | PyObject * obj6 = 0 ; |
693 | char *kwnames[] = { | |
694 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
695 | }; | |
696 | ||
bfddbb17 | 697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
698 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
700 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
bfddbb17 | 702 | if (obj2) { |
c370783e | 703 | arg3 = (int)SWIG_As_int(obj2); |
bfddbb17 RD |
704 | if (PyErr_Occurred()) SWIG_fail; |
705 | } | |
d14a1e28 RD |
706 | if (obj3) { |
707 | { | |
708 | arg4 = &temp4; | |
709 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
710 | } | |
711 | } | |
712 | if (obj4) { | |
713 | { | |
714 | arg5 = &temp5; | |
715 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
716 | } | |
717 | } | |
994141e6 | 718 | if (obj5) { |
c370783e | 719 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 720 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 721 | } |
d14a1e28 RD |
722 | if (obj6) { |
723 | { | |
724 | arg7 = wxString_in_helper(obj6); | |
725 | if (arg7 == NULL) SWIG_fail; | |
b411df4a | 726 | temp7 = true; |
d14a1e28 RD |
727 | } |
728 | } | |
729 | { | |
730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
731 | (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
732 | ||
733 | wxPyEndAllowThreads(__tstate); | |
734 | if (PyErr_Occurred()) SWIG_fail; | |
735 | } | |
736 | Py_INCREF(Py_None); resultobj = Py_None; | |
737 | { | |
738 | if (temp7) | |
739 | delete arg7; | |
740 | } | |
741 | return resultobj; | |
742 | fail: | |
743 | { | |
744 | if (temp7) | |
745 | delete arg7; | |
746 | } | |
747 | return NULL; | |
748 | } | |
749 | ||
750 | ||
c370783e | 751 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
752 | PyObject *resultobj; |
753 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
754 | wxString *arg2 = 0 ; | |
b411df4a | 755 | bool temp2 = false ; |
d14a1e28 RD |
756 | PyObject * obj0 = 0 ; |
757 | PyObject * obj1 = 0 ; | |
758 | char *kwnames[] = { | |
759 | (char *) "self",(char *) "text", NULL | |
760 | }; | |
761 | ||
762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
765 | { |
766 | arg2 = wxString_in_helper(obj1); | |
767 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 768 | temp2 = true; |
d14a1e28 RD |
769 | } |
770 | { | |
771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
772 | (arg1)->AddText((wxString const &)*arg2); | |
773 | ||
774 | wxPyEndAllowThreads(__tstate); | |
775 | if (PyErr_Occurred()) SWIG_fail; | |
776 | } | |
777 | Py_INCREF(Py_None); resultobj = Py_None; | |
778 | { | |
779 | if (temp2) | |
780 | delete arg2; | |
781 | } | |
782 | return resultobj; | |
783 | fail: | |
784 | { | |
785 | if (temp2) | |
786 | delete arg2; | |
787 | } | |
788 | return NULL; | |
789 | } | |
790 | ||
791 | ||
c370783e | 792 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
793 | PyObject *resultobj; |
794 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
795 | wxMemoryBuffer *arg2 = 0 ; | |
b411df4a | 796 | bool temp2 = false ; |
d14a1e28 RD |
797 | PyObject * obj0 = 0 ; |
798 | PyObject * obj1 = 0 ; | |
799 | char *kwnames[] = { | |
800 | (char *) "self",(char *) "data", NULL | |
801 | }; | |
802 | ||
803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3adfb63b RD |
806 | { |
807 | if (!PyString_Check(obj1)) { | |
808 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
809 | SWIG_fail; | |
810 | } | |
811 | char* str = PyString_AS_STRING(obj1); | |
812 | int len = PyString_GET_SIZE(obj1); | |
813 | arg2 = new wxMemoryBuffer(len); | |
b411df4a | 814 | temp2 = true; |
3adfb63b | 815 | memcpy(arg2->GetData(), str, len); |
0346c964 | 816 | arg2->SetDataLen(len); |
d14a1e28 RD |
817 | } |
818 | { | |
819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
820 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); | |
821 | ||
822 | wxPyEndAllowThreads(__tstate); | |
823 | if (PyErr_Occurred()) SWIG_fail; | |
824 | } | |
825 | Py_INCREF(Py_None); resultobj = Py_None; | |
3adfb63b RD |
826 | { |
827 | if (temp2) delete arg2; | |
828 | } | |
d14a1e28 RD |
829 | return resultobj; |
830 | fail: | |
3adfb63b RD |
831 | { |
832 | if (temp2) delete arg2; | |
833 | } | |
d14a1e28 RD |
834 | return NULL; |
835 | } | |
836 | ||
837 | ||
c370783e | 838 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
839 | PyObject *resultobj; |
840 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
841 | int arg2 ; | |
842 | wxString *arg3 = 0 ; | |
b411df4a | 843 | bool temp3 = false ; |
d14a1e28 | 844 | PyObject * obj0 = 0 ; |
994141e6 | 845 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
846 | PyObject * obj2 = 0 ; |
847 | char *kwnames[] = { | |
848 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
849 | }; | |
850 | ||
994141e6 | 851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 854 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 855 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
856 | { |
857 | arg3 = wxString_in_helper(obj2); | |
858 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 859 | temp3 = true; |
d14a1e28 RD |
860 | } |
861 | { | |
862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
863 | (arg1)->InsertText(arg2,(wxString const &)*arg3); | |
864 | ||
865 | wxPyEndAllowThreads(__tstate); | |
866 | if (PyErr_Occurred()) SWIG_fail; | |
867 | } | |
868 | Py_INCREF(Py_None); resultobj = Py_None; | |
869 | { | |
870 | if (temp3) | |
871 | delete arg3; | |
872 | } | |
873 | return resultobj; | |
874 | fail: | |
875 | { | |
876 | if (temp3) | |
877 | delete arg3; | |
878 | } | |
879 | return NULL; | |
880 | } | |
881 | ||
882 | ||
c370783e | 883 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
884 | PyObject *resultobj; |
885 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
886 | PyObject * obj0 = 0 ; | |
887 | char *kwnames[] = { | |
888 | (char *) "self", NULL | |
889 | }; | |
890 | ||
891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
894 | { |
895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
896 | (arg1)->ClearAll(); | |
897 | ||
898 | wxPyEndAllowThreads(__tstate); | |
899 | if (PyErr_Occurred()) SWIG_fail; | |
900 | } | |
901 | Py_INCREF(Py_None); resultobj = Py_None; | |
902 | return resultobj; | |
903 | fail: | |
904 | return NULL; | |
905 | } | |
906 | ||
907 | ||
c370783e | 908 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
909 | PyObject *resultobj; |
910 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
911 | PyObject * obj0 = 0 ; | |
912 | char *kwnames[] = { | |
913 | (char *) "self", NULL | |
914 | }; | |
915 | ||
916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
919 | { |
920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
921 | (arg1)->ClearDocumentStyle(); | |
922 | ||
923 | wxPyEndAllowThreads(__tstate); | |
924 | if (PyErr_Occurred()) SWIG_fail; | |
925 | } | |
926 | Py_INCREF(Py_None); resultobj = Py_None; | |
927 | return resultobj; | |
928 | fail: | |
929 | return NULL; | |
930 | } | |
931 | ||
932 | ||
c370783e | 933 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
934 | PyObject *resultobj; |
935 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
936 | int result; | |
937 | PyObject * obj0 = 0 ; | |
938 | char *kwnames[] = { | |
939 | (char *) "self", NULL | |
940 | }; | |
941 | ||
942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
945 | { |
946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
947 | result = (int)(arg1)->GetLength(); | |
948 | ||
949 | wxPyEndAllowThreads(__tstate); | |
950 | if (PyErr_Occurred()) SWIG_fail; | |
951 | } | |
c370783e | 952 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
953 | return resultobj; |
954 | fail: | |
955 | return NULL; | |
956 | } | |
957 | ||
958 | ||
c370783e | 959 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
960 | PyObject *resultobj; |
961 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
962 | int arg2 ; | |
963 | int result; | |
964 | PyObject * obj0 = 0 ; | |
994141e6 | 965 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
966 | char *kwnames[] = { |
967 | (char *) "self",(char *) "pos", NULL | |
968 | }; | |
969 | ||
994141e6 | 970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 973 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 974 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
975 | { |
976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
977 | result = (int)(arg1)->GetCharAt(arg2); | |
978 | ||
979 | wxPyEndAllowThreads(__tstate); | |
980 | if (PyErr_Occurred()) SWIG_fail; | |
981 | } | |
c370783e | 982 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
983 | return resultobj; |
984 | fail: | |
985 | return NULL; | |
986 | } | |
987 | ||
988 | ||
c370783e | 989 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
990 | PyObject *resultobj; |
991 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
992 | int result; | |
993 | PyObject * obj0 = 0 ; | |
994 | char *kwnames[] = { | |
995 | (char *) "self", NULL | |
996 | }; | |
997 | ||
998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
999 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1000 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1001 | { |
1002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1003 | result = (int)(arg1)->GetCurrentPos(); | |
1004 | ||
1005 | wxPyEndAllowThreads(__tstate); | |
1006 | if (PyErr_Occurred()) SWIG_fail; | |
1007 | } | |
c370783e | 1008 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1009 | return resultobj; |
1010 | fail: | |
1011 | return NULL; | |
1012 | } | |
1013 | ||
1014 | ||
c370783e | 1015 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1016 | PyObject *resultobj; |
1017 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1018 | int result; | |
1019 | PyObject * obj0 = 0 ; | |
1020 | char *kwnames[] = { | |
1021 | (char *) "self", NULL | |
1022 | }; | |
1023 | ||
1024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1027 | { |
1028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1029 | result = (int)(arg1)->GetAnchor(); | |
1030 | ||
1031 | wxPyEndAllowThreads(__tstate); | |
1032 | if (PyErr_Occurred()) SWIG_fail; | |
1033 | } | |
c370783e | 1034 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1035 | return resultobj; |
1036 | fail: | |
1037 | return NULL; | |
1038 | } | |
1039 | ||
1040 | ||
c370783e | 1041 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1042 | PyObject *resultobj; |
1043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1044 | int arg2 ; | |
1045 | int result; | |
1046 | PyObject * obj0 = 0 ; | |
994141e6 | 1047 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1048 | char *kwnames[] = { |
1049 | (char *) "self",(char *) "pos", NULL | |
1050 | }; | |
1051 | ||
994141e6 | 1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1055 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1056 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1057 | { |
1058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1059 | result = (int)(arg1)->GetStyleAt(arg2); | |
1060 | ||
1061 | wxPyEndAllowThreads(__tstate); | |
1062 | if (PyErr_Occurred()) SWIG_fail; | |
1063 | } | |
c370783e | 1064 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1065 | return resultobj; |
1066 | fail: | |
1067 | return NULL; | |
1068 | } | |
1069 | ||
1070 | ||
c370783e | 1071 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1072 | PyObject *resultobj; |
1073 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1074 | PyObject * obj0 = 0 ; | |
1075 | char *kwnames[] = { | |
1076 | (char *) "self", NULL | |
1077 | }; | |
1078 | ||
1079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1082 | { |
1083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1084 | (arg1)->Redo(); | |
1085 | ||
1086 | wxPyEndAllowThreads(__tstate); | |
1087 | if (PyErr_Occurred()) SWIG_fail; | |
1088 | } | |
1089 | Py_INCREF(Py_None); resultobj = Py_None; | |
1090 | return resultobj; | |
1091 | fail: | |
1092 | return NULL; | |
1093 | } | |
1094 | ||
1095 | ||
c370783e | 1096 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1097 | PyObject *resultobj; |
1098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1099 | bool arg2 ; | |
1100 | PyObject * obj0 = 0 ; | |
1101 | PyObject * obj1 = 0 ; | |
1102 | char *kwnames[] = { | |
1103 | (char *) "self",(char *) "collectUndo", NULL | |
1104 | }; | |
1105 | ||
1106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1109 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 1110 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1111 | { |
1112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1113 | (arg1)->SetUndoCollection(arg2); | |
1114 | ||
1115 | wxPyEndAllowThreads(__tstate); | |
1116 | if (PyErr_Occurred()) SWIG_fail; | |
1117 | } | |
1118 | Py_INCREF(Py_None); resultobj = Py_None; | |
1119 | return resultobj; | |
1120 | fail: | |
1121 | return NULL; | |
1122 | } | |
1123 | ||
1124 | ||
c370783e | 1125 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1126 | PyObject *resultobj; |
1127 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1128 | PyObject * obj0 = 0 ; | |
1129 | char *kwnames[] = { | |
1130 | (char *) "self", NULL | |
1131 | }; | |
1132 | ||
1133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1136 | { |
1137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1138 | (arg1)->SelectAll(); | |
1139 | ||
1140 | wxPyEndAllowThreads(__tstate); | |
1141 | if (PyErr_Occurred()) SWIG_fail; | |
1142 | } | |
1143 | Py_INCREF(Py_None); resultobj = Py_None; | |
1144 | return resultobj; | |
1145 | fail: | |
1146 | return NULL; | |
1147 | } | |
1148 | ||
1149 | ||
c370783e | 1150 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1151 | PyObject *resultobj; |
1152 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1153 | PyObject * obj0 = 0 ; | |
1154 | char *kwnames[] = { | |
1155 | (char *) "self", NULL | |
1156 | }; | |
1157 | ||
1158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1161 | { |
1162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1163 | (arg1)->SetSavePoint(); | |
1164 | ||
1165 | wxPyEndAllowThreads(__tstate); | |
1166 | if (PyErr_Occurred()) SWIG_fail; | |
1167 | } | |
1168 | Py_INCREF(Py_None); resultobj = Py_None; | |
1169 | return resultobj; | |
1170 | fail: | |
1171 | return NULL; | |
1172 | } | |
1173 | ||
1174 | ||
c370783e | 1175 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1176 | PyObject *resultobj; |
1177 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1178 | int arg2 ; | |
1179 | int arg3 ; | |
1180 | wxMemoryBuffer result; | |
1181 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1182 | PyObject * obj1 = 0 ; |
1183 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1184 | char *kwnames[] = { |
1185 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
1186 | }; | |
1187 | ||
994141e6 | 1188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1191 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1192 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1193 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1194 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1195 | { |
1196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1197 | result = (arg1)->GetStyledText(arg2,arg3); | |
1198 | ||
1199 | wxPyEndAllowThreads(__tstate); | |
1200 | if (PyErr_Occurred()) SWIG_fail; | |
1201 | } | |
1202 | { | |
3adfb63b | 1203 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); |
d14a1e28 RD |
1204 | } |
1205 | return resultobj; | |
1206 | fail: | |
1207 | return NULL; | |
1208 | } | |
1209 | ||
1210 | ||
c370783e | 1211 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1212 | PyObject *resultobj; |
1213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1214 | bool result; | |
1215 | PyObject * obj0 = 0 ; | |
1216 | char *kwnames[] = { | |
1217 | (char *) "self", NULL | |
1218 | }; | |
1219 | ||
1220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1223 | { |
1224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1225 | result = (bool)(arg1)->CanRedo(); | |
1226 | ||
1227 | wxPyEndAllowThreads(__tstate); | |
1228 | if (PyErr_Occurred()) SWIG_fail; | |
1229 | } | |
4f89f6a3 RD |
1230 | { |
1231 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1232 | } | |
d14a1e28 RD |
1233 | return resultobj; |
1234 | fail: | |
1235 | return NULL; | |
1236 | } | |
1237 | ||
1238 | ||
c370783e | 1239 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1240 | PyObject *resultobj; |
1241 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1242 | int arg2 ; | |
1243 | int result; | |
1244 | PyObject * obj0 = 0 ; | |
994141e6 | 1245 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1246 | char *kwnames[] = { |
1247 | (char *) "self",(char *) "handle", NULL | |
1248 | }; | |
1249 | ||
994141e6 | 1250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1253 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1254 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1255 | { |
1256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1257 | result = (int)(arg1)->MarkerLineFromHandle(arg2); | |
1258 | ||
1259 | wxPyEndAllowThreads(__tstate); | |
1260 | if (PyErr_Occurred()) SWIG_fail; | |
1261 | } | |
c370783e | 1262 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1263 | return resultobj; |
1264 | fail: | |
1265 | return NULL; | |
1266 | } | |
1267 | ||
1268 | ||
c370783e | 1269 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1270 | PyObject *resultobj; |
1271 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1272 | int arg2 ; | |
1273 | PyObject * obj0 = 0 ; | |
994141e6 | 1274 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1275 | char *kwnames[] = { |
1276 | (char *) "self",(char *) "handle", NULL | |
1277 | }; | |
1278 | ||
994141e6 | 1279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1282 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1283 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1284 | { |
1285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1286 | (arg1)->MarkerDeleteHandle(arg2); | |
1287 | ||
1288 | wxPyEndAllowThreads(__tstate); | |
1289 | if (PyErr_Occurred()) SWIG_fail; | |
1290 | } | |
1291 | Py_INCREF(Py_None); resultobj = Py_None; | |
1292 | return resultobj; | |
1293 | fail: | |
1294 | return NULL; | |
1295 | } | |
1296 | ||
1297 | ||
c370783e | 1298 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1299 | PyObject *resultobj; |
1300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1301 | bool result; | |
1302 | PyObject * obj0 = 0 ; | |
1303 | char *kwnames[] = { | |
1304 | (char *) "self", NULL | |
1305 | }; | |
1306 | ||
1307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1310 | { |
1311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1312 | result = (bool)(arg1)->GetUndoCollection(); | |
1313 | ||
1314 | wxPyEndAllowThreads(__tstate); | |
1315 | if (PyErr_Occurred()) SWIG_fail; | |
1316 | } | |
4f89f6a3 RD |
1317 | { |
1318 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1319 | } | |
d14a1e28 RD |
1320 | return resultobj; |
1321 | fail: | |
1322 | return NULL; | |
1323 | } | |
1324 | ||
1325 | ||
c370783e | 1326 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1327 | PyObject *resultobj; |
1328 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1329 | int result; | |
1330 | PyObject * obj0 = 0 ; | |
1331 | char *kwnames[] = { | |
1332 | (char *) "self", NULL | |
1333 | }; | |
1334 | ||
1335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1338 | { |
1339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1340 | result = (int)(arg1)->GetViewWhiteSpace(); | |
1341 | ||
1342 | wxPyEndAllowThreads(__tstate); | |
1343 | if (PyErr_Occurred()) SWIG_fail; | |
1344 | } | |
c370783e | 1345 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1346 | return resultobj; |
1347 | fail: | |
1348 | return NULL; | |
1349 | } | |
1350 | ||
1351 | ||
c370783e | 1352 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1353 | PyObject *resultobj; |
1354 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1355 | int arg2 ; | |
1356 | PyObject * obj0 = 0 ; | |
994141e6 | 1357 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1358 | char *kwnames[] = { |
1359 | (char *) "self",(char *) "viewWS", NULL | |
1360 | }; | |
1361 | ||
994141e6 | 1362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1365 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1366 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1367 | { |
1368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1369 | (arg1)->SetViewWhiteSpace(arg2); | |
1370 | ||
1371 | wxPyEndAllowThreads(__tstate); | |
1372 | if (PyErr_Occurred()) SWIG_fail; | |
1373 | } | |
1374 | Py_INCREF(Py_None); resultobj = Py_None; | |
1375 | return resultobj; | |
1376 | fail: | |
1377 | return NULL; | |
1378 | } | |
1379 | ||
1380 | ||
c370783e | 1381 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1382 | PyObject *resultobj; |
1383 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1384 | wxPoint arg2 ; | |
1385 | int result; | |
1386 | wxPoint *argp2 ; | |
1387 | PyObject * obj0 = 0 ; | |
1388 | PyObject * obj1 = 0 ; | |
1389 | char *kwnames[] = { | |
1390 | (char *) "self",(char *) "pt", NULL | |
1391 | }; | |
1392 | ||
1393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1396 | if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint, | |
1397 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1398 | arg2 = *argp2; | |
d14a1e28 RD |
1399 | { |
1400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1401 | result = (int)(arg1)->PositionFromPoint(arg2); | |
1402 | ||
1403 | wxPyEndAllowThreads(__tstate); | |
1404 | if (PyErr_Occurred()) SWIG_fail; | |
1405 | } | |
c370783e | 1406 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1407 | return resultobj; |
1408 | fail: | |
1409 | return NULL; | |
1410 | } | |
1411 | ||
1412 | ||
c370783e | 1413 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1414 | PyObject *resultobj; |
1415 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1416 | int arg2 ; | |
1417 | int arg3 ; | |
1418 | int result; | |
1419 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1420 | PyObject * obj1 = 0 ; |
1421 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1422 | char *kwnames[] = { |
1423 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1424 | }; | |
1425 | ||
994141e6 | 1426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1429 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1430 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1431 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1432 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1433 | { |
1434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1435 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); | |
1436 | ||
1437 | wxPyEndAllowThreads(__tstate); | |
1438 | if (PyErr_Occurred()) SWIG_fail; | |
1439 | } | |
c370783e | 1440 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1441 | return resultobj; |
1442 | fail: | |
1443 | return NULL; | |
1444 | } | |
1445 | ||
1446 | ||
c370783e | 1447 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1448 | PyObject *resultobj; |
1449 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1450 | int arg2 ; | |
1451 | PyObject * obj0 = 0 ; | |
994141e6 | 1452 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1453 | char *kwnames[] = { |
1454 | (char *) "self",(char *) "line", NULL | |
1455 | }; | |
1456 | ||
994141e6 | 1457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1460 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1461 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1462 | { |
1463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1464 | (arg1)->GotoLine(arg2); | |
1465 | ||
1466 | wxPyEndAllowThreads(__tstate); | |
1467 | if (PyErr_Occurred()) SWIG_fail; | |
1468 | } | |
1469 | Py_INCREF(Py_None); resultobj = Py_None; | |
1470 | return resultobj; | |
1471 | fail: | |
1472 | return NULL; | |
1473 | } | |
1474 | ||
1475 | ||
c370783e | 1476 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1477 | PyObject *resultobj; |
1478 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1479 | int arg2 ; | |
1480 | PyObject * obj0 = 0 ; | |
994141e6 | 1481 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1482 | char *kwnames[] = { |
1483 | (char *) "self",(char *) "pos", NULL | |
1484 | }; | |
1485 | ||
994141e6 | 1486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1489 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1490 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1491 | { |
1492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1493 | (arg1)->GotoPos(arg2); | |
1494 | ||
1495 | wxPyEndAllowThreads(__tstate); | |
1496 | if (PyErr_Occurred()) SWIG_fail; | |
1497 | } | |
1498 | Py_INCREF(Py_None); resultobj = Py_None; | |
1499 | return resultobj; | |
1500 | fail: | |
1501 | return NULL; | |
1502 | } | |
1503 | ||
1504 | ||
c370783e | 1505 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1506 | PyObject *resultobj; |
1507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1508 | int arg2 ; | |
1509 | PyObject * obj0 = 0 ; | |
994141e6 | 1510 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1511 | char *kwnames[] = { |
1512 | (char *) "self",(char *) "posAnchor", NULL | |
1513 | }; | |
1514 | ||
994141e6 | 1515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1516 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1517 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1518 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1519 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1520 | { |
1521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1522 | (arg1)->SetAnchor(arg2); | |
1523 | ||
1524 | wxPyEndAllowThreads(__tstate); | |
1525 | if (PyErr_Occurred()) SWIG_fail; | |
1526 | } | |
1527 | Py_INCREF(Py_None); resultobj = Py_None; | |
1528 | return resultobj; | |
1529 | fail: | |
1530 | return NULL; | |
1531 | } | |
1532 | ||
1533 | ||
c370783e | 1534 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1535 | PyObject *resultobj; |
1536 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1537 | int *arg2 = (int *) 0 ; | |
1538 | wxString result; | |
1539 | int temp2 ; | |
c370783e | 1540 | int res2 = 0 ; |
d14a1e28 RD |
1541 | PyObject * obj0 = 0 ; |
1542 | char *kwnames[] = { | |
1543 | (char *) "self", NULL | |
1544 | }; | |
1545 | ||
c370783e | 1546 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
d14a1e28 | 1547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
1548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1550 | { |
1551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1552 | result = (arg1)->GetCurLine(arg2); | |
1553 | ||
1554 | wxPyEndAllowThreads(__tstate); | |
1555 | if (PyErr_Occurred()) SWIG_fail; | |
1556 | } | |
1557 | { | |
1558 | #if wxUSE_UNICODE | |
1559 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1560 | #else | |
1561 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1562 | #endif | |
1563 | } | |
c370783e RD |
1564 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
1565 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
1566 | return resultobj; |
1567 | fail: | |
1568 | return NULL; | |
1569 | } | |
1570 | ||
1571 | ||
c370783e | 1572 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1573 | PyObject *resultobj; |
1574 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1575 | int result; | |
1576 | PyObject * obj0 = 0 ; | |
1577 | char *kwnames[] = { | |
1578 | (char *) "self", NULL | |
1579 | }; | |
1580 | ||
1581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1584 | { |
1585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1586 | result = (int)(arg1)->GetEndStyled(); | |
1587 | ||
1588 | wxPyEndAllowThreads(__tstate); | |
1589 | if (PyErr_Occurred()) SWIG_fail; | |
1590 | } | |
c370783e | 1591 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1592 | return resultobj; |
1593 | fail: | |
1594 | return NULL; | |
1595 | } | |
1596 | ||
1597 | ||
c370783e | 1598 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1599 | PyObject *resultobj; |
1600 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1601 | int arg2 ; | |
1602 | PyObject * obj0 = 0 ; | |
994141e6 | 1603 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1604 | char *kwnames[] = { |
1605 | (char *) "self",(char *) "eolMode", NULL | |
1606 | }; | |
1607 | ||
994141e6 | 1608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1611 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1612 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1613 | { |
1614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1615 | (arg1)->ConvertEOLs(arg2); | |
1616 | ||
1617 | wxPyEndAllowThreads(__tstate); | |
1618 | if (PyErr_Occurred()) SWIG_fail; | |
1619 | } | |
1620 | Py_INCREF(Py_None); resultobj = Py_None; | |
1621 | return resultobj; | |
1622 | fail: | |
1623 | return NULL; | |
1624 | } | |
1625 | ||
1626 | ||
c370783e | 1627 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1628 | PyObject *resultobj; |
1629 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1630 | int result; | |
1631 | PyObject * obj0 = 0 ; | |
1632 | char *kwnames[] = { | |
1633 | (char *) "self", NULL | |
1634 | }; | |
1635 | ||
1636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1639 | { |
1640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1641 | result = (int)(arg1)->GetEOLMode(); | |
1642 | ||
1643 | wxPyEndAllowThreads(__tstate); | |
1644 | if (PyErr_Occurred()) SWIG_fail; | |
1645 | } | |
c370783e | 1646 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1647 | return resultobj; |
1648 | fail: | |
1649 | return NULL; | |
1650 | } | |
1651 | ||
1652 | ||
c370783e | 1653 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1654 | PyObject *resultobj; |
1655 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1656 | int arg2 ; | |
1657 | PyObject * obj0 = 0 ; | |
994141e6 | 1658 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1659 | char *kwnames[] = { |
1660 | (char *) "self",(char *) "eolMode", NULL | |
1661 | }; | |
1662 | ||
994141e6 | 1663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1666 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1667 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1668 | { |
1669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1670 | (arg1)->SetEOLMode(arg2); | |
1671 | ||
1672 | wxPyEndAllowThreads(__tstate); | |
1673 | if (PyErr_Occurred()) SWIG_fail; | |
1674 | } | |
1675 | Py_INCREF(Py_None); resultobj = Py_None; | |
1676 | return resultobj; | |
1677 | fail: | |
1678 | return NULL; | |
1679 | } | |
1680 | ||
1681 | ||
c370783e | 1682 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1683 | PyObject *resultobj; |
1684 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1685 | int arg2 ; | |
1686 | int arg3 ; | |
1687 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1688 | PyObject * obj1 = 0 ; |
1689 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1690 | char *kwnames[] = { |
1691 | (char *) "self",(char *) "pos",(char *) "mask", NULL | |
1692 | }; | |
1693 | ||
994141e6 | 1694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1697 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1698 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1699 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1700 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1701 | { |
1702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1703 | (arg1)->StartStyling(arg2,arg3); | |
1704 | ||
1705 | wxPyEndAllowThreads(__tstate); | |
1706 | if (PyErr_Occurred()) SWIG_fail; | |
1707 | } | |
1708 | Py_INCREF(Py_None); resultobj = Py_None; | |
1709 | return resultobj; | |
1710 | fail: | |
1711 | return NULL; | |
1712 | } | |
1713 | ||
1714 | ||
c370783e | 1715 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1716 | PyObject *resultobj; |
1717 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1718 | int arg2 ; | |
1719 | int arg3 ; | |
1720 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1721 | PyObject * obj1 = 0 ; |
1722 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1723 | char *kwnames[] = { |
1724 | (char *) "self",(char *) "length",(char *) "style", NULL | |
1725 | }; | |
1726 | ||
994141e6 | 1727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1730 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1731 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1732 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1733 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1734 | { |
1735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1736 | (arg1)->SetStyling(arg2,arg3); | |
1737 | ||
1738 | wxPyEndAllowThreads(__tstate); | |
1739 | if (PyErr_Occurred()) SWIG_fail; | |
1740 | } | |
1741 | Py_INCREF(Py_None); resultobj = Py_None; | |
1742 | return resultobj; | |
1743 | fail: | |
1744 | return NULL; | |
1745 | } | |
1746 | ||
1747 | ||
c370783e | 1748 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1749 | PyObject *resultobj; |
1750 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1751 | bool result; | |
1752 | PyObject * obj0 = 0 ; | |
1753 | char *kwnames[] = { | |
1754 | (char *) "self", NULL | |
1755 | }; | |
1756 | ||
1757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1760 | { |
1761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1762 | result = (bool)(arg1)->GetBufferedDraw(); | |
1763 | ||
1764 | wxPyEndAllowThreads(__tstate); | |
1765 | if (PyErr_Occurred()) SWIG_fail; | |
1766 | } | |
4f89f6a3 RD |
1767 | { |
1768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1769 | } | |
d14a1e28 RD |
1770 | return resultobj; |
1771 | fail: | |
1772 | return NULL; | |
1773 | } | |
1774 | ||
1775 | ||
c370783e | 1776 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1777 | PyObject *resultobj; |
1778 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1779 | bool arg2 ; | |
1780 | PyObject * obj0 = 0 ; | |
1781 | PyObject * obj1 = 0 ; | |
1782 | char *kwnames[] = { | |
1783 | (char *) "self",(char *) "buffered", NULL | |
1784 | }; | |
1785 | ||
1786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
1787 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1788 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1789 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 1790 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1791 | { |
1792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1793 | (arg1)->SetBufferedDraw(arg2); | |
1794 | ||
1795 | wxPyEndAllowThreads(__tstate); | |
1796 | if (PyErr_Occurred()) SWIG_fail; | |
1797 | } | |
1798 | Py_INCREF(Py_None); resultobj = Py_None; | |
1799 | return resultobj; | |
1800 | fail: | |
1801 | return NULL; | |
1802 | } | |
1803 | ||
1804 | ||
c370783e | 1805 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1806 | PyObject *resultobj; |
1807 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1808 | int arg2 ; | |
1809 | PyObject * obj0 = 0 ; | |
994141e6 | 1810 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1811 | char *kwnames[] = { |
1812 | (char *) "self",(char *) "tabWidth", NULL | |
1813 | }; | |
1814 | ||
994141e6 | 1815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1818 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1819 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1820 | { |
1821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1822 | (arg1)->SetTabWidth(arg2); | |
1823 | ||
1824 | wxPyEndAllowThreads(__tstate); | |
1825 | if (PyErr_Occurred()) SWIG_fail; | |
1826 | } | |
1827 | Py_INCREF(Py_None); resultobj = Py_None; | |
1828 | return resultobj; | |
1829 | fail: | |
1830 | return NULL; | |
1831 | } | |
1832 | ||
1833 | ||
c370783e | 1834 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1835 | PyObject *resultobj; |
1836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1837 | int result; | |
1838 | PyObject * obj0 = 0 ; | |
1839 | char *kwnames[] = { | |
1840 | (char *) "self", NULL | |
1841 | }; | |
1842 | ||
1843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1844 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1846 | { |
1847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1848 | result = (int)(arg1)->GetTabWidth(); | |
1849 | ||
1850 | wxPyEndAllowThreads(__tstate); | |
1851 | if (PyErr_Occurred()) SWIG_fail; | |
1852 | } | |
c370783e | 1853 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
1854 | return resultobj; |
1855 | fail: | |
1856 | return NULL; | |
1857 | } | |
1858 | ||
1859 | ||
c370783e | 1860 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1861 | PyObject *resultobj; |
1862 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1863 | int arg2 ; | |
1864 | PyObject * obj0 = 0 ; | |
994141e6 | 1865 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1866 | char *kwnames[] = { |
1867 | (char *) "self",(char *) "codePage", NULL | |
1868 | }; | |
1869 | ||
994141e6 | 1870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1873 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1874 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1875 | { |
1876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1877 | (arg1)->SetCodePage(arg2); | |
1878 | ||
1879 | wxPyEndAllowThreads(__tstate); | |
1880 | if (PyErr_Occurred()) SWIG_fail; | |
1881 | } | |
1882 | Py_INCREF(Py_None); resultobj = Py_None; | |
1883 | return resultobj; | |
1884 | fail: | |
1885 | return NULL; | |
1886 | } | |
1887 | ||
1888 | ||
c370783e | 1889 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1890 | PyObject *resultobj; |
1891 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1892 | int arg2 ; | |
1893 | int arg3 ; | |
1894 | wxColour const &arg4_defvalue = wxNullColour ; | |
1895 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
1896 | wxColour const &arg5_defvalue = wxNullColour ; | |
1897 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
1898 | wxColour temp4 ; | |
1899 | wxColour temp5 ; | |
1900 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1901 | PyObject * obj1 = 0 ; |
1902 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1903 | PyObject * obj3 = 0 ; |
1904 | PyObject * obj4 = 0 ; | |
1905 | char *kwnames[] = { | |
1906 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL | |
1907 | }; | |
1908 | ||
994141e6 | 1909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
1910 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1911 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1912 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1913 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 1914 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1915 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1916 | if (obj3) { |
1917 | { | |
1918 | arg4 = &temp4; | |
1919 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
1920 | } | |
1921 | } | |
1922 | if (obj4) { | |
1923 | { | |
1924 | arg5 = &temp5; | |
1925 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
1926 | } | |
1927 | } | |
1928 | { | |
1929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1930 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); | |
1931 | ||
1932 | wxPyEndAllowThreads(__tstate); | |
1933 | if (PyErr_Occurred()) SWIG_fail; | |
1934 | } | |
1935 | Py_INCREF(Py_None); resultobj = Py_None; | |
1936 | return resultobj; | |
1937 | fail: | |
1938 | return NULL; | |
1939 | } | |
1940 | ||
1941 | ||
c370783e | 1942 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1943 | PyObject *resultobj; |
1944 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1945 | int arg2 ; | |
1946 | wxColour *arg3 = 0 ; | |
1947 | wxColour temp3 ; | |
1948 | PyObject * obj0 = 0 ; | |
994141e6 | 1949 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1950 | PyObject * obj2 = 0 ; |
1951 | char *kwnames[] = { | |
1952 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL | |
1953 | }; | |
1954 | ||
994141e6 | 1955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1956 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1958 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1959 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1960 | { |
1961 | arg3 = &temp3; | |
1962 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1963 | } | |
1964 | { | |
1965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1966 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); | |
1967 | ||
1968 | wxPyEndAllowThreads(__tstate); | |
1969 | if (PyErr_Occurred()) SWIG_fail; | |
1970 | } | |
1971 | Py_INCREF(Py_None); resultobj = Py_None; | |
1972 | return resultobj; | |
1973 | fail: | |
1974 | return NULL; | |
1975 | } | |
1976 | ||
1977 | ||
c370783e | 1978 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1979 | PyObject *resultobj; |
1980 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1981 | int arg2 ; | |
1982 | wxColour *arg3 = 0 ; | |
1983 | wxColour temp3 ; | |
1984 | PyObject * obj0 = 0 ; | |
994141e6 | 1985 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1986 | PyObject * obj2 = 0 ; |
1987 | char *kwnames[] = { | |
1988 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL | |
1989 | }; | |
1990 | ||
994141e6 | 1991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
1993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 1994 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1995 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1996 | { |
1997 | arg3 = &temp3; | |
1998 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1999 | } | |
2000 | { | |
2001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2002 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); | |
2003 | ||
2004 | wxPyEndAllowThreads(__tstate); | |
2005 | if (PyErr_Occurred()) SWIG_fail; | |
2006 | } | |
2007 | Py_INCREF(Py_None); resultobj = Py_None; | |
2008 | return resultobj; | |
2009 | fail: | |
2010 | return NULL; | |
2011 | } | |
2012 | ||
2013 | ||
c370783e | 2014 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2015 | PyObject *resultobj; |
2016 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2017 | int arg2 ; | |
2018 | int arg3 ; | |
2019 | int result; | |
2020 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2021 | PyObject * obj1 = 0 ; |
2022 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2023 | char *kwnames[] = { |
2024 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
2025 | }; | |
2026 | ||
994141e6 | 2027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2030 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2031 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2032 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2033 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2034 | { |
2035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2036 | result = (int)(arg1)->MarkerAdd(arg2,arg3); | |
2037 | ||
2038 | wxPyEndAllowThreads(__tstate); | |
2039 | if (PyErr_Occurred()) SWIG_fail; | |
2040 | } | |
c370783e | 2041 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2042 | return resultobj; |
2043 | fail: | |
2044 | return NULL; | |
2045 | } | |
2046 | ||
2047 | ||
c370783e | 2048 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2049 | PyObject *resultobj; |
2050 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2051 | int arg2 ; | |
2052 | int arg3 ; | |
2053 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2054 | PyObject * obj1 = 0 ; |
2055 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2056 | char *kwnames[] = { |
2057 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
2058 | }; | |
2059 | ||
994141e6 | 2060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2063 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2064 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2065 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2066 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2067 | { |
2068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2069 | (arg1)->MarkerDelete(arg2,arg3); | |
2070 | ||
2071 | wxPyEndAllowThreads(__tstate); | |
2072 | if (PyErr_Occurred()) SWIG_fail; | |
2073 | } | |
2074 | Py_INCREF(Py_None); resultobj = Py_None; | |
2075 | return resultobj; | |
2076 | fail: | |
2077 | return NULL; | |
2078 | } | |
2079 | ||
2080 | ||
c370783e | 2081 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2082 | PyObject *resultobj; |
2083 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2084 | int arg2 ; | |
2085 | PyObject * obj0 = 0 ; | |
994141e6 | 2086 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2087 | char *kwnames[] = { |
2088 | (char *) "self",(char *) "markerNumber", NULL | |
2089 | }; | |
2090 | ||
994141e6 | 2091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2094 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2095 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2096 | { |
2097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2098 | (arg1)->MarkerDeleteAll(arg2); | |
2099 | ||
2100 | wxPyEndAllowThreads(__tstate); | |
2101 | if (PyErr_Occurred()) SWIG_fail; | |
2102 | } | |
2103 | Py_INCREF(Py_None); resultobj = Py_None; | |
2104 | return resultobj; | |
2105 | fail: | |
2106 | return NULL; | |
2107 | } | |
2108 | ||
2109 | ||
c370783e | 2110 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2111 | PyObject *resultobj; |
2112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2113 | int arg2 ; | |
2114 | int result; | |
2115 | PyObject * obj0 = 0 ; | |
994141e6 | 2116 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2117 | char *kwnames[] = { |
2118 | (char *) "self",(char *) "line", NULL | |
2119 | }; | |
2120 | ||
994141e6 | 2121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2124 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2125 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2126 | { |
2127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2128 | result = (int)(arg1)->MarkerGet(arg2); | |
2129 | ||
2130 | wxPyEndAllowThreads(__tstate); | |
2131 | if (PyErr_Occurred()) SWIG_fail; | |
2132 | } | |
c370783e | 2133 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2134 | return resultobj; |
2135 | fail: | |
2136 | return NULL; | |
2137 | } | |
2138 | ||
2139 | ||
c370783e | 2140 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2141 | PyObject *resultobj; |
2142 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2143 | int arg2 ; | |
2144 | int arg3 ; | |
2145 | int result; | |
2146 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2147 | PyObject * obj1 = 0 ; |
2148 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2149 | char *kwnames[] = { |
2150 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2151 | }; | |
2152 | ||
994141e6 | 2153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2154 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2155 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2156 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2157 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2158 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2159 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2160 | { |
2161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2162 | result = (int)(arg1)->MarkerNext(arg2,arg3); | |
2163 | ||
2164 | wxPyEndAllowThreads(__tstate); | |
2165 | if (PyErr_Occurred()) SWIG_fail; | |
2166 | } | |
c370783e | 2167 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2168 | return resultobj; |
2169 | fail: | |
2170 | return NULL; | |
2171 | } | |
2172 | ||
2173 | ||
c370783e | 2174 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2175 | PyObject *resultobj; |
2176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2177 | int arg2 ; | |
2178 | int arg3 ; | |
2179 | int result; | |
2180 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2181 | PyObject * obj1 = 0 ; |
2182 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2183 | char *kwnames[] = { |
2184 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
2185 | }; | |
2186 | ||
994141e6 | 2187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2188 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2189 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2190 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2191 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2192 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2193 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2194 | { |
2195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2196 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); | |
2197 | ||
2198 | wxPyEndAllowThreads(__tstate); | |
2199 | if (PyErr_Occurred()) SWIG_fail; | |
2200 | } | |
c370783e | 2201 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2202 | return resultobj; |
2203 | fail: | |
2204 | return NULL; | |
2205 | } | |
2206 | ||
2207 | ||
c370783e | 2208 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2209 | PyObject *resultobj; |
2210 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2211 | int arg2 ; | |
2212 | wxBitmap *arg3 = 0 ; | |
2213 | PyObject * obj0 = 0 ; | |
994141e6 | 2214 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2215 | PyObject * obj2 = 0 ; |
2216 | char *kwnames[] = { | |
2217 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL | |
2218 | }; | |
2219 | ||
994141e6 | 2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2223 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 RD |
2224 | if (PyErr_Occurred()) SWIG_fail; |
2225 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
2226 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2227 | SWIG_fail; | |
d14a1e28 | 2228 | if (arg3 == NULL) { |
15afbcd0 RD |
2229 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2230 | SWIG_fail; | |
d14a1e28 RD |
2231 | } |
2232 | { | |
2233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2234 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); | |
2235 | ||
2236 | wxPyEndAllowThreads(__tstate); | |
2237 | if (PyErr_Occurred()) SWIG_fail; | |
2238 | } | |
2239 | Py_INCREF(Py_None); resultobj = Py_None; | |
2240 | return resultobj; | |
2241 | fail: | |
2242 | return NULL; | |
2243 | } | |
2244 | ||
2245 | ||
c370783e | 2246 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2247 | PyObject *resultobj; |
2248 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2249 | int arg2 ; | |
2250 | int arg3 ; | |
2251 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2252 | PyObject * obj1 = 0 ; |
2253 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2254 | char *kwnames[] = { |
2255 | (char *) "self",(char *) "margin",(char *) "marginType", NULL | |
2256 | }; | |
2257 | ||
994141e6 | 2258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2261 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2262 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2263 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2264 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2265 | { |
2266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2267 | (arg1)->SetMarginType(arg2,arg3); | |
2268 | ||
2269 | wxPyEndAllowThreads(__tstate); | |
2270 | if (PyErr_Occurred()) SWIG_fail; | |
2271 | } | |
2272 | Py_INCREF(Py_None); resultobj = Py_None; | |
2273 | return resultobj; | |
2274 | fail: | |
2275 | return NULL; | |
2276 | } | |
2277 | ||
2278 | ||
c370783e | 2279 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2280 | PyObject *resultobj; |
2281 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2282 | int arg2 ; | |
2283 | int result; | |
2284 | PyObject * obj0 = 0 ; | |
994141e6 | 2285 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2286 | char *kwnames[] = { |
2287 | (char *) "self",(char *) "margin", NULL | |
2288 | }; | |
2289 | ||
994141e6 | 2290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2293 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2294 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2295 | { |
2296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2297 | result = (int)(arg1)->GetMarginType(arg2); | |
2298 | ||
2299 | wxPyEndAllowThreads(__tstate); | |
2300 | if (PyErr_Occurred()) SWIG_fail; | |
2301 | } | |
c370783e | 2302 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2303 | return resultobj; |
2304 | fail: | |
2305 | return NULL; | |
2306 | } | |
2307 | ||
2308 | ||
c370783e | 2309 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2310 | PyObject *resultobj; |
2311 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2312 | int arg2 ; | |
2313 | int arg3 ; | |
2314 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2315 | PyObject * obj1 = 0 ; |
2316 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2317 | char *kwnames[] = { |
2318 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL | |
2319 | }; | |
2320 | ||
994141e6 | 2321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2324 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2325 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2326 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2327 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2328 | { |
2329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2330 | (arg1)->SetMarginWidth(arg2,arg3); | |
2331 | ||
2332 | wxPyEndAllowThreads(__tstate); | |
2333 | if (PyErr_Occurred()) SWIG_fail; | |
2334 | } | |
2335 | Py_INCREF(Py_None); resultobj = Py_None; | |
2336 | return resultobj; | |
2337 | fail: | |
2338 | return NULL; | |
2339 | } | |
2340 | ||
2341 | ||
c370783e | 2342 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2343 | PyObject *resultobj; |
2344 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2345 | int arg2 ; | |
2346 | int result; | |
2347 | PyObject * obj0 = 0 ; | |
994141e6 | 2348 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2349 | char *kwnames[] = { |
2350 | (char *) "self",(char *) "margin", NULL | |
2351 | }; | |
2352 | ||
994141e6 | 2353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2356 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2357 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2358 | { |
2359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2360 | result = (int)(arg1)->GetMarginWidth(arg2); | |
2361 | ||
2362 | wxPyEndAllowThreads(__tstate); | |
2363 | if (PyErr_Occurred()) SWIG_fail; | |
2364 | } | |
c370783e | 2365 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2366 | return resultobj; |
2367 | fail: | |
2368 | return NULL; | |
2369 | } | |
2370 | ||
2371 | ||
c370783e | 2372 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2373 | PyObject *resultobj; |
2374 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2375 | int arg2 ; | |
2376 | int arg3 ; | |
2377 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2378 | PyObject * obj1 = 0 ; |
2379 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2380 | char *kwnames[] = { |
2381 | (char *) "self",(char *) "margin",(char *) "mask", NULL | |
2382 | }; | |
2383 | ||
994141e6 | 2384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2387 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2388 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2389 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2390 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2391 | { |
2392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2393 | (arg1)->SetMarginMask(arg2,arg3); | |
2394 | ||
2395 | wxPyEndAllowThreads(__tstate); | |
2396 | if (PyErr_Occurred()) SWIG_fail; | |
2397 | } | |
2398 | Py_INCREF(Py_None); resultobj = Py_None; | |
2399 | return resultobj; | |
2400 | fail: | |
2401 | return NULL; | |
2402 | } | |
2403 | ||
2404 | ||
c370783e | 2405 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2406 | PyObject *resultobj; |
2407 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2408 | int arg2 ; | |
2409 | int result; | |
2410 | PyObject * obj0 = 0 ; | |
994141e6 | 2411 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2412 | char *kwnames[] = { |
2413 | (char *) "self",(char *) "margin", NULL | |
2414 | }; | |
2415 | ||
994141e6 | 2416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2417 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2419 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2420 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2421 | { |
2422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2423 | result = (int)(arg1)->GetMarginMask(arg2); | |
2424 | ||
2425 | wxPyEndAllowThreads(__tstate); | |
2426 | if (PyErr_Occurred()) SWIG_fail; | |
2427 | } | |
c370783e | 2428 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2429 | return resultobj; |
2430 | fail: | |
2431 | return NULL; | |
2432 | } | |
2433 | ||
2434 | ||
c370783e | 2435 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2436 | PyObject *resultobj; |
2437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2438 | int arg2 ; | |
2439 | bool arg3 ; | |
2440 | PyObject * obj0 = 0 ; | |
994141e6 | 2441 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2442 | PyObject * obj2 = 0 ; |
2443 | char *kwnames[] = { | |
2444 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL | |
2445 | }; | |
2446 | ||
994141e6 | 2447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2450 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2451 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2452 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2453 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2454 | { |
2455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2456 | (arg1)->SetMarginSensitive(arg2,arg3); | |
2457 | ||
2458 | wxPyEndAllowThreads(__tstate); | |
2459 | if (PyErr_Occurred()) SWIG_fail; | |
2460 | } | |
2461 | Py_INCREF(Py_None); resultobj = Py_None; | |
2462 | return resultobj; | |
2463 | fail: | |
2464 | return NULL; | |
2465 | } | |
2466 | ||
2467 | ||
c370783e | 2468 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2469 | PyObject *resultobj; |
2470 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2471 | int arg2 ; | |
2472 | bool result; | |
2473 | PyObject * obj0 = 0 ; | |
994141e6 | 2474 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2475 | char *kwnames[] = { |
2476 | (char *) "self",(char *) "margin", NULL | |
2477 | }; | |
2478 | ||
994141e6 | 2479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2480 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2481 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2482 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2483 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2484 | { |
2485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2486 | result = (bool)(arg1)->GetMarginSensitive(arg2); | |
2487 | ||
2488 | wxPyEndAllowThreads(__tstate); | |
2489 | if (PyErr_Occurred()) SWIG_fail; | |
2490 | } | |
4f89f6a3 RD |
2491 | { |
2492 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2493 | } | |
d14a1e28 RD |
2494 | return resultobj; |
2495 | fail: | |
2496 | return NULL; | |
2497 | } | |
2498 | ||
2499 | ||
c370783e | 2500 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2501 | PyObject *resultobj; |
2502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2503 | PyObject * obj0 = 0 ; | |
2504 | char *kwnames[] = { | |
2505 | (char *) "self", NULL | |
2506 | }; | |
2507 | ||
2508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2509 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2511 | { |
2512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2513 | (arg1)->StyleClearAll(); | |
2514 | ||
2515 | wxPyEndAllowThreads(__tstate); | |
2516 | if (PyErr_Occurred()) SWIG_fail; | |
2517 | } | |
2518 | Py_INCREF(Py_None); resultobj = Py_None; | |
2519 | return resultobj; | |
2520 | fail: | |
2521 | return NULL; | |
2522 | } | |
2523 | ||
2524 | ||
c370783e | 2525 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2526 | PyObject *resultobj; |
2527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2528 | int arg2 ; | |
2529 | wxColour *arg3 = 0 ; | |
2530 | wxColour temp3 ; | |
2531 | PyObject * obj0 = 0 ; | |
994141e6 | 2532 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2533 | PyObject * obj2 = 0 ; |
2534 | char *kwnames[] = { | |
2535 | (char *) "self",(char *) "style",(char *) "fore", NULL | |
2536 | }; | |
2537 | ||
994141e6 | 2538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2541 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2542 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2543 | { |
2544 | arg3 = &temp3; | |
2545 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2546 | } | |
2547 | { | |
2548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2549 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); | |
2550 | ||
2551 | wxPyEndAllowThreads(__tstate); | |
2552 | if (PyErr_Occurred()) SWIG_fail; | |
2553 | } | |
2554 | Py_INCREF(Py_None); resultobj = Py_None; | |
2555 | return resultobj; | |
2556 | fail: | |
2557 | return NULL; | |
2558 | } | |
2559 | ||
2560 | ||
c370783e | 2561 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2562 | PyObject *resultobj; |
2563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2564 | int arg2 ; | |
2565 | wxColour *arg3 = 0 ; | |
2566 | wxColour temp3 ; | |
2567 | PyObject * obj0 = 0 ; | |
994141e6 | 2568 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2569 | PyObject * obj2 = 0 ; |
2570 | char *kwnames[] = { | |
2571 | (char *) "self",(char *) "style",(char *) "back", NULL | |
2572 | }; | |
2573 | ||
994141e6 | 2574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2577 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2578 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2579 | { |
2580 | arg3 = &temp3; | |
2581 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2582 | } | |
2583 | { | |
2584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2585 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); | |
2586 | ||
2587 | wxPyEndAllowThreads(__tstate); | |
2588 | if (PyErr_Occurred()) SWIG_fail; | |
2589 | } | |
2590 | Py_INCREF(Py_None); resultobj = Py_None; | |
2591 | return resultobj; | |
2592 | fail: | |
2593 | return NULL; | |
2594 | } | |
2595 | ||
2596 | ||
c370783e | 2597 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2598 | PyObject *resultobj; |
2599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2600 | int arg2 ; | |
2601 | bool arg3 ; | |
2602 | PyObject * obj0 = 0 ; | |
994141e6 | 2603 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2604 | PyObject * obj2 = 0 ; |
2605 | char *kwnames[] = { | |
2606 | (char *) "self",(char *) "style",(char *) "bold", NULL | |
2607 | }; | |
2608 | ||
994141e6 | 2609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2612 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2613 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2614 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2615 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2616 | { |
2617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2618 | (arg1)->StyleSetBold(arg2,arg3); | |
2619 | ||
2620 | wxPyEndAllowThreads(__tstate); | |
2621 | if (PyErr_Occurred()) SWIG_fail; | |
2622 | } | |
2623 | Py_INCREF(Py_None); resultobj = Py_None; | |
2624 | return resultobj; | |
2625 | fail: | |
2626 | return NULL; | |
2627 | } | |
2628 | ||
2629 | ||
c370783e | 2630 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2631 | PyObject *resultobj; |
2632 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2633 | int arg2 ; | |
2634 | bool arg3 ; | |
2635 | PyObject * obj0 = 0 ; | |
994141e6 | 2636 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2637 | PyObject * obj2 = 0 ; |
2638 | char *kwnames[] = { | |
2639 | (char *) "self",(char *) "style",(char *) "italic", NULL | |
2640 | }; | |
2641 | ||
994141e6 | 2642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2645 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2646 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2647 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2648 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2649 | { |
2650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2651 | (arg1)->StyleSetItalic(arg2,arg3); | |
2652 | ||
2653 | wxPyEndAllowThreads(__tstate); | |
2654 | if (PyErr_Occurred()) SWIG_fail; | |
2655 | } | |
2656 | Py_INCREF(Py_None); resultobj = Py_None; | |
2657 | return resultobj; | |
2658 | fail: | |
2659 | return NULL; | |
2660 | } | |
2661 | ||
2662 | ||
c370783e | 2663 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2664 | PyObject *resultobj; |
2665 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2666 | int arg2 ; | |
2667 | int arg3 ; | |
2668 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2669 | PyObject * obj1 = 0 ; |
2670 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2671 | char *kwnames[] = { |
2672 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL | |
2673 | }; | |
2674 | ||
994141e6 | 2675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2678 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2679 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2680 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2681 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2682 | { |
2683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2684 | (arg1)->StyleSetSize(arg2,arg3); | |
2685 | ||
2686 | wxPyEndAllowThreads(__tstate); | |
2687 | if (PyErr_Occurred()) SWIG_fail; | |
2688 | } | |
2689 | Py_INCREF(Py_None); resultobj = Py_None; | |
2690 | return resultobj; | |
2691 | fail: | |
2692 | return NULL; | |
2693 | } | |
2694 | ||
2695 | ||
c370783e | 2696 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2697 | PyObject *resultobj; |
2698 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2699 | int arg2 ; | |
2700 | wxString *arg3 = 0 ; | |
b411df4a | 2701 | bool temp3 = false ; |
d14a1e28 | 2702 | PyObject * obj0 = 0 ; |
994141e6 | 2703 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2704 | PyObject * obj2 = 0 ; |
2705 | char *kwnames[] = { | |
2706 | (char *) "self",(char *) "style",(char *) "fontName", NULL | |
2707 | }; | |
2708 | ||
994141e6 | 2709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2712 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2713 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2714 | { |
2715 | arg3 = wxString_in_helper(obj2); | |
2716 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 2717 | temp3 = true; |
d14a1e28 RD |
2718 | } |
2719 | { | |
2720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2721 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); | |
2722 | ||
2723 | wxPyEndAllowThreads(__tstate); | |
2724 | if (PyErr_Occurred()) SWIG_fail; | |
2725 | } | |
2726 | Py_INCREF(Py_None); resultobj = Py_None; | |
2727 | { | |
2728 | if (temp3) | |
2729 | delete arg3; | |
2730 | } | |
2731 | return resultobj; | |
2732 | fail: | |
2733 | { | |
2734 | if (temp3) | |
2735 | delete arg3; | |
2736 | } | |
2737 | return NULL; | |
2738 | } | |
2739 | ||
2740 | ||
c370783e | 2741 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2742 | PyObject *resultobj; |
2743 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2744 | int arg2 ; | |
2745 | bool arg3 ; | |
2746 | PyObject * obj0 = 0 ; | |
994141e6 | 2747 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2748 | PyObject * obj2 = 0 ; |
2749 | char *kwnames[] = { | |
2750 | (char *) "self",(char *) "style",(char *) "filled", NULL | |
2751 | }; | |
2752 | ||
994141e6 | 2753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2756 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2757 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2758 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2759 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2760 | { |
2761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2762 | (arg1)->StyleSetEOLFilled(arg2,arg3); | |
2763 | ||
2764 | wxPyEndAllowThreads(__tstate); | |
2765 | if (PyErr_Occurred()) SWIG_fail; | |
2766 | } | |
2767 | Py_INCREF(Py_None); resultobj = Py_None; | |
2768 | return resultobj; | |
2769 | fail: | |
2770 | return NULL; | |
2771 | } | |
2772 | ||
2773 | ||
c370783e | 2774 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2775 | PyObject *resultobj; |
2776 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2777 | PyObject * obj0 = 0 ; | |
2778 | char *kwnames[] = { | |
2779 | (char *) "self", NULL | |
2780 | }; | |
2781 | ||
2782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2783 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2785 | { |
2786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2787 | (arg1)->StyleResetDefault(); | |
2788 | ||
2789 | wxPyEndAllowThreads(__tstate); | |
2790 | if (PyErr_Occurred()) SWIG_fail; | |
2791 | } | |
2792 | Py_INCREF(Py_None); resultobj = Py_None; | |
2793 | return resultobj; | |
2794 | fail: | |
2795 | return NULL; | |
2796 | } | |
2797 | ||
2798 | ||
c370783e | 2799 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2800 | PyObject *resultobj; |
2801 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2802 | int arg2 ; | |
2803 | bool arg3 ; | |
2804 | PyObject * obj0 = 0 ; | |
994141e6 | 2805 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2806 | PyObject * obj2 = 0 ; |
2807 | char *kwnames[] = { | |
2808 | (char *) "self",(char *) "style",(char *) "underline", NULL | |
2809 | }; | |
2810 | ||
994141e6 | 2811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2814 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2815 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2816 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2817 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2818 | { |
2819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2820 | (arg1)->StyleSetUnderline(arg2,arg3); | |
2821 | ||
2822 | wxPyEndAllowThreads(__tstate); | |
2823 | if (PyErr_Occurred()) SWIG_fail; | |
2824 | } | |
2825 | Py_INCREF(Py_None); resultobj = Py_None; | |
2826 | return resultobj; | |
2827 | fail: | |
2828 | return NULL; | |
2829 | } | |
2830 | ||
2831 | ||
c370783e | 2832 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2833 | PyObject *resultobj; |
2834 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2835 | int arg2 ; | |
2836 | int arg3 ; | |
2837 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2838 | PyObject * obj1 = 0 ; |
2839 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2840 | char *kwnames[] = { |
2841 | (char *) "self",(char *) "style",(char *) "caseForce", NULL | |
2842 | }; | |
2843 | ||
994141e6 | 2844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2847 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2848 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2849 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2850 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2851 | { |
2852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2853 | (arg1)->StyleSetCase(arg2,arg3); | |
2854 | ||
2855 | wxPyEndAllowThreads(__tstate); | |
2856 | if (PyErr_Occurred()) SWIG_fail; | |
2857 | } | |
2858 | Py_INCREF(Py_None); resultobj = Py_None; | |
2859 | return resultobj; | |
2860 | fail: | |
2861 | return NULL; | |
2862 | } | |
2863 | ||
2864 | ||
c370783e | 2865 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2866 | PyObject *resultobj; |
2867 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2868 | int arg2 ; | |
2869 | int arg3 ; | |
2870 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2871 | PyObject * obj1 = 0 ; |
2872 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2873 | char *kwnames[] = { |
2874 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
2875 | }; | |
2876 | ||
994141e6 | 2877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2880 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2881 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2882 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2883 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2884 | { |
2885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2886 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
2887 | ||
2888 | wxPyEndAllowThreads(__tstate); | |
2889 | if (PyErr_Occurred()) SWIG_fail; | |
2890 | } | |
2891 | Py_INCREF(Py_None); resultobj = Py_None; | |
2892 | return resultobj; | |
2893 | fail: | |
2894 | return NULL; | |
2895 | } | |
2896 | ||
2897 | ||
c370783e | 2898 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2899 | PyObject *resultobj; |
2900 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2901 | int arg2 ; | |
2902 | bool arg3 ; | |
2903 | PyObject * obj0 = 0 ; | |
994141e6 | 2904 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2905 | PyObject * obj2 = 0 ; |
2906 | char *kwnames[] = { | |
2907 | (char *) "self",(char *) "style",(char *) "hotspot", NULL | |
2908 | }; | |
2909 | ||
994141e6 | 2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2913 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2914 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 2915 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2916 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2917 | { |
2918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2919 | (arg1)->StyleSetHotSpot(arg2,arg3); | |
2920 | ||
2921 | wxPyEndAllowThreads(__tstate); | |
2922 | if (PyErr_Occurred()) SWIG_fail; | |
2923 | } | |
2924 | Py_INCREF(Py_None); resultobj = Py_None; | |
2925 | return resultobj; | |
2926 | fail: | |
2927 | return NULL; | |
2928 | } | |
2929 | ||
2930 | ||
c370783e | 2931 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2932 | PyObject *resultobj; |
2933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2934 | bool arg2 ; | |
2935 | wxColour *arg3 = 0 ; | |
2936 | wxColour temp3 ; | |
2937 | PyObject * obj0 = 0 ; | |
2938 | PyObject * obj1 = 0 ; | |
2939 | PyObject * obj2 = 0 ; | |
2940 | char *kwnames[] = { | |
2941 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
2942 | }; | |
2943 | ||
2944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2947 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2948 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2949 | { |
2950 | arg3 = &temp3; | |
2951 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2952 | } | |
2953 | { | |
2954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2955 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); | |
2956 | ||
2957 | wxPyEndAllowThreads(__tstate); | |
2958 | if (PyErr_Occurred()) SWIG_fail; | |
2959 | } | |
2960 | Py_INCREF(Py_None); resultobj = Py_None; | |
2961 | return resultobj; | |
2962 | fail: | |
2963 | return NULL; | |
2964 | } | |
2965 | ||
2966 | ||
c370783e | 2967 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2968 | PyObject *resultobj; |
2969 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2970 | bool arg2 ; | |
2971 | wxColour *arg3 = 0 ; | |
2972 | wxColour temp3 ; | |
2973 | PyObject * obj0 = 0 ; | |
2974 | PyObject * obj1 = 0 ; | |
2975 | PyObject * obj2 = 0 ; | |
2976 | char *kwnames[] = { | |
2977 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
2978 | }; | |
2979 | ||
2980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
2982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 2983 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2984 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2985 | { |
2986 | arg3 = &temp3; | |
2987 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2988 | } | |
2989 | { | |
2990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2991 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); | |
2992 | ||
2993 | wxPyEndAllowThreads(__tstate); | |
2994 | if (PyErr_Occurred()) SWIG_fail; | |
2995 | } | |
2996 | Py_INCREF(Py_None); resultobj = Py_None; | |
2997 | return resultobj; | |
2998 | fail: | |
2999 | return NULL; | |
3000 | } | |
3001 | ||
3002 | ||
c370783e | 3003 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3004 | PyObject *resultobj; |
3005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3006 | wxColour *arg2 = 0 ; | |
3007 | wxColour temp2 ; | |
3008 | PyObject * obj0 = 0 ; | |
3009 | PyObject * obj1 = 0 ; | |
3010 | char *kwnames[] = { | |
3011 | (char *) "self",(char *) "fore", NULL | |
3012 | }; | |
3013 | ||
3014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3017 | { |
3018 | arg2 = &temp2; | |
3019 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3020 | } | |
3021 | { | |
3022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3023 | (arg1)->SetCaretForeground((wxColour const &)*arg2); | |
3024 | ||
3025 | wxPyEndAllowThreads(__tstate); | |
3026 | if (PyErr_Occurred()) SWIG_fail; | |
3027 | } | |
3028 | Py_INCREF(Py_None); resultobj = Py_None; | |
3029 | return resultobj; | |
3030 | fail: | |
3031 | return NULL; | |
3032 | } | |
3033 | ||
3034 | ||
c370783e | 3035 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3036 | PyObject *resultobj; |
3037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3038 | int arg2 ; | |
3039 | int arg3 ; | |
3040 | int arg4 ; | |
3041 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3042 | PyObject * obj1 = 0 ; |
3043 | PyObject * obj2 = 0 ; | |
3044 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3045 | char *kwnames[] = { |
3046 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL | |
3047 | }; | |
3048 | ||
994141e6 | 3049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
3050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3052 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3053 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3054 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3055 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3056 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 3057 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3058 | { |
3059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3060 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); | |
3061 | ||
3062 | wxPyEndAllowThreads(__tstate); | |
3063 | if (PyErr_Occurred()) SWIG_fail; | |
3064 | } | |
3065 | Py_INCREF(Py_None); resultobj = Py_None; | |
3066 | return resultobj; | |
3067 | fail: | |
3068 | return NULL; | |
3069 | } | |
3070 | ||
3071 | ||
c370783e | 3072 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3073 | PyObject *resultobj; |
3074 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3075 | int arg2 ; | |
3076 | int arg3 ; | |
3077 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3078 | PyObject * obj1 = 0 ; |
3079 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3080 | char *kwnames[] = { |
3081 | (char *) "self",(char *) "key",(char *) "modifiers", NULL | |
3082 | }; | |
3083 | ||
994141e6 | 3084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3087 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3088 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3089 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3090 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3091 | { |
3092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3093 | (arg1)->CmdKeyClear(arg2,arg3); | |
3094 | ||
3095 | wxPyEndAllowThreads(__tstate); | |
3096 | if (PyErr_Occurred()) SWIG_fail; | |
3097 | } | |
3098 | Py_INCREF(Py_None); resultobj = Py_None; | |
3099 | return resultobj; | |
3100 | fail: | |
3101 | return NULL; | |
3102 | } | |
3103 | ||
3104 | ||
c370783e | 3105 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3106 | PyObject *resultobj; |
3107 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3108 | PyObject * obj0 = 0 ; | |
3109 | char *kwnames[] = { | |
3110 | (char *) "self", NULL | |
3111 | }; | |
3112 | ||
3113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3116 | { |
3117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3118 | (arg1)->CmdKeyClearAll(); | |
3119 | ||
3120 | wxPyEndAllowThreads(__tstate); | |
3121 | if (PyErr_Occurred()) SWIG_fail; | |
3122 | } | |
3123 | Py_INCREF(Py_None); resultobj = Py_None; | |
3124 | return resultobj; | |
3125 | fail: | |
3126 | return NULL; | |
3127 | } | |
3128 | ||
3129 | ||
c370783e | 3130 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3131 | PyObject *resultobj; |
3132 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3133 | int arg2 ; | |
3134 | char *arg3 ; | |
3135 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3136 | PyObject * obj1 = 0 ; |
3137 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3138 | char *kwnames[] = { |
3139 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL | |
3140 | }; | |
3141 | ||
994141e6 | 3142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3145 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3146 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3147 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) SWIG_fail; |
d14a1e28 RD |
3148 | { |
3149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3150 | (arg1)->SetStyleBytes(arg2,arg3); | |
3151 | ||
3152 | wxPyEndAllowThreads(__tstate); | |
3153 | if (PyErr_Occurred()) SWIG_fail; | |
3154 | } | |
3155 | Py_INCREF(Py_None); resultobj = Py_None; | |
3156 | return resultobj; | |
3157 | fail: | |
3158 | return NULL; | |
3159 | } | |
3160 | ||
3161 | ||
c370783e | 3162 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3163 | PyObject *resultobj; |
3164 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3165 | int arg2 ; | |
3166 | bool arg3 ; | |
3167 | PyObject * obj0 = 0 ; | |
994141e6 | 3168 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3169 | PyObject * obj2 = 0 ; |
3170 | char *kwnames[] = { | |
3171 | (char *) "self",(char *) "style",(char *) "visible", NULL | |
3172 | }; | |
3173 | ||
994141e6 | 3174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3177 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3178 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3179 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 3180 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3181 | { |
3182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3183 | (arg1)->StyleSetVisible(arg2,arg3); | |
3184 | ||
3185 | wxPyEndAllowThreads(__tstate); | |
3186 | if (PyErr_Occurred()) SWIG_fail; | |
3187 | } | |
3188 | Py_INCREF(Py_None); resultobj = Py_None; | |
3189 | return resultobj; | |
3190 | fail: | |
3191 | return NULL; | |
3192 | } | |
3193 | ||
3194 | ||
c370783e | 3195 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3196 | PyObject *resultobj; |
3197 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3198 | int result; | |
3199 | PyObject * obj0 = 0 ; | |
3200 | char *kwnames[] = { | |
3201 | (char *) "self", NULL | |
3202 | }; | |
3203 | ||
3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3205 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3206 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3207 | { |
3208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3209 | result = (int)(arg1)->GetCaretPeriod(); | |
3210 | ||
3211 | wxPyEndAllowThreads(__tstate); | |
3212 | if (PyErr_Occurred()) SWIG_fail; | |
3213 | } | |
c370783e | 3214 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3215 | return resultobj; |
3216 | fail: | |
3217 | return NULL; | |
3218 | } | |
3219 | ||
3220 | ||
c370783e | 3221 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3222 | PyObject *resultobj; |
3223 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3224 | int arg2 ; | |
3225 | PyObject * obj0 = 0 ; | |
994141e6 | 3226 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3227 | char *kwnames[] = { |
3228 | (char *) "self",(char *) "periodMilliseconds", NULL | |
3229 | }; | |
3230 | ||
994141e6 | 3231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3234 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3235 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3236 | { |
3237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3238 | (arg1)->SetCaretPeriod(arg2); | |
3239 | ||
3240 | wxPyEndAllowThreads(__tstate); | |
3241 | if (PyErr_Occurred()) SWIG_fail; | |
3242 | } | |
3243 | Py_INCREF(Py_None); resultobj = Py_None; | |
3244 | return resultobj; | |
3245 | fail: | |
3246 | return NULL; | |
3247 | } | |
3248 | ||
3249 | ||
c370783e | 3250 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3251 | PyObject *resultobj; |
3252 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3253 | wxString *arg2 = 0 ; | |
b411df4a | 3254 | bool temp2 = false ; |
d14a1e28 RD |
3255 | PyObject * obj0 = 0 ; |
3256 | PyObject * obj1 = 0 ; | |
3257 | char *kwnames[] = { | |
3258 | (char *) "self",(char *) "characters", NULL | |
3259 | }; | |
3260 | ||
3261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3264 | { |
3265 | arg2 = wxString_in_helper(obj1); | |
3266 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 3267 | temp2 = true; |
d14a1e28 RD |
3268 | } |
3269 | { | |
3270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3271 | (arg1)->SetWordChars((wxString const &)*arg2); | |
3272 | ||
3273 | wxPyEndAllowThreads(__tstate); | |
3274 | if (PyErr_Occurred()) SWIG_fail; | |
3275 | } | |
3276 | Py_INCREF(Py_None); resultobj = Py_None; | |
3277 | { | |
3278 | if (temp2) | |
3279 | delete arg2; | |
3280 | } | |
3281 | return resultobj; | |
3282 | fail: | |
3283 | { | |
3284 | if (temp2) | |
3285 | delete arg2; | |
3286 | } | |
3287 | return NULL; | |
3288 | } | |
3289 | ||
3290 | ||
c370783e | 3291 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3292 | PyObject *resultobj; |
3293 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3294 | PyObject * obj0 = 0 ; | |
3295 | char *kwnames[] = { | |
3296 | (char *) "self", NULL | |
3297 | }; | |
3298 | ||
3299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3302 | { |
3303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3304 | (arg1)->BeginUndoAction(); | |
3305 | ||
3306 | wxPyEndAllowThreads(__tstate); | |
3307 | if (PyErr_Occurred()) SWIG_fail; | |
3308 | } | |
3309 | Py_INCREF(Py_None); resultobj = Py_None; | |
3310 | return resultobj; | |
3311 | fail: | |
3312 | return NULL; | |
3313 | } | |
3314 | ||
3315 | ||
c370783e | 3316 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3317 | PyObject *resultobj; |
3318 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3319 | PyObject * obj0 = 0 ; | |
3320 | char *kwnames[] = { | |
3321 | (char *) "self", NULL | |
3322 | }; | |
3323 | ||
3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3327 | { |
3328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3329 | (arg1)->EndUndoAction(); | |
3330 | ||
3331 | wxPyEndAllowThreads(__tstate); | |
3332 | if (PyErr_Occurred()) SWIG_fail; | |
3333 | } | |
3334 | Py_INCREF(Py_None); resultobj = Py_None; | |
3335 | return resultobj; | |
3336 | fail: | |
3337 | return NULL; | |
3338 | } | |
3339 | ||
3340 | ||
c370783e | 3341 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3342 | PyObject *resultobj; |
3343 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3344 | int arg2 ; | |
3345 | int arg3 ; | |
3346 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3347 | PyObject * obj1 = 0 ; |
3348 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3349 | char *kwnames[] = { |
3350 | (char *) "self",(char *) "indic",(char *) "style", NULL | |
3351 | }; | |
3352 | ||
994141e6 | 3353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3356 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3357 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3358 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3359 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3360 | { |
3361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3362 | (arg1)->IndicatorSetStyle(arg2,arg3); | |
3363 | ||
3364 | wxPyEndAllowThreads(__tstate); | |
3365 | if (PyErr_Occurred()) SWIG_fail; | |
3366 | } | |
3367 | Py_INCREF(Py_None); resultobj = Py_None; | |
3368 | return resultobj; | |
3369 | fail: | |
3370 | return NULL; | |
3371 | } | |
3372 | ||
3373 | ||
c370783e | 3374 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3375 | PyObject *resultobj; |
3376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3377 | int arg2 ; | |
3378 | int result; | |
3379 | PyObject * obj0 = 0 ; | |
994141e6 | 3380 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3381 | char *kwnames[] = { |
3382 | (char *) "self",(char *) "indic", NULL | |
3383 | }; | |
3384 | ||
994141e6 | 3385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3388 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3389 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3390 | { |
3391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3392 | result = (int)(arg1)->IndicatorGetStyle(arg2); | |
3393 | ||
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
c370783e | 3397 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3398 | return resultobj; |
3399 | fail: | |
3400 | return NULL; | |
3401 | } | |
3402 | ||
3403 | ||
c370783e | 3404 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3405 | PyObject *resultobj; |
3406 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3407 | int arg2 ; | |
3408 | wxColour *arg3 = 0 ; | |
3409 | wxColour temp3 ; | |
3410 | PyObject * obj0 = 0 ; | |
994141e6 | 3411 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3412 | PyObject * obj2 = 0 ; |
3413 | char *kwnames[] = { | |
3414 | (char *) "self",(char *) "indic",(char *) "fore", NULL | |
3415 | }; | |
3416 | ||
994141e6 | 3417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3420 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3421 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3422 | { |
3423 | arg3 = &temp3; | |
3424 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3425 | } | |
3426 | { | |
3427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3428 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); | |
3429 | ||
3430 | wxPyEndAllowThreads(__tstate); | |
3431 | if (PyErr_Occurred()) SWIG_fail; | |
3432 | } | |
3433 | Py_INCREF(Py_None); resultobj = Py_None; | |
3434 | return resultobj; | |
3435 | fail: | |
3436 | return NULL; | |
3437 | } | |
3438 | ||
3439 | ||
c370783e | 3440 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3441 | PyObject *resultobj; |
3442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3443 | int arg2 ; | |
3444 | wxColour result; | |
3445 | PyObject * obj0 = 0 ; | |
994141e6 | 3446 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3447 | char *kwnames[] = { |
3448 | (char *) "self",(char *) "indic", NULL | |
3449 | }; | |
3450 | ||
994141e6 | 3451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3454 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3455 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3456 | { |
3457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3458 | result = (arg1)->IndicatorGetForeground(arg2); | |
3459 | ||
3460 | wxPyEndAllowThreads(__tstate); | |
3461 | if (PyErr_Occurred()) SWIG_fail; | |
3462 | } | |
3463 | { | |
3464 | wxColour * resultptr; | |
3465 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 3466 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3467 | } |
3468 | return resultobj; | |
3469 | fail: | |
3470 | return NULL; | |
3471 | } | |
3472 | ||
3473 | ||
c370783e | 3474 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3475 | PyObject *resultobj; |
3476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3477 | bool arg2 ; | |
3478 | wxColour *arg3 = 0 ; | |
3479 | wxColour temp3 ; | |
3480 | PyObject * obj0 = 0 ; | |
3481 | PyObject * obj1 = 0 ; | |
3482 | PyObject * obj2 = 0 ; | |
3483 | char *kwnames[] = { | |
3484 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
3485 | }; | |
3486 | ||
3487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3490 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3491 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3492 | { |
3493 | arg3 = &temp3; | |
3494 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3495 | } | |
3496 | { | |
3497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3498 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); | |
3499 | ||
3500 | wxPyEndAllowThreads(__tstate); | |
3501 | if (PyErr_Occurred()) SWIG_fail; | |
3502 | } | |
3503 | Py_INCREF(Py_None); resultobj = Py_None; | |
3504 | return resultobj; | |
3505 | fail: | |
3506 | return NULL; | |
3507 | } | |
3508 | ||
3509 | ||
c370783e | 3510 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3511 | PyObject *resultobj; |
3512 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3513 | bool arg2 ; | |
3514 | wxColour *arg3 = 0 ; | |
3515 | wxColour temp3 ; | |
3516 | PyObject * obj0 = 0 ; | |
3517 | PyObject * obj1 = 0 ; | |
3518 | PyObject * obj2 = 0 ; | |
3519 | char *kwnames[] = { | |
3520 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
3521 | }; | |
3522 | ||
3523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3526 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3527 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3528 | { |
3529 | arg3 = &temp3; | |
3530 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3531 | } | |
3532 | { | |
3533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3534 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); | |
3535 | ||
3536 | wxPyEndAllowThreads(__tstate); | |
3537 | if (PyErr_Occurred()) SWIG_fail; | |
3538 | } | |
3539 | Py_INCREF(Py_None); resultobj = Py_None; | |
3540 | return resultobj; | |
3541 | fail: | |
3542 | return NULL; | |
3543 | } | |
3544 | ||
3545 | ||
c370783e | 3546 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3547 | PyObject *resultobj; |
3548 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3549 | int arg2 ; | |
3550 | PyObject * obj0 = 0 ; | |
994141e6 | 3551 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3552 | char *kwnames[] = { |
3553 | (char *) "self",(char *) "bits", NULL | |
3554 | }; | |
3555 | ||
994141e6 | 3556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3559 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3560 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3561 | { |
3562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3563 | (arg1)->SetStyleBits(arg2); | |
3564 | ||
3565 | wxPyEndAllowThreads(__tstate); | |
3566 | if (PyErr_Occurred()) SWIG_fail; | |
3567 | } | |
3568 | Py_INCREF(Py_None); resultobj = Py_None; | |
3569 | return resultobj; | |
3570 | fail: | |
3571 | return NULL; | |
3572 | } | |
3573 | ||
3574 | ||
c370783e | 3575 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3576 | PyObject *resultobj; |
3577 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3578 | int result; | |
3579 | PyObject * obj0 = 0 ; | |
3580 | char *kwnames[] = { | |
3581 | (char *) "self", NULL | |
3582 | }; | |
3583 | ||
3584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3587 | { |
3588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3589 | result = (int)(arg1)->GetStyleBits(); | |
3590 | ||
3591 | wxPyEndAllowThreads(__tstate); | |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
3593 | } | |
c370783e | 3594 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3595 | return resultobj; |
3596 | fail: | |
3597 | return NULL; | |
3598 | } | |
3599 | ||
3600 | ||
c370783e | 3601 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3602 | PyObject *resultobj; |
3603 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3604 | int arg2 ; | |
3605 | int arg3 ; | |
3606 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3607 | PyObject * obj1 = 0 ; |
3608 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3609 | char *kwnames[] = { |
3610 | (char *) "self",(char *) "line",(char *) "state", NULL | |
3611 | }; | |
3612 | ||
994141e6 | 3613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3616 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3617 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3618 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3619 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3620 | { |
3621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3622 | (arg1)->SetLineState(arg2,arg3); | |
3623 | ||
3624 | wxPyEndAllowThreads(__tstate); | |
3625 | if (PyErr_Occurred()) SWIG_fail; | |
3626 | } | |
3627 | Py_INCREF(Py_None); resultobj = Py_None; | |
3628 | return resultobj; | |
3629 | fail: | |
3630 | return NULL; | |
3631 | } | |
3632 | ||
3633 | ||
c370783e | 3634 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3635 | PyObject *resultobj; |
3636 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3637 | int arg2 ; | |
3638 | int result; | |
3639 | PyObject * obj0 = 0 ; | |
994141e6 | 3640 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3641 | char *kwnames[] = { |
3642 | (char *) "self",(char *) "line", NULL | |
3643 | }; | |
3644 | ||
994141e6 | 3645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3648 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3649 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3650 | { |
3651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3652 | result = (int)(arg1)->GetLineState(arg2); | |
3653 | ||
3654 | wxPyEndAllowThreads(__tstate); | |
3655 | if (PyErr_Occurred()) SWIG_fail; | |
3656 | } | |
c370783e | 3657 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3658 | return resultobj; |
3659 | fail: | |
3660 | return NULL; | |
3661 | } | |
3662 | ||
3663 | ||
c370783e | 3664 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3665 | PyObject *resultobj; |
3666 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3667 | int result; | |
3668 | PyObject * obj0 = 0 ; | |
3669 | char *kwnames[] = { | |
3670 | (char *) "self", NULL | |
3671 | }; | |
3672 | ||
3673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3676 | { |
3677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3678 | result = (int)(arg1)->GetMaxLineState(); | |
3679 | ||
3680 | wxPyEndAllowThreads(__tstate); | |
3681 | if (PyErr_Occurred()) SWIG_fail; | |
3682 | } | |
c370783e | 3683 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3684 | return resultobj; |
3685 | fail: | |
3686 | return NULL; | |
3687 | } | |
3688 | ||
3689 | ||
c370783e | 3690 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3691 | PyObject *resultobj; |
3692 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3693 | bool result; | |
3694 | PyObject * obj0 = 0 ; | |
3695 | char *kwnames[] = { | |
3696 | (char *) "self", NULL | |
3697 | }; | |
3698 | ||
3699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3702 | { |
3703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3704 | result = (bool)(arg1)->GetCaretLineVisible(); | |
3705 | ||
3706 | wxPyEndAllowThreads(__tstate); | |
3707 | if (PyErr_Occurred()) SWIG_fail; | |
3708 | } | |
4f89f6a3 RD |
3709 | { |
3710 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3711 | } | |
d14a1e28 RD |
3712 | return resultobj; |
3713 | fail: | |
3714 | return NULL; | |
3715 | } | |
3716 | ||
3717 | ||
c370783e | 3718 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3719 | PyObject *resultobj; |
3720 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3721 | bool arg2 ; | |
3722 | PyObject * obj0 = 0 ; | |
3723 | PyObject * obj1 = 0 ; | |
3724 | char *kwnames[] = { | |
3725 | (char *) "self",(char *) "show", NULL | |
3726 | }; | |
3727 | ||
3728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3731 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3732 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3733 | { |
3734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3735 | (arg1)->SetCaretLineVisible(arg2); | |
3736 | ||
3737 | wxPyEndAllowThreads(__tstate); | |
3738 | if (PyErr_Occurred()) SWIG_fail; | |
3739 | } | |
3740 | Py_INCREF(Py_None); resultobj = Py_None; | |
3741 | return resultobj; | |
3742 | fail: | |
3743 | return NULL; | |
3744 | } | |
3745 | ||
3746 | ||
c370783e | 3747 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3748 | PyObject *resultobj; |
3749 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3750 | wxColour result; | |
3751 | PyObject * obj0 = 0 ; | |
3752 | char *kwnames[] = { | |
3753 | (char *) "self", NULL | |
3754 | }; | |
3755 | ||
3756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3759 | { |
3760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3761 | result = (arg1)->GetCaretLineBack(); | |
3762 | ||
3763 | wxPyEndAllowThreads(__tstate); | |
3764 | if (PyErr_Occurred()) SWIG_fail; | |
3765 | } | |
3766 | { | |
3767 | wxColour * resultptr; | |
3768 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 3769 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
3770 | } |
3771 | return resultobj; | |
3772 | fail: | |
3773 | return NULL; | |
3774 | } | |
3775 | ||
3776 | ||
c370783e | 3777 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3778 | PyObject *resultobj; |
3779 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3780 | wxColour *arg2 = 0 ; | |
3781 | wxColour temp2 ; | |
3782 | PyObject * obj0 = 0 ; | |
3783 | PyObject * obj1 = 0 ; | |
3784 | char *kwnames[] = { | |
3785 | (char *) "self",(char *) "back", NULL | |
3786 | }; | |
3787 | ||
3788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3791 | { |
3792 | arg2 = &temp2; | |
3793 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3794 | } | |
3795 | { | |
3796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3797 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); | |
3798 | ||
3799 | wxPyEndAllowThreads(__tstate); | |
3800 | if (PyErr_Occurred()) SWIG_fail; | |
3801 | } | |
3802 | Py_INCREF(Py_None); resultobj = Py_None; | |
3803 | return resultobj; | |
3804 | fail: | |
3805 | return NULL; | |
3806 | } | |
3807 | ||
3808 | ||
c370783e | 3809 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3810 | PyObject *resultobj; |
3811 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3812 | int arg2 ; | |
3813 | bool arg3 ; | |
3814 | PyObject * obj0 = 0 ; | |
994141e6 | 3815 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3816 | PyObject * obj2 = 0 ; |
3817 | char *kwnames[] = { | |
3818 | (char *) "self",(char *) "style",(char *) "changeable", NULL | |
3819 | }; | |
3820 | ||
994141e6 | 3821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3822 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3824 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3825 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 3826 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 3827 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3828 | { |
3829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3830 | (arg1)->StyleSetChangeable(arg2,arg3); | |
3831 | ||
3832 | wxPyEndAllowThreads(__tstate); | |
3833 | if (PyErr_Occurred()) SWIG_fail; | |
3834 | } | |
3835 | Py_INCREF(Py_None); resultobj = Py_None; | |
3836 | return resultobj; | |
3837 | fail: | |
3838 | return NULL; | |
3839 | } | |
3840 | ||
3841 | ||
c370783e | 3842 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3843 | PyObject *resultobj; |
3844 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3845 | int arg2 ; | |
3846 | wxString *arg3 = 0 ; | |
b411df4a | 3847 | bool temp3 = false ; |
d14a1e28 | 3848 | PyObject * obj0 = 0 ; |
994141e6 | 3849 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3850 | PyObject * obj2 = 0 ; |
3851 | char *kwnames[] = { | |
3852 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL | |
3853 | }; | |
3854 | ||
994141e6 | 3855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 3858 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3859 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3860 | { |
3861 | arg3 = wxString_in_helper(obj2); | |
3862 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 3863 | temp3 = true; |
d14a1e28 RD |
3864 | } |
3865 | { | |
3866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3867 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); | |
3868 | ||
3869 | wxPyEndAllowThreads(__tstate); | |
3870 | if (PyErr_Occurred()) SWIG_fail; | |
3871 | } | |
3872 | Py_INCREF(Py_None); resultobj = Py_None; | |
3873 | { | |
3874 | if (temp3) | |
3875 | delete arg3; | |
3876 | } | |
3877 | return resultobj; | |
3878 | fail: | |
3879 | { | |
3880 | if (temp3) | |
3881 | delete arg3; | |
3882 | } | |
3883 | return NULL; | |
3884 | } | |
3885 | ||
3886 | ||
c370783e | 3887 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3888 | PyObject *resultobj; |
3889 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3890 | PyObject * obj0 = 0 ; | |
3891 | char *kwnames[] = { | |
3892 | (char *) "self", NULL | |
3893 | }; | |
3894 | ||
3895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3898 | { |
3899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3900 | (arg1)->AutoCompCancel(); | |
3901 | ||
3902 | wxPyEndAllowThreads(__tstate); | |
3903 | if (PyErr_Occurred()) SWIG_fail; | |
3904 | } | |
3905 | Py_INCREF(Py_None); resultobj = Py_None; | |
3906 | return resultobj; | |
3907 | fail: | |
3908 | return NULL; | |
3909 | } | |
3910 | ||
3911 | ||
c370783e | 3912 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3913 | PyObject *resultobj; |
3914 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3915 | bool result; | |
3916 | PyObject * obj0 = 0 ; | |
3917 | char *kwnames[] = { | |
3918 | (char *) "self", NULL | |
3919 | }; | |
3920 | ||
3921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3924 | { |
3925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3926 | result = (bool)(arg1)->AutoCompActive(); | |
3927 | ||
3928 | wxPyEndAllowThreads(__tstate); | |
3929 | if (PyErr_Occurred()) SWIG_fail; | |
3930 | } | |
4f89f6a3 RD |
3931 | { |
3932 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3933 | } | |
d14a1e28 RD |
3934 | return resultobj; |
3935 | fail: | |
3936 | return NULL; | |
3937 | } | |
3938 | ||
3939 | ||
c370783e | 3940 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3941 | PyObject *resultobj; |
3942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3943 | int result; | |
3944 | PyObject * obj0 = 0 ; | |
3945 | char *kwnames[] = { | |
3946 | (char *) "self", NULL | |
3947 | }; | |
3948 | ||
3949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3952 | { |
3953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3954 | result = (int)(arg1)->AutoCompPosStart(); | |
3955 | ||
3956 | wxPyEndAllowThreads(__tstate); | |
3957 | if (PyErr_Occurred()) SWIG_fail; | |
3958 | } | |
c370783e | 3959 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
3960 | return resultobj; |
3961 | fail: | |
3962 | return NULL; | |
3963 | } | |
3964 | ||
3965 | ||
c370783e | 3966 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3967 | PyObject *resultobj; |
3968 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3969 | PyObject * obj0 = 0 ; | |
3970 | char *kwnames[] = { | |
3971 | (char *) "self", NULL | |
3972 | }; | |
3973 | ||
3974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
3976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3977 | { |
3978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3979 | (arg1)->AutoCompComplete(); | |
3980 | ||
3981 | wxPyEndAllowThreads(__tstate); | |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
3984 | Py_INCREF(Py_None); resultobj = Py_None; | |
3985 | return resultobj; | |
3986 | fail: | |
3987 | return NULL; | |
3988 | } | |
3989 | ||
3990 | ||
c370783e | 3991 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3992 | PyObject *resultobj; |
3993 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3994 | wxString *arg2 = 0 ; | |
b411df4a | 3995 | bool temp2 = false ; |
d14a1e28 RD |
3996 | PyObject * obj0 = 0 ; |
3997 | PyObject * obj1 = 0 ; | |
3998 | char *kwnames[] = { | |
3999 | (char *) "self",(char *) "characterSet", NULL | |
4000 | }; | |
4001 | ||
4002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4005 | { |
4006 | arg2 = wxString_in_helper(obj1); | |
4007 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4008 | temp2 = true; |
d14a1e28 RD |
4009 | } |
4010 | { | |
4011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4012 | (arg1)->AutoCompStops((wxString const &)*arg2); | |
4013 | ||
4014 | wxPyEndAllowThreads(__tstate); | |
4015 | if (PyErr_Occurred()) SWIG_fail; | |
4016 | } | |
4017 | Py_INCREF(Py_None); resultobj = Py_None; | |
4018 | { | |
4019 | if (temp2) | |
4020 | delete arg2; | |
4021 | } | |
4022 | return resultobj; | |
4023 | fail: | |
4024 | { | |
4025 | if (temp2) | |
4026 | delete arg2; | |
4027 | } | |
4028 | return NULL; | |
4029 | } | |
4030 | ||
4031 | ||
c370783e | 4032 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4033 | PyObject *resultobj; |
4034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4035 | int arg2 ; | |
4036 | PyObject * obj0 = 0 ; | |
994141e6 | 4037 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4038 | char *kwnames[] = { |
4039 | (char *) "self",(char *) "separatorCharacter", NULL | |
4040 | }; | |
4041 | ||
994141e6 | 4042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4045 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4046 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4047 | { |
4048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4049 | (arg1)->AutoCompSetSeparator(arg2); | |
4050 | ||
4051 | wxPyEndAllowThreads(__tstate); | |
4052 | if (PyErr_Occurred()) SWIG_fail; | |
4053 | } | |
4054 | Py_INCREF(Py_None); resultobj = Py_None; | |
4055 | return resultobj; | |
4056 | fail: | |
4057 | return NULL; | |
4058 | } | |
4059 | ||
4060 | ||
c370783e | 4061 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4062 | PyObject *resultobj; |
4063 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4064 | int result; | |
4065 | PyObject * obj0 = 0 ; | |
4066 | char *kwnames[] = { | |
4067 | (char *) "self", NULL | |
4068 | }; | |
4069 | ||
4070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4073 | { |
4074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4075 | result = (int)(arg1)->AutoCompGetSeparator(); | |
4076 | ||
4077 | wxPyEndAllowThreads(__tstate); | |
4078 | if (PyErr_Occurred()) SWIG_fail; | |
4079 | } | |
c370783e | 4080 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4081 | return resultobj; |
4082 | fail: | |
4083 | return NULL; | |
4084 | } | |
4085 | ||
4086 | ||
c370783e | 4087 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4088 | PyObject *resultobj; |
4089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4090 | wxString *arg2 = 0 ; | |
b411df4a | 4091 | bool temp2 = false ; |
d14a1e28 RD |
4092 | PyObject * obj0 = 0 ; |
4093 | PyObject * obj1 = 0 ; | |
4094 | char *kwnames[] = { | |
4095 | (char *) "self",(char *) "text", NULL | |
4096 | }; | |
4097 | ||
4098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4101 | { |
4102 | arg2 = wxString_in_helper(obj1); | |
4103 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4104 | temp2 = true; |
d14a1e28 RD |
4105 | } |
4106 | { | |
4107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4108 | (arg1)->AutoCompSelect((wxString const &)*arg2); | |
4109 | ||
4110 | wxPyEndAllowThreads(__tstate); | |
4111 | if (PyErr_Occurred()) SWIG_fail; | |
4112 | } | |
4113 | Py_INCREF(Py_None); resultobj = Py_None; | |
4114 | { | |
4115 | if (temp2) | |
4116 | delete arg2; | |
4117 | } | |
4118 | return resultobj; | |
4119 | fail: | |
4120 | { | |
4121 | if (temp2) | |
4122 | delete arg2; | |
4123 | } | |
4124 | return NULL; | |
4125 | } | |
4126 | ||
4127 | ||
c370783e | 4128 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4129 | PyObject *resultobj; |
4130 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4131 | bool arg2 ; | |
4132 | PyObject * obj0 = 0 ; | |
4133 | PyObject * obj1 = 0 ; | |
4134 | char *kwnames[] = { | |
4135 | (char *) "self",(char *) "cancel", NULL | |
4136 | }; | |
4137 | ||
4138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4141 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4142 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4143 | { |
4144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4145 | (arg1)->AutoCompSetCancelAtStart(arg2); | |
4146 | ||
4147 | wxPyEndAllowThreads(__tstate); | |
4148 | if (PyErr_Occurred()) SWIG_fail; | |
4149 | } | |
4150 | Py_INCREF(Py_None); resultobj = Py_None; | |
4151 | return resultobj; | |
4152 | fail: | |
4153 | return NULL; | |
4154 | } | |
4155 | ||
4156 | ||
c370783e | 4157 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4158 | PyObject *resultobj; |
4159 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4160 | bool result; | |
4161 | PyObject * obj0 = 0 ; | |
4162 | char *kwnames[] = { | |
4163 | (char *) "self", NULL | |
4164 | }; | |
4165 | ||
4166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4169 | { |
4170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4171 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); | |
4172 | ||
4173 | wxPyEndAllowThreads(__tstate); | |
4174 | if (PyErr_Occurred()) SWIG_fail; | |
4175 | } | |
4f89f6a3 RD |
4176 | { |
4177 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4178 | } | |
d14a1e28 RD |
4179 | return resultobj; |
4180 | fail: | |
4181 | return NULL; | |
4182 | } | |
4183 | ||
4184 | ||
c370783e | 4185 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4186 | PyObject *resultobj; |
4187 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4188 | wxString *arg2 = 0 ; | |
b411df4a | 4189 | bool temp2 = false ; |
d14a1e28 RD |
4190 | PyObject * obj0 = 0 ; |
4191 | PyObject * obj1 = 0 ; | |
4192 | char *kwnames[] = { | |
4193 | (char *) "self",(char *) "characterSet", NULL | |
4194 | }; | |
4195 | ||
4196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4199 | { |
4200 | arg2 = wxString_in_helper(obj1); | |
4201 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 4202 | temp2 = true; |
d14a1e28 RD |
4203 | } |
4204 | { | |
4205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4206 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); | |
4207 | ||
4208 | wxPyEndAllowThreads(__tstate); | |
4209 | if (PyErr_Occurred()) SWIG_fail; | |
4210 | } | |
4211 | Py_INCREF(Py_None); resultobj = Py_None; | |
4212 | { | |
4213 | if (temp2) | |
4214 | delete arg2; | |
4215 | } | |
4216 | return resultobj; | |
4217 | fail: | |
4218 | { | |
4219 | if (temp2) | |
4220 | delete arg2; | |
4221 | } | |
4222 | return NULL; | |
4223 | } | |
4224 | ||
4225 | ||
c370783e | 4226 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4227 | PyObject *resultobj; |
4228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4229 | bool arg2 ; | |
4230 | PyObject * obj0 = 0 ; | |
4231 | PyObject * obj1 = 0 ; | |
4232 | char *kwnames[] = { | |
4233 | (char *) "self",(char *) "chooseSingle", NULL | |
4234 | }; | |
4235 | ||
4236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4239 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4240 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4241 | { |
4242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4243 | (arg1)->AutoCompSetChooseSingle(arg2); | |
4244 | ||
4245 | wxPyEndAllowThreads(__tstate); | |
4246 | if (PyErr_Occurred()) SWIG_fail; | |
4247 | } | |
4248 | Py_INCREF(Py_None); resultobj = Py_None; | |
4249 | return resultobj; | |
4250 | fail: | |
4251 | return NULL; | |
4252 | } | |
4253 | ||
4254 | ||
c370783e | 4255 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4256 | PyObject *resultobj; |
4257 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4258 | bool result; | |
4259 | PyObject * obj0 = 0 ; | |
4260 | char *kwnames[] = { | |
4261 | (char *) "self", NULL | |
4262 | }; | |
4263 | ||
4264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4265 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4267 | { |
4268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4269 | result = (bool)(arg1)->AutoCompGetChooseSingle(); | |
4270 | ||
4271 | wxPyEndAllowThreads(__tstate); | |
4272 | if (PyErr_Occurred()) SWIG_fail; | |
4273 | } | |
4f89f6a3 RD |
4274 | { |
4275 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4276 | } | |
d14a1e28 RD |
4277 | return resultobj; |
4278 | fail: | |
4279 | return NULL; | |
4280 | } | |
4281 | ||
4282 | ||
c370783e | 4283 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4284 | PyObject *resultobj; |
4285 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4286 | bool arg2 ; | |
4287 | PyObject * obj0 = 0 ; | |
4288 | PyObject * obj1 = 0 ; | |
4289 | char *kwnames[] = { | |
4290 | (char *) "self",(char *) "ignoreCase", NULL | |
4291 | }; | |
4292 | ||
4293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4296 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4297 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4298 | { |
4299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4300 | (arg1)->AutoCompSetIgnoreCase(arg2); | |
4301 | ||
4302 | wxPyEndAllowThreads(__tstate); | |
4303 | if (PyErr_Occurred()) SWIG_fail; | |
4304 | } | |
4305 | Py_INCREF(Py_None); resultobj = Py_None; | |
4306 | return resultobj; | |
4307 | fail: | |
4308 | return NULL; | |
4309 | } | |
4310 | ||
4311 | ||
c370783e | 4312 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4313 | PyObject *resultobj; |
4314 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4315 | bool result; | |
4316 | PyObject * obj0 = 0 ; | |
4317 | char *kwnames[] = { | |
4318 | (char *) "self", NULL | |
4319 | }; | |
4320 | ||
4321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4324 | { |
4325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4326 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); | |
4327 | ||
4328 | wxPyEndAllowThreads(__tstate); | |
4329 | if (PyErr_Occurred()) SWIG_fail; | |
4330 | } | |
4f89f6a3 RD |
4331 | { |
4332 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4333 | } | |
d14a1e28 RD |
4334 | return resultobj; |
4335 | fail: | |
4336 | return NULL; | |
4337 | } | |
4338 | ||
4339 | ||
c370783e | 4340 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4341 | PyObject *resultobj; |
4342 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4343 | int arg2 ; | |
4344 | wxString *arg3 = 0 ; | |
b411df4a | 4345 | bool temp3 = false ; |
d14a1e28 | 4346 | PyObject * obj0 = 0 ; |
994141e6 | 4347 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4348 | PyObject * obj2 = 0 ; |
4349 | char *kwnames[] = { | |
4350 | (char *) "self",(char *) "listType",(char *) "itemList", NULL | |
4351 | }; | |
4352 | ||
994141e6 | 4353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4356 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4357 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4358 | { |
4359 | arg3 = wxString_in_helper(obj2); | |
4360 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 4361 | temp3 = true; |
d14a1e28 RD |
4362 | } |
4363 | { | |
4364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4365 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); | |
4366 | ||
4367 | wxPyEndAllowThreads(__tstate); | |
4368 | if (PyErr_Occurred()) SWIG_fail; | |
4369 | } | |
4370 | Py_INCREF(Py_None); resultobj = Py_None; | |
4371 | { | |
4372 | if (temp3) | |
4373 | delete arg3; | |
4374 | } | |
4375 | return resultobj; | |
4376 | fail: | |
4377 | { | |
4378 | if (temp3) | |
4379 | delete arg3; | |
4380 | } | |
4381 | return NULL; | |
4382 | } | |
4383 | ||
4384 | ||
c370783e | 4385 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4386 | PyObject *resultobj; |
4387 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4388 | bool arg2 ; | |
4389 | PyObject * obj0 = 0 ; | |
4390 | PyObject * obj1 = 0 ; | |
4391 | char *kwnames[] = { | |
4392 | (char *) "self",(char *) "autoHide", NULL | |
4393 | }; | |
4394 | ||
4395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4398 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4399 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4400 | { |
4401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4402 | (arg1)->AutoCompSetAutoHide(arg2); | |
4403 | ||
4404 | wxPyEndAllowThreads(__tstate); | |
4405 | if (PyErr_Occurred()) SWIG_fail; | |
4406 | } | |
4407 | Py_INCREF(Py_None); resultobj = Py_None; | |
4408 | return resultobj; | |
4409 | fail: | |
4410 | return NULL; | |
4411 | } | |
4412 | ||
4413 | ||
c370783e | 4414 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4415 | PyObject *resultobj; |
4416 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4417 | bool result; | |
4418 | PyObject * obj0 = 0 ; | |
4419 | char *kwnames[] = { | |
4420 | (char *) "self", NULL | |
4421 | }; | |
4422 | ||
4423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4426 | { |
4427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4428 | result = (bool)(arg1)->AutoCompGetAutoHide(); | |
4429 | ||
4430 | wxPyEndAllowThreads(__tstate); | |
4431 | if (PyErr_Occurred()) SWIG_fail; | |
4432 | } | |
4f89f6a3 RD |
4433 | { |
4434 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4435 | } | |
d14a1e28 RD |
4436 | return resultobj; |
4437 | fail: | |
4438 | return NULL; | |
4439 | } | |
4440 | ||
4441 | ||
c370783e | 4442 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4443 | PyObject *resultobj; |
4444 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4445 | bool arg2 ; | |
4446 | PyObject * obj0 = 0 ; | |
4447 | PyObject * obj1 = 0 ; | |
4448 | char *kwnames[] = { | |
4449 | (char *) "self",(char *) "dropRestOfWord", NULL | |
4450 | }; | |
4451 | ||
4452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4455 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4456 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4457 | { |
4458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4459 | (arg1)->AutoCompSetDropRestOfWord(arg2); | |
4460 | ||
4461 | wxPyEndAllowThreads(__tstate); | |
4462 | if (PyErr_Occurred()) SWIG_fail; | |
4463 | } | |
4464 | Py_INCREF(Py_None); resultobj = Py_None; | |
4465 | return resultobj; | |
4466 | fail: | |
4467 | return NULL; | |
4468 | } | |
4469 | ||
4470 | ||
c370783e | 4471 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4472 | PyObject *resultobj; |
4473 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4474 | bool result; | |
4475 | PyObject * obj0 = 0 ; | |
4476 | char *kwnames[] = { | |
4477 | (char *) "self", NULL | |
4478 | }; | |
4479 | ||
4480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4483 | { |
4484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4485 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); | |
4486 | ||
4487 | wxPyEndAllowThreads(__tstate); | |
4488 | if (PyErr_Occurred()) SWIG_fail; | |
4489 | } | |
4f89f6a3 RD |
4490 | { |
4491 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4492 | } | |
d14a1e28 RD |
4493 | return resultobj; |
4494 | fail: | |
4495 | return NULL; | |
4496 | } | |
4497 | ||
4498 | ||
c370783e | 4499 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4500 | PyObject *resultobj; |
4501 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4502 | int arg2 ; | |
4503 | wxBitmap *arg3 = 0 ; | |
4504 | PyObject * obj0 = 0 ; | |
994141e6 | 4505 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4506 | PyObject * obj2 = 0 ; |
4507 | char *kwnames[] = { | |
4508 | (char *) "self",(char *) "type",(char *) "bmp", NULL | |
4509 | }; | |
4510 | ||
994141e6 | 4511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4514 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 RD |
4515 | if (PyErr_Occurred()) SWIG_fail; |
4516 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap, | |
4517 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4518 | SWIG_fail; | |
d14a1e28 | 4519 | if (arg3 == NULL) { |
15afbcd0 RD |
4520 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4521 | SWIG_fail; | |
d14a1e28 RD |
4522 | } |
4523 | { | |
4524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4525 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); | |
4526 | ||
4527 | wxPyEndAllowThreads(__tstate); | |
4528 | if (PyErr_Occurred()) SWIG_fail; | |
4529 | } | |
4530 | Py_INCREF(Py_None); resultobj = Py_None; | |
4531 | return resultobj; | |
4532 | fail: | |
4533 | return NULL; | |
4534 | } | |
4535 | ||
4536 | ||
c370783e | 4537 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4538 | PyObject *resultobj; |
4539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4540 | PyObject * obj0 = 0 ; | |
4541 | char *kwnames[] = { | |
4542 | (char *) "self", NULL | |
4543 | }; | |
4544 | ||
4545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4548 | { |
4549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4550 | (arg1)->ClearRegisteredImages(); | |
4551 | ||
4552 | wxPyEndAllowThreads(__tstate); | |
4553 | if (PyErr_Occurred()) SWIG_fail; | |
4554 | } | |
4555 | Py_INCREF(Py_None); resultobj = Py_None; | |
4556 | return resultobj; | |
4557 | fail: | |
4558 | return NULL; | |
4559 | } | |
4560 | ||
4561 | ||
c370783e | 4562 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4563 | PyObject *resultobj; |
4564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4565 | int result; | |
4566 | PyObject * obj0 = 0 ; | |
4567 | char *kwnames[] = { | |
4568 | (char *) "self", NULL | |
4569 | }; | |
4570 | ||
4571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4574 | { |
4575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4576 | result = (int)(arg1)->AutoCompGetTypeSeparator(); | |
4577 | ||
4578 | wxPyEndAllowThreads(__tstate); | |
4579 | if (PyErr_Occurred()) SWIG_fail; | |
4580 | } | |
c370783e | 4581 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4582 | return resultobj; |
4583 | fail: | |
4584 | return NULL; | |
4585 | } | |
4586 | ||
4587 | ||
c370783e | 4588 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4589 | PyObject *resultobj; |
4590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4591 | int arg2 ; | |
4592 | PyObject * obj0 = 0 ; | |
994141e6 | 4593 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4594 | char *kwnames[] = { |
4595 | (char *) "self",(char *) "separatorCharacter", NULL | |
4596 | }; | |
4597 | ||
994141e6 | 4598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4601 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4602 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4603 | { |
4604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4605 | (arg1)->AutoCompSetTypeSeparator(arg2); | |
4606 | ||
4607 | wxPyEndAllowThreads(__tstate); | |
4608 | if (PyErr_Occurred()) SWIG_fail; | |
4609 | } | |
4610 | Py_INCREF(Py_None); resultobj = Py_None; | |
4611 | return resultobj; | |
4612 | fail: | |
4613 | return NULL; | |
4614 | } | |
4615 | ||
4616 | ||
c370783e | 4617 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4618 | PyObject *resultobj; |
4619 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4620 | int arg2 ; | |
4621 | PyObject * obj0 = 0 ; | |
994141e6 | 4622 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4623 | char *kwnames[] = { |
4624 | (char *) "self",(char *) "indentSize", NULL | |
4625 | }; | |
4626 | ||
994141e6 | 4627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4630 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4631 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4632 | { |
4633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4634 | (arg1)->SetIndent(arg2); | |
4635 | ||
4636 | wxPyEndAllowThreads(__tstate); | |
4637 | if (PyErr_Occurred()) SWIG_fail; | |
4638 | } | |
4639 | Py_INCREF(Py_None); resultobj = Py_None; | |
4640 | return resultobj; | |
4641 | fail: | |
4642 | return NULL; | |
4643 | } | |
4644 | ||
4645 | ||
c370783e | 4646 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4647 | PyObject *resultobj; |
4648 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4649 | int result; | |
4650 | PyObject * obj0 = 0 ; | |
4651 | char *kwnames[] = { | |
4652 | (char *) "self", NULL | |
4653 | }; | |
4654 | ||
4655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4658 | { |
4659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4660 | result = (int)(arg1)->GetIndent(); | |
4661 | ||
4662 | wxPyEndAllowThreads(__tstate); | |
4663 | if (PyErr_Occurred()) SWIG_fail; | |
4664 | } | |
c370783e | 4665 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4666 | return resultobj; |
4667 | fail: | |
4668 | return NULL; | |
4669 | } | |
4670 | ||
4671 | ||
c370783e | 4672 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4673 | PyObject *resultobj; |
4674 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4675 | bool arg2 ; | |
4676 | PyObject * obj0 = 0 ; | |
4677 | PyObject * obj1 = 0 ; | |
4678 | char *kwnames[] = { | |
4679 | (char *) "self",(char *) "useTabs", NULL | |
4680 | }; | |
4681 | ||
4682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4685 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4686 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4687 | { |
4688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4689 | (arg1)->SetUseTabs(arg2); | |
4690 | ||
4691 | wxPyEndAllowThreads(__tstate); | |
4692 | if (PyErr_Occurred()) SWIG_fail; | |
4693 | } | |
4694 | Py_INCREF(Py_None); resultobj = Py_None; | |
4695 | return resultobj; | |
4696 | fail: | |
4697 | return NULL; | |
4698 | } | |
4699 | ||
4700 | ||
c370783e | 4701 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4702 | PyObject *resultobj; |
4703 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4704 | bool result; | |
4705 | PyObject * obj0 = 0 ; | |
4706 | char *kwnames[] = { | |
4707 | (char *) "self", NULL | |
4708 | }; | |
4709 | ||
4710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4713 | { |
4714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4715 | result = (bool)(arg1)->GetUseTabs(); | |
4716 | ||
4717 | wxPyEndAllowThreads(__tstate); | |
4718 | if (PyErr_Occurred()) SWIG_fail; | |
4719 | } | |
4f89f6a3 RD |
4720 | { |
4721 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4722 | } | |
d14a1e28 RD |
4723 | return resultobj; |
4724 | fail: | |
4725 | return NULL; | |
4726 | } | |
4727 | ||
4728 | ||
c370783e | 4729 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4730 | PyObject *resultobj; |
4731 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4732 | int arg2 ; | |
4733 | int arg3 ; | |
4734 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4735 | PyObject * obj1 = 0 ; |
4736 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4737 | char *kwnames[] = { |
4738 | (char *) "self",(char *) "line",(char *) "indentSize", NULL | |
4739 | }; | |
4740 | ||
994141e6 | 4741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4744 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4745 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 4746 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 4747 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4748 | { |
4749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4750 | (arg1)->SetLineIndentation(arg2,arg3); | |
4751 | ||
4752 | wxPyEndAllowThreads(__tstate); | |
4753 | if (PyErr_Occurred()) SWIG_fail; | |
4754 | } | |
4755 | Py_INCREF(Py_None); resultobj = Py_None; | |
4756 | return resultobj; | |
4757 | fail: | |
4758 | return NULL; | |
4759 | } | |
4760 | ||
4761 | ||
c370783e | 4762 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4763 | PyObject *resultobj; |
4764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4765 | int arg2 ; | |
4766 | int result; | |
4767 | PyObject * obj0 = 0 ; | |
994141e6 | 4768 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4769 | char *kwnames[] = { |
4770 | (char *) "self",(char *) "line", NULL | |
4771 | }; | |
4772 | ||
994141e6 | 4773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4776 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4777 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4778 | { |
4779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4780 | result = (int)(arg1)->GetLineIndentation(arg2); | |
4781 | ||
4782 | wxPyEndAllowThreads(__tstate); | |
4783 | if (PyErr_Occurred()) SWIG_fail; | |
4784 | } | |
c370783e | 4785 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4786 | return resultobj; |
4787 | fail: | |
4788 | return NULL; | |
4789 | } | |
4790 | ||
4791 | ||
c370783e | 4792 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4793 | PyObject *resultobj; |
4794 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4795 | int arg2 ; | |
4796 | int result; | |
4797 | PyObject * obj0 = 0 ; | |
994141e6 | 4798 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4799 | char *kwnames[] = { |
4800 | (char *) "self",(char *) "line", NULL | |
4801 | }; | |
4802 | ||
994141e6 | 4803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4806 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4807 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4808 | { |
4809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4810 | result = (int)(arg1)->GetLineIndentPosition(arg2); | |
4811 | ||
4812 | wxPyEndAllowThreads(__tstate); | |
4813 | if (PyErr_Occurred()) SWIG_fail; | |
4814 | } | |
c370783e | 4815 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4816 | return resultobj; |
4817 | fail: | |
4818 | return NULL; | |
4819 | } | |
4820 | ||
4821 | ||
c370783e | 4822 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4823 | PyObject *resultobj; |
4824 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4825 | int arg2 ; | |
4826 | int result; | |
4827 | PyObject * obj0 = 0 ; | |
994141e6 | 4828 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4829 | char *kwnames[] = { |
4830 | (char *) "self",(char *) "pos", NULL | |
4831 | }; | |
4832 | ||
994141e6 | 4833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4836 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4837 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4838 | { |
4839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4840 | result = (int)(arg1)->GetColumn(arg2); | |
4841 | ||
4842 | wxPyEndAllowThreads(__tstate); | |
4843 | if (PyErr_Occurred()) SWIG_fail; | |
4844 | } | |
c370783e | 4845 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4846 | return resultobj; |
4847 | fail: | |
4848 | return NULL; | |
4849 | } | |
4850 | ||
4851 | ||
c370783e | 4852 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4853 | PyObject *resultobj; |
4854 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4855 | bool arg2 ; | |
4856 | PyObject * obj0 = 0 ; | |
4857 | PyObject * obj1 = 0 ; | |
4858 | char *kwnames[] = { | |
4859 | (char *) "self",(char *) "show", NULL | |
4860 | }; | |
4861 | ||
4862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4863 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4864 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4865 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4866 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4867 | { |
4868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4869 | (arg1)->SetUseHorizontalScrollBar(arg2); | |
4870 | ||
4871 | wxPyEndAllowThreads(__tstate); | |
4872 | if (PyErr_Occurred()) SWIG_fail; | |
4873 | } | |
4874 | Py_INCREF(Py_None); resultobj = Py_None; | |
4875 | return resultobj; | |
4876 | fail: | |
4877 | return NULL; | |
4878 | } | |
4879 | ||
4880 | ||
c370783e | 4881 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4882 | PyObject *resultobj; |
4883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4884 | bool result; | |
4885 | PyObject * obj0 = 0 ; | |
4886 | char *kwnames[] = { | |
4887 | (char *) "self", NULL | |
4888 | }; | |
4889 | ||
4890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4893 | { |
4894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4895 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); | |
4896 | ||
4897 | wxPyEndAllowThreads(__tstate); | |
4898 | if (PyErr_Occurred()) SWIG_fail; | |
4899 | } | |
4f89f6a3 RD |
4900 | { |
4901 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4902 | } | |
d14a1e28 RD |
4903 | return resultobj; |
4904 | fail: | |
4905 | return NULL; | |
4906 | } | |
4907 | ||
4908 | ||
c370783e | 4909 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4910 | PyObject *resultobj; |
4911 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4912 | bool arg2 ; | |
4913 | PyObject * obj0 = 0 ; | |
4914 | PyObject * obj1 = 0 ; | |
4915 | char *kwnames[] = { | |
4916 | (char *) "self",(char *) "show", NULL | |
4917 | }; | |
4918 | ||
4919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4922 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 4923 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4924 | { |
4925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4926 | (arg1)->SetIndentationGuides(arg2); | |
4927 | ||
4928 | wxPyEndAllowThreads(__tstate); | |
4929 | if (PyErr_Occurred()) SWIG_fail; | |
4930 | } | |
4931 | Py_INCREF(Py_None); resultobj = Py_None; | |
4932 | return resultobj; | |
4933 | fail: | |
4934 | return NULL; | |
4935 | } | |
4936 | ||
4937 | ||
c370783e | 4938 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4939 | PyObject *resultobj; |
4940 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4941 | bool result; | |
4942 | PyObject * obj0 = 0 ; | |
4943 | char *kwnames[] = { | |
4944 | (char *) "self", NULL | |
4945 | }; | |
4946 | ||
4947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4950 | { |
4951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4952 | result = (bool)(arg1)->GetIndentationGuides(); | |
4953 | ||
4954 | wxPyEndAllowThreads(__tstate); | |
4955 | if (PyErr_Occurred()) SWIG_fail; | |
4956 | } | |
4f89f6a3 RD |
4957 | { |
4958 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4959 | } | |
d14a1e28 RD |
4960 | return resultobj; |
4961 | fail: | |
4962 | return NULL; | |
4963 | } | |
4964 | ||
4965 | ||
c370783e | 4966 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4967 | PyObject *resultobj; |
4968 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4969 | int arg2 ; | |
4970 | PyObject * obj0 = 0 ; | |
994141e6 | 4971 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4972 | char *kwnames[] = { |
4973 | (char *) "self",(char *) "column", NULL | |
4974 | }; | |
4975 | ||
994141e6 | 4976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
4978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 4979 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4980 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4981 | { |
4982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4983 | (arg1)->SetHighlightGuide(arg2); | |
4984 | ||
4985 | wxPyEndAllowThreads(__tstate); | |
4986 | if (PyErr_Occurred()) SWIG_fail; | |
4987 | } | |
4988 | Py_INCREF(Py_None); resultobj = Py_None; | |
4989 | return resultobj; | |
4990 | fail: | |
4991 | return NULL; | |
4992 | } | |
4993 | ||
4994 | ||
c370783e | 4995 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4996 | PyObject *resultobj; |
4997 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4998 | int result; | |
4999 | PyObject * obj0 = 0 ; | |
5000 | char *kwnames[] = { | |
5001 | (char *) "self", NULL | |
5002 | }; | |
5003 | ||
5004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5007 | { |
5008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5009 | result = (int)(arg1)->GetHighlightGuide(); | |
5010 | ||
5011 | wxPyEndAllowThreads(__tstate); | |
5012 | if (PyErr_Occurred()) SWIG_fail; | |
5013 | } | |
c370783e | 5014 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5015 | return resultobj; |
5016 | fail: | |
5017 | return NULL; | |
5018 | } | |
5019 | ||
5020 | ||
c370783e | 5021 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5022 | PyObject *resultobj; |
5023 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5024 | int arg2 ; | |
5025 | int result; | |
5026 | PyObject * obj0 = 0 ; | |
994141e6 | 5027 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5028 | char *kwnames[] = { |
5029 | (char *) "self",(char *) "line", NULL | |
5030 | }; | |
5031 | ||
994141e6 | 5032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5035 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5036 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5037 | { |
5038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5039 | result = (int)(arg1)->GetLineEndPosition(arg2); | |
5040 | ||
5041 | wxPyEndAllowThreads(__tstate); | |
5042 | if (PyErr_Occurred()) SWIG_fail; | |
5043 | } | |
c370783e | 5044 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5045 | return resultobj; |
5046 | fail: | |
5047 | return NULL; | |
5048 | } | |
5049 | ||
5050 | ||
c370783e | 5051 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5052 | PyObject *resultobj; |
5053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5054 | int result; | |
5055 | PyObject * obj0 = 0 ; | |
5056 | char *kwnames[] = { | |
5057 | (char *) "self", NULL | |
5058 | }; | |
5059 | ||
5060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5063 | { |
5064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5065 | result = (int)(arg1)->GetCodePage(); | |
5066 | ||
5067 | wxPyEndAllowThreads(__tstate); | |
5068 | if (PyErr_Occurred()) SWIG_fail; | |
5069 | } | |
c370783e | 5070 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5071 | return resultobj; |
5072 | fail: | |
5073 | return NULL; | |
5074 | } | |
5075 | ||
5076 | ||
c370783e | 5077 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5078 | PyObject *resultobj; |
5079 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5080 | wxColour result; | |
5081 | PyObject * obj0 = 0 ; | |
5082 | char *kwnames[] = { | |
5083 | (char *) "self", NULL | |
5084 | }; | |
5085 | ||
5086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5089 | { |
5090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5091 | result = (arg1)->GetCaretForeground(); | |
5092 | ||
5093 | wxPyEndAllowThreads(__tstate); | |
5094 | if (PyErr_Occurred()) SWIG_fail; | |
5095 | } | |
5096 | { | |
5097 | wxColour * resultptr; | |
5098 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 5099 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
5100 | } |
5101 | return resultobj; | |
5102 | fail: | |
5103 | return NULL; | |
5104 | } | |
5105 | ||
5106 | ||
c370783e | 5107 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5108 | PyObject *resultobj; |
5109 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5110 | bool result; | |
5111 | PyObject * obj0 = 0 ; | |
5112 | char *kwnames[] = { | |
5113 | (char *) "self", NULL | |
5114 | }; | |
5115 | ||
5116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5119 | { |
5120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5121 | result = (bool)(arg1)->GetReadOnly(); | |
5122 | ||
5123 | wxPyEndAllowThreads(__tstate); | |
5124 | if (PyErr_Occurred()) SWIG_fail; | |
5125 | } | |
4f89f6a3 RD |
5126 | { |
5127 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5128 | } | |
d14a1e28 RD |
5129 | return resultobj; |
5130 | fail: | |
5131 | return NULL; | |
5132 | } | |
5133 | ||
5134 | ||
c370783e | 5135 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5136 | PyObject *resultobj; |
5137 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5138 | int arg2 ; | |
5139 | PyObject * obj0 = 0 ; | |
994141e6 | 5140 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5141 | char *kwnames[] = { |
5142 | (char *) "self",(char *) "pos", NULL | |
5143 | }; | |
5144 | ||
994141e6 | 5145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5148 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5149 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5150 | { |
5151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5152 | (arg1)->SetCurrentPos(arg2); | |
5153 | ||
5154 | wxPyEndAllowThreads(__tstate); | |
5155 | if (PyErr_Occurred()) SWIG_fail; | |
5156 | } | |
5157 | Py_INCREF(Py_None); resultobj = Py_None; | |
5158 | return resultobj; | |
5159 | fail: | |
5160 | return NULL; | |
5161 | } | |
5162 | ||
5163 | ||
c370783e | 5164 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5165 | PyObject *resultobj; |
5166 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5167 | int arg2 ; | |
5168 | PyObject * obj0 = 0 ; | |
994141e6 | 5169 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5170 | char *kwnames[] = { |
5171 | (char *) "self",(char *) "pos", NULL | |
5172 | }; | |
5173 | ||
994141e6 | 5174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5177 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5178 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5179 | { |
5180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5181 | (arg1)->SetSelectionStart(arg2); | |
5182 | ||
5183 | wxPyEndAllowThreads(__tstate); | |
5184 | if (PyErr_Occurred()) SWIG_fail; | |
5185 | } | |
5186 | Py_INCREF(Py_None); resultobj = Py_None; | |
5187 | return resultobj; | |
5188 | fail: | |
5189 | return NULL; | |
5190 | } | |
5191 | ||
5192 | ||
c370783e | 5193 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5194 | PyObject *resultobj; |
5195 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5196 | int result; | |
5197 | PyObject * obj0 = 0 ; | |
5198 | char *kwnames[] = { | |
5199 | (char *) "self", NULL | |
5200 | }; | |
5201 | ||
5202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5205 | { |
5206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5207 | result = (int)(arg1)->GetSelectionStart(); | |
5208 | ||
5209 | wxPyEndAllowThreads(__tstate); | |
5210 | if (PyErr_Occurred()) SWIG_fail; | |
5211 | } | |
c370783e | 5212 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5213 | return resultobj; |
5214 | fail: | |
5215 | return NULL; | |
5216 | } | |
5217 | ||
5218 | ||
c370783e | 5219 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5220 | PyObject *resultobj; |
5221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5222 | int arg2 ; | |
5223 | PyObject * obj0 = 0 ; | |
994141e6 | 5224 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5225 | char *kwnames[] = { |
5226 | (char *) "self",(char *) "pos", NULL | |
5227 | }; | |
5228 | ||
994141e6 | 5229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5232 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5233 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5234 | { |
5235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5236 | (arg1)->SetSelectionEnd(arg2); | |
5237 | ||
5238 | wxPyEndAllowThreads(__tstate); | |
5239 | if (PyErr_Occurred()) SWIG_fail; | |
5240 | } | |
5241 | Py_INCREF(Py_None); resultobj = Py_None; | |
5242 | return resultobj; | |
5243 | fail: | |
5244 | return NULL; | |
5245 | } | |
5246 | ||
5247 | ||
c370783e | 5248 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5249 | PyObject *resultobj; |
5250 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5251 | int result; | |
5252 | PyObject * obj0 = 0 ; | |
5253 | char *kwnames[] = { | |
5254 | (char *) "self", NULL | |
5255 | }; | |
5256 | ||
5257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5260 | { |
5261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5262 | result = (int)(arg1)->GetSelectionEnd(); | |
5263 | ||
5264 | wxPyEndAllowThreads(__tstate); | |
5265 | if (PyErr_Occurred()) SWIG_fail; | |
5266 | } | |
c370783e | 5267 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5268 | return resultobj; |
5269 | fail: | |
5270 | return NULL; | |
5271 | } | |
5272 | ||
5273 | ||
c370783e | 5274 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5275 | PyObject *resultobj; |
5276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5277 | int arg2 ; | |
5278 | PyObject * obj0 = 0 ; | |
994141e6 | 5279 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5280 | char *kwnames[] = { |
5281 | (char *) "self",(char *) "magnification", NULL | |
5282 | }; | |
5283 | ||
994141e6 | 5284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5287 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5288 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5289 | { |
5290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5291 | (arg1)->SetPrintMagnification(arg2); | |
5292 | ||
5293 | wxPyEndAllowThreads(__tstate); | |
5294 | if (PyErr_Occurred()) SWIG_fail; | |
5295 | } | |
5296 | Py_INCREF(Py_None); resultobj = Py_None; | |
5297 | return resultobj; | |
5298 | fail: | |
5299 | return NULL; | |
5300 | } | |
5301 | ||
5302 | ||
c370783e | 5303 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5304 | PyObject *resultobj; |
5305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5306 | int result; | |
5307 | PyObject * obj0 = 0 ; | |
5308 | char *kwnames[] = { | |
5309 | (char *) "self", NULL | |
5310 | }; | |
5311 | ||
5312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5315 | { |
5316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5317 | result = (int)(arg1)->GetPrintMagnification(); | |
5318 | ||
5319 | wxPyEndAllowThreads(__tstate); | |
5320 | if (PyErr_Occurred()) SWIG_fail; | |
5321 | } | |
c370783e | 5322 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5323 | return resultobj; |
5324 | fail: | |
5325 | return NULL; | |
5326 | } | |
5327 | ||
5328 | ||
c370783e | 5329 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5330 | PyObject *resultobj; |
5331 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5332 | int arg2 ; | |
5333 | PyObject * obj0 = 0 ; | |
994141e6 | 5334 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5335 | char *kwnames[] = { |
5336 | (char *) "self",(char *) "mode", NULL | |
5337 | }; | |
5338 | ||
994141e6 | 5339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5342 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5343 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5344 | { |
5345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5346 | (arg1)->SetPrintColourMode(arg2); | |
5347 | ||
5348 | wxPyEndAllowThreads(__tstate); | |
5349 | if (PyErr_Occurred()) SWIG_fail; | |
5350 | } | |
5351 | Py_INCREF(Py_None); resultobj = Py_None; | |
5352 | return resultobj; | |
5353 | fail: | |
5354 | return NULL; | |
5355 | } | |
5356 | ||
5357 | ||
c370783e | 5358 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5359 | PyObject *resultobj; |
5360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5361 | int result; | |
5362 | PyObject * obj0 = 0 ; | |
5363 | char *kwnames[] = { | |
5364 | (char *) "self", NULL | |
5365 | }; | |
5366 | ||
5367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5370 | { |
5371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5372 | result = (int)(arg1)->GetPrintColourMode(); | |
5373 | ||
5374 | wxPyEndAllowThreads(__tstate); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | } | |
c370783e | 5377 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5378 | return resultobj; |
5379 | fail: | |
5380 | return NULL; | |
5381 | } | |
5382 | ||
5383 | ||
c370783e | 5384 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5385 | PyObject *resultobj; |
5386 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5387 | int arg2 ; | |
5388 | int arg3 ; | |
5389 | wxString *arg4 = 0 ; | |
5390 | int arg5 = (int) 0 ; | |
5391 | int result; | |
b411df4a | 5392 | bool temp4 = false ; |
d14a1e28 | 5393 | PyObject * obj0 = 0 ; |
994141e6 RD |
5394 | PyObject * obj1 = 0 ; |
5395 | PyObject * obj2 = 0 ; | |
d14a1e28 | 5396 | PyObject * obj3 = 0 ; |
994141e6 | 5397 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5398 | char *kwnames[] = { |
5399 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL | |
5400 | }; | |
5401 | ||
994141e6 | 5402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
5403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5405 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5406 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5407 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5408 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5409 | { |
5410 | arg4 = wxString_in_helper(obj3); | |
5411 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 5412 | temp4 = true; |
d14a1e28 | 5413 | } |
994141e6 | 5414 | if (obj4) { |
c370783e | 5415 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 5416 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5417 | } |
d14a1e28 RD |
5418 | { |
5419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5420 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); | |
5421 | ||
5422 | wxPyEndAllowThreads(__tstate); | |
5423 | if (PyErr_Occurred()) SWIG_fail; | |
5424 | } | |
c370783e | 5425 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5426 | { |
5427 | if (temp4) | |
5428 | delete arg4; | |
5429 | } | |
5430 | return resultobj; | |
5431 | fail: | |
5432 | { | |
5433 | if (temp4) | |
5434 | delete arg4; | |
5435 | } | |
5436 | return NULL; | |
5437 | } | |
5438 | ||
5439 | ||
c370783e | 5440 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5441 | PyObject *resultobj; |
5442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5443 | bool arg2 ; | |
5444 | int arg3 ; | |
5445 | int arg4 ; | |
5446 | wxDC *arg5 = (wxDC *) 0 ; | |
5447 | wxDC *arg6 = (wxDC *) 0 ; | |
5448 | wxRect arg7 ; | |
5449 | wxRect arg8 ; | |
5450 | int result; | |
5451 | wxRect *argp7 ; | |
5452 | wxRect *argp8 ; | |
5453 | PyObject * obj0 = 0 ; | |
5454 | PyObject * obj1 = 0 ; | |
994141e6 RD |
5455 | PyObject * obj2 = 0 ; |
5456 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5457 | PyObject * obj4 = 0 ; |
5458 | PyObject * obj5 = 0 ; | |
5459 | PyObject * obj6 = 0 ; | |
5460 | PyObject * obj7 = 0 ; | |
5461 | char *kwnames[] = { | |
5462 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL | |
5463 | }; | |
5464 | ||
994141e6 | 5465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
5466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5468 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 5469 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5470 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5471 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5472 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 RD |
5473 | if (PyErr_Occurred()) SWIG_fail; |
5474 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC, | |
5475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5476 | if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC, | |
5477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5478 | if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect, | |
5479 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5480 | arg7 = *argp7; | |
5481 | if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect, | |
5482 | SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
5483 | arg8 = *argp8; | |
d14a1e28 RD |
5484 | { |
5485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5486 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
5487 | ||
5488 | wxPyEndAllowThreads(__tstate); | |
5489 | if (PyErr_Occurred()) SWIG_fail; | |
5490 | } | |
c370783e | 5491 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5492 | return resultobj; |
5493 | fail: | |
5494 | return NULL; | |
5495 | } | |
5496 | ||
5497 | ||
c370783e | 5498 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5499 | PyObject *resultobj; |
5500 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5501 | int result; | |
5502 | PyObject * obj0 = 0 ; | |
5503 | char *kwnames[] = { | |
5504 | (char *) "self", NULL | |
5505 | }; | |
5506 | ||
5507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5510 | { |
5511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5512 | result = (int)(arg1)->GetFirstVisibleLine(); | |
5513 | ||
5514 | wxPyEndAllowThreads(__tstate); | |
5515 | if (PyErr_Occurred()) SWIG_fail; | |
5516 | } | |
c370783e | 5517 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5518 | return resultobj; |
5519 | fail: | |
5520 | return NULL; | |
5521 | } | |
5522 | ||
5523 | ||
c370783e | 5524 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5525 | PyObject *resultobj; |
5526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5527 | int arg2 ; | |
5528 | wxString result; | |
5529 | PyObject * obj0 = 0 ; | |
994141e6 | 5530 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5531 | char *kwnames[] = { |
5532 | (char *) "self",(char *) "line", NULL | |
5533 | }; | |
5534 | ||
994141e6 | 5535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5538 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5539 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5540 | { |
5541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5542 | result = (arg1)->GetLine(arg2); | |
5543 | ||
5544 | wxPyEndAllowThreads(__tstate); | |
5545 | if (PyErr_Occurred()) SWIG_fail; | |
5546 | } | |
5547 | { | |
5548 | #if wxUSE_UNICODE | |
5549 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5550 | #else | |
5551 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5552 | #endif | |
5553 | } | |
5554 | return resultobj; | |
5555 | fail: | |
5556 | return NULL; | |
5557 | } | |
5558 | ||
5559 | ||
c370783e | 5560 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5561 | PyObject *resultobj; |
5562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5563 | int result; | |
5564 | PyObject * obj0 = 0 ; | |
5565 | char *kwnames[] = { | |
5566 | (char *) "self", NULL | |
5567 | }; | |
5568 | ||
5569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5572 | { |
5573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5574 | result = (int)(arg1)->GetLineCount(); | |
5575 | ||
5576 | wxPyEndAllowThreads(__tstate); | |
5577 | if (PyErr_Occurred()) SWIG_fail; | |
5578 | } | |
c370783e | 5579 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5580 | return resultobj; |
5581 | fail: | |
5582 | return NULL; | |
5583 | } | |
5584 | ||
5585 | ||
c370783e | 5586 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5587 | PyObject *resultobj; |
5588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5589 | int arg2 ; | |
5590 | PyObject * obj0 = 0 ; | |
994141e6 | 5591 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5592 | char *kwnames[] = { |
5593 | (char *) "self",(char *) "pixelWidth", NULL | |
5594 | }; | |
5595 | ||
994141e6 | 5596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5599 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5600 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5601 | { |
5602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5603 | (arg1)->SetMarginLeft(arg2); | |
5604 | ||
5605 | wxPyEndAllowThreads(__tstate); | |
5606 | if (PyErr_Occurred()) SWIG_fail; | |
5607 | } | |
5608 | Py_INCREF(Py_None); resultobj = Py_None; | |
5609 | return resultobj; | |
5610 | fail: | |
5611 | return NULL; | |
5612 | } | |
5613 | ||
5614 | ||
c370783e | 5615 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5616 | PyObject *resultobj; |
5617 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5618 | int result; | |
5619 | PyObject * obj0 = 0 ; | |
5620 | char *kwnames[] = { | |
5621 | (char *) "self", NULL | |
5622 | }; | |
5623 | ||
5624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5627 | { |
5628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5629 | result = (int)(arg1)->GetMarginLeft(); | |
5630 | ||
5631 | wxPyEndAllowThreads(__tstate); | |
5632 | if (PyErr_Occurred()) SWIG_fail; | |
5633 | } | |
c370783e | 5634 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5635 | return resultobj; |
5636 | fail: | |
5637 | return NULL; | |
5638 | } | |
5639 | ||
5640 | ||
c370783e | 5641 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5642 | PyObject *resultobj; |
5643 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5644 | int arg2 ; | |
5645 | PyObject * obj0 = 0 ; | |
994141e6 | 5646 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5647 | char *kwnames[] = { |
5648 | (char *) "self",(char *) "pixelWidth", NULL | |
5649 | }; | |
5650 | ||
994141e6 | 5651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5654 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5655 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5656 | { |
5657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5658 | (arg1)->SetMarginRight(arg2); | |
5659 | ||
5660 | wxPyEndAllowThreads(__tstate); | |
5661 | if (PyErr_Occurred()) SWIG_fail; | |
5662 | } | |
5663 | Py_INCREF(Py_None); resultobj = Py_None; | |
5664 | return resultobj; | |
5665 | fail: | |
5666 | return NULL; | |
5667 | } | |
5668 | ||
5669 | ||
c370783e | 5670 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5671 | PyObject *resultobj; |
5672 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5673 | int result; | |
5674 | PyObject * obj0 = 0 ; | |
5675 | char *kwnames[] = { | |
5676 | (char *) "self", NULL | |
5677 | }; | |
5678 | ||
5679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5682 | { |
5683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5684 | result = (int)(arg1)->GetMarginRight(); | |
5685 | ||
5686 | wxPyEndAllowThreads(__tstate); | |
5687 | if (PyErr_Occurred()) SWIG_fail; | |
5688 | } | |
c370783e | 5689 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5690 | return resultobj; |
5691 | fail: | |
5692 | return NULL; | |
5693 | } | |
5694 | ||
5695 | ||
c370783e | 5696 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5697 | PyObject *resultobj; |
5698 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5699 | bool result; | |
5700 | PyObject * obj0 = 0 ; | |
5701 | char *kwnames[] = { | |
5702 | (char *) "self", NULL | |
5703 | }; | |
5704 | ||
5705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5708 | { |
5709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5710 | result = (bool)(arg1)->GetModify(); | |
5711 | ||
5712 | wxPyEndAllowThreads(__tstate); | |
5713 | if (PyErr_Occurred()) SWIG_fail; | |
5714 | } | |
4f89f6a3 RD |
5715 | { |
5716 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5717 | } | |
d14a1e28 RD |
5718 | return resultobj; |
5719 | fail: | |
5720 | return NULL; | |
5721 | } | |
5722 | ||
5723 | ||
c370783e | 5724 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5725 | PyObject *resultobj; |
5726 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5727 | int arg2 ; | |
5728 | int arg3 ; | |
5729 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5730 | PyObject * obj1 = 0 ; |
5731 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5732 | char *kwnames[] = { |
5733 | (char *) "self",(char *) "start",(char *) "end", NULL | |
5734 | }; | |
5735 | ||
994141e6 | 5736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5739 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5740 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5741 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5742 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5743 | { |
5744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5745 | (arg1)->SetSelection(arg2,arg3); | |
5746 | ||
5747 | wxPyEndAllowThreads(__tstate); | |
5748 | if (PyErr_Occurred()) SWIG_fail; | |
5749 | } | |
5750 | Py_INCREF(Py_None); resultobj = Py_None; | |
5751 | return resultobj; | |
5752 | fail: | |
5753 | return NULL; | |
5754 | } | |
5755 | ||
5756 | ||
c370783e | 5757 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5758 | PyObject *resultobj; |
5759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5760 | wxString result; | |
5761 | PyObject * obj0 = 0 ; | |
5762 | char *kwnames[] = { | |
5763 | (char *) "self", NULL | |
5764 | }; | |
5765 | ||
5766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5769 | { |
5770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5771 | result = (arg1)->GetSelectedText(); | |
5772 | ||
5773 | wxPyEndAllowThreads(__tstate); | |
5774 | if (PyErr_Occurred()) SWIG_fail; | |
5775 | } | |
5776 | { | |
5777 | #if wxUSE_UNICODE | |
5778 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5779 | #else | |
5780 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5781 | #endif | |
5782 | } | |
5783 | return resultobj; | |
5784 | fail: | |
5785 | return NULL; | |
5786 | } | |
5787 | ||
5788 | ||
c370783e | 5789 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5790 | PyObject *resultobj; |
5791 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5792 | int arg2 ; | |
5793 | int arg3 ; | |
5794 | wxString result; | |
5795 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5796 | PyObject * obj1 = 0 ; |
5797 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5798 | char *kwnames[] = { |
5799 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
5800 | }; | |
5801 | ||
994141e6 | 5802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5805 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5806 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5807 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5808 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5809 | { |
5810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5811 | result = (arg1)->GetTextRange(arg2,arg3); | |
5812 | ||
5813 | wxPyEndAllowThreads(__tstate); | |
5814 | if (PyErr_Occurred()) SWIG_fail; | |
5815 | } | |
5816 | { | |
5817 | #if wxUSE_UNICODE | |
5818 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5819 | #else | |
5820 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5821 | #endif | |
5822 | } | |
5823 | return resultobj; | |
5824 | fail: | |
5825 | return NULL; | |
5826 | } | |
5827 | ||
5828 | ||
c370783e | 5829 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5830 | PyObject *resultobj; |
5831 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5832 | bool arg2 ; | |
5833 | PyObject * obj0 = 0 ; | |
5834 | PyObject * obj1 = 0 ; | |
5835 | char *kwnames[] = { | |
5836 | (char *) "self",(char *) "normal", NULL | |
5837 | }; | |
5838 | ||
5839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5842 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 5843 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5844 | { |
5845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5846 | (arg1)->HideSelection(arg2); | |
5847 | ||
5848 | wxPyEndAllowThreads(__tstate); | |
5849 | if (PyErr_Occurred()) SWIG_fail; | |
5850 | } | |
5851 | Py_INCREF(Py_None); resultobj = Py_None; | |
5852 | return resultobj; | |
5853 | fail: | |
5854 | return NULL; | |
5855 | } | |
5856 | ||
5857 | ||
c370783e | 5858 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5859 | PyObject *resultobj; |
5860 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5861 | int arg2 ; | |
5862 | int result; | |
5863 | PyObject * obj0 = 0 ; | |
994141e6 | 5864 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5865 | char *kwnames[] = { |
5866 | (char *) "self",(char *) "pos", NULL | |
5867 | }; | |
5868 | ||
994141e6 | 5869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5870 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5871 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5872 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5873 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5874 | { |
5875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5876 | result = (int)(arg1)->LineFromPosition(arg2); | |
5877 | ||
5878 | wxPyEndAllowThreads(__tstate); | |
5879 | if (PyErr_Occurred()) SWIG_fail; | |
5880 | } | |
c370783e | 5881 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5882 | return resultobj; |
5883 | fail: | |
5884 | return NULL; | |
5885 | } | |
5886 | ||
5887 | ||
c370783e | 5888 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5889 | PyObject *resultobj; |
5890 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5891 | int arg2 ; | |
5892 | int result; | |
5893 | PyObject * obj0 = 0 ; | |
994141e6 | 5894 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5895 | char *kwnames[] = { |
5896 | (char *) "self",(char *) "line", NULL | |
5897 | }; | |
5898 | ||
994141e6 | 5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5902 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5903 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5904 | { |
5905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5906 | result = (int)(arg1)->PositionFromLine(arg2); | |
5907 | ||
5908 | wxPyEndAllowThreads(__tstate); | |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
c370783e | 5911 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5912 | return resultobj; |
5913 | fail: | |
5914 | return NULL; | |
5915 | } | |
5916 | ||
5917 | ||
c370783e | 5918 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5919 | PyObject *resultobj; |
5920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5921 | int arg2 ; | |
5922 | int arg3 ; | |
5923 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5924 | PyObject * obj1 = 0 ; |
5925 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5926 | char *kwnames[] = { |
5927 | (char *) "self",(char *) "columns",(char *) "lines", NULL | |
5928 | }; | |
5929 | ||
994141e6 | 5930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 5933 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5934 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 5935 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5936 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5937 | { |
5938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5939 | (arg1)->LineScroll(arg2,arg3); | |
5940 | ||
5941 | wxPyEndAllowThreads(__tstate); | |
5942 | if (PyErr_Occurred()) SWIG_fail; | |
5943 | } | |
5944 | Py_INCREF(Py_None); resultobj = Py_None; | |
5945 | return resultobj; | |
5946 | fail: | |
5947 | return NULL; | |
5948 | } | |
5949 | ||
5950 | ||
c370783e | 5951 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5952 | PyObject *resultobj; |
5953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5954 | PyObject * obj0 = 0 ; | |
5955 | char *kwnames[] = { | |
5956 | (char *) "self", NULL | |
5957 | }; | |
5958 | ||
5959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5962 | { |
5963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5964 | (arg1)->EnsureCaretVisible(); | |
5965 | ||
5966 | wxPyEndAllowThreads(__tstate); | |
5967 | if (PyErr_Occurred()) SWIG_fail; | |
5968 | } | |
5969 | Py_INCREF(Py_None); resultobj = Py_None; | |
5970 | return resultobj; | |
5971 | fail: | |
5972 | return NULL; | |
5973 | } | |
5974 | ||
5975 | ||
c370783e | 5976 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5977 | PyObject *resultobj; |
5978 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5979 | wxString *arg2 = 0 ; | |
b411df4a | 5980 | bool temp2 = false ; |
d14a1e28 RD |
5981 | PyObject * obj0 = 0 ; |
5982 | PyObject * obj1 = 0 ; | |
5983 | char *kwnames[] = { | |
5984 | (char *) "self",(char *) "text", NULL | |
5985 | }; | |
5986 | ||
5987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5988 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
5989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5990 | { |
5991 | arg2 = wxString_in_helper(obj1); | |
5992 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 5993 | temp2 = true; |
d14a1e28 RD |
5994 | } |
5995 | { | |
5996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5997 | (arg1)->ReplaceSelection((wxString const &)*arg2); | |
5998 | ||
5999 | wxPyEndAllowThreads(__tstate); | |
6000 | if (PyErr_Occurred()) SWIG_fail; | |
6001 | } | |
6002 | Py_INCREF(Py_None); resultobj = Py_None; | |
6003 | { | |
6004 | if (temp2) | |
6005 | delete arg2; | |
6006 | } | |
6007 | return resultobj; | |
6008 | fail: | |
6009 | { | |
6010 | if (temp2) | |
6011 | delete arg2; | |
6012 | } | |
6013 | return NULL; | |
6014 | } | |
6015 | ||
6016 | ||
c370783e | 6017 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6018 | PyObject *resultobj; |
6019 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6020 | bool arg2 ; | |
6021 | PyObject * obj0 = 0 ; | |
6022 | PyObject * obj1 = 0 ; | |
6023 | char *kwnames[] = { | |
6024 | (char *) "self",(char *) "readOnly", NULL | |
6025 | }; | |
6026 | ||
6027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6028 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6029 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6030 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 6031 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6032 | { |
6033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6034 | (arg1)->SetReadOnly(arg2); | |
6035 | ||
6036 | wxPyEndAllowThreads(__tstate); | |
6037 | if (PyErr_Occurred()) SWIG_fail; | |
6038 | } | |
6039 | Py_INCREF(Py_None); resultobj = Py_None; | |
6040 | return resultobj; | |
6041 | fail: | |
6042 | return NULL; | |
6043 | } | |
6044 | ||
6045 | ||
c370783e | 6046 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6047 | PyObject *resultobj; |
6048 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6049 | bool result; | |
6050 | PyObject * obj0 = 0 ; | |
6051 | char *kwnames[] = { | |
6052 | (char *) "self", NULL | |
6053 | }; | |
6054 | ||
6055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6058 | { |
6059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6060 | result = (bool)(arg1)->CanPaste(); | |
6061 | ||
6062 | wxPyEndAllowThreads(__tstate); | |
6063 | if (PyErr_Occurred()) SWIG_fail; | |
6064 | } | |
4f89f6a3 RD |
6065 | { |
6066 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6067 | } | |
d14a1e28 RD |
6068 | return resultobj; |
6069 | fail: | |
6070 | return NULL; | |
6071 | } | |
6072 | ||
6073 | ||
c370783e | 6074 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6075 | PyObject *resultobj; |
6076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6077 | bool result; | |
6078 | PyObject * obj0 = 0 ; | |
6079 | char *kwnames[] = { | |
6080 | (char *) "self", NULL | |
6081 | }; | |
6082 | ||
6083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6086 | { |
6087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6088 | result = (bool)(arg1)->CanUndo(); | |
6089 | ||
6090 | wxPyEndAllowThreads(__tstate); | |
6091 | if (PyErr_Occurred()) SWIG_fail; | |
6092 | } | |
4f89f6a3 RD |
6093 | { |
6094 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6095 | } | |
d14a1e28 RD |
6096 | return resultobj; |
6097 | fail: | |
6098 | return NULL; | |
6099 | } | |
6100 | ||
6101 | ||
c370783e | 6102 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6103 | PyObject *resultobj; |
6104 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6105 | PyObject * obj0 = 0 ; | |
6106 | char *kwnames[] = { | |
6107 | (char *) "self", NULL | |
6108 | }; | |
6109 | ||
6110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6113 | { |
6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6115 | (arg1)->EmptyUndoBuffer(); | |
6116 | ||
6117 | wxPyEndAllowThreads(__tstate); | |
6118 | if (PyErr_Occurred()) SWIG_fail; | |
6119 | } | |
6120 | Py_INCREF(Py_None); resultobj = Py_None; | |
6121 | return resultobj; | |
6122 | fail: | |
6123 | return NULL; | |
6124 | } | |
6125 | ||
6126 | ||
c370783e | 6127 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6128 | PyObject *resultobj; |
6129 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6130 | PyObject * obj0 = 0 ; | |
6131 | char *kwnames[] = { | |
6132 | (char *) "self", NULL | |
6133 | }; | |
6134 | ||
6135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6138 | { |
6139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6140 | (arg1)->Undo(); | |
6141 | ||
6142 | wxPyEndAllowThreads(__tstate); | |
6143 | if (PyErr_Occurred()) SWIG_fail; | |
6144 | } | |
6145 | Py_INCREF(Py_None); resultobj = Py_None; | |
6146 | return resultobj; | |
6147 | fail: | |
6148 | return NULL; | |
6149 | } | |
6150 | ||
6151 | ||
c370783e | 6152 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6153 | PyObject *resultobj; |
6154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6155 | PyObject * obj0 = 0 ; | |
6156 | char *kwnames[] = { | |
6157 | (char *) "self", NULL | |
6158 | }; | |
6159 | ||
6160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6163 | { |
6164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6165 | (arg1)->Cut(); | |
6166 | ||
6167 | wxPyEndAllowThreads(__tstate); | |
6168 | if (PyErr_Occurred()) SWIG_fail; | |
6169 | } | |
6170 | Py_INCREF(Py_None); resultobj = Py_None; | |
6171 | return resultobj; | |
6172 | fail: | |
6173 | return NULL; | |
6174 | } | |
6175 | ||
6176 | ||
c370783e | 6177 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6178 | PyObject *resultobj; |
6179 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6180 | PyObject * obj0 = 0 ; | |
6181 | char *kwnames[] = { | |
6182 | (char *) "self", NULL | |
6183 | }; | |
6184 | ||
6185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6188 | { |
6189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6190 | (arg1)->Copy(); | |
6191 | ||
6192 | wxPyEndAllowThreads(__tstate); | |
6193 | if (PyErr_Occurred()) SWIG_fail; | |
6194 | } | |
6195 | Py_INCREF(Py_None); resultobj = Py_None; | |
6196 | return resultobj; | |
6197 | fail: | |
6198 | return NULL; | |
6199 | } | |
6200 | ||
6201 | ||
c370783e | 6202 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6203 | PyObject *resultobj; |
6204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6205 | PyObject * obj0 = 0 ; | |
6206 | char *kwnames[] = { | |
6207 | (char *) "self", NULL | |
6208 | }; | |
6209 | ||
6210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6213 | { |
6214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6215 | (arg1)->Paste(); | |
6216 | ||
6217 | wxPyEndAllowThreads(__tstate); | |
6218 | if (PyErr_Occurred()) SWIG_fail; | |
6219 | } | |
6220 | Py_INCREF(Py_None); resultobj = Py_None; | |
6221 | return resultobj; | |
6222 | fail: | |
6223 | return NULL; | |
6224 | } | |
6225 | ||
6226 | ||
c370783e | 6227 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6228 | PyObject *resultobj; |
6229 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6230 | PyObject * obj0 = 0 ; | |
6231 | char *kwnames[] = { | |
6232 | (char *) "self", NULL | |
6233 | }; | |
6234 | ||
6235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6236 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6238 | { |
6239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6240 | (arg1)->Clear(); | |
6241 | ||
6242 | wxPyEndAllowThreads(__tstate); | |
6243 | if (PyErr_Occurred()) SWIG_fail; | |
6244 | } | |
6245 | Py_INCREF(Py_None); resultobj = Py_None; | |
6246 | return resultobj; | |
6247 | fail: | |
6248 | return NULL; | |
6249 | } | |
6250 | ||
6251 | ||
c370783e | 6252 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6253 | PyObject *resultobj; |
6254 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6255 | wxString *arg2 = 0 ; | |
b411df4a | 6256 | bool temp2 = false ; |
d14a1e28 RD |
6257 | PyObject * obj0 = 0 ; |
6258 | PyObject * obj1 = 0 ; | |
6259 | char *kwnames[] = { | |
6260 | (char *) "self",(char *) "text", NULL | |
6261 | }; | |
6262 | ||
6263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6266 | { |
6267 | arg2 = wxString_in_helper(obj1); | |
6268 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6269 | temp2 = true; |
d14a1e28 RD |
6270 | } |
6271 | { | |
6272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6273 | (arg1)->SetText((wxString const &)*arg2); | |
6274 | ||
6275 | wxPyEndAllowThreads(__tstate); | |
6276 | if (PyErr_Occurred()) SWIG_fail; | |
6277 | } | |
6278 | Py_INCREF(Py_None); resultobj = Py_None; | |
6279 | { | |
6280 | if (temp2) | |
6281 | delete arg2; | |
6282 | } | |
6283 | return resultobj; | |
6284 | fail: | |
6285 | { | |
6286 | if (temp2) | |
6287 | delete arg2; | |
6288 | } | |
6289 | return NULL; | |
6290 | } | |
6291 | ||
6292 | ||
c370783e | 6293 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6294 | PyObject *resultobj; |
6295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6296 | wxString result; | |
6297 | PyObject * obj0 = 0 ; | |
6298 | char *kwnames[] = { | |
6299 | (char *) "self", NULL | |
6300 | }; | |
6301 | ||
6302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6305 | { |
6306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6307 | result = (arg1)->GetText(); | |
6308 | ||
6309 | wxPyEndAllowThreads(__tstate); | |
6310 | if (PyErr_Occurred()) SWIG_fail; | |
6311 | } | |
6312 | { | |
6313 | #if wxUSE_UNICODE | |
6314 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6315 | #else | |
6316 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6317 | #endif | |
6318 | } | |
6319 | return resultobj; | |
6320 | fail: | |
6321 | return NULL; | |
6322 | } | |
6323 | ||
6324 | ||
c370783e | 6325 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6326 | PyObject *resultobj; |
6327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6328 | int result; | |
6329 | PyObject * obj0 = 0 ; | |
6330 | char *kwnames[] = { | |
6331 | (char *) "self", NULL | |
6332 | }; | |
6333 | ||
6334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6337 | { |
6338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6339 | result = (int)(arg1)->GetTextLength(); | |
6340 | ||
6341 | wxPyEndAllowThreads(__tstate); | |
6342 | if (PyErr_Occurred()) SWIG_fail; | |
6343 | } | |
c370783e | 6344 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6345 | return resultobj; |
6346 | fail: | |
6347 | return NULL; | |
6348 | } | |
6349 | ||
6350 | ||
c370783e | 6351 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6352 | PyObject *resultobj; |
6353 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6354 | bool arg2 ; | |
6355 | PyObject * obj0 = 0 ; | |
6356 | PyObject * obj1 = 0 ; | |
6357 | char *kwnames[] = { | |
6358 | (char *) "self",(char *) "overtype", NULL | |
6359 | }; | |
6360 | ||
6361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6364 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 6365 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6366 | { |
6367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6368 | (arg1)->SetOvertype(arg2); | |
6369 | ||
6370 | wxPyEndAllowThreads(__tstate); | |
6371 | if (PyErr_Occurred()) SWIG_fail; | |
6372 | } | |
6373 | Py_INCREF(Py_None); resultobj = Py_None; | |
6374 | return resultobj; | |
6375 | fail: | |
6376 | return NULL; | |
6377 | } | |
6378 | ||
6379 | ||
c370783e | 6380 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6381 | PyObject *resultobj; |
6382 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6383 | bool result; | |
6384 | PyObject * obj0 = 0 ; | |
6385 | char *kwnames[] = { | |
6386 | (char *) "self", NULL | |
6387 | }; | |
6388 | ||
6389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6392 | { |
6393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6394 | result = (bool)(arg1)->GetOvertype(); | |
6395 | ||
6396 | wxPyEndAllowThreads(__tstate); | |
6397 | if (PyErr_Occurred()) SWIG_fail; | |
6398 | } | |
4f89f6a3 RD |
6399 | { |
6400 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6401 | } | |
d14a1e28 RD |
6402 | return resultobj; |
6403 | fail: | |
6404 | return NULL; | |
6405 | } | |
6406 | ||
6407 | ||
c370783e | 6408 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6409 | PyObject *resultobj; |
6410 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6411 | int arg2 ; | |
6412 | PyObject * obj0 = 0 ; | |
994141e6 | 6413 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6414 | char *kwnames[] = { |
6415 | (char *) "self",(char *) "pixelWidth", NULL | |
6416 | }; | |
6417 | ||
994141e6 | 6418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6421 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6422 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6423 | { |
6424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6425 | (arg1)->SetCaretWidth(arg2); | |
6426 | ||
6427 | wxPyEndAllowThreads(__tstate); | |
6428 | if (PyErr_Occurred()) SWIG_fail; | |
6429 | } | |
6430 | Py_INCREF(Py_None); resultobj = Py_None; | |
6431 | return resultobj; | |
6432 | fail: | |
6433 | return NULL; | |
6434 | } | |
6435 | ||
6436 | ||
c370783e | 6437 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6438 | PyObject *resultobj; |
6439 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6440 | int result; | |
6441 | PyObject * obj0 = 0 ; | |
6442 | char *kwnames[] = { | |
6443 | (char *) "self", NULL | |
6444 | }; | |
6445 | ||
6446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6449 | { |
6450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6451 | result = (int)(arg1)->GetCaretWidth(); | |
6452 | ||
6453 | wxPyEndAllowThreads(__tstate); | |
6454 | if (PyErr_Occurred()) SWIG_fail; | |
6455 | } | |
c370783e | 6456 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6457 | return resultobj; |
6458 | fail: | |
6459 | return NULL; | |
6460 | } | |
6461 | ||
6462 | ||
c370783e | 6463 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6464 | PyObject *resultobj; |
6465 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6466 | int arg2 ; | |
6467 | PyObject * obj0 = 0 ; | |
994141e6 | 6468 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6469 | char *kwnames[] = { |
6470 | (char *) "self",(char *) "pos", NULL | |
6471 | }; | |
6472 | ||
994141e6 | 6473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6476 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6477 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6478 | { |
6479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6480 | (arg1)->SetTargetStart(arg2); | |
6481 | ||
6482 | wxPyEndAllowThreads(__tstate); | |
6483 | if (PyErr_Occurred()) SWIG_fail; | |
6484 | } | |
6485 | Py_INCREF(Py_None); resultobj = Py_None; | |
6486 | return resultobj; | |
6487 | fail: | |
6488 | return NULL; | |
6489 | } | |
6490 | ||
6491 | ||
c370783e | 6492 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6493 | PyObject *resultobj; |
6494 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6495 | int result; | |
6496 | PyObject * obj0 = 0 ; | |
6497 | char *kwnames[] = { | |
6498 | (char *) "self", NULL | |
6499 | }; | |
6500 | ||
6501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6504 | { |
6505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6506 | result = (int)(arg1)->GetTargetStart(); | |
6507 | ||
6508 | wxPyEndAllowThreads(__tstate); | |
6509 | if (PyErr_Occurred()) SWIG_fail; | |
6510 | } | |
c370783e | 6511 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6512 | return resultobj; |
6513 | fail: | |
6514 | return NULL; | |
6515 | } | |
6516 | ||
6517 | ||
c370783e | 6518 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6519 | PyObject *resultobj; |
6520 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6521 | int arg2 ; | |
6522 | PyObject * obj0 = 0 ; | |
994141e6 | 6523 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6524 | char *kwnames[] = { |
6525 | (char *) "self",(char *) "pos", NULL | |
6526 | }; | |
6527 | ||
994141e6 | 6528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6529 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6531 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6532 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6533 | { |
6534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6535 | (arg1)->SetTargetEnd(arg2); | |
6536 | ||
6537 | wxPyEndAllowThreads(__tstate); | |
6538 | if (PyErr_Occurred()) SWIG_fail; | |
6539 | } | |
6540 | Py_INCREF(Py_None); resultobj = Py_None; | |
6541 | return resultobj; | |
6542 | fail: | |
6543 | return NULL; | |
6544 | } | |
6545 | ||
6546 | ||
c370783e | 6547 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6548 | PyObject *resultobj; |
6549 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6550 | int result; | |
6551 | PyObject * obj0 = 0 ; | |
6552 | char *kwnames[] = { | |
6553 | (char *) "self", NULL | |
6554 | }; | |
6555 | ||
6556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6559 | { |
6560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6561 | result = (int)(arg1)->GetTargetEnd(); | |
6562 | ||
6563 | wxPyEndAllowThreads(__tstate); | |
6564 | if (PyErr_Occurred()) SWIG_fail; | |
6565 | } | |
c370783e | 6566 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6567 | return resultobj; |
6568 | fail: | |
6569 | return NULL; | |
6570 | } | |
6571 | ||
6572 | ||
c370783e | 6573 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6574 | PyObject *resultobj; |
6575 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6576 | wxString *arg2 = 0 ; | |
6577 | int result; | |
b411df4a | 6578 | bool temp2 = false ; |
d14a1e28 RD |
6579 | PyObject * obj0 = 0 ; |
6580 | PyObject * obj1 = 0 ; | |
6581 | char *kwnames[] = { | |
6582 | (char *) "self",(char *) "text", NULL | |
6583 | }; | |
6584 | ||
6585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6588 | { |
6589 | arg2 = wxString_in_helper(obj1); | |
6590 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6591 | temp2 = true; |
d14a1e28 RD |
6592 | } |
6593 | { | |
6594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6595 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); | |
6596 | ||
6597 | wxPyEndAllowThreads(__tstate); | |
6598 | if (PyErr_Occurred()) SWIG_fail; | |
6599 | } | |
c370783e | 6600 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6601 | { |
6602 | if (temp2) | |
6603 | delete arg2; | |
6604 | } | |
6605 | return resultobj; | |
6606 | fail: | |
6607 | { | |
6608 | if (temp2) | |
6609 | delete arg2; | |
6610 | } | |
6611 | return NULL; | |
6612 | } | |
6613 | ||
6614 | ||
c370783e | 6615 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6616 | PyObject *resultobj; |
6617 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6618 | wxString *arg2 = 0 ; | |
6619 | int result; | |
b411df4a | 6620 | bool temp2 = false ; |
d14a1e28 RD |
6621 | PyObject * obj0 = 0 ; |
6622 | PyObject * obj1 = 0 ; | |
6623 | char *kwnames[] = { | |
6624 | (char *) "self",(char *) "text", NULL | |
6625 | }; | |
6626 | ||
6627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6630 | { |
6631 | arg2 = wxString_in_helper(obj1); | |
6632 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6633 | temp2 = true; |
d14a1e28 RD |
6634 | } |
6635 | { | |
6636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6637 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); | |
6638 | ||
6639 | wxPyEndAllowThreads(__tstate); | |
6640 | if (PyErr_Occurred()) SWIG_fail; | |
6641 | } | |
c370783e | 6642 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6643 | { |
6644 | if (temp2) | |
6645 | delete arg2; | |
6646 | } | |
6647 | return resultobj; | |
6648 | fail: | |
6649 | { | |
6650 | if (temp2) | |
6651 | delete arg2; | |
6652 | } | |
6653 | return NULL; | |
6654 | } | |
6655 | ||
6656 | ||
c370783e | 6657 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6658 | PyObject *resultobj; |
6659 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6660 | wxString *arg2 = 0 ; | |
6661 | int result; | |
b411df4a | 6662 | bool temp2 = false ; |
d14a1e28 RD |
6663 | PyObject * obj0 = 0 ; |
6664 | PyObject * obj1 = 0 ; | |
6665 | char *kwnames[] = { | |
6666 | (char *) "self",(char *) "text", NULL | |
6667 | }; | |
6668 | ||
6669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6672 | { |
6673 | arg2 = wxString_in_helper(obj1); | |
6674 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 6675 | temp2 = true; |
d14a1e28 RD |
6676 | } |
6677 | { | |
6678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6679 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); | |
6680 | ||
6681 | wxPyEndAllowThreads(__tstate); | |
6682 | if (PyErr_Occurred()) SWIG_fail; | |
6683 | } | |
c370783e | 6684 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6685 | { |
6686 | if (temp2) | |
6687 | delete arg2; | |
6688 | } | |
6689 | return resultobj; | |
6690 | fail: | |
6691 | { | |
6692 | if (temp2) | |
6693 | delete arg2; | |
6694 | } | |
6695 | return NULL; | |
6696 | } | |
6697 | ||
6698 | ||
c370783e | 6699 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6700 | PyObject *resultobj; |
6701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6702 | int arg2 ; | |
6703 | PyObject * obj0 = 0 ; | |
994141e6 | 6704 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6705 | char *kwnames[] = { |
6706 | (char *) "self",(char *) "flags", NULL | |
6707 | }; | |
6708 | ||
994141e6 | 6709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6712 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6713 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6714 | { |
6715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6716 | (arg1)->SetSearchFlags(arg2); | |
6717 | ||
6718 | wxPyEndAllowThreads(__tstate); | |
6719 | if (PyErr_Occurred()) SWIG_fail; | |
6720 | } | |
6721 | Py_INCREF(Py_None); resultobj = Py_None; | |
6722 | return resultobj; | |
6723 | fail: | |
6724 | return NULL; | |
6725 | } | |
6726 | ||
6727 | ||
c370783e | 6728 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6729 | PyObject *resultobj; |
6730 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6731 | int result; | |
6732 | PyObject * obj0 = 0 ; | |
6733 | char *kwnames[] = { | |
6734 | (char *) "self", NULL | |
6735 | }; | |
6736 | ||
6737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6738 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6739 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6740 | { |
6741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6742 | result = (int)(arg1)->GetSearchFlags(); | |
6743 | ||
6744 | wxPyEndAllowThreads(__tstate); | |
6745 | if (PyErr_Occurred()) SWIG_fail; | |
6746 | } | |
c370783e | 6747 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6748 | return resultobj; |
6749 | fail: | |
6750 | return NULL; | |
6751 | } | |
6752 | ||
6753 | ||
c370783e | 6754 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6755 | PyObject *resultobj; |
6756 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6757 | int arg2 ; | |
6758 | wxString *arg3 = 0 ; | |
b411df4a | 6759 | bool temp3 = false ; |
d14a1e28 | 6760 | PyObject * obj0 = 0 ; |
994141e6 | 6761 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6762 | PyObject * obj2 = 0 ; |
6763 | char *kwnames[] = { | |
6764 | (char *) "self",(char *) "pos",(char *) "definition", NULL | |
6765 | }; | |
6766 | ||
994141e6 | 6767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6770 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6771 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6772 | { |
6773 | arg3 = wxString_in_helper(obj2); | |
6774 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 6775 | temp3 = true; |
d14a1e28 RD |
6776 | } |
6777 | { | |
6778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6779 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); | |
6780 | ||
6781 | wxPyEndAllowThreads(__tstate); | |
6782 | if (PyErr_Occurred()) SWIG_fail; | |
6783 | } | |
6784 | Py_INCREF(Py_None); resultobj = Py_None; | |
6785 | { | |
6786 | if (temp3) | |
6787 | delete arg3; | |
6788 | } | |
6789 | return resultobj; | |
6790 | fail: | |
6791 | { | |
6792 | if (temp3) | |
6793 | delete arg3; | |
6794 | } | |
6795 | return NULL; | |
6796 | } | |
6797 | ||
6798 | ||
c370783e | 6799 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6800 | PyObject *resultobj; |
6801 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6802 | PyObject * obj0 = 0 ; | |
6803 | char *kwnames[] = { | |
6804 | (char *) "self", NULL | |
6805 | }; | |
6806 | ||
6807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6810 | { |
6811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6812 | (arg1)->CallTipCancel(); | |
6813 | ||
6814 | wxPyEndAllowThreads(__tstate); | |
6815 | if (PyErr_Occurred()) SWIG_fail; | |
6816 | } | |
6817 | Py_INCREF(Py_None); resultobj = Py_None; | |
6818 | return resultobj; | |
6819 | fail: | |
6820 | return NULL; | |
6821 | } | |
6822 | ||
6823 | ||
c370783e | 6824 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6825 | PyObject *resultobj; |
6826 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6827 | bool result; | |
6828 | PyObject * obj0 = 0 ; | |
6829 | char *kwnames[] = { | |
6830 | (char *) "self", NULL | |
6831 | }; | |
6832 | ||
6833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6836 | { |
6837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6838 | result = (bool)(arg1)->CallTipActive(); | |
6839 | ||
6840 | wxPyEndAllowThreads(__tstate); | |
6841 | if (PyErr_Occurred()) SWIG_fail; | |
6842 | } | |
4f89f6a3 RD |
6843 | { |
6844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6845 | } | |
d14a1e28 RD |
6846 | return resultobj; |
6847 | fail: | |
6848 | return NULL; | |
6849 | } | |
6850 | ||
6851 | ||
c370783e | 6852 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6853 | PyObject *resultobj; |
6854 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6855 | int result; | |
6856 | PyObject * obj0 = 0 ; | |
6857 | char *kwnames[] = { | |
6858 | (char *) "self", NULL | |
6859 | }; | |
6860 | ||
6861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6864 | { |
6865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6866 | result = (int)(arg1)->CallTipPosAtStart(); | |
6867 | ||
6868 | wxPyEndAllowThreads(__tstate); | |
6869 | if (PyErr_Occurred()) SWIG_fail; | |
6870 | } | |
c370783e | 6871 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6872 | return resultobj; |
6873 | fail: | |
6874 | return NULL; | |
6875 | } | |
6876 | ||
6877 | ||
c370783e | 6878 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6879 | PyObject *resultobj; |
6880 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6881 | int arg2 ; | |
6882 | int arg3 ; | |
6883 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6884 | PyObject * obj1 = 0 ; |
6885 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
6886 | char *kwnames[] = { |
6887 | (char *) "self",(char *) "start",(char *) "end", NULL | |
6888 | }; | |
6889 | ||
994141e6 | 6890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 6893 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6894 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 6895 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 6896 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6897 | { |
6898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6899 | (arg1)->CallTipSetHighlight(arg2,arg3); | |
6900 | ||
6901 | wxPyEndAllowThreads(__tstate); | |
6902 | if (PyErr_Occurred()) SWIG_fail; | |
6903 | } | |
6904 | Py_INCREF(Py_None); resultobj = Py_None; | |
6905 | return resultobj; | |
6906 | fail: | |
6907 | return NULL; | |
6908 | } | |
6909 | ||
6910 | ||
c370783e | 6911 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6912 | PyObject *resultobj; |
6913 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6914 | wxColour *arg2 = 0 ; | |
6915 | wxColour temp2 ; | |
6916 | PyObject * obj0 = 0 ; | |
6917 | PyObject * obj1 = 0 ; | |
6918 | char *kwnames[] = { | |
6919 | (char *) "self",(char *) "back", NULL | |
6920 | }; | |
6921 | ||
6922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6925 | { |
6926 | arg2 = &temp2; | |
6927 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6928 | } | |
6929 | { | |
6930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6931 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); | |
6932 | ||
6933 | wxPyEndAllowThreads(__tstate); | |
6934 | if (PyErr_Occurred()) SWIG_fail; | |
6935 | } | |
6936 | Py_INCREF(Py_None); resultobj = Py_None; | |
6937 | return resultobj; | |
6938 | fail: | |
6939 | return NULL; | |
6940 | } | |
6941 | ||
6942 | ||
c370783e | 6943 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6944 | PyObject *resultobj; |
6945 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6946 | wxColour *arg2 = 0 ; | |
6947 | wxColour temp2 ; | |
6948 | PyObject * obj0 = 0 ; | |
6949 | PyObject * obj1 = 0 ; | |
6950 | char *kwnames[] = { | |
6951 | (char *) "self",(char *) "fore", NULL | |
6952 | }; | |
6953 | ||
6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6957 | { |
6958 | arg2 = &temp2; | |
6959 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6960 | } | |
6961 | { | |
6962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6963 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); | |
6964 | ||
6965 | wxPyEndAllowThreads(__tstate); | |
6966 | if (PyErr_Occurred()) SWIG_fail; | |
6967 | } | |
6968 | Py_INCREF(Py_None); resultobj = Py_None; | |
6969 | return resultobj; | |
6970 | fail: | |
6971 | return NULL; | |
6972 | } | |
6973 | ||
6974 | ||
c370783e | 6975 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6976 | PyObject *resultobj; |
6977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6978 | wxColour *arg2 = 0 ; | |
6979 | wxColour temp2 ; | |
6980 | PyObject * obj0 = 0 ; | |
6981 | PyObject * obj1 = 0 ; | |
6982 | char *kwnames[] = { | |
6983 | (char *) "self",(char *) "fore", NULL | |
6984 | }; | |
6985 | ||
6986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
6988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6989 | { |
6990 | arg2 = &temp2; | |
6991 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6992 | } | |
6993 | { | |
6994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6995 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); | |
6996 | ||
6997 | wxPyEndAllowThreads(__tstate); | |
6998 | if (PyErr_Occurred()) SWIG_fail; | |
6999 | } | |
7000 | Py_INCREF(Py_None); resultobj = Py_None; | |
7001 | return resultobj; | |
7002 | fail: | |
7003 | return NULL; | |
7004 | } | |
7005 | ||
7006 | ||
c370783e | 7007 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7008 | PyObject *resultobj; |
7009 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7010 | int arg2 ; | |
7011 | int result; | |
7012 | PyObject * obj0 = 0 ; | |
994141e6 | 7013 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7014 | char *kwnames[] = { |
7015 | (char *) "self",(char *) "line", NULL | |
7016 | }; | |
7017 | ||
994141e6 | 7018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7021 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7022 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7023 | { |
7024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7025 | result = (int)(arg1)->VisibleFromDocLine(arg2); | |
7026 | ||
7027 | wxPyEndAllowThreads(__tstate); | |
7028 | if (PyErr_Occurred()) SWIG_fail; | |
7029 | } | |
c370783e | 7030 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7031 | return resultobj; |
7032 | fail: | |
7033 | return NULL; | |
7034 | } | |
7035 | ||
7036 | ||
c370783e | 7037 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7038 | PyObject *resultobj; |
7039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7040 | int arg2 ; | |
7041 | int result; | |
7042 | PyObject * obj0 = 0 ; | |
994141e6 | 7043 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7044 | char *kwnames[] = { |
7045 | (char *) "self",(char *) "lineDisplay", NULL | |
7046 | }; | |
7047 | ||
994141e6 | 7048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7051 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7052 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7053 | { |
7054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7055 | result = (int)(arg1)->DocLineFromVisible(arg2); | |
7056 | ||
7057 | wxPyEndAllowThreads(__tstate); | |
7058 | if (PyErr_Occurred()) SWIG_fail; | |
7059 | } | |
c370783e | 7060 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7061 | return resultobj; |
7062 | fail: | |
7063 | return NULL; | |
7064 | } | |
7065 | ||
7066 | ||
c370783e | 7067 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7068 | PyObject *resultobj; |
7069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7070 | int arg2 ; | |
7071 | int arg3 ; | |
7072 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7073 | PyObject * obj1 = 0 ; |
7074 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7075 | char *kwnames[] = { |
7076 | (char *) "self",(char *) "line",(char *) "level", NULL | |
7077 | }; | |
7078 | ||
994141e6 | 7079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7082 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7083 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7084 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7085 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7086 | { |
7087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7088 | (arg1)->SetFoldLevel(arg2,arg3); | |
7089 | ||
7090 | wxPyEndAllowThreads(__tstate); | |
7091 | if (PyErr_Occurred()) SWIG_fail; | |
7092 | } | |
7093 | Py_INCREF(Py_None); resultobj = Py_None; | |
7094 | return resultobj; | |
7095 | fail: | |
7096 | return NULL; | |
7097 | } | |
7098 | ||
7099 | ||
c370783e | 7100 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7101 | PyObject *resultobj; |
7102 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7103 | int arg2 ; | |
7104 | int result; | |
7105 | PyObject * obj0 = 0 ; | |
994141e6 | 7106 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7107 | char *kwnames[] = { |
7108 | (char *) "self",(char *) "line", NULL | |
7109 | }; | |
7110 | ||
994141e6 | 7111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7114 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7115 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7116 | { |
7117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7118 | result = (int)(arg1)->GetFoldLevel(arg2); | |
7119 | ||
7120 | wxPyEndAllowThreads(__tstate); | |
7121 | if (PyErr_Occurred()) SWIG_fail; | |
7122 | } | |
c370783e | 7123 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7124 | return resultobj; |
7125 | fail: | |
7126 | return NULL; | |
7127 | } | |
7128 | ||
7129 | ||
c370783e | 7130 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7131 | PyObject *resultobj; |
7132 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7133 | int arg2 ; | |
7134 | int arg3 ; | |
7135 | int result; | |
7136 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7137 | PyObject * obj1 = 0 ; |
7138 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7139 | char *kwnames[] = { |
7140 | (char *) "self",(char *) "line",(char *) "level", NULL | |
7141 | }; | |
7142 | ||
994141e6 | 7143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7146 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7147 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7148 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7149 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7150 | { |
7151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7152 | result = (int)(arg1)->GetLastChild(arg2,arg3); | |
7153 | ||
7154 | wxPyEndAllowThreads(__tstate); | |
7155 | if (PyErr_Occurred()) SWIG_fail; | |
7156 | } | |
c370783e | 7157 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7158 | return resultobj; |
7159 | fail: | |
7160 | return NULL; | |
7161 | } | |
7162 | ||
7163 | ||
c370783e | 7164 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7165 | PyObject *resultobj; |
7166 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7167 | int arg2 ; | |
7168 | int result; | |
7169 | PyObject * obj0 = 0 ; | |
994141e6 | 7170 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7171 | char *kwnames[] = { |
7172 | (char *) "self",(char *) "line", NULL | |
7173 | }; | |
7174 | ||
994141e6 | 7175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7178 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7179 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7180 | { |
7181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7182 | result = (int)(arg1)->GetFoldParent(arg2); | |
7183 | ||
7184 | wxPyEndAllowThreads(__tstate); | |
7185 | if (PyErr_Occurred()) SWIG_fail; | |
7186 | } | |
c370783e | 7187 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7188 | return resultobj; |
7189 | fail: | |
7190 | return NULL; | |
7191 | } | |
7192 | ||
7193 | ||
c370783e | 7194 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7195 | PyObject *resultobj; |
7196 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7197 | int arg2 ; | |
7198 | int arg3 ; | |
7199 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7200 | PyObject * obj1 = 0 ; |
7201 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7202 | char *kwnames[] = { |
7203 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7204 | }; | |
7205 | ||
994141e6 | 7206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7209 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7210 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7211 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7212 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7213 | { |
7214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7215 | (arg1)->ShowLines(arg2,arg3); | |
7216 | ||
7217 | wxPyEndAllowThreads(__tstate); | |
7218 | if (PyErr_Occurred()) SWIG_fail; | |
7219 | } | |
7220 | Py_INCREF(Py_None); resultobj = Py_None; | |
7221 | return resultobj; | |
7222 | fail: | |
7223 | return NULL; | |
7224 | } | |
7225 | ||
7226 | ||
c370783e | 7227 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7228 | PyObject *resultobj; |
7229 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7230 | int arg2 ; | |
7231 | int arg3 ; | |
7232 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7233 | PyObject * obj1 = 0 ; |
7234 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
7235 | char *kwnames[] = { |
7236 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
7237 | }; | |
7238 | ||
994141e6 | 7239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7242 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7243 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7244 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7245 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7246 | { |
7247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7248 | (arg1)->HideLines(arg2,arg3); | |
7249 | ||
7250 | wxPyEndAllowThreads(__tstate); | |
7251 | if (PyErr_Occurred()) SWIG_fail; | |
7252 | } | |
7253 | Py_INCREF(Py_None); resultobj = Py_None; | |
7254 | return resultobj; | |
7255 | fail: | |
7256 | return NULL; | |
7257 | } | |
7258 | ||
7259 | ||
c370783e | 7260 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7261 | PyObject *resultobj; |
7262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7263 | int arg2 ; | |
7264 | bool result; | |
7265 | PyObject * obj0 = 0 ; | |
994141e6 | 7266 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7267 | char *kwnames[] = { |
7268 | (char *) "self",(char *) "line", NULL | |
7269 | }; | |
7270 | ||
994141e6 | 7271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7272 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7274 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7275 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7276 | { |
7277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7278 | result = (bool)(arg1)->GetLineVisible(arg2); | |
7279 | ||
7280 | wxPyEndAllowThreads(__tstate); | |
7281 | if (PyErr_Occurred()) SWIG_fail; | |
7282 | } | |
4f89f6a3 RD |
7283 | { |
7284 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7285 | } | |
d14a1e28 RD |
7286 | return resultobj; |
7287 | fail: | |
7288 | return NULL; | |
7289 | } | |
7290 | ||
7291 | ||
c370783e | 7292 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7293 | PyObject *resultobj; |
7294 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7295 | int arg2 ; | |
7296 | bool arg3 ; | |
7297 | PyObject * obj0 = 0 ; | |
994141e6 | 7298 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7299 | PyObject * obj2 = 0 ; |
7300 | char *kwnames[] = { | |
7301 | (char *) "self",(char *) "line",(char *) "expanded", NULL | |
7302 | }; | |
7303 | ||
994141e6 | 7304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7307 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7308 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7309 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7310 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7311 | { |
7312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7313 | (arg1)->SetFoldExpanded(arg2,arg3); | |
7314 | ||
7315 | wxPyEndAllowThreads(__tstate); | |
7316 | if (PyErr_Occurred()) SWIG_fail; | |
7317 | } | |
7318 | Py_INCREF(Py_None); resultobj = Py_None; | |
7319 | return resultobj; | |
7320 | fail: | |
7321 | return NULL; | |
7322 | } | |
7323 | ||
7324 | ||
c370783e | 7325 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7326 | PyObject *resultobj; |
7327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7328 | int arg2 ; | |
7329 | bool result; | |
7330 | PyObject * obj0 = 0 ; | |
994141e6 | 7331 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7332 | char *kwnames[] = { |
7333 | (char *) "self",(char *) "line", NULL | |
7334 | }; | |
7335 | ||
994141e6 | 7336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7339 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7340 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7341 | { |
7342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7343 | result = (bool)(arg1)->GetFoldExpanded(arg2); | |
7344 | ||
7345 | wxPyEndAllowThreads(__tstate); | |
7346 | if (PyErr_Occurred()) SWIG_fail; | |
7347 | } | |
4f89f6a3 RD |
7348 | { |
7349 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7350 | } | |
d14a1e28 RD |
7351 | return resultobj; |
7352 | fail: | |
7353 | return NULL; | |
7354 | } | |
7355 | ||
7356 | ||
c370783e | 7357 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7358 | PyObject *resultobj; |
7359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7360 | int arg2 ; | |
7361 | PyObject * obj0 = 0 ; | |
994141e6 | 7362 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7363 | char *kwnames[] = { |
7364 | (char *) "self",(char *) "line", NULL | |
7365 | }; | |
7366 | ||
994141e6 | 7367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7370 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7371 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7372 | { |
7373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7374 | (arg1)->ToggleFold(arg2); | |
7375 | ||
7376 | wxPyEndAllowThreads(__tstate); | |
7377 | if (PyErr_Occurred()) SWIG_fail; | |
7378 | } | |
7379 | Py_INCREF(Py_None); resultobj = Py_None; | |
7380 | return resultobj; | |
7381 | fail: | |
7382 | return NULL; | |
7383 | } | |
7384 | ||
7385 | ||
c370783e | 7386 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7387 | PyObject *resultobj; |
7388 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7389 | int arg2 ; | |
7390 | PyObject * obj0 = 0 ; | |
994141e6 | 7391 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7392 | char *kwnames[] = { |
7393 | (char *) "self",(char *) "line", NULL | |
7394 | }; | |
7395 | ||
994141e6 | 7396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7399 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7400 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7401 | { |
7402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7403 | (arg1)->EnsureVisible(arg2); | |
7404 | ||
7405 | wxPyEndAllowThreads(__tstate); | |
7406 | if (PyErr_Occurred()) SWIG_fail; | |
7407 | } | |
7408 | Py_INCREF(Py_None); resultobj = Py_None; | |
7409 | return resultobj; | |
7410 | fail: | |
7411 | return NULL; | |
7412 | } | |
7413 | ||
7414 | ||
c370783e | 7415 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7416 | PyObject *resultobj; |
7417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7418 | int arg2 ; | |
7419 | PyObject * obj0 = 0 ; | |
994141e6 | 7420 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7421 | char *kwnames[] = { |
7422 | (char *) "self",(char *) "flags", NULL | |
7423 | }; | |
7424 | ||
994141e6 | 7425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7428 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7429 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7430 | { |
7431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7432 | (arg1)->SetFoldFlags(arg2); | |
7433 | ||
7434 | wxPyEndAllowThreads(__tstate); | |
7435 | if (PyErr_Occurred()) SWIG_fail; | |
7436 | } | |
7437 | Py_INCREF(Py_None); resultobj = Py_None; | |
7438 | return resultobj; | |
7439 | fail: | |
7440 | return NULL; | |
7441 | } | |
7442 | ||
7443 | ||
c370783e | 7444 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7445 | PyObject *resultobj; |
7446 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7447 | int arg2 ; | |
7448 | PyObject * obj0 = 0 ; | |
994141e6 | 7449 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7450 | char *kwnames[] = { |
7451 | (char *) "self",(char *) "line", NULL | |
7452 | }; | |
7453 | ||
994141e6 | 7454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7455 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7456 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7457 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7458 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7459 | { |
7460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7461 | (arg1)->EnsureVisibleEnforcePolicy(arg2); | |
7462 | ||
7463 | wxPyEndAllowThreads(__tstate); | |
7464 | if (PyErr_Occurred()) SWIG_fail; | |
7465 | } | |
7466 | Py_INCREF(Py_None); resultobj = Py_None; | |
7467 | return resultobj; | |
7468 | fail: | |
7469 | return NULL; | |
7470 | } | |
7471 | ||
7472 | ||
c370783e | 7473 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7474 | PyObject *resultobj; |
7475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7476 | bool arg2 ; | |
7477 | PyObject * obj0 = 0 ; | |
7478 | PyObject * obj1 = 0 ; | |
7479 | char *kwnames[] = { | |
7480 | (char *) "self",(char *) "tabIndents", NULL | |
7481 | }; | |
7482 | ||
7483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7486 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 7487 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7488 | { |
7489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7490 | (arg1)->SetTabIndents(arg2); | |
7491 | ||
7492 | wxPyEndAllowThreads(__tstate); | |
7493 | if (PyErr_Occurred()) SWIG_fail; | |
7494 | } | |
7495 | Py_INCREF(Py_None); resultobj = Py_None; | |
7496 | return resultobj; | |
7497 | fail: | |
7498 | return NULL; | |
7499 | } | |
7500 | ||
7501 | ||
c370783e | 7502 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7503 | PyObject *resultobj; |
7504 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7505 | bool result; | |
7506 | PyObject * obj0 = 0 ; | |
7507 | char *kwnames[] = { | |
7508 | (char *) "self", NULL | |
7509 | }; | |
7510 | ||
7511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7514 | { |
7515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7516 | result = (bool)(arg1)->GetTabIndents(); | |
7517 | ||
7518 | wxPyEndAllowThreads(__tstate); | |
7519 | if (PyErr_Occurred()) SWIG_fail; | |
7520 | } | |
4f89f6a3 RD |
7521 | { |
7522 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7523 | } | |
d14a1e28 RD |
7524 | return resultobj; |
7525 | fail: | |
7526 | return NULL; | |
7527 | } | |
7528 | ||
7529 | ||
c370783e | 7530 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7531 | PyObject *resultobj; |
7532 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7533 | bool arg2 ; | |
7534 | PyObject * obj0 = 0 ; | |
7535 | PyObject * obj1 = 0 ; | |
7536 | char *kwnames[] = { | |
7537 | (char *) "self",(char *) "bsUnIndents", NULL | |
7538 | }; | |
7539 | ||
7540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7541 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7543 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 7544 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7545 | { |
7546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7547 | (arg1)->SetBackSpaceUnIndents(arg2); | |
7548 | ||
7549 | wxPyEndAllowThreads(__tstate); | |
7550 | if (PyErr_Occurred()) SWIG_fail; | |
7551 | } | |
7552 | Py_INCREF(Py_None); resultobj = Py_None; | |
7553 | return resultobj; | |
7554 | fail: | |
7555 | return NULL; | |
7556 | } | |
7557 | ||
7558 | ||
c370783e | 7559 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7560 | PyObject *resultobj; |
7561 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7562 | bool result; | |
7563 | PyObject * obj0 = 0 ; | |
7564 | char *kwnames[] = { | |
7565 | (char *) "self", NULL | |
7566 | }; | |
7567 | ||
7568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7571 | { |
7572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7573 | result = (bool)(arg1)->GetBackSpaceUnIndents(); | |
7574 | ||
7575 | wxPyEndAllowThreads(__tstate); | |
7576 | if (PyErr_Occurred()) SWIG_fail; | |
7577 | } | |
4f89f6a3 RD |
7578 | { |
7579 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7580 | } | |
d14a1e28 RD |
7581 | return resultobj; |
7582 | fail: | |
7583 | return NULL; | |
7584 | } | |
7585 | ||
7586 | ||
c370783e | 7587 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7588 | PyObject *resultobj; |
7589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7590 | int arg2 ; | |
7591 | PyObject * obj0 = 0 ; | |
994141e6 | 7592 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7593 | char *kwnames[] = { |
7594 | (char *) "self",(char *) "periodMilliseconds", NULL | |
7595 | }; | |
7596 | ||
994141e6 | 7597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7600 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7601 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7602 | { |
7603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7604 | (arg1)->SetMouseDwellTime(arg2); | |
7605 | ||
7606 | wxPyEndAllowThreads(__tstate); | |
7607 | if (PyErr_Occurred()) SWIG_fail; | |
7608 | } | |
7609 | Py_INCREF(Py_None); resultobj = Py_None; | |
7610 | return resultobj; | |
7611 | fail: | |
7612 | return NULL; | |
7613 | } | |
7614 | ||
7615 | ||
c370783e | 7616 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7617 | PyObject *resultobj; |
7618 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7619 | int result; | |
7620 | PyObject * obj0 = 0 ; | |
7621 | char *kwnames[] = { | |
7622 | (char *) "self", NULL | |
7623 | }; | |
7624 | ||
7625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7626 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7627 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7628 | { |
7629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7630 | result = (int)(arg1)->GetMouseDwellTime(); | |
7631 | ||
7632 | wxPyEndAllowThreads(__tstate); | |
7633 | if (PyErr_Occurred()) SWIG_fail; | |
7634 | } | |
c370783e | 7635 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7636 | return resultobj; |
7637 | fail: | |
7638 | return NULL; | |
7639 | } | |
7640 | ||
7641 | ||
c370783e | 7642 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7643 | PyObject *resultobj; |
7644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7645 | int arg2 ; | |
7646 | bool arg3 ; | |
7647 | int result; | |
7648 | PyObject * obj0 = 0 ; | |
994141e6 | 7649 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7650 | PyObject * obj2 = 0 ; |
7651 | char *kwnames[] = { | |
7652 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7653 | }; | |
7654 | ||
994141e6 | 7655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7658 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7659 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7660 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7661 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7662 | { |
7663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7664 | result = (int)(arg1)->WordStartPosition(arg2,arg3); | |
7665 | ||
7666 | wxPyEndAllowThreads(__tstate); | |
7667 | if (PyErr_Occurred()) SWIG_fail; | |
7668 | } | |
c370783e | 7669 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7670 | return resultobj; |
7671 | fail: | |
7672 | return NULL; | |
7673 | } | |
7674 | ||
7675 | ||
c370783e | 7676 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7677 | PyObject *resultobj; |
7678 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7679 | int arg2 ; | |
7680 | bool arg3 ; | |
7681 | int result; | |
7682 | PyObject * obj0 = 0 ; | |
994141e6 | 7683 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7684 | PyObject * obj2 = 0 ; |
7685 | char *kwnames[] = { | |
7686 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
7687 | }; | |
7688 | ||
994141e6 | 7689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7692 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7693 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 7694 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7695 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7696 | { |
7697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7698 | result = (int)(arg1)->WordEndPosition(arg2,arg3); | |
7699 | ||
7700 | wxPyEndAllowThreads(__tstate); | |
7701 | if (PyErr_Occurred()) SWIG_fail; | |
7702 | } | |
c370783e | 7703 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7704 | return resultobj; |
7705 | fail: | |
7706 | return NULL; | |
7707 | } | |
7708 | ||
7709 | ||
c370783e | 7710 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7711 | PyObject *resultobj; |
7712 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7713 | int arg2 ; | |
7714 | PyObject * obj0 = 0 ; | |
994141e6 | 7715 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7716 | char *kwnames[] = { |
7717 | (char *) "self",(char *) "mode", NULL | |
7718 | }; | |
7719 | ||
994141e6 | 7720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7723 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7724 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7725 | { |
7726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7727 | (arg1)->SetWrapMode(arg2); | |
7728 | ||
7729 | wxPyEndAllowThreads(__tstate); | |
7730 | if (PyErr_Occurred()) SWIG_fail; | |
7731 | } | |
7732 | Py_INCREF(Py_None); resultobj = Py_None; | |
7733 | return resultobj; | |
7734 | fail: | |
7735 | return NULL; | |
7736 | } | |
7737 | ||
7738 | ||
c370783e | 7739 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7740 | PyObject *resultobj; |
7741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7742 | int result; | |
7743 | PyObject * obj0 = 0 ; | |
7744 | char *kwnames[] = { | |
7745 | (char *) "self", NULL | |
7746 | }; | |
7747 | ||
7748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7751 | { |
7752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7753 | result = (int)(arg1)->GetWrapMode(); | |
7754 | ||
7755 | wxPyEndAllowThreads(__tstate); | |
7756 | if (PyErr_Occurred()) SWIG_fail; | |
7757 | } | |
c370783e | 7758 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7759 | return resultobj; |
7760 | fail: | |
7761 | return NULL; | |
7762 | } | |
7763 | ||
7764 | ||
5e483524 RD |
7765 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
7766 | PyObject *resultobj; | |
7767 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7768 | int arg2 ; | |
7769 | PyObject * obj0 = 0 ; | |
7770 | PyObject * obj1 = 0 ; | |
7771 | char *kwnames[] = { | |
7772 | (char *) "self",(char *) "wrapVisualFlags", NULL | |
7773 | }; | |
7774 | ||
7775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail; | |
7776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7778 | arg2 = (int)SWIG_As_int(obj1); | |
7779 | if (PyErr_Occurred()) SWIG_fail; | |
7780 | { | |
7781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7782 | (arg1)->SetWrapVisualFlags(arg2); | |
7783 | ||
7784 | wxPyEndAllowThreads(__tstate); | |
7785 | if (PyErr_Occurred()) SWIG_fail; | |
7786 | } | |
7787 | Py_INCREF(Py_None); resultobj = Py_None; | |
7788 | return resultobj; | |
7789 | fail: | |
7790 | return NULL; | |
7791 | } | |
7792 | ||
7793 | ||
7794 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
7795 | PyObject *resultobj; | |
7796 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7797 | int result; | |
7798 | PyObject * obj0 = 0 ; | |
7799 | char *kwnames[] = { | |
7800 | (char *) "self", NULL | |
7801 | }; | |
7802 | ||
7803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail; | |
7804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7806 | { | |
7807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7808 | result = (int)(arg1)->GetWrapVisualFlags(); | |
7809 | ||
7810 | wxPyEndAllowThreads(__tstate); | |
7811 | if (PyErr_Occurred()) SWIG_fail; | |
7812 | } | |
7813 | resultobj = SWIG_From_int((int)result); | |
7814 | return resultobj; | |
7815 | fail: | |
7816 | return NULL; | |
7817 | } | |
7818 | ||
7819 | ||
7820 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { | |
7821 | PyObject *resultobj; | |
7822 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7823 | int arg2 ; | |
7824 | PyObject * obj0 = 0 ; | |
7825 | PyObject * obj1 = 0 ; | |
7826 | char *kwnames[] = { | |
7827 | (char *) "self",(char *) "wrapVisualFlagsLocation", NULL | |
7828 | }; | |
7829 | ||
7830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail; | |
7831 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7833 | arg2 = (int)SWIG_As_int(obj1); | |
7834 | if (PyErr_Occurred()) SWIG_fail; | |
7835 | { | |
7836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7837 | (arg1)->SetWrapVisualFlagsLocation(arg2); | |
7838 | ||
7839 | wxPyEndAllowThreads(__tstate); | |
7840 | if (PyErr_Occurred()) SWIG_fail; | |
7841 | } | |
7842 | Py_INCREF(Py_None); resultobj = Py_None; | |
7843 | return resultobj; | |
7844 | fail: | |
7845 | return NULL; | |
7846 | } | |
7847 | ||
7848 | ||
7849 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { | |
7850 | PyObject *resultobj; | |
7851 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7852 | int result; | |
7853 | PyObject * obj0 = 0 ; | |
7854 | char *kwnames[] = { | |
7855 | (char *) "self", NULL | |
7856 | }; | |
7857 | ||
7858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail; | |
7859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7861 | { | |
7862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7863 | result = (int)(arg1)->GetWrapVisualFlagsLocation(); | |
7864 | ||
7865 | wxPyEndAllowThreads(__tstate); | |
7866 | if (PyErr_Occurred()) SWIG_fail; | |
7867 | } | |
7868 | resultobj = SWIG_From_int((int)result); | |
7869 | return resultobj; | |
7870 | fail: | |
7871 | return NULL; | |
7872 | } | |
7873 | ||
7874 | ||
7875 | static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
7876 | PyObject *resultobj; | |
7877 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7878 | int arg2 ; | |
7879 | PyObject * obj0 = 0 ; | |
7880 | PyObject * obj1 = 0 ; | |
7881 | char *kwnames[] = { | |
7882 | (char *) "self",(char *) "indent", NULL | |
7883 | }; | |
7884 | ||
7885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail; | |
7886 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7887 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7888 | arg2 = (int)SWIG_As_int(obj1); | |
7889 | if (PyErr_Occurred()) SWIG_fail; | |
7890 | { | |
7891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7892 | (arg1)->SetWrapStartIndent(arg2); | |
7893 | ||
7894 | wxPyEndAllowThreads(__tstate); | |
7895 | if (PyErr_Occurred()) SWIG_fail; | |
7896 | } | |
7897 | Py_INCREF(Py_None); resultobj = Py_None; | |
7898 | return resultobj; | |
7899 | fail: | |
7900 | return NULL; | |
7901 | } | |
7902 | ||
7903 | ||
7904 | static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
7905 | PyObject *resultobj; | |
7906 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7907 | int result; | |
7908 | PyObject * obj0 = 0 ; | |
7909 | char *kwnames[] = { | |
7910 | (char *) "self", NULL | |
7911 | }; | |
7912 | ||
7913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail; | |
7914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
7915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7916 | { | |
7917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7918 | result = (int)(arg1)->GetWrapStartIndent(); | |
7919 | ||
7920 | wxPyEndAllowThreads(__tstate); | |
7921 | if (PyErr_Occurred()) SWIG_fail; | |
7922 | } | |
7923 | resultobj = SWIG_From_int((int)result); | |
7924 | return resultobj; | |
7925 | fail: | |
7926 | return NULL; | |
7927 | } | |
7928 | ||
7929 | ||
c370783e | 7930 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7931 | PyObject *resultobj; |
7932 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7933 | int arg2 ; | |
7934 | PyObject * obj0 = 0 ; | |
994141e6 | 7935 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7936 | char *kwnames[] = { |
7937 | (char *) "self",(char *) "mode", NULL | |
7938 | }; | |
7939 | ||
994141e6 | 7940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7941 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7943 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7944 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7945 | { |
7946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7947 | (arg1)->SetLayoutCache(arg2); | |
7948 | ||
7949 | wxPyEndAllowThreads(__tstate); | |
7950 | if (PyErr_Occurred()) SWIG_fail; | |
7951 | } | |
7952 | Py_INCREF(Py_None); resultobj = Py_None; | |
7953 | return resultobj; | |
7954 | fail: | |
7955 | return NULL; | |
7956 | } | |
7957 | ||
7958 | ||
c370783e | 7959 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7960 | PyObject *resultobj; |
7961 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7962 | int result; | |
7963 | PyObject * obj0 = 0 ; | |
7964 | char *kwnames[] = { | |
7965 | (char *) "self", NULL | |
7966 | }; | |
7967 | ||
7968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7971 | { |
7972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7973 | result = (int)(arg1)->GetLayoutCache(); | |
7974 | ||
7975 | wxPyEndAllowThreads(__tstate); | |
7976 | if (PyErr_Occurred()) SWIG_fail; | |
7977 | } | |
c370783e | 7978 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7979 | return resultobj; |
7980 | fail: | |
7981 | return NULL; | |
7982 | } | |
7983 | ||
7984 | ||
c370783e | 7985 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7986 | PyObject *resultobj; |
7987 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7988 | int arg2 ; | |
7989 | PyObject * obj0 = 0 ; | |
994141e6 | 7990 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7991 | char *kwnames[] = { |
7992 | (char *) "self",(char *) "pixelWidth", NULL | |
7993 | }; | |
7994 | ||
994141e6 | 7995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
7997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 7998 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7999 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8000 | { |
8001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8002 | (arg1)->SetScrollWidth(arg2); | |
8003 | ||
8004 | wxPyEndAllowThreads(__tstate); | |
8005 | if (PyErr_Occurred()) SWIG_fail; | |
8006 | } | |
8007 | Py_INCREF(Py_None); resultobj = Py_None; | |
8008 | return resultobj; | |
8009 | fail: | |
8010 | return NULL; | |
8011 | } | |
8012 | ||
8013 | ||
c370783e | 8014 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8015 | PyObject *resultobj; |
8016 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8017 | int result; | |
8018 | PyObject * obj0 = 0 ; | |
8019 | char *kwnames[] = { | |
8020 | (char *) "self", NULL | |
8021 | }; | |
8022 | ||
8023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8026 | { |
8027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8028 | result = (int)(arg1)->GetScrollWidth(); | |
8029 | ||
8030 | wxPyEndAllowThreads(__tstate); | |
8031 | if (PyErr_Occurred()) SWIG_fail; | |
8032 | } | |
c370783e | 8033 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8034 | return resultobj; |
8035 | fail: | |
8036 | return NULL; | |
8037 | } | |
8038 | ||
8039 | ||
c370783e | 8040 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8041 | PyObject *resultobj; |
8042 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8043 | int arg2 ; | |
8044 | wxString *arg3 = 0 ; | |
8045 | int result; | |
b411df4a | 8046 | bool temp3 = false ; |
d14a1e28 | 8047 | PyObject * obj0 = 0 ; |
994141e6 | 8048 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8049 | PyObject * obj2 = 0 ; |
8050 | char *kwnames[] = { | |
8051 | (char *) "self",(char *) "style",(char *) "text", NULL | |
8052 | }; | |
8053 | ||
994141e6 | 8054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8057 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8058 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8059 | { |
8060 | arg3 = wxString_in_helper(obj2); | |
8061 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 8062 | temp3 = true; |
d14a1e28 RD |
8063 | } |
8064 | { | |
8065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8066 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); | |
8067 | ||
8068 | wxPyEndAllowThreads(__tstate); | |
8069 | if (PyErr_Occurred()) SWIG_fail; | |
8070 | } | |
c370783e | 8071 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8072 | { |
8073 | if (temp3) | |
8074 | delete arg3; | |
8075 | } | |
8076 | return resultobj; | |
8077 | fail: | |
8078 | { | |
8079 | if (temp3) | |
8080 | delete arg3; | |
8081 | } | |
8082 | return NULL; | |
8083 | } | |
8084 | ||
8085 | ||
c370783e | 8086 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8087 | PyObject *resultobj; |
8088 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8089 | bool arg2 ; | |
8090 | PyObject * obj0 = 0 ; | |
8091 | PyObject * obj1 = 0 ; | |
8092 | char *kwnames[] = { | |
8093 | (char *) "self",(char *) "endAtLastLine", NULL | |
8094 | }; | |
8095 | ||
8096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8099 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8100 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8101 | { |
8102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8103 | (arg1)->SetEndAtLastLine(arg2); | |
8104 | ||
8105 | wxPyEndAllowThreads(__tstate); | |
8106 | if (PyErr_Occurred()) SWIG_fail; | |
8107 | } | |
8108 | Py_INCREF(Py_None); resultobj = Py_None; | |
8109 | return resultobj; | |
8110 | fail: | |
8111 | return NULL; | |
8112 | } | |
8113 | ||
8114 | ||
c370783e | 8115 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8116 | PyObject *resultobj; |
8117 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8118 | int result; | |
8119 | PyObject * obj0 = 0 ; | |
8120 | char *kwnames[] = { | |
8121 | (char *) "self", NULL | |
8122 | }; | |
8123 | ||
8124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8127 | { |
8128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8129 | result = (int)(arg1)->GetEndAtLastLine(); | |
8130 | ||
8131 | wxPyEndAllowThreads(__tstate); | |
8132 | if (PyErr_Occurred()) SWIG_fail; | |
8133 | } | |
c370783e | 8134 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8135 | return resultobj; |
8136 | fail: | |
8137 | return NULL; | |
8138 | } | |
8139 | ||
8140 | ||
c370783e | 8141 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8142 | PyObject *resultobj; |
8143 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8144 | int arg2 ; | |
8145 | int result; | |
8146 | PyObject * obj0 = 0 ; | |
994141e6 | 8147 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8148 | char *kwnames[] = { |
8149 | (char *) "self",(char *) "line", NULL | |
8150 | }; | |
8151 | ||
994141e6 | 8152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8155 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8156 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8157 | { |
8158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8159 | result = (int)(arg1)->TextHeight(arg2); | |
8160 | ||
8161 | wxPyEndAllowThreads(__tstate); | |
8162 | if (PyErr_Occurred()) SWIG_fail; | |
8163 | } | |
c370783e | 8164 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8165 | return resultobj; |
8166 | fail: | |
8167 | return NULL; | |
8168 | } | |
8169 | ||
8170 | ||
c370783e | 8171 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8172 | PyObject *resultobj; |
8173 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8174 | bool arg2 ; | |
8175 | PyObject * obj0 = 0 ; | |
8176 | PyObject * obj1 = 0 ; | |
8177 | char *kwnames[] = { | |
8178 | (char *) "self",(char *) "show", NULL | |
8179 | }; | |
8180 | ||
8181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8184 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8185 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8186 | { |
8187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8188 | (arg1)->SetUseVerticalScrollBar(arg2); | |
8189 | ||
8190 | wxPyEndAllowThreads(__tstate); | |
8191 | if (PyErr_Occurred()) SWIG_fail; | |
8192 | } | |
8193 | Py_INCREF(Py_None); resultobj = Py_None; | |
8194 | return resultobj; | |
8195 | fail: | |
8196 | return NULL; | |
8197 | } | |
8198 | ||
8199 | ||
c370783e | 8200 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8201 | PyObject *resultobj; |
8202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8203 | bool result; | |
8204 | PyObject * obj0 = 0 ; | |
8205 | char *kwnames[] = { | |
8206 | (char *) "self", NULL | |
8207 | }; | |
8208 | ||
8209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8212 | { |
8213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8214 | result = (bool)(arg1)->GetUseVerticalScrollBar(); | |
8215 | ||
8216 | wxPyEndAllowThreads(__tstate); | |
8217 | if (PyErr_Occurred()) SWIG_fail; | |
8218 | } | |
4f89f6a3 RD |
8219 | { |
8220 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8221 | } | |
d14a1e28 RD |
8222 | return resultobj; |
8223 | fail: | |
8224 | return NULL; | |
8225 | } | |
8226 | ||
8227 | ||
c370783e | 8228 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8229 | PyObject *resultobj; |
8230 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8231 | int arg2 ; | |
8232 | wxString *arg3 = 0 ; | |
b411df4a | 8233 | bool temp3 = false ; |
d14a1e28 | 8234 | PyObject * obj0 = 0 ; |
994141e6 | 8235 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8236 | PyObject * obj2 = 0 ; |
8237 | char *kwnames[] = { | |
8238 | (char *) "self",(char *) "length",(char *) "text", NULL | |
8239 | }; | |
8240 | ||
994141e6 | 8241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8244 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8245 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8246 | { |
8247 | arg3 = wxString_in_helper(obj2); | |
8248 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 8249 | temp3 = true; |
d14a1e28 RD |
8250 | } |
8251 | { | |
8252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8253 | (arg1)->AppendText(arg2,(wxString const &)*arg3); | |
8254 | ||
8255 | wxPyEndAllowThreads(__tstate); | |
8256 | if (PyErr_Occurred()) SWIG_fail; | |
8257 | } | |
8258 | Py_INCREF(Py_None); resultobj = Py_None; | |
8259 | { | |
8260 | if (temp3) | |
8261 | delete arg3; | |
8262 | } | |
8263 | return resultobj; | |
8264 | fail: | |
8265 | { | |
8266 | if (temp3) | |
8267 | delete arg3; | |
8268 | } | |
8269 | return NULL; | |
8270 | } | |
8271 | ||
8272 | ||
c370783e | 8273 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8274 | PyObject *resultobj; |
8275 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8276 | bool result; | |
8277 | PyObject * obj0 = 0 ; | |
8278 | char *kwnames[] = { | |
8279 | (char *) "self", NULL | |
8280 | }; | |
8281 | ||
8282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8285 | { |
8286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8287 | result = (bool)(arg1)->GetTwoPhaseDraw(); | |
8288 | ||
8289 | wxPyEndAllowThreads(__tstate); | |
8290 | if (PyErr_Occurred()) SWIG_fail; | |
8291 | } | |
4f89f6a3 RD |
8292 | { |
8293 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8294 | } | |
d14a1e28 RD |
8295 | return resultobj; |
8296 | fail: | |
8297 | return NULL; | |
8298 | } | |
8299 | ||
8300 | ||
c370783e | 8301 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8302 | PyObject *resultobj; |
8303 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8304 | bool arg2 ; | |
8305 | PyObject * obj0 = 0 ; | |
8306 | PyObject * obj1 = 0 ; | |
8307 | char *kwnames[] = { | |
8308 | (char *) "self",(char *) "twoPhase", NULL | |
8309 | }; | |
8310 | ||
8311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8314 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8315 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8316 | { |
8317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8318 | (arg1)->SetTwoPhaseDraw(arg2); | |
8319 | ||
8320 | wxPyEndAllowThreads(__tstate); | |
8321 | if (PyErr_Occurred()) SWIG_fail; | |
8322 | } | |
8323 | Py_INCREF(Py_None); resultobj = Py_None; | |
8324 | return resultobj; | |
8325 | fail: | |
8326 | return NULL; | |
8327 | } | |
8328 | ||
8329 | ||
c370783e | 8330 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8331 | PyObject *resultobj; |
8332 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8333 | PyObject * obj0 = 0 ; | |
8334 | char *kwnames[] = { | |
8335 | (char *) "self", NULL | |
8336 | }; | |
8337 | ||
8338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8341 | { |
8342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8343 | (arg1)->TargetFromSelection(); | |
8344 | ||
8345 | wxPyEndAllowThreads(__tstate); | |
8346 | if (PyErr_Occurred()) SWIG_fail; | |
8347 | } | |
8348 | Py_INCREF(Py_None); resultobj = Py_None; | |
8349 | return resultobj; | |
8350 | fail: | |
8351 | return NULL; | |
8352 | } | |
8353 | ||
8354 | ||
c370783e | 8355 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8356 | PyObject *resultobj; |
8357 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8358 | PyObject * obj0 = 0 ; | |
8359 | char *kwnames[] = { | |
8360 | (char *) "self", NULL | |
8361 | }; | |
8362 | ||
8363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8366 | { |
8367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8368 | (arg1)->LinesJoin(); | |
8369 | ||
8370 | wxPyEndAllowThreads(__tstate); | |
8371 | if (PyErr_Occurred()) SWIG_fail; | |
8372 | } | |
8373 | Py_INCREF(Py_None); resultobj = Py_None; | |
8374 | return resultobj; | |
8375 | fail: | |
8376 | return NULL; | |
8377 | } | |
8378 | ||
8379 | ||
c370783e | 8380 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8381 | PyObject *resultobj; |
8382 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8383 | int arg2 ; | |
8384 | PyObject * obj0 = 0 ; | |
994141e6 | 8385 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8386 | char *kwnames[] = { |
8387 | (char *) "self",(char *) "pixelWidth", NULL | |
8388 | }; | |
8389 | ||
994141e6 | 8390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8393 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8394 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8395 | { |
8396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8397 | (arg1)->LinesSplit(arg2); | |
8398 | ||
8399 | wxPyEndAllowThreads(__tstate); | |
8400 | if (PyErr_Occurred()) SWIG_fail; | |
8401 | } | |
8402 | Py_INCREF(Py_None); resultobj = Py_None; | |
8403 | return resultobj; | |
8404 | fail: | |
8405 | return NULL; | |
8406 | } | |
8407 | ||
8408 | ||
c370783e | 8409 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8410 | PyObject *resultobj; |
8411 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8412 | bool arg2 ; | |
8413 | wxColour *arg3 = 0 ; | |
8414 | wxColour temp3 ; | |
8415 | PyObject * obj0 = 0 ; | |
8416 | PyObject * obj1 = 0 ; | |
8417 | PyObject * obj2 = 0 ; | |
8418 | char *kwnames[] = { | |
8419 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
8420 | }; | |
8421 | ||
8422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8425 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8426 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8427 | { |
8428 | arg3 = &temp3; | |
8429 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8430 | } | |
8431 | { | |
8432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8433 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); | |
8434 | ||
8435 | wxPyEndAllowThreads(__tstate); | |
8436 | if (PyErr_Occurred()) SWIG_fail; | |
8437 | } | |
8438 | Py_INCREF(Py_None); resultobj = Py_None; | |
8439 | return resultobj; | |
8440 | fail: | |
8441 | return NULL; | |
8442 | } | |
8443 | ||
8444 | ||
c370783e | 8445 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8446 | PyObject *resultobj; |
8447 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8448 | bool arg2 ; | |
8449 | wxColour *arg3 = 0 ; | |
8450 | wxColour temp3 ; | |
8451 | PyObject * obj0 = 0 ; | |
8452 | PyObject * obj1 = 0 ; | |
8453 | PyObject * obj2 = 0 ; | |
8454 | char *kwnames[] = { | |
8455 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
8456 | }; | |
8457 | ||
15afbcd0 RD |
8458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
8460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 8461 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 8462 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8463 | { |
8464 | arg3 = &temp3; | |
8465 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8466 | } | |
8467 | { | |
8468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8469 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); | |
8470 | ||
8471 | wxPyEndAllowThreads(__tstate); | |
8472 | if (PyErr_Occurred()) SWIG_fail; | |
8473 | } | |
8474 | Py_INCREF(Py_None); resultobj = Py_None; | |
8475 | return resultobj; | |
8476 | fail: | |
8477 | return NULL; | |
8478 | } | |
8479 | ||
8480 | ||
c370783e | 8481 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8482 | PyObject *resultobj; |
8483 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8484 | PyObject * obj0 = 0 ; | |
8485 | char *kwnames[] = { | |
8486 | (char *) "self", NULL | |
8487 | }; | |
8488 | ||
4276dc52 | 8489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8490 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8492 | { |
8493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8494 | (arg1)->LineDown(); |
d14a1e28 RD |
8495 | |
8496 | wxPyEndAllowThreads(__tstate); | |
8497 | if (PyErr_Occurred()) SWIG_fail; | |
8498 | } | |
8499 | Py_INCREF(Py_None); resultobj = Py_None; | |
8500 | return resultobj; | |
8501 | fail: | |
8502 | return NULL; | |
8503 | } | |
8504 | ||
8505 | ||
c370783e | 8506 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8507 | PyObject *resultobj; |
8508 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8509 | PyObject * obj0 = 0 ; | |
8510 | char *kwnames[] = { | |
8511 | (char *) "self", NULL | |
8512 | }; | |
8513 | ||
4276dc52 | 8514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8517 | { |
8518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8519 | (arg1)->LineDownExtend(); |
d14a1e28 RD |
8520 | |
8521 | wxPyEndAllowThreads(__tstate); | |
8522 | if (PyErr_Occurred()) SWIG_fail; | |
8523 | } | |
8524 | Py_INCREF(Py_None); resultobj = Py_None; | |
8525 | return resultobj; | |
8526 | fail: | |
8527 | return NULL; | |
8528 | } | |
8529 | ||
8530 | ||
c370783e | 8531 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8532 | PyObject *resultobj; |
8533 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8534 | PyObject * obj0 = 0 ; | |
8535 | char *kwnames[] = { | |
8536 | (char *) "self", NULL | |
8537 | }; | |
8538 | ||
4276dc52 | 8539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8542 | { |
8543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8544 | (arg1)->LineUp(); |
d14a1e28 RD |
8545 | |
8546 | wxPyEndAllowThreads(__tstate); | |
8547 | if (PyErr_Occurred()) SWIG_fail; | |
8548 | } | |
8549 | Py_INCREF(Py_None); resultobj = Py_None; | |
8550 | return resultobj; | |
8551 | fail: | |
8552 | return NULL; | |
8553 | } | |
8554 | ||
8555 | ||
c370783e | 8556 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8557 | PyObject *resultobj; |
8558 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8559 | PyObject * obj0 = 0 ; | |
8560 | char *kwnames[] = { | |
8561 | (char *) "self", NULL | |
8562 | }; | |
8563 | ||
4276dc52 | 8564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8565 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8567 | { |
8568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8569 | (arg1)->LineUpExtend(); |
d14a1e28 RD |
8570 | |
8571 | wxPyEndAllowThreads(__tstate); | |
8572 | if (PyErr_Occurred()) SWIG_fail; | |
8573 | } | |
8574 | Py_INCREF(Py_None); resultobj = Py_None; | |
8575 | return resultobj; | |
8576 | fail: | |
8577 | return NULL; | |
8578 | } | |
8579 | ||
8580 | ||
c370783e | 8581 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8582 | PyObject *resultobj; |
8583 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8584 | PyObject * obj0 = 0 ; | |
8585 | char *kwnames[] = { | |
8586 | (char *) "self", NULL | |
8587 | }; | |
8588 | ||
4276dc52 | 8589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8592 | { |
8593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8594 | (arg1)->CharLeft(); |
d14a1e28 RD |
8595 | |
8596 | wxPyEndAllowThreads(__tstate); | |
8597 | if (PyErr_Occurred()) SWIG_fail; | |
8598 | } | |
8599 | Py_INCREF(Py_None); resultobj = Py_None; | |
8600 | return resultobj; | |
8601 | fail: | |
8602 | return NULL; | |
8603 | } | |
8604 | ||
8605 | ||
c370783e | 8606 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8607 | PyObject *resultobj; |
8608 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8609 | PyObject * obj0 = 0 ; | |
8610 | char *kwnames[] = { | |
8611 | (char *) "self", NULL | |
8612 | }; | |
8613 | ||
4276dc52 | 8614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8617 | { |
8618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8619 | (arg1)->CharLeftExtend(); |
d14a1e28 RD |
8620 | |
8621 | wxPyEndAllowThreads(__tstate); | |
8622 | if (PyErr_Occurred()) SWIG_fail; | |
8623 | } | |
8624 | Py_INCREF(Py_None); resultobj = Py_None; | |
8625 | return resultobj; | |
8626 | fail: | |
8627 | return NULL; | |
8628 | } | |
8629 | ||
8630 | ||
c370783e | 8631 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8632 | PyObject *resultobj; |
8633 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8634 | PyObject * obj0 = 0 ; | |
8635 | char *kwnames[] = { | |
8636 | (char *) "self", NULL | |
8637 | }; | |
8638 | ||
4276dc52 | 8639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8642 | { |
8643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8644 | (arg1)->CharRight(); |
d14a1e28 RD |
8645 | |
8646 | wxPyEndAllowThreads(__tstate); | |
8647 | if (PyErr_Occurred()) SWIG_fail; | |
8648 | } | |
8649 | Py_INCREF(Py_None); resultobj = Py_None; | |
8650 | return resultobj; | |
8651 | fail: | |
8652 | return NULL; | |
8653 | } | |
8654 | ||
8655 | ||
c370783e | 8656 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8657 | PyObject *resultobj; |
8658 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8659 | PyObject * obj0 = 0 ; |
8660 | char *kwnames[] = { | |
4276dc52 | 8661 | (char *) "self", NULL |
d14a1e28 RD |
8662 | }; |
8663 | ||
4276dc52 | 8664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8665 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8666 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8667 | { |
8668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8669 | (arg1)->CharRightExtend(); |
d14a1e28 RD |
8670 | |
8671 | wxPyEndAllowThreads(__tstate); | |
8672 | if (PyErr_Occurred()) SWIG_fail; | |
8673 | } | |
4276dc52 | 8674 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8675 | return resultobj; |
8676 | fail: | |
8677 | return NULL; | |
8678 | } | |
8679 | ||
8680 | ||
c370783e | 8681 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8682 | PyObject *resultobj; |
8683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8684 | PyObject * obj0 = 0 ; |
8685 | char *kwnames[] = { | |
4276dc52 | 8686 | (char *) "self", NULL |
d14a1e28 RD |
8687 | }; |
8688 | ||
4276dc52 | 8689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8692 | { |
8693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8694 | (arg1)->WordLeft(); |
d14a1e28 RD |
8695 | |
8696 | wxPyEndAllowThreads(__tstate); | |
8697 | if (PyErr_Occurred()) SWIG_fail; | |
8698 | } | |
8699 | Py_INCREF(Py_None); resultobj = Py_None; | |
8700 | return resultobj; | |
8701 | fail: | |
8702 | return NULL; | |
8703 | } | |
8704 | ||
8705 | ||
c370783e | 8706 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8707 | PyObject *resultobj; |
8708 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8709 | PyObject * obj0 = 0 ; |
8710 | char *kwnames[] = { | |
4276dc52 | 8711 | (char *) "self", NULL |
d14a1e28 RD |
8712 | }; |
8713 | ||
4276dc52 | 8714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8717 | { |
8718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8719 | (arg1)->WordLeftExtend(); |
d14a1e28 RD |
8720 | |
8721 | wxPyEndAllowThreads(__tstate); | |
8722 | if (PyErr_Occurred()) SWIG_fail; | |
8723 | } | |
8724 | Py_INCREF(Py_None); resultobj = Py_None; | |
8725 | return resultobj; | |
8726 | fail: | |
8727 | return NULL; | |
8728 | } | |
8729 | ||
8730 | ||
c370783e | 8731 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8732 | PyObject *resultobj; |
8733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8734 | PyObject * obj0 = 0 ; |
8735 | char *kwnames[] = { | |
4276dc52 | 8736 | (char *) "self", NULL |
d14a1e28 RD |
8737 | }; |
8738 | ||
4276dc52 | 8739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8742 | { |
8743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8744 | (arg1)->WordRight(); |
d14a1e28 RD |
8745 | |
8746 | wxPyEndAllowThreads(__tstate); | |
8747 | if (PyErr_Occurred()) SWIG_fail; | |
8748 | } | |
4276dc52 | 8749 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8750 | return resultobj; |
8751 | fail: | |
8752 | return NULL; | |
8753 | } | |
8754 | ||
8755 | ||
c370783e | 8756 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8757 | PyObject *resultobj; |
8758 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8759 | PyObject * obj0 = 0 ; |
8760 | char *kwnames[] = { | |
8761 | (char *) "self", NULL | |
8762 | }; | |
8763 | ||
4276dc52 | 8764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8766 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8767 | { |
8768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8769 | (arg1)->WordRightExtend(); |
d14a1e28 RD |
8770 | |
8771 | wxPyEndAllowThreads(__tstate); | |
8772 | if (PyErr_Occurred()) SWIG_fail; | |
8773 | } | |
4276dc52 | 8774 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8775 | return resultobj; |
8776 | fail: | |
8777 | return NULL; | |
8778 | } | |
8779 | ||
8780 | ||
c370783e | 8781 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8782 | PyObject *resultobj; |
8783 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8784 | PyObject * obj0 = 0 ; |
d14a1e28 | 8785 | char *kwnames[] = { |
4276dc52 | 8786 | (char *) "self", NULL |
d14a1e28 RD |
8787 | }; |
8788 | ||
4276dc52 | 8789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8792 | { |
8793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8794 | (arg1)->Home(); |
d14a1e28 RD |
8795 | |
8796 | wxPyEndAllowThreads(__tstate); | |
8797 | if (PyErr_Occurred()) SWIG_fail; | |
8798 | } | |
8799 | Py_INCREF(Py_None); resultobj = Py_None; | |
8800 | return resultobj; | |
8801 | fail: | |
8802 | return NULL; | |
8803 | } | |
8804 | ||
8805 | ||
c370783e | 8806 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8807 | PyObject *resultobj; |
8808 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8809 | PyObject * obj0 = 0 ; |
8810 | char *kwnames[] = { | |
8811 | (char *) "self", NULL | |
8812 | }; | |
8813 | ||
4276dc52 | 8814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8815 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8816 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8817 | { |
8818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8819 | (arg1)->HomeExtend(); |
d14a1e28 RD |
8820 | |
8821 | wxPyEndAllowThreads(__tstate); | |
8822 | if (PyErr_Occurred()) SWIG_fail; | |
8823 | } | |
4276dc52 | 8824 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8825 | return resultobj; |
8826 | fail: | |
8827 | return NULL; | |
8828 | } | |
8829 | ||
8830 | ||
c370783e | 8831 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8832 | PyObject *resultobj; |
8833 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 8834 | PyObject * obj0 = 0 ; |
d14a1e28 | 8835 | char *kwnames[] = { |
4276dc52 | 8836 | (char *) "self", NULL |
d14a1e28 RD |
8837 | }; |
8838 | ||
4276dc52 | 8839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8842 | { |
8843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8844 | (arg1)->LineEnd(); |
d14a1e28 RD |
8845 | |
8846 | wxPyEndAllowThreads(__tstate); | |
8847 | if (PyErr_Occurred()) SWIG_fail; | |
8848 | } | |
8849 | Py_INCREF(Py_None); resultobj = Py_None; | |
8850 | return resultobj; | |
8851 | fail: | |
8852 | return NULL; | |
8853 | } | |
8854 | ||
8855 | ||
c370783e | 8856 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8857 | PyObject *resultobj; |
8858 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8859 | PyObject * obj0 = 0 ; |
8860 | char *kwnames[] = { | |
4276dc52 | 8861 | (char *) "self", NULL |
d14a1e28 RD |
8862 | }; |
8863 | ||
4276dc52 | 8864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8867 | { |
8868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8869 | (arg1)->LineEndExtend(); |
d14a1e28 RD |
8870 | |
8871 | wxPyEndAllowThreads(__tstate); | |
8872 | if (PyErr_Occurred()) SWIG_fail; | |
8873 | } | |
8874 | Py_INCREF(Py_None); resultobj = Py_None; | |
8875 | return resultobj; | |
8876 | fail: | |
8877 | return NULL; | |
8878 | } | |
8879 | ||
8880 | ||
c370783e | 8881 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8882 | PyObject *resultobj; |
8883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8884 | PyObject * obj0 = 0 ; |
8885 | char *kwnames[] = { | |
8886 | (char *) "self", NULL | |
8887 | }; | |
8888 | ||
4276dc52 | 8889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8892 | { |
8893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8894 | (arg1)->DocumentStart(); |
d14a1e28 RD |
8895 | |
8896 | wxPyEndAllowThreads(__tstate); | |
8897 | if (PyErr_Occurred()) SWIG_fail; | |
8898 | } | |
4276dc52 | 8899 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8900 | return resultobj; |
8901 | fail: | |
8902 | return NULL; | |
8903 | } | |
8904 | ||
8905 | ||
c370783e | 8906 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8907 | PyObject *resultobj; |
8908 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8909 | PyObject * obj0 = 0 ; |
8910 | char *kwnames[] = { | |
4276dc52 | 8911 | (char *) "self", NULL |
d14a1e28 RD |
8912 | }; |
8913 | ||
4276dc52 | 8914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8917 | { |
8918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8919 | (arg1)->DocumentStartExtend(); |
d14a1e28 RD |
8920 | |
8921 | wxPyEndAllowThreads(__tstate); | |
8922 | if (PyErr_Occurred()) SWIG_fail; | |
8923 | } | |
8924 | Py_INCREF(Py_None); resultobj = Py_None; | |
8925 | return resultobj; | |
8926 | fail: | |
8927 | return NULL; | |
8928 | } | |
8929 | ||
8930 | ||
c370783e | 8931 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8932 | PyObject *resultobj; |
8933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8934 | PyObject * obj0 = 0 ; |
8935 | char *kwnames[] = { | |
8936 | (char *) "self", NULL | |
8937 | }; | |
8938 | ||
4276dc52 | 8939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8942 | { |
8943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8944 | (arg1)->DocumentEnd(); |
d14a1e28 RD |
8945 | |
8946 | wxPyEndAllowThreads(__tstate); | |
8947 | if (PyErr_Occurred()) SWIG_fail; | |
8948 | } | |
4276dc52 | 8949 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8950 | return resultobj; |
8951 | fail: | |
8952 | return NULL; | |
8953 | } | |
8954 | ||
8955 | ||
c370783e | 8956 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8957 | PyObject *resultobj; |
8958 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8959 | PyObject * obj0 = 0 ; |
8960 | char *kwnames[] = { | |
4276dc52 | 8961 | (char *) "self", NULL |
d14a1e28 RD |
8962 | }; |
8963 | ||
4276dc52 | 8964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8967 | { |
8968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8969 | (arg1)->DocumentEndExtend(); |
d14a1e28 RD |
8970 | |
8971 | wxPyEndAllowThreads(__tstate); | |
8972 | if (PyErr_Occurred()) SWIG_fail; | |
8973 | } | |
8974 | Py_INCREF(Py_None); resultobj = Py_None; | |
8975 | return resultobj; | |
8976 | fail: | |
8977 | return NULL; | |
8978 | } | |
8979 | ||
8980 | ||
c370783e | 8981 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8982 | PyObject *resultobj; |
8983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
8984 | PyObject * obj0 = 0 ; |
8985 | char *kwnames[] = { | |
8986 | (char *) "self", NULL | |
8987 | }; | |
8988 | ||
4276dc52 | 8989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
8990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
8991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8992 | { |
8993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 8994 | (arg1)->PageUp(); |
d14a1e28 RD |
8995 | |
8996 | wxPyEndAllowThreads(__tstate); | |
8997 | if (PyErr_Occurred()) SWIG_fail; | |
8998 | } | |
4276dc52 | 8999 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9000 | return resultobj; |
9001 | fail: | |
9002 | return NULL; | |
9003 | } | |
9004 | ||
9005 | ||
c370783e | 9006 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9007 | PyObject *resultobj; |
9008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9009 | PyObject * obj0 = 0 ; |
d14a1e28 | 9010 | char *kwnames[] = { |
4276dc52 | 9011 | (char *) "self", NULL |
d14a1e28 RD |
9012 | }; |
9013 | ||
4276dc52 | 9014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9017 | { |
9018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9019 | (arg1)->PageUpExtend(); |
d14a1e28 RD |
9020 | |
9021 | wxPyEndAllowThreads(__tstate); | |
9022 | if (PyErr_Occurred()) SWIG_fail; | |
9023 | } | |
9024 | Py_INCREF(Py_None); resultobj = Py_None; | |
9025 | return resultobj; | |
9026 | fail: | |
9027 | return NULL; | |
9028 | } | |
9029 | ||
9030 | ||
c370783e | 9031 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9032 | PyObject *resultobj; |
9033 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9034 | PyObject * obj0 = 0 ; | |
9035 | char *kwnames[] = { | |
9036 | (char *) "self", NULL | |
9037 | }; | |
9038 | ||
4276dc52 | 9039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9040 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9041 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9042 | { |
9043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9044 | (arg1)->PageDown(); |
d14a1e28 RD |
9045 | |
9046 | wxPyEndAllowThreads(__tstate); | |
9047 | if (PyErr_Occurred()) SWIG_fail; | |
9048 | } | |
9049 | Py_INCREF(Py_None); resultobj = Py_None; | |
9050 | return resultobj; | |
9051 | fail: | |
9052 | return NULL; | |
9053 | } | |
9054 | ||
9055 | ||
c370783e | 9056 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9057 | PyObject *resultobj; |
9058 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9059 | PyObject * obj0 = 0 ; |
d14a1e28 | 9060 | char *kwnames[] = { |
4276dc52 | 9061 | (char *) "self", NULL |
d14a1e28 RD |
9062 | }; |
9063 | ||
4276dc52 | 9064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9065 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9067 | { |
9068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9069 | (arg1)->PageDownExtend(); |
d14a1e28 RD |
9070 | |
9071 | wxPyEndAllowThreads(__tstate); | |
9072 | if (PyErr_Occurred()) SWIG_fail; | |
9073 | } | |
4276dc52 | 9074 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9075 | return resultobj; |
9076 | fail: | |
d14a1e28 RD |
9077 | return NULL; |
9078 | } | |
9079 | ||
9080 | ||
c370783e | 9081 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9082 | PyObject *resultobj; |
9083 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9084 | PyObject * obj0 = 0 ; |
d14a1e28 | 9085 | char *kwnames[] = { |
4276dc52 | 9086 | (char *) "self", NULL |
d14a1e28 RD |
9087 | }; |
9088 | ||
4276dc52 | 9089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9092 | { |
9093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9094 | (arg1)->EditToggleOvertype(); |
d14a1e28 RD |
9095 | |
9096 | wxPyEndAllowThreads(__tstate); | |
9097 | if (PyErr_Occurred()) SWIG_fail; | |
9098 | } | |
4276dc52 | 9099 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9100 | return resultobj; |
9101 | fail: | |
d14a1e28 RD |
9102 | return NULL; |
9103 | } | |
9104 | ||
9105 | ||
c370783e | 9106 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9107 | PyObject *resultobj; |
9108 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9109 | PyObject * obj0 = 0 ; |
9110 | char *kwnames[] = { | |
9111 | (char *) "self", NULL | |
9112 | }; | |
9113 | ||
4276dc52 | 9114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9117 | { |
9118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9119 | (arg1)->Cancel(); |
d14a1e28 RD |
9120 | |
9121 | wxPyEndAllowThreads(__tstate); | |
9122 | if (PyErr_Occurred()) SWIG_fail; | |
9123 | } | |
4276dc52 | 9124 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9125 | return resultobj; |
9126 | fail: | |
9127 | return NULL; | |
9128 | } | |
9129 | ||
9130 | ||
c370783e | 9131 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9132 | PyObject *resultobj; |
9133 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9134 | PyObject * obj0 = 0 ; |
d14a1e28 | 9135 | char *kwnames[] = { |
4276dc52 | 9136 | (char *) "self", NULL |
d14a1e28 RD |
9137 | }; |
9138 | ||
4276dc52 | 9139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9142 | { |
9143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9144 | (arg1)->DeleteBack(); |
d14a1e28 RD |
9145 | |
9146 | wxPyEndAllowThreads(__tstate); | |
9147 | if (PyErr_Occurred()) SWIG_fail; | |
9148 | } | |
9149 | Py_INCREF(Py_None); resultobj = Py_None; | |
9150 | return resultobj; | |
9151 | fail: | |
9152 | return NULL; | |
9153 | } | |
9154 | ||
9155 | ||
c370783e | 9156 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9157 | PyObject *resultobj; |
9158 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9159 | PyObject * obj0 = 0 ; |
9160 | char *kwnames[] = { | |
9161 | (char *) "self", NULL | |
9162 | }; | |
9163 | ||
4276dc52 | 9164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9167 | { |
9168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9169 | (arg1)->Tab(); |
d14a1e28 RD |
9170 | |
9171 | wxPyEndAllowThreads(__tstate); | |
9172 | if (PyErr_Occurred()) SWIG_fail; | |
9173 | } | |
4276dc52 | 9174 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9175 | return resultobj; |
9176 | fail: | |
9177 | return NULL; | |
9178 | } | |
9179 | ||
9180 | ||
c370783e | 9181 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9182 | PyObject *resultobj; |
9183 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9184 | PyObject * obj0 = 0 ; |
9185 | char *kwnames[] = { | |
4276dc52 | 9186 | (char *) "self", NULL |
d14a1e28 RD |
9187 | }; |
9188 | ||
4276dc52 | 9189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9192 | { |
9193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9194 | (arg1)->BackTab(); |
d14a1e28 RD |
9195 | |
9196 | wxPyEndAllowThreads(__tstate); | |
9197 | if (PyErr_Occurred()) SWIG_fail; | |
9198 | } | |
9199 | Py_INCREF(Py_None); resultobj = Py_None; | |
9200 | return resultobj; | |
9201 | fail: | |
9202 | return NULL; | |
9203 | } | |
9204 | ||
9205 | ||
c370783e | 9206 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9207 | PyObject *resultobj; |
9208 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9209 | PyObject * obj0 = 0 ; |
9210 | char *kwnames[] = { | |
9211 | (char *) "self", NULL | |
9212 | }; | |
9213 | ||
4276dc52 | 9214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9217 | { |
9218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9219 | (arg1)->NewLine(); |
d14a1e28 RD |
9220 | |
9221 | wxPyEndAllowThreads(__tstate); | |
9222 | if (PyErr_Occurred()) SWIG_fail; | |
9223 | } | |
4276dc52 | 9224 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9225 | return resultobj; |
9226 | fail: | |
9227 | return NULL; | |
9228 | } | |
9229 | ||
9230 | ||
c370783e | 9231 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9232 | PyObject *resultobj; |
9233 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9234 | PyObject * obj0 = 0 ; |
9235 | char *kwnames[] = { | |
9236 | (char *) "self", NULL | |
9237 | }; | |
9238 | ||
4276dc52 | 9239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9242 | { |
9243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9244 | (arg1)->FormFeed(); |
d14a1e28 RD |
9245 | |
9246 | wxPyEndAllowThreads(__tstate); | |
9247 | if (PyErr_Occurred()) SWIG_fail; | |
9248 | } | |
4276dc52 | 9249 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9250 | return resultobj; |
9251 | fail: | |
9252 | return NULL; | |
9253 | } | |
9254 | ||
9255 | ||
c370783e | 9256 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9257 | PyObject *resultobj; |
9258 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9259 | PyObject * obj0 = 0 ; |
d14a1e28 | 9260 | char *kwnames[] = { |
4276dc52 | 9261 | (char *) "self", NULL |
d14a1e28 RD |
9262 | }; |
9263 | ||
4276dc52 | 9264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9265 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9267 | { |
9268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9269 | (arg1)->VCHome(); |
d14a1e28 RD |
9270 | |
9271 | wxPyEndAllowThreads(__tstate); | |
9272 | if (PyErr_Occurred()) SWIG_fail; | |
9273 | } | |
9274 | Py_INCREF(Py_None); resultobj = Py_None; | |
9275 | return resultobj; | |
9276 | fail: | |
9277 | return NULL; | |
9278 | } | |
9279 | ||
9280 | ||
c370783e | 9281 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9282 | PyObject *resultobj; |
9283 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9284 | PyObject * obj0 = 0 ; |
d14a1e28 | 9285 | char *kwnames[] = { |
4276dc52 | 9286 | (char *) "self", NULL |
d14a1e28 RD |
9287 | }; |
9288 | ||
4276dc52 | 9289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9292 | { |
9293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9294 | (arg1)->VCHomeExtend(); |
d14a1e28 RD |
9295 | |
9296 | wxPyEndAllowThreads(__tstate); | |
9297 | if (PyErr_Occurred()) SWIG_fail; | |
9298 | } | |
9299 | Py_INCREF(Py_None); resultobj = Py_None; | |
9300 | return resultobj; | |
9301 | fail: | |
9302 | return NULL; | |
9303 | } | |
9304 | ||
9305 | ||
c370783e | 9306 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9307 | PyObject *resultobj; |
9308 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9309 | PyObject * obj0 = 0 ; |
9310 | char *kwnames[] = { | |
9311 | (char *) "self", NULL | |
9312 | }; | |
9313 | ||
4276dc52 | 9314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9317 | { |
9318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9319 | (arg1)->ZoomIn(); |
d14a1e28 RD |
9320 | |
9321 | wxPyEndAllowThreads(__tstate); | |
9322 | if (PyErr_Occurred()) SWIG_fail; | |
9323 | } | |
4276dc52 | 9324 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9325 | return resultobj; |
9326 | fail: | |
9327 | return NULL; | |
9328 | } | |
9329 | ||
9330 | ||
c370783e | 9331 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9332 | PyObject *resultobj; |
9333 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9334 | PyObject * obj0 = 0 ; |
d14a1e28 | 9335 | char *kwnames[] = { |
4276dc52 | 9336 | (char *) "self", NULL |
d14a1e28 RD |
9337 | }; |
9338 | ||
4276dc52 | 9339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9342 | { |
9343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9344 | (arg1)->ZoomOut(); |
d14a1e28 RD |
9345 | |
9346 | wxPyEndAllowThreads(__tstate); | |
9347 | if (PyErr_Occurred()) SWIG_fail; | |
9348 | } | |
9349 | Py_INCREF(Py_None); resultobj = Py_None; | |
9350 | return resultobj; | |
9351 | fail: | |
9352 | return NULL; | |
9353 | } | |
9354 | ||
9355 | ||
c370783e | 9356 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9357 | PyObject *resultobj; |
9358 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9359 | PyObject * obj0 = 0 ; |
9360 | char *kwnames[] = { | |
9361 | (char *) "self", NULL | |
9362 | }; | |
9363 | ||
4276dc52 | 9364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9367 | { |
9368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9369 | (arg1)->DelWordLeft(); |
d14a1e28 RD |
9370 | |
9371 | wxPyEndAllowThreads(__tstate); | |
9372 | if (PyErr_Occurred()) SWIG_fail; | |
9373 | } | |
4276dc52 | 9374 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9375 | return resultobj; |
9376 | fail: | |
9377 | return NULL; | |
9378 | } | |
9379 | ||
9380 | ||
c370783e | 9381 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9382 | PyObject *resultobj; |
9383 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9384 | PyObject * obj0 = 0 ; |
9385 | char *kwnames[] = { | |
4276dc52 | 9386 | (char *) "self", NULL |
d14a1e28 RD |
9387 | }; |
9388 | ||
4276dc52 | 9389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9392 | { |
9393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9394 | (arg1)->DelWordRight(); |
d14a1e28 RD |
9395 | |
9396 | wxPyEndAllowThreads(__tstate); | |
9397 | if (PyErr_Occurred()) SWIG_fail; | |
9398 | } | |
9399 | Py_INCREF(Py_None); resultobj = Py_None; | |
9400 | return resultobj; | |
9401 | fail: | |
9402 | return NULL; | |
9403 | } | |
9404 | ||
9405 | ||
c370783e | 9406 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9407 | PyObject *resultobj; |
9408 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9409 | PyObject * obj0 = 0 ; |
9410 | char *kwnames[] = { | |
9411 | (char *) "self", NULL | |
9412 | }; | |
9413 | ||
4276dc52 | 9414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9417 | { |
9418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9419 | (arg1)->LineCut(); |
d14a1e28 RD |
9420 | |
9421 | wxPyEndAllowThreads(__tstate); | |
9422 | if (PyErr_Occurred()) SWIG_fail; | |
9423 | } | |
4276dc52 | 9424 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9425 | return resultobj; |
9426 | fail: | |
9427 | return NULL; | |
9428 | } | |
9429 | ||
9430 | ||
c370783e | 9431 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9432 | PyObject *resultobj; |
9433 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 | 9434 | PyObject * obj0 = 0 ; |
d14a1e28 | 9435 | char *kwnames[] = { |
4276dc52 | 9436 | (char *) "self", NULL |
d14a1e28 RD |
9437 | }; |
9438 | ||
4276dc52 | 9439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9442 | { |
9443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9444 | (arg1)->LineDelete(); |
d14a1e28 RD |
9445 | |
9446 | wxPyEndAllowThreads(__tstate); | |
9447 | if (PyErr_Occurred()) SWIG_fail; | |
9448 | } | |
9449 | Py_INCREF(Py_None); resultobj = Py_None; | |
9450 | return resultobj; | |
9451 | fail: | |
9452 | return NULL; | |
9453 | } | |
9454 | ||
9455 | ||
c370783e | 9456 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9457 | PyObject *resultobj; |
9458 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9459 | PyObject * obj0 = 0 ; |
9460 | char *kwnames[] = { | |
9461 | (char *) "self", NULL | |
9462 | }; | |
9463 | ||
4276dc52 | 9464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9467 | { |
9468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9469 | (arg1)->LineTranspose(); |
d14a1e28 RD |
9470 | |
9471 | wxPyEndAllowThreads(__tstate); | |
9472 | if (PyErr_Occurred()) SWIG_fail; | |
9473 | } | |
4276dc52 | 9474 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9475 | return resultobj; |
9476 | fail: | |
9477 | return NULL; | |
9478 | } | |
9479 | ||
9480 | ||
c370783e | 9481 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9482 | PyObject *resultobj; |
9483 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9484 | PyObject * obj0 = 0 ; |
9485 | char *kwnames[] = { | |
4276dc52 | 9486 | (char *) "self", NULL |
d14a1e28 RD |
9487 | }; |
9488 | ||
4276dc52 | 9489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9490 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9492 | { |
9493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9494 | (arg1)->LineDuplicate(); |
d14a1e28 RD |
9495 | |
9496 | wxPyEndAllowThreads(__tstate); | |
9497 | if (PyErr_Occurred()) SWIG_fail; | |
9498 | } | |
9499 | Py_INCREF(Py_None); resultobj = Py_None; | |
9500 | return resultobj; | |
9501 | fail: | |
9502 | return NULL; | |
9503 | } | |
9504 | ||
9505 | ||
c370783e | 9506 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9507 | PyObject *resultobj; |
9508 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9509 | PyObject * obj0 = 0 ; |
9510 | char *kwnames[] = { | |
9511 | (char *) "self", NULL | |
9512 | }; | |
9513 | ||
4276dc52 | 9514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9517 | { |
9518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9519 | (arg1)->LowerCase(); |
d14a1e28 RD |
9520 | |
9521 | wxPyEndAllowThreads(__tstate); | |
9522 | if (PyErr_Occurred()) SWIG_fail; | |
9523 | } | |
4276dc52 | 9524 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9525 | return resultobj; |
9526 | fail: | |
9527 | return NULL; | |
9528 | } | |
9529 | ||
9530 | ||
c370783e | 9531 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9532 | PyObject *resultobj; |
9533 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9534 | PyObject * obj0 = 0 ; |
9535 | char *kwnames[] = { | |
4276dc52 | 9536 | (char *) "self", NULL |
d14a1e28 RD |
9537 | }; |
9538 | ||
4276dc52 | 9539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9542 | { |
9543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9544 | (arg1)->UpperCase(); |
d14a1e28 RD |
9545 | |
9546 | wxPyEndAllowThreads(__tstate); | |
9547 | if (PyErr_Occurred()) SWIG_fail; | |
9548 | } | |
9549 | Py_INCREF(Py_None); resultobj = Py_None; | |
9550 | return resultobj; | |
9551 | fail: | |
9552 | return NULL; | |
9553 | } | |
9554 | ||
9555 | ||
c370783e | 9556 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9557 | PyObject *resultobj; |
9558 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9559 | PyObject * obj0 = 0 ; |
9560 | char *kwnames[] = { | |
9561 | (char *) "self", NULL | |
9562 | }; | |
9563 | ||
4276dc52 | 9564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9565 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9567 | { |
9568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9569 | (arg1)->LineScrollDown(); |
d14a1e28 RD |
9570 | |
9571 | wxPyEndAllowThreads(__tstate); | |
9572 | if (PyErr_Occurred()) SWIG_fail; | |
9573 | } | |
4276dc52 | 9574 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9575 | return resultobj; |
9576 | fail: | |
9577 | return NULL; | |
9578 | } | |
9579 | ||
9580 | ||
c370783e | 9581 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9582 | PyObject *resultobj; |
9583 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9584 | PyObject * obj0 = 0 ; | |
9585 | char *kwnames[] = { | |
9586 | (char *) "self", NULL | |
9587 | }; | |
9588 | ||
4276dc52 | 9589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9592 | { |
9593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9594 | (arg1)->LineScrollUp(); |
d14a1e28 RD |
9595 | |
9596 | wxPyEndAllowThreads(__tstate); | |
9597 | if (PyErr_Occurred()) SWIG_fail; | |
9598 | } | |
9599 | Py_INCREF(Py_None); resultobj = Py_None; | |
9600 | return resultobj; | |
9601 | fail: | |
9602 | return NULL; | |
9603 | } | |
9604 | ||
9605 | ||
c370783e | 9606 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9607 | PyObject *resultobj; |
9608 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9609 | PyObject * obj0 = 0 ; | |
9610 | char *kwnames[] = { | |
9611 | (char *) "self", NULL | |
9612 | }; | |
9613 | ||
4276dc52 | 9614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9617 | { |
9618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9619 | (arg1)->DeleteBackNotLine(); |
d14a1e28 RD |
9620 | |
9621 | wxPyEndAllowThreads(__tstate); | |
9622 | if (PyErr_Occurred()) SWIG_fail; | |
9623 | } | |
9624 | Py_INCREF(Py_None); resultobj = Py_None; | |
9625 | return resultobj; | |
9626 | fail: | |
9627 | return NULL; | |
9628 | } | |
9629 | ||
9630 | ||
c370783e | 9631 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9632 | PyObject *resultobj; |
9633 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9634 | PyObject * obj0 = 0 ; | |
9635 | char *kwnames[] = { | |
9636 | (char *) "self", NULL | |
9637 | }; | |
9638 | ||
4276dc52 | 9639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9642 | { |
9643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9644 | (arg1)->HomeDisplay(); |
d14a1e28 RD |
9645 | |
9646 | wxPyEndAllowThreads(__tstate); | |
9647 | if (PyErr_Occurred()) SWIG_fail; | |
9648 | } | |
9649 | Py_INCREF(Py_None); resultobj = Py_None; | |
9650 | return resultobj; | |
9651 | fail: | |
9652 | return NULL; | |
9653 | } | |
9654 | ||
9655 | ||
c370783e | 9656 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9657 | PyObject *resultobj; |
9658 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9659 | PyObject * obj0 = 0 ; | |
9660 | char *kwnames[] = { | |
9661 | (char *) "self", NULL | |
9662 | }; | |
9663 | ||
4276dc52 | 9664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9665 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9666 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9667 | { |
9668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9669 | (arg1)->HomeDisplayExtend(); |
d14a1e28 RD |
9670 | |
9671 | wxPyEndAllowThreads(__tstate); | |
9672 | if (PyErr_Occurred()) SWIG_fail; | |
9673 | } | |
9674 | Py_INCREF(Py_None); resultobj = Py_None; | |
9675 | return resultobj; | |
9676 | fail: | |
9677 | return NULL; | |
9678 | } | |
9679 | ||
9680 | ||
c370783e | 9681 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9682 | PyObject *resultobj; |
9683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9684 | PyObject * obj0 = 0 ; |
9685 | char *kwnames[] = { | |
4276dc52 | 9686 | (char *) "self", NULL |
d14a1e28 RD |
9687 | }; |
9688 | ||
4276dc52 | 9689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9692 | { |
9693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9694 | (arg1)->LineEndDisplay(); |
d14a1e28 RD |
9695 | |
9696 | wxPyEndAllowThreads(__tstate); | |
9697 | if (PyErr_Occurred()) SWIG_fail; | |
9698 | } | |
9699 | Py_INCREF(Py_None); resultobj = Py_None; | |
9700 | return resultobj; | |
9701 | fail: | |
9702 | return NULL; | |
9703 | } | |
9704 | ||
9705 | ||
c370783e | 9706 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9707 | PyObject *resultobj; |
9708 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9709 | PyObject * obj0 = 0 ; | |
9710 | char *kwnames[] = { | |
9711 | (char *) "self", NULL | |
9712 | }; | |
9713 | ||
4276dc52 | 9714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9717 | { |
9718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9719 | (arg1)->LineEndDisplayExtend(); |
d14a1e28 RD |
9720 | |
9721 | wxPyEndAllowThreads(__tstate); | |
9722 | if (PyErr_Occurred()) SWIG_fail; | |
9723 | } | |
9724 | Py_INCREF(Py_None); resultobj = Py_None; | |
9725 | return resultobj; | |
9726 | fail: | |
9727 | return NULL; | |
9728 | } | |
9729 | ||
9730 | ||
c370783e | 9731 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9732 | PyObject *resultobj; |
9733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9734 | PyObject * obj0 = 0 ; | |
9735 | char *kwnames[] = { | |
9736 | (char *) "self", NULL | |
9737 | }; | |
9738 | ||
4276dc52 | 9739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9742 | { |
9743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9744 | (arg1)->HomeWrap(); |
d14a1e28 RD |
9745 | |
9746 | wxPyEndAllowThreads(__tstate); | |
9747 | if (PyErr_Occurred()) SWIG_fail; | |
9748 | } | |
9749 | Py_INCREF(Py_None); resultobj = Py_None; | |
9750 | return resultobj; | |
9751 | fail: | |
9752 | return NULL; | |
9753 | } | |
9754 | ||
9755 | ||
c370783e | 9756 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9757 | PyObject *resultobj; |
9758 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9759 | PyObject * obj0 = 0 ; |
9760 | char *kwnames[] = { | |
4276dc52 | 9761 | (char *) "self", NULL |
d14a1e28 RD |
9762 | }; |
9763 | ||
4276dc52 | 9764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9766 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9767 | { |
9768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9769 | (arg1)->HomeWrapExtend(); |
d14a1e28 RD |
9770 | |
9771 | wxPyEndAllowThreads(__tstate); | |
9772 | if (PyErr_Occurred()) SWIG_fail; | |
9773 | } | |
9774 | Py_INCREF(Py_None); resultobj = Py_None; | |
9775 | return resultobj; | |
9776 | fail: | |
9777 | return NULL; | |
9778 | } | |
9779 | ||
9780 | ||
c370783e | 9781 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9782 | PyObject *resultobj; |
9783 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9784 | PyObject * obj0 = 0 ; |
9785 | char *kwnames[] = { | |
9786 | (char *) "self", NULL | |
9787 | }; | |
9788 | ||
4276dc52 | 9789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9792 | { |
9793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9794 | (arg1)->LineEndWrap(); |
d14a1e28 RD |
9795 | |
9796 | wxPyEndAllowThreads(__tstate); | |
9797 | if (PyErr_Occurred()) SWIG_fail; | |
9798 | } | |
4276dc52 | 9799 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9800 | return resultobj; |
9801 | fail: | |
9802 | return NULL; | |
9803 | } | |
9804 | ||
9805 | ||
c370783e | 9806 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9807 | PyObject *resultobj; |
9808 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9809 | PyObject * obj0 = 0 ; | |
9810 | char *kwnames[] = { | |
9811 | (char *) "self", NULL | |
9812 | }; | |
9813 | ||
4276dc52 | 9814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9815 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9816 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9817 | { |
9818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9819 | (arg1)->LineEndWrapExtend(); |
d14a1e28 RD |
9820 | |
9821 | wxPyEndAllowThreads(__tstate); | |
9822 | if (PyErr_Occurred()) SWIG_fail; | |
9823 | } | |
9824 | Py_INCREF(Py_None); resultobj = Py_None; | |
9825 | return resultobj; | |
9826 | fail: | |
9827 | return NULL; | |
9828 | } | |
9829 | ||
9830 | ||
c370783e | 9831 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9832 | PyObject *resultobj; |
9833 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9834 | PyObject * obj0 = 0 ; |
9835 | char *kwnames[] = { | |
4276dc52 | 9836 | (char *) "self", NULL |
d14a1e28 RD |
9837 | }; |
9838 | ||
4276dc52 | 9839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9842 | { |
9843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9844 | (arg1)->VCHomeWrap(); |
d14a1e28 RD |
9845 | |
9846 | wxPyEndAllowThreads(__tstate); | |
9847 | if (PyErr_Occurred()) SWIG_fail; | |
9848 | } | |
9849 | Py_INCREF(Py_None); resultobj = Py_None; | |
9850 | return resultobj; | |
9851 | fail: | |
9852 | return NULL; | |
9853 | } | |
9854 | ||
9855 | ||
c370783e | 9856 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9857 | PyObject *resultobj; |
9858 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9859 | PyObject * obj0 = 0 ; |
9860 | char *kwnames[] = { | |
4276dc52 | 9861 | (char *) "self", NULL |
d14a1e28 RD |
9862 | }; |
9863 | ||
4276dc52 | 9864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9867 | { |
9868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9869 | (arg1)->VCHomeWrapExtend(); |
d14a1e28 RD |
9870 | |
9871 | wxPyEndAllowThreads(__tstate); | |
9872 | if (PyErr_Occurred()) SWIG_fail; | |
9873 | } | |
9874 | Py_INCREF(Py_None); resultobj = Py_None; | |
9875 | return resultobj; | |
9876 | fail: | |
9877 | return NULL; | |
9878 | } | |
9879 | ||
9880 | ||
c370783e | 9881 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9882 | PyObject *resultobj; |
9883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9884 | PyObject * obj0 = 0 ; |
9885 | char *kwnames[] = { | |
4276dc52 | 9886 | (char *) "self", NULL |
d14a1e28 RD |
9887 | }; |
9888 | ||
4276dc52 | 9889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9892 | { |
9893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9894 | (arg1)->LineCopy(); |
d14a1e28 RD |
9895 | |
9896 | wxPyEndAllowThreads(__tstate); | |
9897 | if (PyErr_Occurred()) SWIG_fail; | |
9898 | } | |
9899 | Py_INCREF(Py_None); resultobj = Py_None; | |
9900 | return resultobj; | |
9901 | fail: | |
9902 | return NULL; | |
9903 | } | |
9904 | ||
9905 | ||
c370783e | 9906 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9907 | PyObject *resultobj; |
9908 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
d14a1e28 RD |
9909 | PyObject * obj0 = 0 ; |
9910 | char *kwnames[] = { | |
9911 | (char *) "self", NULL | |
9912 | }; | |
9913 | ||
4276dc52 | 9914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
9915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9917 | { |
9918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9919 | (arg1)->MoveCaretInsideView(); |
d14a1e28 RD |
9920 | |
9921 | wxPyEndAllowThreads(__tstate); | |
9922 | if (PyErr_Occurred()) SWIG_fail; | |
9923 | } | |
4276dc52 | 9924 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9925 | return resultobj; |
9926 | fail: | |
9927 | return NULL; | |
9928 | } | |
9929 | ||
9930 | ||
c370783e | 9931 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9932 | PyObject *resultobj; |
9933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9934 | int arg2 ; |
9935 | int result; | |
d14a1e28 RD |
9936 | PyObject * obj0 = 0 ; |
9937 | PyObject * obj1 = 0 ; | |
d14a1e28 | 9938 | char *kwnames[] = { |
4276dc52 | 9939 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
9940 | }; |
9941 | ||
4276dc52 | 9942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9945 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9946 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9947 | { |
9948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9949 | result = (int)(arg1)->LineLength(arg2); |
d14a1e28 RD |
9950 | |
9951 | wxPyEndAllowThreads(__tstate); | |
9952 | if (PyErr_Occurred()) SWIG_fail; | |
9953 | } | |
c370783e | 9954 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9955 | return resultobj; |
9956 | fail: | |
9957 | return NULL; | |
9958 | } | |
9959 | ||
9960 | ||
c370783e | 9961 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9962 | PyObject *resultobj; |
9963 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
9964 | int arg2 ; |
9965 | int arg3 ; | |
d14a1e28 RD |
9966 | PyObject * obj0 = 0 ; |
9967 | PyObject * obj1 = 0 ; | |
9968 | PyObject * obj2 = 0 ; | |
9969 | char *kwnames[] = { | |
4276dc52 | 9970 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL |
d14a1e28 RD |
9971 | }; |
9972 | ||
4276dc52 | 9973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
9975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 9976 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 9977 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 9978 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9979 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9980 | { |
9981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 9982 | (arg1)->BraceHighlight(arg2,arg3); |
d14a1e28 RD |
9983 | |
9984 | wxPyEndAllowThreads(__tstate); | |
9985 | if (PyErr_Occurred()) SWIG_fail; | |
9986 | } | |
9987 | Py_INCREF(Py_None); resultobj = Py_None; | |
9988 | return resultobj; | |
9989 | fail: | |
9990 | return NULL; | |
9991 | } | |
9992 | ||
9993 | ||
c370783e | 9994 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9995 | PyObject *resultobj; |
9996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 9997 | int arg2 ; |
d14a1e28 RD |
9998 | PyObject * obj0 = 0 ; |
9999 | PyObject * obj1 = 0 ; | |
10000 | char *kwnames[] = { | |
4276dc52 | 10001 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
10002 | }; |
10003 | ||
4276dc52 | 10004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10007 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10008 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10009 | { |
10010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10011 | (arg1)->BraceBadLight(arg2); |
d14a1e28 RD |
10012 | |
10013 | wxPyEndAllowThreads(__tstate); | |
10014 | if (PyErr_Occurred()) SWIG_fail; | |
10015 | } | |
10016 | Py_INCREF(Py_None); resultobj = Py_None; | |
10017 | return resultobj; | |
10018 | fail: | |
10019 | return NULL; | |
10020 | } | |
10021 | ||
10022 | ||
c370783e | 10023 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10024 | PyObject *resultobj; |
10025 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
10026 | int arg2 ; |
10027 | int result; | |
96b3fa7c RD |
10028 | PyObject * obj0 = 0 ; |
10029 | PyObject * obj1 = 0 ; | |
10030 | char *kwnames[] = { | |
4276dc52 | 10031 | (char *) "self",(char *) "pos", NULL |
96b3fa7c RD |
10032 | }; |
10033 | ||
4276dc52 | 10034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10037 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10038 | if (PyErr_Occurred()) SWIG_fail; |
96b3fa7c RD |
10039 | { |
10040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10041 | result = (int)(arg1)->BraceMatch(arg2); |
96b3fa7c RD |
10042 | |
10043 | wxPyEndAllowThreads(__tstate); | |
10044 | if (PyErr_Occurred()) SWIG_fail; | |
10045 | } | |
c370783e | 10046 | resultobj = SWIG_From_int((int)result); |
96b3fa7c RD |
10047 | return resultobj; |
10048 | fail: | |
10049 | return NULL; | |
10050 | } | |
10051 | ||
10052 | ||
c370783e | 10053 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10054 | PyObject *resultobj; |
10055 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 10056 | bool result; |
d14a1e28 RD |
10057 | PyObject * obj0 = 0 ; |
10058 | char *kwnames[] = { | |
4276dc52 | 10059 | (char *) "self", NULL |
d14a1e28 RD |
10060 | }; |
10061 | ||
4276dc52 | 10062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
10063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10065 | { |
10066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10067 | result = (bool)(arg1)->GetViewEOL(); |
d14a1e28 RD |
10068 | |
10069 | wxPyEndAllowThreads(__tstate); | |
10070 | if (PyErr_Occurred()) SWIG_fail; | |
10071 | } | |
4f89f6a3 RD |
10072 | { |
10073 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10074 | } | |
d14a1e28 RD |
10075 | return resultobj; |
10076 | fail: | |
10077 | return NULL; | |
10078 | } | |
10079 | ||
10080 | ||
c370783e | 10081 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10082 | PyObject *resultobj; |
10083 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 | 10084 | bool arg2 ; |
d14a1e28 | 10085 | PyObject * obj0 = 0 ; |
994141e6 | 10086 | PyObject * obj1 = 0 ; |
d14a1e28 | 10087 | char *kwnames[] = { |
4276dc52 | 10088 | (char *) "self",(char *) "visible", NULL |
d14a1e28 RD |
10089 | }; |
10090 | ||
4276dc52 | 10091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10094 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 10095 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10096 | { |
10097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10098 | (arg1)->SetViewEOL(arg2); |
d14a1e28 RD |
10099 | |
10100 | wxPyEndAllowThreads(__tstate); | |
10101 | if (PyErr_Occurred()) SWIG_fail; | |
10102 | } | |
4276dc52 | 10103 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10104 | return resultobj; |
10105 | fail: | |
10106 | return NULL; | |
10107 | } | |
10108 | ||
10109 | ||
c370783e | 10110 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10111 | PyObject *resultobj; |
10112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
10113 | void *result; |
10114 | PyObject * obj0 = 0 ; | |
10115 | char *kwnames[] = { | |
10116 | (char *) "self", NULL | |
10117 | }; | |
10118 | ||
10119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; | |
10120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10122 | { | |
10123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10124 | result = (void *)(arg1)->GetDocPointer(); | |
10125 | ||
10126 | wxPyEndAllowThreads(__tstate); | |
10127 | if (PyErr_Occurred()) SWIG_fail; | |
10128 | } | |
10129 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
10130 | return resultobj; | |
10131 | fail: | |
10132 | return NULL; | |
10133 | } | |
10134 | ||
10135 | ||
c370783e | 10136 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10137 | PyObject *resultobj; |
10138 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10139 | void *arg2 = (void *) 0 ; | |
d14a1e28 | 10140 | PyObject * obj0 = 0 ; |
994141e6 | 10141 | PyObject * obj1 = 0 ; |
d14a1e28 | 10142 | char *kwnames[] = { |
4276dc52 | 10143 | (char *) "self",(char *) "docPointer", NULL |
d14a1e28 RD |
10144 | }; |
10145 | ||
4276dc52 | 10146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 | 10149 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
10150 | { |
10151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10152 | (arg1)->SetDocPointer(arg2); |
d14a1e28 RD |
10153 | |
10154 | wxPyEndAllowThreads(__tstate); | |
10155 | if (PyErr_Occurred()) SWIG_fail; | |
10156 | } | |
10157 | Py_INCREF(Py_None); resultobj = Py_None; | |
10158 | return resultobj; | |
10159 | fail: | |
10160 | return NULL; | |
10161 | } | |
10162 | ||
10163 | ||
c370783e | 10164 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10165 | PyObject *resultobj; |
10166 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10167 | int arg2 ; | |
d14a1e28 | 10168 | PyObject * obj0 = 0 ; |
994141e6 | 10169 | PyObject * obj1 = 0 ; |
d14a1e28 | 10170 | char *kwnames[] = { |
4276dc52 | 10171 | (char *) "self",(char *) "mask", NULL |
d14a1e28 RD |
10172 | }; |
10173 | ||
4276dc52 | 10174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10177 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10178 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10179 | { |
10180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10181 | (arg1)->SetModEventMask(arg2); |
d14a1e28 RD |
10182 | |
10183 | wxPyEndAllowThreads(__tstate); | |
10184 | if (PyErr_Occurred()) SWIG_fail; | |
10185 | } | |
10186 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
10187 | return resultobj; |
10188 | fail: | |
4276dc52 RD |
10189 | return NULL; |
10190 | } | |
10191 | ||
10192 | ||
c370783e | 10193 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10194 | PyObject *resultobj; |
10195 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10196 | int result; | |
10197 | PyObject * obj0 = 0 ; | |
10198 | char *kwnames[] = { | |
10199 | (char *) "self", NULL | |
10200 | }; | |
10201 | ||
10202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; | |
10203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10205 | { |
4276dc52 RD |
10206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10207 | result = (int)(arg1)->GetEdgeColumn(); | |
10208 | ||
10209 | wxPyEndAllowThreads(__tstate); | |
10210 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 10211 | } |
c370783e | 10212 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10213 | return resultobj; |
10214 | fail: | |
d14a1e28 RD |
10215 | return NULL; |
10216 | } | |
10217 | ||
10218 | ||
c370783e | 10219 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10220 | PyObject *resultobj; |
10221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10222 | int arg2 ; | |
10223 | PyObject * obj0 = 0 ; | |
10224 | PyObject * obj1 = 0 ; | |
10225 | char *kwnames[] = { | |
4276dc52 | 10226 | (char *) "self",(char *) "column", NULL |
96b3fa7c RD |
10227 | }; |
10228 | ||
4276dc52 | 10229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10232 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10233 | if (PyErr_Occurred()) SWIG_fail; |
96b3fa7c RD |
10234 | { |
10235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10236 | (arg1)->SetEdgeColumn(arg2); |
96b3fa7c RD |
10237 | |
10238 | wxPyEndAllowThreads(__tstate); | |
10239 | if (PyErr_Occurred()) SWIG_fail; | |
10240 | } | |
10241 | Py_INCREF(Py_None); resultobj = Py_None; | |
10242 | return resultobj; | |
10243 | fail: | |
10244 | return NULL; | |
10245 | } | |
10246 | ||
10247 | ||
c370783e | 10248 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10249 | PyObject *resultobj; |
10250 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10251 | int result; | |
10252 | PyObject * obj0 = 0 ; | |
10253 | char *kwnames[] = { | |
10254 | (char *) "self", NULL | |
10255 | }; | |
10256 | ||
4276dc52 | 10257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
10258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
10260 | { |
10261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10262 | result = (int)(arg1)->GetEdgeMode(); |
96b3fa7c RD |
10263 | |
10264 | wxPyEndAllowThreads(__tstate); | |
10265 | if (PyErr_Occurred()) SWIG_fail; | |
10266 | } | |
c370783e | 10267 | resultobj = SWIG_From_int((int)result); |
96b3fa7c RD |
10268 | return resultobj; |
10269 | fail: | |
10270 | return NULL; | |
10271 | } | |
10272 | ||
10273 | ||
c370783e | 10274 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10275 | PyObject *resultobj; |
10276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10277 | int arg2 ; | |
96b3fa7c RD |
10278 | PyObject * obj0 = 0 ; |
10279 | PyObject * obj1 = 0 ; | |
10280 | char *kwnames[] = { | |
4276dc52 | 10281 | (char *) "self",(char *) "mode", NULL |
96b3fa7c RD |
10282 | }; |
10283 | ||
4276dc52 | 10284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10287 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10288 | if (PyErr_Occurred()) SWIG_fail; |
96b3fa7c RD |
10289 | { |
10290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10291 | (arg1)->SetEdgeMode(arg2); |
96b3fa7c RD |
10292 | |
10293 | wxPyEndAllowThreads(__tstate); | |
10294 | if (PyErr_Occurred()) SWIG_fail; | |
10295 | } | |
4276dc52 | 10296 | Py_INCREF(Py_None); resultobj = Py_None; |
96b3fa7c RD |
10297 | return resultobj; |
10298 | fail: | |
10299 | return NULL; | |
10300 | } | |
10301 | ||
10302 | ||
c370783e | 10303 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
10304 | PyObject *resultobj; |
10305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4276dc52 RD |
10306 | wxColour result; |
10307 | PyObject * obj0 = 0 ; | |
10308 | char *kwnames[] = { | |
10309 | (char *) "self", NULL | |
10310 | }; | |
10311 | ||
10312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; | |
10313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10315 | { | |
10316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10317 | result = (arg1)->GetEdgeColour(); | |
10318 | ||
10319 | wxPyEndAllowThreads(__tstate); | |
10320 | if (PyErr_Occurred()) SWIG_fail; | |
10321 | } | |
10322 | { | |
10323 | wxColour * resultptr; | |
10324 | resultptr = new wxColour((wxColour &) result); | |
10325 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
10326 | } | |
10327 | return resultobj; | |
10328 | fail: | |
10329 | return NULL; | |
10330 | } | |
10331 | ||
10332 | ||
c370783e | 10333 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10334 | PyObject *resultobj; |
10335 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10336 | wxColour *arg2 = 0 ; | |
10337 | wxColour temp2 ; | |
96b3fa7c RD |
10338 | PyObject * obj0 = 0 ; |
10339 | PyObject * obj1 = 0 ; | |
10340 | char *kwnames[] = { | |
4276dc52 | 10341 | (char *) "self",(char *) "edgeColour", NULL |
96b3fa7c RD |
10342 | }; |
10343 | ||
4276dc52 | 10344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10345 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
10346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4276dc52 RD |
10347 | { |
10348 | arg2 = &temp2; | |
10349 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10350 | } | |
96b3fa7c RD |
10351 | { |
10352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4276dc52 | 10353 | (arg1)->SetEdgeColour((wxColour const &)*arg2); |
96b3fa7c RD |
10354 | |
10355 | wxPyEndAllowThreads(__tstate); | |
10356 | if (PyErr_Occurred()) SWIG_fail; | |
10357 | } | |
4276dc52 RD |
10358 | Py_INCREF(Py_None); resultobj = Py_None; |
10359 | return resultobj; | |
10360 | fail: | |
10361 | return NULL; | |
10362 | } | |
10363 | ||
10364 | ||
c370783e | 10365 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10366 | PyObject *resultobj; |
10367 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10368 | PyObject * obj0 = 0 ; | |
10369 | char *kwnames[] = { | |
10370 | (char *) "self", NULL | |
10371 | }; | |
10372 | ||
10373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; | |
10374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10376 | { | |
10377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10378 | (arg1)->SearchAnchor(); | |
10379 | ||
10380 | wxPyEndAllowThreads(__tstate); | |
10381 | if (PyErr_Occurred()) SWIG_fail; | |
10382 | } | |
10383 | Py_INCREF(Py_None); resultobj = Py_None; | |
10384 | return resultobj; | |
10385 | fail: | |
10386 | return NULL; | |
10387 | } | |
10388 | ||
10389 | ||
c370783e | 10390 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10391 | PyObject *resultobj; |
10392 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10393 | int arg2 ; | |
10394 | wxString *arg3 = 0 ; | |
10395 | int result; | |
b411df4a | 10396 | bool temp3 = false ; |
4276dc52 RD |
10397 | PyObject * obj0 = 0 ; |
10398 | PyObject * obj1 = 0 ; | |
10399 | PyObject * obj2 = 0 ; | |
10400 | char *kwnames[] = { | |
10401 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10402 | }; | |
10403 | ||
10404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10407 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10408 | if (PyErr_Occurred()) SWIG_fail; |
10409 | { | |
10410 | arg3 = wxString_in_helper(obj2); | |
10411 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 10412 | temp3 = true; |
4276dc52 RD |
10413 | } |
10414 | { | |
10415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10416 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); | |
10417 | ||
10418 | wxPyEndAllowThreads(__tstate); | |
10419 | if (PyErr_Occurred()) SWIG_fail; | |
10420 | } | |
c370783e | 10421 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10422 | { |
10423 | if (temp3) | |
10424 | delete arg3; | |
10425 | } | |
10426 | return resultobj; | |
10427 | fail: | |
10428 | { | |
10429 | if (temp3) | |
10430 | delete arg3; | |
10431 | } | |
10432 | return NULL; | |
10433 | } | |
10434 | ||
10435 | ||
c370783e | 10436 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10437 | PyObject *resultobj; |
10438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10439 | int arg2 ; | |
10440 | wxString *arg3 = 0 ; | |
10441 | int result; | |
b411df4a | 10442 | bool temp3 = false ; |
4276dc52 RD |
10443 | PyObject * obj0 = 0 ; |
10444 | PyObject * obj1 = 0 ; | |
10445 | PyObject * obj2 = 0 ; | |
10446 | char *kwnames[] = { | |
10447 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
10448 | }; | |
10449 | ||
10450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10451 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10452 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10453 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10454 | if (PyErr_Occurred()) SWIG_fail; |
10455 | { | |
10456 | arg3 = wxString_in_helper(obj2); | |
10457 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 10458 | temp3 = true; |
4276dc52 RD |
10459 | } |
10460 | { | |
10461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10462 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); | |
10463 | ||
10464 | wxPyEndAllowThreads(__tstate); | |
10465 | if (PyErr_Occurred()) SWIG_fail; | |
10466 | } | |
c370783e | 10467 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10468 | { |
10469 | if (temp3) | |
10470 | delete arg3; | |
10471 | } | |
10472 | return resultobj; | |
10473 | fail: | |
10474 | { | |
10475 | if (temp3) | |
10476 | delete arg3; | |
10477 | } | |
10478 | return NULL; | |
10479 | } | |
10480 | ||
10481 | ||
c370783e | 10482 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10483 | PyObject *resultobj; |
10484 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10485 | int result; | |
10486 | PyObject * obj0 = 0 ; | |
10487 | char *kwnames[] = { | |
10488 | (char *) "self", NULL | |
10489 | }; | |
10490 | ||
10491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; | |
10492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10494 | { | |
10495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10496 | result = (int)(arg1)->LinesOnScreen(); | |
10497 | ||
10498 | wxPyEndAllowThreads(__tstate); | |
10499 | if (PyErr_Occurred()) SWIG_fail; | |
10500 | } | |
c370783e | 10501 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10502 | return resultobj; |
10503 | fail: | |
10504 | return NULL; | |
10505 | } | |
10506 | ||
10507 | ||
c370783e | 10508 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10509 | PyObject *resultobj; |
10510 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10511 | bool arg2 ; | |
10512 | PyObject * obj0 = 0 ; | |
10513 | PyObject * obj1 = 0 ; | |
10514 | char *kwnames[] = { | |
10515 | (char *) "self",(char *) "allowPopUp", NULL | |
10516 | }; | |
10517 | ||
10518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; | |
10519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10521 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
10522 | if (PyErr_Occurred()) SWIG_fail; |
10523 | { | |
10524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10525 | (arg1)->UsePopUp(arg2); | |
10526 | ||
10527 | wxPyEndAllowThreads(__tstate); | |
10528 | if (PyErr_Occurred()) SWIG_fail; | |
10529 | } | |
10530 | Py_INCREF(Py_None); resultobj = Py_None; | |
10531 | return resultobj; | |
10532 | fail: | |
10533 | return NULL; | |
10534 | } | |
10535 | ||
10536 | ||
c370783e | 10537 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10538 | PyObject *resultobj; |
10539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10540 | bool result; | |
10541 | PyObject * obj0 = 0 ; | |
10542 | char *kwnames[] = { | |
10543 | (char *) "self", NULL | |
10544 | }; | |
10545 | ||
10546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; | |
10547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10549 | { | |
10550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10551 | result = (bool)(arg1)->SelectionIsRectangle(); | |
10552 | ||
10553 | wxPyEndAllowThreads(__tstate); | |
10554 | if (PyErr_Occurred()) SWIG_fail; | |
10555 | } | |
4f89f6a3 RD |
10556 | { |
10557 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10558 | } | |
4276dc52 RD |
10559 | return resultobj; |
10560 | fail: | |
10561 | return NULL; | |
10562 | } | |
10563 | ||
10564 | ||
c370783e | 10565 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10566 | PyObject *resultobj; |
10567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10568 | int arg2 ; | |
10569 | PyObject * obj0 = 0 ; | |
10570 | PyObject * obj1 = 0 ; | |
10571 | char *kwnames[] = { | |
10572 | (char *) "self",(char *) "zoom", NULL | |
10573 | }; | |
10574 | ||
10575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
10576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10578 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10579 | if (PyErr_Occurred()) SWIG_fail; |
10580 | { | |
10581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10582 | (arg1)->SetZoom(arg2); | |
10583 | ||
10584 | wxPyEndAllowThreads(__tstate); | |
10585 | if (PyErr_Occurred()) SWIG_fail; | |
10586 | } | |
10587 | Py_INCREF(Py_None); resultobj = Py_None; | |
10588 | return resultobj; | |
10589 | fail: | |
10590 | return NULL; | |
10591 | } | |
10592 | ||
10593 | ||
c370783e | 10594 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10595 | PyObject *resultobj; |
10596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10597 | int result; | |
10598 | PyObject * obj0 = 0 ; | |
10599 | char *kwnames[] = { | |
10600 | (char *) "self", NULL | |
10601 | }; | |
10602 | ||
10603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; | |
10604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10606 | { | |
10607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10608 | result = (int)(arg1)->GetZoom(); | |
10609 | ||
10610 | wxPyEndAllowThreads(__tstate); | |
10611 | if (PyErr_Occurred()) SWIG_fail; | |
10612 | } | |
c370783e | 10613 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10614 | return resultobj; |
10615 | fail: | |
10616 | return NULL; | |
10617 | } | |
10618 | ||
10619 | ||
c370783e | 10620 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10621 | PyObject *resultobj; |
10622 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10623 | void *result; | |
10624 | PyObject * obj0 = 0 ; | |
10625 | char *kwnames[] = { | |
10626 | (char *) "self", NULL | |
10627 | }; | |
10628 | ||
10629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; | |
10630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10632 | { | |
10633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10634 | result = (void *)(arg1)->CreateDocument(); | |
10635 | ||
10636 | wxPyEndAllowThreads(__tstate); | |
10637 | if (PyErr_Occurred()) SWIG_fail; | |
10638 | } | |
10639 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
10640 | return resultobj; | |
10641 | fail: | |
10642 | return NULL; | |
10643 | } | |
10644 | ||
10645 | ||
c370783e | 10646 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10647 | PyObject *resultobj; |
10648 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10649 | void *arg2 = (void *) 0 ; | |
10650 | PyObject * obj0 = 0 ; | |
10651 | PyObject * obj1 = 0 ; | |
10652 | char *kwnames[] = { | |
10653 | (char *) "self",(char *) "docPointer", NULL | |
10654 | }; | |
10655 | ||
10656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; | |
10657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10659 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10660 | { | |
10661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10662 | (arg1)->AddRefDocument(arg2); | |
10663 | ||
10664 | wxPyEndAllowThreads(__tstate); | |
10665 | if (PyErr_Occurred()) SWIG_fail; | |
10666 | } | |
10667 | Py_INCREF(Py_None); resultobj = Py_None; | |
10668 | return resultobj; | |
10669 | fail: | |
10670 | return NULL; | |
10671 | } | |
10672 | ||
10673 | ||
c370783e | 10674 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10675 | PyObject *resultobj; |
10676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10677 | void *arg2 = (void *) 0 ; | |
10678 | PyObject * obj0 = 0 ; | |
10679 | PyObject * obj1 = 0 ; | |
10680 | char *kwnames[] = { | |
10681 | (char *) "self",(char *) "docPointer", NULL | |
10682 | }; | |
10683 | ||
10684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; | |
10685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10687 | if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10688 | { | |
10689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10690 | (arg1)->ReleaseDocument(arg2); | |
10691 | ||
10692 | wxPyEndAllowThreads(__tstate); | |
10693 | if (PyErr_Occurred()) SWIG_fail; | |
10694 | } | |
10695 | Py_INCREF(Py_None); resultobj = Py_None; | |
10696 | return resultobj; | |
10697 | fail: | |
10698 | return NULL; | |
10699 | } | |
10700 | ||
10701 | ||
c370783e | 10702 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10703 | PyObject *resultobj; |
10704 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10705 | int result; | |
10706 | PyObject * obj0 = 0 ; | |
10707 | char *kwnames[] = { | |
10708 | (char *) "self", NULL | |
10709 | }; | |
10710 | ||
10711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; | |
10712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10714 | { | |
10715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10716 | result = (int)(arg1)->GetModEventMask(); | |
10717 | ||
10718 | wxPyEndAllowThreads(__tstate); | |
10719 | if (PyErr_Occurred()) SWIG_fail; | |
10720 | } | |
c370783e | 10721 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10722 | return resultobj; |
10723 | fail: | |
10724 | return NULL; | |
10725 | } | |
10726 | ||
10727 | ||
c370783e | 10728 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10729 | PyObject *resultobj; |
10730 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10731 | bool arg2 ; | |
10732 | PyObject * obj0 = 0 ; | |
10733 | PyObject * obj1 = 0 ; | |
10734 | char *kwnames[] = { | |
10735 | (char *) "self",(char *) "focus", NULL | |
10736 | }; | |
10737 | ||
10738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; | |
10739 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10740 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10741 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
10742 | if (PyErr_Occurred()) SWIG_fail; |
10743 | { | |
10744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10745 | (arg1)->SetSTCFocus(arg2); | |
10746 | ||
10747 | wxPyEndAllowThreads(__tstate); | |
10748 | if (PyErr_Occurred()) SWIG_fail; | |
10749 | } | |
10750 | Py_INCREF(Py_None); resultobj = Py_None; | |
10751 | return resultobj; | |
10752 | fail: | |
10753 | return NULL; | |
10754 | } | |
10755 | ||
10756 | ||
c370783e | 10757 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10758 | PyObject *resultobj; |
10759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10760 | bool result; | |
10761 | PyObject * obj0 = 0 ; | |
10762 | char *kwnames[] = { | |
10763 | (char *) "self", NULL | |
10764 | }; | |
10765 | ||
10766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; | |
10767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10769 | { | |
10770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10771 | result = (bool)(arg1)->GetSTCFocus(); | |
10772 | ||
10773 | wxPyEndAllowThreads(__tstate); | |
10774 | if (PyErr_Occurred()) SWIG_fail; | |
10775 | } | |
4f89f6a3 RD |
10776 | { |
10777 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10778 | } | |
4276dc52 RD |
10779 | return resultobj; |
10780 | fail: | |
10781 | return NULL; | |
10782 | } | |
10783 | ||
10784 | ||
c370783e | 10785 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10786 | PyObject *resultobj; |
10787 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10788 | int arg2 ; | |
10789 | PyObject * obj0 = 0 ; | |
10790 | PyObject * obj1 = 0 ; | |
10791 | char *kwnames[] = { | |
10792 | (char *) "self",(char *) "statusCode", NULL | |
10793 | }; | |
10794 | ||
10795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; | |
10796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10798 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10799 | if (PyErr_Occurred()) SWIG_fail; |
10800 | { | |
10801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10802 | (arg1)->SetStatus(arg2); | |
10803 | ||
10804 | wxPyEndAllowThreads(__tstate); | |
10805 | if (PyErr_Occurred()) SWIG_fail; | |
10806 | } | |
10807 | Py_INCREF(Py_None); resultobj = Py_None; | |
10808 | return resultobj; | |
10809 | fail: | |
10810 | return NULL; | |
10811 | } | |
10812 | ||
10813 | ||
c370783e | 10814 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10815 | PyObject *resultobj; |
10816 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10817 | int result; | |
10818 | PyObject * obj0 = 0 ; | |
10819 | char *kwnames[] = { | |
10820 | (char *) "self", NULL | |
10821 | }; | |
10822 | ||
10823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; | |
10824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10826 | { | |
10827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10828 | result = (int)(arg1)->GetStatus(); | |
10829 | ||
10830 | wxPyEndAllowThreads(__tstate); | |
10831 | if (PyErr_Occurred()) SWIG_fail; | |
10832 | } | |
c370783e | 10833 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10834 | return resultobj; |
10835 | fail: | |
10836 | return NULL; | |
10837 | } | |
10838 | ||
10839 | ||
c370783e | 10840 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10841 | PyObject *resultobj; |
10842 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10843 | bool arg2 ; | |
10844 | PyObject * obj0 = 0 ; | |
10845 | PyObject * obj1 = 0 ; | |
10846 | char *kwnames[] = { | |
10847 | (char *) "self",(char *) "captures", NULL | |
10848 | }; | |
10849 | ||
10850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; | |
10851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10853 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
10854 | if (PyErr_Occurred()) SWIG_fail; |
10855 | { | |
10856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10857 | (arg1)->SetMouseDownCaptures(arg2); | |
10858 | ||
10859 | wxPyEndAllowThreads(__tstate); | |
10860 | if (PyErr_Occurred()) SWIG_fail; | |
10861 | } | |
10862 | Py_INCREF(Py_None); resultobj = Py_None; | |
10863 | return resultobj; | |
10864 | fail: | |
10865 | return NULL; | |
10866 | } | |
10867 | ||
10868 | ||
c370783e | 10869 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10870 | PyObject *resultobj; |
10871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10872 | bool result; | |
10873 | PyObject * obj0 = 0 ; | |
10874 | char *kwnames[] = { | |
10875 | (char *) "self", NULL | |
10876 | }; | |
10877 | ||
10878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; | |
10879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10881 | { | |
10882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10883 | result = (bool)(arg1)->GetMouseDownCaptures(); | |
10884 | ||
10885 | wxPyEndAllowThreads(__tstate); | |
10886 | if (PyErr_Occurred()) SWIG_fail; | |
10887 | } | |
4f89f6a3 RD |
10888 | { |
10889 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10890 | } | |
4276dc52 RD |
10891 | return resultobj; |
10892 | fail: | |
10893 | return NULL; | |
10894 | } | |
10895 | ||
10896 | ||
c370783e | 10897 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10898 | PyObject *resultobj; |
10899 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10900 | int arg2 ; | |
10901 | PyObject * obj0 = 0 ; | |
10902 | PyObject * obj1 = 0 ; | |
10903 | char *kwnames[] = { | |
10904 | (char *) "self",(char *) "cursorType", NULL | |
10905 | }; | |
10906 | ||
10907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; | |
10908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10910 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10911 | if (PyErr_Occurred()) SWIG_fail; |
10912 | { | |
10913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10914 | (arg1)->SetSTCCursor(arg2); | |
10915 | ||
10916 | wxPyEndAllowThreads(__tstate); | |
10917 | if (PyErr_Occurred()) SWIG_fail; | |
10918 | } | |
10919 | Py_INCREF(Py_None); resultobj = Py_None; | |
10920 | return resultobj; | |
10921 | fail: | |
10922 | return NULL; | |
10923 | } | |
10924 | ||
10925 | ||
c370783e | 10926 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10927 | PyObject *resultobj; |
10928 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10929 | int result; | |
10930 | PyObject * obj0 = 0 ; | |
10931 | char *kwnames[] = { | |
10932 | (char *) "self", NULL | |
10933 | }; | |
10934 | ||
10935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; | |
10936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10938 | { | |
10939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10940 | result = (int)(arg1)->GetSTCCursor(); | |
10941 | ||
10942 | wxPyEndAllowThreads(__tstate); | |
10943 | if (PyErr_Occurred()) SWIG_fail; | |
10944 | } | |
c370783e | 10945 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
10946 | return resultobj; |
10947 | fail: | |
10948 | return NULL; | |
10949 | } | |
10950 | ||
10951 | ||
c370783e | 10952 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10953 | PyObject *resultobj; |
10954 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10955 | int arg2 ; | |
10956 | PyObject * obj0 = 0 ; | |
10957 | PyObject * obj1 = 0 ; | |
10958 | char *kwnames[] = { | |
10959 | (char *) "self",(char *) "symbol", NULL | |
10960 | }; | |
10961 | ||
10962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; | |
10963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 10965 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
10966 | if (PyErr_Occurred()) SWIG_fail; |
10967 | { | |
10968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10969 | (arg1)->SetControlCharSymbol(arg2); | |
10970 | ||
10971 | wxPyEndAllowThreads(__tstate); | |
10972 | if (PyErr_Occurred()) SWIG_fail; | |
10973 | } | |
10974 | Py_INCREF(Py_None); resultobj = Py_None; | |
10975 | return resultobj; | |
10976 | fail: | |
10977 | return NULL; | |
10978 | } | |
10979 | ||
10980 | ||
c370783e | 10981 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
10982 | PyObject *resultobj; |
10983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10984 | int result; | |
10985 | PyObject * obj0 = 0 ; | |
10986 | char *kwnames[] = { | |
10987 | (char *) "self", NULL | |
10988 | }; | |
10989 | ||
10990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; | |
10991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
10992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10993 | { | |
10994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10995 | result = (int)(arg1)->GetControlCharSymbol(); | |
10996 | ||
10997 | wxPyEndAllowThreads(__tstate); | |
10998 | if (PyErr_Occurred()) SWIG_fail; | |
10999 | } | |
c370783e | 11000 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11001 | return resultobj; |
11002 | fail: | |
11003 | return NULL; | |
11004 | } | |
11005 | ||
11006 | ||
c370783e | 11007 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11008 | PyObject *resultobj; |
11009 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11010 | PyObject * obj0 = 0 ; | |
11011 | char *kwnames[] = { | |
11012 | (char *) "self", NULL | |
11013 | }; | |
11014 | ||
11015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; | |
11016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11018 | { | |
11019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11020 | (arg1)->WordPartLeft(); | |
11021 | ||
11022 | wxPyEndAllowThreads(__tstate); | |
11023 | if (PyErr_Occurred()) SWIG_fail; | |
11024 | } | |
11025 | Py_INCREF(Py_None); resultobj = Py_None; | |
11026 | return resultobj; | |
11027 | fail: | |
11028 | return NULL; | |
11029 | } | |
11030 | ||
11031 | ||
c370783e | 11032 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11033 | PyObject *resultobj; |
11034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11035 | PyObject * obj0 = 0 ; | |
11036 | char *kwnames[] = { | |
11037 | (char *) "self", NULL | |
11038 | }; | |
11039 | ||
11040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; | |
11041 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11043 | { | |
11044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11045 | (arg1)->WordPartLeftExtend(); | |
11046 | ||
11047 | wxPyEndAllowThreads(__tstate); | |
11048 | if (PyErr_Occurred()) SWIG_fail; | |
11049 | } | |
11050 | Py_INCREF(Py_None); resultobj = Py_None; | |
11051 | return resultobj; | |
11052 | fail: | |
11053 | return NULL; | |
11054 | } | |
11055 | ||
11056 | ||
c370783e | 11057 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11058 | PyObject *resultobj; |
11059 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11060 | PyObject * obj0 = 0 ; | |
11061 | char *kwnames[] = { | |
11062 | (char *) "self", NULL | |
11063 | }; | |
11064 | ||
11065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; | |
11066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11068 | { | |
11069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11070 | (arg1)->WordPartRight(); | |
11071 | ||
11072 | wxPyEndAllowThreads(__tstate); | |
11073 | if (PyErr_Occurred()) SWIG_fail; | |
11074 | } | |
11075 | Py_INCREF(Py_None); resultobj = Py_None; | |
11076 | return resultobj; | |
11077 | fail: | |
11078 | return NULL; | |
11079 | } | |
11080 | ||
11081 | ||
c370783e | 11082 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11083 | PyObject *resultobj; |
11084 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11085 | PyObject * obj0 = 0 ; | |
11086 | char *kwnames[] = { | |
11087 | (char *) "self", NULL | |
11088 | }; | |
11089 | ||
11090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; | |
11091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11093 | { | |
11094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11095 | (arg1)->WordPartRightExtend(); | |
11096 | ||
11097 | wxPyEndAllowThreads(__tstate); | |
11098 | if (PyErr_Occurred()) SWIG_fail; | |
11099 | } | |
11100 | Py_INCREF(Py_None); resultobj = Py_None; | |
11101 | return resultobj; | |
11102 | fail: | |
11103 | return NULL; | |
11104 | } | |
11105 | ||
11106 | ||
c370783e | 11107 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11108 | PyObject *resultobj; |
11109 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11110 | int arg2 ; | |
11111 | int arg3 ; | |
11112 | PyObject * obj0 = 0 ; | |
11113 | PyObject * obj1 = 0 ; | |
11114 | PyObject * obj2 = 0 ; | |
11115 | char *kwnames[] = { | |
11116 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL | |
11117 | }; | |
11118 | ||
11119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11122 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 11123 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 11124 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
11125 | if (PyErr_Occurred()) SWIG_fail; |
11126 | { | |
11127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11128 | (arg1)->SetVisiblePolicy(arg2,arg3); | |
11129 | ||
11130 | wxPyEndAllowThreads(__tstate); | |
11131 | if (PyErr_Occurred()) SWIG_fail; | |
11132 | } | |
11133 | Py_INCREF(Py_None); resultobj = Py_None; | |
11134 | return resultobj; | |
11135 | fail: | |
11136 | return NULL; | |
11137 | } | |
11138 | ||
11139 | ||
c370783e | 11140 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11141 | PyObject *resultobj; |
11142 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11143 | PyObject * obj0 = 0 ; | |
11144 | char *kwnames[] = { | |
11145 | (char *) "self", NULL | |
11146 | }; | |
11147 | ||
11148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; | |
11149 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11151 | { | |
11152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11153 | (arg1)->DelLineLeft(); | |
11154 | ||
11155 | wxPyEndAllowThreads(__tstate); | |
11156 | if (PyErr_Occurred()) SWIG_fail; | |
11157 | } | |
11158 | Py_INCREF(Py_None); resultobj = Py_None; | |
11159 | return resultobj; | |
11160 | fail: | |
11161 | return NULL; | |
11162 | } | |
11163 | ||
11164 | ||
c370783e | 11165 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11166 | PyObject *resultobj; |
11167 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11168 | PyObject * obj0 = 0 ; | |
11169 | char *kwnames[] = { | |
11170 | (char *) "self", NULL | |
11171 | }; | |
11172 | ||
11173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; | |
11174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11176 | { | |
11177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11178 | (arg1)->DelLineRight(); | |
11179 | ||
11180 | wxPyEndAllowThreads(__tstate); | |
11181 | if (PyErr_Occurred()) SWIG_fail; | |
11182 | } | |
11183 | Py_INCREF(Py_None); resultobj = Py_None; | |
11184 | return resultobj; | |
11185 | fail: | |
11186 | return NULL; | |
11187 | } | |
11188 | ||
11189 | ||
c370783e | 11190 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11191 | PyObject *resultobj; |
11192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11193 | int arg2 ; | |
11194 | PyObject * obj0 = 0 ; | |
11195 | PyObject * obj1 = 0 ; | |
11196 | char *kwnames[] = { | |
11197 | (char *) "self",(char *) "newOffset", NULL | |
11198 | }; | |
11199 | ||
11200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; | |
11201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11203 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11204 | if (PyErr_Occurred()) SWIG_fail; |
11205 | { | |
11206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11207 | (arg1)->SetXOffset(arg2); | |
11208 | ||
11209 | wxPyEndAllowThreads(__tstate); | |
11210 | if (PyErr_Occurred()) SWIG_fail; | |
11211 | } | |
11212 | Py_INCREF(Py_None); resultobj = Py_None; | |
11213 | return resultobj; | |
11214 | fail: | |
11215 | return NULL; | |
11216 | } | |
11217 | ||
11218 | ||
c370783e | 11219 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11220 | PyObject *resultobj; |
11221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11222 | int result; | |
11223 | PyObject * obj0 = 0 ; | |
11224 | char *kwnames[] = { | |
11225 | (char *) "self", NULL | |
11226 | }; | |
11227 | ||
11228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; | |
11229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11231 | { | |
11232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11233 | result = (int)(arg1)->GetXOffset(); | |
11234 | ||
11235 | wxPyEndAllowThreads(__tstate); | |
11236 | if (PyErr_Occurred()) SWIG_fail; | |
11237 | } | |
c370783e | 11238 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11239 | return resultobj; |
11240 | fail: | |
11241 | return NULL; | |
11242 | } | |
11243 | ||
11244 | ||
c370783e | 11245 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11246 | PyObject *resultobj; |
11247 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11248 | PyObject * obj0 = 0 ; | |
11249 | char *kwnames[] = { | |
11250 | (char *) "self", NULL | |
11251 | }; | |
11252 | ||
11253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; | |
11254 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11255 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11256 | { | |
11257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11258 | (arg1)->ChooseCaretX(); | |
11259 | ||
11260 | wxPyEndAllowThreads(__tstate); | |
11261 | if (PyErr_Occurred()) SWIG_fail; | |
11262 | } | |
11263 | Py_INCREF(Py_None); resultobj = Py_None; | |
11264 | return resultobj; | |
11265 | fail: | |
11266 | return NULL; | |
11267 | } | |
11268 | ||
11269 | ||
c370783e | 11270 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11271 | PyObject *resultobj; |
11272 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11273 | int arg2 ; | |
11274 | int arg3 ; | |
11275 | PyObject * obj0 = 0 ; | |
11276 | PyObject * obj1 = 0 ; | |
11277 | PyObject * obj2 = 0 ; | |
11278 | char *kwnames[] = { | |
11279 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11280 | }; | |
11281 | ||
11282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11285 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 11286 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 11287 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
11288 | if (PyErr_Occurred()) SWIG_fail; |
11289 | { | |
11290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11291 | (arg1)->SetXCaretPolicy(arg2,arg3); | |
11292 | ||
11293 | wxPyEndAllowThreads(__tstate); | |
11294 | if (PyErr_Occurred()) SWIG_fail; | |
11295 | } | |
11296 | Py_INCREF(Py_None); resultobj = Py_None; | |
11297 | return resultobj; | |
11298 | fail: | |
11299 | return NULL; | |
11300 | } | |
11301 | ||
11302 | ||
c370783e | 11303 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11304 | PyObject *resultobj; |
11305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11306 | int arg2 ; | |
11307 | int arg3 ; | |
11308 | PyObject * obj0 = 0 ; | |
11309 | PyObject * obj1 = 0 ; | |
11310 | PyObject * obj2 = 0 ; | |
11311 | char *kwnames[] = { | |
11312 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
11313 | }; | |
11314 | ||
11315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11316 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11318 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 11319 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 11320 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
11321 | if (PyErr_Occurred()) SWIG_fail; |
11322 | { | |
11323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11324 | (arg1)->SetYCaretPolicy(arg2,arg3); | |
11325 | ||
11326 | wxPyEndAllowThreads(__tstate); | |
11327 | if (PyErr_Occurred()) SWIG_fail; | |
11328 | } | |
11329 | Py_INCREF(Py_None); resultobj = Py_None; | |
11330 | return resultobj; | |
11331 | fail: | |
11332 | return NULL; | |
11333 | } | |
11334 | ||
11335 | ||
c370783e | 11336 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11337 | PyObject *resultobj; |
11338 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11339 | int arg2 ; | |
11340 | PyObject * obj0 = 0 ; | |
11341 | PyObject * obj1 = 0 ; | |
11342 | char *kwnames[] = { | |
11343 | (char *) "self",(char *) "mode", NULL | |
11344 | }; | |
11345 | ||
11346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
11347 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11349 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11350 | if (PyErr_Occurred()) SWIG_fail; |
11351 | { | |
11352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11353 | (arg1)->SetPrintWrapMode(arg2); | |
11354 | ||
11355 | wxPyEndAllowThreads(__tstate); | |
11356 | if (PyErr_Occurred()) SWIG_fail; | |
11357 | } | |
11358 | Py_INCREF(Py_None); resultobj = Py_None; | |
11359 | return resultobj; | |
11360 | fail: | |
11361 | return NULL; | |
11362 | } | |
11363 | ||
11364 | ||
c370783e | 11365 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11366 | PyObject *resultobj; |
11367 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11368 | int result; | |
11369 | PyObject * obj0 = 0 ; | |
11370 | char *kwnames[] = { | |
11371 | (char *) "self", NULL | |
11372 | }; | |
11373 | ||
11374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; | |
11375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11377 | { | |
11378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11379 | result = (int)(arg1)->GetPrintWrapMode(); | |
11380 | ||
11381 | wxPyEndAllowThreads(__tstate); | |
11382 | if (PyErr_Occurred()) SWIG_fail; | |
11383 | } | |
c370783e | 11384 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11385 | return resultobj; |
11386 | fail: | |
11387 | return NULL; | |
11388 | } | |
11389 | ||
11390 | ||
c370783e | 11391 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11392 | PyObject *resultobj; |
11393 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11394 | bool arg2 ; | |
11395 | wxColour *arg3 = 0 ; | |
11396 | wxColour temp3 ; | |
11397 | PyObject * obj0 = 0 ; | |
11398 | PyObject * obj1 = 0 ; | |
11399 | PyObject * obj2 = 0 ; | |
11400 | char *kwnames[] = { | |
11401 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
11402 | }; | |
11403 | ||
11404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11407 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11408 | if (PyErr_Occurred()) SWIG_fail; |
11409 | { | |
11410 | arg3 = &temp3; | |
11411 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11412 | } | |
11413 | { | |
11414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11415 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); | |
11416 | ||
11417 | wxPyEndAllowThreads(__tstate); | |
11418 | if (PyErr_Occurred()) SWIG_fail; | |
11419 | } | |
11420 | Py_INCREF(Py_None); resultobj = Py_None; | |
11421 | return resultobj; | |
11422 | fail: | |
11423 | return NULL; | |
11424 | } | |
11425 | ||
11426 | ||
c370783e | 11427 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11428 | PyObject *resultobj; |
11429 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11430 | bool arg2 ; | |
11431 | wxColour *arg3 = 0 ; | |
11432 | wxColour temp3 ; | |
11433 | PyObject * obj0 = 0 ; | |
11434 | PyObject * obj1 = 0 ; | |
11435 | PyObject * obj2 = 0 ; | |
11436 | char *kwnames[] = { | |
11437 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
11438 | }; | |
11439 | ||
11440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11443 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11444 | if (PyErr_Occurred()) SWIG_fail; |
11445 | { | |
11446 | arg3 = &temp3; | |
11447 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11448 | } | |
11449 | { | |
11450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11451 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); | |
11452 | ||
11453 | wxPyEndAllowThreads(__tstate); | |
11454 | if (PyErr_Occurred()) SWIG_fail; | |
11455 | } | |
11456 | Py_INCREF(Py_None); resultobj = Py_None; | |
11457 | return resultobj; | |
11458 | fail: | |
11459 | return NULL; | |
11460 | } | |
11461 | ||
11462 | ||
c370783e | 11463 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11464 | PyObject *resultobj; |
11465 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11466 | bool arg2 ; | |
11467 | PyObject * obj0 = 0 ; | |
11468 | PyObject * obj1 = 0 ; | |
11469 | char *kwnames[] = { | |
11470 | (char *) "self",(char *) "underline", NULL | |
11471 | }; | |
11472 | ||
11473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; | |
11474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11476 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11477 | if (PyErr_Occurred()) SWIG_fail; |
11478 | { | |
11479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11480 | (arg1)->SetHotspotActiveUnderline(arg2); | |
11481 | ||
11482 | wxPyEndAllowThreads(__tstate); | |
11483 | if (PyErr_Occurred()) SWIG_fail; | |
11484 | } | |
11485 | Py_INCREF(Py_None); resultobj = Py_None; | |
11486 | return resultobj; | |
11487 | fail: | |
11488 | return NULL; | |
11489 | } | |
11490 | ||
11491 | ||
c370783e | 11492 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11493 | PyObject *resultobj; |
11494 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11495 | bool arg2 ; | |
11496 | PyObject * obj0 = 0 ; | |
11497 | PyObject * obj1 = 0 ; | |
11498 | char *kwnames[] = { | |
11499 | (char *) "self",(char *) "singleLine", NULL | |
11500 | }; | |
11501 | ||
11502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; | |
11503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11505 | arg2 = (bool)SWIG_As_bool(obj1); |
4276dc52 RD |
11506 | if (PyErr_Occurred()) SWIG_fail; |
11507 | { | |
11508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11509 | (arg1)->SetHotspotSingleLine(arg2); | |
11510 | ||
11511 | wxPyEndAllowThreads(__tstate); | |
11512 | if (PyErr_Occurred()) SWIG_fail; | |
11513 | } | |
11514 | Py_INCREF(Py_None); resultobj = Py_None; | |
11515 | return resultobj; | |
11516 | fail: | |
11517 | return NULL; | |
11518 | } | |
11519 | ||
11520 | ||
c370783e | 11521 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11522 | PyObject *resultobj; |
11523 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11524 | PyObject * obj0 = 0 ; | |
11525 | char *kwnames[] = { | |
11526 | (char *) "self", NULL | |
11527 | }; | |
11528 | ||
11529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; | |
11530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11532 | { | |
11533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11534 | (arg1)->ParaDown(); | |
11535 | ||
11536 | wxPyEndAllowThreads(__tstate); | |
11537 | if (PyErr_Occurred()) SWIG_fail; | |
11538 | } | |
11539 | Py_INCREF(Py_None); resultobj = Py_None; | |
11540 | return resultobj; | |
11541 | fail: | |
11542 | return NULL; | |
11543 | } | |
11544 | ||
11545 | ||
c370783e | 11546 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11547 | PyObject *resultobj; |
11548 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11549 | PyObject * obj0 = 0 ; | |
11550 | char *kwnames[] = { | |
11551 | (char *) "self", NULL | |
11552 | }; | |
11553 | ||
11554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; | |
11555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11557 | { | |
11558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11559 | (arg1)->ParaDownExtend(); | |
11560 | ||
11561 | wxPyEndAllowThreads(__tstate); | |
11562 | if (PyErr_Occurred()) SWIG_fail; | |
11563 | } | |
11564 | Py_INCREF(Py_None); resultobj = Py_None; | |
11565 | return resultobj; | |
11566 | fail: | |
11567 | return NULL; | |
11568 | } | |
11569 | ||
11570 | ||
c370783e | 11571 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11572 | PyObject *resultobj; |
11573 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11574 | PyObject * obj0 = 0 ; | |
11575 | char *kwnames[] = { | |
11576 | (char *) "self", NULL | |
11577 | }; | |
11578 | ||
11579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; | |
11580 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11581 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11582 | { | |
11583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11584 | (arg1)->ParaUp(); | |
11585 | ||
11586 | wxPyEndAllowThreads(__tstate); | |
11587 | if (PyErr_Occurred()) SWIG_fail; | |
11588 | } | |
11589 | Py_INCREF(Py_None); resultobj = Py_None; | |
11590 | return resultobj; | |
11591 | fail: | |
11592 | return NULL; | |
11593 | } | |
11594 | ||
11595 | ||
c370783e | 11596 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11597 | PyObject *resultobj; |
11598 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11599 | PyObject * obj0 = 0 ; | |
11600 | char *kwnames[] = { | |
11601 | (char *) "self", NULL | |
11602 | }; | |
11603 | ||
11604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; | |
11605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11607 | { | |
11608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11609 | (arg1)->ParaUpExtend(); | |
11610 | ||
11611 | wxPyEndAllowThreads(__tstate); | |
11612 | if (PyErr_Occurred()) SWIG_fail; | |
11613 | } | |
11614 | Py_INCREF(Py_None); resultobj = Py_None; | |
11615 | return resultobj; | |
11616 | fail: | |
11617 | return NULL; | |
11618 | } | |
11619 | ||
11620 | ||
c370783e | 11621 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11622 | PyObject *resultobj; |
11623 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11624 | int arg2 ; | |
11625 | int result; | |
11626 | PyObject * obj0 = 0 ; | |
11627 | PyObject * obj1 = 0 ; | |
11628 | char *kwnames[] = { | |
11629 | (char *) "self",(char *) "pos", NULL | |
11630 | }; | |
11631 | ||
11632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; | |
11633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11635 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11636 | if (PyErr_Occurred()) SWIG_fail; |
11637 | { | |
11638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11639 | result = (int)(arg1)->PositionBefore(arg2); | |
11640 | ||
11641 | wxPyEndAllowThreads(__tstate); | |
11642 | if (PyErr_Occurred()) SWIG_fail; | |
11643 | } | |
c370783e | 11644 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11645 | return resultobj; |
11646 | fail: | |
11647 | return NULL; | |
11648 | } | |
11649 | ||
11650 | ||
c370783e | 11651 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11652 | PyObject *resultobj; |
11653 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11654 | int arg2 ; | |
11655 | int result; | |
11656 | PyObject * obj0 = 0 ; | |
11657 | PyObject * obj1 = 0 ; | |
11658 | char *kwnames[] = { | |
11659 | (char *) "self",(char *) "pos", NULL | |
11660 | }; | |
11661 | ||
11662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; | |
11663 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11664 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11665 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11666 | if (PyErr_Occurred()) SWIG_fail; |
11667 | { | |
11668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11669 | result = (int)(arg1)->PositionAfter(arg2); | |
11670 | ||
11671 | wxPyEndAllowThreads(__tstate); | |
11672 | if (PyErr_Occurred()) SWIG_fail; | |
11673 | } | |
c370783e | 11674 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11675 | return resultobj; |
11676 | fail: | |
11677 | return NULL; | |
11678 | } | |
11679 | ||
11680 | ||
c370783e | 11681 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11682 | PyObject *resultobj; |
11683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11684 | int arg2 ; | |
11685 | int arg3 ; | |
11686 | PyObject * obj0 = 0 ; | |
11687 | PyObject * obj1 = 0 ; | |
11688 | PyObject * obj2 = 0 ; | |
11689 | char *kwnames[] = { | |
11690 | (char *) "self",(char *) "start",(char *) "end", NULL | |
11691 | }; | |
11692 | ||
11693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11696 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 | 11697 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 11698 | arg3 = (int)SWIG_As_int(obj2); |
4276dc52 RD |
11699 | if (PyErr_Occurred()) SWIG_fail; |
11700 | { | |
11701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11702 | (arg1)->CopyRange(arg2,arg3); | |
11703 | ||
11704 | wxPyEndAllowThreads(__tstate); | |
11705 | if (PyErr_Occurred()) SWIG_fail; | |
11706 | } | |
11707 | Py_INCREF(Py_None); resultobj = Py_None; | |
11708 | return resultobj; | |
11709 | fail: | |
11710 | return NULL; | |
11711 | } | |
11712 | ||
11713 | ||
c370783e | 11714 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11715 | PyObject *resultobj; |
11716 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11717 | int arg2 ; | |
11718 | wxString *arg3 = 0 ; | |
b411df4a | 11719 | bool temp3 = false ; |
4276dc52 RD |
11720 | PyObject * obj0 = 0 ; |
11721 | PyObject * obj1 = 0 ; | |
11722 | PyObject * obj2 = 0 ; | |
11723 | char *kwnames[] = { | |
11724 | (char *) "self",(char *) "length",(char *) "text", NULL | |
11725 | }; | |
11726 | ||
11727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11730 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11731 | if (PyErr_Occurred()) SWIG_fail; |
11732 | { | |
11733 | arg3 = wxString_in_helper(obj2); | |
11734 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 11735 | temp3 = true; |
4276dc52 RD |
11736 | } |
11737 | { | |
11738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11739 | (arg1)->CopyText(arg2,(wxString const &)*arg3); | |
11740 | ||
11741 | wxPyEndAllowThreads(__tstate); | |
11742 | if (PyErr_Occurred()) SWIG_fail; | |
11743 | } | |
11744 | Py_INCREF(Py_None); resultobj = Py_None; | |
11745 | { | |
11746 | if (temp3) | |
11747 | delete arg3; | |
11748 | } | |
11749 | return resultobj; | |
11750 | fail: | |
11751 | { | |
11752 | if (temp3) | |
11753 | delete arg3; | |
11754 | } | |
11755 | return NULL; | |
11756 | } | |
11757 | ||
11758 | ||
c370783e | 11759 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11760 | PyObject *resultobj; |
11761 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11762 | int arg2 ; | |
11763 | PyObject * obj0 = 0 ; | |
11764 | PyObject * obj1 = 0 ; | |
11765 | char *kwnames[] = { | |
11766 | (char *) "self",(char *) "mode", NULL | |
11767 | }; | |
11768 | ||
11769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; | |
11770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11772 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11773 | if (PyErr_Occurred()) SWIG_fail; |
11774 | { | |
11775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11776 | (arg1)->SetSelectionMode(arg2); | |
11777 | ||
11778 | wxPyEndAllowThreads(__tstate); | |
11779 | if (PyErr_Occurred()) SWIG_fail; | |
11780 | } | |
11781 | Py_INCREF(Py_None); resultobj = Py_None; | |
11782 | return resultobj; | |
11783 | fail: | |
11784 | return NULL; | |
11785 | } | |
11786 | ||
11787 | ||
c370783e | 11788 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11789 | PyObject *resultobj; |
11790 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11791 | int result; | |
11792 | PyObject * obj0 = 0 ; | |
11793 | char *kwnames[] = { | |
11794 | (char *) "self", NULL | |
11795 | }; | |
11796 | ||
11797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; | |
11798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11800 | { | |
11801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11802 | result = (int)(arg1)->GetSelectionMode(); | |
11803 | ||
11804 | wxPyEndAllowThreads(__tstate); | |
11805 | if (PyErr_Occurred()) SWIG_fail; | |
11806 | } | |
c370783e | 11807 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11808 | return resultobj; |
11809 | fail: | |
11810 | return NULL; | |
11811 | } | |
11812 | ||
11813 | ||
c370783e | 11814 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11815 | PyObject *resultobj; |
11816 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11817 | int arg2 ; | |
11818 | int result; | |
11819 | PyObject * obj0 = 0 ; | |
11820 | PyObject * obj1 = 0 ; | |
11821 | char *kwnames[] = { | |
11822 | (char *) "self",(char *) "line", NULL | |
11823 | }; | |
11824 | ||
11825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; | |
11826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11828 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11829 | if (PyErr_Occurred()) SWIG_fail; |
11830 | { | |
11831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11832 | result = (int)(arg1)->GetLineSelStartPosition(arg2); | |
11833 | ||
11834 | wxPyEndAllowThreads(__tstate); | |
11835 | if (PyErr_Occurred()) SWIG_fail; | |
11836 | } | |
c370783e | 11837 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11838 | return resultobj; |
11839 | fail: | |
11840 | return NULL; | |
11841 | } | |
11842 | ||
11843 | ||
c370783e | 11844 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11845 | PyObject *resultobj; |
11846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11847 | int arg2 ; | |
11848 | int result; | |
11849 | PyObject * obj0 = 0 ; | |
11850 | PyObject * obj1 = 0 ; | |
11851 | char *kwnames[] = { | |
11852 | (char *) "self",(char *) "line", NULL | |
11853 | }; | |
11854 | ||
11855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
11856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 11858 | arg2 = (int)SWIG_As_int(obj1); |
4276dc52 RD |
11859 | if (PyErr_Occurred()) SWIG_fail; |
11860 | { | |
11861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11862 | result = (int)(arg1)->GetLineSelEndPosition(arg2); | |
11863 | ||
11864 | wxPyEndAllowThreads(__tstate); | |
11865 | if (PyErr_Occurred()) SWIG_fail; | |
11866 | } | |
c370783e | 11867 | resultobj = SWIG_From_int((int)result); |
4276dc52 RD |
11868 | return resultobj; |
11869 | fail: | |
11870 | return NULL; | |
11871 | } | |
11872 | ||
11873 | ||
c370783e | 11874 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11875 | PyObject *resultobj; |
11876 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11877 | PyObject * obj0 = 0 ; | |
11878 | char *kwnames[] = { | |
11879 | (char *) "self", NULL | |
11880 | }; | |
11881 | ||
11882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; | |
11883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11885 | { | |
11886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11887 | (arg1)->LineDownRectExtend(); | |
11888 | ||
11889 | wxPyEndAllowThreads(__tstate); | |
11890 | if (PyErr_Occurred()) SWIG_fail; | |
11891 | } | |
11892 | Py_INCREF(Py_None); resultobj = Py_None; | |
11893 | return resultobj; | |
11894 | fail: | |
11895 | return NULL; | |
11896 | } | |
11897 | ||
11898 | ||
c370783e | 11899 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11900 | PyObject *resultobj; |
11901 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11902 | PyObject * obj0 = 0 ; | |
11903 | char *kwnames[] = { | |
11904 | (char *) "self", NULL | |
11905 | }; | |
11906 | ||
11907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; | |
11908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11910 | { | |
11911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11912 | (arg1)->LineUpRectExtend(); | |
11913 | ||
11914 | wxPyEndAllowThreads(__tstate); | |
11915 | if (PyErr_Occurred()) SWIG_fail; | |
11916 | } | |
11917 | Py_INCREF(Py_None); resultobj = Py_None; | |
11918 | return resultobj; | |
11919 | fail: | |
11920 | return NULL; | |
11921 | } | |
11922 | ||
11923 | ||
c370783e | 11924 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11925 | PyObject *resultobj; |
11926 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11927 | PyObject * obj0 = 0 ; | |
11928 | char *kwnames[] = { | |
11929 | (char *) "self", NULL | |
11930 | }; | |
11931 | ||
11932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; | |
11933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11935 | { | |
11936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11937 | (arg1)->CharLeftRectExtend(); | |
11938 | ||
11939 | wxPyEndAllowThreads(__tstate); | |
11940 | if (PyErr_Occurred()) SWIG_fail; | |
11941 | } | |
11942 | Py_INCREF(Py_None); resultobj = Py_None; | |
11943 | return resultobj; | |
11944 | fail: | |
11945 | return NULL; | |
11946 | } | |
11947 | ||
11948 | ||
c370783e | 11949 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11950 | PyObject *resultobj; |
11951 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11952 | PyObject * obj0 = 0 ; | |
11953 | char *kwnames[] = { | |
11954 | (char *) "self", NULL | |
11955 | }; | |
11956 | ||
11957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; | |
11958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11960 | { | |
11961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11962 | (arg1)->CharRightRectExtend(); | |
11963 | ||
11964 | wxPyEndAllowThreads(__tstate); | |
11965 | if (PyErr_Occurred()) SWIG_fail; | |
11966 | } | |
11967 | Py_INCREF(Py_None); resultobj = Py_None; | |
11968 | return resultobj; | |
11969 | fail: | |
11970 | return NULL; | |
11971 | } | |
11972 | ||
11973 | ||
c370783e | 11974 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
11975 | PyObject *resultobj; |
11976 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11977 | PyObject * obj0 = 0 ; | |
11978 | char *kwnames[] = { | |
11979 | (char *) "self", NULL | |
11980 | }; | |
11981 | ||
11982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; | |
11983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
11984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11985 | { | |
11986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11987 | (arg1)->HomeRectExtend(); | |
11988 | ||
11989 | wxPyEndAllowThreads(__tstate); | |
11990 | if (PyErr_Occurred()) SWIG_fail; | |
11991 | } | |
11992 | Py_INCREF(Py_None); resultobj = Py_None; | |
11993 | return resultobj; | |
11994 | fail: | |
11995 | return NULL; | |
11996 | } | |
11997 | ||
11998 | ||
c370783e | 11999 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12000 | PyObject *resultobj; |
12001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12002 | PyObject * obj0 = 0 ; | |
12003 | char *kwnames[] = { | |
12004 | (char *) "self", NULL | |
12005 | }; | |
12006 | ||
12007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; | |
12008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12010 | { | |
12011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12012 | (arg1)->VCHomeRectExtend(); | |
12013 | ||
12014 | wxPyEndAllowThreads(__tstate); | |
12015 | if (PyErr_Occurred()) SWIG_fail; | |
12016 | } | |
12017 | Py_INCREF(Py_None); resultobj = Py_None; | |
12018 | return resultobj; | |
12019 | fail: | |
12020 | return NULL; | |
12021 | } | |
12022 | ||
12023 | ||
c370783e | 12024 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12025 | PyObject *resultobj; |
12026 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12027 | PyObject * obj0 = 0 ; | |
12028 | char *kwnames[] = { | |
12029 | (char *) "self", NULL | |
12030 | }; | |
12031 | ||
12032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; | |
12033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12035 | { | |
12036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12037 | (arg1)->LineEndRectExtend(); | |
12038 | ||
12039 | wxPyEndAllowThreads(__tstate); | |
12040 | if (PyErr_Occurred()) SWIG_fail; | |
12041 | } | |
12042 | Py_INCREF(Py_None); resultobj = Py_None; | |
12043 | return resultobj; | |
12044 | fail: | |
12045 | return NULL; | |
12046 | } | |
12047 | ||
12048 | ||
c370783e | 12049 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12050 | PyObject *resultobj; |
12051 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12052 | PyObject * obj0 = 0 ; | |
12053 | char *kwnames[] = { | |
12054 | (char *) "self", NULL | |
12055 | }; | |
12056 | ||
12057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; | |
12058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12060 | { | |
12061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12062 | (arg1)->PageUpRectExtend(); | |
12063 | ||
12064 | wxPyEndAllowThreads(__tstate); | |
12065 | if (PyErr_Occurred()) SWIG_fail; | |
12066 | } | |
12067 | Py_INCREF(Py_None); resultobj = Py_None; | |
12068 | return resultobj; | |
12069 | fail: | |
12070 | return NULL; | |
12071 | } | |
12072 | ||
12073 | ||
c370783e | 12074 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12075 | PyObject *resultobj; |
12076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12077 | PyObject * obj0 = 0 ; | |
12078 | char *kwnames[] = { | |
12079 | (char *) "self", NULL | |
12080 | }; | |
12081 | ||
12082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; | |
12083 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12084 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12085 | { | |
12086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12087 | (arg1)->PageDownRectExtend(); | |
12088 | ||
12089 | wxPyEndAllowThreads(__tstate); | |
12090 | if (PyErr_Occurred()) SWIG_fail; | |
12091 | } | |
12092 | Py_INCREF(Py_None); resultobj = Py_None; | |
12093 | return resultobj; | |
12094 | fail: | |
12095 | return NULL; | |
12096 | } | |
12097 | ||
12098 | ||
c370783e | 12099 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12100 | PyObject *resultobj; |
12101 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12102 | PyObject * obj0 = 0 ; | |
12103 | char *kwnames[] = { | |
12104 | (char *) "self", NULL | |
12105 | }; | |
12106 | ||
12107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; | |
12108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12110 | { | |
12111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12112 | (arg1)->StutteredPageUp(); | |
12113 | ||
12114 | wxPyEndAllowThreads(__tstate); | |
12115 | if (PyErr_Occurred()) SWIG_fail; | |
12116 | } | |
12117 | Py_INCREF(Py_None); resultobj = Py_None; | |
12118 | return resultobj; | |
12119 | fail: | |
12120 | return NULL; | |
12121 | } | |
12122 | ||
12123 | ||
c370783e | 12124 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12125 | PyObject *resultobj; |
12126 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12127 | PyObject * obj0 = 0 ; | |
12128 | char *kwnames[] = { | |
12129 | (char *) "self", NULL | |
12130 | }; | |
12131 | ||
12132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; | |
12133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12135 | { | |
12136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12137 | (arg1)->StutteredPageUpExtend(); | |
12138 | ||
12139 | wxPyEndAllowThreads(__tstate); | |
12140 | if (PyErr_Occurred()) SWIG_fail; | |
12141 | } | |
12142 | Py_INCREF(Py_None); resultobj = Py_None; | |
12143 | return resultobj; | |
12144 | fail: | |
12145 | return NULL; | |
12146 | } | |
12147 | ||
12148 | ||
c370783e | 12149 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12150 | PyObject *resultobj; |
12151 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12152 | PyObject * obj0 = 0 ; | |
12153 | char *kwnames[] = { | |
12154 | (char *) "self", NULL | |
12155 | }; | |
12156 | ||
12157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; | |
12158 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12159 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12160 | { | |
12161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12162 | (arg1)->StutteredPageDown(); | |
12163 | ||
12164 | wxPyEndAllowThreads(__tstate); | |
12165 | if (PyErr_Occurred()) SWIG_fail; | |
12166 | } | |
12167 | Py_INCREF(Py_None); resultobj = Py_None; | |
12168 | return resultobj; | |
12169 | fail: | |
12170 | return NULL; | |
12171 | } | |
12172 | ||
12173 | ||
c370783e | 12174 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12175 | PyObject *resultobj; |
12176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12177 | PyObject * obj0 = 0 ; | |
12178 | char *kwnames[] = { | |
12179 | (char *) "self", NULL | |
12180 | }; | |
12181 | ||
12182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; | |
12183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12185 | { | |
12186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12187 | (arg1)->StutteredPageDownExtend(); | |
12188 | ||
12189 | wxPyEndAllowThreads(__tstate); | |
12190 | if (PyErr_Occurred()) SWIG_fail; | |
12191 | } | |
12192 | Py_INCREF(Py_None); resultobj = Py_None; | |
12193 | return resultobj; | |
12194 | fail: | |
12195 | return NULL; | |
12196 | } | |
12197 | ||
12198 | ||
c370783e | 12199 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12200 | PyObject *resultobj; |
12201 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12202 | PyObject * obj0 = 0 ; | |
12203 | char *kwnames[] = { | |
12204 | (char *) "self", NULL | |
12205 | }; | |
12206 | ||
12207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; | |
12208 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12210 | { | |
12211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12212 | (arg1)->WordLeftEnd(); | |
12213 | ||
12214 | wxPyEndAllowThreads(__tstate); | |
12215 | if (PyErr_Occurred()) SWIG_fail; | |
12216 | } | |
12217 | Py_INCREF(Py_None); resultobj = Py_None; | |
12218 | return resultobj; | |
12219 | fail: | |
12220 | return NULL; | |
12221 | } | |
12222 | ||
12223 | ||
c370783e | 12224 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12225 | PyObject *resultobj; |
12226 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12227 | PyObject * obj0 = 0 ; | |
12228 | char *kwnames[] = { | |
12229 | (char *) "self", NULL | |
12230 | }; | |
12231 | ||
12232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; | |
12233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12235 | { | |
12236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12237 | (arg1)->WordLeftEndExtend(); | |
12238 | ||
12239 | wxPyEndAllowThreads(__tstate); | |
12240 | if (PyErr_Occurred()) SWIG_fail; | |
12241 | } | |
12242 | Py_INCREF(Py_None); resultobj = Py_None; | |
12243 | return resultobj; | |
12244 | fail: | |
12245 | return NULL; | |
12246 | } | |
12247 | ||
12248 | ||
c370783e | 12249 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12250 | PyObject *resultobj; |
12251 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12252 | PyObject * obj0 = 0 ; | |
12253 | char *kwnames[] = { | |
12254 | (char *) "self", NULL | |
12255 | }; | |
12256 | ||
12257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; | |
12258 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12260 | { | |
12261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12262 | (arg1)->WordRightEnd(); | |
12263 | ||
12264 | wxPyEndAllowThreads(__tstate); | |
12265 | if (PyErr_Occurred()) SWIG_fail; | |
12266 | } | |
12267 | Py_INCREF(Py_None); resultobj = Py_None; | |
12268 | return resultobj; | |
12269 | fail: | |
12270 | return NULL; | |
12271 | } | |
12272 | ||
12273 | ||
c370783e | 12274 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
4276dc52 RD |
12275 | PyObject *resultobj; |
12276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12277 | PyObject * obj0 = 0 ; | |
12278 | char *kwnames[] = { | |
12279 | (char *) "self", NULL | |
12280 | }; | |
12281 | ||
12282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; | |
12283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12285 | { | |
12286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12287 | (arg1)->WordRightEndExtend(); | |
12288 | ||
12289 | wxPyEndAllowThreads(__tstate); | |
12290 | if (PyErr_Occurred()) SWIG_fail; | |
12291 | } | |
12292 | Py_INCREF(Py_None); resultobj = Py_None; | |
96b3fa7c RD |
12293 | return resultobj; |
12294 | fail: | |
12295 | return NULL; | |
12296 | } | |
12297 | ||
12298 | ||
c370783e | 12299 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12300 | PyObject *resultobj; |
12301 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12302 | wxString *arg2 = 0 ; | |
b411df4a | 12303 | bool temp2 = false ; |
96b3fa7c RD |
12304 | PyObject * obj0 = 0 ; |
12305 | PyObject * obj1 = 0 ; | |
12306 | char *kwnames[] = { | |
12307 | (char *) "self",(char *) "characters", NULL | |
12308 | }; | |
12309 | ||
12310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12313 | { |
12314 | arg2 = wxString_in_helper(obj1); | |
12315 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12316 | temp2 = true; |
96b3fa7c RD |
12317 | } |
12318 | { | |
12319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12320 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); | |
12321 | ||
12322 | wxPyEndAllowThreads(__tstate); | |
12323 | if (PyErr_Occurred()) SWIG_fail; | |
12324 | } | |
12325 | Py_INCREF(Py_None); resultobj = Py_None; | |
12326 | { | |
12327 | if (temp2) | |
12328 | delete arg2; | |
12329 | } | |
12330 | return resultobj; | |
12331 | fail: | |
12332 | { | |
12333 | if (temp2) | |
12334 | delete arg2; | |
12335 | } | |
12336 | return NULL; | |
12337 | } | |
12338 | ||
12339 | ||
c370783e | 12340 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12341 | PyObject *resultobj; |
12342 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12343 | PyObject * obj0 = 0 ; | |
12344 | char *kwnames[] = { | |
12345 | (char *) "self", NULL | |
12346 | }; | |
12347 | ||
12348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12349 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12350 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12351 | { |
12352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12353 | (arg1)->SetCharsDefault(); | |
12354 | ||
12355 | wxPyEndAllowThreads(__tstate); | |
12356 | if (PyErr_Occurred()) SWIG_fail; | |
12357 | } | |
12358 | Py_INCREF(Py_None); resultobj = Py_None; | |
12359 | return resultobj; | |
12360 | fail: | |
12361 | return NULL; | |
12362 | } | |
12363 | ||
12364 | ||
c370783e | 12365 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
96b3fa7c RD |
12366 | PyObject *resultobj; |
12367 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12368 | int result; | |
12369 | PyObject * obj0 = 0 ; | |
12370 | char *kwnames[] = { | |
12371 | (char *) "self", NULL | |
12372 | }; | |
12373 | ||
12374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
96b3fa7c RD |
12377 | { |
12378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12379 | result = (int)(arg1)->AutoCompGetCurrent(); | |
12380 | ||
12381 | wxPyEndAllowThreads(__tstate); | |
12382 | if (PyErr_Occurred()) SWIG_fail; | |
12383 | } | |
c370783e | 12384 | resultobj = SWIG_From_int((int)result); |
96b3fa7c RD |
12385 | return resultobj; |
12386 | fail: | |
12387 | return NULL; | |
12388 | } | |
12389 | ||
12390 | ||
5e483524 RD |
12391 | static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { |
12392 | PyObject *resultobj; | |
12393 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12394 | int arg2 ; | |
12395 | PyObject * obj0 = 0 ; | |
12396 | PyObject * obj1 = 0 ; | |
12397 | char *kwnames[] = { | |
12398 | (char *) "self",(char *) "bytes", NULL | |
12399 | }; | |
12400 | ||
12401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail; | |
12402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, | |
12403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12404 | arg2 = (int)SWIG_As_int(obj1); | |
12405 | if (PyErr_Occurred()) SWIG_fail; | |
12406 | { | |
12407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12408 | (arg1)->Allocate(arg2); | |
12409 | ||
12410 | wxPyEndAllowThreads(__tstate); | |
12411 | if (PyErr_Occurred()) SWIG_fail; | |
12412 | } | |
12413 | Py_INCREF(Py_None); resultobj = Py_None; | |
12414 | return resultobj; | |
12415 | fail: | |
12416 | return NULL; | |
12417 | } | |
12418 | ||
12419 | ||
c370783e | 12420 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12421 | PyObject *resultobj; |
12422 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12423 | PyObject * obj0 = 0 ; | |
12424 | char *kwnames[] = { | |
12425 | (char *) "self", NULL | |
12426 | }; | |
12427 | ||
12428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12429 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12431 | { |
12432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12433 | (arg1)->StartRecord(); | |
12434 | ||
12435 | wxPyEndAllowThreads(__tstate); | |
12436 | if (PyErr_Occurred()) SWIG_fail; | |
12437 | } | |
12438 | Py_INCREF(Py_None); resultobj = Py_None; | |
12439 | return resultobj; | |
12440 | fail: | |
12441 | return NULL; | |
12442 | } | |
12443 | ||
12444 | ||
c370783e | 12445 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12446 | PyObject *resultobj; |
12447 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12448 | PyObject * obj0 = 0 ; | |
12449 | char *kwnames[] = { | |
12450 | (char *) "self", NULL | |
12451 | }; | |
12452 | ||
12453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12456 | { |
12457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12458 | (arg1)->StopRecord(); | |
12459 | ||
12460 | wxPyEndAllowThreads(__tstate); | |
12461 | if (PyErr_Occurred()) SWIG_fail; | |
12462 | } | |
12463 | Py_INCREF(Py_None); resultobj = Py_None; | |
12464 | return resultobj; | |
12465 | fail: | |
12466 | return NULL; | |
12467 | } | |
12468 | ||
12469 | ||
c370783e | 12470 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12471 | PyObject *resultobj; |
12472 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12473 | int arg2 ; | |
12474 | PyObject * obj0 = 0 ; | |
994141e6 | 12475 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12476 | char *kwnames[] = { |
12477 | (char *) "self",(char *) "lexer", NULL | |
12478 | }; | |
12479 | ||
994141e6 | 12480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12483 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12484 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12485 | { |
12486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12487 | (arg1)->SetLexer(arg2); | |
12488 | ||
12489 | wxPyEndAllowThreads(__tstate); | |
12490 | if (PyErr_Occurred()) SWIG_fail; | |
12491 | } | |
12492 | Py_INCREF(Py_None); resultobj = Py_None; | |
12493 | return resultobj; | |
12494 | fail: | |
12495 | return NULL; | |
12496 | } | |
12497 | ||
12498 | ||
c370783e | 12499 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12500 | PyObject *resultobj; |
12501 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12502 | int result; | |
12503 | PyObject * obj0 = 0 ; | |
12504 | char *kwnames[] = { | |
12505 | (char *) "self", NULL | |
12506 | }; | |
12507 | ||
12508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12509 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12511 | { |
12512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12513 | result = (int)(arg1)->GetLexer(); | |
12514 | ||
12515 | wxPyEndAllowThreads(__tstate); | |
12516 | if (PyErr_Occurred()) SWIG_fail; | |
12517 | } | |
c370783e | 12518 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
12519 | return resultobj; |
12520 | fail: | |
12521 | return NULL; | |
12522 | } | |
12523 | ||
12524 | ||
c370783e | 12525 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12526 | PyObject *resultobj; |
12527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12528 | int arg2 ; | |
12529 | int arg3 ; | |
12530 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12531 | PyObject * obj1 = 0 ; |
12532 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12533 | char *kwnames[] = { |
12534 | (char *) "self",(char *) "start",(char *) "end", NULL | |
12535 | }; | |
12536 | ||
994141e6 | 12537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12538 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12539 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12540 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12541 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12542 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 12543 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12544 | { |
12545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12546 | (arg1)->Colourise(arg2,arg3); | |
12547 | ||
12548 | wxPyEndAllowThreads(__tstate); | |
12549 | if (PyErr_Occurred()) SWIG_fail; | |
12550 | } | |
12551 | Py_INCREF(Py_None); resultobj = Py_None; | |
12552 | return resultobj; | |
12553 | fail: | |
12554 | return NULL; | |
12555 | } | |
12556 | ||
12557 | ||
c370783e | 12558 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12559 | PyObject *resultobj; |
12560 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12561 | wxString *arg2 = 0 ; | |
12562 | wxString *arg3 = 0 ; | |
b411df4a RD |
12563 | bool temp2 = false ; |
12564 | bool temp3 = false ; | |
d14a1e28 RD |
12565 | PyObject * obj0 = 0 ; |
12566 | PyObject * obj1 = 0 ; | |
12567 | PyObject * obj2 = 0 ; | |
12568 | char *kwnames[] = { | |
12569 | (char *) "self",(char *) "key",(char *) "value", NULL | |
12570 | }; | |
12571 | ||
12572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
12573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12575 | { |
12576 | arg2 = wxString_in_helper(obj1); | |
12577 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12578 | temp2 = true; |
d14a1e28 RD |
12579 | } |
12580 | { | |
12581 | arg3 = wxString_in_helper(obj2); | |
12582 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12583 | temp3 = true; |
d14a1e28 RD |
12584 | } |
12585 | { | |
12586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12587 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); | |
12588 | ||
12589 | wxPyEndAllowThreads(__tstate); | |
12590 | if (PyErr_Occurred()) SWIG_fail; | |
12591 | } | |
12592 | Py_INCREF(Py_None); resultobj = Py_None; | |
12593 | { | |
12594 | if (temp2) | |
12595 | delete arg2; | |
12596 | } | |
12597 | { | |
12598 | if (temp3) | |
12599 | delete arg3; | |
12600 | } | |
12601 | return resultobj; | |
12602 | fail: | |
12603 | { | |
12604 | if (temp2) | |
12605 | delete arg2; | |
12606 | } | |
12607 | { | |
12608 | if (temp3) | |
12609 | delete arg3; | |
12610 | } | |
12611 | return NULL; | |
12612 | } | |
12613 | ||
12614 | ||
c370783e | 12615 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12616 | PyObject *resultobj; |
12617 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12618 | int arg2 ; | |
12619 | wxString *arg3 = 0 ; | |
b411df4a | 12620 | bool temp3 = false ; |
d14a1e28 | 12621 | PyObject * obj0 = 0 ; |
994141e6 | 12622 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12623 | PyObject * obj2 = 0 ; |
12624 | char *kwnames[] = { | |
12625 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL | |
12626 | }; | |
12627 | ||
994141e6 | 12628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12631 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12632 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12633 | { |
12634 | arg3 = wxString_in_helper(obj2); | |
12635 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12636 | temp3 = true; |
d14a1e28 RD |
12637 | } |
12638 | { | |
12639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12640 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); | |
12641 | ||
12642 | wxPyEndAllowThreads(__tstate); | |
12643 | if (PyErr_Occurred()) SWIG_fail; | |
12644 | } | |
12645 | Py_INCREF(Py_None); resultobj = Py_None; | |
12646 | { | |
12647 | if (temp3) | |
12648 | delete arg3; | |
12649 | } | |
12650 | return resultobj; | |
12651 | fail: | |
12652 | { | |
12653 | if (temp3) | |
12654 | delete arg3; | |
12655 | } | |
12656 | return NULL; | |
12657 | } | |
12658 | ||
12659 | ||
c370783e | 12660 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12661 | PyObject *resultobj; |
12662 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12663 | wxString *arg2 = 0 ; | |
b411df4a | 12664 | bool temp2 = false ; |
d14a1e28 RD |
12665 | PyObject * obj0 = 0 ; |
12666 | PyObject * obj1 = 0 ; | |
12667 | char *kwnames[] = { | |
12668 | (char *) "self",(char *) "language", NULL | |
12669 | }; | |
12670 | ||
12671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12674 | { |
12675 | arg2 = wxString_in_helper(obj1); | |
12676 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 12677 | temp2 = true; |
d14a1e28 RD |
12678 | } |
12679 | { | |
12680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12681 | (arg1)->SetLexerLanguage((wxString const &)*arg2); | |
12682 | ||
12683 | wxPyEndAllowThreads(__tstate); | |
12684 | if (PyErr_Occurred()) SWIG_fail; | |
12685 | } | |
12686 | Py_INCREF(Py_None); resultobj = Py_None; | |
12687 | { | |
12688 | if (temp2) | |
12689 | delete arg2; | |
12690 | } | |
12691 | return resultobj; | |
12692 | fail: | |
12693 | { | |
12694 | if (temp2) | |
12695 | delete arg2; | |
12696 | } | |
12697 | return NULL; | |
12698 | } | |
12699 | ||
12700 | ||
c370783e | 12701 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12702 | PyObject *resultobj; |
12703 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12704 | int result; | |
12705 | PyObject * obj0 = 0 ; | |
12706 | char *kwnames[] = { | |
12707 | (char *) "self", NULL | |
12708 | }; | |
12709 | ||
12710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12713 | { |
12714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12715 | result = (int)(arg1)->GetCurrentLine(); | |
12716 | ||
12717 | wxPyEndAllowThreads(__tstate); | |
12718 | if (PyErr_Occurred()) SWIG_fail; | |
12719 | } | |
c370783e | 12720 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
12721 | return resultobj; |
12722 | fail: | |
12723 | return NULL; | |
12724 | } | |
12725 | ||
12726 | ||
c370783e | 12727 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12728 | PyObject *resultobj; |
12729 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12730 | int arg2 ; | |
12731 | wxString *arg3 = 0 ; | |
b411df4a | 12732 | bool temp3 = false ; |
d14a1e28 | 12733 | PyObject * obj0 = 0 ; |
994141e6 | 12734 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12735 | PyObject * obj2 = 0 ; |
12736 | char *kwnames[] = { | |
12737 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL | |
12738 | }; | |
12739 | ||
994141e6 | 12740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12743 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12744 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12745 | { |
12746 | arg3 = wxString_in_helper(obj2); | |
12747 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 12748 | temp3 = true; |
d14a1e28 RD |
12749 | } |
12750 | { | |
12751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12752 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); | |
12753 | ||
12754 | wxPyEndAllowThreads(__tstate); | |
12755 | if (PyErr_Occurred()) SWIG_fail; | |
12756 | } | |
12757 | Py_INCREF(Py_None); resultobj = Py_None; | |
12758 | { | |
12759 | if (temp3) | |
12760 | delete arg3; | |
12761 | } | |
12762 | return resultobj; | |
12763 | fail: | |
12764 | { | |
12765 | if (temp3) | |
12766 | delete arg3; | |
12767 | } | |
12768 | return NULL; | |
12769 | } | |
12770 | ||
12771 | ||
c370783e | 12772 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12773 | PyObject *resultobj; |
12774 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12775 | int arg2 ; | |
12776 | wxFont *arg3 = 0 ; | |
12777 | PyObject * obj0 = 0 ; | |
994141e6 | 12778 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12779 | PyObject * obj2 = 0 ; |
12780 | char *kwnames[] = { | |
12781 | (char *) "self",(char *) "styleNum",(char *) "font", NULL | |
12782 | }; | |
12783 | ||
994141e6 | 12784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12787 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 RD |
12788 | if (PyErr_Occurred()) SWIG_fail; |
12789 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont, | |
12790 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12791 | SWIG_fail; | |
d14a1e28 | 12792 | if (arg3 == NULL) { |
15afbcd0 RD |
12793 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12794 | SWIG_fail; | |
d14a1e28 RD |
12795 | } |
12796 | { | |
12797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12798 | (arg1)->StyleSetFont(arg2,*arg3); | |
12799 | ||
12800 | wxPyEndAllowThreads(__tstate); | |
12801 | if (PyErr_Occurred()) SWIG_fail; | |
12802 | } | |
12803 | Py_INCREF(Py_None); resultobj = Py_None; | |
12804 | return resultobj; | |
12805 | fail: | |
12806 | return NULL; | |
12807 | } | |
12808 | ||
12809 | ||
c370783e | 12810 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12811 | PyObject *resultobj; |
12812 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12813 | int arg2 ; | |
12814 | int arg3 ; | |
12815 | wxString *arg4 = 0 ; | |
12816 | bool arg5 ; | |
12817 | bool arg6 ; | |
12818 | bool arg7 ; | |
b411df4a | 12819 | bool temp4 = false ; |
d14a1e28 | 12820 | PyObject * obj0 = 0 ; |
994141e6 RD |
12821 | PyObject * obj1 = 0 ; |
12822 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12823 | PyObject * obj3 = 0 ; |
12824 | PyObject * obj4 = 0 ; | |
12825 | PyObject * obj5 = 0 ; | |
12826 | PyObject * obj6 = 0 ; | |
12827 | char *kwnames[] = { | |
12828 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL | |
12829 | }; | |
12830 | ||
994141e6 | 12831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
12832 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12833 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12834 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12835 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12836 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 12837 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12838 | { |
12839 | arg4 = wxString_in_helper(obj3); | |
12840 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 12841 | temp4 = true; |
d14a1e28 | 12842 | } |
c370783e | 12843 | arg5 = (bool)SWIG_As_bool(obj4); |
15afbcd0 | 12844 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12845 | arg6 = (bool)SWIG_As_bool(obj5); |
15afbcd0 | 12846 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12847 | arg7 = (bool)SWIG_As_bool(obj6); |
15afbcd0 | 12848 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12849 | { |
12850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12851 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
12852 | ||
12853 | wxPyEndAllowThreads(__tstate); | |
12854 | if (PyErr_Occurred()) SWIG_fail; | |
12855 | } | |
12856 | Py_INCREF(Py_None); resultobj = Py_None; | |
12857 | { | |
12858 | if (temp4) | |
12859 | delete arg4; | |
12860 | } | |
12861 | return resultobj; | |
12862 | fail: | |
12863 | { | |
12864 | if (temp4) | |
12865 | delete arg4; | |
12866 | } | |
12867 | return NULL; | |
12868 | } | |
12869 | ||
12870 | ||
c370783e | 12871 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12872 | PyObject *resultobj; |
12873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12874 | int arg2 ; | |
12875 | PyObject * obj0 = 0 ; | |
994141e6 | 12876 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12877 | char *kwnames[] = { |
12878 | (char *) "self",(char *) "cmd", NULL | |
12879 | }; | |
12880 | ||
994141e6 | 12881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12884 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12885 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12886 | { |
12887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12888 | (arg1)->CmdKeyExecute(arg2); | |
12889 | ||
12890 | wxPyEndAllowThreads(__tstate); | |
12891 | if (PyErr_Occurred()) SWIG_fail; | |
12892 | } | |
12893 | Py_INCREF(Py_None); resultobj = Py_None; | |
12894 | return resultobj; | |
12895 | fail: | |
12896 | return NULL; | |
12897 | } | |
12898 | ||
12899 | ||
c370783e | 12900 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12901 | PyObject *resultobj; |
12902 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12903 | int arg2 ; | |
12904 | int arg3 ; | |
12905 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12906 | PyObject * obj1 = 0 ; |
12907 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12908 | char *kwnames[] = { |
12909 | (char *) "self",(char *) "left",(char *) "right", NULL | |
12910 | }; | |
12911 | ||
994141e6 | 12912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12913 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12915 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12916 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 12917 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 12918 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12919 | { |
12920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12921 | (arg1)->SetMargins(arg2,arg3); | |
12922 | ||
12923 | wxPyEndAllowThreads(__tstate); | |
12924 | if (PyErr_Occurred()) SWIG_fail; | |
12925 | } | |
12926 | Py_INCREF(Py_None); resultobj = Py_None; | |
12927 | return resultobj; | |
12928 | fail: | |
12929 | return NULL; | |
12930 | } | |
12931 | ||
12932 | ||
c370783e | 12933 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12934 | PyObject *resultobj; |
12935 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12936 | int *arg2 = (int *) 0 ; | |
12937 | int *arg3 = (int *) 0 ; | |
12938 | int temp2 ; | |
c370783e | 12939 | int res2 = 0 ; |
d14a1e28 | 12940 | int temp3 ; |
c370783e | 12941 | int res3 = 0 ; |
d14a1e28 RD |
12942 | PyObject * obj0 = 0 ; |
12943 | char *kwnames[] = { | |
12944 | (char *) "self", NULL | |
12945 | }; | |
12946 | ||
c370783e RD |
12947 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
12948 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 12949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
12950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12952 | { |
12953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12954 | (arg1)->GetSelection(arg2,arg3); | |
12955 | ||
12956 | wxPyEndAllowThreads(__tstate); | |
12957 | if (PyErr_Occurred()) SWIG_fail; | |
12958 | } | |
12959 | Py_INCREF(Py_None); resultobj = Py_None; | |
c370783e RD |
12960 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
12961 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
12962 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
12963 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
12964 | return resultobj; |
12965 | fail: | |
12966 | return NULL; | |
12967 | } | |
12968 | ||
12969 | ||
c370783e | 12970 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12971 | PyObject *resultobj; |
12972 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12973 | int arg2 ; | |
12974 | wxPoint result; | |
12975 | PyObject * obj0 = 0 ; | |
994141e6 | 12976 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12977 | char *kwnames[] = { |
12978 | (char *) "self",(char *) "pos", NULL | |
12979 | }; | |
12980 | ||
994141e6 | 12981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12982 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
12983 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 12984 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12985 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12986 | { |
12987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12988 | result = (arg1)->PointFromPosition(arg2); | |
12989 | ||
12990 | wxPyEndAllowThreads(__tstate); | |
12991 | if (PyErr_Occurred()) SWIG_fail; | |
12992 | } | |
12993 | { | |
12994 | wxPoint * resultptr; | |
12995 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 12996 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
12997 | } |
12998 | return resultobj; | |
12999 | fail: | |
13000 | return NULL; | |
13001 | } | |
13002 | ||
13003 | ||
c370783e | 13004 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13005 | PyObject *resultobj; |
13006 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13007 | int arg2 ; | |
13008 | PyObject * obj0 = 0 ; | |
994141e6 | 13009 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13010 | char *kwnames[] = { |
13011 | (char *) "self",(char *) "line", NULL | |
13012 | }; | |
13013 | ||
994141e6 | 13014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13017 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13018 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13019 | { |
13020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13021 | (arg1)->ScrollToLine(arg2); | |
13022 | ||
13023 | wxPyEndAllowThreads(__tstate); | |
13024 | if (PyErr_Occurred()) SWIG_fail; | |
13025 | } | |
13026 | Py_INCREF(Py_None); resultobj = Py_None; | |
13027 | return resultobj; | |
13028 | fail: | |
13029 | return NULL; | |
13030 | } | |
13031 | ||
13032 | ||
c370783e | 13033 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13034 | PyObject *resultobj; |
13035 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13036 | int arg2 ; | |
13037 | PyObject * obj0 = 0 ; | |
994141e6 | 13038 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13039 | char *kwnames[] = { |
13040 | (char *) "self",(char *) "column", NULL | |
13041 | }; | |
13042 | ||
994141e6 | 13043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13046 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13047 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13048 | { |
13049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13050 | (arg1)->ScrollToColumn(arg2); | |
13051 | ||
13052 | wxPyEndAllowThreads(__tstate); | |
13053 | if (PyErr_Occurred()) SWIG_fail; | |
13054 | } | |
13055 | Py_INCREF(Py_None); resultobj = Py_None; | |
13056 | return resultobj; | |
13057 | fail: | |
13058 | return NULL; | |
13059 | } | |
13060 | ||
13061 | ||
c370783e | 13062 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13063 | PyObject *resultobj; |
13064 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13065 | int arg2 ; | |
13066 | long arg3 = (long) 0 ; | |
13067 | long arg4 = (long) 0 ; | |
13068 | long result; | |
13069 | PyObject * obj0 = 0 ; | |
994141e6 RD |
13070 | PyObject * obj1 = 0 ; |
13071 | PyObject * obj2 = 0 ; | |
13072 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
13073 | char *kwnames[] = { |
13074 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL | |
13075 | }; | |
13076 | ||
994141e6 | 13077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13080 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13081 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13082 | if (obj2) { |
c370783e | 13083 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 13084 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
13085 | } |
13086 | if (obj3) { | |
c370783e | 13087 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 13088 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13089 | } |
d14a1e28 RD |
13090 | { |
13091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13092 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); | |
13093 | ||
13094 | wxPyEndAllowThreads(__tstate); | |
13095 | if (PyErr_Occurred()) SWIG_fail; | |
13096 | } | |
c370783e | 13097 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
13098 | return resultobj; |
13099 | fail: | |
13100 | return NULL; | |
13101 | } | |
13102 | ||
13103 | ||
c370783e | 13104 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13105 | PyObject *resultobj; |
13106 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13107 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
13108 | PyObject * obj0 = 0 ; | |
13109 | PyObject * obj1 = 0 ; | |
13110 | char *kwnames[] = { | |
13111 | (char *) "self",(char *) "bar", NULL | |
13112 | }; | |
13113 | ||
13114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13117 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
13118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13119 | { |
13120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13121 | (arg1)->SetVScrollBar(arg2); | |
13122 | ||
13123 | wxPyEndAllowThreads(__tstate); | |
13124 | if (PyErr_Occurred()) SWIG_fail; | |
13125 | } | |
13126 | Py_INCREF(Py_None); resultobj = Py_None; | |
13127 | return resultobj; | |
13128 | fail: | |
13129 | return NULL; | |
13130 | } | |
13131 | ||
13132 | ||
c370783e | 13133 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13134 | PyObject *resultobj; |
13135 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13136 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
13137 | PyObject * obj0 = 0 ; | |
13138 | PyObject * obj1 = 0 ; | |
13139 | char *kwnames[] = { | |
13140 | (char *) "self",(char *) "bar", NULL | |
13141 | }; | |
13142 | ||
13143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13146 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar, | |
13147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13148 | { |
13149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13150 | (arg1)->SetHScrollBar(arg2); | |
13151 | ||
13152 | wxPyEndAllowThreads(__tstate); | |
13153 | if (PyErr_Occurred()) SWIG_fail; | |
13154 | } | |
13155 | Py_INCREF(Py_None); resultobj = Py_None; | |
13156 | return resultobj; | |
13157 | fail: | |
13158 | return NULL; | |
13159 | } | |
13160 | ||
13161 | ||
c370783e | 13162 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13163 | PyObject *resultobj; |
13164 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13165 | bool result; | |
13166 | PyObject * obj0 = 0 ; | |
13167 | char *kwnames[] = { | |
13168 | (char *) "self", NULL | |
13169 | }; | |
13170 | ||
13171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13174 | { |
13175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13176 | result = (bool)(arg1)->GetLastKeydownProcessed(); | |
13177 | ||
13178 | wxPyEndAllowThreads(__tstate); | |
13179 | if (PyErr_Occurred()) SWIG_fail; | |
13180 | } | |
4f89f6a3 RD |
13181 | { |
13182 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13183 | } | |
d14a1e28 RD |
13184 | return resultobj; |
13185 | fail: | |
13186 | return NULL; | |
13187 | } | |
13188 | ||
13189 | ||
c370783e | 13190 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13191 | PyObject *resultobj; |
13192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13193 | bool arg2 ; | |
13194 | PyObject * obj0 = 0 ; | |
13195 | PyObject * obj1 = 0 ; | |
13196 | char *kwnames[] = { | |
13197 | (char *) "self",(char *) "val", NULL | |
13198 | }; | |
13199 | ||
13200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13203 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13204 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13205 | { |
13206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13207 | (arg1)->SetLastKeydownProcessed(arg2); | |
13208 | ||
13209 | wxPyEndAllowThreads(__tstate); | |
13210 | if (PyErr_Occurred()) SWIG_fail; | |
13211 | } | |
13212 | Py_INCREF(Py_None); resultobj = Py_None; | |
13213 | return resultobj; | |
13214 | fail: | |
13215 | return NULL; | |
13216 | } | |
13217 | ||
13218 | ||
c370783e | 13219 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13220 | PyObject *resultobj; |
13221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13222 | wxString *arg2 = 0 ; | |
13223 | bool result; | |
b411df4a | 13224 | bool temp2 = false ; |
d14a1e28 RD |
13225 | PyObject * obj0 = 0 ; |
13226 | PyObject * obj1 = 0 ; | |
13227 | char *kwnames[] = { | |
13228 | (char *) "self",(char *) "filename", NULL | |
13229 | }; | |
13230 | ||
13231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13234 | { |
13235 | arg2 = wxString_in_helper(obj1); | |
13236 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13237 | temp2 = true; |
d14a1e28 RD |
13238 | } |
13239 | { | |
13240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13241 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); | |
13242 | ||
13243 | wxPyEndAllowThreads(__tstate); | |
13244 | if (PyErr_Occurred()) SWIG_fail; | |
13245 | } | |
4f89f6a3 RD |
13246 | { |
13247 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13248 | } | |
d14a1e28 RD |
13249 | { |
13250 | if (temp2) | |
13251 | delete arg2; | |
13252 | } | |
13253 | return resultobj; | |
13254 | fail: | |
13255 | { | |
13256 | if (temp2) | |
13257 | delete arg2; | |
13258 | } | |
13259 | return NULL; | |
13260 | } | |
13261 | ||
13262 | ||
c370783e | 13263 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13264 | PyObject *resultobj; |
13265 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13266 | wxString *arg2 = 0 ; | |
13267 | bool result; | |
b411df4a | 13268 | bool temp2 = false ; |
d14a1e28 RD |
13269 | PyObject * obj0 = 0 ; |
13270 | PyObject * obj1 = 0 ; | |
13271 | char *kwnames[] = { | |
13272 | (char *) "self",(char *) "filename", NULL | |
13273 | }; | |
13274 | ||
13275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13278 | { |
13279 | arg2 = wxString_in_helper(obj1); | |
13280 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13281 | temp2 = true; |
d14a1e28 RD |
13282 | } |
13283 | { | |
13284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13285 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
13286 | ||
13287 | wxPyEndAllowThreads(__tstate); | |
13288 | if (PyErr_Occurred()) SWIG_fail; | |
13289 | } | |
4f89f6a3 RD |
13290 | { |
13291 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13292 | } | |
d14a1e28 RD |
13293 | { |
13294 | if (temp2) | |
13295 | delete arg2; | |
13296 | } | |
13297 | return resultobj; | |
13298 | fail: | |
13299 | { | |
13300 | if (temp2) | |
13301 | delete arg2; | |
13302 | } | |
13303 | return NULL; | |
13304 | } | |
13305 | ||
13306 | ||
c370783e | 13307 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13308 | PyObject *resultobj; |
13309 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
e811c8ce RD |
13310 | int arg2 ; |
13311 | int arg3 ; | |
96b3fa7c RD |
13312 | int arg4 ; |
13313 | int result; | |
d14a1e28 | 13314 | PyObject * obj0 = 0 ; |
994141e6 RD |
13315 | PyObject * obj1 = 0 ; |
13316 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13317 | PyObject * obj3 = 0 ; |
13318 | char *kwnames[] = { | |
13319 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL | |
13320 | }; | |
13321 | ||
994141e6 | 13322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13323 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13324 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13325 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13326 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 13327 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 13328 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 13329 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 13330 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13331 | { |
13332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 13333 | result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); |
d14a1e28 RD |
13334 | |
13335 | wxPyEndAllowThreads(__tstate); | |
13336 | if (PyErr_Occurred()) SWIG_fail; | |
13337 | } | |
c370783e | 13338 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
13339 | return resultobj; |
13340 | fail: | |
13341 | return NULL; | |
13342 | } | |
13343 | ||
13344 | ||
c370783e | 13345 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13346 | PyObject *resultobj; |
13347 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13348 | long arg2 ; | |
13349 | long arg3 ; | |
13350 | wxString *arg4 = 0 ; | |
13351 | bool result; | |
b411df4a | 13352 | bool temp4 = false ; |
d14a1e28 | 13353 | PyObject * obj0 = 0 ; |
994141e6 RD |
13354 | PyObject * obj1 = 0 ; |
13355 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13356 | PyObject * obj3 = 0 ; |
13357 | char *kwnames[] = { | |
13358 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL | |
13359 | }; | |
13360 | ||
994141e6 | 13361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13364 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 13365 | if (PyErr_Occurred()) SWIG_fail; |
c370783e | 13366 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 13367 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13368 | { |
13369 | arg4 = wxString_in_helper(obj3); | |
13370 | if (arg4 == NULL) SWIG_fail; | |
b411df4a | 13371 | temp4 = true; |
d14a1e28 RD |
13372 | } |
13373 | { | |
13374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13375 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); | |
13376 | ||
13377 | wxPyEndAllowThreads(__tstate); | |
13378 | if (PyErr_Occurred()) SWIG_fail; | |
13379 | } | |
4f89f6a3 RD |
13380 | { |
13381 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13382 | } | |
d14a1e28 RD |
13383 | { |
13384 | if (temp4) | |
13385 | delete arg4; | |
13386 | } | |
13387 | return resultobj; | |
13388 | fail: | |
13389 | { | |
13390 | if (temp4) | |
13391 | delete arg4; | |
13392 | } | |
13393 | return NULL; | |
13394 | } | |
13395 | ||
13396 | ||
c370783e | 13397 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
13398 | PyObject *resultobj; |
13399 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13400 | bool arg2 ; | |
13401 | PyObject * obj0 = 0 ; | |
13402 | PyObject * obj1 = 0 ; | |
13403 | char *kwnames[] = { | |
13404 | (char *) "self",(char *) "useAA", NULL | |
13405 | }; | |
13406 | ||
13407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13410 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13411 | if (PyErr_Occurred()) SWIG_fail; |
db914595 RD |
13412 | { |
13413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13414 | (arg1)->SetUseAntiAliasing(arg2); | |
13415 | ||
13416 | wxPyEndAllowThreads(__tstate); | |
13417 | if (PyErr_Occurred()) SWIG_fail; | |
13418 | } | |
13419 | Py_INCREF(Py_None); resultobj = Py_None; | |
13420 | return resultobj; | |
13421 | fail: | |
13422 | return NULL; | |
13423 | } | |
13424 | ||
13425 | ||
c370783e | 13426 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
db914595 RD |
13427 | PyObject *resultobj; |
13428 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13429 | bool result; | |
13430 | PyObject * obj0 = 0 ; | |
13431 | char *kwnames[] = { | |
13432 | (char *) "self", NULL | |
13433 | }; | |
13434 | ||
13435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl, |
13437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
13438 | { |
13439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13440 | result = (bool)(arg1)->GetUseAntiAliasing(); | |
13441 | ||
13442 | wxPyEndAllowThreads(__tstate); | |
13443 | if (PyErr_Occurred()) SWIG_fail; | |
13444 | } | |
4f89f6a3 RD |
13445 | { |
13446 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13447 | } | |
db914595 RD |
13448 | return resultobj; |
13449 | fail: | |
13450 | return NULL; | |
13451 | } | |
13452 | ||
13453 | ||
c370783e | 13454 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13455 | PyObject *obj; |
13456 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13457 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
13458 | Py_INCREF(obj); | |
13459 | return Py_BuildValue((char *)""); | |
13460 | } | |
c370783e | 13461 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13462 | PyObject *resultobj; |
13463 | wxEventType arg1 = (wxEventType) 0 ; | |
13464 | int arg2 = (int) 0 ; | |
13465 | wxStyledTextEvent *result; | |
994141e6 RD |
13466 | PyObject * obj0 = 0 ; |
13467 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13468 | char *kwnames[] = { |
13469 | (char *) "commandType",(char *) "id", NULL | |
13470 | }; | |
13471 | ||
994141e6 RD |
13472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; |
13473 | if (obj0) { | |
c370783e | 13474 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 | 13475 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
13476 | } |
13477 | if (obj1) { | |
c370783e | 13478 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13479 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13480 | } |
d14a1e28 RD |
13481 | { |
13482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13483 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); | |
13484 | ||
13485 | wxPyEndAllowThreads(__tstate); | |
13486 | if (PyErr_Occurred()) SWIG_fail; | |
13487 | } | |
15afbcd0 | 13488 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); |
d14a1e28 RD |
13489 | return resultobj; |
13490 | fail: | |
13491 | return NULL; | |
13492 | } | |
13493 | ||
13494 | ||
c370783e | 13495 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13496 | PyObject *resultobj; |
13497 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13498 | PyObject * obj0 = 0 ; | |
13499 | char *kwnames[] = { | |
13500 | (char *) "self", NULL | |
13501 | }; | |
13502 | ||
13503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13506 | { |
13507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13508 | delete arg1; | |
13509 | ||
13510 | wxPyEndAllowThreads(__tstate); | |
13511 | if (PyErr_Occurred()) SWIG_fail; | |
13512 | } | |
13513 | Py_INCREF(Py_None); resultobj = Py_None; | |
13514 | return resultobj; | |
13515 | fail: | |
13516 | return NULL; | |
13517 | } | |
13518 | ||
13519 | ||
c370783e | 13520 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13521 | PyObject *resultobj; |
13522 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13523 | int arg2 ; | |
13524 | PyObject * obj0 = 0 ; | |
994141e6 | 13525 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13526 | char *kwnames[] = { |
13527 | (char *) "self",(char *) "pos", NULL | |
13528 | }; | |
13529 | ||
994141e6 | 13530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13533 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13534 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13535 | { |
13536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13537 | (arg1)->SetPosition(arg2); | |
13538 | ||
13539 | wxPyEndAllowThreads(__tstate); | |
13540 | if (PyErr_Occurred()) SWIG_fail; | |
13541 | } | |
13542 | Py_INCREF(Py_None); resultobj = Py_None; | |
13543 | return resultobj; | |
13544 | fail: | |
13545 | return NULL; | |
13546 | } | |
13547 | ||
13548 | ||
c370783e | 13549 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13550 | PyObject *resultobj; |
13551 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13552 | int arg2 ; | |
13553 | PyObject * obj0 = 0 ; | |
994141e6 | 13554 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13555 | char *kwnames[] = { |
13556 | (char *) "self",(char *) "k", NULL | |
13557 | }; | |
13558 | ||
994141e6 | 13559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13560 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13562 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13563 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13564 | { |
13565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13566 | (arg1)->SetKey(arg2); | |
13567 | ||
13568 | wxPyEndAllowThreads(__tstate); | |
13569 | if (PyErr_Occurred()) SWIG_fail; | |
13570 | } | |
13571 | Py_INCREF(Py_None); resultobj = Py_None; | |
13572 | return resultobj; | |
13573 | fail: | |
13574 | return NULL; | |
13575 | } | |
13576 | ||
13577 | ||
c370783e | 13578 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13579 | PyObject *resultobj; |
13580 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13581 | int arg2 ; | |
13582 | PyObject * obj0 = 0 ; | |
994141e6 | 13583 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13584 | char *kwnames[] = { |
13585 | (char *) "self",(char *) "m", NULL | |
13586 | }; | |
13587 | ||
994141e6 | 13588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13591 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13592 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13593 | { |
13594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13595 | (arg1)->SetModifiers(arg2); | |
13596 | ||
13597 | wxPyEndAllowThreads(__tstate); | |
13598 | if (PyErr_Occurred()) SWIG_fail; | |
13599 | } | |
13600 | Py_INCREF(Py_None); resultobj = Py_None; | |
13601 | return resultobj; | |
13602 | fail: | |
13603 | return NULL; | |
13604 | } | |
13605 | ||
13606 | ||
c370783e | 13607 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13608 | PyObject *resultobj; |
13609 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13610 | int arg2 ; | |
13611 | PyObject * obj0 = 0 ; | |
994141e6 | 13612 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13613 | char *kwnames[] = { |
13614 | (char *) "self",(char *) "t", NULL | |
13615 | }; | |
13616 | ||
994141e6 | 13617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13620 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13621 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13622 | { |
13623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13624 | (arg1)->SetModificationType(arg2); | |
13625 | ||
13626 | wxPyEndAllowThreads(__tstate); | |
13627 | if (PyErr_Occurred()) SWIG_fail; | |
13628 | } | |
13629 | Py_INCREF(Py_None); resultobj = Py_None; | |
13630 | return resultobj; | |
13631 | fail: | |
13632 | return NULL; | |
13633 | } | |
13634 | ||
13635 | ||
c370783e | 13636 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13637 | PyObject *resultobj; |
13638 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13639 | wxString *arg2 = 0 ; | |
b411df4a | 13640 | bool temp2 = false ; |
d14a1e28 RD |
13641 | PyObject * obj0 = 0 ; |
13642 | PyObject * obj1 = 0 ; | |
13643 | char *kwnames[] = { | |
13644 | (char *) "self",(char *) "t", NULL | |
13645 | }; | |
13646 | ||
13647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13650 | { |
13651 | arg2 = wxString_in_helper(obj1); | |
13652 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 13653 | temp2 = true; |
d14a1e28 RD |
13654 | } |
13655 | { | |
13656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13657 | (arg1)->SetText((wxString const &)*arg2); | |
13658 | ||
13659 | wxPyEndAllowThreads(__tstate); | |
13660 | if (PyErr_Occurred()) SWIG_fail; | |
13661 | } | |
13662 | Py_INCREF(Py_None); resultobj = Py_None; | |
13663 | { | |
13664 | if (temp2) | |
13665 | delete arg2; | |
13666 | } | |
13667 | return resultobj; | |
13668 | fail: | |
13669 | { | |
13670 | if (temp2) | |
13671 | delete arg2; | |
13672 | } | |
13673 | return NULL; | |
13674 | } | |
13675 | ||
13676 | ||
c370783e | 13677 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13678 | PyObject *resultobj; |
13679 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13680 | int arg2 ; | |
13681 | PyObject * obj0 = 0 ; | |
994141e6 | 13682 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13683 | char *kwnames[] = { |
13684 | (char *) "self",(char *) "len", NULL | |
13685 | }; | |
13686 | ||
994141e6 | 13687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13690 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13691 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13692 | { |
13693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13694 | (arg1)->SetLength(arg2); | |
13695 | ||
13696 | wxPyEndAllowThreads(__tstate); | |
13697 | if (PyErr_Occurred()) SWIG_fail; | |
13698 | } | |
13699 | Py_INCREF(Py_None); resultobj = Py_None; | |
13700 | return resultobj; | |
13701 | fail: | |
13702 | return NULL; | |
13703 | } | |
13704 | ||
13705 | ||
c370783e | 13706 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13707 | PyObject *resultobj; |
13708 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13709 | int arg2 ; | |
13710 | PyObject * obj0 = 0 ; | |
994141e6 | 13711 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13712 | char *kwnames[] = { |
13713 | (char *) "self",(char *) "num", NULL | |
13714 | }; | |
13715 | ||
994141e6 | 13716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13719 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13720 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13721 | { |
13722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13723 | (arg1)->SetLinesAdded(arg2); | |
13724 | ||
13725 | wxPyEndAllowThreads(__tstate); | |
13726 | if (PyErr_Occurred()) SWIG_fail; | |
13727 | } | |
13728 | Py_INCREF(Py_None); resultobj = Py_None; | |
13729 | return resultobj; | |
13730 | fail: | |
13731 | return NULL; | |
13732 | } | |
13733 | ||
13734 | ||
c370783e | 13735 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13736 | PyObject *resultobj; |
13737 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13738 | int arg2 ; | |
13739 | PyObject * obj0 = 0 ; | |
994141e6 | 13740 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13741 | char *kwnames[] = { |
13742 | (char *) "self",(char *) "val", NULL | |
13743 | }; | |
13744 | ||
994141e6 | 13745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13746 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13748 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13749 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13750 | { |
13751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13752 | (arg1)->SetLine(arg2); | |
13753 | ||
13754 | wxPyEndAllowThreads(__tstate); | |
13755 | if (PyErr_Occurred()) SWIG_fail; | |
13756 | } | |
13757 | Py_INCREF(Py_None); resultobj = Py_None; | |
13758 | return resultobj; | |
13759 | fail: | |
13760 | return NULL; | |
13761 | } | |
13762 | ||
13763 | ||
c370783e | 13764 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13765 | PyObject *resultobj; |
13766 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13767 | int arg2 ; | |
13768 | PyObject * obj0 = 0 ; | |
994141e6 | 13769 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13770 | char *kwnames[] = { |
13771 | (char *) "self",(char *) "val", NULL | |
13772 | }; | |
13773 | ||
994141e6 | 13774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13775 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13777 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13778 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13779 | { |
13780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13781 | (arg1)->SetFoldLevelNow(arg2); | |
13782 | ||
13783 | wxPyEndAllowThreads(__tstate); | |
13784 | if (PyErr_Occurred()) SWIG_fail; | |
13785 | } | |
13786 | Py_INCREF(Py_None); resultobj = Py_None; | |
13787 | return resultobj; | |
13788 | fail: | |
13789 | return NULL; | |
13790 | } | |
13791 | ||
13792 | ||
c370783e | 13793 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13794 | PyObject *resultobj; |
13795 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13796 | int arg2 ; | |
13797 | PyObject * obj0 = 0 ; | |
994141e6 | 13798 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13799 | char *kwnames[] = { |
13800 | (char *) "self",(char *) "val", NULL | |
13801 | }; | |
13802 | ||
994141e6 | 13803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13806 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13807 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13808 | { |
13809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13810 | (arg1)->SetFoldLevelPrev(arg2); | |
13811 | ||
13812 | wxPyEndAllowThreads(__tstate); | |
13813 | if (PyErr_Occurred()) SWIG_fail; | |
13814 | } | |
13815 | Py_INCREF(Py_None); resultobj = Py_None; | |
13816 | return resultobj; | |
13817 | fail: | |
13818 | return NULL; | |
13819 | } | |
13820 | ||
13821 | ||
c370783e | 13822 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13823 | PyObject *resultobj; |
13824 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13825 | int arg2 ; | |
13826 | PyObject * obj0 = 0 ; | |
994141e6 | 13827 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13828 | char *kwnames[] = { |
13829 | (char *) "self",(char *) "val", NULL | |
13830 | }; | |
13831 | ||
994141e6 | 13832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13835 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13836 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13837 | { |
13838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13839 | (arg1)->SetMargin(arg2); | |
13840 | ||
13841 | wxPyEndAllowThreads(__tstate); | |
13842 | if (PyErr_Occurred()) SWIG_fail; | |
13843 | } | |
13844 | Py_INCREF(Py_None); resultobj = Py_None; | |
13845 | return resultobj; | |
13846 | fail: | |
13847 | return NULL; | |
13848 | } | |
13849 | ||
13850 | ||
c370783e | 13851 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13852 | PyObject *resultobj; |
13853 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13854 | int arg2 ; | |
13855 | PyObject * obj0 = 0 ; | |
994141e6 | 13856 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13857 | char *kwnames[] = { |
13858 | (char *) "self",(char *) "val", NULL | |
13859 | }; | |
13860 | ||
994141e6 | 13861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13864 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13865 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13866 | { |
13867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13868 | (arg1)->SetMessage(arg2); | |
13869 | ||
13870 | wxPyEndAllowThreads(__tstate); | |
13871 | if (PyErr_Occurred()) SWIG_fail; | |
13872 | } | |
13873 | Py_INCREF(Py_None); resultobj = Py_None; | |
13874 | return resultobj; | |
13875 | fail: | |
13876 | return NULL; | |
13877 | } | |
13878 | ||
13879 | ||
c370783e | 13880 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13881 | PyObject *resultobj; |
13882 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13883 | int arg2 ; | |
13884 | PyObject * obj0 = 0 ; | |
994141e6 | 13885 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13886 | char *kwnames[] = { |
13887 | (char *) "self",(char *) "val", NULL | |
13888 | }; | |
13889 | ||
994141e6 | 13890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13893 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13894 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13895 | { |
13896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13897 | (arg1)->SetWParam(arg2); | |
13898 | ||
13899 | wxPyEndAllowThreads(__tstate); | |
13900 | if (PyErr_Occurred()) SWIG_fail; | |
13901 | } | |
13902 | Py_INCREF(Py_None); resultobj = Py_None; | |
13903 | return resultobj; | |
13904 | fail: | |
13905 | return NULL; | |
13906 | } | |
13907 | ||
13908 | ||
c370783e | 13909 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13910 | PyObject *resultobj; |
13911 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13912 | int arg2 ; | |
13913 | PyObject * obj0 = 0 ; | |
994141e6 | 13914 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13915 | char *kwnames[] = { |
13916 | (char *) "self",(char *) "val", NULL | |
13917 | }; | |
13918 | ||
994141e6 | 13919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13922 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13923 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13924 | { |
13925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13926 | (arg1)->SetLParam(arg2); | |
13927 | ||
13928 | wxPyEndAllowThreads(__tstate); | |
13929 | if (PyErr_Occurred()) SWIG_fail; | |
13930 | } | |
13931 | Py_INCREF(Py_None); resultobj = Py_None; | |
13932 | return resultobj; | |
13933 | fail: | |
13934 | return NULL; | |
13935 | } | |
13936 | ||
13937 | ||
c370783e | 13938 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13939 | PyObject *resultobj; |
13940 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13941 | int arg2 ; | |
13942 | PyObject * obj0 = 0 ; | |
994141e6 | 13943 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13944 | char *kwnames[] = { |
13945 | (char *) "self",(char *) "val", NULL | |
13946 | }; | |
13947 | ||
994141e6 | 13948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13951 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13952 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13953 | { |
13954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13955 | (arg1)->SetListType(arg2); | |
13956 | ||
13957 | wxPyEndAllowThreads(__tstate); | |
13958 | if (PyErr_Occurred()) SWIG_fail; | |
13959 | } | |
13960 | Py_INCREF(Py_None); resultobj = Py_None; | |
13961 | return resultobj; | |
13962 | fail: | |
13963 | return NULL; | |
13964 | } | |
13965 | ||
13966 | ||
c370783e | 13967 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13968 | PyObject *resultobj; |
13969 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13970 | int arg2 ; | |
13971 | PyObject * obj0 = 0 ; | |
994141e6 | 13972 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13973 | char *kwnames[] = { |
13974 | (char *) "self",(char *) "val", NULL | |
13975 | }; | |
13976 | ||
994141e6 | 13977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
13979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 13980 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13981 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13982 | { |
13983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13984 | (arg1)->SetX(arg2); | |
13985 | ||
13986 | wxPyEndAllowThreads(__tstate); | |
13987 | if (PyErr_Occurred()) SWIG_fail; | |
13988 | } | |
13989 | Py_INCREF(Py_None); resultobj = Py_None; | |
13990 | return resultobj; | |
13991 | fail: | |
13992 | return NULL; | |
13993 | } | |
13994 | ||
13995 | ||
c370783e | 13996 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13997 | PyObject *resultobj; |
13998 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
13999 | int arg2 ; | |
14000 | PyObject * obj0 = 0 ; | |
994141e6 | 14001 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14002 | char *kwnames[] = { |
14003 | (char *) "self",(char *) "val", NULL | |
14004 | }; | |
14005 | ||
994141e6 | 14006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 14009 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14010 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14011 | { |
14012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14013 | (arg1)->SetY(arg2); | |
14014 | ||
14015 | wxPyEndAllowThreads(__tstate); | |
14016 | if (PyErr_Occurred()) SWIG_fail; | |
14017 | } | |
14018 | Py_INCREF(Py_None); resultobj = Py_None; | |
14019 | return resultobj; | |
14020 | fail: | |
14021 | return NULL; | |
14022 | } | |
14023 | ||
14024 | ||
c370783e | 14025 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14026 | PyObject *resultobj; |
14027 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14028 | wxString *arg2 = 0 ; | |
b411df4a | 14029 | bool temp2 = false ; |
d14a1e28 RD |
14030 | PyObject * obj0 = 0 ; |
14031 | PyObject * obj1 = 0 ; | |
14032 | char *kwnames[] = { | |
14033 | (char *) "self",(char *) "val", NULL | |
14034 | }; | |
14035 | ||
14036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14037 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14038 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14039 | { |
14040 | arg2 = wxString_in_helper(obj1); | |
14041 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14042 | temp2 = true; |
d14a1e28 RD |
14043 | } |
14044 | { | |
14045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14046 | (arg1)->SetDragText((wxString const &)*arg2); | |
14047 | ||
14048 | wxPyEndAllowThreads(__tstate); | |
14049 | if (PyErr_Occurred()) SWIG_fail; | |
14050 | } | |
14051 | Py_INCREF(Py_None); resultobj = Py_None; | |
14052 | { | |
14053 | if (temp2) | |
14054 | delete arg2; | |
14055 | } | |
14056 | return resultobj; | |
14057 | fail: | |
14058 | { | |
14059 | if (temp2) | |
14060 | delete arg2; | |
14061 | } | |
14062 | return NULL; | |
14063 | } | |
14064 | ||
14065 | ||
c370783e | 14066 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14067 | PyObject *resultobj; |
14068 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14069 | bool arg2 ; | |
14070 | PyObject * obj0 = 0 ; | |
14071 | PyObject * obj1 = 0 ; | |
14072 | char *kwnames[] = { | |
14073 | (char *) "self",(char *) "val", NULL | |
14074 | }; | |
14075 | ||
14076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 14079 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 14080 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14081 | { |
14082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14083 | (arg1)->SetDragAllowMove(arg2); | |
14084 | ||
14085 | wxPyEndAllowThreads(__tstate); | |
14086 | if (PyErr_Occurred()) SWIG_fail; | |
14087 | } | |
14088 | Py_INCREF(Py_None); resultobj = Py_None; | |
14089 | return resultobj; | |
14090 | fail: | |
14091 | return NULL; | |
14092 | } | |
14093 | ||
14094 | ||
c370783e | 14095 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14096 | PyObject *resultobj; |
14097 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
96b3fa7c | 14098 | int arg2 ; |
d14a1e28 RD |
14099 | PyObject * obj0 = 0 ; |
14100 | PyObject * obj1 = 0 ; | |
14101 | char *kwnames[] = { | |
14102 | (char *) "self",(char *) "val", NULL | |
14103 | }; | |
14104 | ||
14105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14106 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14107 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c370783e | 14108 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14109 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14110 | { |
14111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 14112 | (arg1)->SetDragResult((wxDragResult )arg2); |
d14a1e28 RD |
14113 | |
14114 | wxPyEndAllowThreads(__tstate); | |
14115 | if (PyErr_Occurred()) SWIG_fail; | |
14116 | } | |
14117 | Py_INCREF(Py_None); resultobj = Py_None; | |
14118 | return resultobj; | |
14119 | fail: | |
14120 | return NULL; | |
14121 | } | |
14122 | ||
14123 | ||
c370783e | 14124 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14125 | PyObject *resultobj; |
14126 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14127 | int result; | |
14128 | PyObject * obj0 = 0 ; | |
14129 | char *kwnames[] = { | |
14130 | (char *) "self", NULL | |
14131 | }; | |
14132 | ||
14133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14136 | { |
14137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14138 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); | |
14139 | ||
14140 | wxPyEndAllowThreads(__tstate); | |
14141 | if (PyErr_Occurred()) SWIG_fail; | |
14142 | } | |
c370783e | 14143 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14144 | return resultobj; |
14145 | fail: | |
14146 | return NULL; | |
14147 | } | |
14148 | ||
14149 | ||
c370783e | 14150 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14151 | PyObject *resultobj; |
14152 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14153 | int result; | |
14154 | PyObject * obj0 = 0 ; | |
14155 | char *kwnames[] = { | |
14156 | (char *) "self", NULL | |
14157 | }; | |
14158 | ||
14159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14162 | { |
14163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14164 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); | |
14165 | ||
14166 | wxPyEndAllowThreads(__tstate); | |
14167 | if (PyErr_Occurred()) SWIG_fail; | |
14168 | } | |
c370783e | 14169 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14170 | return resultobj; |
14171 | fail: | |
14172 | return NULL; | |
14173 | } | |
14174 | ||
14175 | ||
c370783e | 14176 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14177 | PyObject *resultobj; |
14178 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14179 | int result; | |
14180 | PyObject * obj0 = 0 ; | |
14181 | char *kwnames[] = { | |
14182 | (char *) "self", NULL | |
14183 | }; | |
14184 | ||
14185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14188 | { |
14189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14190 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); | |
14191 | ||
14192 | wxPyEndAllowThreads(__tstate); | |
14193 | if (PyErr_Occurred()) SWIG_fail; | |
14194 | } | |
c370783e | 14195 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14196 | return resultobj; |
14197 | fail: | |
14198 | return NULL; | |
14199 | } | |
14200 | ||
14201 | ||
c370783e | 14202 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14203 | PyObject *resultobj; |
14204 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14205 | int result; | |
14206 | PyObject * obj0 = 0 ; | |
14207 | char *kwnames[] = { | |
14208 | (char *) "self", NULL | |
14209 | }; | |
14210 | ||
14211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14212 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14213 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14214 | { |
14215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14216 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); | |
14217 | ||
14218 | wxPyEndAllowThreads(__tstate); | |
14219 | if (PyErr_Occurred()) SWIG_fail; | |
14220 | } | |
c370783e | 14221 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14222 | return resultobj; |
14223 | fail: | |
14224 | return NULL; | |
14225 | } | |
14226 | ||
14227 | ||
c370783e | 14228 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14229 | PyObject *resultobj; |
14230 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14231 | wxString result; | |
14232 | PyObject * obj0 = 0 ; | |
14233 | char *kwnames[] = { | |
14234 | (char *) "self", NULL | |
14235 | }; | |
14236 | ||
14237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14240 | { |
14241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14242 | result = ((wxStyledTextEvent const *)arg1)->GetText(); | |
14243 | ||
14244 | wxPyEndAllowThreads(__tstate); | |
14245 | if (PyErr_Occurred()) SWIG_fail; | |
14246 | } | |
14247 | { | |
14248 | #if wxUSE_UNICODE | |
14249 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14250 | #else | |
14251 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14252 | #endif | |
14253 | } | |
14254 | return resultobj; | |
14255 | fail: | |
14256 | return NULL; | |
14257 | } | |
14258 | ||
14259 | ||
c370783e | 14260 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14261 | PyObject *resultobj; |
14262 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14263 | int result; | |
14264 | PyObject * obj0 = 0 ; | |
14265 | char *kwnames[] = { | |
14266 | (char *) "self", NULL | |
14267 | }; | |
14268 | ||
14269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14272 | { |
14273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14274 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); | |
14275 | ||
14276 | wxPyEndAllowThreads(__tstate); | |
14277 | if (PyErr_Occurred()) SWIG_fail; | |
14278 | } | |
c370783e | 14279 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14280 | return resultobj; |
14281 | fail: | |
14282 | return NULL; | |
14283 | } | |
14284 | ||
14285 | ||
c370783e | 14286 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14287 | PyObject *resultobj; |
14288 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14289 | int result; | |
14290 | PyObject * obj0 = 0 ; | |
14291 | char *kwnames[] = { | |
14292 | (char *) "self", NULL | |
14293 | }; | |
14294 | ||
14295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14298 | { |
14299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14300 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); | |
14301 | ||
14302 | wxPyEndAllowThreads(__tstate); | |
14303 | if (PyErr_Occurred()) SWIG_fail; | |
14304 | } | |
c370783e | 14305 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14306 | return resultobj; |
14307 | fail: | |
14308 | return NULL; | |
14309 | } | |
14310 | ||
14311 | ||
c370783e | 14312 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14313 | PyObject *resultobj; |
14314 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14315 | int result; | |
14316 | PyObject * obj0 = 0 ; | |
14317 | char *kwnames[] = { | |
14318 | (char *) "self", NULL | |
14319 | }; | |
14320 | ||
14321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14324 | { |
14325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14326 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
14327 | ||
14328 | wxPyEndAllowThreads(__tstate); | |
14329 | if (PyErr_Occurred()) SWIG_fail; | |
14330 | } | |
c370783e | 14331 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14332 | return resultobj; |
14333 | fail: | |
14334 | return NULL; | |
14335 | } | |
14336 | ||
14337 | ||
c370783e | 14338 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14339 | PyObject *resultobj; |
14340 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14341 | int result; | |
14342 | PyObject * obj0 = 0 ; | |
14343 | char *kwnames[] = { | |
14344 | (char *) "self", NULL | |
14345 | }; | |
14346 | ||
14347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14350 | { |
14351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14352 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
14353 | ||
14354 | wxPyEndAllowThreads(__tstate); | |
14355 | if (PyErr_Occurred()) SWIG_fail; | |
14356 | } | |
c370783e | 14357 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14358 | return resultobj; |
14359 | fail: | |
14360 | return NULL; | |
14361 | } | |
14362 | ||
14363 | ||
c370783e | 14364 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14365 | PyObject *resultobj; |
14366 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14367 | int result; | |
14368 | PyObject * obj0 = 0 ; | |
14369 | char *kwnames[] = { | |
14370 | (char *) "self", NULL | |
14371 | }; | |
14372 | ||
14373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14376 | { |
14377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14378 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
14379 | ||
14380 | wxPyEndAllowThreads(__tstate); | |
14381 | if (PyErr_Occurred()) SWIG_fail; | |
14382 | } | |
c370783e | 14383 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14384 | return resultobj; |
14385 | fail: | |
14386 | return NULL; | |
14387 | } | |
14388 | ||
14389 | ||
c370783e | 14390 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14391 | PyObject *resultobj; |
14392 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14393 | int result; | |
14394 | PyObject * obj0 = 0 ; | |
14395 | char *kwnames[] = { | |
14396 | (char *) "self", NULL | |
14397 | }; | |
14398 | ||
14399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14402 | { |
14403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14404 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
14405 | ||
14406 | wxPyEndAllowThreads(__tstate); | |
14407 | if (PyErr_Occurred()) SWIG_fail; | |
14408 | } | |
c370783e | 14409 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14410 | return resultobj; |
14411 | fail: | |
14412 | return NULL; | |
14413 | } | |
14414 | ||
14415 | ||
c370783e | 14416 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14417 | PyObject *resultobj; |
14418 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14419 | int result; | |
14420 | PyObject * obj0 = 0 ; | |
14421 | char *kwnames[] = { | |
14422 | (char *) "self", NULL | |
14423 | }; | |
14424 | ||
14425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14428 | { |
14429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14430 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
14431 | ||
14432 | wxPyEndAllowThreads(__tstate); | |
14433 | if (PyErr_Occurred()) SWIG_fail; | |
14434 | } | |
c370783e | 14435 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14436 | return resultobj; |
14437 | fail: | |
14438 | return NULL; | |
14439 | } | |
14440 | ||
14441 | ||
c370783e | 14442 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14443 | PyObject *resultobj; |
14444 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14445 | int result; | |
14446 | PyObject * obj0 = 0 ; | |
14447 | char *kwnames[] = { | |
14448 | (char *) "self", NULL | |
14449 | }; | |
14450 | ||
14451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14452 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14453 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14454 | { |
14455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14456 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
14457 | ||
14458 | wxPyEndAllowThreads(__tstate); | |
14459 | if (PyErr_Occurred()) SWIG_fail; | |
14460 | } | |
c370783e | 14461 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14462 | return resultobj; |
14463 | fail: | |
14464 | return NULL; | |
14465 | } | |
14466 | ||
14467 | ||
c370783e | 14468 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14469 | PyObject *resultobj; |
14470 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14471 | int result; | |
14472 | PyObject * obj0 = 0 ; | |
14473 | char *kwnames[] = { | |
14474 | (char *) "self", NULL | |
14475 | }; | |
14476 | ||
14477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14480 | { |
14481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14482 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
14483 | ||
14484 | wxPyEndAllowThreads(__tstate); | |
14485 | if (PyErr_Occurred()) SWIG_fail; | |
14486 | } | |
c370783e | 14487 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14488 | return resultobj; |
14489 | fail: | |
14490 | return NULL; | |
14491 | } | |
14492 | ||
14493 | ||
c370783e | 14494 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14495 | PyObject *resultobj; |
14496 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14497 | int result; | |
14498 | PyObject * obj0 = 0 ; | |
14499 | char *kwnames[] = { | |
14500 | (char *) "self", NULL | |
14501 | }; | |
14502 | ||
14503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14506 | { |
14507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14508 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
14509 | ||
14510 | wxPyEndAllowThreads(__tstate); | |
14511 | if (PyErr_Occurred()) SWIG_fail; | |
14512 | } | |
c370783e | 14513 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14514 | return resultobj; |
14515 | fail: | |
14516 | return NULL; | |
14517 | } | |
14518 | ||
14519 | ||
c370783e | 14520 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14521 | PyObject *resultobj; |
14522 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14523 | int result; | |
14524 | PyObject * obj0 = 0 ; | |
14525 | char *kwnames[] = { | |
14526 | (char *) "self", NULL | |
14527 | }; | |
14528 | ||
14529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14532 | { |
14533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14534 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
14535 | ||
14536 | wxPyEndAllowThreads(__tstate); | |
14537 | if (PyErr_Occurred()) SWIG_fail; | |
14538 | } | |
c370783e | 14539 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14540 | return resultobj; |
14541 | fail: | |
14542 | return NULL; | |
14543 | } | |
14544 | ||
14545 | ||
c370783e | 14546 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14547 | PyObject *resultobj; |
14548 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14549 | int result; | |
14550 | PyObject * obj0 = 0 ; | |
14551 | char *kwnames[] = { | |
14552 | (char *) "self", NULL | |
14553 | }; | |
14554 | ||
14555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14558 | { |
14559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14560 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
14561 | ||
14562 | wxPyEndAllowThreads(__tstate); | |
14563 | if (PyErr_Occurred()) SWIG_fail; | |
14564 | } | |
c370783e | 14565 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14566 | return resultobj; |
14567 | fail: | |
14568 | return NULL; | |
14569 | } | |
14570 | ||
14571 | ||
c370783e | 14572 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14573 | PyObject *resultobj; |
14574 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14575 | wxString result; | |
14576 | PyObject * obj0 = 0 ; | |
14577 | char *kwnames[] = { | |
14578 | (char *) "self", NULL | |
14579 | }; | |
14580 | ||
14581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14584 | { |
14585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14586 | result = (arg1)->GetDragText(); | |
14587 | ||
14588 | wxPyEndAllowThreads(__tstate); | |
14589 | if (PyErr_Occurred()) SWIG_fail; | |
14590 | } | |
14591 | { | |
14592 | #if wxUSE_UNICODE | |
14593 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
14594 | #else | |
14595 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
14596 | #endif | |
14597 | } | |
14598 | return resultobj; | |
14599 | fail: | |
14600 | return NULL; | |
14601 | } | |
14602 | ||
14603 | ||
c370783e | 14604 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14605 | PyObject *resultobj; |
14606 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14607 | bool result; | |
14608 | PyObject * obj0 = 0 ; | |
14609 | char *kwnames[] = { | |
14610 | (char *) "self", NULL | |
14611 | }; | |
14612 | ||
14613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14616 | { |
14617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14618 | result = (bool)(arg1)->GetDragAllowMove(); | |
14619 | ||
14620 | wxPyEndAllowThreads(__tstate); | |
14621 | if (PyErr_Occurred()) SWIG_fail; | |
14622 | } | |
4f89f6a3 RD |
14623 | { |
14624 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14625 | } | |
d14a1e28 RD |
14626 | return resultobj; |
14627 | fail: | |
14628 | return NULL; | |
14629 | } | |
14630 | ||
14631 | ||
c370783e | 14632 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14633 | PyObject *resultobj; |
14634 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
96b3fa7c | 14635 | int result; |
d14a1e28 RD |
14636 | PyObject * obj0 = 0 ; |
14637 | char *kwnames[] = { | |
14638 | (char *) "self", NULL | |
14639 | }; | |
14640 | ||
14641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14644 | { |
14645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
96b3fa7c | 14646 | result = (int)(arg1)->GetDragResult(); |
d14a1e28 RD |
14647 | |
14648 | wxPyEndAllowThreads(__tstate); | |
14649 | if (PyErr_Occurred()) SWIG_fail; | |
14650 | } | |
c370783e | 14651 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14652 | return resultobj; |
14653 | fail: | |
14654 | return NULL; | |
14655 | } | |
14656 | ||
14657 | ||
c370783e | 14658 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14659 | PyObject *resultobj; |
14660 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14661 | bool result; | |
14662 | PyObject * obj0 = 0 ; | |
14663 | char *kwnames[] = { | |
14664 | (char *) "self", NULL | |
14665 | }; | |
14666 | ||
14667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14670 | { |
14671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14672 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
14673 | ||
14674 | wxPyEndAllowThreads(__tstate); | |
14675 | if (PyErr_Occurred()) SWIG_fail; | |
14676 | } | |
4f89f6a3 RD |
14677 | { |
14678 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14679 | } | |
d14a1e28 RD |
14680 | return resultobj; |
14681 | fail: | |
14682 | return NULL; | |
14683 | } | |
14684 | ||
14685 | ||
c370783e | 14686 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14687 | PyObject *resultobj; |
14688 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14689 | bool result; | |
14690 | PyObject * obj0 = 0 ; | |
14691 | char *kwnames[] = { | |
14692 | (char *) "self", NULL | |
14693 | }; | |
14694 | ||
14695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14698 | { |
14699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14700 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
14701 | ||
14702 | wxPyEndAllowThreads(__tstate); | |
14703 | if (PyErr_Occurred()) SWIG_fail; | |
14704 | } | |
4f89f6a3 RD |
14705 | { |
14706 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14707 | } | |
d14a1e28 RD |
14708 | return resultobj; |
14709 | fail: | |
14710 | return NULL; | |
14711 | } | |
14712 | ||
14713 | ||
c370783e | 14714 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14715 | PyObject *resultobj; |
14716 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14717 | bool result; | |
14718 | PyObject * obj0 = 0 ; | |
14719 | char *kwnames[] = { | |
14720 | (char *) "self", NULL | |
14721 | }; | |
14722 | ||
14723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14726 | { |
14727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14728 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
14729 | ||
14730 | wxPyEndAllowThreads(__tstate); | |
14731 | if (PyErr_Occurred()) SWIG_fail; | |
14732 | } | |
4f89f6a3 RD |
14733 | { |
14734 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14735 | } | |
d14a1e28 RD |
14736 | return resultobj; |
14737 | fail: | |
14738 | return NULL; | |
14739 | } | |
14740 | ||
14741 | ||
c370783e | 14742 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14743 | PyObject *resultobj; |
14744 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
14745 | wxEvent *result; | |
14746 | PyObject * obj0 = 0 ; | |
14747 | char *kwnames[] = { | |
14748 | (char *) "self", NULL | |
14749 | }; | |
14750 | ||
14751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent, |
14753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14754 | { |
14755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14756 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
14757 | ||
14758 | wxPyEndAllowThreads(__tstate); | |
14759 | if (PyErr_Occurred()) SWIG_fail; | |
14760 | } | |
15afbcd0 | 14761 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); |
d14a1e28 RD |
14762 | return resultobj; |
14763 | fail: | |
14764 | return NULL; | |
14765 | } | |
14766 | ||
14767 | ||
c370783e | 14768 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14769 | PyObject *obj; |
14770 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14771 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
14772 | Py_INCREF(obj); | |
14773 | return Py_BuildValue((char *)""); | |
14774 | } | |
14775 | static PyMethodDef SwigMethods[] = { | |
c370783e RD |
14776 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL }, |
14777 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14778 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14779 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14780 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14781 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14782 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14783 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14784 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14785 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14786 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14787 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14788 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14789 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14790 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14791 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14792 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14793 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14794 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14795 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14796 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14797 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14798 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14799 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14800 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14801 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14802 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14803 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14804 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14805 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14806 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14807 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14808 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14809 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14810 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14811 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14812 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14813 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14814 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14815 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14816 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14817 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14818 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14819 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14820 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14821 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14822 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14823 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14824 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14825 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14826 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14827 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14828 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14829 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14830 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14831 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14832 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14833 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14834 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14835 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14836 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14837 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14838 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14839 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14840 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14841 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14842 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14843 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14844 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14845 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14846 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14847 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14848 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14849 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14850 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14851 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14852 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14853 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14854 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14855 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14856 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14857 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14858 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14859 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14860 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14861 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14862 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14863 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14864 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14865 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14866 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14867 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14868 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14869 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14870 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14871 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14872 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14873 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14874 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14875 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14876 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14877 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14878 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14879 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14880 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14881 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14882 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14883 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14884 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14885 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14886 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14887 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14888 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14889 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14890 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14891 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14892 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14893 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14894 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14895 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14896 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14897 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14898 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14899 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14900 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14901 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14902 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14903 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14904 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14905 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14906 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14907 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14908 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14909 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14910 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14911 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14912 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14913 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14914 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14915 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14916 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14917 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14918 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14919 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14920 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14921 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14922 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14923 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14924 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14925 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14926 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14927 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14928 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14929 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14930 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14931 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14932 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14933 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14934 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14935 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14936 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14937 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14938 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14939 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14940 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14941 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14942 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14943 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14944 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14945 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14946 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14947 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14948 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14949 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14950 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14951 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14952 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14953 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14954 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14955 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14956 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14957 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14958 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14959 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14960 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14961 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14962 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14963 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14964 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14965 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14966 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14967 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14968 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14969 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14970 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14971 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14972 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14973 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14974 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14975 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14976 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14977 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14978 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14979 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14980 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14981 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14982 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14983 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14984 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14985 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14986 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14987 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14988 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14989 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14990 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14991 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14992 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14993 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14994 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14995 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14996 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14997 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14998 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
14999 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15000 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15001 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15002 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15003 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15004 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15005 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5e483524 RD |
15006 | { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL }, |
15007 | { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15008 | { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15009 | { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15010 | { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15011 | { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c370783e RD |
15012 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL }, |
15013 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15014 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15015 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15016 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15017 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15018 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15019 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15020 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15021 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15022 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15023 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15024 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15025 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15026 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15027 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15028 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15029 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15030 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15031 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15032 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15033 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15034 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15035 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15036 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15037 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15038 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15039 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15040 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15041 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15042 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15043 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15044 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15045 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15046 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15047 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15048 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15049 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15050 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15051 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15052 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15053 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15054 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15055 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15056 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15057 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15058 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15059 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15060 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15061 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15062 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15063 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15064 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15065 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15066 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15067 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15068 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15069 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15070 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15071 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15072 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15073 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15074 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15075 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15076 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15077 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15078 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15079 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15080 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15081 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15082 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15083 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15084 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15085 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15086 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15087 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15088 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15089 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15090 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15091 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15092 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15093 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15094 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15095 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15096 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15097 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15098 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15099 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15100 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15101 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15102 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15103 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15104 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15105 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15106 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15107 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15108 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15109 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15110 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15111 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15112 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15113 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15114 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15115 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15116 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15117 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15118 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15119 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15120 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15121 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15122 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15123 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15124 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15125 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15126 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15127 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15128 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15129 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15130 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15131 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15132 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15133 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15134 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15135 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15136 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15137 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15138 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15139 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15140 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15141 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15142 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15143 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15144 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15145 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15146 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15147 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15148 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15149 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15150 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15151 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15152 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15153 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15154 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15155 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15156 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15157 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15158 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15159 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15160 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15161 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15162 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15163 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15164 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15165 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15166 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15167 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15168 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15169 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15170 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15171 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15172 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15173 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15174 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5e483524 | 15175 | { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL }, |
c370783e RD |
15176 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL }, |
15177 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15178 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15179 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15180 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15181 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15182 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15183 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15184 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15185 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15186 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15187 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15188 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15189 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15190 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15191 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15192 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15193 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15194 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15195 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15196 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15197 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15198 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15199 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15200 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15201 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15202 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15203 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15204 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15205 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL }, | |
15206 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15207 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15208 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15209 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15210 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15211 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15212 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15213 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15214 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15215 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15216 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15217 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15218 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15219 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15220 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15221 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15222 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15223 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15224 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15225 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15226 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15227 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15228 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15229 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15230 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15231 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15232 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15233 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15234 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15235 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15236 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15237 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15238 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15239 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15240 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15241 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15242 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15243 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15244 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15245 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15246 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15247 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15248 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15249 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15250 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15251 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL }, | |
15252 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL }, | |
15253 | { NULL, NULL, 0, NULL } | |
d14a1e28 RD |
15254 | }; |
15255 | ||
15256 | ||
15257 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
15258 | ||
15259 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
15260 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
15261 | } | |
15262 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
15263 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
15264 | } | |
15265 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
15266 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
15267 | } | |
15268 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
15269 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
15270 | } | |
15271 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
15272 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
15273 | } | |
15274 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
15275 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
15276 | } | |
15277 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
15278 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
15279 | } | |
15280 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
15281 | return (void *)((wxObject *) ((wxSizer *) x)); | |
15282 | } | |
15283 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
15284 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
15285 | } | |
96b3fa7c RD |
15286 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { |
15287 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
15288 | } | |
d14a1e28 RD |
15289 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
15290 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15291 | } | |
15292 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
15293 | return (void *)((wxObject *) ((wxEvent *) x)); | |
15294 | } | |
15295 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
15296 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
15297 | } | |
15298 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
15299 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
15300 | } | |
15301 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
15302 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
15303 | } | |
d14a1e28 RD |
15304 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
15305 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
15306 | } | |
15307 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
15308 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
15309 | } | |
0df68c9f RD |
15310 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { |
15311 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15312 | } | |
d14a1e28 RD |
15313 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
15314 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15315 | } | |
15316 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
15317 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15318 | } | |
15319 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
15320 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15321 | } | |
15322 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
15323 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15324 | } | |
15325 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
15326 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
15327 | } | |
15328 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
15329 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
15330 | } | |
96b3fa7c RD |
15331 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { |
15332 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
15333 | } | |
d14a1e28 RD |
15334 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
15335 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
15336 | } | |
96b3fa7c RD |
15337 | static void *_p_wxClipboardTo_p_wxObject(void *x) { |
15338 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
15339 | } | |
d14a1e28 RD |
15340 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
15341 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
15342 | } | |
15343 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
15344 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15345 | } | |
15346 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
15347 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
15348 | } | |
15349 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
15350 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15351 | } | |
15352 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
15353 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
15354 | } | |
96b3fa7c RD |
15355 | static void *_p_wxToolTipTo_p_wxObject(void *x) { |
15356 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
15357 | } | |
d14a1e28 RD |
15358 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
15359 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
15360 | } | |
15361 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
15362 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
15363 | } | |
15364 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
15365 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15366 | } | |
15367 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
15368 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15369 | } | |
15370 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
15371 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
15372 | } | |
15373 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
15374 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
15375 | } | |
15376 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
15377 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
15378 | } | |
15379 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
15380 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
15381 | } | |
15382 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
15383 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
15384 | } | |
15385 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
15386 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
15387 | } | |
15388 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
15389 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
15390 | } | |
15391 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
15392 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
15393 | } | |
15394 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
15395 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
15396 | } | |
15397 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
15398 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
15399 | } | |
15400 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
15401 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
15402 | } | |
15403 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
15404 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
15405 | } | |
15406 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
15407 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
15408 | } | |
15409 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
15410 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
15411 | } | |
15412 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
15413 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
15414 | } | |
15415 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
15416 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
15417 | } | |
15418 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
15419 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
15420 | } | |
15421 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
15422 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
15423 | } | |
0df68c9f RD |
15424 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
15425 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
15426 | } | |
d14a1e28 RD |
15427 | static void *_p_wxImageTo_p_wxObject(void *x) { |
15428 | return (void *)((wxObject *) ((wxImage *) x)); | |
15429 | } | |
15430 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
15431 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
15432 | } | |
96b3fa7c RD |
15433 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { |
15434 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
15435 | } | |
15436 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
15437 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
15438 | } | |
d14a1e28 RD |
15439 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
15440 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15441 | } | |
15442 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
15443 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15444 | } | |
15445 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
15446 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
15447 | } | |
15448 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
15449 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
15450 | } | |
15451 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
15452 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
15453 | } | |
15454 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
15455 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
15456 | } | |
96b3fa7c RD |
15457 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { |
15458 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
15459 | } | |
d14a1e28 RD |
15460 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
15461 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
15462 | } | |
15463 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
15464 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15465 | } | |
15466 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
15467 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
15468 | } | |
15469 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
15470 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
15471 | } | |
15472 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
15473 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
15474 | } | |
15475 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
15476 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
15477 | } | |
15478 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
15479 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
15480 | } | |
96b3fa7c RD |
15481 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { |
15482 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
15483 | } | |
d14a1e28 RD |
15484 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
15485 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15486 | } | |
15487 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
15488 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
15489 | } | |
15490 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
15491 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
15492 | } | |
15493 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
15494 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
15495 | } | |
15496 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
15497 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15498 | } | |
96b3fa7c RD |
15499 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { |
15500 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
15501 | } | |
d14a1e28 RD |
15502 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
15503 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15504 | } | |
15505 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
15506 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
15507 | } | |
15508 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
15509 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
15510 | } | |
96b3fa7c RD |
15511 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { |
15512 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
15513 | } | |
d14a1e28 RD |
15514 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
15515 | return (void *)((wxWindow *) ((wxControl *) x)); | |
15516 | } | |
15517 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
15518 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
15519 | } | |
15520 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
15521 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
15522 | } | |
15523 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
15524 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
15525 | } | |
15526 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
15527 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15528 | } | |
15529 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
15530 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
15531 | } | |
15532 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
15533 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15534 | } | |
15535 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
15536 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15537 | } | |
15538 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
15539 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15540 | } | |
15541 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
15542 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15543 | } | |
15544 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
15545 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15546 | } | |
15547 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
15548 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15549 | } | |
15550 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
15551 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15552 | } | |
15553 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
15554 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
15555 | } | |
15556 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
15557 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
15558 | } | |
15559 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
15560 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
15561 | } | |
15562 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
15563 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
15564 | } | |
96b3fa7c RD |
15565 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { |
15566 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
15567 | } | |
d14a1e28 RD |
15568 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { |
15569 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
15570 | } | |
15571 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
15572 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
15573 | } | |
15574 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
15575 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
15576 | } | |
15577 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
15578 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
15579 | } | |
15580 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
15581 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
15582 | } | |
96b3fa7c RD |
15583 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { |
15584 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
15585 | } | |
d14a1e28 RD |
15586 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { |
15587 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
15588 | } | |
15589 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
15590 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
15591 | } | |
15592 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
15593 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
15594 | } | |
15595 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
15596 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
15597 | } | |
15598 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
15599 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
15600 | } | |
15601 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
15602 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
15603 | } | |
15604 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
15605 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
15606 | } | |
15607 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
15608 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
15609 | } | |
96b3fa7c RD |
15610 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { |
15611 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
15612 | } | |
d14a1e28 RD |
15613 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
15614 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
15615 | } | |
15616 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
15617 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
15618 | } | |
15619 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
15620 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
15621 | } | |
15622 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
15623 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
15624 | } | |
96b3fa7c RD |
15625 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { |
15626 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
15627 | } | |
d14a1e28 RD |
15628 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
15629 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
15630 | } | |
15631 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
15632 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
15633 | } | |
15634 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
15635 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
15636 | } | |
15637 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
15638 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
15639 | } | |
15640 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
15641 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
15642 | } | |
15643 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
15644 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
15645 | } | |
15646 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
15647 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
15648 | } | |
15649 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
15650 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
15651 | } | |
15652 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
15653 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
15654 | } | |
15655 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
15656 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
15657 | } | |
15658 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
15659 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
15660 | } | |
15661 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
15662 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
15663 | } | |
15664 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
15665 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
15666 | } | |
15667 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
15668 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
15669 | } | |
15670 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
15671 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
15672 | } | |
15673 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
15674 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
15675 | } | |
15676 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
15677 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
15678 | } | |
15679 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
15680 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
15681 | } | |
15682 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
15683 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
15684 | } | |
96b3fa7c RD |
15685 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { |
15686 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
15687 | } | |
d14a1e28 RD |
15688 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { |
15689 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
15690 | } | |
15691 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
15692 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
15693 | } | |
15694 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
15695 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
15696 | } | |
15697 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
15698 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
15699 | } | |
15700 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
15701 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
15702 | } | |
15703 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
15704 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
15705 | } | |
15706 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
15707 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
15708 | } | |
15afbcd0 RD |
15709 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15710 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15711 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15712 | static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15713 | static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15714 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15715 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15716 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15717 | static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15718 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15719 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15720 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15721 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15722 | static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15723 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15724 | static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15725 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15726 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
15727 | static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
d14a1e28 RD |
15728 | |
15729 | static swig_type_info *swig_types_initial[] = { | |
15730 | _swigt__p_wxRect, | |
15731 | _swigt__p_wxColour, | |
15732 | _swigt__p_wxObject, | |
15733 | _swigt__p_wxScrollBar, | |
15734 | _swigt__p_wxStyledTextEvent, | |
15735 | _swigt__p_wxWindow, | |
15736 | _swigt__p_wxCommandEvent, | |
15737 | _swigt__p_wxBitmap, | |
15738 | _swigt__p_void, | |
15739 | _swigt__p_wxPoint, | |
15740 | _swigt__p_wxDC, | |
4d5c3d91 | 15741 | _swigt__p_char, |
d14a1e28 RD |
15742 | _swigt__p_wxEvtHandler, |
15743 | _swigt__p_wxStyledTextCtrl, | |
15744 | _swigt__p_wxFont, | |
15745 | _swigt__p_wxControl, | |
15746 | _swigt__p_wxEvent, | |
15747 | _swigt__p_int, | |
15748 | _swigt__p_wxMemoryBuffer, | |
15749 | 0 | |
15750 | }; | |
15751 | ||
15752 | ||
15753 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
15754 | ||
15755 | static swig_const_info swig_const_table[] = { | |
c370783e | 15756 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
15757 | |
15758 | #ifdef __cplusplus | |
15759 | } | |
15760 | #endif | |
15761 | ||
15762 | #ifdef __cplusplus | |
15763 | extern "C" | |
15764 | #endif | |
15765 | SWIGEXPORT(void) SWIG_init(void) { | |
15766 | static PyObject *SWIG_globals = 0; | |
15767 | static int typeinit = 0; | |
15768 | PyObject *m, *d; | |
15769 | int i; | |
15770 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
15771 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
15772 | d = PyModule_GetDict(m); | |
15773 | ||
15774 | if (!typeinit) { | |
15775 | for (i = 0; swig_types_initial[i]; i++) { | |
15776 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
15777 | } | |
15778 | typeinit = 1; | |
15779 | } | |
15780 | SWIG_InstallConstants(d,swig_const_table); | |
15781 | ||
b2dc1044 RD |
15782 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
15783 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
c370783e RD |
15784 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)1)); |
15785 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)1)); | |
15786 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)-1)); | |
15787 | PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)2000)); | |
15788 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)3000)); | |
15789 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)4000)); | |
15790 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)0)); | |
15791 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)1)); | |
15792 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)2)); | |
15793 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)0)); | |
15794 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)1)); | |
15795 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)2)); | |
15796 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)65001)); | |
15797 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)1)); | |
15798 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)31)); | |
15799 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)0)); | |
15800 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)1)); | |
15801 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)2)); | |
15802 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)3)); | |
15803 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)4)); | |
15804 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)5)); | |
15805 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)6)); | |
15806 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)7)); | |
15807 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)8)); | |
15808 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)9)); | |
15809 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)10)); | |
15810 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)11)); | |
15811 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)12)); | |
15812 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)13)); | |
15813 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)14)); | |
15814 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)15)); | |
15815 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)16)); | |
15816 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)17)); | |
15817 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)18)); | |
15818 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)19)); | |
15819 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)20)); | |
15820 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)21)); | |
15821 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)22)); | |
15822 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)23)); | |
15823 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)24)); | |
15824 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)25)); | |
15825 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)10000)); | |
15826 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)25)); | |
15827 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)26)); | |
15828 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)27)); | |
15829 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)28)); | |
15830 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)29)); | |
15831 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)30)); | |
15832 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)31)); | |
15833 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)0xFE000000)); | |
15834 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)0)); | |
15835 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)1)); | |
15836 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)32)); | |
15837 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)33)); | |
15838 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)34)); | |
15839 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)35)); | |
15840 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)36)); | |
15841 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)37)); | |
15842 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)39)); | |
15843 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)127)); | |
15844 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)0)); | |
15845 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)1)); | |
15846 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)186)); | |
15847 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)136)); | |
15848 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)238)); | |
15849 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)134)); | |
15850 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)161)); | |
15851 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)129)); | |
15852 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)77)); | |
15853 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)255)); | |
15854 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)204)); | |
15855 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)128)); | |
15856 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)2)); | |
15857 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)162)); | |
15858 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)130)); | |
15859 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)177)); | |
15860 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)178)); | |
15861 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)163)); | |
15862 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)222)); | |
15863 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)0)); | |
15864 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)1)); | |
15865 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)2)); | |
15866 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)7)); | |
15867 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)0)); | |
15868 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)1)); | |
15869 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)2)); | |
15870 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)3)); | |
15871 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)4)); | |
15872 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)5)); | |
15873 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)6)); | |
15874 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)0x20)); | |
15875 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)0x40)); | |
15876 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)0x80)); | |
15877 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)0xE0)); | |
15878 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)0)); | |
15879 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)1)); | |
15880 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)2)); | |
15881 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)3)); | |
15882 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)4)); | |
15883 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)2)); | |
15884 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)4)); | |
15885 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)0x00100000)); | |
15886 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)0x00200000)); | |
15887 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)0x00400000)); | |
15888 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)0x400)); | |
15889 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)0x1000)); | |
15890 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)0x2000)); | |
15891 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)0x4000)); | |
15892 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)0x8000)); | |
15893 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)0x10000)); | |
15894 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)0x20000)); | |
15895 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)0x0FFF)); | |
15896 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)0x0002)); | |
15897 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)0x0004)); | |
15898 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)0x0008)); | |
15899 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)0x0010)); | |
15900 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)0x0040)); | |
15901 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)0x0001)); | |
15902 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)10000000)); | |
15903 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)0)); | |
15904 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)1)); | |
5e483524 RD |
15905 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)0x0000)); |
15906 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)0x0001)); | |
15907 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)0x0002)); | |
15908 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)0x0000)); | |
15909 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)0x0001)); | |
15910 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)0x0002)); | |
c370783e RD |
15911 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)0)); |
15912 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)1)); | |
15913 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)2)); | |
15914 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)3)); | |
15915 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)0)); | |
15916 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)1)); | |
15917 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)2)); | |
15918 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)-1)); | |
15919 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)4)); | |
15920 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)0x01)); | |
15921 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)0x04)); | |
15922 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)0x01)); | |
15923 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)0x04)); | |
15924 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)0x10)); | |
15925 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)0x08)); | |
15926 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)0)); | |
15927 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)1)); | |
15928 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)2)); | |
15929 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)8)); | |
15930 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)0x1)); | |
15931 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)0x2)); | |
15932 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)0x4)); | |
15933 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)0x8)); | |
15934 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)0x10)); | |
15935 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)0x20)); | |
15936 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)0x40)); | |
15937 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)0x100)); | |
15938 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)0x200)); | |
15939 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)0x400)); | |
15940 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)0x800)); | |
15941 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)0xF77)); | |
15942 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)300)); | |
15943 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)301)); | |
15944 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)302)); | |
15945 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)303)); | |
15946 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)304)); | |
15947 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)305)); | |
15948 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)306)); | |
15949 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)307)); | |
15950 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)308)); | |
15951 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)309)); | |
15952 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)7)); | |
15953 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)8)); | |
15954 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)9)); | |
15955 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)13)); | |
15956 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)310)); | |
15957 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)311)); | |
15958 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)312)); | |
15959 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)1)); | |
15960 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)2)); | |
15961 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)4)); | |
15962 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)0)); | |
15963 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)1)); | |
15964 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)2)); | |
15965 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)3)); | |
15966 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)4)); | |
15967 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)5)); | |
15968 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)6)); | |
15969 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)7)); | |
15970 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)8)); | |
15971 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)9)); | |
15972 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)10)); | |
15973 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)11)); | |
15974 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)12)); | |
15975 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)13)); | |
15976 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)14)); | |
15977 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)15)); | |
15978 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)16)); | |
15979 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)17)); | |
15980 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)18)); | |
15981 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)19)); | |
15982 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)20)); | |
15983 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)21)); | |
15984 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)22)); | |
15985 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)23)); | |
15986 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)24)); | |
15987 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)25)); | |
15988 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)26)); | |
15989 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)27)); | |
15990 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)28)); | |
15991 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)29)); | |
15992 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)30)); | |
15993 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)31)); | |
15994 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)32)); | |
15995 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)33)); | |
15996 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)34)); | |
15997 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)35)); | |
15998 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)36)); | |
15999 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)37)); | |
16000 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)38)); | |
16001 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)39)); | |
16002 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)40)); | |
16003 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)41)); | |
16004 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)42)); | |
16005 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)43)); | |
16006 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)44)); | |
16007 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)45)); | |
16008 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)46)); | |
16009 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)47)); | |
16010 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)48)); | |
16011 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)49)); | |
16012 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)50)); | |
16013 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)51)); | |
16014 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)52)); | |
16015 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)53)); | |
16016 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)54)); | |
5e483524 RD |
16017 | PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)55)); |
16018 | PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)56)); | |
16019 | PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)57)); | |
16020 | PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)58)); | |
16021 | PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)59)); | |
16022 | PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)60)); | |
16023 | PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)61)); | |
16024 | PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)62)); | |
c370783e RD |
16025 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)1000)); |
16026 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)0)); | |
16027 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)1)); | |
16028 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)2)); | |
16029 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)3)); | |
16030 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)4)); | |
16031 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)5)); | |
16032 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)6)); | |
16033 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)7)); | |
16034 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)8)); | |
16035 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)9)); | |
16036 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)10)); | |
16037 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)11)); | |
16038 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)12)); | |
16039 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)13)); | |
16040 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)0)); | |
16041 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)1)); | |
16042 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)2)); | |
16043 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)3)); | |
16044 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)4)); | |
16045 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)5)); | |
16046 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)6)); | |
16047 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)7)); | |
16048 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)8)); | |
16049 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)9)); | |
16050 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)10)); | |
16051 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)11)); | |
16052 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)12)); | |
16053 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)13)); | |
16054 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)14)); | |
16055 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)15)); | |
16056 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)16)); | |
16057 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)17)); | |
16058 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)18)); | |
16059 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)19)); | |
16060 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)0)); | |
16061 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)1)); | |
16062 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)2)); | |
16063 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)3)); | |
16064 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)4)); | |
16065 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)5)); | |
16066 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)6)); | |
16067 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)7)); | |
16068 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)8)); | |
16069 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)9)); | |
16070 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)10)); | |
16071 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)11)); | |
16072 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)12)); | |
16073 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)13)); | |
16074 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)14)); | |
16075 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)15)); | |
16076 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)16)); | |
16077 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)17)); | |
16078 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)18)); | |
16079 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)19)); | |
16080 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)20)); | |
16081 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)21)); | |
16082 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)22)); | |
16083 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)23)); | |
16084 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)24)); | |
16085 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)25)); | |
16086 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)26)); | |
16087 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)27)); | |
16088 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)28)); | |
16089 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)29)); | |
16090 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)30)); | |
16091 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)31)); | |
16092 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)40)); | |
16093 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)41)); | |
16094 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)42)); | |
16095 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)43)); | |
16096 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)44)); | |
16097 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)45)); | |
16098 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)46)); | |
16099 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)47)); | |
16100 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)48)); | |
16101 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)49)); | |
16102 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)50)); | |
16103 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)51)); | |
16104 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)52)); | |
16105 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)55)); | |
16106 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)56)); | |
16107 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)57)); | |
16108 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)58)); | |
16109 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)59)); | |
16110 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)60)); | |
16111 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)61)); | |
16112 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)62)); | |
16113 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)63)); | |
16114 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)64)); | |
16115 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)65)); | |
16116 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)66)); | |
16117 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)67)); | |
16118 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)70)); | |
16119 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)71)); | |
16120 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)72)); | |
16121 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)73)); | |
16122 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)74)); | |
16123 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)75)); | |
16124 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)76)); | |
16125 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)77)); | |
16126 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)80)); | |
16127 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)81)); | |
16128 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)82)); | |
16129 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)83)); | |
16130 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)84)); | |
16131 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)85)); | |
16132 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)86)); | |
16133 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)87)); | |
16134 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)90)); | |
16135 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)91)); | |
16136 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)92)); | |
16137 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)93)); | |
16138 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)94)); | |
16139 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)95)); | |
16140 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)96)); | |
16141 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)97)); | |
16142 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)98)); | |
16143 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)99)); | |
16144 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)100)); | |
16145 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)101)); | |
16146 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)102)); | |
5e483524 | 16147 | PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)104)); |
c370783e RD |
16148 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)105)); |
16149 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)106)); | |
16150 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)107)); | |
16151 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)108)); | |
16152 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)109)); | |
16153 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)110)); | |
16154 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)111)); | |
16155 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)112)); | |
16156 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)113)); | |
16157 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)114)); | |
16158 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)115)); | |
16159 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)116)); | |
16160 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)117)); | |
16161 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)118)); | |
16162 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)119)); | |
16163 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)120)); | |
16164 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)121)); | |
16165 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)122)); | |
16166 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)123)); | |
16167 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)124)); | |
16168 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)125)); | |
16169 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)126)); | |
16170 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)127)); | |
16171 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)0)); | |
16172 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)1)); | |
16173 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)2)); | |
16174 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)3)); | |
16175 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)4)); | |
16176 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)5)); | |
16177 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)6)); | |
16178 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)7)); | |
16179 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)8)); | |
16180 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)9)); | |
16181 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)10)); | |
16182 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)11)); | |
16183 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)12)); | |
16184 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)13)); | |
16185 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)14)); | |
16186 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)15)); | |
16187 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)17)); | |
16188 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)18)); | |
16189 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)19)); | |
16190 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)20)); | |
16191 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)21)); | |
16192 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)22)); | |
16193 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)23)); | |
16194 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)24)); | |
16195 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)25)); | |
16196 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)26)); | |
16197 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)27)); | |
16198 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)28)); | |
16199 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)29)); | |
16200 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)30)); | |
16201 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)0)); | |
16202 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)1)); | |
16203 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)2)); | |
16204 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)3)); | |
16205 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)4)); | |
16206 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)5)); | |
16207 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)6)); | |
16208 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)7)); | |
16209 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)8)); | |
16210 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)9)); | |
16211 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)10)); | |
16212 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)11)); | |
16213 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)12)); | |
5e483524 RD |
16214 | PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)13)); |
16215 | PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)14)); | |
c370783e RD |
16216 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)0)); |
16217 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)1)); | |
16218 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)2)); | |
16219 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)3)); | |
16220 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)4)); | |
16221 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)0)); | |
16222 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)1)); | |
16223 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)2)); | |
16224 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)3)); | |
16225 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)4)); | |
16226 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)0)); | |
16227 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)1)); | |
16228 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)2)); | |
16229 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)3)); | |
16230 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)4)); | |
16231 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)5)); | |
16232 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)6)); | |
16233 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)7)); | |
16234 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)8)); | |
16235 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)9)); | |
16236 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)10)); | |
16237 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)11)); | |
16238 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)12)); | |
16239 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)13)); | |
16240 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)14)); | |
16241 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)15)); | |
16242 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)16)); | |
16243 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)17)); | |
16244 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)18)); | |
16245 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)19)); | |
16246 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)0)); | |
16247 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)1)); | |
16248 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)2)); | |
16249 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)3)); | |
16250 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)4)); | |
16251 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)5)); | |
16252 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)6)); | |
16253 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)7)); | |
16254 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)8)); | |
16255 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)9)); | |
16256 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)10)); | |
16257 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)11)); | |
16258 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)12)); | |
16259 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)13)); | |
16260 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)14)); | |
16261 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)15)); | |
16262 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)16)); | |
16263 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)17)); | |
16264 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)18)); | |
5e483524 | 16265 | PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)19)); |
c370783e RD |
16266 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)0)); |
16267 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)1)); | |
16268 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)2)); | |
16269 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)3)); | |
16270 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)4)); | |
16271 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)5)); | |
16272 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)6)); | |
16273 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)7)); | |
16274 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)0)); | |
16275 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)1)); | |
16276 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)2)); | |
16277 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)3)); | |
16278 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)4)); | |
16279 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)5)); | |
16280 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)9)); | |
16281 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)0)); | |
16282 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)1)); | |
16283 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)2)); | |
16284 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)3)); | |
16285 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)4)); | |
16286 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)5)); | |
16287 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)6)); | |
16288 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)0)); | |
16289 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)1)); | |
16290 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)2)); | |
16291 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)3)); | |
16292 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)4)); | |
16293 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)5)); | |
16294 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)6)); | |
16295 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)7)); | |
16296 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)8)); | |
16297 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)9)); | |
16298 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)0)); | |
16299 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)1)); | |
16300 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)2)); | |
16301 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)3)); | |
16302 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)6)); | |
16303 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)7)); | |
16304 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)8)); | |
16305 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)9)); | |
16306 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)10)); | |
16307 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)11)); | |
16308 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)12)); | |
16309 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)13)); | |
16310 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)14)); | |
16311 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)15)); | |
16312 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)16)); | |
16313 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)0)); | |
16314 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)1)); | |
16315 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)2)); | |
16316 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)3)); | |
16317 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)4)); | |
16318 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)5)); | |
16319 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)6)); | |
16320 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)7)); | |
16321 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)8)); | |
16322 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)9)); | |
16323 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)10)); | |
16324 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)11)); | |
16325 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)0)); | |
16326 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)1)); | |
16327 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)2)); | |
16328 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)3)); | |
16329 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)4)); | |
16330 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)5)); | |
16331 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)6)); | |
16332 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)7)); | |
16333 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)8)); | |
16334 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)9)); | |
16335 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)10)); | |
16336 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)0)); | |
16337 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)1)); | |
16338 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)2)); | |
16339 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)3)); | |
16340 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)6)); | |
16341 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)8)); | |
16342 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)9)); | |
16343 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)10)); | |
16344 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)0)); | |
16345 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)1)); | |
16346 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)2)); | |
16347 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)3)); | |
16348 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)4)); | |
16349 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)5)); | |
16350 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)6)); | |
16351 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)7)); | |
16352 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)8)); | |
16353 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)0)); | |
16354 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)1)); | |
16355 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)2)); | |
16356 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)3)); | |
16357 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)4)); | |
16358 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)5)); | |
16359 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)6)); | |
16360 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)7)); | |
16361 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)8)); | |
16362 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)9)); | |
16363 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)10)); | |
16364 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)0)); | |
16365 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)1)); | |
16366 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)2)); | |
16367 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)3)); | |
16368 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)4)); | |
16369 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)5)); | |
16370 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)6)); | |
16371 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)7)); | |
16372 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)8)); | |
16373 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)9)); | |
16374 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)10)); | |
16375 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)11)); | |
16376 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)0)); | |
16377 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)1)); | |
16378 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)2)); | |
16379 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)3)); | |
16380 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)4)); | |
16381 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)5)); | |
16382 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)6)); | |
16383 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)7)); | |
16384 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)8)); | |
16385 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)0)); | |
16386 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)1)); | |
16387 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)2)); | |
16388 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)3)); | |
16389 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)4)); | |
16390 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)5)); | |
16391 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)6)); | |
16392 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)7)); | |
16393 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)8)); | |
16394 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)9)); | |
16395 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)10)); | |
16396 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)11)); | |
16397 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)12)); | |
16398 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)13)); | |
16399 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)14)); | |
16400 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)15)); | |
16401 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)0)); | |
16402 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)1)); | |
16403 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)2)); | |
16404 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)3)); | |
16405 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)4)); | |
16406 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)5)); | |
16407 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)6)); | |
16408 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)7)); | |
16409 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)8)); | |
16410 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)9)); | |
16411 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)10)); | |
16412 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)11)); | |
16413 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)12)); | |
16414 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)13)); | |
16415 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)14)); | |
16416 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)0)); | |
16417 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)1)); | |
16418 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)2)); | |
16419 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)3)); | |
16420 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)4)); | |
16421 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)5)); | |
16422 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)6)); | |
16423 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)7)); | |
16424 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)8)); | |
16425 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)9)); | |
16426 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)10)); | |
16427 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)11)); | |
16428 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)12)); | |
16429 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)13)); | |
16430 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)14)); | |
16431 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)0)); | |
16432 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)1)); | |
16433 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)2)); | |
16434 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)3)); | |
16435 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)4)); | |
16436 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)5)); | |
16437 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)6)); | |
16438 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)7)); | |
16439 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)8)); | |
16440 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)9)); | |
16441 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)10)); | |
16442 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)11)); | |
16443 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)12)); | |
16444 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)13)); | |
16445 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)14)); | |
16446 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)0)); | |
16447 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)1)); | |
16448 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)2)); | |
16449 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)3)); | |
16450 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)4)); | |
16451 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)5)); | |
16452 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)6)); | |
16453 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)7)); | |
16454 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)8)); | |
16455 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)9)); | |
16456 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)10)); | |
16457 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)11)); | |
16458 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)12)); | |
16459 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)13)); | |
16460 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)14)); | |
16461 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)15)); | |
16462 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)16)); | |
16463 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)0)); | |
16464 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)1)); | |
16465 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)2)); | |
16466 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)3)); | |
16467 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)4)); | |
16468 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)5)); | |
16469 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)6)); | |
16470 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)7)); | |
16471 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)8)); | |
16472 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)9)); | |
16473 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)10)); | |
16474 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)0)); | |
16475 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)1)); | |
16476 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)2)); | |
16477 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)3)); | |
16478 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)4)); | |
16479 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)5)); | |
16480 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)6)); | |
16481 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)7)); | |
16482 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)8)); | |
16483 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)9)); | |
16484 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)10)); | |
16485 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)11)); | |
16486 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)0)); | |
16487 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)1)); | |
16488 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)2)); | |
16489 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)3)); | |
16490 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)4)); | |
16491 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)5)); | |
16492 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)6)); | |
16493 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)7)); | |
16494 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)8)); | |
16495 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)9)); | |
16496 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)10)); | |
16497 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)11)); | |
16498 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)12)); | |
16499 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)13)); | |
16500 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)14)); | |
16501 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)15)); | |
16502 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)0)); | |
16503 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)1)); | |
16504 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)2)); | |
16505 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)3)); | |
16506 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)4)); | |
16507 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)5)); | |
16508 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)6)); | |
16509 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)7)); | |
16510 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)8)); | |
16511 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)9)); | |
16512 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)10)); | |
16513 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)11)); | |
16514 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)12)); | |
16515 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)13)); | |
5e483524 | 16516 | PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)14)); |
c370783e RD |
16517 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)0)); |
16518 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)1)); | |
16519 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)2)); | |
16520 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)3)); | |
16521 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)4)); | |
16522 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)5)); | |
16523 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)6)); | |
16524 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)7)); | |
16525 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)8)); | |
16526 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)9)); | |
16527 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)10)); | |
16528 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)11)); | |
16529 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)12)); | |
16530 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)13)); | |
16531 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)14)); | |
16532 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)15)); | |
16533 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)16)); | |
16534 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)17)); | |
16535 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)0)); | |
16536 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)1)); | |
16537 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)2)); | |
16538 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)3)); | |
16539 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)4)); | |
16540 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)5)); | |
16541 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)6)); | |
16542 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)7)); | |
16543 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)8)); | |
16544 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)9)); | |
16545 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)10)); | |
16546 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)11)); | |
16547 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)12)); | |
16548 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)13)); | |
16549 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)14)); | |
16550 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)0)); | |
16551 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)1)); | |
16552 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)2)); | |
16553 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)3)); | |
16554 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)4)); | |
16555 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)5)); | |
16556 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)6)); | |
16557 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)0)); | |
16558 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)1)); | |
16559 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)2)); | |
16560 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)3)); | |
16561 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)4)); | |
16562 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)5)); | |
16563 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)6)); | |
16564 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)7)); | |
16565 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)8)); | |
16566 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)0)); | |
16567 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)1)); | |
16568 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)2)); | |
16569 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)3)); | |
16570 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)4)); | |
16571 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)5)); | |
16572 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)0)); | |
16573 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)1)); | |
16574 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)2)); | |
16575 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)3)); | |
16576 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)4)); | |
16577 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)5)); | |
16578 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)6)); | |
16579 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)0)); | |
16580 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)1)); | |
16581 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)2)); | |
16582 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)3)); | |
16583 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)4)); | |
16584 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)5)); | |
16585 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)6)); | |
16586 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)7)); | |
16587 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)8)); | |
16588 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)9)); | |
16589 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)10)); | |
16590 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)11)); | |
16591 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)12)); | |
16592 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)13)); | |
16593 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)31)); | |
5e483524 RD |
16594 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)0)); |
16595 | PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)1)); | |
16596 | PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)2)); | |
16597 | PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)3)); | |
16598 | PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)4)); | |
16599 | PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)5)); | |
16600 | PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)6)); | |
16601 | PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)7)); | |
16602 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)8)); | |
16603 | PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)9)); | |
16604 | PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)10)); | |
16605 | PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)11)); | |
16606 | PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)12)); | |
16607 | PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)13)); | |
16608 | PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)14)); | |
16609 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)15)); | |
16610 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)16)); | |
16611 | PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)0)); | |
16612 | PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)1)); | |
16613 | PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)2)); | |
16614 | PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)3)); | |
16615 | PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)4)); | |
16616 | PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)5)); | |
16617 | PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)6)); | |
16618 | PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)7)); | |
16619 | PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)8)); | |
16620 | PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)9)); | |
16621 | PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)10)); | |
16622 | PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)11)); | |
16623 | PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)12)); | |
16624 | PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)19)); | |
16625 | PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)0)); | |
16626 | PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)1)); | |
16627 | PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)2)); | |
16628 | PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)3)); | |
16629 | PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)4)); | |
16630 | PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)5)); | |
16631 | PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)6)); | |
16632 | PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)7)); | |
16633 | PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)8)); | |
16634 | PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)9)); | |
16635 | PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)31)); | |
16636 | PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)0)); | |
16637 | PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)1)); | |
16638 | PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)2)); | |
16639 | PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)3)); | |
16640 | PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)4)); | |
16641 | PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)5)); | |
16642 | PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)6)); | |
16643 | PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)7)); | |
16644 | PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)8)); | |
16645 | PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)9)); | |
16646 | PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)0)); | |
16647 | PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)1)); | |
16648 | PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)2)); | |
16649 | PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)3)); | |
16650 | PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)4)); | |
16651 | PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)5)); | |
16652 | PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)6)); | |
16653 | PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)7)); | |
16654 | PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)8)); | |
16655 | PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)9)); | |
16656 | PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)10)); | |
16657 | PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)11)); | |
16658 | PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)12)); | |
16659 | PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)13)); | |
16660 | PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)14)); | |
16661 | PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)19)); | |
16662 | PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)0)); | |
16663 | PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)1)); | |
16664 | PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)2)); | |
16665 | PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)3)); | |
16666 | PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)4)); | |
16667 | PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)5)); | |
16668 | PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)6)); | |
16669 | PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)7)); | |
16670 | PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)8)); | |
16671 | PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)9)); | |
16672 | PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)10)); | |
16673 | PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)11)); | |
16674 | PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)0)); | |
16675 | PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)1)); | |
16676 | PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)2)); | |
16677 | PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)3)); | |
16678 | PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)4)); | |
16679 | PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)5)); | |
16680 | PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)6)); | |
16681 | PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)7)); | |
16682 | PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)8)); | |
16683 | PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)0)); | |
16684 | PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)1)); | |
16685 | PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)2)); | |
16686 | PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)3)); | |
16687 | PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)4)); | |
16688 | PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)5)); | |
16689 | PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)6)); | |
16690 | PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)7)); | |
16691 | PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)8)); | |
16692 | PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)9)); | |
16693 | PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)10)); | |
16694 | PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)11)); | |
16695 | PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)12)); | |
16696 | PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)13)); | |
c370783e RD |
16697 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)2011)); |
16698 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)2013)); | |
16699 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)2176)); | |
16700 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)2177)); | |
16701 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)2178)); | |
16702 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)2179)); | |
16703 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)2180)); | |
16704 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)2300)); | |
16705 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)2301)); | |
16706 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)2302)); | |
16707 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)2303)); | |
16708 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)2304)); | |
16709 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)2305)); | |
16710 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)2306)); | |
16711 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)2307)); | |
16712 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)2308)); | |
16713 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)2309)); | |
16714 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)2310)); | |
16715 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)2311)); | |
16716 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)2312)); | |
16717 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)2313)); | |
16718 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)2314)); | |
16719 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)2315)); | |
16720 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)2316)); | |
16721 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)2317)); | |
16722 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)2318)); | |
16723 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)2319)); | |
16724 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)2320)); | |
16725 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)2321)); | |
16726 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)2322)); | |
16727 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)2323)); | |
16728 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)2324)); | |
16729 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)2325)); | |
16730 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)2326)); | |
16731 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)2327)); | |
16732 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)2328)); | |
16733 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)2329)); | |
16734 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)2330)); | |
16735 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)2331)); | |
16736 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)2332)); | |
16737 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)2333)); | |
16738 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)2334)); | |
16739 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)2335)); | |
16740 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)2336)); | |
16741 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)2337)); | |
16742 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)2338)); | |
16743 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)2339)); | |
16744 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)2404)); | |
16745 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)2340)); | |
16746 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)2341)); | |
16747 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)2342)); | |
16748 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)2343)); | |
16749 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)2344)); | |
16750 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)2345)); | |
16751 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)2346)); | |
16752 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)2347)); | |
16753 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)2348)); | |
16754 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)2349)); | |
16755 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)2450)); | |
16756 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)2451)); | |
16757 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)2452)); | |
16758 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)2453)); | |
16759 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)2454)); | |
16760 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)2455)); | |
16761 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)2390)); | |
16762 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)2391)); | |
16763 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)2392)); | |
16764 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)2393)); | |
16765 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)2395)); | |
16766 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)2396)); | |
16767 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)2413)); | |
16768 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)2414)); | |
16769 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)2415)); | |
16770 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)2416)); | |
16771 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)2426)); | |
16772 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)2427)); | |
16773 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)2428)); | |
16774 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)2429)); | |
16775 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)2430)); | |
16776 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)2431)); | |
16777 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)2432)); | |
16778 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)2433)); | |
16779 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)2434)); | |
16780 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)2435)); | |
16781 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)2436)); | |
16782 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)2437)); | |
16783 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)2438)); | |
16784 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)2439)); | |
16785 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)2440)); | |
16786 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)2441)); | |
16787 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)2442)); | |
16788 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)wxEVT_STC_CHANGE)); | |
16789 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)wxEVT_STC_STYLENEEDED)); | |
16790 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)wxEVT_STC_CHARADDED)); | |
16791 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)wxEVT_STC_SAVEPOINTREACHED)); | |
16792 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)wxEVT_STC_SAVEPOINTLEFT)); | |
16793 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)wxEVT_STC_ROMODIFYATTEMPT)); | |
16794 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)wxEVT_STC_KEY)); | |
16795 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)wxEVT_STC_DOUBLECLICK)); | |
16796 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)wxEVT_STC_UPDATEUI)); | |
16797 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)wxEVT_STC_MODIFIED)); | |
16798 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)wxEVT_STC_MACRORECORD)); | |
16799 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)wxEVT_STC_MARGINCLICK)); | |
16800 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)wxEVT_STC_NEEDSHOWN)); | |
16801 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)wxEVT_STC_PAINTED)); | |
16802 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)wxEVT_STC_USERLISTSELECTION)); | |
16803 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)wxEVT_STC_URIDROPPED)); | |
16804 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)wxEVT_STC_DWELLSTART)); | |
16805 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)wxEVT_STC_DWELLEND)); | |
16806 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)wxEVT_STC_START_DRAG)); | |
16807 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)wxEVT_STC_DRAG_OVER)); | |
16808 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)wxEVT_STC_DO_DROP)); | |
16809 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)wxEVT_STC_ZOOM)); | |
16810 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)wxEVT_STC_HOTSPOT_CLICK)); | |
16811 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)wxEVT_STC_HOTSPOT_DCLICK)); | |
16812 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)wxEVT_STC_CALLTIP_CLICK)); | |
d14a1e28 RD |
16813 | |
16814 | ||
16815 | } | |
16816 |