]>
Commit | Line | Data |
---|---|---|
cfe5e918 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3004cfd8 | 3 | * Version 1.3.24 |
cfe5e918 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 | |
cfe5e918 RD |
12 | |
13 | #ifdef __cplusplus | |
14 | template<class T> class SwigValueWrapper { | |
15 | T *tt; | |
16 | public: | |
17 | SwigValueWrapper() : tt(0) { } | |
18 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
19 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
20 | ~SwigValueWrapper() { delete tt; } | |
21 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
22 | operator T&() const { return *tt; } | |
23 | T *operator&() { return tt; } | |
24 | private: | |
25 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
3004cfd8 | 26 | }; |
cfe5e918 RD |
27 | #endif |
28 | ||
29 | ||
3004cfd8 RD |
30 | #ifndef SWIG_TEMPLATE_DISAMBIGUATOR |
31 | # if defined(__SUNPRO_CC) | |
32 | # define SWIG_TEMPLATE_DISAMBIGUATOR template | |
33 | # else | |
34 | # define SWIG_TEMPLATE_DISAMBIGUATOR | |
35 | # endif | |
36 | #endif | |
cfe5e918 | 37 | |
cfe5e918 | 38 | |
3004cfd8 | 39 | #include <Python.h> |
cfe5e918 RD |
40 | |
41 | /*********************************************************************** | |
3004cfd8 | 42 | * swigrun.swg |
cfe5e918 | 43 | * |
3004cfd8 RD |
44 | * This file contains generic CAPI SWIG runtime support for pointer |
45 | * type checking. | |
cfe5e918 RD |
46 | * |
47 | ************************************************************************/ | |
48 | ||
3004cfd8 RD |
49 | /* This should only be incremented when either the layout of swig_type_info changes, |
50 | or for whatever reason, the runtime changes incompatibly */ | |
51 | #define SWIG_RUNTIME_VERSION "1" | |
cfe5e918 | 52 | |
3004cfd8 RD |
53 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
54 | #ifdef SWIG_TYPE_TABLE | |
55 | #define SWIG_QUOTE_STRING(x) #x | |
56 | #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
57 | #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
cfe5e918 | 58 | #else |
3004cfd8 | 59 | #define SWIG_TYPE_TABLE_NAME |
cfe5e918 RD |
60 | #endif |
61 | ||
3004cfd8 RD |
62 | #include <string.h> |
63 | ||
64 | #ifndef SWIGINLINE | |
65 | #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
66 | # define SWIGINLINE inline | |
cfe5e918 | 67 | #else |
3004cfd8 RD |
68 | # define SWIGINLINE |
69 | #endif | |
70 | #endif | |
71 | ||
72 | /* | |
73 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
74 | creating a static or dynamic library from the swig runtime code. | |
75 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
76 | ||
77 | But only do this if is strictly necessary, ie, if you have problems | |
78 | with your compiler or so. | |
79 | */ | |
80 | #ifndef SWIGRUNTIME | |
81 | #define SWIGRUNTIME static | |
82 | #endif | |
83 | #ifndef SWIGRUNTIMEINLINE | |
84 | #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
cfe5e918 RD |
85 | #endif |
86 | ||
87 | #ifdef __cplusplus | |
88 | extern "C" { | |
89 | #endif | |
90 | ||
91 | typedef void *(*swig_converter_func)(void *); | |
92 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
93 | ||
94 | typedef struct swig_type_info { | |
95 | const char *name; | |
96 | swig_converter_func converter; | |
97 | const char *str; | |
98 | void *clientdata; | |
99 | swig_dycast_func dcast; | |
100 | struct swig_type_info *next; | |
101 | struct swig_type_info *prev; | |
102 | } swig_type_info; | |
103 | ||
3004cfd8 RD |
104 | /* |
105 | Compare two type names skipping the space characters, therefore | |
106 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
107 | ||
108 | Return 0 when the two name types are equivalent, as in | |
109 | strncmp, but skipping ' '. | |
110 | */ | |
111 | SWIGRUNTIME int | |
112 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
113 | const char *f2, const char *l2) { | |
114 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
115 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
116 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
117 | if (*f1 != *f2) return *f1 - *f2; | |
118 | } | |
119 | return (l1 - f1) - (l2 - f2); | |
120 | } | |
121 | ||
122 | /* | |
123 | Check type equivalence in a name list like <name1>|<name2>|... | |
124 | */ | |
125 | SWIGRUNTIME int | |
126 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
127 | int equiv = 0; | |
128 | const char* te = tb + strlen(tb); | |
129 | const char* ne = nb; | |
130 | while (!equiv && *ne) { | |
131 | for (nb = ne; *ne; ++ne) { | |
132 | if (*ne == '|') break; | |
133 | } | |
134 | equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; | |
135 | if (*ne) ++ne; | |
136 | } | |
137 | return equiv; | |
138 | } | |
139 | ||
140 | /* | |
141 | Register a type mapping with the type-checking | |
142 | */ | |
143 | SWIGRUNTIME swig_type_info * | |
144 | SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { | |
145 | swig_type_info *tc, *head, *ret, *next; | |
146 | /* Check to see if this type has already been registered */ | |
147 | tc = *tl; | |
148 | while (tc) { | |
149 | /* check simple type equivalence */ | |
150 | int typeequiv = (strcmp(tc->name, ti->name) == 0); | |
151 | /* check full type equivalence, resolving typedefs */ | |
152 | if (!typeequiv) { | |
153 | /* only if tc is not a typedef (no '|' on it) */ | |
154 | if (tc->str && ti->str && !strstr(tc->str,"|")) { | |
155 | typeequiv = SWIG_TypeEquiv(ti->str,tc->str); | |
156 | } | |
157 | } | |
158 | if (typeequiv) { | |
159 | /* Already exists in the table. Just add additional types to the list */ | |
160 | if (ti->clientdata) tc->clientdata = ti->clientdata; | |
161 | head = tc; | |
162 | next = tc->next; | |
163 | goto l1; | |
164 | } | |
165 | tc = tc->prev; | |
166 | } | |
167 | head = ti; | |
168 | next = 0; | |
169 | ||
170 | /* Place in list */ | |
171 | ti->prev = *tl; | |
172 | *tl = ti; | |
173 | ||
174 | /* Build linked lists */ | |
175 | l1: | |
176 | ret = head; | |
177 | tc = ti + 1; | |
178 | /* Patch up the rest of the links */ | |
179 | while (tc->name) { | |
180 | head->next = tc; | |
181 | tc->prev = head; | |
182 | head = tc; | |
183 | tc++; | |
184 | } | |
185 | if (next) next->prev = head; | |
186 | head->next = next; | |
187 | ||
188 | return ret; | |
189 | } | |
190 | ||
191 | /* | |
192 | Check the typename | |
193 | */ | |
194 | SWIGRUNTIME swig_type_info * | |
195 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
196 | swig_type_info *s; | |
197 | if (!ty) return 0; /* Void pointer */ | |
198 | s = ty->next; /* First element always just a name */ | |
199 | do { | |
200 | if (strcmp(s->name,c) == 0) { | |
201 | if (s == ty->next) return s; | |
202 | /* Move s to the top of the linked list */ | |
203 | s->prev->next = s->next; | |
204 | if (s->next) { | |
205 | s->next->prev = s->prev; | |
206 | } | |
207 | /* Insert s as second element in the list */ | |
208 | s->next = ty->next; | |
209 | if (ty->next) ty->next->prev = s; | |
210 | ty->next = s; | |
211 | s->prev = ty; | |
212 | return s; | |
213 | } | |
214 | s = s->next; | |
215 | } while (s && (s != ty->next)); | |
216 | return 0; | |
217 | } | |
218 | ||
219 | /* | |
220 | Cast a pointer up an inheritance hierarchy | |
221 | */ | |
222 | SWIGRUNTIMEINLINE void * | |
223 | SWIG_TypeCast(swig_type_info *ty, void *ptr) { | |
224 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
225 | } | |
226 | ||
227 | /* | |
228 | Dynamic pointer casting. Down an inheritance hierarchy | |
229 | */ | |
230 | SWIGRUNTIME swig_type_info * | |
231 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
232 | swig_type_info *lastty = ty; | |
233 | if (!ty || !ty->dcast) return ty; | |
234 | while (ty && (ty->dcast)) { | |
235 | ty = (*ty->dcast)(ptr); | |
236 | if (ty) lastty = ty; | |
237 | } | |
238 | return lastty; | |
239 | } | |
240 | ||
241 | /* | |
242 | Return the name associated with this type | |
243 | */ | |
244 | SWIGRUNTIMEINLINE const char * | |
245 | SWIG_TypeName(const swig_type_info *ty) { | |
246 | return ty->name; | |
247 | } | |
248 | ||
249 | /* | |
250 | Return the pretty name associated with this type, | |
251 | that is an unmangled type name in a form presentable to the user. | |
252 | */ | |
253 | SWIGRUNTIME const char * | |
254 | SWIG_TypePrettyName(const swig_type_info *type) { | |
255 | /* The "str" field contains the equivalent pretty names of the | |
256 | type, separated by vertical-bar characters. We choose | |
257 | to print the last name, as it is often (?) the most | |
258 | specific. */ | |
259 | if (type->str != NULL) { | |
260 | const char *last_name = type->str; | |
261 | const char *s; | |
262 | for (s = type->str; *s; s++) | |
263 | if (*s == '|') last_name = s+1; | |
264 | return last_name; | |
265 | } | |
266 | else | |
267 | return type->name; | |
268 | } | |
269 | ||
270 | /* | |
271 | Search for a swig_type_info structure | |
272 | */ | |
273 | SWIGRUNTIME swig_type_info * | |
274 | SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { | |
275 | swig_type_info *ty = tl; | |
276 | while (ty) { | |
277 | if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; | |
278 | if (ty->name && (strcmp(name,ty->name) == 0)) return ty; | |
279 | ty = ty->prev; | |
280 | } | |
281 | return 0; | |
282 | } | |
283 | ||
284 | /* | |
285 | Set the clientdata field for a type | |
286 | */ | |
287 | SWIGRUNTIME void | |
288 | SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { | |
289 | swig_type_info *tc, *equiv; | |
290 | if (ti->clientdata) return; | |
291 | /* if (ti->clientdata == clientdata) return; */ | |
292 | ti->clientdata = clientdata; | |
293 | equiv = ti->next; | |
294 | while (equiv) { | |
295 | if (!equiv->converter) { | |
296 | tc = tl; | |
297 | while (tc) { | |
298 | if ((strcmp(tc->name, equiv->name) == 0)) | |
299 | SWIG_TypeClientDataTL(tl,tc,clientdata); | |
300 | tc = tc->prev; | |
301 | } | |
302 | } | |
303 | equiv = equiv->next; | |
304 | } | |
305 | } | |
306 | ||
307 | /* | |
308 | Pack binary data into a string | |
309 | */ | |
310 | SWIGRUNTIME char * | |
311 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
312 | static char hex[17] = "0123456789abcdef"; | |
313 | unsigned char *u = (unsigned char *) ptr; | |
314 | const unsigned char *eu = u + sz; | |
315 | register unsigned char uu; | |
316 | for (; u != eu; ++u) { | |
317 | uu = *u; | |
318 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
319 | *(c++) = hex[uu & 0xf]; | |
320 | } | |
321 | return c; | |
322 | } | |
323 | ||
324 | /* | |
325 | Unpack binary data from a string | |
326 | */ | |
327 | SWIGRUNTIME const char * | |
328 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
329 | register unsigned char *u = (unsigned char *) ptr; | |
330 | register const unsigned char *eu = u + sz; | |
331 | for (; u != eu; ++u) { | |
332 | register int d = *(c++); | |
333 | register unsigned char uu = 0; | |
334 | if ((d >= '0') && (d <= '9')) | |
335 | uu = ((d - '0') << 4); | |
336 | else if ((d >= 'a') && (d <= 'f')) | |
337 | uu = ((d - ('a'-10)) << 4); | |
338 | else | |
339 | return (char *) 0; | |
340 | d = *(c++); | |
341 | if ((d >= '0') && (d <= '9')) | |
342 | uu |= (d - '0'); | |
343 | else if ((d >= 'a') && (d <= 'f')) | |
344 | uu |= (d - ('a'-10)); | |
345 | else | |
346 | return (char *) 0; | |
347 | *u = uu; | |
348 | } | |
349 | return c; | |
350 | } | |
351 | ||
352 | /* | |
353 | This function will propagate the clientdata field of type to any new | |
354 | swig_type_info structures that have been added into the list of | |
355 | equivalent types. It is like calling SWIG_TypeClientData(type, | |
356 | clientdata) a second time. | |
357 | */ | |
358 | SWIGRUNTIME void | |
359 | SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { | |
360 | swig_type_info *equiv = type->next; | |
361 | swig_type_info *tc; | |
362 | if (!type->clientdata) return; | |
363 | while (equiv) { | |
364 | if (!equiv->converter) { | |
365 | tc = tl; | |
366 | while (tc) { | |
367 | if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) | |
368 | SWIG_TypeClientDataTL(tl,tc, type->clientdata); | |
369 | tc = tc->prev; | |
370 | } | |
371 | } | |
372 | equiv = equiv->next; | |
373 | } | |
374 | } | |
cfe5e918 | 375 | |
3004cfd8 RD |
376 | /* |
377 | Pack 'void *' into a string buffer. | |
378 | */ | |
379 | SWIGRUNTIME char * | |
380 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
381 | char *r = buff; | |
382 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
383 | *(r++) = '_'; | |
384 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
385 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
386 | strcpy(r,name); | |
387 | return buff; | |
388 | } | |
389 | ||
390 | SWIGRUNTIME const char * | |
391 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
392 | if (*c != '_') { | |
393 | if (strcmp(c,"NULL") == 0) { | |
394 | *ptr = (void *) 0; | |
395 | return name; | |
396 | } else { | |
397 | return 0; | |
398 | } | |
399 | } | |
400 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
401 | } | |
402 | ||
403 | SWIGRUNTIME char * | |
404 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
405 | char *r = buff; | |
406 | size_t lname = (name ? strlen(name) : 0); | |
407 | if ((2*sz + 2 + lname) > bsz) return 0; | |
408 | *(r++) = '_'; | |
409 | r = SWIG_PackData(r,ptr,sz); | |
410 | if (lname) { | |
411 | strncpy(r,name,lname+1); | |
412 | } else { | |
413 | *r = 0; | |
414 | } | |
415 | return buff; | |
416 | } | |
cfe5e918 | 417 | |
3004cfd8 RD |
418 | SWIGRUNTIME const char * |
419 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
420 | if (*c != '_') { | |
421 | if (strcmp(c,"NULL") == 0) { | |
422 | memset(ptr,0,sz); | |
423 | return name; | |
424 | } else { | |
425 | return 0; | |
426 | } | |
427 | } | |
428 | return SWIG_UnpackData(++c,ptr,sz); | |
429 | } | |
cfe5e918 RD |
430 | |
431 | #ifdef __cplusplus | |
432 | } | |
433 | #endif | |
434 | ||
435 | /*********************************************************************** | |
3004cfd8 RD |
436 | * common.swg |
437 | * | |
438 | * This file contains generic SWIG runtime support for pointer | |
439 | * type checking as well as a few commonly used macros to control | |
440 | * external linkage. | |
cfe5e918 | 441 | * |
3004cfd8 | 442 | * Author : David Beazley (beazley@cs.uchicago.edu) |
cfe5e918 | 443 | * |
3004cfd8 RD |
444 | * Copyright (c) 1999-2000, The University of Chicago |
445 | * | |
446 | * This file may be freely redistributed without license or fee provided | |
447 | * this copyright message remains intact. | |
cfe5e918 RD |
448 | ************************************************************************/ |
449 | ||
3004cfd8 RD |
450 | |
451 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
452 | # if !defined(STATIC_LINKED) | |
453 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
454 | # else | |
455 | # define SWIGEXPORT(a) a | |
456 | # endif | |
457 | #else | |
458 | # define SWIGEXPORT(a) a | |
459 | #endif | |
460 | ||
cfe5e918 RD |
461 | #ifdef __cplusplus |
462 | extern "C" { | |
463 | #endif | |
464 | ||
cfe5e918 | 465 | |
3004cfd8 | 466 | /*************************************************************************/ |
cfe5e918 | 467 | |
cfe5e918 | 468 | |
3004cfd8 | 469 | /* The static type info list */ |
cfe5e918 | 470 | |
3004cfd8 RD |
471 | static swig_type_info *swig_type_list = 0; |
472 | static swig_type_info **swig_type_list_handle = &swig_type_list; | |
473 | ||
cfe5e918 | 474 | |
3004cfd8 RD |
475 | /* Register a type mapping with the type-checking */ |
476 | static swig_type_info * | |
477 | SWIG_TypeRegister(swig_type_info *ti) { | |
478 | return SWIG_TypeRegisterTL(swig_type_list_handle, ti); | |
479 | } | |
cfe5e918 | 480 | |
3004cfd8 RD |
481 | /* Search for a swig_type_info structure */ |
482 | static swig_type_info * | |
483 | SWIG_TypeQuery(const char *name) { | |
484 | return SWIG_TypeQueryTL(*swig_type_list_handle, name); | |
485 | } | |
cfe5e918 | 486 | |
3004cfd8 RD |
487 | /* Set the clientdata field for a type */ |
488 | static void | |
489 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
490 | SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); | |
491 | } | |
cfe5e918 | 492 | |
3004cfd8 RD |
493 | /* This function will propagate the clientdata field of type to |
494 | * any new swig_type_info structures that have been added into the list | |
495 | * of equivalent types. It is like calling | |
496 | * SWIG_TypeClientData(type, clientdata) a second time. | |
497 | */ | |
498 | static void | |
499 | SWIG_PropagateClientData(swig_type_info *type) { | |
500 | SWIG_PropagateClientDataTL(*swig_type_list_handle, type); | |
501 | } | |
cfe5e918 RD |
502 | |
503 | #ifdef __cplusplus | |
504 | } | |
505 | #endif | |
506 | ||
3004cfd8 RD |
507 | /* ----------------------------------------------------------------------------- |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 510 | |
3004cfd8 RD |
511 | #ifdef __cplusplus |
512 | extern "C" { | |
513 | #endif | |
c32bde28 | 514 | |
3004cfd8 RD |
515 | /* ----------------------------------------------------------------------------- |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 518 | |
3004cfd8 RD |
519 | #ifndef SWIGINTERN |
520 | #define SWIGINTERN static | |
521 | #endif | |
cfe5e918 | 522 | |
3004cfd8 RD |
523 | #ifndef SWIGINTERNSHORT |
524 | #ifdef __cplusplus | |
525 | #define SWIGINTERNSHORT static inline | |
526 | #else /* C case */ | |
527 | #define SWIGINTERNSHORT static | |
528 | #endif /* __cplusplus */ | |
529 | #endif | |
cfe5e918 RD |
530 | |
531 | ||
3004cfd8 RD |
532 | /* |
533 | Exception handling in wrappers | |
534 | */ | |
535 | #define SWIG_fail goto fail | |
536 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
537 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
538 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
539 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
540 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
541 | ||
542 | /* | |
543 | Contract support | |
544 | */ | |
545 | #define SWIG_contract_assert(expr, msg) \ | |
546 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
547 | ||
548 | /* ----------------------------------------------------------------------------- | |
549 | * Constant declarations | |
550 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 551 | |
3004cfd8 RD |
552 | /* Constant Types */ |
553 | #define SWIG_PY_INT 1 | |
554 | #define SWIG_PY_FLOAT 2 | |
555 | #define SWIG_PY_STRING 3 | |
556 | #define SWIG_PY_POINTER 4 | |
557 | #define SWIG_PY_BINARY 5 | |
558 | ||
559 | /* Constant information structure */ | |
560 | typedef struct swig_const_info { | |
561 | int type; | |
562 | char *name; | |
563 | long lvalue; | |
564 | double dvalue; | |
565 | void *pvalue; | |
566 | swig_type_info **ptype; | |
567 | } swig_const_info; | |
cfe5e918 | 568 | |
c32bde28 | 569 | |
3004cfd8 RD |
570 | /* ----------------------------------------------------------------------------- |
571 | * Alloc. memory flags | |
572 | * ----------------------------------------------------------------------------- */ | |
c32bde28 RD |
573 | #define SWIG_OLDOBJ 1 |
574 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
575 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
cfe5e918 RD |
576 | |
577 | #ifdef __cplusplus | |
3004cfd8 RD |
578 | } |
579 | #endif | |
cfe5e918 | 580 | |
cfe5e918 | 581 | |
3004cfd8 RD |
582 | /*********************************************************************** |
583 | * pyrun.swg | |
584 | * | |
585 | * This file contains the runtime support for Python modules | |
586 | * and includes code for managing global variables and pointer | |
587 | * type checking. | |
588 | * | |
589 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
590 | ************************************************************************/ | |
cfe5e918 | 591 | |
3004cfd8 RD |
592 | /* Common SWIG API */ |
593 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
594 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
595 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
596 | ||
cfe5e918 | 597 | |
3004cfd8 RD |
598 | /* Python-specific SWIG API */ |
599 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
600 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
cfe5e918 RD |
601 | |
602 | ||
3004cfd8 RD |
603 | /* ----------------------------------------------------------------------------- |
604 | * Pointer declarations | |
605 | * ----------------------------------------------------------------------------- */ | |
606 | /* | |
607 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
608 | C/C++ pointers in the python side. Very useful for debugging, but | |
609 | not always safe. | |
610 | */ | |
611 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
612 | # define SWIG_COBJECT_TYPES | |
613 | #endif | |
cfe5e918 | 614 | |
3004cfd8 RD |
615 | /* Flags for pointer conversion */ |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
cfe5e918 | 618 | |
cfe5e918 | 619 | |
3004cfd8 RD |
620 | #ifdef __cplusplus |
621 | extern "C" { | |
622 | #endif | |
cfe5e918 | 623 | |
3004cfd8 RD |
624 | /* ----------------------------------------------------------------------------- |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 627 | |
3004cfd8 RD |
628 | #ifndef SWIG_BUFFER_SIZE |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
cfe5e918 | 631 | |
3004cfd8 RD |
632 | #if defined(SWIG_COBJECT_TYPES) |
633 | #if !defined(SWIG_COBJECT_PYTHON) | |
634 | /* ----------------------------------------------------------------------------- | |
635 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
636 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 637 | |
3004cfd8 RD |
638 | typedef struct { |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
cfe5e918 | 643 | |
3004cfd8 | 644 | /* Declarations for objects of type PySwigObject */ |
cfe5e918 | 645 | |
3004cfd8 RD |
646 | SWIGRUNTIME int |
647 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
648 | { | |
649 | char result[SWIG_BUFFER_SIZE]; | |
650 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { | |
651 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
652 | return 0; | |
c32bde28 | 653 | } else { |
3004cfd8 | 654 | return 1; |
c32bde28 | 655 | } |
cfe5e918 | 656 | } |
3004cfd8 RD |
657 | |
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
c32bde28 | 660 | { |
3004cfd8 RD |
661 | char result[SWIG_BUFFER_SIZE]; |
662 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
663 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
c32bde28 | 664 | } |
cfe5e918 | 665 | |
3004cfd8 RD |
666 | SWIGRUNTIME PyObject * |
667 | PySwigObject_str(PySwigObject *v) | |
cfe5e918 | 668 | { |
3004cfd8 RD |
669 | char result[SWIG_BUFFER_SIZE]; |
670 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
671 | PyString_FromString(result) : 0; | |
cfe5e918 RD |
672 | } |
673 | ||
3004cfd8 RD |
674 | SWIGRUNTIME PyObject * |
675 | PySwigObject_long(PySwigObject *v) | |
cfe5e918 | 676 | { |
3004cfd8 | 677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); |
cfe5e918 RD |
678 | } |
679 | ||
3004cfd8 RD |
680 | SWIGRUNTIME PyObject * |
681 | PySwigObject_oct(PySwigObject *v) | |
c32bde28 | 682 | { |
3004cfd8 RD |
683 | char buf[100]; |
684 | unsigned long x = (unsigned long)v->ptr; | |
685 | if (x == 0) | |
686 | strcpy(buf, "0"); | |
687 | else | |
688 | PyOS_snprintf(buf, sizeof(buf), "0%lo", x); | |
689 | return PyString_FromString(buf); | |
c32bde28 | 690 | } |
cfe5e918 | 691 | |
3004cfd8 RD |
692 | SWIGRUNTIME PyObject * |
693 | PySwigObject_hex(PySwigObject *v) | |
cfe5e918 | 694 | { |
3004cfd8 RD |
695 | char buf[100]; |
696 | PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); | |
697 | return PyString_FromString(buf); | |
cfe5e918 RD |
698 | } |
699 | ||
3004cfd8 RD |
700 | SWIGRUNTIME int |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
cfe5e918 | 702 | { |
3004cfd8 RD |
703 | int c = strcmp(v->desc, w->desc); |
704 | if (c) { | |
705 | return c; | |
706 | } else { | |
707 | void *i = v->ptr; | |
708 | void *j = w->ptr; | |
709 | return (i < j) ? -1 : (i > j) ? 1 : 0; | |
c32bde28 | 710 | } |
3004cfd8 RD |
711 | } |
712 | ||
713 | SWIGRUNTIME void | |
714 | PySwigObject_dealloc(PySwigObject *self) | |
715 | { | |
716 | PyObject_DEL(self); | |
717 | } | |
718 | ||
719 | SWIGRUNTIME PyTypeObject* | |
720 | PySwigObject_GetType() { | |
721 | static char PySwigObject_Type__doc__[] = | |
722 | "Swig object carries a C/C++ instance pointer"; | |
723 | ||
724 | static PyNumberMethods PySwigObject_as_number = { | |
725 | (binaryfunc)0, /*nb_add*/ | |
726 | (binaryfunc)0, /*nb_subtract*/ | |
727 | (binaryfunc)0, /*nb_multiply*/ | |
728 | (binaryfunc)0, /*nb_divide*/ | |
729 | (binaryfunc)0, /*nb_remainder*/ | |
730 | (binaryfunc)0, /*nb_divmod*/ | |
731 | (ternaryfunc)0,/*nb_power*/ | |
732 | (unaryfunc)0, /*nb_negative*/ | |
733 | (unaryfunc)0, /*nb_positive*/ | |
734 | (unaryfunc)0, /*nb_absolute*/ | |
735 | (inquiry)0, /*nb_nonzero*/ | |
736 | 0, /*nb_invert*/ | |
737 | 0, /*nb_lshift*/ | |
738 | 0, /*nb_rshift*/ | |
739 | 0, /*nb_and*/ | |
740 | 0, /*nb_xor*/ | |
741 | 0, /*nb_or*/ | |
742 | (coercion)0, /*nb_coerce*/ | |
743 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
744 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
745 | (unaryfunc)0, /*nb_float*/ | |
746 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
747 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
748 | #if PY_VERSION_HEX >= 0x02000000 | |
749 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
750 | #endif | |
751 | }; | |
752 | ||
753 | static int type_init = 0; | |
754 | static PyTypeObject PySwigObject_Type; | |
755 | ||
756 | if (!type_init) { | |
757 | PyTypeObject tmp = { | |
758 | PyObject_HEAD_INIT(&PyType_Type) | |
759 | 0, /*ob_size*/ | |
760 | "PySwigObject", /*tp_name*/ | |
761 | sizeof(PySwigObject), /*tp_basicsize*/ | |
762 | 0, /*tp_itemsize*/ | |
763 | /* methods */ | |
764 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
765 | (printfunc)PySwigObject_print, /*tp_print*/ | |
766 | (getattrfunc)0, /*tp_getattr*/ | |
767 | (setattrfunc)0, /*tp_setattr*/ | |
768 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
769 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
770 | &PySwigObject_as_number, /*tp_as_number*/ | |
771 | 0, /*tp_as_sequence*/ | |
772 | 0, /*tp_as_mapping*/ | |
773 | (hashfunc)0, /*tp_hash*/ | |
774 | (ternaryfunc)0, /*tp_call*/ | |
775 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
776 | /* Space for future expansion */ | |
777 | 0L,0L,0L,0L, | |
778 | PySwigObject_Type__doc__, /* Documentation string */ | |
779 | #if PY_VERSION_HEX >= 0x02000000 | |
780 | 0, /* tp_traverse */ | |
781 | 0, /* tp_clear */ | |
782 | #endif | |
783 | #if PY_VERSION_HEX >= 0x02010000 | |
784 | 0, /* tp_richcompare */ | |
785 | 0, /* tp_weaklistoffset */ | |
786 | #endif | |
787 | #if PY_VERSION_HEX >= 0x02020000 | |
788 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
789 | #endif | |
790 | #if PY_VERSION_HEX >= 0x02030000 | |
791 | 0, /* tp_del */ | |
792 | #endif | |
793 | #ifdef COUNT_ALLOCS | |
794 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
795 | #endif | |
796 | }; | |
797 | ||
798 | PySwigObject_Type = tmp; | |
799 | type_init = 1; | |
c32bde28 | 800 | } |
3004cfd8 RD |
801 | |
802 | return &PySwigObject_Type; | |
803 | } | |
804 | ||
805 | SWIGRUNTIME PyObject * | |
806 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
807 | { | |
808 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); | |
809 | if (self == NULL) return NULL; | |
810 | self->ptr = ptr; | |
811 | self->desc = desc; | |
812 | return (PyObject *)self; | |
813 | } | |
814 | ||
815 | SWIGRUNTIMEINLINE void * | |
816 | PySwigObject_AsVoidPtr(PyObject *self) | |
817 | { | |
818 | return ((PySwigObject *)self)->ptr; | |
819 | } | |
820 | ||
821 | SWIGRUNTIMEINLINE const char * | |
822 | PySwigObject_GetDesc(PyObject *self) | |
823 | { | |
824 | return ((PySwigObject *)self)->desc; | |
825 | } | |
826 | ||
827 | SWIGRUNTIMEINLINE int | |
828 | PySwigObject_Check(PyObject *op) { | |
829 | return ((op)->ob_type == PySwigObject_GetType()) | |
830 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
831 | } | |
832 | ||
833 | /* ----------------------------------------------------------------------------- | |
834 | * Implements a simple Swig Packed type, and use it instead of string | |
835 | * ----------------------------------------------------------------------------- */ | |
836 | ||
837 | typedef struct { | |
838 | PyObject_HEAD | |
839 | void *pack; | |
840 | const char *desc; | |
841 | size_t size; | |
842 | } PySwigPacked; | |
843 | ||
844 | SWIGRUNTIME int | |
845 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
846 | { | |
847 | char result[SWIG_BUFFER_SIZE]; | |
848 | fputs("<Swig Packed ", fp); | |
849 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
850 | fputs("at ", fp); | |
851 | fputs(result, fp); | |
c32bde28 | 852 | } |
3004cfd8 RD |
853 | fputs(v->desc,fp); |
854 | fputs(">", fp); | |
855 | return 0; | |
856 | } | |
857 | ||
858 | SWIGRUNTIME PyObject * | |
859 | PySwigPacked_repr(PySwigPacked *v) | |
860 | { | |
861 | char result[SWIG_BUFFER_SIZE]; | |
862 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
863 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
864 | } else { | |
865 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
866 | } | |
c32bde28 RD |
867 | } |
868 | ||
3004cfd8 RD |
869 | SWIGRUNTIME PyObject * |
870 | PySwigPacked_str(PySwigPacked *v) | |
871 | { | |
872 | char result[SWIG_BUFFER_SIZE]; | |
873 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
874 | return PyString_FromFormat("%s%s", result, v->desc); | |
875 | } else { | |
876 | return PyString_FromFormat("%s", v->desc); | |
877 | } | |
878 | } | |
c32bde28 | 879 | |
3004cfd8 RD |
880 | SWIGRUNTIME int |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
c32bde28 | 882 | { |
3004cfd8 RD |
883 | int c = strcmp(v->desc, w->desc); |
884 | if (c) { | |
885 | return c; | |
886 | } else { | |
887 | size_t i = v->size; | |
888 | size_t j = w->size; | |
889 | int s = (i < j) ? -1 : (i > j) ? 1 : 0; | |
890 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
c32bde28 | 891 | } |
c32bde28 RD |
892 | } |
893 | ||
3004cfd8 RD |
894 | SWIGRUNTIME void |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
c32bde28 | 896 | { |
3004cfd8 RD |
897 | free(self->pack); |
898 | PyObject_DEL(self); | |
cfe5e918 RD |
899 | } |
900 | ||
3004cfd8 RD |
901 | SWIGRUNTIME PyTypeObject* |
902 | PySwigPacked_GetType() { | |
903 | static char PySwigPacked_Type__doc__[] = | |
904 | "Swig object carries a C/C++ instance pointer"; | |
905 | static int type_init = 0; | |
906 | ||
907 | static PyTypeObject PySwigPacked_Type; | |
908 | if (!type_init) { | |
909 | PyTypeObject tmp = { | |
910 | PyObject_HEAD_INIT(&PyType_Type) | |
911 | 0, /*ob_size*/ | |
912 | "PySwigPacked", /*tp_name*/ | |
913 | sizeof(PySwigPacked), /*tp_basicsize*/ | |
914 | 0, /*tp_itemsize*/ | |
915 | /* methods */ | |
916 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
917 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
918 | (getattrfunc)0, /*tp_getattr*/ | |
919 | (setattrfunc)0, /*tp_setattr*/ | |
920 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
921 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
922 | 0, /*tp_as_number*/ | |
923 | 0, /*tp_as_sequence*/ | |
924 | 0, /*tp_as_mapping*/ | |
925 | (hashfunc)0, /*tp_hash*/ | |
926 | (ternaryfunc)0, /*tp_call*/ | |
927 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
928 | /* Space for future expansion */ | |
929 | 0L,0L,0L,0L, | |
930 | PySwigPacked_Type__doc__, /* Documentation string */ | |
931 | #if PY_VERSION_HEX >= 0x02000000 | |
932 | 0, /* tp_traverse */ | |
933 | 0, /* tp_clear */ | |
934 | #endif | |
935 | #if PY_VERSION_HEX >= 0x02010000 | |
936 | 0, /* tp_richcompare */ | |
937 | 0, /* tp_weaklistoffset */ | |
938 | #endif | |
939 | #if PY_VERSION_HEX >= 0x02020000 | |
940 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
941 | #endif | |
942 | #if PY_VERSION_HEX >= 0x02030000 | |
943 | 0, /* tp_del */ | |
944 | #endif | |
945 | #ifdef COUNT_ALLOCS | |
946 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
947 | #endif | |
948 | }; | |
cfe5e918 | 949 | |
3004cfd8 RD |
950 | PySwigPacked_Type = tmp; |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
cfe5e918 | 955 | |
3004cfd8 RD |
956 | return &PySwigPacked_Type; |
957 | } | |
958 | ||
959 | SWIGRUNTIME PyObject * | |
960 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
961 | { | |
962 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); | |
963 | if (self == NULL) { | |
964 | return NULL; | |
965 | } else { | |
966 | void *pack = malloc(size); | |
967 | memcpy(pack, ptr, size); | |
968 | self->pack = pack; | |
969 | self->desc = desc; | |
970 | self->size = size; | |
971 | return (PyObject *) self; | |
7e63a440 | 972 | } |
3004cfd8 RD |
973 | } |
974 | ||
975 | SWIGRUNTIMEINLINE const char * | |
976 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
977 | { | |
978 | PySwigPacked *self = (PySwigPacked *)obj; | |
979 | if (self->size != size) return 0; | |
980 | memcpy(ptr, self->pack, size); | |
981 | return self->desc; | |
982 | } | |
983 | ||
984 | SWIGRUNTIMEINLINE const char * | |
985 | PySwigPacked_GetDesc(PyObject *self) | |
986 | { | |
987 | return ((PySwigPacked *)self)->desc; | |
988 | } | |
989 | ||
990 | SWIGRUNTIMEINLINE int | |
991 | PySwigPacked_Check(PyObject *op) { | |
992 | return ((op)->ob_type == PySwigPacked_GetType()) | |
993 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
994 | } | |
cfe5e918 | 995 | |
3004cfd8 RD |
996 | #else |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 1000 | |
3004cfd8 RD |
1001 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) |
1002 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1003 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1004 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
c32bde28 | 1005 | |
3004cfd8 RD |
1006 | #endif |
1007 | ||
1008 | #endif | |
1009 | ||
1010 | /* ----------------------------------------------------------------------------- | |
1011 | * errors manipulation | |
1012 | * ----------------------------------------------------------------------------- */ | |
1013 | ||
1014 | SWIGRUNTIME void | |
1015 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
cfe5e918 | 1016 | { |
3004cfd8 RD |
1017 | if (type) { |
1018 | #if defined(SWIG_COBJECT_TYPES) | |
1019 | if (PySwigObject_Check(obj)) { | |
1020 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
1021 | if (otype) { | |
1022 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1023 | type, otype); | |
1024 | return; | |
1025 | } | |
1026 | } else | |
1027 | #endif | |
1028 | { | |
1029 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1030 | if (otype) { | |
1031 | PyObject *str = PyObject_Str(obj); | |
1032 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1033 | if (cstr) { | |
1034 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1035 | type, otype, cstr); | |
1036 | } else { | |
1037 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1038 | type, otype); | |
c32bde28 | 1039 | } |
02b455f2 RD |
1040 | if (str) |
1041 | Py_DECREF(str); | |
3004cfd8 | 1042 | return; |
c32bde28 | 1043 | } |
3004cfd8 RD |
1044 | } |
1045 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1046 | } else { | |
1047 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
cfe5e918 RD |
1048 | } |
1049 | } | |
1050 | ||
3004cfd8 RD |
1051 | SWIGRUNTIMEINLINE void |
1052 | SWIG_Python_NullRef(const char *type) | |
1053 | { | |
1054 | if (type) { | |
1055 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1056 | } else { | |
1057 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1058 | } | |
1059 | } | |
cfe5e918 | 1060 | |
3004cfd8 RD |
1061 | SWIGRUNTIME int |
1062 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
cfe5e918 | 1063 | { |
3004cfd8 RD |
1064 | if (PyErr_Occurred()) { |
1065 | PyObject *type = 0; | |
1066 | PyObject *value = 0; | |
1067 | PyObject *traceback = 0; | |
1068 | PyErr_Fetch(&type, &value, &traceback); | |
1069 | if (value) { | |
1070 | PyObject *old_str = PyObject_Str(value); | |
1071 | Py_XINCREF(type); | |
1072 | PyErr_Clear(); | |
1073 | if (infront) { | |
1074 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1075 | } else { | |
1076 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1077 | } | |
1078 | Py_DECREF(old_str); | |
1079 | } | |
c32bde28 | 1080 | return 1; |
3004cfd8 RD |
1081 | } else { |
1082 | return 0; | |
c32bde28 | 1083 | } |
cfe5e918 RD |
1084 | } |
1085 | ||
3004cfd8 RD |
1086 | SWIGRUNTIME int |
1087 | SWIG_Python_ArgFail(int argnum) | |
1088 | { | |
1089 | if (PyErr_Occurred()) { | |
1090 | /* add information about failing argument */ | |
1091 | char mesg[256]; | |
1092 | sprintf(mesg, "argument number %d:", argnum); | |
1093 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1094 | } else { | |
1095 | return 0; | |
1096 | } | |
cfe5e918 RD |
1097 | } |
1098 | ||
1099 | ||
3004cfd8 RD |
1100 | /* ----------------------------------------------------------------------------- |
1101 | * pointers/data manipulation | |
1102 | * ----------------------------------------------------------------------------- */ | |
1103 | ||
1104 | /* Convert a pointer value */ | |
1105 | SWIGRUNTIME int | |
1106 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1107 | swig_type_info *tc; | |
1108 | const char *c = 0; | |
1109 | static PyObject *SWIG_this = 0; | |
1110 | int newref = 0; | |
1111 | PyObject *pyobj = 0; | |
1112 | void *vptr; | |
1113 | ||
1114 | if (!obj) return 0; | |
1115 | if (obj == Py_None) { | |
1116 | *ptr = 0; | |
1117 | return 0; | |
1118 | } | |
1119 | ||
1120 | #ifdef SWIG_COBJECT_TYPES | |
1121 | if (!(PySwigObject_Check(obj))) { | |
1122 | if (!SWIG_this) | |
1123 | SWIG_this = PyString_FromString("this"); | |
1124 | pyobj = obj; | |
1125 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1126 | newref = 1; | |
1127 | if (!obj) goto type_error; | |
1128 | if (!PySwigObject_Check(obj)) { | |
1129 | Py_DECREF(obj); | |
1130 | goto type_error; | |
1131 | } | |
1132 | } | |
1133 | vptr = PySwigObject_AsVoidPtr(obj); | |
1134 | c = (const char *) PySwigObject_GetDesc(obj); | |
1135 | if (newref) { Py_DECREF(obj); } | |
1136 | goto type_check; | |
cfe5e918 | 1137 | #else |
3004cfd8 RD |
1138 | if (!(PyString_Check(obj))) { |
1139 | if (!SWIG_this) | |
1140 | SWIG_this = PyString_FromString("this"); | |
1141 | pyobj = obj; | |
1142 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1143 | newref = 1; | |
1144 | if (!obj) goto type_error; | |
1145 | if (!PyString_Check(obj)) { | |
1146 | Py_DECREF(obj); | |
1147 | goto type_error; | |
1148 | } | |
1149 | } | |
1150 | c = PyString_AS_STRING(obj); | |
1151 | /* Pointer values must start with leading underscore */ | |
1152 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1153 | if (newref) { Py_DECREF(obj); } | |
1154 | if (!c) goto type_error; | |
cfe5e918 | 1155 | #endif |
cfe5e918 | 1156 | |
3004cfd8 | 1157 | type_check: |
cfe5e918 | 1158 | |
3004cfd8 RD |
1159 | if (ty) { |
1160 | tc = SWIG_TypeCheck(c,ty); | |
1161 | if (!tc) goto type_error; | |
1162 | *ptr = SWIG_TypeCast(tc,vptr); | |
1163 | } else { | |
1164 | *ptr = vptr; | |
1165 | } | |
1166 | ||
1167 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { | |
1168 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1169 | } | |
1170 | return 0; | |
1171 | ||
1172 | type_error: | |
1173 | PyErr_Clear(); | |
1174 | if (pyobj && !obj) { | |
1175 | obj = pyobj; | |
1176 | if (PyCFunction_Check(obj)) { | |
1177 | /* here we get the method pointer for callbacks */ | |
1178 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1179 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1180 | if (c) { | |
1181 | c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); | |
1182 | if (!c) goto type_error; | |
1183 | goto type_check; | |
1184 | } | |
cfe5e918 | 1185 | } |
3004cfd8 RD |
1186 | } |
1187 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1188 | if (ty) { | |
1189 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1190 | } else { | |
1191 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
cfe5e918 | 1192 | } |
3004cfd8 RD |
1193 | } |
1194 | return -1; | |
1195 | } | |
1196 | ||
1197 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
1198 | SWIGRUNTIME void * | |
1199 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1200 | void *result; | |
1201 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1202 | PyErr_Clear(); | |
1203 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1204 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1205 | SWIG_Python_ArgFail(argnum); | |
cfe5e918 | 1206 | } |
3004cfd8 RD |
1207 | } |
1208 | return result; | |
cfe5e918 RD |
1209 | } |
1210 | ||
3004cfd8 RD |
1211 | /* Convert a packed value value */ |
1212 | SWIGRUNTIME int | |
1213 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1214 | swig_type_info *tc; | |
1215 | const char *c = 0; | |
cfe5e918 | 1216 | |
3004cfd8 RD |
1217 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) |
1218 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1219 | #else | |
1220 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1221 | c = PyString_AS_STRING(obj); | |
1222 | /* Pointer values must start with leading underscore */ | |
1223 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1224 | #endif | |
1225 | if (!c) goto type_error; | |
1226 | if (ty) { | |
1227 | tc = SWIG_TypeCheck(c,ty); | |
1228 | if (!tc) goto type_error; | |
1229 | } | |
1230 | return 0; | |
1231 | ||
1232 | type_error: | |
1233 | PyErr_Clear(); | |
1234 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1235 | if (ty) { | |
1236 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1237 | } else { | |
1238 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
cfe5e918 | 1239 | } |
3004cfd8 RD |
1240 | } |
1241 | return -1; | |
1242 | } | |
1243 | ||
1244 | /* Create a new array object */ | |
1245 | SWIGRUNTIME PyObject * | |
1246 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1247 | PyObject *robj = 0; | |
1248 | if (!ptr) { | |
1249 | Py_INCREF(Py_None); | |
1250 | return Py_None; | |
1251 | } | |
1252 | #ifdef SWIG_COBJECT_TYPES | |
1253 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1254 | #else | |
1255 | { | |
1256 | char result[SWIG_BUFFER_SIZE]; | |
1257 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1258 | PyString_FromString(result) : 0; | |
1259 | } | |
1260 | #endif | |
1261 | if (!robj || (robj == Py_None)) return robj; | |
1262 | if (type->clientdata) { | |
1263 | PyObject *inst; | |
1264 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1265 | Py_DECREF(robj); | |
1266 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1267 | Py_DECREF(args); | |
1268 | if (inst) { | |
1269 | if (own) { | |
1270 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1271 | } | |
1272 | robj = inst; | |
1273 | } | |
1274 | } | |
1275 | return robj; | |
cfe5e918 RD |
1276 | } |
1277 | ||
3004cfd8 RD |
1278 | SWIGRUNTIME PyObject * |
1279 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1280 | PyObject *robj = 0; | |
1281 | if (!ptr) { | |
1282 | Py_INCREF(Py_None); | |
1283 | return Py_None; | |
1284 | } | |
1285 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1286 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1287 | #else | |
1288 | { | |
1289 | char result[SWIG_BUFFER_SIZE]; | |
1290 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1291 | PyString_FromString(result) : 0; | |
1292 | } | |
1293 | #endif | |
1294 | return robj; | |
1295 | } | |
cfe5e918 | 1296 | |
3004cfd8 RD |
1297 | /* -----------------------------------------------------------------------------* |
1298 | * Get type list | |
1299 | * -----------------------------------------------------------------------------*/ | |
1300 | ||
1301 | #ifdef SWIG_LINK_RUNTIME | |
1302 | void *SWIG_ReturnGlobalTypeList(void *); | |
1303 | #endif | |
1304 | ||
1305 | SWIGRUNTIME swig_type_info ** | |
1306 | SWIG_Python_GetTypeListHandle() { | |
1307 | static void *type_pointer = (void *)0; | |
1308 | /* first check if module already created */ | |
1309 | if (!type_pointer) { | |
1310 | #ifdef SWIG_LINK_RUNTIME | |
1311 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1312 | #else | |
1313 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1314 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1315 | if (PyErr_Occurred()) { | |
1316 | PyErr_Clear(); | |
1317 | type_pointer = (void *)0; | |
cfe5e918 | 1318 | } |
3004cfd8 RD |
1319 | } |
1320 | #endif | |
1321 | return (swig_type_info **) type_pointer; | |
cfe5e918 RD |
1322 | } |
1323 | ||
3004cfd8 RD |
1324 | /* |
1325 | Search for a swig_type_info structure | |
1326 | */ | |
1327 | SWIGRUNTIMEINLINE swig_type_info * | |
1328 | SWIG_Python_GetTypeList() { | |
1329 | swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); | |
1330 | return tlh ? *tlh : (swig_type_info*)0; | |
1331 | } | |
cfe5e918 | 1332 | |
3004cfd8 RD |
1333 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList |
1334 | ||
1335 | #ifdef __cplusplus | |
cfe5e918 | 1336 | } |
3004cfd8 | 1337 | #endif |
cfe5e918 RD |
1338 | |
1339 | ||
3004cfd8 RD |
1340 | /* -------- TYPES TABLE (BEGIN) -------- */ |
1341 | ||
1342 | #define SWIGTYPE_p_wxRect swig_types[0] | |
1343 | #define SWIGTYPE_p_wxObject swig_types[1] | |
1344 | #define SWIGTYPE_p_unsigned_char swig_types[2] | |
1345 | #define SWIGTYPE_p_wxColour swig_types[3] | |
1346 | #define SWIGTYPE_p_wxScrollBar swig_types[4] | |
02b455f2 RD |
1347 | #define SWIGTYPE_p_wxCharBuffer swig_types[5] |
1348 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[6] | |
1349 | #define SWIGTYPE_p_wxWindow swig_types[7] | |
1350 | #define SWIGTYPE_p_wxCommandEvent swig_types[8] | |
1351 | #define SWIGTYPE_p_unsigned_long swig_types[9] | |
1352 | #define SWIGTYPE_p_wxBitmap swig_types[10] | |
1353 | #define SWIGTYPE_p_unsigned_int swig_types[11] | |
1354 | #define SWIGTYPE_unsigned_int swig_types[12] | |
1355 | #define SWIGTYPE_p_form_ops_t swig_types[13] | |
1356 | #define SWIGTYPE_p_wxDuplexMode swig_types[14] | |
1357 | #define SWIGTYPE_p_void swig_types[15] | |
1358 | #define SWIGTYPE_p_char swig_types[16] | |
1359 | #define SWIGTYPE_p_wxPoint swig_types[17] | |
1360 | #define SWIGTYPE_p_wxDC swig_types[18] | |
1361 | #define SWIGTYPE_p_wxEvtHandler swig_types[19] | |
1362 | #define SWIGTYPE_std__ptrdiff_t swig_types[20] | |
1363 | #define SWIGTYPE_ptrdiff_t swig_types[21] | |
1364 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[22] | |
1365 | #define SWIGTYPE_p_wxFont swig_types[23] | |
1366 | #define SWIGTYPE_p_wxControl swig_types[24] | |
1367 | #define SWIGTYPE_p_wxEvent swig_types[25] | |
1368 | #define SWIGTYPE_p_wxPaperSize swig_types[26] | |
1369 | #define SWIGTYPE_p_int swig_types[27] | |
1370 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[28] | |
1371 | static swig_type_info *swig_types[30]; | |
3004cfd8 RD |
1372 | |
1373 | /* -------- TYPES TABLE (END) -------- */ | |
1374 | ||
1375 | ||
1376 | /*----------------------------------------------- | |
1377 | @(target):= _stc.so | |
1378 | ------------------------------------------------*/ | |
1379 | #define SWIG_init init_stc | |
1380 | ||
1381 | #define SWIG_name "_stc" | |
1382 | ||
1383 | #include "wx/wxPython/wxPython.h" | |
1384 | #include "wx/wxPython/pyclasses.h" | |
1385 | #include <wx/stc/stc.h> | |
1386 | ||
1387 | ||
1388 | static const wxString wxPySTCNameStr(wxSTCNameStr); | |
1389 | ||
1390 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1391 | #define SWIG_From_int PyInt_FromLong | |
1392 | /*@@*/ | |
1393 | ||
1394 | ||
1395 | #include <limits.h> | |
1396 | ||
1397 | ||
1398 | SWIGINTERN int | |
1399 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1400 | const char *errmsg) | |
1401 | { | |
1402 | if (value < min_value) { | |
1403 | if (errmsg) { | |
1404 | PyErr_Format(PyExc_OverflowError, | |
1405 | "value %ld is less than '%s' minimum %ld", | |
1406 | value, errmsg, min_value); | |
cfe5e918 | 1407 | } |
3004cfd8 RD |
1408 | return 0; |
1409 | } else if (value > max_value) { | |
1410 | if (errmsg) { | |
1411 | PyErr_Format(PyExc_OverflowError, | |
1412 | "value %ld is greater than '%s' maximum %ld", | |
1413 | value, errmsg, max_value); | |
cfe5e918 | 1414 | } |
3004cfd8 RD |
1415 | return 0; |
1416 | } | |
1417 | return 1; | |
1418 | } | |
1419 | ||
1420 | ||
1421 | SWIGINTERN int | |
1422 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1423 | { | |
1424 | if (PyNumber_Check(obj)) { | |
1425 | if (val) *val = PyInt_AsLong(obj); | |
1426 | return 1; | |
cfe5e918 | 1427 | } |
3004cfd8 RD |
1428 | else { |
1429 | SWIG_type_error("number", obj); | |
cfe5e918 | 1430 | } |
3004cfd8 | 1431 | return 0; |
cfe5e918 RD |
1432 | } |
1433 | ||
1434 | ||
3004cfd8 RD |
1435 | #if INT_MAX != LONG_MAX |
1436 | SWIGINTERN int | |
1437 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1438 | { | |
1439 | const char* errmsg = val ? "int" : (char*)0; | |
1440 | long v; | |
1441 | if (SWIG_AsVal_long(obj, &v)) { | |
1442 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1443 | if (val) *val = (int)(v); | |
1444 | return 1; | |
1445 | } else { | |
1446 | return 0; | |
cfe5e918 | 1447 | } |
3004cfd8 RD |
1448 | } else { |
1449 | PyErr_Clear(); | |
1450 | } | |
1451 | if (val) { | |
1452 | SWIG_type_error(errmsg, obj); | |
1453 | } | |
1454 | return 0; | |
cfe5e918 | 1455 | } |
3004cfd8 RD |
1456 | #else |
1457 | SWIGINTERNSHORT int | |
1458 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1459 | { | |
1460 | return SWIG_AsVal_long(obj,(long*)val); | |
cfe5e918 | 1461 | } |
3004cfd8 | 1462 | #endif |
cfe5e918 RD |
1463 | |
1464 | ||
3004cfd8 RD |
1465 | SWIGINTERNSHORT int |
1466 | SWIG_As_int(PyObject* obj) | |
1467 | { | |
1468 | int v; | |
1469 | if (!SWIG_AsVal_int(obj, &v)) { | |
1470 | /* | |
1471 | this is needed to make valgrind/purify happier. | |
1472 | */ | |
1473 | memset((void*)&v, 0, sizeof(int)); | |
1474 | } | |
1475 | return v; | |
cfe5e918 RD |
1476 | } |
1477 | ||
1478 | ||
3004cfd8 RD |
1479 | SWIGINTERNSHORT long |
1480 | SWIG_As_long(PyObject* obj) | |
1481 | { | |
1482 | long v; | |
1483 | if (!SWIG_AsVal_long(obj, &v)) { | |
1484 | /* | |
1485 | this is needed to make valgrind/purify happier. | |
1486 | */ | |
1487 | memset((void*)&v, 0, sizeof(long)); | |
1488 | } | |
1489 | return v; | |
cfe5e918 RD |
1490 | } |
1491 | ||
3004cfd8 RD |
1492 | |
1493 | SWIGINTERNSHORT int | |
1494 | SWIG_Check_int(PyObject* obj) | |
1495 | { | |
1496 | return SWIG_AsVal_int(obj, (int*)0); | |
1497 | } | |
cfe5e918 | 1498 | |
3004cfd8 RD |
1499 | |
1500 | SWIGINTERNSHORT int | |
1501 | SWIG_Check_long(PyObject* obj) | |
1502 | { | |
1503 | return SWIG_AsVal_long(obj, (long*)0); | |
cfe5e918 RD |
1504 | } |
1505 | ||
1506 | ||
3004cfd8 RD |
1507 | SWIGINTERN int |
1508 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1509 | { | |
1510 | if (obj == Py_True) { | |
1511 | if (val) *val = true; | |
1512 | return 1; | |
1513 | } | |
1514 | if (obj == Py_False) { | |
1515 | if (val) *val = false; | |
1516 | return 1; | |
1517 | } | |
1518 | int res = 0; | |
1519 | if (SWIG_AsVal_int(obj, &res)) { | |
1520 | if (val) *val = res ? true : false; | |
1521 | return 1; | |
1522 | } else { | |
1523 | PyErr_Clear(); | |
1524 | } | |
1525 | if (val) { | |
1526 | SWIG_type_error("bool", obj); | |
1527 | } | |
1528 | return 0; | |
cfe5e918 RD |
1529 | } |
1530 | ||
1531 | ||
3004cfd8 RD |
1532 | SWIGINTERNSHORT bool |
1533 | SWIG_As_bool(PyObject* obj) | |
1534 | { | |
1535 | bool v; | |
1536 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1537 | /* | |
1538 | this is needed to make valgrind/purify happier. | |
1539 | */ | |
1540 | memset((void*)&v, 0, sizeof(bool)); | |
1541 | } | |
1542 | return v; | |
cfe5e918 RD |
1543 | } |
1544 | ||
3004cfd8 RD |
1545 | |
1546 | SWIGINTERNSHORT int | |
1547 | SWIG_Check_bool(PyObject* obj) | |
1548 | { | |
1549 | return SWIG_AsVal_bool(obj, (bool*)0); | |
cfe5e918 RD |
1550 | } |
1551 | ||
1552 | ||
3004cfd8 RD |
1553 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
1554 | PyObject* o2; | |
1555 | PyObject* o3; | |
1556 | ||
1557 | if (!target) { | |
1558 | target = o; | |
1559 | } else if (target == Py_None) { | |
1560 | Py_DECREF(Py_None); | |
1561 | target = o; | |
1562 | } else { | |
1563 | if (!PyTuple_Check(target)) { | |
1564 | o2 = target; | |
1565 | target = PyTuple_New(1); | |
1566 | PyTuple_SetItem(target, 0, o2); | |
1567 | } | |
1568 | o3 = PyTuple_New(1); | |
1569 | PyTuple_SetItem(o3, 0, o); | |
1570 | ||
1571 | o2 = target; | |
1572 | target = PySequence_Concat(o2, o3); | |
1573 | Py_DECREF(o2); | |
1574 | Py_DECREF(o3); | |
1575 | } | |
1576 | return target; | |
1577 | } | |
1578 | ||
1579 | ||
1580 | ||
1581 | /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ | |
1582 | SWIGINTERN int | |
1583 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) | |
1584 | { | |
1585 | static swig_type_info* pchar_info = 0; | |
1586 | char* vptr = 0; | |
1587 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); | |
1588 | if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { | |
1589 | if (cptr) *cptr = vptr; | |
1590 | if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; | |
1591 | return SWIG_OLDOBJ; | |
1592 | } else { | |
1593 | PyErr_Clear(); | |
1594 | if (PyString_Check(obj)) { | |
1595 | if (cptr) { | |
1596 | *cptr = PyString_AS_STRING(obj); | |
1597 | if (psize) { | |
1598 | *psize = PyString_GET_SIZE(obj) + 1; | |
1599 | } | |
1600 | } | |
1601 | return SWIG_PYSTR; | |
1602 | } | |
1603 | } | |
1604 | if (cptr) { | |
1605 | SWIG_type_error("char *", obj); | |
1606 | } | |
1607 | return 0; | |
1608 | } | |
1609 | ||
1610 | ||
1611 | SWIGINTERNSHORT int | |
1612 | SWIG_AsCharPtr(PyObject *obj, char **val) | |
1613 | { | |
1614 | if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { | |
1615 | return 1; | |
1616 | } | |
1617 | if (val) { | |
1618 | PyErr_Clear(); | |
1619 | SWIG_type_error("char *", obj); | |
1620 | } | |
1621 | return 0; | |
1622 | } | |
1623 | ||
1624 | ||
1625 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1626 | #define SWIG_From_long PyInt_FromLong | |
1627 | /*@@*/ | |
1628 | ||
1629 | #ifdef __cplusplus | |
1630 | extern "C" { | |
1631 | #endif | |
1632 | static int _wrap_STCNameStr_set(PyObject *) { | |
1633 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); | |
1634 | return 1; | |
1635 | } | |
1636 | ||
1637 | ||
1638 | static PyObject *_wrap_STCNameStr_get(void) { | |
1639 | PyObject *pyobj; | |
cfe5e918 | 1640 | |
cfe5e918 | 1641 | { |
3004cfd8 RD |
1642 | #if wxUSE_UNICODE |
1643 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1644 | #else | |
1645 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1646 | #endif | |
cfe5e918 | 1647 | } |
3004cfd8 | 1648 | return pyobj; |
cfe5e918 RD |
1649 | } |
1650 | ||
1651 | ||
3004cfd8 | 1652 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 1653 | PyObject *resultobj; |
3004cfd8 RD |
1654 | wxWindow *arg1 = (wxWindow *) 0 ; |
1655 | int arg2 = (int) wxID_ANY ; | |
1656 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1657 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1658 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1659 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1660 | long arg5 = (long) 0 ; | |
1661 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
1662 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1663 | wxStyledTextCtrl *result; | |
1664 | wxPoint temp3 ; | |
1665 | wxSize temp4 ; | |
1666 | bool temp6 = false ; | |
cfe5e918 RD |
1667 | PyObject * obj0 = 0 ; |
1668 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
1669 | PyObject * obj2 = 0 ; |
1670 | PyObject * obj3 = 0 ; | |
1671 | PyObject * obj4 = 0 ; | |
1672 | PyObject * obj5 = 0 ; | |
cfe5e918 | 1673 | char *kwnames[] = { |
3004cfd8 | 1674 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
cfe5e918 RD |
1675 | }; |
1676 | ||
3004cfd8 RD |
1677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
1678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1680 | if (obj1) { | |
1681 | { | |
1682 | arg2 = (int)(SWIG_As_int(obj1)); | |
1683 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1684 | } | |
1685 | } | |
1686 | if (obj2) { | |
1687 | { | |
1688 | arg3 = &temp3; | |
1689 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1690 | } | |
1691 | } | |
1692 | if (obj3) { | |
1693 | { | |
1694 | arg4 = &temp4; | |
1695 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1696 | } | |
1697 | } | |
1698 | if (obj4) { | |
1699 | { | |
1700 | arg5 = (long)(SWIG_As_long(obj4)); | |
1701 | if (SWIG_arg_fail(5)) SWIG_fail; | |
1702 | } | |
1703 | } | |
1704 | if (obj5) { | |
1705 | { | |
1706 | arg6 = wxString_in_helper(obj5); | |
1707 | if (arg6 == NULL) SWIG_fail; | |
1708 | temp6 = true; | |
1709 | } | |
1710 | } | |
cfe5e918 | 1711 | { |
3004cfd8 | 1712 | if (!wxPyCheckForApp()) SWIG_fail; |
cfe5e918 | 1713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3004cfd8 | 1714 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); |
cfe5e918 RD |
1715 | |
1716 | wxPyEndAllowThreads(__tstate); | |
1717 | if (PyErr_Occurred()) SWIG_fail; | |
1718 | } | |
3004cfd8 RD |
1719 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
1720 | { | |
1721 | if (temp6) | |
1722 | delete arg6; | |
1723 | } | |
cfe5e918 RD |
1724 | return resultobj; |
1725 | fail: | |
3004cfd8 RD |
1726 | { |
1727 | if (temp6) | |
1728 | delete arg6; | |
1729 | } | |
cfe5e918 RD |
1730 | return NULL; |
1731 | } | |
1732 | ||
1733 | ||
3004cfd8 | 1734 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 1735 | PyObject *resultobj; |
3004cfd8 | 1736 | wxStyledTextCtrl *result; |
cfe5e918 | 1737 | char *kwnames[] = { |
3004cfd8 | 1738 | NULL |
cfe5e918 RD |
1739 | }; |
1740 | ||
3004cfd8 | 1741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; |
cfe5e918 | 1742 | { |
3004cfd8 | 1743 | if (!wxPyCheckForApp()) SWIG_fail; |
cfe5e918 | 1744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3004cfd8 | 1745 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); |
cfe5e918 RD |
1746 | |
1747 | wxPyEndAllowThreads(__tstate); | |
1748 | if (PyErr_Occurred()) SWIG_fail; | |
1749 | } | |
3004cfd8 | 1750 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
cfe5e918 RD |
1751 | return resultobj; |
1752 | fail: | |
1753 | return NULL; | |
1754 | } | |
1755 | ||
1756 | ||
3004cfd8 | 1757 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1758 | PyObject *resultobj; |
1759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
1760 | wxWindow *arg2 = (wxWindow *) 0 ; |
1761 | int arg3 = (int) wxID_ANY ; | |
1762 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1763 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1764 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1765 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1766 | long arg6 = (long) 0 ; | |
1767 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
1768 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
02b455f2 | 1769 | bool result; |
3004cfd8 RD |
1770 | wxPoint temp4 ; |
1771 | wxSize temp5 ; | |
1772 | bool temp7 = false ; | |
cfe5e918 | 1773 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
1774 | PyObject * obj1 = 0 ; |
1775 | PyObject * obj2 = 0 ; | |
1776 | PyObject * obj3 = 0 ; | |
1777 | PyObject * obj4 = 0 ; | |
1778 | PyObject * obj5 = 0 ; | |
1779 | PyObject * obj6 = 0 ; | |
cfe5e918 | 1780 | char *kwnames[] = { |
3004cfd8 | 1781 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
cfe5e918 RD |
1782 | }; |
1783 | ||
3004cfd8 RD |
1784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
1785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1787 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1788 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1789 | if (obj2) { | |
1790 | { | |
1791 | arg3 = (int)(SWIG_As_int(obj2)); | |
1792 | if (SWIG_arg_fail(3)) SWIG_fail; | |
1793 | } | |
1794 | } | |
1795 | if (obj3) { | |
1796 | { | |
1797 | arg4 = &temp4; | |
1798 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1799 | } | |
1800 | } | |
1801 | if (obj4) { | |
1802 | { | |
1803 | arg5 = &temp5; | |
1804 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1805 | } | |
1806 | } | |
1807 | if (obj5) { | |
1808 | { | |
1809 | arg6 = (long)(SWIG_As_long(obj5)); | |
1810 | if (SWIG_arg_fail(6)) SWIG_fail; | |
1811 | } | |
1812 | } | |
1813 | if (obj6) { | |
1814 | { | |
1815 | arg7 = wxString_in_helper(obj6); | |
1816 | if (arg7 == NULL) SWIG_fail; | |
1817 | temp7 = true; | |
1818 | } | |
1819 | } | |
cfe5e918 RD |
1820 | { |
1821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
02b455f2 | 1822 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
cfe5e918 RD |
1823 | |
1824 | wxPyEndAllowThreads(__tstate); | |
1825 | if (PyErr_Occurred()) SWIG_fail; | |
1826 | } | |
02b455f2 RD |
1827 | { |
1828 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1829 | } | |
3004cfd8 RD |
1830 | { |
1831 | if (temp7) | |
1832 | delete arg7; | |
1833 | } | |
cfe5e918 RD |
1834 | return resultobj; |
1835 | fail: | |
3004cfd8 RD |
1836 | { |
1837 | if (temp7) | |
1838 | delete arg7; | |
1839 | } | |
cfe5e918 RD |
1840 | return NULL; |
1841 | } | |
1842 | ||
1843 | ||
3004cfd8 | 1844 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1845 | PyObject *resultobj; |
1846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
1847 | wxString *arg2 = 0 ; |
1848 | bool temp2 = false ; | |
cfe5e918 RD |
1849 | PyObject * obj0 = 0 ; |
1850 | PyObject * obj1 = 0 ; | |
cfe5e918 | 1851 | char *kwnames[] = { |
3004cfd8 | 1852 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
1853 | }; |
1854 | ||
3004cfd8 RD |
1855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; |
1856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1858 | { | |
1859 | arg2 = wxString_in_helper(obj1); | |
1860 | if (arg2 == NULL) SWIG_fail; | |
1861 | temp2 = true; | |
1862 | } | |
cfe5e918 RD |
1863 | { |
1864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1865 | (arg1)->AddText((wxString const &)*arg2); |
cfe5e918 RD |
1866 | |
1867 | wxPyEndAllowThreads(__tstate); | |
1868 | if (PyErr_Occurred()) SWIG_fail; | |
1869 | } | |
3004cfd8 | 1870 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 1871 | { |
3004cfd8 RD |
1872 | if (temp2) |
1873 | delete arg2; | |
cfe5e918 RD |
1874 | } |
1875 | return resultobj; | |
1876 | fail: | |
3004cfd8 RD |
1877 | { |
1878 | if (temp2) | |
1879 | delete arg2; | |
1880 | } | |
1881 | return NULL; | |
cfe5e918 RD |
1882 | } |
1883 | ||
1884 | ||
3004cfd8 | 1885 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1886 | PyObject *resultobj; |
1887 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
1888 | wxMemoryBuffer *arg2 = 0 ; |
1889 | bool temp2 = false ; | |
cfe5e918 | 1890 | PyObject * obj0 = 0 ; |
3004cfd8 | 1891 | PyObject * obj1 = 0 ; |
cfe5e918 | 1892 | char *kwnames[] = { |
3004cfd8 | 1893 | (char *) "self",(char *) "data", NULL |
cfe5e918 RD |
1894 | }; |
1895 | ||
3004cfd8 RD |
1896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; |
1897 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1898 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1899 | { | |
1900 | if (!PyString_Check(obj1)) { | |
1901 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
1902 | SWIG_fail; | |
1903 | } | |
1904 | char* str = PyString_AS_STRING(obj1); | |
1905 | int len = PyString_GET_SIZE(obj1); | |
1906 | arg2 = new wxMemoryBuffer(len); | |
1907 | temp2 = true; | |
1908 | memcpy(arg2->GetData(), str, len); | |
1909 | arg2->SetDataLen(len); | |
1910 | } | |
cfe5e918 RD |
1911 | { |
1912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1913 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); |
cfe5e918 RD |
1914 | |
1915 | wxPyEndAllowThreads(__tstate); | |
1916 | if (PyErr_Occurred()) SWIG_fail; | |
1917 | } | |
3004cfd8 | 1918 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 1919 | { |
3004cfd8 | 1920 | if (temp2) delete arg2; |
cfe5e918 RD |
1921 | } |
1922 | return resultobj; | |
1923 | fail: | |
3004cfd8 RD |
1924 | { |
1925 | if (temp2) delete arg2; | |
1926 | } | |
cfe5e918 RD |
1927 | return NULL; |
1928 | } | |
1929 | ||
1930 | ||
3004cfd8 | 1931 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1932 | PyObject *resultobj; |
1933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1934 | int arg2 ; | |
3004cfd8 RD |
1935 | wxString *arg3 = 0 ; |
1936 | bool temp3 = false ; | |
cfe5e918 RD |
1937 | PyObject * obj0 = 0 ; |
1938 | PyObject * obj1 = 0 ; | |
3004cfd8 | 1939 | PyObject * obj2 = 0 ; |
cfe5e918 | 1940 | char *kwnames[] = { |
3004cfd8 | 1941 | (char *) "self",(char *) "pos",(char *) "text", NULL |
cfe5e918 RD |
1942 | }; |
1943 | ||
3004cfd8 RD |
1944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
1945 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1946 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1947 | { | |
1948 | arg2 = (int)(SWIG_As_int(obj1)); | |
1949 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1950 | } | |
1951 | { | |
1952 | arg3 = wxString_in_helper(obj2); | |
1953 | if (arg3 == NULL) SWIG_fail; | |
1954 | temp3 = true; | |
1955 | } | |
cfe5e918 RD |
1956 | { |
1957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1958 | (arg1)->InsertText(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
1959 | |
1960 | wxPyEndAllowThreads(__tstate); | |
1961 | if (PyErr_Occurred()) SWIG_fail; | |
1962 | } | |
3004cfd8 RD |
1963 | Py_INCREF(Py_None); resultobj = Py_None; |
1964 | { | |
1965 | if (temp3) | |
1966 | delete arg3; | |
1967 | } | |
cfe5e918 RD |
1968 | return resultobj; |
1969 | fail: | |
3004cfd8 RD |
1970 | { |
1971 | if (temp3) | |
1972 | delete arg3; | |
1973 | } | |
cfe5e918 RD |
1974 | return NULL; |
1975 | } | |
1976 | ||
1977 | ||
3004cfd8 | 1978 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1979 | PyObject *resultobj; |
1980 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 1981 | PyObject * obj0 = 0 ; |
cfe5e918 | 1982 | char *kwnames[] = { |
3004cfd8 | 1983 | (char *) "self", NULL |
cfe5e918 RD |
1984 | }; |
1985 | ||
3004cfd8 RD |
1986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; |
1987 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
1989 | { |
1990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1991 | (arg1)->ClearAll(); |
cfe5e918 RD |
1992 | |
1993 | wxPyEndAllowThreads(__tstate); | |
1994 | if (PyErr_Occurred()) SWIG_fail; | |
1995 | } | |
1996 | Py_INCREF(Py_None); resultobj = Py_None; | |
1997 | return resultobj; | |
1998 | fail: | |
1999 | return NULL; | |
2000 | } | |
2001 | ||
2002 | ||
3004cfd8 | 2003 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2004 | PyObject *resultobj; |
2005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2006 | PyObject * obj0 = 0 ; |
2007 | char *kwnames[] = { | |
2008 | (char *) "self", NULL | |
2009 | }; | |
2010 | ||
3004cfd8 RD |
2011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; |
2012 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2013 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2014 | { |
2015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2016 | (arg1)->ClearDocumentStyle(); |
cfe5e918 RD |
2017 | |
2018 | wxPyEndAllowThreads(__tstate); | |
2019 | if (PyErr_Occurred()) SWIG_fail; | |
2020 | } | |
3004cfd8 | 2021 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2022 | return resultobj; |
2023 | fail: | |
2024 | return NULL; | |
2025 | } | |
2026 | ||
2027 | ||
3004cfd8 | 2028 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2029 | PyObject *resultobj; |
2030 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2031 | int result; | |
2032 | PyObject * obj0 = 0 ; | |
2033 | char *kwnames[] = { | |
2034 | (char *) "self", NULL | |
2035 | }; | |
2036 | ||
3004cfd8 RD |
2037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; |
2038 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2039 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2040 | { |
2041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2042 | result = (int)(arg1)->GetLength(); |
cfe5e918 RD |
2043 | |
2044 | wxPyEndAllowThreads(__tstate); | |
2045 | if (PyErr_Occurred()) SWIG_fail; | |
2046 | } | |
3004cfd8 RD |
2047 | { |
2048 | resultobj = SWIG_From_int((int)(result)); | |
2049 | } | |
cfe5e918 RD |
2050 | return resultobj; |
2051 | fail: | |
2052 | return NULL; | |
2053 | } | |
2054 | ||
2055 | ||
3004cfd8 | 2056 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2057 | PyObject *resultobj; |
2058 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2059 | int arg2 ; | |
3004cfd8 | 2060 | int result; |
cfe5e918 RD |
2061 | PyObject * obj0 = 0 ; |
2062 | PyObject * obj1 = 0 ; | |
2063 | char *kwnames[] = { | |
3004cfd8 | 2064 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2065 | }; |
2066 | ||
3004cfd8 RD |
2067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; |
2068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2070 | { | |
2071 | arg2 = (int)(SWIG_As_int(obj1)); | |
2072 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2073 | } | |
cfe5e918 RD |
2074 | { |
2075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2076 | result = (int)(arg1)->GetCharAt(arg2); |
cfe5e918 RD |
2077 | |
2078 | wxPyEndAllowThreads(__tstate); | |
2079 | if (PyErr_Occurred()) SWIG_fail; | |
2080 | } | |
3004cfd8 RD |
2081 | { |
2082 | resultobj = SWIG_From_int((int)(result)); | |
2083 | } | |
cfe5e918 RD |
2084 | return resultobj; |
2085 | fail: | |
2086 | return NULL; | |
2087 | } | |
2088 | ||
2089 | ||
3004cfd8 | 2090 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2091 | PyObject *resultobj; |
2092 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 2093 | int result; |
cfe5e918 | 2094 | PyObject * obj0 = 0 ; |
cfe5e918 | 2095 | char *kwnames[] = { |
3004cfd8 | 2096 | (char *) "self", NULL |
cfe5e918 RD |
2097 | }; |
2098 | ||
3004cfd8 RD |
2099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; |
2100 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2101 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2102 | { |
2103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2104 | result = (int)(arg1)->GetCurrentPos(); |
cfe5e918 RD |
2105 | |
2106 | wxPyEndAllowThreads(__tstate); | |
2107 | if (PyErr_Occurred()) SWIG_fail; | |
2108 | } | |
3004cfd8 RD |
2109 | { |
2110 | resultobj = SWIG_From_int((int)(result)); | |
2111 | } | |
cfe5e918 RD |
2112 | return resultobj; |
2113 | fail: | |
2114 | return NULL; | |
2115 | } | |
2116 | ||
2117 | ||
3004cfd8 | 2118 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2119 | PyObject *resultobj; |
2120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2121 | int result; |
2122 | PyObject * obj0 = 0 ; | |
cfe5e918 | 2123 | char *kwnames[] = { |
3004cfd8 | 2124 | (char *) "self", NULL |
cfe5e918 RD |
2125 | }; |
2126 | ||
3004cfd8 RD |
2127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; |
2128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2130 | { |
2131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2132 | result = (int)(arg1)->GetAnchor(); |
cfe5e918 RD |
2133 | |
2134 | wxPyEndAllowThreads(__tstate); | |
2135 | if (PyErr_Occurred()) SWIG_fail; | |
2136 | } | |
3004cfd8 RD |
2137 | { |
2138 | resultobj = SWIG_From_int((int)(result)); | |
2139 | } | |
cfe5e918 RD |
2140 | return resultobj; |
2141 | fail: | |
2142 | return NULL; | |
2143 | } | |
2144 | ||
2145 | ||
3004cfd8 | 2146 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2147 | PyObject *resultobj; |
2148 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2149 | int arg2 ; | |
3004cfd8 | 2150 | int result; |
cfe5e918 RD |
2151 | PyObject * obj0 = 0 ; |
2152 | PyObject * obj1 = 0 ; | |
2153 | char *kwnames[] = { | |
3004cfd8 | 2154 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2155 | }; |
2156 | ||
3004cfd8 RD |
2157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; |
2158 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2159 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2160 | { | |
2161 | arg2 = (int)(SWIG_As_int(obj1)); | |
2162 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2163 | } | |
cfe5e918 RD |
2164 | { |
2165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2166 | result = (int)(arg1)->GetStyleAt(arg2); |
cfe5e918 RD |
2167 | |
2168 | wxPyEndAllowThreads(__tstate); | |
2169 | if (PyErr_Occurred()) SWIG_fail; | |
2170 | } | |
3004cfd8 RD |
2171 | { |
2172 | resultobj = SWIG_From_int((int)(result)); | |
2173 | } | |
cfe5e918 RD |
2174 | return resultobj; |
2175 | fail: | |
2176 | return NULL; | |
2177 | } | |
2178 | ||
2179 | ||
3004cfd8 | 2180 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2181 | PyObject *resultobj; |
2182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 2183 | PyObject * obj0 = 0 ; |
cfe5e918 | 2184 | char *kwnames[] = { |
3004cfd8 | 2185 | (char *) "self", NULL |
cfe5e918 RD |
2186 | }; |
2187 | ||
3004cfd8 RD |
2188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; |
2189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2191 | { |
2192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2193 | (arg1)->Redo(); |
cfe5e918 RD |
2194 | |
2195 | wxPyEndAllowThreads(__tstate); | |
2196 | if (PyErr_Occurred()) SWIG_fail; | |
2197 | } | |
2198 | Py_INCREF(Py_None); resultobj = Py_None; | |
2199 | return resultobj; | |
2200 | fail: | |
2201 | return NULL; | |
2202 | } | |
2203 | ||
2204 | ||
3004cfd8 | 2205 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2206 | PyObject *resultobj; |
2207 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2208 | bool arg2 ; |
cfe5e918 RD |
2209 | PyObject * obj0 = 0 ; |
2210 | PyObject * obj1 = 0 ; | |
2211 | char *kwnames[] = { | |
3004cfd8 | 2212 | (char *) "self",(char *) "collectUndo", NULL |
cfe5e918 RD |
2213 | }; |
2214 | ||
3004cfd8 RD |
2215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; |
2216 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2217 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2218 | { | |
2219 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
2220 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2221 | } | |
cfe5e918 RD |
2222 | { |
2223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2224 | (arg1)->SetUndoCollection(arg2); |
cfe5e918 RD |
2225 | |
2226 | wxPyEndAllowThreads(__tstate); | |
2227 | if (PyErr_Occurred()) SWIG_fail; | |
2228 | } | |
2229 | Py_INCREF(Py_None); resultobj = Py_None; | |
2230 | return resultobj; | |
2231 | fail: | |
2232 | return NULL; | |
2233 | } | |
2234 | ||
2235 | ||
3004cfd8 | 2236 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2237 | PyObject *resultobj; |
2238 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2239 | PyObject * obj0 = 0 ; |
2240 | char *kwnames[] = { | |
2241 | (char *) "self", NULL | |
2242 | }; | |
2243 | ||
3004cfd8 RD |
2244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; |
2245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2247 | { |
2248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2249 | (arg1)->SelectAll(); |
cfe5e918 RD |
2250 | |
2251 | wxPyEndAllowThreads(__tstate); | |
2252 | if (PyErr_Occurred()) SWIG_fail; | |
2253 | } | |
3004cfd8 | 2254 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2255 | return resultobj; |
2256 | fail: | |
2257 | return NULL; | |
2258 | } | |
2259 | ||
2260 | ||
3004cfd8 | 2261 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2262 | PyObject *resultobj; |
2263 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2264 | PyObject * obj0 = 0 ; |
2265 | char *kwnames[] = { | |
2266 | (char *) "self", NULL | |
2267 | }; | |
2268 | ||
3004cfd8 RD |
2269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; |
2270 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2271 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2272 | { |
2273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2274 | (arg1)->SetSavePoint(); |
cfe5e918 RD |
2275 | |
2276 | wxPyEndAllowThreads(__tstate); | |
2277 | if (PyErr_Occurred()) SWIG_fail; | |
2278 | } | |
3004cfd8 | 2279 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2280 | return resultobj; |
2281 | fail: | |
2282 | return NULL; | |
2283 | } | |
2284 | ||
2285 | ||
3004cfd8 | 2286 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2287 | PyObject *resultobj; |
2288 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2289 | int arg2 ; | |
3004cfd8 RD |
2290 | int arg3 ; |
2291 | wxMemoryBuffer result; | |
cfe5e918 RD |
2292 | PyObject * obj0 = 0 ; |
2293 | PyObject * obj1 = 0 ; | |
3004cfd8 | 2294 | PyObject * obj2 = 0 ; |
cfe5e918 | 2295 | char *kwnames[] = { |
3004cfd8 | 2296 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
cfe5e918 RD |
2297 | }; |
2298 | ||
3004cfd8 RD |
2299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2300 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2301 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2302 | { | |
2303 | arg2 = (int)(SWIG_As_int(obj1)); | |
2304 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2305 | } | |
2306 | { | |
2307 | arg3 = (int)(SWIG_As_int(obj2)); | |
2308 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2309 | } | |
cfe5e918 RD |
2310 | { |
2311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2312 | result = (arg1)->GetStyledText(arg2,arg3); |
cfe5e918 RD |
2313 | |
2314 | wxPyEndAllowThreads(__tstate); | |
2315 | if (PyErr_Occurred()) SWIG_fail; | |
2316 | } | |
3004cfd8 RD |
2317 | { |
2318 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); | |
2319 | } | |
cfe5e918 RD |
2320 | return resultobj; |
2321 | fail: | |
2322 | return NULL; | |
2323 | } | |
2324 | ||
2325 | ||
3004cfd8 | 2326 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2327 | PyObject *resultobj; |
2328 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2329 | bool result; |
cfe5e918 RD |
2330 | PyObject * obj0 = 0 ; |
2331 | char *kwnames[] = { | |
2332 | (char *) "self", NULL | |
2333 | }; | |
2334 | ||
3004cfd8 RD |
2335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; |
2336 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2337 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2338 | { |
2339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2340 | result = (bool)(arg1)->CanRedo(); |
cfe5e918 RD |
2341 | |
2342 | wxPyEndAllowThreads(__tstate); | |
2343 | if (PyErr_Occurred()) SWIG_fail; | |
2344 | } | |
3004cfd8 RD |
2345 | { |
2346 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2347 | } | |
cfe5e918 RD |
2348 | return resultobj; |
2349 | fail: | |
2350 | return NULL; | |
2351 | } | |
2352 | ||
2353 | ||
3004cfd8 | 2354 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2355 | PyObject *resultobj; |
2356 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2357 | int arg2 ; | |
3004cfd8 | 2358 | int result; |
cfe5e918 RD |
2359 | PyObject * obj0 = 0 ; |
2360 | PyObject * obj1 = 0 ; | |
2361 | char *kwnames[] = { | |
3004cfd8 | 2362 | (char *) "self",(char *) "handle", NULL |
cfe5e918 RD |
2363 | }; |
2364 | ||
3004cfd8 RD |
2365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; |
2366 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2367 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2368 | { | |
2369 | arg2 = (int)(SWIG_As_int(obj1)); | |
2370 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2371 | } | |
cfe5e918 RD |
2372 | { |
2373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2374 | result = (int)(arg1)->MarkerLineFromHandle(arg2); |
cfe5e918 RD |
2375 | |
2376 | wxPyEndAllowThreads(__tstate); | |
2377 | if (PyErr_Occurred()) SWIG_fail; | |
2378 | } | |
3004cfd8 RD |
2379 | { |
2380 | resultobj = SWIG_From_int((int)(result)); | |
2381 | } | |
cfe5e918 RD |
2382 | return resultobj; |
2383 | fail: | |
2384 | return NULL; | |
2385 | } | |
2386 | ||
2387 | ||
3004cfd8 | 2388 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2389 | PyObject *resultobj; |
2390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2391 | int arg2 ; | |
cfe5e918 RD |
2392 | PyObject * obj0 = 0 ; |
2393 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2394 | char *kwnames[] = { |
3004cfd8 | 2395 | (char *) "self",(char *) "handle", NULL |
cfe5e918 RD |
2396 | }; |
2397 | ||
3004cfd8 RD |
2398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; |
2399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2401 | { | |
2402 | arg2 = (int)(SWIG_As_int(obj1)); | |
2403 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2404 | } | |
cfe5e918 RD |
2405 | { |
2406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2407 | (arg1)->MarkerDeleteHandle(arg2); |
cfe5e918 RD |
2408 | |
2409 | wxPyEndAllowThreads(__tstate); | |
2410 | if (PyErr_Occurred()) SWIG_fail; | |
2411 | } | |
2412 | Py_INCREF(Py_None); resultobj = Py_None; | |
2413 | return resultobj; | |
2414 | fail: | |
2415 | return NULL; | |
2416 | } | |
2417 | ||
2418 | ||
3004cfd8 | 2419 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2420 | PyObject *resultobj; |
2421 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2422 | bool result; |
cfe5e918 | 2423 | PyObject * obj0 = 0 ; |
cfe5e918 | 2424 | char *kwnames[] = { |
3004cfd8 | 2425 | (char *) "self", NULL |
cfe5e918 RD |
2426 | }; |
2427 | ||
3004cfd8 RD |
2428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; |
2429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2431 | { |
2432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2433 | result = (bool)(arg1)->GetUndoCollection(); |
cfe5e918 RD |
2434 | |
2435 | wxPyEndAllowThreads(__tstate); | |
2436 | if (PyErr_Occurred()) SWIG_fail; | |
2437 | } | |
3004cfd8 RD |
2438 | { |
2439 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2440 | } | |
cfe5e918 RD |
2441 | return resultobj; |
2442 | fail: | |
2443 | return NULL; | |
2444 | } | |
2445 | ||
2446 | ||
3004cfd8 | 2447 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2448 | PyObject *resultobj; |
2449 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2450 | int result; |
cfe5e918 RD |
2451 | PyObject * obj0 = 0 ; |
2452 | char *kwnames[] = { | |
2453 | (char *) "self", NULL | |
2454 | }; | |
2455 | ||
3004cfd8 RD |
2456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; |
2457 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2458 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2459 | { |
2460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2461 | result = (int)(arg1)->GetViewWhiteSpace(); |
cfe5e918 RD |
2462 | |
2463 | wxPyEndAllowThreads(__tstate); | |
2464 | if (PyErr_Occurred()) SWIG_fail; | |
2465 | } | |
2466 | { | |
3004cfd8 | 2467 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
2468 | } |
2469 | return resultobj; | |
2470 | fail: | |
2471 | return NULL; | |
2472 | } | |
2473 | ||
2474 | ||
3004cfd8 | 2475 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2476 | PyObject *resultobj; |
2477 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2478 | int arg2 ; |
cfe5e918 RD |
2479 | PyObject * obj0 = 0 ; |
2480 | PyObject * obj1 = 0 ; | |
2481 | char *kwnames[] = { | |
3004cfd8 | 2482 | (char *) "self",(char *) "viewWS", NULL |
cfe5e918 RD |
2483 | }; |
2484 | ||
3004cfd8 RD |
2485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; |
2486 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2487 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2488 | { | |
2489 | arg2 = (int)(SWIG_As_int(obj1)); | |
2490 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2491 | } | |
cfe5e918 RD |
2492 | { |
2493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2494 | (arg1)->SetViewWhiteSpace(arg2); |
cfe5e918 RD |
2495 | |
2496 | wxPyEndAllowThreads(__tstate); | |
2497 | if (PyErr_Occurred()) SWIG_fail; | |
2498 | } | |
2499 | Py_INCREF(Py_None); resultobj = Py_None; | |
2500 | return resultobj; | |
2501 | fail: | |
2502 | return NULL; | |
2503 | } | |
2504 | ||
2505 | ||
3004cfd8 | 2506 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2507 | PyObject *resultobj; |
2508 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
2509 | wxPoint arg2 ; |
2510 | int result; | |
cfe5e918 RD |
2511 | PyObject * obj0 = 0 ; |
2512 | PyObject * obj1 = 0 ; | |
2513 | char *kwnames[] = { | |
3004cfd8 | 2514 | (char *) "self",(char *) "pt", NULL |
cfe5e918 RD |
2515 | }; |
2516 | ||
3004cfd8 RD |
2517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; |
2518 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2519 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2520 | { | |
2521 | wxPoint * argp; | |
2522 | SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION); | |
2523 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2524 | if (argp == NULL) { | |
2525 | SWIG_null_ref("wxPoint"); | |
2526 | } | |
2527 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2528 | arg2 = *argp; | |
2529 | } | |
cfe5e918 RD |
2530 | { |
2531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2532 | result = (int)(arg1)->PositionFromPoint(arg2); |
cfe5e918 RD |
2533 | |
2534 | wxPyEndAllowThreads(__tstate); | |
2535 | if (PyErr_Occurred()) SWIG_fail; | |
2536 | } | |
3004cfd8 RD |
2537 | { |
2538 | resultobj = SWIG_From_int((int)(result)); | |
2539 | } | |
cfe5e918 RD |
2540 | return resultobj; |
2541 | fail: | |
2542 | return NULL; | |
2543 | } | |
2544 | ||
2545 | ||
3004cfd8 | 2546 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2547 | PyObject *resultobj; |
2548 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
2549 | int arg2 ; |
2550 | int arg3 ; | |
cfe5e918 RD |
2551 | int result; |
2552 | PyObject * obj0 = 0 ; | |
3004cfd8 RD |
2553 | PyObject * obj1 = 0 ; |
2554 | PyObject * obj2 = 0 ; | |
cfe5e918 | 2555 | char *kwnames[] = { |
3004cfd8 | 2556 | (char *) "self",(char *) "x",(char *) "y", NULL |
cfe5e918 RD |
2557 | }; |
2558 | ||
3004cfd8 RD |
2559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2560 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2562 | { | |
2563 | arg2 = (int)(SWIG_As_int(obj1)); | |
2564 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2565 | } | |
2566 | { | |
2567 | arg3 = (int)(SWIG_As_int(obj2)); | |
2568 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2569 | } | |
cfe5e918 RD |
2570 | { |
2571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2572 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); |
cfe5e918 RD |
2573 | |
2574 | wxPyEndAllowThreads(__tstate); | |
2575 | if (PyErr_Occurred()) SWIG_fail; | |
2576 | } | |
3004cfd8 RD |
2577 | { |
2578 | resultobj = SWIG_From_int((int)(result)); | |
2579 | } | |
cfe5e918 RD |
2580 | return resultobj; |
2581 | fail: | |
2582 | return NULL; | |
2583 | } | |
2584 | ||
2585 | ||
3004cfd8 | 2586 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2587 | PyObject *resultobj; |
2588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2589 | int arg2 ; | |
2590 | PyObject * obj0 = 0 ; | |
2591 | PyObject * obj1 = 0 ; | |
2592 | char *kwnames[] = { | |
3004cfd8 | 2593 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
2594 | }; |
2595 | ||
3004cfd8 RD |
2596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; |
2597 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2598 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2599 | { | |
2600 | arg2 = (int)(SWIG_As_int(obj1)); | |
2601 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2602 | } | |
cfe5e918 RD |
2603 | { |
2604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2605 | (arg1)->GotoLine(arg2); |
cfe5e918 RD |
2606 | |
2607 | wxPyEndAllowThreads(__tstate); | |
2608 | if (PyErr_Occurred()) SWIG_fail; | |
2609 | } | |
2610 | Py_INCREF(Py_None); resultobj = Py_None; | |
2611 | return resultobj; | |
2612 | fail: | |
2613 | return NULL; | |
2614 | } | |
2615 | ||
2616 | ||
3004cfd8 | 2617 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2618 | PyObject *resultobj; |
2619 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2620 | int arg2 ; | |
cfe5e918 RD |
2621 | PyObject * obj0 = 0 ; |
2622 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2623 | char *kwnames[] = { |
3004cfd8 | 2624 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2625 | }; |
2626 | ||
3004cfd8 RD |
2627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; |
2628 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2629 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2630 | { | |
2631 | arg2 = (int)(SWIG_As_int(obj1)); | |
2632 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
2633 | } |
2634 | { | |
2635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2636 | (arg1)->GotoPos(arg2); |
cfe5e918 RD |
2637 | |
2638 | wxPyEndAllowThreads(__tstate); | |
2639 | if (PyErr_Occurred()) SWIG_fail; | |
2640 | } | |
2641 | Py_INCREF(Py_None); resultobj = Py_None; | |
2642 | return resultobj; | |
2643 | fail: | |
2644 | return NULL; | |
2645 | } | |
2646 | ||
2647 | ||
3004cfd8 | 2648 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2649 | PyObject *resultobj; |
2650 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2651 | int arg2 ; | |
cfe5e918 RD |
2652 | PyObject * obj0 = 0 ; |
2653 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2654 | char *kwnames[] = { |
3004cfd8 | 2655 | (char *) "self",(char *) "posAnchor", NULL |
cfe5e918 RD |
2656 | }; |
2657 | ||
3004cfd8 RD |
2658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; |
2659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 2661 | { |
3004cfd8 RD |
2662 | arg2 = (int)(SWIG_As_int(obj1)); |
2663 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
2664 | } |
2665 | { | |
2666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2667 | (arg1)->SetAnchor(arg2); |
cfe5e918 RD |
2668 | |
2669 | wxPyEndAllowThreads(__tstate); | |
2670 | if (PyErr_Occurred()) SWIG_fail; | |
2671 | } | |
2672 | Py_INCREF(Py_None); resultobj = Py_None; | |
2673 | return resultobj; | |
2674 | fail: | |
2675 | return NULL; | |
2676 | } | |
2677 | ||
2678 | ||
3004cfd8 | 2679 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2680 | PyObject *resultobj; |
2681 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
2682 | int *arg2 = (int *) 0 ; |
2683 | wxString result; | |
2684 | int temp2 ; | |
2685 | int res2 = 0 ; | |
cfe5e918 | 2686 | PyObject * obj0 = 0 ; |
cfe5e918 | 2687 | char *kwnames[] = { |
3004cfd8 | 2688 | (char *) "self", NULL |
cfe5e918 RD |
2689 | }; |
2690 | ||
3004cfd8 RD |
2691 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
2693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2695 | { |
2696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2697 | result = (arg1)->GetCurLine(arg2); |
cfe5e918 RD |
2698 | |
2699 | wxPyEndAllowThreads(__tstate); | |
2700 | if (PyErr_Occurred()) SWIG_fail; | |
2701 | } | |
3004cfd8 RD |
2702 | { |
2703 | #if wxUSE_UNICODE | |
2704 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2705 | #else | |
2706 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2707 | #endif | |
2708 | } | |
2709 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
2710 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
cfe5e918 RD |
2711 | return resultobj; |
2712 | fail: | |
2713 | return NULL; | |
2714 | } | |
2715 | ||
2716 | ||
3004cfd8 | 2717 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2718 | PyObject *resultobj; |
2719 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2720 | int result; |
2721 | PyObject * obj0 = 0 ; | |
cfe5e918 | 2722 | char *kwnames[] = { |
3004cfd8 | 2723 | (char *) "self", NULL |
cfe5e918 RD |
2724 | }; |
2725 | ||
3004cfd8 RD |
2726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; |
2727 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2728 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2729 | { |
2730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2731 | result = (int)(arg1)->GetEndStyled(); |
cfe5e918 RD |
2732 | |
2733 | wxPyEndAllowThreads(__tstate); | |
2734 | if (PyErr_Occurred()) SWIG_fail; | |
2735 | } | |
3004cfd8 RD |
2736 | { |
2737 | resultobj = SWIG_From_int((int)(result)); | |
2738 | } | |
cfe5e918 RD |
2739 | return resultobj; |
2740 | fail: | |
2741 | return NULL; | |
2742 | } | |
2743 | ||
2744 | ||
3004cfd8 | 2745 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2746 | PyObject *resultobj; |
2747 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2748 | int arg2 ; | |
cfe5e918 RD |
2749 | PyObject * obj0 = 0 ; |
2750 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2751 | char *kwnames[] = { |
3004cfd8 | 2752 | (char *) "self",(char *) "eolMode", NULL |
cfe5e918 RD |
2753 | }; |
2754 | ||
3004cfd8 RD |
2755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; |
2756 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2757 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2758 | { | |
2759 | arg2 = (int)(SWIG_As_int(obj1)); | |
2760 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2761 | } | |
cfe5e918 RD |
2762 | { |
2763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2764 | (arg1)->ConvertEOLs(arg2); |
cfe5e918 RD |
2765 | |
2766 | wxPyEndAllowThreads(__tstate); | |
2767 | if (PyErr_Occurred()) SWIG_fail; | |
2768 | } | |
2769 | Py_INCREF(Py_None); resultobj = Py_None; | |
2770 | return resultobj; | |
2771 | fail: | |
2772 | return NULL; | |
2773 | } | |
2774 | ||
2775 | ||
3004cfd8 | 2776 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2777 | PyObject *resultobj; |
2778 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2779 | int result; |
cfe5e918 | 2780 | PyObject * obj0 = 0 ; |
cfe5e918 | 2781 | char *kwnames[] = { |
3004cfd8 | 2782 | (char *) "self", NULL |
cfe5e918 RD |
2783 | }; |
2784 | ||
3004cfd8 RD |
2785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; |
2786 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2787 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2788 | { |
2789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2790 | result = (int)(arg1)->GetEOLMode(); |
cfe5e918 RD |
2791 | |
2792 | wxPyEndAllowThreads(__tstate); | |
2793 | if (PyErr_Occurred()) SWIG_fail; | |
2794 | } | |
3004cfd8 RD |
2795 | { |
2796 | resultobj = SWIG_From_int((int)(result)); | |
2797 | } | |
cfe5e918 RD |
2798 | return resultobj; |
2799 | fail: | |
2800 | return NULL; | |
2801 | } | |
2802 | ||
2803 | ||
3004cfd8 | 2804 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2805 | PyObject *resultobj; |
2806 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2807 | int arg2 ; | |
cfe5e918 RD |
2808 | PyObject * obj0 = 0 ; |
2809 | PyObject * obj1 = 0 ; | |
2810 | char *kwnames[] = { | |
3004cfd8 | 2811 | (char *) "self",(char *) "eolMode", NULL |
cfe5e918 RD |
2812 | }; |
2813 | ||
3004cfd8 RD |
2814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; |
2815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2817 | { | |
2818 | arg2 = (int)(SWIG_As_int(obj1)); | |
2819 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2820 | } | |
cfe5e918 RD |
2821 | { |
2822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2823 | (arg1)->SetEOLMode(arg2); |
cfe5e918 RD |
2824 | |
2825 | wxPyEndAllowThreads(__tstate); | |
2826 | if (PyErr_Occurred()) SWIG_fail; | |
2827 | } | |
3004cfd8 | 2828 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2829 | return resultobj; |
2830 | fail: | |
2831 | return NULL; | |
2832 | } | |
2833 | ||
2834 | ||
3004cfd8 | 2835 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2836 | PyObject *resultobj; |
2837 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2838 | int arg2 ; | |
2839 | int arg3 ; | |
cfe5e918 RD |
2840 | PyObject * obj0 = 0 ; |
2841 | PyObject * obj1 = 0 ; | |
2842 | PyObject * obj2 = 0 ; | |
2843 | char *kwnames[] = { | |
3004cfd8 | 2844 | (char *) "self",(char *) "pos",(char *) "mask", NULL |
cfe5e918 RD |
2845 | }; |
2846 | ||
3004cfd8 RD |
2847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2850 | { | |
2851 | arg2 = (int)(SWIG_As_int(obj1)); | |
2852 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2853 | } | |
2854 | { | |
2855 | arg3 = (int)(SWIG_As_int(obj2)); | |
2856 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2857 | } | |
cfe5e918 RD |
2858 | { |
2859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2860 | (arg1)->StartStyling(arg2,arg3); |
cfe5e918 RD |
2861 | |
2862 | wxPyEndAllowThreads(__tstate); | |
2863 | if (PyErr_Occurred()) SWIG_fail; | |
2864 | } | |
3004cfd8 | 2865 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2866 | return resultobj; |
2867 | fail: | |
2868 | return NULL; | |
2869 | } | |
2870 | ||
2871 | ||
3004cfd8 | 2872 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2873 | PyObject *resultobj; |
2874 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2875 | int arg2 ; | |
2876 | int arg3 ; | |
cfe5e918 RD |
2877 | PyObject * obj0 = 0 ; |
2878 | PyObject * obj1 = 0 ; | |
2879 | PyObject * obj2 = 0 ; | |
2880 | char *kwnames[] = { | |
3004cfd8 | 2881 | (char *) "self",(char *) "length",(char *) "style", NULL |
cfe5e918 RD |
2882 | }; |
2883 | ||
3004cfd8 RD |
2884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2885 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2886 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2887 | { | |
2888 | arg2 = (int)(SWIG_As_int(obj1)); | |
2889 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2890 | } | |
2891 | { | |
2892 | arg3 = (int)(SWIG_As_int(obj2)); | |
2893 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2894 | } | |
cfe5e918 RD |
2895 | { |
2896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2897 | (arg1)->SetStyling(arg2,arg3); |
cfe5e918 RD |
2898 | |
2899 | wxPyEndAllowThreads(__tstate); | |
2900 | if (PyErr_Occurred()) SWIG_fail; | |
2901 | } | |
3004cfd8 | 2902 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2903 | return resultobj; |
2904 | fail: | |
2905 | return NULL; | |
2906 | } | |
2907 | ||
2908 | ||
3004cfd8 | 2909 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2910 | PyObject *resultobj; |
2911 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2912 | bool result; |
cfe5e918 | 2913 | PyObject * obj0 = 0 ; |
cfe5e918 | 2914 | char *kwnames[] = { |
3004cfd8 | 2915 | (char *) "self", NULL |
cfe5e918 RD |
2916 | }; |
2917 | ||
3004cfd8 RD |
2918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; |
2919 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2920 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2921 | { |
2922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2923 | result = (bool)(arg1)->GetBufferedDraw(); |
cfe5e918 RD |
2924 | |
2925 | wxPyEndAllowThreads(__tstate); | |
2926 | if (PyErr_Occurred()) SWIG_fail; | |
2927 | } | |
3004cfd8 RD |
2928 | { |
2929 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2930 | } | |
cfe5e918 RD |
2931 | return resultobj; |
2932 | fail: | |
2933 | return NULL; | |
2934 | } | |
2935 | ||
2936 | ||
3004cfd8 | 2937 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2938 | PyObject *resultobj; |
2939 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2940 | bool arg2 ; |
cfe5e918 RD |
2941 | PyObject * obj0 = 0 ; |
2942 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2943 | char *kwnames[] = { |
3004cfd8 | 2944 | (char *) "self",(char *) "buffered", NULL |
cfe5e918 RD |
2945 | }; |
2946 | ||
3004cfd8 RD |
2947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; |
2948 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2949 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2950 | { | |
2951 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
2952 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2953 | } | |
cfe5e918 RD |
2954 | { |
2955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2956 | (arg1)->SetBufferedDraw(arg2); |
cfe5e918 RD |
2957 | |
2958 | wxPyEndAllowThreads(__tstate); | |
2959 | if (PyErr_Occurred()) SWIG_fail; | |
2960 | } | |
2961 | Py_INCREF(Py_None); resultobj = Py_None; | |
2962 | return resultobj; | |
2963 | fail: | |
2964 | return NULL; | |
2965 | } | |
2966 | ||
2967 | ||
3004cfd8 | 2968 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2969 | PyObject *resultobj; |
2970 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2971 | int arg2 ; | |
cfe5e918 RD |
2972 | PyObject * obj0 = 0 ; |
2973 | PyObject * obj1 = 0 ; | |
2974 | char *kwnames[] = { | |
3004cfd8 | 2975 | (char *) "self",(char *) "tabWidth", NULL |
cfe5e918 RD |
2976 | }; |
2977 | ||
3004cfd8 RD |
2978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; |
2979 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2980 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2981 | { | |
2982 | arg2 = (int)(SWIG_As_int(obj1)); | |
2983 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2984 | } | |
cfe5e918 RD |
2985 | { |
2986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2987 | (arg1)->SetTabWidth(arg2); |
cfe5e918 RD |
2988 | |
2989 | wxPyEndAllowThreads(__tstate); | |
2990 | if (PyErr_Occurred()) SWIG_fail; | |
2991 | } | |
3004cfd8 | 2992 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2993 | return resultobj; |
2994 | fail: | |
2995 | return NULL; | |
2996 | } | |
2997 | ||
2998 | ||
3004cfd8 | 2999 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3000 | PyObject *resultobj; |
3001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 3002 | int result; |
cfe5e918 | 3003 | PyObject * obj0 = 0 ; |
cfe5e918 | 3004 | char *kwnames[] = { |
3004cfd8 | 3005 | (char *) "self", NULL |
cfe5e918 RD |
3006 | }; |
3007 | ||
3004cfd8 RD |
3008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; |
3009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
3011 | { |
3012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3013 | result = (int)(arg1)->GetTabWidth(); |
cfe5e918 RD |
3014 | |
3015 | wxPyEndAllowThreads(__tstate); | |
3016 | if (PyErr_Occurred()) SWIG_fail; | |
3017 | } | |
3004cfd8 RD |
3018 | { |
3019 | resultobj = SWIG_From_int((int)(result)); | |
3020 | } | |
cfe5e918 RD |
3021 | return resultobj; |
3022 | fail: | |
3023 | return NULL; | |
3024 | } | |
3025 | ||
3026 | ||
3004cfd8 | 3027 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3028 | PyObject *resultobj; |
3029 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3030 | int arg2 ; | |
cfe5e918 RD |
3031 | PyObject * obj0 = 0 ; |
3032 | PyObject * obj1 = 0 ; | |
3033 | char *kwnames[] = { | |
3004cfd8 | 3034 | (char *) "self",(char *) "codePage", NULL |
cfe5e918 RD |
3035 | }; |
3036 | ||
3004cfd8 RD |
3037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; |
3038 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3039 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3040 | { | |
3041 | arg2 = (int)(SWIG_As_int(obj1)); | |
3042 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3043 | } | |
cfe5e918 RD |
3044 | { |
3045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3046 | (arg1)->SetCodePage(arg2); |
cfe5e918 RD |
3047 | |
3048 | wxPyEndAllowThreads(__tstate); | |
3049 | if (PyErr_Occurred()) SWIG_fail; | |
3050 | } | |
3004cfd8 | 3051 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
3052 | return resultobj; |
3053 | fail: | |
3054 | return NULL; | |
3055 | } | |
3056 | ||
3057 | ||
3004cfd8 | 3058 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3059 | PyObject *resultobj; |
3060 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3061 | int arg2 ; | |
3062 | int arg3 ; | |
3004cfd8 RD |
3063 | wxColour const &arg4_defvalue = wxNullColour ; |
3064 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
3065 | wxColour const &arg5_defvalue = wxNullColour ; | |
3066 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
3067 | wxColour temp4 ; | |
3068 | wxColour temp5 ; | |
cfe5e918 RD |
3069 | PyObject * obj0 = 0 ; |
3070 | PyObject * obj1 = 0 ; | |
3071 | PyObject * obj2 = 0 ; | |
3004cfd8 RD |
3072 | PyObject * obj3 = 0 ; |
3073 | PyObject * obj4 = 0 ; | |
cfe5e918 | 3074 | char *kwnames[] = { |
3004cfd8 | 3075 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL |
cfe5e918 RD |
3076 | }; |
3077 | ||
3004cfd8 RD |
3078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
3079 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3080 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3081 | { | |
3082 | arg2 = (int)(SWIG_As_int(obj1)); | |
3083 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3084 | } | |
3085 | { | |
3086 | arg3 = (int)(SWIG_As_int(obj2)); | |
3087 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3088 | } | |
3089 | if (obj3) { | |
3090 | { | |
3091 | arg4 = &temp4; | |
3092 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
3093 | } | |
3094 | } | |
3095 | if (obj4) { | |
3096 | { | |
3097 | arg5 = &temp5; | |
3098 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
3099 | } | |
3100 | } | |
cfe5e918 RD |
3101 | { |
3102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3103 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); |
cfe5e918 RD |
3104 | |
3105 | wxPyEndAllowThreads(__tstate); | |
3106 | if (PyErr_Occurred()) SWIG_fail; | |
3107 | } | |
3108 | Py_INCREF(Py_None); resultobj = Py_None; | |
3109 | return resultobj; | |
3110 | fail: | |
3111 | return NULL; | |
3112 | } | |
3113 | ||
3114 | ||
3004cfd8 | 3115 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3116 | PyObject *resultobj; |
3117 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3118 | int arg2 ; | |
3004cfd8 RD |
3119 | wxColour *arg3 = 0 ; |
3120 | wxColour temp3 ; | |
cfe5e918 RD |
3121 | PyObject * obj0 = 0 ; |
3122 | PyObject * obj1 = 0 ; | |
3004cfd8 | 3123 | PyObject * obj2 = 0 ; |
cfe5e918 | 3124 | char *kwnames[] = { |
3004cfd8 | 3125 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL |
cfe5e918 RD |
3126 | }; |
3127 | ||
3004cfd8 RD |
3128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3129 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3130 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3131 | { | |
3132 | arg2 = (int)(SWIG_As_int(obj1)); | |
3133 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3134 | } | |
3135 | { | |
3136 | arg3 = &temp3; | |
3137 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3138 | } | |
cfe5e918 RD |
3139 | { |
3140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3141 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3142 | |
3143 | wxPyEndAllowThreads(__tstate); | |
3144 | if (PyErr_Occurred()) SWIG_fail; | |
3145 | } | |
3004cfd8 | 3146 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
3147 | return resultobj; |
3148 | fail: | |
3149 | return NULL; | |
3150 | } | |
3151 | ||
3152 | ||
3004cfd8 | 3153 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3154 | PyObject *resultobj; |
3155 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3156 | int arg2 ; | |
3004cfd8 RD |
3157 | wxColour *arg3 = 0 ; |
3158 | wxColour temp3 ; | |
cfe5e918 RD |
3159 | PyObject * obj0 = 0 ; |
3160 | PyObject * obj1 = 0 ; | |
3161 | PyObject * obj2 = 0 ; | |
3162 | char *kwnames[] = { | |
3004cfd8 | 3163 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL |
cfe5e918 RD |
3164 | }; |
3165 | ||
3004cfd8 RD |
3166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3169 | { | |
3170 | arg2 = (int)(SWIG_As_int(obj1)); | |
3171 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3172 | } | |
3173 | { | |
3174 | arg3 = &temp3; | |
3175 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3176 | } | |
cfe5e918 RD |
3177 | { |
3178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3179 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3180 | |
3181 | wxPyEndAllowThreads(__tstate); | |
3182 | if (PyErr_Occurred()) SWIG_fail; | |
3183 | } | |
3184 | Py_INCREF(Py_None); resultobj = Py_None; | |
3185 | return resultobj; | |
3186 | fail: | |
3187 | return NULL; | |
3188 | } | |
3189 | ||
3190 | ||
3004cfd8 | 3191 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3192 | PyObject *resultobj; |
3193 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3194 | int arg2 ; | |
3004cfd8 RD |
3195 | int arg3 ; |
3196 | int result; | |
cfe5e918 RD |
3197 | PyObject * obj0 = 0 ; |
3198 | PyObject * obj1 = 0 ; | |
3004cfd8 | 3199 | PyObject * obj2 = 0 ; |
cfe5e918 | 3200 | char *kwnames[] = { |
3004cfd8 | 3201 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
cfe5e918 RD |
3202 | }; |
3203 | ||
3004cfd8 RD |
3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3207 | { | |
3208 | arg2 = (int)(SWIG_As_int(obj1)); | |
3209 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3210 | } | |
3211 | { | |
3212 | arg3 = (int)(SWIG_As_int(obj2)); | |
3213 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3214 | } | |
cfe5e918 RD |
3215 | { |
3216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3217 | result = (int)(arg1)->MarkerAdd(arg2,arg3); |
cfe5e918 RD |
3218 | |
3219 | wxPyEndAllowThreads(__tstate); | |
3220 | if (PyErr_Occurred()) SWIG_fail; | |
3221 | } | |
3222 | { | |
3004cfd8 | 3223 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
3224 | } |
3225 | return resultobj; | |
3226 | fail: | |
3227 | return NULL; | |
3228 | } | |
3229 | ||
3230 | ||
3004cfd8 | 3231 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3232 | PyObject *resultobj; |
3233 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3234 | int arg2 ; |
3235 | int arg3 ; | |
cfe5e918 | 3236 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
3237 | PyObject * obj1 = 0 ; |
3238 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3239 | char *kwnames[] = { |
3004cfd8 | 3240 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
cfe5e918 RD |
3241 | }; |
3242 | ||
3004cfd8 RD |
3243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3244 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3245 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3246 | { | |
3247 | arg2 = (int)(SWIG_As_int(obj1)); | |
3248 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3249 | } | |
3250 | { | |
3251 | arg3 = (int)(SWIG_As_int(obj2)); | |
3252 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3253 | } | |
cfe5e918 RD |
3254 | { |
3255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3256 | (arg1)->MarkerDelete(arg2,arg3); |
cfe5e918 RD |
3257 | |
3258 | wxPyEndAllowThreads(__tstate); | |
3259 | if (PyErr_Occurred()) SWIG_fail; | |
3260 | } | |
3261 | Py_INCREF(Py_None); resultobj = Py_None; | |
3262 | return resultobj; | |
3263 | fail: | |
3264 | return NULL; | |
3265 | } | |
3266 | ||
3267 | ||
3004cfd8 | 3268 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3269 | PyObject *resultobj; |
3270 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3271 | int arg2 ; | |
cfe5e918 RD |
3272 | PyObject * obj0 = 0 ; |
3273 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3274 | char *kwnames[] = { |
3004cfd8 | 3275 | (char *) "self",(char *) "markerNumber", NULL |
cfe5e918 RD |
3276 | }; |
3277 | ||
3004cfd8 RD |
3278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; |
3279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3281 | { |
3004cfd8 RD |
3282 | arg2 = (int)(SWIG_As_int(obj1)); |
3283 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3284 | } |
3285 | { | |
3286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3287 | (arg1)->MarkerDeleteAll(arg2); |
cfe5e918 RD |
3288 | |
3289 | wxPyEndAllowThreads(__tstate); | |
3290 | if (PyErr_Occurred()) SWIG_fail; | |
3291 | } | |
3292 | Py_INCREF(Py_None); resultobj = Py_None; | |
3293 | return resultobj; | |
3294 | fail: | |
3295 | return NULL; | |
3296 | } | |
3297 | ||
3298 | ||
3004cfd8 | 3299 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3300 | PyObject *resultobj; |
3301 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3302 | int arg2 ; | |
3004cfd8 | 3303 | int result; |
cfe5e918 RD |
3304 | PyObject * obj0 = 0 ; |
3305 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3306 | char *kwnames[] = { |
3004cfd8 | 3307 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
3308 | }; |
3309 | ||
3004cfd8 RD |
3310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; |
3311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3313 | { |
3004cfd8 RD |
3314 | arg2 = (int)(SWIG_As_int(obj1)); |
3315 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3316 | } |
3317 | { | |
3318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3319 | result = (int)(arg1)->MarkerGet(arg2); |
cfe5e918 RD |
3320 | |
3321 | wxPyEndAllowThreads(__tstate); | |
3322 | if (PyErr_Occurred()) SWIG_fail; | |
3323 | } | |
3004cfd8 RD |
3324 | { |
3325 | resultobj = SWIG_From_int((int)(result)); | |
3326 | } | |
cfe5e918 RD |
3327 | return resultobj; |
3328 | fail: | |
3329 | return NULL; | |
3330 | } | |
3331 | ||
3332 | ||
3004cfd8 | 3333 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3334 | PyObject *resultobj; |
3335 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3336 | int arg2 ; | |
3004cfd8 RD |
3337 | int arg3 ; |
3338 | int result; | |
cfe5e918 RD |
3339 | PyObject * obj0 = 0 ; |
3340 | PyObject * obj1 = 0 ; | |
3341 | PyObject * obj2 = 0 ; | |
3342 | char *kwnames[] = { | |
3004cfd8 | 3343 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
cfe5e918 RD |
3344 | }; |
3345 | ||
3004cfd8 RD |
3346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3349 | { | |
3350 | arg2 = (int)(SWIG_As_int(obj1)); | |
3351 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3352 | } | |
3353 | { | |
3354 | arg3 = (int)(SWIG_As_int(obj2)); | |
3355 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3356 | } | |
cfe5e918 RD |
3357 | { |
3358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3359 | result = (int)(arg1)->MarkerNext(arg2,arg3); |
cfe5e918 RD |
3360 | |
3361 | wxPyEndAllowThreads(__tstate); | |
3362 | if (PyErr_Occurred()) SWIG_fail; | |
3363 | } | |
3004cfd8 RD |
3364 | { |
3365 | resultobj = SWIG_From_int((int)(result)); | |
3366 | } | |
cfe5e918 RD |
3367 | return resultobj; |
3368 | fail: | |
3369 | return NULL; | |
3370 | } | |
3371 | ||
3372 | ||
3004cfd8 | 3373 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3374 | PyObject *resultobj; |
3375 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3376 | int arg2 ; | |
3004cfd8 RD |
3377 | int arg3 ; |
3378 | int result; | |
cfe5e918 RD |
3379 | PyObject * obj0 = 0 ; |
3380 | PyObject * obj1 = 0 ; | |
3381 | PyObject * obj2 = 0 ; | |
3382 | char *kwnames[] = { | |
3004cfd8 | 3383 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
cfe5e918 RD |
3384 | }; |
3385 | ||
3004cfd8 RD |
3386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3387 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3388 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3389 | { | |
3390 | arg2 = (int)(SWIG_As_int(obj1)); | |
3391 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3392 | } | |
3393 | { | |
3394 | arg3 = (int)(SWIG_As_int(obj2)); | |
3395 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3396 | } | |
cfe5e918 RD |
3397 | { |
3398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3399 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); |
cfe5e918 RD |
3400 | |
3401 | wxPyEndAllowThreads(__tstate); | |
3402 | if (PyErr_Occurred()) SWIG_fail; | |
3403 | } | |
3004cfd8 RD |
3404 | { |
3405 | resultobj = SWIG_From_int((int)(result)); | |
3406 | } | |
cfe5e918 RD |
3407 | return resultobj; |
3408 | fail: | |
3409 | return NULL; | |
3410 | } | |
3411 | ||
3412 | ||
3004cfd8 | 3413 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3414 | PyObject *resultobj; |
3415 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3416 | int arg2 ; | |
3004cfd8 | 3417 | wxBitmap *arg3 = 0 ; |
cfe5e918 RD |
3418 | PyObject * obj0 = 0 ; |
3419 | PyObject * obj1 = 0 ; | |
3420 | PyObject * obj2 = 0 ; | |
3421 | char *kwnames[] = { | |
3004cfd8 | 3422 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL |
cfe5e918 RD |
3423 | }; |
3424 | ||
3004cfd8 RD |
3425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3428 | { | |
3429 | arg2 = (int)(SWIG_As_int(obj1)); | |
3430 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3431 | } | |
3432 | { | |
3433 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
3434 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3435 | if (arg3 == NULL) { | |
3436 | SWIG_null_ref("wxBitmap"); | |
3437 | } | |
3438 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3439 | } | |
cfe5e918 RD |
3440 | { |
3441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3442 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); |
cfe5e918 RD |
3443 | |
3444 | wxPyEndAllowThreads(__tstate); | |
3445 | if (PyErr_Occurred()) SWIG_fail; | |
3446 | } | |
3447 | Py_INCREF(Py_None); resultobj = Py_None; | |
3448 | return resultobj; | |
3449 | fail: | |
3450 | return NULL; | |
3451 | } | |
3452 | ||
3453 | ||
3004cfd8 | 3454 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3455 | PyObject *resultobj; |
3456 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3457 | int arg2 ; | |
3004cfd8 | 3458 | int arg3 ; |
cfe5e918 RD |
3459 | PyObject * obj0 = 0 ; |
3460 | PyObject * obj1 = 0 ; | |
3461 | PyObject * obj2 = 0 ; | |
3462 | char *kwnames[] = { | |
3004cfd8 | 3463 | (char *) "self",(char *) "margin",(char *) "marginType", NULL |
cfe5e918 RD |
3464 | }; |
3465 | ||
3004cfd8 RD |
3466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3467 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3468 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3469 | { |
3004cfd8 RD |
3470 | arg2 = (int)(SWIG_As_int(obj1)); |
3471 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3472 | } | |
3473 | { | |
3474 | arg3 = (int)(SWIG_As_int(obj2)); | |
3475 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
3476 | } |
3477 | { | |
3478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3479 | (arg1)->SetMarginType(arg2,arg3); |
cfe5e918 RD |
3480 | |
3481 | wxPyEndAllowThreads(__tstate); | |
3482 | if (PyErr_Occurred()) SWIG_fail; | |
3483 | } | |
3484 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
3485 | return resultobj; |
3486 | fail: | |
cfe5e918 RD |
3487 | return NULL; |
3488 | } | |
3489 | ||
3490 | ||
3004cfd8 | 3491 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3492 | PyObject *resultobj; |
3493 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3494 | int arg2 ; | |
3004cfd8 | 3495 | int result; |
cfe5e918 RD |
3496 | PyObject * obj0 = 0 ; |
3497 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3498 | char *kwnames[] = { |
3004cfd8 | 3499 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3500 | }; |
3501 | ||
3004cfd8 RD |
3502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; |
3503 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3504 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3505 | { | |
3506 | arg2 = (int)(SWIG_As_int(obj1)); | |
3507 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3508 | } | |
cfe5e918 RD |
3509 | { |
3510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3511 | result = (int)(arg1)->GetMarginType(arg2); |
cfe5e918 RD |
3512 | |
3513 | wxPyEndAllowThreads(__tstate); | |
3514 | if (PyErr_Occurred()) SWIG_fail; | |
3515 | } | |
3004cfd8 RD |
3516 | { |
3517 | resultobj = SWIG_From_int((int)(result)); | |
3518 | } | |
cfe5e918 RD |
3519 | return resultobj; |
3520 | fail: | |
3521 | return NULL; | |
3522 | } | |
3523 | ||
3524 | ||
3004cfd8 | 3525 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3526 | PyObject *resultobj; |
3527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3528 | int arg2 ; |
3529 | int arg3 ; | |
cfe5e918 | 3530 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
3531 | PyObject * obj1 = 0 ; |
3532 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3533 | char *kwnames[] = { |
3004cfd8 | 3534 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL |
cfe5e918 RD |
3535 | }; |
3536 | ||
3004cfd8 RD |
3537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3538 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3539 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3540 | { | |
3541 | arg2 = (int)(SWIG_As_int(obj1)); | |
3542 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3543 | } | |
3544 | { | |
3545 | arg3 = (int)(SWIG_As_int(obj2)); | |
3546 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3547 | } | |
cfe5e918 RD |
3548 | { |
3549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3550 | (arg1)->SetMarginWidth(arg2,arg3); |
cfe5e918 RD |
3551 | |
3552 | wxPyEndAllowThreads(__tstate); | |
3553 | if (PyErr_Occurred()) SWIG_fail; | |
3554 | } | |
3555 | Py_INCREF(Py_None); resultobj = Py_None; | |
3556 | return resultobj; | |
3557 | fail: | |
3558 | return NULL; | |
3559 | } | |
3560 | ||
3561 | ||
3004cfd8 | 3562 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3563 | PyObject *resultobj; |
3564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3565 | int arg2 ; | |
3004cfd8 | 3566 | int result; |
cfe5e918 RD |
3567 | PyObject * obj0 = 0 ; |
3568 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3569 | char *kwnames[] = { |
3004cfd8 | 3570 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3571 | }; |
3572 | ||
3004cfd8 RD |
3573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; |
3574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3576 | { | |
3577 | arg2 = (int)(SWIG_As_int(obj1)); | |
3578 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3579 | } | |
cfe5e918 RD |
3580 | { |
3581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3582 | result = (int)(arg1)->GetMarginWidth(arg2); |
cfe5e918 RD |
3583 | |
3584 | wxPyEndAllowThreads(__tstate); | |
3585 | if (PyErr_Occurred()) SWIG_fail; | |
3586 | } | |
3004cfd8 RD |
3587 | { |
3588 | resultobj = SWIG_From_int((int)(result)); | |
3589 | } | |
cfe5e918 RD |
3590 | return resultobj; |
3591 | fail: | |
3592 | return NULL; | |
3593 | } | |
3594 | ||
3595 | ||
3004cfd8 | 3596 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3597 | PyObject *resultobj; |
3598 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3599 | int arg2 ; | |
3600 | int arg3 ; | |
3601 | PyObject * obj0 = 0 ; | |
3602 | PyObject * obj1 = 0 ; | |
3603 | PyObject * obj2 = 0 ; | |
3604 | char *kwnames[] = { | |
3004cfd8 | 3605 | (char *) "self",(char *) "margin",(char *) "mask", NULL |
cfe5e918 RD |
3606 | }; |
3607 | ||
3004cfd8 RD |
3608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3611 | { | |
3612 | arg2 = (int)(SWIG_As_int(obj1)); | |
3613 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3614 | } | |
3615 | { | |
3616 | arg3 = (int)(SWIG_As_int(obj2)); | |
3617 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3618 | } | |
cfe5e918 RD |
3619 | { |
3620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3621 | (arg1)->SetMarginMask(arg2,arg3); |
cfe5e918 RD |
3622 | |
3623 | wxPyEndAllowThreads(__tstate); | |
3624 | if (PyErr_Occurred()) SWIG_fail; | |
3625 | } | |
3626 | Py_INCREF(Py_None); resultobj = Py_None; | |
3627 | return resultobj; | |
3628 | fail: | |
3629 | return NULL; | |
3630 | } | |
3631 | ||
3632 | ||
3004cfd8 | 3633 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3634 | PyObject *resultobj; |
3635 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3636 | int arg2 ; | |
3004cfd8 | 3637 | int result; |
cfe5e918 RD |
3638 | PyObject * obj0 = 0 ; |
3639 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3640 | char *kwnames[] = { |
3004cfd8 | 3641 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3642 | }; |
3643 | ||
3004cfd8 RD |
3644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; |
3645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3647 | { | |
3648 | arg2 = (int)(SWIG_As_int(obj1)); | |
3649 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3650 | } | |
cfe5e918 RD |
3651 | { |
3652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3653 | result = (int)(arg1)->GetMarginMask(arg2); |
cfe5e918 RD |
3654 | |
3655 | wxPyEndAllowThreads(__tstate); | |
3656 | if (PyErr_Occurred()) SWIG_fail; | |
3657 | } | |
3004cfd8 RD |
3658 | { |
3659 | resultobj = SWIG_From_int((int)(result)); | |
3660 | } | |
cfe5e918 RD |
3661 | return resultobj; |
3662 | fail: | |
3663 | return NULL; | |
3664 | } | |
3665 | ||
3666 | ||
3004cfd8 | 3667 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3668 | PyObject *resultobj; |
3669 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3670 | int arg2 ; | |
3671 | bool arg3 ; | |
3672 | PyObject * obj0 = 0 ; | |
3673 | PyObject * obj1 = 0 ; | |
3674 | PyObject * obj2 = 0 ; | |
3675 | char *kwnames[] = { | |
3004cfd8 | 3676 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL |
cfe5e918 RD |
3677 | }; |
3678 | ||
3004cfd8 RD |
3679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3680 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3681 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3682 | { | |
3683 | arg2 = (int)(SWIG_As_int(obj1)); | |
3684 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3685 | } | |
3686 | { | |
3687 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3688 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3689 | } | |
cfe5e918 RD |
3690 | { |
3691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3692 | (arg1)->SetMarginSensitive(arg2,arg3); |
cfe5e918 RD |
3693 | |
3694 | wxPyEndAllowThreads(__tstate); | |
3695 | if (PyErr_Occurred()) SWIG_fail; | |
3696 | } | |
3697 | Py_INCREF(Py_None); resultobj = Py_None; | |
3698 | return resultobj; | |
3699 | fail: | |
3700 | return NULL; | |
3701 | } | |
3702 | ||
3703 | ||
3004cfd8 | 3704 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3705 | PyObject *resultobj; |
3706 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3707 | int arg2 ; |
3708 | bool result; | |
cfe5e918 RD |
3709 | PyObject * obj0 = 0 ; |
3710 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3711 | char *kwnames[] = { |
3004cfd8 | 3712 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3713 | }; |
3714 | ||
3004cfd8 RD |
3715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; |
3716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3718 | { |
3004cfd8 RD |
3719 | arg2 = (int)(SWIG_As_int(obj1)); |
3720 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3721 | } |
3722 | { | |
3723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 RD |
3724 | result = (bool)(arg1)->GetMarginSensitive(arg2); |
3725 | ||
3726 | wxPyEndAllowThreads(__tstate); | |
3727 | if (PyErr_Occurred()) SWIG_fail; | |
3728 | } | |
3729 | { | |
3730 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3731 | } | |
3732 | return resultobj; | |
3733 | fail: | |
3734 | return NULL; | |
3735 | } | |
3736 | ||
3737 | ||
3738 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
3739 | PyObject *resultobj; | |
3740 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3741 | PyObject * obj0 = 0 ; | |
3742 | char *kwnames[] = { | |
3743 | (char *) "self", NULL | |
3744 | }; | |
3745 | ||
3746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
3747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3749 | { | |
3750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3751 | (arg1)->StyleClearAll(); | |
cfe5e918 RD |
3752 | |
3753 | wxPyEndAllowThreads(__tstate); | |
3754 | if (PyErr_Occurred()) SWIG_fail; | |
3755 | } | |
3756 | Py_INCREF(Py_None); resultobj = Py_None; | |
3757 | return resultobj; | |
3758 | fail: | |
3759 | return NULL; | |
3760 | } | |
3761 | ||
3762 | ||
3004cfd8 | 3763 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3764 | PyObject *resultobj; |
3765 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 3766 | int arg2 ; |
cfe5e918 RD |
3767 | wxColour *arg3 = 0 ; |
3768 | wxColour temp3 ; | |
3769 | PyObject * obj0 = 0 ; | |
3770 | PyObject * obj1 = 0 ; | |
3771 | PyObject * obj2 = 0 ; | |
3772 | char *kwnames[] = { | |
3004cfd8 | 3773 | (char *) "self",(char *) "style",(char *) "fore", NULL |
cfe5e918 RD |
3774 | }; |
3775 | ||
3004cfd8 RD |
3776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3777 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3778 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3779 | { | |
3780 | arg2 = (int)(SWIG_As_int(obj1)); | |
3781 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3782 | } | |
cfe5e918 RD |
3783 | { |
3784 | arg3 = &temp3; | |
3785 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3786 | } | |
3787 | { | |
3788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3789 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3790 | |
3791 | wxPyEndAllowThreads(__tstate); | |
3792 | if (PyErr_Occurred()) SWIG_fail; | |
3793 | } | |
3794 | Py_INCREF(Py_None); resultobj = Py_None; | |
3795 | return resultobj; | |
3796 | fail: | |
3797 | return NULL; | |
3798 | } | |
3799 | ||
3800 | ||
3004cfd8 | 3801 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3802 | PyObject *resultobj; |
3803 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3804 | int arg2 ; |
3805 | wxColour *arg3 = 0 ; | |
3806 | wxColour temp3 ; | |
cfe5e918 RD |
3807 | PyObject * obj0 = 0 ; |
3808 | PyObject * obj1 = 0 ; | |
3004cfd8 | 3809 | PyObject * obj2 = 0 ; |
cfe5e918 | 3810 | char *kwnames[] = { |
3004cfd8 | 3811 | (char *) "self",(char *) "style",(char *) "back", NULL |
cfe5e918 RD |
3812 | }; |
3813 | ||
3004cfd8 RD |
3814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3817 | { |
3004cfd8 RD |
3818 | arg2 = (int)(SWIG_As_int(obj1)); |
3819 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3820 | } | |
3821 | { | |
3822 | arg3 = &temp3; | |
3823 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
cfe5e918 RD |
3824 | } |
3825 | { | |
3826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3827 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3828 | |
3829 | wxPyEndAllowThreads(__tstate); | |
3830 | if (PyErr_Occurred()) SWIG_fail; | |
3831 | } | |
3832 | Py_INCREF(Py_None); resultobj = Py_None; | |
3833 | return resultobj; | |
3834 | fail: | |
3835 | return NULL; | |
3836 | } | |
3837 | ||
3838 | ||
3004cfd8 | 3839 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3840 | PyObject *resultobj; |
3841 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3842 | int arg2 ; | |
3004cfd8 | 3843 | bool arg3 ; |
cfe5e918 RD |
3844 | PyObject * obj0 = 0 ; |
3845 | PyObject * obj1 = 0 ; | |
3846 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3847 | char *kwnames[] = { |
3004cfd8 | 3848 | (char *) "self",(char *) "style",(char *) "bold", NULL |
cfe5e918 RD |
3849 | }; |
3850 | ||
3004cfd8 RD |
3851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3854 | { | |
3855 | arg2 = (int)(SWIG_As_int(obj1)); | |
3856 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3857 | } | |
3858 | { | |
3859 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3860 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3861 | } | |
cfe5e918 RD |
3862 | { |
3863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3864 | (arg1)->StyleSetBold(arg2,arg3); |
cfe5e918 RD |
3865 | |
3866 | wxPyEndAllowThreads(__tstate); | |
3867 | if (PyErr_Occurred()) SWIG_fail; | |
3868 | } | |
3869 | Py_INCREF(Py_None); resultobj = Py_None; | |
3870 | return resultobj; | |
3871 | fail: | |
3872 | return NULL; | |
3873 | } | |
3874 | ||
3875 | ||
3004cfd8 | 3876 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3877 | PyObject *resultobj; |
3878 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3879 | int arg2 ; | |
3004cfd8 | 3880 | bool arg3 ; |
cfe5e918 RD |
3881 | PyObject * obj0 = 0 ; |
3882 | PyObject * obj1 = 0 ; | |
3883 | PyObject * obj2 = 0 ; | |
3884 | char *kwnames[] = { | |
3004cfd8 | 3885 | (char *) "self",(char *) "style",(char *) "italic", NULL |
cfe5e918 RD |
3886 | }; |
3887 | ||
3004cfd8 RD |
3888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3891 | { | |
3892 | arg2 = (int)(SWIG_As_int(obj1)); | |
3893 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3894 | } | |
3895 | { | |
3896 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3897 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3898 | } | |
cfe5e918 RD |
3899 | { |
3900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3901 | (arg1)->StyleSetItalic(arg2,arg3); |
cfe5e918 RD |
3902 | |
3903 | wxPyEndAllowThreads(__tstate); | |
3904 | if (PyErr_Occurred()) SWIG_fail; | |
3905 | } | |
3906 | Py_INCREF(Py_None); resultobj = Py_None; | |
3907 | return resultobj; | |
3908 | fail: | |
3909 | return NULL; | |
3910 | } | |
3911 | ||
3912 | ||
3004cfd8 | 3913 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3914 | PyObject *resultobj; |
3915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3916 | int arg2 ; |
3917 | int arg3 ; | |
cfe5e918 | 3918 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
3919 | PyObject * obj1 = 0 ; |
3920 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3921 | char *kwnames[] = { |
3004cfd8 | 3922 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL |
cfe5e918 RD |
3923 | }; |
3924 | ||
3004cfd8 RD |
3925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3928 | { | |
3929 | arg2 = (int)(SWIG_As_int(obj1)); | |
3930 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3931 | } | |
3932 | { | |
3933 | arg3 = (int)(SWIG_As_int(obj2)); | |
3934 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3935 | } | |
cfe5e918 RD |
3936 | { |
3937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3938 | (arg1)->StyleSetSize(arg2,arg3); |
cfe5e918 RD |
3939 | |
3940 | wxPyEndAllowThreads(__tstate); | |
3941 | if (PyErr_Occurred()) SWIG_fail; | |
3942 | } | |
3943 | Py_INCREF(Py_None); resultobj = Py_None; | |
3944 | return resultobj; | |
3945 | fail: | |
3946 | return NULL; | |
3947 | } | |
3948 | ||
3949 | ||
3004cfd8 | 3950 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3951 | PyObject *resultobj; |
3952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3953 | int arg2 ; | |
3004cfd8 RD |
3954 | wxString *arg3 = 0 ; |
3955 | bool temp3 = false ; | |
cfe5e918 RD |
3956 | PyObject * obj0 = 0 ; |
3957 | PyObject * obj1 = 0 ; | |
3958 | PyObject * obj2 = 0 ; | |
3959 | char *kwnames[] = { | |
3004cfd8 | 3960 | (char *) "self",(char *) "style",(char *) "fontName", NULL |
cfe5e918 RD |
3961 | }; |
3962 | ||
3004cfd8 RD |
3963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3966 | { | |
3967 | arg2 = (int)(SWIG_As_int(obj1)); | |
3968 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3969 | } | |
3970 | { | |
3971 | arg3 = wxString_in_helper(obj2); | |
3972 | if (arg3 == NULL) SWIG_fail; | |
3973 | temp3 = true; | |
3974 | } | |
cfe5e918 RD |
3975 | { |
3976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3977 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
3978 | |
3979 | wxPyEndAllowThreads(__tstate); | |
3980 | if (PyErr_Occurred()) SWIG_fail; | |
3981 | } | |
3982 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
3983 | { |
3984 | if (temp3) | |
3985 | delete arg3; | |
3986 | } | |
cfe5e918 RD |
3987 | return resultobj; |
3988 | fail: | |
3004cfd8 RD |
3989 | { |
3990 | if (temp3) | |
3991 | delete arg3; | |
3992 | } | |
cfe5e918 RD |
3993 | return NULL; |
3994 | } | |
3995 | ||
3996 | ||
3004cfd8 | 3997 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3998 | PyObject *resultobj; |
3999 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4000 | int arg2 ; | |
4001 | bool arg3 ; | |
4002 | PyObject * obj0 = 0 ; | |
4003 | PyObject * obj1 = 0 ; | |
4004 | PyObject * obj2 = 0 ; | |
4005 | char *kwnames[] = { | |
3004cfd8 | 4006 | (char *) "self",(char *) "style",(char *) "filled", NULL |
cfe5e918 RD |
4007 | }; |
4008 | ||
3004cfd8 RD |
4009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4010 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4011 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4012 | { | |
4013 | arg2 = (int)(SWIG_As_int(obj1)); | |
4014 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4015 | } | |
4016 | { | |
4017 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4018 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4019 | } | |
cfe5e918 RD |
4020 | { |
4021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4022 | (arg1)->StyleSetEOLFilled(arg2,arg3); |
cfe5e918 RD |
4023 | |
4024 | wxPyEndAllowThreads(__tstate); | |
4025 | if (PyErr_Occurred()) SWIG_fail; | |
4026 | } | |
4027 | Py_INCREF(Py_None); resultobj = Py_None; | |
4028 | return resultobj; | |
4029 | fail: | |
4030 | return NULL; | |
4031 | } | |
4032 | ||
4033 | ||
3004cfd8 | 4034 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4035 | PyObject *resultobj; |
4036 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
4037 | PyObject * obj0 = 0 ; |
4038 | char *kwnames[] = { | |
4039 | (char *) "self", NULL | |
4040 | }; | |
4041 | ||
3004cfd8 RD |
4042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; |
4043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4045 | { |
4046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4047 | (arg1)->StyleResetDefault(); |
cfe5e918 RD |
4048 | |
4049 | wxPyEndAllowThreads(__tstate); | |
4050 | if (PyErr_Occurred()) SWIG_fail; | |
4051 | } | |
3004cfd8 | 4052 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4053 | return resultobj; |
4054 | fail: | |
4055 | return NULL; | |
4056 | } | |
4057 | ||
4058 | ||
3004cfd8 | 4059 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4060 | PyObject *resultobj; |
4061 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4062 | int arg2 ; | |
3004cfd8 | 4063 | bool arg3 ; |
cfe5e918 RD |
4064 | PyObject * obj0 = 0 ; |
4065 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4066 | PyObject * obj2 = 0 ; |
cfe5e918 | 4067 | char *kwnames[] = { |
3004cfd8 | 4068 | (char *) "self",(char *) "style",(char *) "underline", NULL |
cfe5e918 RD |
4069 | }; |
4070 | ||
3004cfd8 RD |
4071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4074 | { |
3004cfd8 RD |
4075 | arg2 = (int)(SWIG_As_int(obj1)); |
4076 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 4077 | } |
cfe5e918 | 4078 | { |
3004cfd8 RD |
4079 | arg3 = (bool)(SWIG_As_bool(obj2)); |
4080 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
4081 | } |
4082 | { | |
4083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4084 | (arg1)->StyleSetUnderline(arg2,arg3); |
cfe5e918 RD |
4085 | |
4086 | wxPyEndAllowThreads(__tstate); | |
4087 | if (PyErr_Occurred()) SWIG_fail; | |
4088 | } | |
4089 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
4090 | return resultobj; |
4091 | fail: | |
cfe5e918 RD |
4092 | return NULL; |
4093 | } | |
4094 | ||
4095 | ||
3004cfd8 | 4096 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4097 | PyObject *resultobj; |
4098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4099 | int arg2 ; |
4100 | int arg3 ; | |
cfe5e918 | 4101 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4102 | PyObject * obj1 = 0 ; |
4103 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4104 | char *kwnames[] = { |
3004cfd8 | 4105 | (char *) "self",(char *) "style",(char *) "caseForce", NULL |
cfe5e918 RD |
4106 | }; |
4107 | ||
3004cfd8 RD |
4108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4111 | { |
3004cfd8 RD |
4112 | arg2 = (int)(SWIG_As_int(obj1)); |
4113 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4114 | } | |
4115 | { | |
4116 | arg3 = (int)(SWIG_As_int(obj2)); | |
4117 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 | 4118 | } |
cfe5e918 RD |
4119 | { |
4120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4121 | (arg1)->StyleSetCase(arg2,arg3); |
cfe5e918 RD |
4122 | |
4123 | wxPyEndAllowThreads(__tstate); | |
4124 | if (PyErr_Occurred()) SWIG_fail; | |
4125 | } | |
4126 | Py_INCREF(Py_None); resultobj = Py_None; | |
4127 | return resultobj; | |
4128 | fail: | |
4129 | return NULL; | |
4130 | } | |
4131 | ||
4132 | ||
3004cfd8 | 4133 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4134 | PyObject *resultobj; |
4135 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4136 | int arg2 ; | |
4137 | int arg3 ; | |
4138 | PyObject * obj0 = 0 ; | |
4139 | PyObject * obj1 = 0 ; | |
4140 | PyObject * obj2 = 0 ; | |
4141 | char *kwnames[] = { | |
3004cfd8 | 4142 | (char *) "self",(char *) "style",(char *) "characterSet", NULL |
cfe5e918 RD |
4143 | }; |
4144 | ||
3004cfd8 RD |
4145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4146 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4147 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4148 | { | |
4149 | arg2 = (int)(SWIG_As_int(obj1)); | |
4150 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4151 | } | |
4152 | { | |
4153 | arg3 = (int)(SWIG_As_int(obj2)); | |
4154 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4155 | } | |
cfe5e918 RD |
4156 | { |
4157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4158 | (arg1)->StyleSetCharacterSet(arg2,arg3); |
cfe5e918 RD |
4159 | |
4160 | wxPyEndAllowThreads(__tstate); | |
4161 | if (PyErr_Occurred()) SWIG_fail; | |
4162 | } | |
4163 | Py_INCREF(Py_None); resultobj = Py_None; | |
4164 | return resultobj; | |
4165 | fail: | |
4166 | return NULL; | |
4167 | } | |
4168 | ||
4169 | ||
3004cfd8 | 4170 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4171 | PyObject *resultobj; |
4172 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4173 | int arg2 ; | |
3004cfd8 | 4174 | bool arg3 ; |
cfe5e918 RD |
4175 | PyObject * obj0 = 0 ; |
4176 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4177 | PyObject * obj2 = 0 ; |
cfe5e918 | 4178 | char *kwnames[] = { |
3004cfd8 | 4179 | (char *) "self",(char *) "style",(char *) "hotspot", NULL |
cfe5e918 RD |
4180 | }; |
4181 | ||
3004cfd8 RD |
4182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4185 | { | |
4186 | arg2 = (int)(SWIG_As_int(obj1)); | |
4187 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4188 | } | |
4189 | { | |
4190 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4191 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4192 | } | |
cfe5e918 RD |
4193 | { |
4194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4195 | (arg1)->StyleSetHotSpot(arg2,arg3); |
cfe5e918 RD |
4196 | |
4197 | wxPyEndAllowThreads(__tstate); | |
4198 | if (PyErr_Occurred()) SWIG_fail; | |
4199 | } | |
3004cfd8 | 4200 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4201 | return resultobj; |
4202 | fail: | |
4203 | return NULL; | |
4204 | } | |
4205 | ||
4206 | ||
3004cfd8 | 4207 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4208 | PyObject *resultobj; |
4209 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4210 | bool arg2 ; |
cfe5e918 RD |
4211 | wxColour *arg3 = 0 ; |
4212 | wxColour temp3 ; | |
4213 | PyObject * obj0 = 0 ; | |
4214 | PyObject * obj1 = 0 ; | |
4215 | PyObject * obj2 = 0 ; | |
4216 | char *kwnames[] = { | |
3004cfd8 | 4217 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
4218 | }; |
4219 | ||
3004cfd8 RD |
4220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4223 | { | |
4224 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4225 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4226 | } | |
cfe5e918 RD |
4227 | { |
4228 | arg3 = &temp3; | |
4229 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4230 | } | |
4231 | { | |
4232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4233 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4234 | |
4235 | wxPyEndAllowThreads(__tstate); | |
4236 | if (PyErr_Occurred()) SWIG_fail; | |
4237 | } | |
4238 | Py_INCREF(Py_None); resultobj = Py_None; | |
4239 | return resultobj; | |
4240 | fail: | |
4241 | return NULL; | |
4242 | } | |
4243 | ||
4244 | ||
3004cfd8 | 4245 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4246 | PyObject *resultobj; |
4247 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4248 | bool arg2 ; |
4249 | wxColour *arg3 = 0 ; | |
4250 | wxColour temp3 ; | |
cfe5e918 RD |
4251 | PyObject * obj0 = 0 ; |
4252 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4253 | PyObject * obj2 = 0 ; |
cfe5e918 | 4254 | char *kwnames[] = { |
3004cfd8 | 4255 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
4256 | }; |
4257 | ||
3004cfd8 RD |
4258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4259 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4260 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4261 | { | |
4262 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4263 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4264 | } | |
4265 | { | |
4266 | arg3 = &temp3; | |
4267 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4268 | } | |
cfe5e918 RD |
4269 | { |
4270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4271 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4272 | |
4273 | wxPyEndAllowThreads(__tstate); | |
4274 | if (PyErr_Occurred()) SWIG_fail; | |
4275 | } | |
3004cfd8 | 4276 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4277 | return resultobj; |
4278 | fail: | |
4279 | return NULL; | |
4280 | } | |
4281 | ||
4282 | ||
3004cfd8 | 4283 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4284 | PyObject *resultobj; |
4285 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4286 | wxColour *arg2 = 0 ; |
4287 | wxColour temp2 ; | |
cfe5e918 RD |
4288 | PyObject * obj0 = 0 ; |
4289 | PyObject * obj1 = 0 ; | |
cfe5e918 | 4290 | char *kwnames[] = { |
3004cfd8 | 4291 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
4292 | }; |
4293 | ||
3004cfd8 RD |
4294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; |
4295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4297 | { |
3004cfd8 RD |
4298 | arg2 = &temp2; |
4299 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
cfe5e918 RD |
4300 | } |
4301 | { | |
4302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4303 | (arg1)->SetCaretForeground((wxColour const &)*arg2); |
cfe5e918 RD |
4304 | |
4305 | wxPyEndAllowThreads(__tstate); | |
4306 | if (PyErr_Occurred()) SWIG_fail; | |
4307 | } | |
4308 | Py_INCREF(Py_None); resultobj = Py_None; | |
4309 | return resultobj; | |
4310 | fail: | |
4311 | return NULL; | |
4312 | } | |
4313 | ||
4314 | ||
3004cfd8 | 4315 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4316 | PyObject *resultobj; |
4317 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4318 | int arg2 ; |
4319 | int arg3 ; | |
4320 | int arg4 ; | |
cfe5e918 RD |
4321 | PyObject * obj0 = 0 ; |
4322 | PyObject * obj1 = 0 ; | |
4323 | PyObject * obj2 = 0 ; | |
3004cfd8 | 4324 | PyObject * obj3 = 0 ; |
cfe5e918 | 4325 | char *kwnames[] = { |
3004cfd8 | 4326 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL |
cfe5e918 RD |
4327 | }; |
4328 | ||
3004cfd8 RD |
4329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
4330 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4331 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4332 | { |
3004cfd8 RD |
4333 | arg2 = (int)(SWIG_As_int(obj1)); |
4334 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4335 | } | |
4336 | { | |
4337 | arg3 = (int)(SWIG_As_int(obj2)); | |
4338 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4339 | } | |
4340 | { | |
4341 | arg4 = (int)(SWIG_As_int(obj3)); | |
4342 | if (SWIG_arg_fail(4)) SWIG_fail; | |
cfe5e918 RD |
4343 | } |
4344 | { | |
4345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4346 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); |
cfe5e918 RD |
4347 | |
4348 | wxPyEndAllowThreads(__tstate); | |
4349 | if (PyErr_Occurred()) SWIG_fail; | |
4350 | } | |
4351 | Py_INCREF(Py_None); resultobj = Py_None; | |
4352 | return resultobj; | |
4353 | fail: | |
4354 | return NULL; | |
4355 | } | |
4356 | ||
4357 | ||
3004cfd8 | 4358 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4359 | PyObject *resultobj; |
4360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4361 | int arg2 ; | |
3004cfd8 | 4362 | int arg3 ; |
cfe5e918 RD |
4363 | PyObject * obj0 = 0 ; |
4364 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4365 | PyObject * obj2 = 0 ; |
cfe5e918 | 4366 | char *kwnames[] = { |
3004cfd8 | 4367 | (char *) "self",(char *) "key",(char *) "modifiers", NULL |
cfe5e918 RD |
4368 | }; |
4369 | ||
3004cfd8 RD |
4370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4371 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4372 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4373 | { | |
4374 | arg2 = (int)(SWIG_As_int(obj1)); | |
4375 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4376 | } | |
4377 | { | |
4378 | arg3 = (int)(SWIG_As_int(obj2)); | |
4379 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4380 | } | |
cfe5e918 RD |
4381 | { |
4382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4383 | (arg1)->CmdKeyClear(arg2,arg3); |
cfe5e918 RD |
4384 | |
4385 | wxPyEndAllowThreads(__tstate); | |
4386 | if (PyErr_Occurred()) SWIG_fail; | |
4387 | } | |
4388 | Py_INCREF(Py_None); resultobj = Py_None; | |
4389 | return resultobj; | |
4390 | fail: | |
4391 | return NULL; | |
4392 | } | |
4393 | ||
4394 | ||
3004cfd8 | 4395 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4396 | PyObject *resultobj; |
4397 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
4398 | PyObject * obj0 = 0 ; |
4399 | char *kwnames[] = { | |
4400 | (char *) "self", NULL | |
4401 | }; | |
4402 | ||
3004cfd8 RD |
4403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; |
4404 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4405 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4406 | { |
4407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4408 | (arg1)->CmdKeyClearAll(); |
cfe5e918 RD |
4409 | |
4410 | wxPyEndAllowThreads(__tstate); | |
4411 | if (PyErr_Occurred()) SWIG_fail; | |
4412 | } | |
3004cfd8 | 4413 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4414 | return resultobj; |
4415 | fail: | |
4416 | return NULL; | |
4417 | } | |
4418 | ||
4419 | ||
3004cfd8 | 4420 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4421 | PyObject *resultobj; |
4422 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4423 | int arg2 ; | |
3004cfd8 | 4424 | char *arg3 = (char *) 0 ; |
cfe5e918 RD |
4425 | PyObject * obj0 = 0 ; |
4426 | PyObject * obj1 = 0 ; | |
4427 | PyObject * obj2 = 0 ; | |
4428 | char *kwnames[] = { | |
3004cfd8 | 4429 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL |
cfe5e918 RD |
4430 | }; |
4431 | ||
3004cfd8 RD |
4432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4435 | { | |
4436 | arg2 = (int)(SWIG_As_int(obj1)); | |
4437 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4438 | } | |
4439 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
4440 | SWIG_arg_fail(3);SWIG_fail; | |
4441 | } | |
cfe5e918 RD |
4442 | { |
4443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4444 | (arg1)->SetStyleBytes(arg2,arg3); |
cfe5e918 RD |
4445 | |
4446 | wxPyEndAllowThreads(__tstate); | |
4447 | if (PyErr_Occurred()) SWIG_fail; | |
4448 | } | |
4449 | Py_INCREF(Py_None); resultobj = Py_None; | |
4450 | return resultobj; | |
4451 | fail: | |
4452 | return NULL; | |
4453 | } | |
4454 | ||
4455 | ||
3004cfd8 | 4456 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4457 | PyObject *resultobj; |
4458 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4459 | int arg2 ; | |
3004cfd8 | 4460 | bool arg3 ; |
cfe5e918 RD |
4461 | PyObject * obj0 = 0 ; |
4462 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4463 | PyObject * obj2 = 0 ; |
cfe5e918 | 4464 | char *kwnames[] = { |
3004cfd8 | 4465 | (char *) "self",(char *) "style",(char *) "visible", NULL |
cfe5e918 RD |
4466 | }; |
4467 | ||
3004cfd8 RD |
4468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4471 | { | |
4472 | arg2 = (int)(SWIG_As_int(obj1)); | |
4473 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4474 | } | |
4475 | { | |
4476 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4477 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4478 | } | |
cfe5e918 RD |
4479 | { |
4480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4481 | (arg1)->StyleSetVisible(arg2,arg3); |
cfe5e918 RD |
4482 | |
4483 | wxPyEndAllowThreads(__tstate); | |
4484 | if (PyErr_Occurred()) SWIG_fail; | |
4485 | } | |
3004cfd8 | 4486 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4487 | return resultobj; |
4488 | fail: | |
4489 | return NULL; | |
4490 | } | |
4491 | ||
4492 | ||
3004cfd8 | 4493 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4494 | PyObject *resultobj; |
4495 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4496 | int result; | |
4497 | PyObject * obj0 = 0 ; | |
4498 | char *kwnames[] = { | |
4499 | (char *) "self", NULL | |
4500 | }; | |
4501 | ||
3004cfd8 RD |
4502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; |
4503 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4504 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4505 | { |
4506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4507 | result = (int)(arg1)->GetCaretPeriod(); |
cfe5e918 RD |
4508 | |
4509 | wxPyEndAllowThreads(__tstate); | |
4510 | if (PyErr_Occurred()) SWIG_fail; | |
4511 | } | |
3004cfd8 RD |
4512 | { |
4513 | resultobj = SWIG_From_int((int)(result)); | |
4514 | } | |
cfe5e918 RD |
4515 | return resultobj; |
4516 | fail: | |
4517 | return NULL; | |
4518 | } | |
4519 | ||
4520 | ||
3004cfd8 | 4521 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4522 | PyObject *resultobj; |
4523 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4524 | int arg2 ; |
cfe5e918 | 4525 | PyObject * obj0 = 0 ; |
3004cfd8 | 4526 | PyObject * obj1 = 0 ; |
cfe5e918 | 4527 | char *kwnames[] = { |
3004cfd8 | 4528 | (char *) "self",(char *) "periodMilliseconds", NULL |
cfe5e918 RD |
4529 | }; |
4530 | ||
3004cfd8 RD |
4531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; |
4532 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4533 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4534 | { | |
4535 | arg2 = (int)(SWIG_As_int(obj1)); | |
4536 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4537 | } | |
cfe5e918 RD |
4538 | { |
4539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4540 | (arg1)->SetCaretPeriod(arg2); |
cfe5e918 RD |
4541 | |
4542 | wxPyEndAllowThreads(__tstate); | |
4543 | if (PyErr_Occurred()) SWIG_fail; | |
4544 | } | |
3004cfd8 | 4545 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4546 | return resultobj; |
4547 | fail: | |
4548 | return NULL; | |
4549 | } | |
4550 | ||
4551 | ||
3004cfd8 | 4552 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4553 | PyObject *resultobj; |
4554 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4555 | wxString *arg2 = 0 ; |
4556 | bool temp2 = false ; | |
cfe5e918 RD |
4557 | PyObject * obj0 = 0 ; |
4558 | PyObject * obj1 = 0 ; | |
4559 | char *kwnames[] = { | |
3004cfd8 | 4560 | (char *) "self",(char *) "characters", NULL |
cfe5e918 RD |
4561 | }; |
4562 | ||
3004cfd8 RD |
4563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; |
4564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4566 | { | |
4567 | arg2 = wxString_in_helper(obj1); | |
4568 | if (arg2 == NULL) SWIG_fail; | |
4569 | temp2 = true; | |
4570 | } | |
cfe5e918 RD |
4571 | { |
4572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4573 | (arg1)->SetWordChars((wxString const &)*arg2); |
cfe5e918 RD |
4574 | |
4575 | wxPyEndAllowThreads(__tstate); | |
4576 | if (PyErr_Occurred()) SWIG_fail; | |
4577 | } | |
4578 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
4579 | { |
4580 | if (temp2) | |
4581 | delete arg2; | |
4582 | } | |
cfe5e918 RD |
4583 | return resultobj; |
4584 | fail: | |
3004cfd8 RD |
4585 | { |
4586 | if (temp2) | |
4587 | delete arg2; | |
4588 | } | |
cfe5e918 RD |
4589 | return NULL; |
4590 | } | |
4591 | ||
4592 | ||
3004cfd8 | 4593 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4594 | PyObject *resultobj; |
4595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
4596 | PyObject * obj0 = 0 ; |
4597 | char *kwnames[] = { | |
4598 | (char *) "self", NULL | |
4599 | }; | |
4600 | ||
3004cfd8 RD |
4601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; |
4602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4604 | { |
4605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4606 | (arg1)->BeginUndoAction(); |
cfe5e918 RD |
4607 | |
4608 | wxPyEndAllowThreads(__tstate); | |
4609 | if (PyErr_Occurred()) SWIG_fail; | |
4610 | } | |
3004cfd8 | 4611 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4612 | return resultobj; |
4613 | fail: | |
4614 | return NULL; | |
4615 | } | |
4616 | ||
4617 | ||
3004cfd8 | 4618 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4619 | PyObject *resultobj; |
4620 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 4621 | PyObject * obj0 = 0 ; |
cfe5e918 | 4622 | char *kwnames[] = { |
3004cfd8 | 4623 | (char *) "self", NULL |
cfe5e918 RD |
4624 | }; |
4625 | ||
3004cfd8 RD |
4626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; |
4627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4629 | { |
4630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4631 | (arg1)->EndUndoAction(); |
cfe5e918 RD |
4632 | |
4633 | wxPyEndAllowThreads(__tstate); | |
4634 | if (PyErr_Occurred()) SWIG_fail; | |
4635 | } | |
4636 | Py_INCREF(Py_None); resultobj = Py_None; | |
4637 | return resultobj; | |
4638 | fail: | |
4639 | return NULL; | |
4640 | } | |
4641 | ||
4642 | ||
3004cfd8 | 4643 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4644 | PyObject *resultobj; |
4645 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4646 | int arg2 ; | |
3004cfd8 | 4647 | int arg3 ; |
cfe5e918 RD |
4648 | PyObject * obj0 = 0 ; |
4649 | PyObject * obj1 = 0 ; | |
4650 | PyObject * obj2 = 0 ; | |
4651 | char *kwnames[] = { | |
3004cfd8 | 4652 | (char *) "self",(char *) "indic",(char *) "style", NULL |
cfe5e918 RD |
4653 | }; |
4654 | ||
3004cfd8 RD |
4655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4656 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4657 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4658 | { | |
4659 | arg2 = (int)(SWIG_As_int(obj1)); | |
4660 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4661 | } | |
4662 | { | |
4663 | arg3 = (int)(SWIG_As_int(obj2)); | |
4664 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4665 | } | |
cfe5e918 RD |
4666 | { |
4667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4668 | (arg1)->IndicatorSetStyle(arg2,arg3); |
cfe5e918 RD |
4669 | |
4670 | wxPyEndAllowThreads(__tstate); | |
4671 | if (PyErr_Occurred()) SWIG_fail; | |
4672 | } | |
4673 | Py_INCREF(Py_None); resultobj = Py_None; | |
4674 | return resultobj; | |
4675 | fail: | |
4676 | return NULL; | |
4677 | } | |
4678 | ||
4679 | ||
3004cfd8 | 4680 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4681 | PyObject *resultobj; |
4682 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4683 | int arg2 ; | |
3004cfd8 | 4684 | int result; |
cfe5e918 RD |
4685 | PyObject * obj0 = 0 ; |
4686 | PyObject * obj1 = 0 ; | |
cfe5e918 | 4687 | char *kwnames[] = { |
3004cfd8 | 4688 | (char *) "self",(char *) "indic", NULL |
cfe5e918 RD |
4689 | }; |
4690 | ||
3004cfd8 RD |
4691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; |
4692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4694 | { |
3004cfd8 RD |
4695 | arg2 = (int)(SWIG_As_int(obj1)); |
4696 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4697 | } |
4698 | { | |
4699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4700 | result = (int)(arg1)->IndicatorGetStyle(arg2); |
cfe5e918 RD |
4701 | |
4702 | wxPyEndAllowThreads(__tstate); | |
4703 | if (PyErr_Occurred()) SWIG_fail; | |
4704 | } | |
cfe5e918 | 4705 | { |
3004cfd8 | 4706 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
4707 | } |
4708 | return resultobj; | |
4709 | fail: | |
cfe5e918 RD |
4710 | return NULL; |
4711 | } | |
4712 | ||
4713 | ||
3004cfd8 | 4714 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4715 | PyObject *resultobj; |
4716 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4717 | int arg2 ; |
4718 | wxColour *arg3 = 0 ; | |
4719 | wxColour temp3 ; | |
cfe5e918 | 4720 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4721 | PyObject * obj1 = 0 ; |
4722 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4723 | char *kwnames[] = { |
3004cfd8 | 4724 | (char *) "self",(char *) "indic",(char *) "fore", NULL |
cfe5e918 RD |
4725 | }; |
4726 | ||
3004cfd8 RD |
4727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4728 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4729 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4730 | { | |
4731 | arg2 = (int)(SWIG_As_int(obj1)); | |
4732 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4733 | } | |
4734 | { | |
4735 | arg3 = &temp3; | |
4736 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4737 | } | |
cfe5e918 RD |
4738 | { |
4739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4740 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4741 | |
4742 | wxPyEndAllowThreads(__tstate); | |
4743 | if (PyErr_Occurred()) SWIG_fail; | |
4744 | } | |
4745 | Py_INCREF(Py_None); resultobj = Py_None; | |
4746 | return resultobj; | |
4747 | fail: | |
4748 | return NULL; | |
4749 | } | |
4750 | ||
4751 | ||
3004cfd8 | 4752 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4753 | PyObject *resultobj; |
4754 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4755 | int arg2 ; |
4756 | wxColour result; | |
cfe5e918 | 4757 | PyObject * obj0 = 0 ; |
3004cfd8 | 4758 | PyObject * obj1 = 0 ; |
cfe5e918 | 4759 | char *kwnames[] = { |
3004cfd8 | 4760 | (char *) "self",(char *) "indic", NULL |
cfe5e918 RD |
4761 | }; |
4762 | ||
3004cfd8 RD |
4763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; |
4764 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4765 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4766 | { | |
4767 | arg2 = (int)(SWIG_As_int(obj1)); | |
4768 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4769 | } | |
cfe5e918 RD |
4770 | { |
4771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4772 | result = (arg1)->IndicatorGetForeground(arg2); |
cfe5e918 RD |
4773 | |
4774 | wxPyEndAllowThreads(__tstate); | |
4775 | if (PyErr_Occurred()) SWIG_fail; | |
4776 | } | |
4777 | { | |
3004cfd8 RD |
4778 | wxColour * resultptr; |
4779 | resultptr = new wxColour((wxColour &)(result)); | |
4780 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
cfe5e918 RD |
4781 | } |
4782 | return resultobj; | |
4783 | fail: | |
4784 | return NULL; | |
4785 | } | |
4786 | ||
4787 | ||
3004cfd8 | 4788 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4789 | PyObject *resultobj; |
4790 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4791 | bool arg2 ; |
4792 | wxColour *arg3 = 0 ; | |
4793 | wxColour temp3 ; | |
cfe5e918 | 4794 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4795 | PyObject * obj1 = 0 ; |
4796 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4797 | char *kwnames[] = { |
3004cfd8 | 4798 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
4799 | }; |
4800 | ||
3004cfd8 RD |
4801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4804 | { | |
4805 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4806 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4807 | } | |
4808 | { | |
4809 | arg3 = &temp3; | |
4810 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4811 | } | |
cfe5e918 RD |
4812 | { |
4813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4814 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4815 | |
4816 | wxPyEndAllowThreads(__tstate); | |
4817 | if (PyErr_Occurred()) SWIG_fail; | |
4818 | } | |
3004cfd8 | 4819 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4820 | return resultobj; |
4821 | fail: | |
4822 | return NULL; | |
4823 | } | |
4824 | ||
4825 | ||
3004cfd8 | 4826 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4827 | PyObject *resultobj; |
4828 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4829 | bool arg2 ; |
4830 | wxColour *arg3 = 0 ; | |
4831 | wxColour temp3 ; | |
cfe5e918 | 4832 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4833 | PyObject * obj1 = 0 ; |
4834 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4835 | char *kwnames[] = { |
3004cfd8 | 4836 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
4837 | }; |
4838 | ||
3004cfd8 RD |
4839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4842 | { | |
4843 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4844 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4845 | } | |
4846 | { | |
4847 | arg3 = &temp3; | |
4848 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4849 | } | |
cfe5e918 RD |
4850 | { |
4851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4852 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4853 | |
4854 | wxPyEndAllowThreads(__tstate); | |
4855 | if (PyErr_Occurred()) SWIG_fail; | |
4856 | } | |
4857 | Py_INCREF(Py_None); resultobj = Py_None; | |
4858 | return resultobj; | |
4859 | fail: | |
4860 | return NULL; | |
4861 | } | |
4862 | ||
4863 | ||
3004cfd8 | 4864 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4865 | PyObject *resultobj; |
4866 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4867 | int arg2 ; |
cfe5e918 RD |
4868 | PyObject * obj0 = 0 ; |
4869 | PyObject * obj1 = 0 ; | |
4870 | char *kwnames[] = { | |
3004cfd8 | 4871 | (char *) "self",(char *) "bits", NULL |
cfe5e918 RD |
4872 | }; |
4873 | ||
3004cfd8 RD |
4874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; |
4875 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4876 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4877 | { |
3004cfd8 RD |
4878 | arg2 = (int)(SWIG_As_int(obj1)); |
4879 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4880 | } |
4881 | { | |
4882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4883 | (arg1)->SetStyleBits(arg2); |
cfe5e918 RD |
4884 | |
4885 | wxPyEndAllowThreads(__tstate); | |
4886 | if (PyErr_Occurred()) SWIG_fail; | |
4887 | } | |
4888 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
4889 | return resultobj; |
4890 | fail: | |
cfe5e918 RD |
4891 | return NULL; |
4892 | } | |
4893 | ||
4894 | ||
3004cfd8 | 4895 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4896 | PyObject *resultobj; |
4897 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4898 | int result; |
cfe5e918 | 4899 | PyObject * obj0 = 0 ; |
cfe5e918 | 4900 | char *kwnames[] = { |
3004cfd8 | 4901 | (char *) "self", NULL |
cfe5e918 RD |
4902 | }; |
4903 | ||
3004cfd8 RD |
4904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; |
4905 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4906 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4907 | { |
4908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4909 | result = (int)(arg1)->GetStyleBits(); |
cfe5e918 RD |
4910 | |
4911 | wxPyEndAllowThreads(__tstate); | |
4912 | if (PyErr_Occurred()) SWIG_fail; | |
4913 | } | |
3004cfd8 RD |
4914 | { |
4915 | resultobj = SWIG_From_int((int)(result)); | |
4916 | } | |
cfe5e918 RD |
4917 | return resultobj; |
4918 | fail: | |
4919 | return NULL; | |
4920 | } | |
4921 | ||
4922 | ||
3004cfd8 | 4923 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4924 | PyObject *resultobj; |
4925 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4926 | int arg2 ; |
4927 | int arg3 ; | |
cfe5e918 | 4928 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4929 | PyObject * obj1 = 0 ; |
4930 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4931 | char *kwnames[] = { |
3004cfd8 | 4932 | (char *) "self",(char *) "line",(char *) "state", NULL |
cfe5e918 RD |
4933 | }; |
4934 | ||
3004cfd8 RD |
4935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4938 | { | |
4939 | arg2 = (int)(SWIG_As_int(obj1)); | |
4940 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4941 | } | |
4942 | { | |
4943 | arg3 = (int)(SWIG_As_int(obj2)); | |
4944 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4945 | } | |
cfe5e918 RD |
4946 | { |
4947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4948 | (arg1)->SetLineState(arg2,arg3); |
cfe5e918 RD |
4949 | |
4950 | wxPyEndAllowThreads(__tstate); | |
4951 | if (PyErr_Occurred()) SWIG_fail; | |
4952 | } | |
3004cfd8 | 4953 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4954 | return resultobj; |
4955 | fail: | |
4956 | return NULL; | |
4957 | } | |
4958 | ||
4959 | ||
3004cfd8 | 4960 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4961 | PyObject *resultobj; |
4962 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4963 | int arg2 ; |
4964 | int result; | |
cfe5e918 RD |
4965 | PyObject * obj0 = 0 ; |
4966 | PyObject * obj1 = 0 ; | |
4967 | char *kwnames[] = { | |
3004cfd8 | 4968 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
4969 | }; |
4970 | ||
3004cfd8 RD |
4971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; |
4972 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4973 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4974 | { |
3004cfd8 RD |
4975 | arg2 = (int)(SWIG_As_int(obj1)); |
4976 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4977 | } |
4978 | { | |
4979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4980 | result = (int)(arg1)->GetLineState(arg2); |
cfe5e918 RD |
4981 | |
4982 | wxPyEndAllowThreads(__tstate); | |
4983 | if (PyErr_Occurred()) SWIG_fail; | |
4984 | } | |
cfe5e918 | 4985 | { |
3004cfd8 | 4986 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
4987 | } |
4988 | return resultobj; | |
4989 | fail: | |
cfe5e918 RD |
4990 | return NULL; |
4991 | } | |
4992 | ||
4993 | ||
3004cfd8 | 4994 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4995 | PyObject *resultobj; |
4996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4997 | int result; |
cfe5e918 | 4998 | PyObject * obj0 = 0 ; |
cfe5e918 | 4999 | char *kwnames[] = { |
3004cfd8 | 5000 | (char *) "self", NULL |
cfe5e918 RD |
5001 | }; |
5002 | ||
3004cfd8 RD |
5003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; |
5004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5006 | { |
5007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5008 | result = (int)(arg1)->GetMaxLineState(); |
cfe5e918 RD |
5009 | |
5010 | wxPyEndAllowThreads(__tstate); | |
5011 | if (PyErr_Occurred()) SWIG_fail; | |
5012 | } | |
3004cfd8 RD |
5013 | { |
5014 | resultobj = SWIG_From_int((int)(result)); | |
5015 | } | |
cfe5e918 RD |
5016 | return resultobj; |
5017 | fail: | |
5018 | return NULL; | |
5019 | } | |
5020 | ||
5021 | ||
3004cfd8 | 5022 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5023 | PyObject *resultobj; |
5024 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5025 | bool result; | |
5026 | PyObject * obj0 = 0 ; | |
5027 | char *kwnames[] = { | |
5028 | (char *) "self", NULL | |
5029 | }; | |
5030 | ||
3004cfd8 RD |
5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; |
5032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5034 | { |
5035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5036 | result = (bool)(arg1)->GetCaretLineVisible(); |
cfe5e918 RD |
5037 | |
5038 | wxPyEndAllowThreads(__tstate); | |
5039 | if (PyErr_Occurred()) SWIG_fail; | |
5040 | } | |
5041 | { | |
5042 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5043 | } | |
5044 | return resultobj; | |
5045 | fail: | |
5046 | return NULL; | |
5047 | } | |
5048 | ||
5049 | ||
3004cfd8 | 5050 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5051 | PyObject *resultobj; |
5052 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5053 | bool arg2 ; |
cfe5e918 RD |
5054 | PyObject * obj0 = 0 ; |
5055 | PyObject * obj1 = 0 ; | |
5056 | char *kwnames[] = { | |
3004cfd8 | 5057 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
5058 | }; |
5059 | ||
3004cfd8 RD |
5060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; |
5061 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5062 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 5063 | { |
3004cfd8 RD |
5064 | arg2 = (bool)(SWIG_As_bool(obj1)); |
5065 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 5066 | } |
cfe5e918 RD |
5067 | { |
5068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5069 | (arg1)->SetCaretLineVisible(arg2); |
cfe5e918 RD |
5070 | |
5071 | wxPyEndAllowThreads(__tstate); | |
5072 | if (PyErr_Occurred()) SWIG_fail; | |
5073 | } | |
5074 | Py_INCREF(Py_None); resultobj = Py_None; | |
5075 | return resultobj; | |
5076 | fail: | |
5077 | return NULL; | |
5078 | } | |
5079 | ||
5080 | ||
3004cfd8 | 5081 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5082 | PyObject *resultobj; |
5083 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5084 | wxColour result; |
cfe5e918 RD |
5085 | PyObject * obj0 = 0 ; |
5086 | char *kwnames[] = { | |
5087 | (char *) "self", NULL | |
5088 | }; | |
5089 | ||
3004cfd8 RD |
5090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; |
5091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5093 | { |
5094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5095 | result = (arg1)->GetCaretLineBack(); |
cfe5e918 RD |
5096 | |
5097 | wxPyEndAllowThreads(__tstate); | |
5098 | if (PyErr_Occurred()) SWIG_fail; | |
5099 | } | |
5100 | { | |
3004cfd8 RD |
5101 | wxColour * resultptr; |
5102 | resultptr = new wxColour((wxColour &)(result)); | |
5103 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
cfe5e918 RD |
5104 | } |
5105 | return resultobj; | |
5106 | fail: | |
5107 | return NULL; | |
5108 | } | |
5109 | ||
5110 | ||
3004cfd8 | 5111 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5112 | PyObject *resultobj; |
5113 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5114 | wxColour *arg2 = 0 ; |
5115 | wxColour temp2 ; | |
cfe5e918 RD |
5116 | PyObject * obj0 = 0 ; |
5117 | PyObject * obj1 = 0 ; | |
5118 | char *kwnames[] = { | |
3004cfd8 | 5119 | (char *) "self",(char *) "back", NULL |
cfe5e918 RD |
5120 | }; |
5121 | ||
3004cfd8 RD |
5122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; |
5123 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5124 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5125 | { | |
5126 | arg2 = &temp2; | |
5127 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5128 | } | |
cfe5e918 RD |
5129 | { |
5130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5131 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); |
cfe5e918 RD |
5132 | |
5133 | wxPyEndAllowThreads(__tstate); | |
5134 | if (PyErr_Occurred()) SWIG_fail; | |
5135 | } | |
5136 | Py_INCREF(Py_None); resultobj = Py_None; | |
5137 | return resultobj; | |
5138 | fail: | |
5139 | return NULL; | |
5140 | } | |
5141 | ||
5142 | ||
3004cfd8 | 5143 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5144 | PyObject *resultobj; |
5145 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5146 | int arg2 ; |
5147 | bool arg3 ; | |
cfe5e918 | 5148 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
5149 | PyObject * obj1 = 0 ; |
5150 | PyObject * obj2 = 0 ; | |
cfe5e918 | 5151 | char *kwnames[] = { |
3004cfd8 | 5152 | (char *) "self",(char *) "style",(char *) "changeable", NULL |
cfe5e918 RD |
5153 | }; |
5154 | ||
3004cfd8 RD |
5155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5156 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5157 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5158 | { | |
5159 | arg2 = (int)(SWIG_As_int(obj1)); | |
5160 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5161 | } | |
5162 | { | |
5163 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5164 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5165 | } | |
cfe5e918 RD |
5166 | { |
5167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5168 | (arg1)->StyleSetChangeable(arg2,arg3); |
cfe5e918 RD |
5169 | |
5170 | wxPyEndAllowThreads(__tstate); | |
5171 | if (PyErr_Occurred()) SWIG_fail; | |
5172 | } | |
3004cfd8 | 5173 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5174 | return resultobj; |
5175 | fail: | |
5176 | return NULL; | |
5177 | } | |
5178 | ||
5179 | ||
3004cfd8 | 5180 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5181 | PyObject *resultobj; |
5182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5183 | int arg2 ; | |
5184 | wxString *arg3 = 0 ; | |
ae8162c8 | 5185 | bool temp3 = false ; |
cfe5e918 RD |
5186 | PyObject * obj0 = 0 ; |
5187 | PyObject * obj1 = 0 ; | |
5188 | PyObject * obj2 = 0 ; | |
5189 | char *kwnames[] = { | |
3004cfd8 | 5190 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL |
cfe5e918 RD |
5191 | }; |
5192 | ||
3004cfd8 RD |
5193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5196 | { | |
5197 | arg2 = (int)(SWIG_As_int(obj1)); | |
5198 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5199 | } | |
cfe5e918 RD |
5200 | { |
5201 | arg3 = wxString_in_helper(obj2); | |
5202 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5203 | temp3 = true; |
cfe5e918 RD |
5204 | } |
5205 | { | |
5206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5207 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
5208 | |
5209 | wxPyEndAllowThreads(__tstate); | |
5210 | if (PyErr_Occurred()) SWIG_fail; | |
5211 | } | |
5212 | Py_INCREF(Py_None); resultobj = Py_None; | |
5213 | { | |
5214 | if (temp3) | |
5215 | delete arg3; | |
5216 | } | |
5217 | return resultobj; | |
5218 | fail: | |
5219 | { | |
5220 | if (temp3) | |
5221 | delete arg3; | |
5222 | } | |
5223 | return NULL; | |
5224 | } | |
5225 | ||
5226 | ||
3004cfd8 | 5227 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5228 | PyObject *resultobj; |
5229 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 5230 | PyObject * obj0 = 0 ; |
cfe5e918 | 5231 | char *kwnames[] = { |
3004cfd8 | 5232 | (char *) "self", NULL |
cfe5e918 RD |
5233 | }; |
5234 | ||
3004cfd8 RD |
5235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; |
5236 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5237 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5238 | { |
5239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5240 | (arg1)->AutoCompCancel(); |
cfe5e918 RD |
5241 | |
5242 | wxPyEndAllowThreads(__tstate); | |
5243 | if (PyErr_Occurred()) SWIG_fail; | |
5244 | } | |
5245 | Py_INCREF(Py_None); resultobj = Py_None; | |
5246 | return resultobj; | |
5247 | fail: | |
5248 | return NULL; | |
5249 | } | |
5250 | ||
5251 | ||
3004cfd8 | 5252 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5253 | PyObject *resultobj; |
5254 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5255 | bool result; | |
5256 | PyObject * obj0 = 0 ; | |
5257 | char *kwnames[] = { | |
5258 | (char *) "self", NULL | |
5259 | }; | |
5260 | ||
3004cfd8 RD |
5261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; |
5262 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5263 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5264 | { |
5265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5266 | result = (bool)(arg1)->AutoCompActive(); |
cfe5e918 RD |
5267 | |
5268 | wxPyEndAllowThreads(__tstate); | |
5269 | if (PyErr_Occurred()) SWIG_fail; | |
5270 | } | |
5271 | { | |
5272 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5273 | } | |
5274 | return resultobj; | |
5275 | fail: | |
5276 | return NULL; | |
5277 | } | |
5278 | ||
5279 | ||
3004cfd8 | 5280 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5281 | PyObject *resultobj; |
5282 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5283 | int result; |
cfe5e918 | 5284 | PyObject * obj0 = 0 ; |
cfe5e918 | 5285 | char *kwnames[] = { |
3004cfd8 | 5286 | (char *) "self", NULL |
cfe5e918 RD |
5287 | }; |
5288 | ||
3004cfd8 RD |
5289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; |
5290 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5291 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5292 | { |
5293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5294 | result = (int)(arg1)->AutoCompPosStart(); |
cfe5e918 RD |
5295 | |
5296 | wxPyEndAllowThreads(__tstate); | |
5297 | if (PyErr_Occurred()) SWIG_fail; | |
5298 | } | |
3004cfd8 RD |
5299 | { |
5300 | resultobj = SWIG_From_int((int)(result)); | |
5301 | } | |
cfe5e918 RD |
5302 | return resultobj; |
5303 | fail: | |
5304 | return NULL; | |
5305 | } | |
5306 | ||
5307 | ||
3004cfd8 | 5308 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5309 | PyObject *resultobj; |
5310 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
5311 | PyObject * obj0 = 0 ; |
5312 | char *kwnames[] = { | |
5313 | (char *) "self", NULL | |
5314 | }; | |
5315 | ||
3004cfd8 RD |
5316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; |
5317 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5318 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5319 | { |
5320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5321 | (arg1)->AutoCompComplete(); |
cfe5e918 RD |
5322 | |
5323 | wxPyEndAllowThreads(__tstate); | |
5324 | if (PyErr_Occurred()) SWIG_fail; | |
5325 | } | |
3004cfd8 | 5326 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5327 | return resultobj; |
5328 | fail: | |
5329 | return NULL; | |
5330 | } | |
5331 | ||
5332 | ||
3004cfd8 | 5333 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5334 | PyObject *resultobj; |
5335 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5336 | wxString *arg2 = 0 ; |
5337 | bool temp2 = false ; | |
cfe5e918 RD |
5338 | PyObject * obj0 = 0 ; |
5339 | PyObject * obj1 = 0 ; | |
cfe5e918 | 5340 | char *kwnames[] = { |
3004cfd8 | 5341 | (char *) "self",(char *) "characterSet", NULL |
cfe5e918 RD |
5342 | }; |
5343 | ||
3004cfd8 RD |
5344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; |
5345 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5346 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5347 | { | |
5348 | arg2 = wxString_in_helper(obj1); | |
5349 | if (arg2 == NULL) SWIG_fail; | |
5350 | temp2 = true; | |
cfe5e918 RD |
5351 | } |
5352 | { | |
5353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5354 | (arg1)->AutoCompStops((wxString const &)*arg2); |
cfe5e918 RD |
5355 | |
5356 | wxPyEndAllowThreads(__tstate); | |
5357 | if (PyErr_Occurred()) SWIG_fail; | |
5358 | } | |
5359 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
5360 | { |
5361 | if (temp2) | |
5362 | delete arg2; | |
5363 | } | |
cfe5e918 RD |
5364 | return resultobj; |
5365 | fail: | |
3004cfd8 RD |
5366 | { |
5367 | if (temp2) | |
5368 | delete arg2; | |
5369 | } | |
cfe5e918 RD |
5370 | return NULL; |
5371 | } | |
5372 | ||
5373 | ||
3004cfd8 | 5374 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5375 | PyObject *resultobj; |
5376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5377 | int arg2 ; |
cfe5e918 | 5378 | PyObject * obj0 = 0 ; |
3004cfd8 | 5379 | PyObject * obj1 = 0 ; |
cfe5e918 | 5380 | char *kwnames[] = { |
3004cfd8 | 5381 | (char *) "self",(char *) "separatorCharacter", NULL |
cfe5e918 RD |
5382 | }; |
5383 | ||
3004cfd8 RD |
5384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; |
5385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5387 | { | |
5388 | arg2 = (int)(SWIG_As_int(obj1)); | |
5389 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5390 | } | |
cfe5e918 RD |
5391 | { |
5392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5393 | (arg1)->AutoCompSetSeparator(arg2); |
cfe5e918 RD |
5394 | |
5395 | wxPyEndAllowThreads(__tstate); | |
5396 | if (PyErr_Occurred()) SWIG_fail; | |
5397 | } | |
5398 | Py_INCREF(Py_None); resultobj = Py_None; | |
5399 | return resultobj; | |
5400 | fail: | |
5401 | return NULL; | |
5402 | } | |
5403 | ||
5404 | ||
3004cfd8 | 5405 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5406 | PyObject *resultobj; |
5407 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5408 | int result; | |
5409 | PyObject * obj0 = 0 ; | |
5410 | char *kwnames[] = { | |
5411 | (char *) "self", NULL | |
5412 | }; | |
5413 | ||
3004cfd8 RD |
5414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; |
5415 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5416 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5417 | { |
5418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5419 | result = (int)(arg1)->AutoCompGetSeparator(); |
cfe5e918 RD |
5420 | |
5421 | wxPyEndAllowThreads(__tstate); | |
5422 | if (PyErr_Occurred()) SWIG_fail; | |
5423 | } | |
3004cfd8 RD |
5424 | { |
5425 | resultobj = SWIG_From_int((int)(result)); | |
5426 | } | |
cfe5e918 RD |
5427 | return resultobj; |
5428 | fail: | |
5429 | return NULL; | |
5430 | } | |
5431 | ||
5432 | ||
3004cfd8 | 5433 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5434 | PyObject *resultobj; |
5435 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5436 | wxString *arg2 = 0 ; |
5437 | bool temp2 = false ; | |
cfe5e918 RD |
5438 | PyObject * obj0 = 0 ; |
5439 | PyObject * obj1 = 0 ; | |
5440 | char *kwnames[] = { | |
3004cfd8 | 5441 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
5442 | }; |
5443 | ||
3004cfd8 RD |
5444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; |
5445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5447 | { | |
5448 | arg2 = wxString_in_helper(obj1); | |
5449 | if (arg2 == NULL) SWIG_fail; | |
5450 | temp2 = true; | |
5451 | } | |
cfe5e918 RD |
5452 | { |
5453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5454 | (arg1)->AutoCompSelect((wxString const &)*arg2); |
cfe5e918 RD |
5455 | |
5456 | wxPyEndAllowThreads(__tstate); | |
5457 | if (PyErr_Occurred()) SWIG_fail; | |
5458 | } | |
5459 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
5460 | { |
5461 | if (temp2) | |
5462 | delete arg2; | |
5463 | } | |
cfe5e918 RD |
5464 | return resultobj; |
5465 | fail: | |
3004cfd8 RD |
5466 | { |
5467 | if (temp2) | |
5468 | delete arg2; | |
5469 | } | |
cfe5e918 RD |
5470 | return NULL; |
5471 | } | |
5472 | ||
5473 | ||
3004cfd8 | 5474 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5475 | PyObject *resultobj; |
5476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5477 | bool arg2 ; |
cfe5e918 RD |
5478 | PyObject * obj0 = 0 ; |
5479 | PyObject * obj1 = 0 ; | |
5480 | char *kwnames[] = { | |
3004cfd8 | 5481 | (char *) "self",(char *) "cancel", NULL |
cfe5e918 RD |
5482 | }; |
5483 | ||
3004cfd8 RD |
5484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; |
5485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5487 | { | |
5488 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5489 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5490 | } | |
cfe5e918 RD |
5491 | { |
5492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5493 | (arg1)->AutoCompSetCancelAtStart(arg2); |
cfe5e918 RD |
5494 | |
5495 | wxPyEndAllowThreads(__tstate); | |
5496 | if (PyErr_Occurred()) SWIG_fail; | |
5497 | } | |
5498 | Py_INCREF(Py_None); resultobj = Py_None; | |
5499 | return resultobj; | |
5500 | fail: | |
5501 | return NULL; | |
5502 | } | |
5503 | ||
5504 | ||
3004cfd8 | 5505 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5506 | PyObject *resultobj; |
5507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5508 | bool result; |
cfe5e918 RD |
5509 | PyObject * obj0 = 0 ; |
5510 | char *kwnames[] = { | |
5511 | (char *) "self", NULL | |
5512 | }; | |
5513 | ||
3004cfd8 RD |
5514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; |
5515 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5516 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5517 | { |
5518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5519 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); |
cfe5e918 RD |
5520 | |
5521 | wxPyEndAllowThreads(__tstate); | |
5522 | if (PyErr_Occurred()) SWIG_fail; | |
5523 | } | |
3004cfd8 RD |
5524 | { |
5525 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5526 | } | |
cfe5e918 RD |
5527 | return resultobj; |
5528 | fail: | |
5529 | return NULL; | |
5530 | } | |
5531 | ||
5532 | ||
3004cfd8 | 5533 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5534 | PyObject *resultobj; |
5535 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5536 | wxString *arg2 = 0 ; |
5537 | bool temp2 = false ; | |
cfe5e918 RD |
5538 | PyObject * obj0 = 0 ; |
5539 | PyObject * obj1 = 0 ; | |
5540 | char *kwnames[] = { | |
3004cfd8 | 5541 | (char *) "self",(char *) "characterSet", NULL |
cfe5e918 RD |
5542 | }; |
5543 | ||
3004cfd8 RD |
5544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; |
5545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5547 | { | |
5548 | arg2 = wxString_in_helper(obj1); | |
5549 | if (arg2 == NULL) SWIG_fail; | |
5550 | temp2 = true; | |
5551 | } | |
cfe5e918 RD |
5552 | { |
5553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5554 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); |
cfe5e918 RD |
5555 | |
5556 | wxPyEndAllowThreads(__tstate); | |
5557 | if (PyErr_Occurred()) SWIG_fail; | |
5558 | } | |
5559 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
5560 | { |
5561 | if (temp2) | |
5562 | delete arg2; | |
5563 | } | |
5564 | return resultobj; | |
cfe5e918 | 5565 | fail: |
3004cfd8 RD |
5566 | { |
5567 | if (temp2) | |
5568 | delete arg2; | |
5569 | } | |
cfe5e918 RD |
5570 | return NULL; |
5571 | } | |
5572 | ||
5573 | ||
3004cfd8 | 5574 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5575 | PyObject *resultobj; |
5576 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5577 | bool arg2 ; |
cfe5e918 | 5578 | PyObject * obj0 = 0 ; |
3004cfd8 | 5579 | PyObject * obj1 = 0 ; |
cfe5e918 | 5580 | char *kwnames[] = { |
3004cfd8 | 5581 | (char *) "self",(char *) "chooseSingle", NULL |
cfe5e918 RD |
5582 | }; |
5583 | ||
3004cfd8 RD |
5584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; |
5585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5587 | { | |
5588 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5589 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5590 | } | |
cfe5e918 RD |
5591 | { |
5592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5593 | (arg1)->AutoCompSetChooseSingle(arg2); |
cfe5e918 RD |
5594 | |
5595 | wxPyEndAllowThreads(__tstate); | |
5596 | if (PyErr_Occurred()) SWIG_fail; | |
5597 | } | |
3004cfd8 | 5598 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5599 | return resultobj; |
5600 | fail: | |
5601 | return NULL; | |
5602 | } | |
5603 | ||
5604 | ||
3004cfd8 | 5605 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5606 | PyObject *resultobj; |
5607 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5608 | bool result; |
cfe5e918 | 5609 | PyObject * obj0 = 0 ; |
cfe5e918 | 5610 | char *kwnames[] = { |
3004cfd8 | 5611 | (char *) "self", NULL |
cfe5e918 RD |
5612 | }; |
5613 | ||
3004cfd8 RD |
5614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; |
5615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5617 | { |
5618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5619 | result = (bool)(arg1)->AutoCompGetChooseSingle(); |
cfe5e918 RD |
5620 | |
5621 | wxPyEndAllowThreads(__tstate); | |
5622 | if (PyErr_Occurred()) SWIG_fail; | |
5623 | } | |
3004cfd8 RD |
5624 | { |
5625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5626 | } | |
cfe5e918 RD |
5627 | return resultobj; |
5628 | fail: | |
5629 | return NULL; | |
5630 | } | |
5631 | ||
5632 | ||
3004cfd8 | 5633 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5634 | PyObject *resultobj; |
5635 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5636 | bool arg2 ; |
cfe5e918 RD |
5637 | PyObject * obj0 = 0 ; |
5638 | PyObject * obj1 = 0 ; | |
5639 | char *kwnames[] = { | |
3004cfd8 | 5640 | (char *) "self",(char *) "ignoreCase", NULL |
cfe5e918 RD |
5641 | }; |
5642 | ||
3004cfd8 RD |
5643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; |
5644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5646 | { | |
5647 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5648 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5649 | } | |
cfe5e918 RD |
5650 | { |
5651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5652 | (arg1)->AutoCompSetIgnoreCase(arg2); |
cfe5e918 RD |
5653 | |
5654 | wxPyEndAllowThreads(__tstate); | |
5655 | if (PyErr_Occurred()) SWIG_fail; | |
5656 | } | |
3004cfd8 | 5657 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5658 | return resultobj; |
5659 | fail: | |
5660 | return NULL; | |
5661 | } | |
5662 | ||
5663 | ||
3004cfd8 | 5664 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5665 | PyObject *resultobj; |
5666 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5667 | bool result; |
cfe5e918 | 5668 | PyObject * obj0 = 0 ; |
cfe5e918 | 5669 | char *kwnames[] = { |
3004cfd8 | 5670 | (char *) "self", NULL |
cfe5e918 RD |
5671 | }; |
5672 | ||
3004cfd8 RD |
5673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; |
5674 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5675 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5676 | { |
5677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5678 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); |
cfe5e918 RD |
5679 | |
5680 | wxPyEndAllowThreads(__tstate); | |
5681 | if (PyErr_Occurred()) SWIG_fail; | |
5682 | } | |
3004cfd8 RD |
5683 | { |
5684 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5685 | } | |
cfe5e918 RD |
5686 | return resultobj; |
5687 | fail: | |
5688 | return NULL; | |
5689 | } | |
5690 | ||
5691 | ||
3004cfd8 | 5692 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5693 | PyObject *resultobj; |
5694 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5695 | int arg2 ; | |
3004cfd8 RD |
5696 | wxString *arg3 = 0 ; |
5697 | bool temp3 = false ; | |
cfe5e918 RD |
5698 | PyObject * obj0 = 0 ; |
5699 | PyObject * obj1 = 0 ; | |
3004cfd8 | 5700 | PyObject * obj2 = 0 ; |
cfe5e918 | 5701 | char *kwnames[] = { |
3004cfd8 | 5702 | (char *) "self",(char *) "listType",(char *) "itemList", NULL |
cfe5e918 RD |
5703 | }; |
5704 | ||
3004cfd8 RD |
5705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5706 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5707 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5708 | { | |
5709 | arg2 = (int)(SWIG_As_int(obj1)); | |
5710 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5711 | } | |
5712 | { | |
5713 | arg3 = wxString_in_helper(obj2); | |
5714 | if (arg3 == NULL) SWIG_fail; | |
5715 | temp3 = true; | |
5716 | } | |
cfe5e918 RD |
5717 | { |
5718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5719 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
5720 | |
5721 | wxPyEndAllowThreads(__tstate); | |
5722 | if (PyErr_Occurred()) SWIG_fail; | |
5723 | } | |
3004cfd8 RD |
5724 | Py_INCREF(Py_None); resultobj = Py_None; |
5725 | { | |
5726 | if (temp3) | |
5727 | delete arg3; | |
5728 | } | |
cfe5e918 RD |
5729 | return resultobj; |
5730 | fail: | |
3004cfd8 RD |
5731 | { |
5732 | if (temp3) | |
5733 | delete arg3; | |
5734 | } | |
cfe5e918 RD |
5735 | return NULL; |
5736 | } | |
5737 | ||
5738 | ||
3004cfd8 | 5739 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5740 | PyObject *resultobj; |
5741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5742 | bool arg2 ; | |
5743 | PyObject * obj0 = 0 ; | |
5744 | PyObject * obj1 = 0 ; | |
5745 | char *kwnames[] = { | |
3004cfd8 | 5746 | (char *) "self",(char *) "autoHide", NULL |
cfe5e918 RD |
5747 | }; |
5748 | ||
3004cfd8 RD |
5749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; |
5750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5752 | { | |
5753 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5754 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5755 | } | |
cfe5e918 RD |
5756 | { |
5757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5758 | (arg1)->AutoCompSetAutoHide(arg2); |
cfe5e918 RD |
5759 | |
5760 | wxPyEndAllowThreads(__tstate); | |
5761 | if (PyErr_Occurred()) SWIG_fail; | |
5762 | } | |
5763 | Py_INCREF(Py_None); resultobj = Py_None; | |
5764 | return resultobj; | |
5765 | fail: | |
5766 | return NULL; | |
5767 | } | |
5768 | ||
5769 | ||
3004cfd8 | 5770 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5771 | PyObject *resultobj; |
5772 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5773 | bool result; | |
5774 | PyObject * obj0 = 0 ; | |
5775 | char *kwnames[] = { | |
5776 | (char *) "self", NULL | |
5777 | }; | |
5778 | ||
3004cfd8 RD |
5779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; |
5780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5782 | { |
5783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5784 | result = (bool)(arg1)->AutoCompGetAutoHide(); |
cfe5e918 RD |
5785 | |
5786 | wxPyEndAllowThreads(__tstate); | |
5787 | if (PyErr_Occurred()) SWIG_fail; | |
5788 | } | |
5789 | { | |
5790 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5791 | } | |
5792 | return resultobj; | |
5793 | fail: | |
5794 | return NULL; | |
5795 | } | |
5796 | ||
5797 | ||
3004cfd8 | 5798 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5799 | PyObject *resultobj; |
5800 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5801 | bool arg2 ; | |
5802 | PyObject * obj0 = 0 ; | |
5803 | PyObject * obj1 = 0 ; | |
5804 | char *kwnames[] = { | |
3004cfd8 | 5805 | (char *) "self",(char *) "dropRestOfWord", NULL |
cfe5e918 RD |
5806 | }; |
5807 | ||
3004cfd8 RD |
5808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; |
5809 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5810 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5811 | { | |
5812 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5813 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5814 | } | |
cfe5e918 RD |
5815 | { |
5816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5817 | (arg1)->AutoCompSetDropRestOfWord(arg2); |
cfe5e918 RD |
5818 | |
5819 | wxPyEndAllowThreads(__tstate); | |
5820 | if (PyErr_Occurred()) SWIG_fail; | |
5821 | } | |
5822 | Py_INCREF(Py_None); resultobj = Py_None; | |
5823 | return resultobj; | |
5824 | fail: | |
5825 | return NULL; | |
5826 | } | |
5827 | ||
5828 | ||
3004cfd8 | 5829 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5830 | PyObject *resultobj; |
5831 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5832 | bool result; | |
5833 | PyObject * obj0 = 0 ; | |
5834 | char *kwnames[] = { | |
5835 | (char *) "self", NULL | |
5836 | }; | |
5837 | ||
3004cfd8 RD |
5838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; |
5839 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5840 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5841 | { |
5842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5843 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); |
cfe5e918 RD |
5844 | |
5845 | wxPyEndAllowThreads(__tstate); | |
5846 | if (PyErr_Occurred()) SWIG_fail; | |
5847 | } | |
5848 | { | |
5849 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5850 | } | |
5851 | return resultobj; | |
5852 | fail: | |
5853 | return NULL; | |
5854 | } | |
5855 | ||
5856 | ||
3004cfd8 | 5857 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5858 | PyObject *resultobj; |
5859 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5860 | int arg2 ; | |
3004cfd8 | 5861 | wxBitmap *arg3 = 0 ; |
cfe5e918 RD |
5862 | PyObject * obj0 = 0 ; |
5863 | PyObject * obj1 = 0 ; | |
3004cfd8 | 5864 | PyObject * obj2 = 0 ; |
cfe5e918 | 5865 | char *kwnames[] = { |
3004cfd8 | 5866 | (char *) "self",(char *) "type",(char *) "bmp", NULL |
cfe5e918 RD |
5867 | }; |
5868 | ||
3004cfd8 RD |
5869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5872 | { | |
5873 | arg2 = (int)(SWIG_As_int(obj1)); | |
5874 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5875 | } | |
5876 | { | |
5877 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
5878 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5879 | if (arg3 == NULL) { | |
5880 | SWIG_null_ref("wxBitmap"); | |
5881 | } | |
5882 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5883 | } | |
cfe5e918 RD |
5884 | { |
5885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5886 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); |
cfe5e918 RD |
5887 | |
5888 | wxPyEndAllowThreads(__tstate); | |
5889 | if (PyErr_Occurred()) SWIG_fail; | |
5890 | } | |
5891 | Py_INCREF(Py_None); resultobj = Py_None; | |
5892 | return resultobj; | |
5893 | fail: | |
5894 | return NULL; | |
5895 | } | |
5896 | ||
5897 | ||
3004cfd8 | 5898 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5899 | PyObject *resultobj; |
5900 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
5901 | PyObject * obj0 = 0 ; |
5902 | char *kwnames[] = { | |
5903 | (char *) "self", NULL | |
5904 | }; | |
5905 | ||
3004cfd8 RD |
5906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; |
5907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5909 | { |
5910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5911 | (arg1)->ClearRegisteredImages(); |
cfe5e918 RD |
5912 | |
5913 | wxPyEndAllowThreads(__tstate); | |
5914 | if (PyErr_Occurred()) SWIG_fail; | |
5915 | } | |
3004cfd8 | 5916 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5917 | return resultobj; |
5918 | fail: | |
5919 | return NULL; | |
5920 | } | |
5921 | ||
5922 | ||
3004cfd8 | 5923 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5924 | PyObject *resultobj; |
5925 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
5926 | int result; |
5927 | PyObject * obj0 = 0 ; | |
cfe5e918 | 5928 | char *kwnames[] = { |
3004cfd8 | 5929 | (char *) "self", NULL |
cfe5e918 RD |
5930 | }; |
5931 | ||
3004cfd8 RD |
5932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; |
5933 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5934 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5935 | { |
5936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5937 | result = (int)(arg1)->AutoCompGetTypeSeparator(); |
cfe5e918 RD |
5938 | |
5939 | wxPyEndAllowThreads(__tstate); | |
5940 | if (PyErr_Occurred()) SWIG_fail; | |
5941 | } | |
3004cfd8 RD |
5942 | { |
5943 | resultobj = SWIG_From_int((int)(result)); | |
5944 | } | |
cfe5e918 RD |
5945 | return resultobj; |
5946 | fail: | |
5947 | return NULL; | |
5948 | } | |
5949 | ||
5950 | ||
3004cfd8 | 5951 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5952 | PyObject *resultobj; |
5953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5954 | int arg2 ; |
cfe5e918 | 5955 | PyObject * obj0 = 0 ; |
3004cfd8 | 5956 | PyObject * obj1 = 0 ; |
cfe5e918 | 5957 | char *kwnames[] = { |
3004cfd8 | 5958 | (char *) "self",(char *) "separatorCharacter", NULL |
cfe5e918 RD |
5959 | }; |
5960 | ||
3004cfd8 RD |
5961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; |
5962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5964 | { | |
5965 | arg2 = (int)(SWIG_As_int(obj1)); | |
5966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5967 | } | |
cfe5e918 RD |
5968 | { |
5969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5970 | (arg1)->AutoCompSetTypeSeparator(arg2); |
cfe5e918 RD |
5971 | |
5972 | wxPyEndAllowThreads(__tstate); | |
5973 | if (PyErr_Occurred()) SWIG_fail; | |
5974 | } | |
3004cfd8 | 5975 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5976 | return resultobj; |
5977 | fail: | |
5978 | return NULL; | |
5979 | } | |
5980 | ||
5981 | ||
3004cfd8 | 5982 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5983 | PyObject *resultobj; |
5984 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5985 | int arg2 ; |
cfe5e918 | 5986 | PyObject * obj0 = 0 ; |
3004cfd8 | 5987 | PyObject * obj1 = 0 ; |
cfe5e918 | 5988 | char *kwnames[] = { |
3004cfd8 | 5989 | (char *) "self",(char *) "indentSize", NULL |
cfe5e918 RD |
5990 | }; |
5991 | ||
3004cfd8 RD |
5992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; |
5993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5995 | { | |
5996 | arg2 = (int)(SWIG_As_int(obj1)); | |
5997 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5998 | } | |
cfe5e918 RD |
5999 | { |
6000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6001 | (arg1)->SetIndent(arg2); |
cfe5e918 RD |
6002 | |
6003 | wxPyEndAllowThreads(__tstate); | |
6004 | if (PyErr_Occurred()) SWIG_fail; | |
6005 | } | |
3004cfd8 | 6006 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6007 | return resultobj; |
6008 | fail: | |
6009 | return NULL; | |
6010 | } | |
6011 | ||
6012 | ||
3004cfd8 | 6013 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6014 | PyObject *resultobj; |
6015 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6016 | int result; |
cfe5e918 RD |
6017 | PyObject * obj0 = 0 ; |
6018 | char *kwnames[] = { | |
6019 | (char *) "self", NULL | |
6020 | }; | |
6021 | ||
3004cfd8 RD |
6022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; |
6023 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6024 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6025 | { |
6026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6027 | result = (int)(arg1)->GetIndent(); |
cfe5e918 RD |
6028 | |
6029 | wxPyEndAllowThreads(__tstate); | |
6030 | if (PyErr_Occurred()) SWIG_fail; | |
6031 | } | |
6032 | { | |
3004cfd8 | 6033 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6034 | } |
6035 | return resultobj; | |
6036 | fail: | |
6037 | return NULL; | |
6038 | } | |
6039 | ||
6040 | ||
3004cfd8 | 6041 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6042 | PyObject *resultobj; |
6043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6044 | bool arg2 ; |
cfe5e918 RD |
6045 | PyObject * obj0 = 0 ; |
6046 | PyObject * obj1 = 0 ; | |
6047 | char *kwnames[] = { | |
3004cfd8 | 6048 | (char *) "self",(char *) "useTabs", NULL |
cfe5e918 RD |
6049 | }; |
6050 | ||
3004cfd8 RD |
6051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; |
6052 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6053 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6054 | { | |
6055 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6056 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6057 | } | |
cfe5e918 RD |
6058 | { |
6059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6060 | (arg1)->SetUseTabs(arg2); |
cfe5e918 RD |
6061 | |
6062 | wxPyEndAllowThreads(__tstate); | |
6063 | if (PyErr_Occurred()) SWIG_fail; | |
6064 | } | |
6065 | Py_INCREF(Py_None); resultobj = Py_None; | |
6066 | return resultobj; | |
6067 | fail: | |
6068 | return NULL; | |
6069 | } | |
6070 | ||
6071 | ||
3004cfd8 | 6072 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6073 | PyObject *resultobj; |
6074 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6075 | bool result; |
cfe5e918 | 6076 | PyObject * obj0 = 0 ; |
cfe5e918 | 6077 | char *kwnames[] = { |
3004cfd8 | 6078 | (char *) "self", NULL |
cfe5e918 RD |
6079 | }; |
6080 | ||
3004cfd8 RD |
6081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; |
6082 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6083 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6084 | { |
6085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6086 | result = (bool)(arg1)->GetUseTabs(); |
cfe5e918 RD |
6087 | |
6088 | wxPyEndAllowThreads(__tstate); | |
6089 | if (PyErr_Occurred()) SWIG_fail; | |
6090 | } | |
3004cfd8 RD |
6091 | { |
6092 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6093 | } | |
cfe5e918 RD |
6094 | return resultobj; |
6095 | fail: | |
6096 | return NULL; | |
6097 | } | |
6098 | ||
6099 | ||
3004cfd8 | 6100 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6101 | PyObject *resultobj; |
6102 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
6103 | int arg2 ; |
6104 | int arg3 ; | |
cfe5e918 | 6105 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
6106 | PyObject * obj1 = 0 ; |
6107 | PyObject * obj2 = 0 ; | |
cfe5e918 | 6108 | char *kwnames[] = { |
3004cfd8 | 6109 | (char *) "self",(char *) "line",(char *) "indentSize", NULL |
cfe5e918 RD |
6110 | }; |
6111 | ||
3004cfd8 RD |
6112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
6113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6115 | { | |
6116 | arg2 = (int)(SWIG_As_int(obj1)); | |
6117 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6118 | } | |
6119 | { | |
6120 | arg3 = (int)(SWIG_As_int(obj2)); | |
6121 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6122 | } | |
cfe5e918 RD |
6123 | { |
6124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6125 | (arg1)->SetLineIndentation(arg2,arg3); |
cfe5e918 RD |
6126 | |
6127 | wxPyEndAllowThreads(__tstate); | |
6128 | if (PyErr_Occurred()) SWIG_fail; | |
6129 | } | |
3004cfd8 | 6130 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6131 | return resultobj; |
6132 | fail: | |
6133 | return NULL; | |
6134 | } | |
6135 | ||
6136 | ||
3004cfd8 | 6137 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6138 | PyObject *resultobj; |
6139 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6140 | int arg2 ; | |
3004cfd8 | 6141 | int result; |
cfe5e918 RD |
6142 | PyObject * obj0 = 0 ; |
6143 | PyObject * obj1 = 0 ; | |
6144 | char *kwnames[] = { | |
3004cfd8 | 6145 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6146 | }; |
6147 | ||
3004cfd8 RD |
6148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; |
6149 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6151 | { | |
6152 | arg2 = (int)(SWIG_As_int(obj1)); | |
6153 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6154 | } | |
cfe5e918 RD |
6155 | { |
6156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6157 | result = (int)(arg1)->GetLineIndentation(arg2); |
cfe5e918 RD |
6158 | |
6159 | wxPyEndAllowThreads(__tstate); | |
6160 | if (PyErr_Occurred()) SWIG_fail; | |
6161 | } | |
3004cfd8 RD |
6162 | { |
6163 | resultobj = SWIG_From_int((int)(result)); | |
6164 | } | |
cfe5e918 RD |
6165 | return resultobj; |
6166 | fail: | |
6167 | return NULL; | |
6168 | } | |
6169 | ||
6170 | ||
3004cfd8 | 6171 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6172 | PyObject *resultobj; |
6173 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6174 | int arg2 ; |
cfe5e918 RD |
6175 | int result; |
6176 | PyObject * obj0 = 0 ; | |
3004cfd8 | 6177 | PyObject * obj1 = 0 ; |
cfe5e918 | 6178 | char *kwnames[] = { |
3004cfd8 | 6179 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6180 | }; |
6181 | ||
3004cfd8 RD |
6182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; |
6183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6185 | { | |
6186 | arg2 = (int)(SWIG_As_int(obj1)); | |
6187 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6188 | } | |
cfe5e918 RD |
6189 | { |
6190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6191 | result = (int)(arg1)->GetLineIndentPosition(arg2); |
cfe5e918 RD |
6192 | |
6193 | wxPyEndAllowThreads(__tstate); | |
6194 | if (PyErr_Occurred()) SWIG_fail; | |
6195 | } | |
3004cfd8 RD |
6196 | { |
6197 | resultobj = SWIG_From_int((int)(result)); | |
6198 | } | |
cfe5e918 RD |
6199 | return resultobj; |
6200 | fail: | |
6201 | return NULL; | |
6202 | } | |
6203 | ||
6204 | ||
3004cfd8 | 6205 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6206 | PyObject *resultobj; |
6207 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6208 | int arg2 ; | |
3004cfd8 | 6209 | int result; |
cfe5e918 RD |
6210 | PyObject * obj0 = 0 ; |
6211 | PyObject * obj1 = 0 ; | |
6212 | char *kwnames[] = { | |
3004cfd8 | 6213 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6214 | }; |
6215 | ||
3004cfd8 RD |
6216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; |
6217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6219 | { | |
6220 | arg2 = (int)(SWIG_As_int(obj1)); | |
6221 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6222 | } | |
cfe5e918 RD |
6223 | { |
6224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6225 | result = (int)(arg1)->GetColumn(arg2); |
cfe5e918 RD |
6226 | |
6227 | wxPyEndAllowThreads(__tstate); | |
6228 | if (PyErr_Occurred()) SWIG_fail; | |
6229 | } | |
3004cfd8 RD |
6230 | { |
6231 | resultobj = SWIG_From_int((int)(result)); | |
6232 | } | |
cfe5e918 RD |
6233 | return resultobj; |
6234 | fail: | |
6235 | return NULL; | |
6236 | } | |
6237 | ||
6238 | ||
3004cfd8 | 6239 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6240 | PyObject *resultobj; |
6241 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6242 | bool arg2 ; |
cfe5e918 | 6243 | PyObject * obj0 = 0 ; |
3004cfd8 | 6244 | PyObject * obj1 = 0 ; |
cfe5e918 | 6245 | char *kwnames[] = { |
3004cfd8 | 6246 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
6247 | }; |
6248 | ||
3004cfd8 RD |
6249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; |
6250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6252 | { | |
6253 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6254 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6255 | } | |
cfe5e918 RD |
6256 | { |
6257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6258 | (arg1)->SetUseHorizontalScrollBar(arg2); |
cfe5e918 RD |
6259 | |
6260 | wxPyEndAllowThreads(__tstate); | |
6261 | if (PyErr_Occurred()) SWIG_fail; | |
6262 | } | |
3004cfd8 | 6263 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6264 | return resultobj; |
6265 | fail: | |
6266 | return NULL; | |
6267 | } | |
6268 | ||
6269 | ||
3004cfd8 | 6270 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6271 | PyObject *resultobj; |
6272 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6273 | bool result; |
cfe5e918 | 6274 | PyObject * obj0 = 0 ; |
cfe5e918 | 6275 | char *kwnames[] = { |
3004cfd8 | 6276 | (char *) "self", NULL |
cfe5e918 RD |
6277 | }; |
6278 | ||
3004cfd8 RD |
6279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; |
6280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6282 | { |
6283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6284 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); |
cfe5e918 RD |
6285 | |
6286 | wxPyEndAllowThreads(__tstate); | |
6287 | if (PyErr_Occurred()) SWIG_fail; | |
6288 | } | |
3004cfd8 RD |
6289 | { |
6290 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6291 | } | |
cfe5e918 RD |
6292 | return resultobj; |
6293 | fail: | |
6294 | return NULL; | |
6295 | } | |
6296 | ||
6297 | ||
3004cfd8 | 6298 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6299 | PyObject *resultobj; |
6300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6301 | bool arg2 ; |
cfe5e918 | 6302 | PyObject * obj0 = 0 ; |
3004cfd8 | 6303 | PyObject * obj1 = 0 ; |
cfe5e918 | 6304 | char *kwnames[] = { |
3004cfd8 | 6305 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
6306 | }; |
6307 | ||
3004cfd8 RD |
6308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; |
6309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6311 | { | |
6312 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6313 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6314 | } | |
cfe5e918 RD |
6315 | { |
6316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6317 | (arg1)->SetIndentationGuides(arg2); |
cfe5e918 RD |
6318 | |
6319 | wxPyEndAllowThreads(__tstate); | |
6320 | if (PyErr_Occurred()) SWIG_fail; | |
6321 | } | |
3004cfd8 | 6322 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6323 | return resultobj; |
6324 | fail: | |
6325 | return NULL; | |
6326 | } | |
6327 | ||
6328 | ||
3004cfd8 | 6329 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6330 | PyObject *resultobj; |
6331 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6332 | bool result; |
cfe5e918 | 6333 | PyObject * obj0 = 0 ; |
cfe5e918 | 6334 | char *kwnames[] = { |
3004cfd8 | 6335 | (char *) "self", NULL |
cfe5e918 RD |
6336 | }; |
6337 | ||
3004cfd8 RD |
6338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; |
6339 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6340 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6341 | { |
6342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6343 | result = (bool)(arg1)->GetIndentationGuides(); |
cfe5e918 RD |
6344 | |
6345 | wxPyEndAllowThreads(__tstate); | |
6346 | if (PyErr_Occurred()) SWIG_fail; | |
6347 | } | |
cfe5e918 | 6348 | { |
3004cfd8 | 6349 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
cfe5e918 RD |
6350 | } |
6351 | return resultobj; | |
6352 | fail: | |
cfe5e918 RD |
6353 | return NULL; |
6354 | } | |
6355 | ||
6356 | ||
3004cfd8 | 6357 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6358 | PyObject *resultobj; |
6359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6360 | int arg2 ; |
cfe5e918 RD |
6361 | PyObject * obj0 = 0 ; |
6362 | PyObject * obj1 = 0 ; | |
cfe5e918 | 6363 | char *kwnames[] = { |
3004cfd8 | 6364 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
6365 | }; |
6366 | ||
3004cfd8 RD |
6367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; |
6368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6370 | { | |
6371 | arg2 = (int)(SWIG_As_int(obj1)); | |
6372 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6373 | } | |
cfe5e918 RD |
6374 | { |
6375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6376 | (arg1)->SetHighlightGuide(arg2); |
cfe5e918 RD |
6377 | |
6378 | wxPyEndAllowThreads(__tstate); | |
6379 | if (PyErr_Occurred()) SWIG_fail; | |
6380 | } | |
3004cfd8 | 6381 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6382 | return resultobj; |
6383 | fail: | |
6384 | return NULL; | |
6385 | } | |
6386 | ||
6387 | ||
3004cfd8 | 6388 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6389 | PyObject *resultobj; |
6390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6391 | int result; | |
6392 | PyObject * obj0 = 0 ; | |
6393 | char *kwnames[] = { | |
6394 | (char *) "self", NULL | |
6395 | }; | |
6396 | ||
3004cfd8 RD |
6397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; |
6398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6400 | { |
6401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6402 | result = (int)(arg1)->GetHighlightGuide(); |
cfe5e918 RD |
6403 | |
6404 | wxPyEndAllowThreads(__tstate); | |
6405 | if (PyErr_Occurred()) SWIG_fail; | |
6406 | } | |
3004cfd8 RD |
6407 | { |
6408 | resultobj = SWIG_From_int((int)(result)); | |
6409 | } | |
cfe5e918 RD |
6410 | return resultobj; |
6411 | fail: | |
6412 | return NULL; | |
6413 | } | |
6414 | ||
6415 | ||
3004cfd8 | 6416 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6417 | PyObject *resultobj; |
6418 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6419 | int arg2 ; | |
3004cfd8 | 6420 | int result; |
cfe5e918 RD |
6421 | PyObject * obj0 = 0 ; |
6422 | PyObject * obj1 = 0 ; | |
6423 | char *kwnames[] = { | |
6424 | (char *) "self",(char *) "line", NULL | |
6425 | }; | |
6426 | ||
3004cfd8 RD |
6427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; |
6428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6430 | { | |
6431 | arg2 = (int)(SWIG_As_int(obj1)); | |
6432 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6433 | } | |
cfe5e918 RD |
6434 | { |
6435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6436 | result = (int)(arg1)->GetLineEndPosition(arg2); |
cfe5e918 RD |
6437 | |
6438 | wxPyEndAllowThreads(__tstate); | |
6439 | if (PyErr_Occurred()) SWIG_fail; | |
6440 | } | |
6441 | { | |
3004cfd8 | 6442 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6443 | } |
6444 | return resultobj; | |
6445 | fail: | |
6446 | return NULL; | |
6447 | } | |
6448 | ||
6449 | ||
3004cfd8 | 6450 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6451 | PyObject *resultobj; |
6452 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6453 | int result; | |
6454 | PyObject * obj0 = 0 ; | |
6455 | char *kwnames[] = { | |
6456 | (char *) "self", NULL | |
6457 | }; | |
6458 | ||
3004cfd8 RD |
6459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; |
6460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6462 | { |
6463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6464 | result = (int)(arg1)->GetCodePage(); |
cfe5e918 RD |
6465 | |
6466 | wxPyEndAllowThreads(__tstate); | |
6467 | if (PyErr_Occurred()) SWIG_fail; | |
6468 | } | |
3004cfd8 RD |
6469 | { |
6470 | resultobj = SWIG_From_int((int)(result)); | |
6471 | } | |
cfe5e918 RD |
6472 | return resultobj; |
6473 | fail: | |
6474 | return NULL; | |
6475 | } | |
6476 | ||
6477 | ||
3004cfd8 | 6478 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6479 | PyObject *resultobj; |
6480 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6481 | wxColour result; |
cfe5e918 | 6482 | PyObject * obj0 = 0 ; |
cfe5e918 | 6483 | char *kwnames[] = { |
3004cfd8 | 6484 | (char *) "self", NULL |
cfe5e918 RD |
6485 | }; |
6486 | ||
3004cfd8 RD |
6487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; |
6488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6490 | { |
6491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6492 | result = (arg1)->GetCaretForeground(); |
cfe5e918 RD |
6493 | |
6494 | wxPyEndAllowThreads(__tstate); | |
6495 | if (PyErr_Occurred()) SWIG_fail; | |
6496 | } | |
3004cfd8 RD |
6497 | { |
6498 | wxColour * resultptr; | |
6499 | resultptr = new wxColour((wxColour &)(result)); | |
6500 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
6501 | } | |
cfe5e918 RD |
6502 | return resultobj; |
6503 | fail: | |
6504 | return NULL; | |
6505 | } | |
6506 | ||
6507 | ||
3004cfd8 | 6508 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6509 | PyObject *resultobj; |
6510 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6511 | bool result; |
cfe5e918 RD |
6512 | PyObject * obj0 = 0 ; |
6513 | char *kwnames[] = { | |
6514 | (char *) "self", NULL | |
6515 | }; | |
6516 | ||
3004cfd8 RD |
6517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; |
6518 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6519 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6520 | { |
6521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6522 | result = (bool)(arg1)->GetReadOnly(); |
cfe5e918 RD |
6523 | |
6524 | wxPyEndAllowThreads(__tstate); | |
6525 | if (PyErr_Occurred()) SWIG_fail; | |
6526 | } | |
3004cfd8 RD |
6527 | { |
6528 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6529 | } | |
cfe5e918 RD |
6530 | return resultobj; |
6531 | fail: | |
6532 | return NULL; | |
6533 | } | |
6534 | ||
6535 | ||
3004cfd8 | 6536 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6537 | PyObject *resultobj; |
6538 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6539 | int arg2 ; | |
6540 | PyObject * obj0 = 0 ; | |
6541 | PyObject * obj1 = 0 ; | |
6542 | char *kwnames[] = { | |
3004cfd8 | 6543 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6544 | }; |
6545 | ||
3004cfd8 RD |
6546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; |
6547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6549 | { | |
6550 | arg2 = (int)(SWIG_As_int(obj1)); | |
6551 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6552 | } | |
cfe5e918 RD |
6553 | { |
6554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6555 | (arg1)->SetCurrentPos(arg2); |
cfe5e918 RD |
6556 | |
6557 | wxPyEndAllowThreads(__tstate); | |
6558 | if (PyErr_Occurred()) SWIG_fail; | |
6559 | } | |
6560 | Py_INCREF(Py_None); resultobj = Py_None; | |
6561 | return resultobj; | |
6562 | fail: | |
6563 | return NULL; | |
6564 | } | |
6565 | ||
6566 | ||
3004cfd8 | 6567 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6568 | PyObject *resultobj; |
6569 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6570 | int arg2 ; |
cfe5e918 | 6571 | PyObject * obj0 = 0 ; |
3004cfd8 | 6572 | PyObject * obj1 = 0 ; |
cfe5e918 | 6573 | char *kwnames[] = { |
3004cfd8 | 6574 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6575 | }; |
6576 | ||
3004cfd8 RD |
6577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; |
6578 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6579 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6580 | { | |
6581 | arg2 = (int)(SWIG_As_int(obj1)); | |
6582 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6583 | } | |
cfe5e918 RD |
6584 | { |
6585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6586 | (arg1)->SetSelectionStart(arg2); |
cfe5e918 RD |
6587 | |
6588 | wxPyEndAllowThreads(__tstate); | |
6589 | if (PyErr_Occurred()) SWIG_fail; | |
6590 | } | |
3004cfd8 | 6591 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6592 | return resultobj; |
6593 | fail: | |
6594 | return NULL; | |
6595 | } | |
6596 | ||
6597 | ||
3004cfd8 | 6598 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6599 | PyObject *resultobj; |
6600 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6601 | int result; |
cfe5e918 RD |
6602 | PyObject * obj0 = 0 ; |
6603 | char *kwnames[] = { | |
6604 | (char *) "self", NULL | |
6605 | }; | |
6606 | ||
3004cfd8 RD |
6607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; |
6608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6610 | { |
6611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6612 | result = (int)(arg1)->GetSelectionStart(); |
cfe5e918 RD |
6613 | |
6614 | wxPyEndAllowThreads(__tstate); | |
6615 | if (PyErr_Occurred()) SWIG_fail; | |
6616 | } | |
6617 | { | |
3004cfd8 | 6618 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6619 | } |
6620 | return resultobj; | |
6621 | fail: | |
6622 | return NULL; | |
6623 | } | |
6624 | ||
6625 | ||
3004cfd8 | 6626 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6627 | PyObject *resultobj; |
6628 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6629 | int arg2 ; | |
cfe5e918 RD |
6630 | PyObject * obj0 = 0 ; |
6631 | PyObject * obj1 = 0 ; | |
cfe5e918 | 6632 | char *kwnames[] = { |
3004cfd8 | 6633 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6634 | }; |
6635 | ||
3004cfd8 RD |
6636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; |
6637 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6639 | { | |
6640 | arg2 = (int)(SWIG_As_int(obj1)); | |
6641 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6642 | } | |
cfe5e918 RD |
6643 | { |
6644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6645 | (arg1)->SetSelectionEnd(arg2); |
cfe5e918 RD |
6646 | |
6647 | wxPyEndAllowThreads(__tstate); | |
6648 | if (PyErr_Occurred()) SWIG_fail; | |
6649 | } | |
6650 | Py_INCREF(Py_None); resultobj = Py_None; | |
6651 | return resultobj; | |
6652 | fail: | |
6653 | return NULL; | |
6654 | } | |
6655 | ||
6656 | ||
3004cfd8 | 6657 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6658 | PyObject *resultobj; |
6659 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6660 | int result; |
cfe5e918 RD |
6661 | PyObject * obj0 = 0 ; |
6662 | char *kwnames[] = { | |
6663 | (char *) "self", NULL | |
6664 | }; | |
6665 | ||
3004cfd8 RD |
6666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; |
6667 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6668 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6669 | { |
6670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6671 | result = (int)(arg1)->GetSelectionEnd(); |
cfe5e918 RD |
6672 | |
6673 | wxPyEndAllowThreads(__tstate); | |
6674 | if (PyErr_Occurred()) SWIG_fail; | |
6675 | } | |
6676 | { | |
3004cfd8 | 6677 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6678 | } |
6679 | return resultobj; | |
6680 | fail: | |
6681 | return NULL; | |
6682 | } | |
6683 | ||
6684 | ||
3004cfd8 | 6685 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6686 | PyObject *resultobj; |
6687 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6688 | int arg2 ; | |
cfe5e918 RD |
6689 | PyObject * obj0 = 0 ; |
6690 | PyObject * obj1 = 0 ; | |
cfe5e918 | 6691 | char *kwnames[] = { |
3004cfd8 | 6692 | (char *) "self",(char *) "magnification", NULL |
cfe5e918 RD |
6693 | }; |
6694 | ||
3004cfd8 RD |
6695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; |
6696 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6697 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6698 | { | |
6699 | arg2 = (int)(SWIG_As_int(obj1)); | |
6700 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6701 | } | |
cfe5e918 RD |
6702 | { |
6703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6704 | (arg1)->SetPrintMagnification(arg2); |
cfe5e918 RD |
6705 | |
6706 | wxPyEndAllowThreads(__tstate); | |
6707 | if (PyErr_Occurred()) SWIG_fail; | |
6708 | } | |
3004cfd8 | 6709 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6710 | return resultobj; |
6711 | fail: | |
6712 | return NULL; | |
6713 | } | |
6714 | ||
6715 | ||
3004cfd8 | 6716 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6717 | PyObject *resultobj; |
6718 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6719 | int result; |
cfe5e918 | 6720 | PyObject * obj0 = 0 ; |
cfe5e918 | 6721 | char *kwnames[] = { |
3004cfd8 | 6722 | (char *) "self", NULL |
cfe5e918 RD |
6723 | }; |
6724 | ||
3004cfd8 RD |
6725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; |
6726 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6727 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6728 | { |
6729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6730 | result = (int)(arg1)->GetPrintMagnification(); |
cfe5e918 RD |
6731 | |
6732 | wxPyEndAllowThreads(__tstate); | |
6733 | if (PyErr_Occurred()) SWIG_fail; | |
6734 | } | |
3004cfd8 RD |
6735 | { |
6736 | resultobj = SWIG_From_int((int)(result)); | |
6737 | } | |
cfe5e918 RD |
6738 | return resultobj; |
6739 | fail: | |
6740 | return NULL; | |
6741 | } | |
6742 | ||
6743 | ||
3004cfd8 | 6744 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6745 | PyObject *resultobj; |
6746 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6747 | int arg2 ; | |
cfe5e918 RD |
6748 | PyObject * obj0 = 0 ; |
6749 | PyObject * obj1 = 0 ; | |
6750 | char *kwnames[] = { | |
3004cfd8 | 6751 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
6752 | }; |
6753 | ||
3004cfd8 RD |
6754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; |
6755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6757 | { | |
6758 | arg2 = (int)(SWIG_As_int(obj1)); | |
6759 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6760 | } | |
cfe5e918 RD |
6761 | { |
6762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6763 | (arg1)->SetPrintColourMode(arg2); |
cfe5e918 RD |
6764 | |
6765 | wxPyEndAllowThreads(__tstate); | |
6766 | if (PyErr_Occurred()) SWIG_fail; | |
6767 | } | |
3004cfd8 | 6768 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6769 | return resultobj; |
6770 | fail: | |
6771 | return NULL; | |
6772 | } | |
6773 | ||
6774 | ||
3004cfd8 | 6775 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6776 | PyObject *resultobj; |
6777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
6778 | int result; |
6779 | PyObject * obj0 = 0 ; | |
cfe5e918 | 6780 | char *kwnames[] = { |
3004cfd8 | 6781 | (char *) "self", NULL |
cfe5e918 RD |
6782 | }; |
6783 | ||
3004cfd8 RD |
6784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; |
6785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6787 | { |
6788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6789 | result = (int)(arg1)->GetPrintColourMode(); |
cfe5e918 RD |
6790 | |
6791 | wxPyEndAllowThreads(__tstate); | |
6792 | if (PyErr_Occurred()) SWIG_fail; | |
6793 | } | |
3004cfd8 RD |
6794 | { |
6795 | resultobj = SWIG_From_int((int)(result)); | |
6796 | } | |
cfe5e918 RD |
6797 | return resultobj; |
6798 | fail: | |
6799 | return NULL; | |
6800 | } | |
6801 | ||
6802 | ||
3004cfd8 | 6803 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6804 | PyObject *resultobj; |
6805 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6806 | int arg2 ; | |
6807 | int arg3 ; | |
3004cfd8 RD |
6808 | wxString *arg4 = 0 ; |
6809 | int arg5 = (int) 0 ; | |
6810 | int result; | |
6811 | bool temp4 = false ; | |
cfe5e918 RD |
6812 | PyObject * obj0 = 0 ; |
6813 | PyObject * obj1 = 0 ; | |
6814 | PyObject * obj2 = 0 ; | |
3004cfd8 RD |
6815 | PyObject * obj3 = 0 ; |
6816 | PyObject * obj4 = 0 ; | |
cfe5e918 | 6817 | char *kwnames[] = { |
3004cfd8 | 6818 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL |
cfe5e918 RD |
6819 | }; |
6820 | ||
3004cfd8 RD |
6821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
6822 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6823 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6824 | { | |
6825 | arg2 = (int)(SWIG_As_int(obj1)); | |
6826 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6827 | } | |
6828 | { | |
6829 | arg3 = (int)(SWIG_As_int(obj2)); | |
6830 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6831 | } | |
6832 | { | |
6833 | arg4 = wxString_in_helper(obj3); | |
6834 | if (arg4 == NULL) SWIG_fail; | |
6835 | temp4 = true; | |
6836 | } | |
6837 | if (obj4) { | |
6838 | { | |
6839 | arg5 = (int)(SWIG_As_int(obj4)); | |
6840 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6841 | } | |
6842 | } | |
cfe5e918 RD |
6843 | { |
6844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6845 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); |
cfe5e918 RD |
6846 | |
6847 | wxPyEndAllowThreads(__tstate); | |
6848 | if (PyErr_Occurred()) SWIG_fail; | |
6849 | } | |
3004cfd8 RD |
6850 | { |
6851 | resultobj = SWIG_From_int((int)(result)); | |
6852 | } | |
6853 | { | |
6854 | if (temp4) | |
6855 | delete arg4; | |
6856 | } | |
cfe5e918 RD |
6857 | return resultobj; |
6858 | fail: | |
3004cfd8 RD |
6859 | { |
6860 | if (temp4) | |
6861 | delete arg4; | |
6862 | } | |
cfe5e918 RD |
6863 | return NULL; |
6864 | } | |
6865 | ||
6866 | ||
3004cfd8 | 6867 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6868 | PyObject *resultobj; |
6869 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
6870 | bool arg2 ; |
6871 | int arg3 ; | |
6872 | int arg4 ; | |
6873 | wxDC *arg5 = (wxDC *) 0 ; | |
6874 | wxDC *arg6 = (wxDC *) 0 ; | |
6875 | wxRect arg7 ; | |
6876 | wxRect arg8 ; | |
6877 | int result; | |
cfe5e918 | 6878 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
6879 | PyObject * obj1 = 0 ; |
6880 | PyObject * obj2 = 0 ; | |
6881 | PyObject * obj3 = 0 ; | |
6882 | PyObject * obj4 = 0 ; | |
6883 | PyObject * obj5 = 0 ; | |
6884 | PyObject * obj6 = 0 ; | |
6885 | PyObject * obj7 = 0 ; | |
cfe5e918 | 6886 | char *kwnames[] = { |
3004cfd8 | 6887 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL |
cfe5e918 RD |
6888 | }; |
6889 | ||
3004cfd8 RD |
6890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
6891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6893 | { | |
6894 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6895 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6896 | } | |
6897 | { | |
6898 | arg3 = (int)(SWIG_As_int(obj2)); | |
6899 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6900 | } | |
6901 | { | |
6902 | arg4 = (int)(SWIG_As_int(obj3)); | |
6903 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6904 | } | |
6905 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6906 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6907 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6908 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6909 | { | |
6910 | wxRect * argp; | |
6911 | SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
6912 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6913 | if (argp == NULL) { | |
6914 | SWIG_null_ref("wxRect"); | |
6915 | } | |
6916 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6917 | arg7 = *argp; | |
6918 | } | |
6919 | { | |
6920 | wxRect * argp; | |
6921 | SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
6922 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6923 | if (argp == NULL) { | |
6924 | SWIG_null_ref("wxRect"); | |
6925 | } | |
6926 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6927 | arg8 = *argp; | |
6928 | } | |
cfe5e918 RD |
6929 | { |
6930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6931 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); |
cfe5e918 RD |
6932 | |
6933 | wxPyEndAllowThreads(__tstate); | |
6934 | if (PyErr_Occurred()) SWIG_fail; | |
6935 | } | |
3004cfd8 RD |
6936 | { |
6937 | resultobj = SWIG_From_int((int)(result)); | |
6938 | } | |
cfe5e918 RD |
6939 | return resultobj; |
6940 | fail: | |
6941 | return NULL; | |
6942 | } | |
6943 | ||
6944 | ||
3004cfd8 | 6945 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6946 | PyObject *resultobj; |
6947 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6948 | int result; |
cfe5e918 | 6949 | PyObject * obj0 = 0 ; |
cfe5e918 | 6950 | char *kwnames[] = { |
3004cfd8 | 6951 | (char *) "self", NULL |
cfe5e918 RD |
6952 | }; |
6953 | ||
3004cfd8 RD |
6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; |
6955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6957 | { |
6958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6959 | result = (int)(arg1)->GetFirstVisibleLine(); |
cfe5e918 RD |
6960 | |
6961 | wxPyEndAllowThreads(__tstate); | |
6962 | if (PyErr_Occurred()) SWIG_fail; | |
6963 | } | |
cfe5e918 | 6964 | { |
3004cfd8 | 6965 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6966 | } |
6967 | return resultobj; | |
6968 | fail: | |
cfe5e918 RD |
6969 | return NULL; |
6970 | } | |
6971 | ||
6972 | ||
3004cfd8 | 6973 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6974 | PyObject *resultobj; |
6975 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
6976 | int arg2 ; |
6977 | wxString result; | |
cfe5e918 RD |
6978 | PyObject * obj0 = 0 ; |
6979 | PyObject * obj1 = 0 ; | |
6980 | char *kwnames[] = { | |
3004cfd8 | 6981 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6982 | }; |
6983 | ||
3004cfd8 RD |
6984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; |
6985 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6986 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6987 | { | |
6988 | arg2 = (int)(SWIG_As_int(obj1)); | |
6989 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6990 | } | |
cfe5e918 RD |
6991 | { |
6992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6993 | result = (arg1)->GetLine(arg2); |
cfe5e918 RD |
6994 | |
6995 | wxPyEndAllowThreads(__tstate); | |
6996 | if (PyErr_Occurred()) SWIG_fail; | |
6997 | } | |
3004cfd8 RD |
6998 | { |
6999 | #if wxUSE_UNICODE | |
7000 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7001 | #else | |
7002 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7003 | #endif | |
7004 | } | |
cfe5e918 RD |
7005 | return resultobj; |
7006 | fail: | |
7007 | return NULL; | |
7008 | } | |
7009 | ||
7010 | ||
3004cfd8 | 7011 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7012 | PyObject *resultobj; |
7013 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7014 | int result; |
cfe5e918 RD |
7015 | PyObject * obj0 = 0 ; |
7016 | char *kwnames[] = { | |
7017 | (char *) "self", NULL | |
7018 | }; | |
7019 | ||
3004cfd8 RD |
7020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; |
7021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7023 | { |
7024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7025 | result = (int)(arg1)->GetLineCount(); |
cfe5e918 RD |
7026 | |
7027 | wxPyEndAllowThreads(__tstate); | |
7028 | if (PyErr_Occurred()) SWIG_fail; | |
7029 | } | |
7030 | { | |
3004cfd8 | 7031 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
7032 | } |
7033 | return resultobj; | |
7034 | fail: | |
7035 | return NULL; | |
7036 | } | |
7037 | ||
7038 | ||
3004cfd8 | 7039 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7040 | PyObject *resultobj; |
7041 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7042 | int arg2 ; |
cfe5e918 | 7043 | PyObject * obj0 = 0 ; |
3004cfd8 | 7044 | PyObject * obj1 = 0 ; |
cfe5e918 | 7045 | char *kwnames[] = { |
3004cfd8 | 7046 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7047 | }; |
7048 | ||
3004cfd8 RD |
7049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; |
7050 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7051 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7052 | { | |
7053 | arg2 = (int)(SWIG_As_int(obj1)); | |
7054 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7055 | } | |
cfe5e918 RD |
7056 | { |
7057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7058 | (arg1)->SetMarginLeft(arg2); |
cfe5e918 RD |
7059 | |
7060 | wxPyEndAllowThreads(__tstate); | |
7061 | if (PyErr_Occurred()) SWIG_fail; | |
7062 | } | |
3004cfd8 | 7063 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7064 | return resultobj; |
7065 | fail: | |
7066 | return NULL; | |
7067 | } | |
7068 | ||
7069 | ||
3004cfd8 | 7070 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7071 | PyObject *resultobj; |
7072 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7073 | int result; |
cfe5e918 RD |
7074 | PyObject * obj0 = 0 ; |
7075 | char *kwnames[] = { | |
7076 | (char *) "self", NULL | |
7077 | }; | |
7078 | ||
3004cfd8 RD |
7079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; |
7080 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7081 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7082 | { |
7083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7084 | result = (int)(arg1)->GetMarginLeft(); |
cfe5e918 RD |
7085 | |
7086 | wxPyEndAllowThreads(__tstate); | |
7087 | if (PyErr_Occurred()) SWIG_fail; | |
7088 | } | |
3004cfd8 RD |
7089 | { |
7090 | resultobj = SWIG_From_int((int)(result)); | |
7091 | } | |
cfe5e918 RD |
7092 | return resultobj; |
7093 | fail: | |
7094 | return NULL; | |
7095 | } | |
7096 | ||
7097 | ||
3004cfd8 | 7098 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7099 | PyObject *resultobj; |
7100 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7101 | int arg2 ; |
cfe5e918 | 7102 | PyObject * obj0 = 0 ; |
3004cfd8 | 7103 | PyObject * obj1 = 0 ; |
cfe5e918 | 7104 | char *kwnames[] = { |
3004cfd8 | 7105 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7106 | }; |
7107 | ||
3004cfd8 RD |
7108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; |
7109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7111 | { | |
7112 | arg2 = (int)(SWIG_As_int(obj1)); | |
7113 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7114 | } | |
cfe5e918 RD |
7115 | { |
7116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7117 | (arg1)->SetMarginRight(arg2); |
cfe5e918 RD |
7118 | |
7119 | wxPyEndAllowThreads(__tstate); | |
7120 | if (PyErr_Occurred()) SWIG_fail; | |
7121 | } | |
7122 | Py_INCREF(Py_None); resultobj = Py_None; | |
7123 | return resultobj; | |
7124 | fail: | |
7125 | return NULL; | |
7126 | } | |
7127 | ||
7128 | ||
3004cfd8 | 7129 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7130 | PyObject *resultobj; |
7131 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7132 | int result; |
cfe5e918 RD |
7133 | PyObject * obj0 = 0 ; |
7134 | char *kwnames[] = { | |
7135 | (char *) "self", NULL | |
7136 | }; | |
7137 | ||
3004cfd8 RD |
7138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; |
7139 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7140 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7141 | { |
7142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7143 | result = (int)(arg1)->GetMarginRight(); |
cfe5e918 RD |
7144 | |
7145 | wxPyEndAllowThreads(__tstate); | |
7146 | if (PyErr_Occurred()) SWIG_fail; | |
7147 | } | |
3004cfd8 RD |
7148 | { |
7149 | resultobj = SWIG_From_int((int)(result)); | |
7150 | } | |
cfe5e918 RD |
7151 | return resultobj; |
7152 | fail: | |
7153 | return NULL; | |
7154 | } | |
7155 | ||
7156 | ||
3004cfd8 | 7157 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7158 | PyObject *resultobj; |
7159 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7160 | bool result; |
cfe5e918 RD |
7161 | PyObject * obj0 = 0 ; |
7162 | char *kwnames[] = { | |
7163 | (char *) "self", NULL | |
7164 | }; | |
7165 | ||
3004cfd8 RD |
7166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; |
7167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7169 | { |
7170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7171 | result = (bool)(arg1)->GetModify(); |
cfe5e918 RD |
7172 | |
7173 | wxPyEndAllowThreads(__tstate); | |
7174 | if (PyErr_Occurred()) SWIG_fail; | |
7175 | } | |
3004cfd8 RD |
7176 | { |
7177 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7178 | } | |
cfe5e918 RD |
7179 | return resultobj; |
7180 | fail: | |
7181 | return NULL; | |
7182 | } | |
7183 | ||
7184 | ||
3004cfd8 | 7185 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7186 | PyObject *resultobj; |
7187 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7188 | int arg2 ; |
7189 | int arg3 ; | |
cfe5e918 | 7190 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
7191 | PyObject * obj1 = 0 ; |
7192 | PyObject * obj2 = 0 ; | |
7193 | char *kwnames[] = { | |
7194 | (char *) "self",(char *) "start",(char *) "end", NULL | |
cfe5e918 RD |
7195 | }; |
7196 | ||
3004cfd8 RD |
7197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7198 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7199 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7200 | { | |
7201 | arg2 = (int)(SWIG_As_int(obj1)); | |
7202 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7203 | } | |
7204 | { | |
7205 | arg3 = (int)(SWIG_As_int(obj2)); | |
7206 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7207 | } | |
cfe5e918 RD |
7208 | { |
7209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7210 | (arg1)->SetSelection(arg2,arg3); |
cfe5e918 RD |
7211 | |
7212 | wxPyEndAllowThreads(__tstate); | |
7213 | if (PyErr_Occurred()) SWIG_fail; | |
7214 | } | |
7215 | Py_INCREF(Py_None); resultobj = Py_None; | |
7216 | return resultobj; | |
7217 | fail: | |
7218 | return NULL; | |
7219 | } | |
7220 | ||
7221 | ||
3004cfd8 | 7222 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7223 | PyObject *resultobj; |
7224 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7225 | wxString result; |
cfe5e918 RD |
7226 | PyObject * obj0 = 0 ; |
7227 | char *kwnames[] = { | |
7228 | (char *) "self", NULL | |
7229 | }; | |
7230 | ||
3004cfd8 RD |
7231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; |
7232 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7233 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7234 | { |
7235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7236 | result = (arg1)->GetSelectedText(); |
cfe5e918 RD |
7237 | |
7238 | wxPyEndAllowThreads(__tstate); | |
7239 | if (PyErr_Occurred()) SWIG_fail; | |
7240 | } | |
3004cfd8 RD |
7241 | { |
7242 | #if wxUSE_UNICODE | |
7243 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7244 | #else | |
7245 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7246 | #endif | |
7247 | } | |
cfe5e918 RD |
7248 | return resultobj; |
7249 | fail: | |
7250 | return NULL; | |
7251 | } | |
7252 | ||
7253 | ||
3004cfd8 | 7254 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7255 | PyObject *resultobj; |
7256 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7257 | int arg2 ; |
7258 | int arg3 ; | |
7259 | wxString result; | |
cfe5e918 RD |
7260 | PyObject * obj0 = 0 ; |
7261 | PyObject * obj1 = 0 ; | |
3004cfd8 | 7262 | PyObject * obj2 = 0 ; |
cfe5e918 | 7263 | char *kwnames[] = { |
3004cfd8 | 7264 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
cfe5e918 RD |
7265 | }; |
7266 | ||
3004cfd8 RD |
7267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7270 | { |
3004cfd8 RD |
7271 | arg2 = (int)(SWIG_As_int(obj1)); |
7272 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7273 | } | |
7274 | { | |
7275 | arg3 = (int)(SWIG_As_int(obj2)); | |
7276 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
7277 | } |
7278 | { | |
7279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7280 | result = (arg1)->GetTextRange(arg2,arg3); |
cfe5e918 RD |
7281 | |
7282 | wxPyEndAllowThreads(__tstate); | |
7283 | if (PyErr_Occurred()) SWIG_fail; | |
7284 | } | |
cfe5e918 | 7285 | { |
3004cfd8 RD |
7286 | #if wxUSE_UNICODE |
7287 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7288 | #else | |
7289 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7290 | #endif | |
cfe5e918 RD |
7291 | } |
7292 | return resultobj; | |
7293 | fail: | |
cfe5e918 RD |
7294 | return NULL; |
7295 | } | |
7296 | ||
7297 | ||
3004cfd8 | 7298 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7299 | PyObject *resultobj; |
7300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7301 | bool arg2 ; |
cfe5e918 | 7302 | PyObject * obj0 = 0 ; |
3004cfd8 | 7303 | PyObject * obj1 = 0 ; |
cfe5e918 | 7304 | char *kwnames[] = { |
3004cfd8 | 7305 | (char *) "self",(char *) "normal", NULL |
cfe5e918 RD |
7306 | }; |
7307 | ||
3004cfd8 RD |
7308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; |
7309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7311 | { | |
7312 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7313 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7314 | } | |
cfe5e918 RD |
7315 | { |
7316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7317 | (arg1)->HideSelection(arg2); |
cfe5e918 RD |
7318 | |
7319 | wxPyEndAllowThreads(__tstate); | |
7320 | if (PyErr_Occurred()) SWIG_fail; | |
7321 | } | |
3004cfd8 | 7322 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7323 | return resultobj; |
7324 | fail: | |
7325 | return NULL; | |
7326 | } | |
7327 | ||
7328 | ||
3004cfd8 | 7329 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7330 | PyObject *resultobj; |
7331 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7332 | int arg2 ; |
cfe5e918 RD |
7333 | int result; |
7334 | PyObject * obj0 = 0 ; | |
3004cfd8 | 7335 | PyObject * obj1 = 0 ; |
cfe5e918 | 7336 | char *kwnames[] = { |
3004cfd8 | 7337 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
7338 | }; |
7339 | ||
3004cfd8 RD |
7340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; |
7341 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7342 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7343 | { | |
7344 | arg2 = (int)(SWIG_As_int(obj1)); | |
7345 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7346 | } | |
cfe5e918 RD |
7347 | { |
7348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7349 | result = (int)(arg1)->LineFromPosition(arg2); |
cfe5e918 RD |
7350 | |
7351 | wxPyEndAllowThreads(__tstate); | |
7352 | if (PyErr_Occurred()) SWIG_fail; | |
7353 | } | |
3004cfd8 RD |
7354 | { |
7355 | resultobj = SWIG_From_int((int)(result)); | |
7356 | } | |
cfe5e918 RD |
7357 | return resultobj; |
7358 | fail: | |
7359 | return NULL; | |
7360 | } | |
7361 | ||
7362 | ||
3004cfd8 | 7363 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7364 | PyObject *resultobj; |
7365 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7366 | int arg2 ; |
7367 | int result; | |
cfe5e918 RD |
7368 | PyObject * obj0 = 0 ; |
7369 | PyObject * obj1 = 0 ; | |
7370 | char *kwnames[] = { | |
3004cfd8 | 7371 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
7372 | }; |
7373 | ||
3004cfd8 RD |
7374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; |
7375 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7376 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7377 | { | |
7378 | arg2 = (int)(SWIG_As_int(obj1)); | |
7379 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7380 | } | |
cfe5e918 RD |
7381 | { |
7382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7383 | result = (int)(arg1)->PositionFromLine(arg2); |
cfe5e918 RD |
7384 | |
7385 | wxPyEndAllowThreads(__tstate); | |
7386 | if (PyErr_Occurred()) SWIG_fail; | |
7387 | } | |
3004cfd8 RD |
7388 | { |
7389 | resultobj = SWIG_From_int((int)(result)); | |
7390 | } | |
cfe5e918 RD |
7391 | return resultobj; |
7392 | fail: | |
7393 | return NULL; | |
7394 | } | |
7395 | ||
7396 | ||
3004cfd8 | 7397 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7398 | PyObject *resultobj; |
7399 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7400 | int arg2 ; |
7401 | int arg3 ; | |
cfe5e918 | 7402 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
7403 | PyObject * obj1 = 0 ; |
7404 | PyObject * obj2 = 0 ; | |
cfe5e918 | 7405 | char *kwnames[] = { |
3004cfd8 | 7406 | (char *) "self",(char *) "columns",(char *) "lines", NULL |
cfe5e918 RD |
7407 | }; |
7408 | ||
3004cfd8 RD |
7409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7410 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7411 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7412 | { | |
7413 | arg2 = (int)(SWIG_As_int(obj1)); | |
7414 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7415 | } | |
7416 | { | |
7417 | arg3 = (int)(SWIG_As_int(obj2)); | |
7418 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7419 | } | |
cfe5e918 RD |
7420 | { |
7421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7422 | (arg1)->LineScroll(arg2,arg3); |
cfe5e918 RD |
7423 | |
7424 | wxPyEndAllowThreads(__tstate); | |
7425 | if (PyErr_Occurred()) SWIG_fail; | |
7426 | } | |
3004cfd8 | 7427 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7428 | return resultobj; |
7429 | fail: | |
7430 | return NULL; | |
7431 | } | |
7432 | ||
7433 | ||
3004cfd8 | 7434 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7435 | PyObject *resultobj; |
7436 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7437 | PyObject * obj0 = 0 ; |
cfe5e918 | 7438 | char *kwnames[] = { |
3004cfd8 | 7439 | (char *) "self", NULL |
cfe5e918 RD |
7440 | }; |
7441 | ||
3004cfd8 RD |
7442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; |
7443 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7444 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7445 | { |
7446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7447 | (arg1)->EnsureCaretVisible(); |
cfe5e918 RD |
7448 | |
7449 | wxPyEndAllowThreads(__tstate); | |
7450 | if (PyErr_Occurred()) SWIG_fail; | |
7451 | } | |
7452 | Py_INCREF(Py_None); resultobj = Py_None; | |
7453 | return resultobj; | |
7454 | fail: | |
7455 | return NULL; | |
7456 | } | |
7457 | ||
7458 | ||
3004cfd8 | 7459 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7460 | PyObject *resultobj; |
7461 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7462 | wxString *arg2 = 0 ; |
7463 | bool temp2 = false ; | |
cfe5e918 | 7464 | PyObject * obj0 = 0 ; |
3004cfd8 | 7465 | PyObject * obj1 = 0 ; |
cfe5e918 | 7466 | char *kwnames[] = { |
3004cfd8 | 7467 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
7468 | }; |
7469 | ||
3004cfd8 RD |
7470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; |
7471 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7472 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7473 | { | |
7474 | arg2 = wxString_in_helper(obj1); | |
7475 | if (arg2 == NULL) SWIG_fail; | |
7476 | temp2 = true; | |
7477 | } | |
cfe5e918 RD |
7478 | { |
7479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7480 | (arg1)->ReplaceSelection((wxString const &)*arg2); |
cfe5e918 RD |
7481 | |
7482 | wxPyEndAllowThreads(__tstate); | |
7483 | if (PyErr_Occurred()) SWIG_fail; | |
7484 | } | |
3004cfd8 RD |
7485 | Py_INCREF(Py_None); resultobj = Py_None; |
7486 | { | |
7487 | if (temp2) | |
7488 | delete arg2; | |
7489 | } | |
cfe5e918 RD |
7490 | return resultobj; |
7491 | fail: | |
3004cfd8 RD |
7492 | { |
7493 | if (temp2) | |
7494 | delete arg2; | |
7495 | } | |
cfe5e918 RD |
7496 | return NULL; |
7497 | } | |
7498 | ||
7499 | ||
3004cfd8 | 7500 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7501 | PyObject *resultobj; |
7502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7503 | bool arg2 ; |
cfe5e918 RD |
7504 | PyObject * obj0 = 0 ; |
7505 | PyObject * obj1 = 0 ; | |
7506 | char *kwnames[] = { | |
3004cfd8 | 7507 | (char *) "self",(char *) "readOnly", NULL |
cfe5e918 RD |
7508 | }; |
7509 | ||
3004cfd8 RD |
7510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; |
7511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7513 | { | |
7514 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7515 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7516 | } | |
cfe5e918 RD |
7517 | { |
7518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7519 | (arg1)->SetReadOnly(arg2); |
cfe5e918 RD |
7520 | |
7521 | wxPyEndAllowThreads(__tstate); | |
7522 | if (PyErr_Occurred()) SWIG_fail; | |
7523 | } | |
7524 | Py_INCREF(Py_None); resultobj = Py_None; | |
7525 | return resultobj; | |
7526 | fail: | |
7527 | return NULL; | |
7528 | } | |
7529 | ||
7530 | ||
3004cfd8 | 7531 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7532 | PyObject *resultobj; |
7533 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7534 | bool result; |
cfe5e918 RD |
7535 | PyObject * obj0 = 0 ; |
7536 | char *kwnames[] = { | |
7537 | (char *) "self", NULL | |
7538 | }; | |
7539 | ||
3004cfd8 RD |
7540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; |
7541 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7542 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7543 | { |
7544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7545 | result = (bool)(arg1)->CanPaste(); |
cfe5e918 RD |
7546 | |
7547 | wxPyEndAllowThreads(__tstate); | |
7548 | if (PyErr_Occurred()) SWIG_fail; | |
7549 | } | |
3004cfd8 RD |
7550 | { |
7551 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7552 | } | |
cfe5e918 RD |
7553 | return resultobj; |
7554 | fail: | |
7555 | return NULL; | |
7556 | } | |
7557 | ||
7558 | ||
3004cfd8 | 7559 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7560 | PyObject *resultobj; |
7561 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7562 | bool result; |
cfe5e918 | 7563 | PyObject * obj0 = 0 ; |
cfe5e918 | 7564 | char *kwnames[] = { |
3004cfd8 | 7565 | (char *) "self", NULL |
cfe5e918 RD |
7566 | }; |
7567 | ||
3004cfd8 RD |
7568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; |
7569 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7570 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7571 | { |
7572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7573 | result = (bool)(arg1)->CanUndo(); |
cfe5e918 RD |
7574 | |
7575 | wxPyEndAllowThreads(__tstate); | |
7576 | if (PyErr_Occurred()) SWIG_fail; | |
7577 | } | |
3004cfd8 RD |
7578 | { |
7579 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7580 | } | |
cfe5e918 RD |
7581 | return resultobj; |
7582 | fail: | |
7583 | return NULL; | |
7584 | } | |
7585 | ||
7586 | ||
3004cfd8 | 7587 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7588 | PyObject *resultobj; |
7589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
7590 | PyObject * obj0 = 0 ; |
7591 | char *kwnames[] = { | |
7592 | (char *) "self", NULL | |
7593 | }; | |
7594 | ||
3004cfd8 RD |
7595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; |
7596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7598 | { |
7599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7600 | (arg1)->EmptyUndoBuffer(); |
cfe5e918 RD |
7601 | |
7602 | wxPyEndAllowThreads(__tstate); | |
7603 | if (PyErr_Occurred()) SWIG_fail; | |
7604 | } | |
3004cfd8 | 7605 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7606 | return resultobj; |
7607 | fail: | |
7608 | return NULL; | |
7609 | } | |
7610 | ||
7611 | ||
3004cfd8 | 7612 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7613 | PyObject *resultobj; |
7614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7615 | PyObject * obj0 = 0 ; |
cfe5e918 | 7616 | char *kwnames[] = { |
3004cfd8 | 7617 | (char *) "self", NULL |
cfe5e918 RD |
7618 | }; |
7619 | ||
3004cfd8 RD |
7620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; |
7621 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7622 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7623 | { |
7624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7625 | (arg1)->Undo(); |
cfe5e918 RD |
7626 | |
7627 | wxPyEndAllowThreads(__tstate); | |
7628 | if (PyErr_Occurred()) SWIG_fail; | |
7629 | } | |
3004cfd8 | 7630 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7631 | return resultobj; |
7632 | fail: | |
cfe5e918 RD |
7633 | return NULL; |
7634 | } | |
7635 | ||
7636 | ||
3004cfd8 | 7637 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7638 | PyObject *resultobj; |
7639 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7640 | PyObject * obj0 = 0 ; |
cfe5e918 | 7641 | char *kwnames[] = { |
3004cfd8 | 7642 | (char *) "self", NULL |
cfe5e918 RD |
7643 | }; |
7644 | ||
3004cfd8 RD |
7645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; |
7646 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7647 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7648 | { |
7649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7650 | (arg1)->Cut(); |
cfe5e918 RD |
7651 | |
7652 | wxPyEndAllowThreads(__tstate); | |
7653 | if (PyErr_Occurred()) SWIG_fail; | |
7654 | } | |
3004cfd8 | 7655 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7656 | return resultobj; |
7657 | fail: | |
cfe5e918 RD |
7658 | return NULL; |
7659 | } | |
7660 | ||
7661 | ||
3004cfd8 | 7662 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7663 | PyObject *resultobj; |
7664 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7665 | PyObject * obj0 = 0 ; |
cfe5e918 | 7666 | char *kwnames[] = { |
3004cfd8 | 7667 | (char *) "self", NULL |
cfe5e918 RD |
7668 | }; |
7669 | ||
3004cfd8 RD |
7670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; |
7671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7673 | { |
7674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7675 | (arg1)->Copy(); |
cfe5e918 RD |
7676 | |
7677 | wxPyEndAllowThreads(__tstate); | |
7678 | if (PyErr_Occurred()) SWIG_fail; | |
7679 | } | |
3004cfd8 | 7680 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7681 | return resultobj; |
7682 | fail: | |
cfe5e918 RD |
7683 | return NULL; |
7684 | } | |
7685 | ||
7686 | ||
3004cfd8 | 7687 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7688 | PyObject *resultobj; |
7689 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7690 | PyObject * obj0 = 0 ; |
cfe5e918 | 7691 | char *kwnames[] = { |
3004cfd8 | 7692 | (char *) "self", NULL |
cfe5e918 RD |
7693 | }; |
7694 | ||
3004cfd8 RD |
7695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; |
7696 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7697 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7698 | { |
7699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7700 | (arg1)->Paste(); |
cfe5e918 RD |
7701 | |
7702 | wxPyEndAllowThreads(__tstate); | |
7703 | if (PyErr_Occurred()) SWIG_fail; | |
7704 | } | |
7705 | Py_INCREF(Py_None); resultobj = Py_None; | |
7706 | return resultobj; | |
7707 | fail: | |
7708 | return NULL; | |
7709 | } | |
7710 | ||
7711 | ||
3004cfd8 | 7712 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7713 | PyObject *resultobj; |
7714 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
7715 | PyObject * obj0 = 0 ; |
7716 | char *kwnames[] = { | |
7717 | (char *) "self", NULL | |
7718 | }; | |
7719 | ||
3004cfd8 RD |
7720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; |
7721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7723 | { |
7724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7725 | (arg1)->Clear(); |
cfe5e918 RD |
7726 | |
7727 | wxPyEndAllowThreads(__tstate); | |
7728 | if (PyErr_Occurred()) SWIG_fail; | |
7729 | } | |
3004cfd8 | 7730 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7731 | return resultobj; |
7732 | fail: | |
7733 | return NULL; | |
7734 | } | |
7735 | ||
7736 | ||
3004cfd8 | 7737 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7738 | PyObject *resultobj; |
7739 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7740 | wxString *arg2 = 0 ; |
7741 | bool temp2 = false ; | |
cfe5e918 RD |
7742 | PyObject * obj0 = 0 ; |
7743 | PyObject * obj1 = 0 ; | |
cfe5e918 | 7744 | char *kwnames[] = { |
3004cfd8 | 7745 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
7746 | }; |
7747 | ||
3004cfd8 RD |
7748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; |
7749 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7750 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7751 | { |
3004cfd8 RD |
7752 | arg2 = wxString_in_helper(obj1); |
7753 | if (arg2 == NULL) SWIG_fail; | |
7754 | temp2 = true; | |
cfe5e918 RD |
7755 | } |
7756 | { | |
7757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7758 | (arg1)->SetText((wxString const &)*arg2); |
cfe5e918 RD |
7759 | |
7760 | wxPyEndAllowThreads(__tstate); | |
7761 | if (PyErr_Occurred()) SWIG_fail; | |
7762 | } | |
7763 | Py_INCREF(Py_None); resultobj = Py_None; | |
7764 | { | |
3004cfd8 RD |
7765 | if (temp2) |
7766 | delete arg2; | |
cfe5e918 RD |
7767 | } |
7768 | return resultobj; | |
7769 | fail: | |
7770 | { | |
3004cfd8 RD |
7771 | if (temp2) |
7772 | delete arg2; | |
cfe5e918 RD |
7773 | } |
7774 | return NULL; | |
7775 | } | |
7776 | ||
7777 | ||
3004cfd8 | 7778 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7779 | PyObject *resultobj; |
7780 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7781 | wxString result; |
cfe5e918 RD |
7782 | PyObject * obj0 = 0 ; |
7783 | char *kwnames[] = { | |
7784 | (char *) "self", NULL | |
7785 | }; | |
7786 | ||
3004cfd8 RD |
7787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; |
7788 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7789 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7790 | { |
7791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7792 | result = (arg1)->GetText(); |
cfe5e918 RD |
7793 | |
7794 | wxPyEndAllowThreads(__tstate); | |
7795 | if (PyErr_Occurred()) SWIG_fail; | |
7796 | } | |
3004cfd8 RD |
7797 | { |
7798 | #if wxUSE_UNICODE | |
7799 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7800 | #else | |
7801 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7802 | #endif | |
7803 | } | |
cfe5e918 RD |
7804 | return resultobj; |
7805 | fail: | |
7806 | return NULL; | |
7807 | } | |
7808 | ||
7809 | ||
3004cfd8 | 7810 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7811 | PyObject *resultobj; |
7812 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7813 | int result; |
cfe5e918 RD |
7814 | PyObject * obj0 = 0 ; |
7815 | char *kwnames[] = { | |
7816 | (char *) "self", NULL | |
7817 | }; | |
7818 | ||
3004cfd8 RD |
7819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; |
7820 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7821 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7822 | { |
7823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7824 | result = (int)(arg1)->GetTextLength(); |
cfe5e918 RD |
7825 | |
7826 | wxPyEndAllowThreads(__tstate); | |
7827 | if (PyErr_Occurred()) SWIG_fail; | |
7828 | } | |
7829 | { | |
3004cfd8 | 7830 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
7831 | } |
7832 | return resultobj; | |
7833 | fail: | |
7834 | return NULL; | |
7835 | } | |
7836 | ||
7837 | ||
3004cfd8 | 7838 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7839 | PyObject *resultobj; |
7840 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7841 | bool arg2 ; |
cfe5e918 | 7842 | PyObject * obj0 = 0 ; |
3004cfd8 | 7843 | PyObject * obj1 = 0 ; |
cfe5e918 | 7844 | char *kwnames[] = { |
3004cfd8 | 7845 | (char *) "self",(char *) "overtype", NULL |
cfe5e918 RD |
7846 | }; |
7847 | ||
3004cfd8 RD |
7848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; |
7849 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7850 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7851 | { | |
7852 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7853 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7854 | } | |
cfe5e918 RD |
7855 | { |
7856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7857 | (arg1)->SetOvertype(arg2); |
cfe5e918 RD |
7858 | |
7859 | wxPyEndAllowThreads(__tstate); | |
7860 | if (PyErr_Occurred()) SWIG_fail; | |
7861 | } | |
3004cfd8 | 7862 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7863 | return resultobj; |
7864 | fail: | |
7865 | return NULL; | |
7866 | } | |
7867 | ||
7868 | ||
3004cfd8 | 7869 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7870 | PyObject *resultobj; |
7871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7872 | bool result; |
cfe5e918 | 7873 | PyObject * obj0 = 0 ; |
cfe5e918 | 7874 | char *kwnames[] = { |
3004cfd8 | 7875 | (char *) "self", NULL |
cfe5e918 RD |
7876 | }; |
7877 | ||
3004cfd8 RD |
7878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; |
7879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7881 | { |
7882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7883 | result = (bool)(arg1)->GetOvertype(); |
cfe5e918 RD |
7884 | |
7885 | wxPyEndAllowThreads(__tstate); | |
7886 | if (PyErr_Occurred()) SWIG_fail; | |
7887 | } | |
3004cfd8 RD |
7888 | { |
7889 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7890 | } | |
cfe5e918 RD |
7891 | return resultobj; |
7892 | fail: | |
7893 | return NULL; | |
7894 | } | |
7895 | ||
7896 | ||
3004cfd8 | 7897 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7898 | PyObject *resultobj; |
7899 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7900 | int arg2 ; |
cfe5e918 RD |
7901 | PyObject * obj0 = 0 ; |
7902 | PyObject * obj1 = 0 ; | |
7903 | char *kwnames[] = { | |
3004cfd8 | 7904 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7905 | }; |
7906 | ||
3004cfd8 RD |
7907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; |
7908 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7909 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7910 | { |
3004cfd8 RD |
7911 | arg2 = (int)(SWIG_As_int(obj1)); |
7912 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
7913 | } |
7914 | { | |
7915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7916 | (arg1)->SetCaretWidth(arg2); |
cfe5e918 RD |
7917 | |
7918 | wxPyEndAllowThreads(__tstate); | |
7919 | if (PyErr_Occurred()) SWIG_fail; | |
7920 | } | |
7921 | Py_INCREF(Py_None); resultobj = Py_None; | |
7922 | return resultobj; | |
7923 | fail: | |
7924 | return NULL; | |
7925 | } | |
7926 | ||
7927 | ||
3004cfd8 | 7928 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7929 | PyObject *resultobj; |
7930 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7931 | int result; |
cfe5e918 | 7932 | PyObject * obj0 = 0 ; |
cfe5e918 | 7933 | char *kwnames[] = { |
3004cfd8 | 7934 | (char *) "self", NULL |
cfe5e918 RD |
7935 | }; |
7936 | ||
3004cfd8 RD |
7937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; |
7938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7940 | { |
7941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7942 | result = (int)(arg1)->GetCaretWidth(); |
cfe5e918 RD |
7943 | |
7944 | wxPyEndAllowThreads(__tstate); | |
7945 | if (PyErr_Occurred()) SWIG_fail; | |
7946 | } | |
3004cfd8 RD |
7947 | { |
7948 | resultobj = SWIG_From_int((int)(result)); | |
7949 | } | |
cfe5e918 RD |
7950 | return resultobj; |
7951 | fail: | |
7952 | return NULL; | |
7953 | } | |
7954 | ||
7955 | ||
3004cfd8 | 7956 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7957 | PyObject *resultobj; |
7958 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7959 | int arg2 ; |
cfe5e918 RD |
7960 | PyObject * obj0 = 0 ; |
7961 | PyObject * obj1 = 0 ; | |
7962 | char *kwnames[] = { | |
3004cfd8 | 7963 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
7964 | }; |
7965 | ||
3004cfd8 RD |
7966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; |
7967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7969 | { |
3004cfd8 RD |
7970 | arg2 = (int)(SWIG_As_int(obj1)); |
7971 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
7972 | } |
7973 | { | |
7974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7975 | (arg1)->SetTargetStart(arg2); |
cfe5e918 RD |
7976 | |
7977 | wxPyEndAllowThreads(__tstate); | |
7978 | if (PyErr_Occurred()) SWIG_fail; | |
7979 | } | |
7980 | Py_INCREF(Py_None); resultobj = Py_None; | |
7981 | return resultobj; | |
7982 | fail: | |
7983 | return NULL; | |
7984 | } | |
7985 | ||
7986 | ||
3004cfd8 | 7987 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7988 | PyObject *resultobj; |
7989 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
7990 | int result; |
7991 | PyObject * obj0 = 0 ; | |
cfe5e918 | 7992 | char *kwnames[] = { |
3004cfd8 | 7993 | (char *) "self", NULL |
cfe5e918 RD |
7994 | }; |
7995 | ||
3004cfd8 RD |
7996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; |
7997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7999 | { |
8000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8001 | result = (int)(arg1)->GetTargetStart(); |
cfe5e918 RD |
8002 | |
8003 | wxPyEndAllowThreads(__tstate); | |
8004 | if (PyErr_Occurred()) SWIG_fail; | |
8005 | } | |
3004cfd8 RD |
8006 | { |
8007 | resultobj = SWIG_From_int((int)(result)); | |
8008 | } | |
cfe5e918 RD |
8009 | return resultobj; |
8010 | fail: | |
8011 | return NULL; | |
8012 | } | |
8013 | ||
8014 | ||
3004cfd8 | 8015 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8016 | PyObject *resultobj; |
8017 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8018 | int arg2 ; | |
cfe5e918 RD |
8019 | PyObject * obj0 = 0 ; |
8020 | PyObject * obj1 = 0 ; | |
8021 | char *kwnames[] = { | |
3004cfd8 | 8022 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
8023 | }; |
8024 | ||
3004cfd8 RD |
8025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; |
8026 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8028 | { | |
8029 | arg2 = (int)(SWIG_As_int(obj1)); | |
8030 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8031 | } | |
cfe5e918 RD |
8032 | { |
8033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8034 | (arg1)->SetTargetEnd(arg2); |
cfe5e918 RD |
8035 | |
8036 | wxPyEndAllowThreads(__tstate); | |
8037 | if (PyErr_Occurred()) SWIG_fail; | |
8038 | } | |
3004cfd8 | 8039 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8040 | return resultobj; |
8041 | fail: | |
8042 | return NULL; | |
8043 | } | |
8044 | ||
8045 | ||
3004cfd8 | 8046 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8047 | PyObject *resultobj; |
8048 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8049 | int result; |
cfe5e918 | 8050 | PyObject * obj0 = 0 ; |
cfe5e918 | 8051 | char *kwnames[] = { |
3004cfd8 | 8052 | (char *) "self", NULL |
cfe5e918 RD |
8053 | }; |
8054 | ||
3004cfd8 RD |
8055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; |
8056 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8057 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8058 | { |
8059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8060 | result = (int)(arg1)->GetTargetEnd(); |
cfe5e918 RD |
8061 | |
8062 | wxPyEndAllowThreads(__tstate); | |
8063 | if (PyErr_Occurred()) SWIG_fail; | |
8064 | } | |
3004cfd8 RD |
8065 | { |
8066 | resultobj = SWIG_From_int((int)(result)); | |
8067 | } | |
cfe5e918 RD |
8068 | return resultobj; |
8069 | fail: | |
8070 | return NULL; | |
8071 | } | |
8072 | ||
8073 | ||
3004cfd8 | 8074 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8075 | PyObject *resultobj; |
8076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8077 | wxString *arg2 = 0 ; |
cfe5e918 | 8078 | int result; |
3004cfd8 | 8079 | bool temp2 = false ; |
cfe5e918 RD |
8080 | PyObject * obj0 = 0 ; |
8081 | PyObject * obj1 = 0 ; | |
8082 | char *kwnames[] = { | |
3004cfd8 | 8083 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8084 | }; |
8085 | ||
3004cfd8 RD |
8086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; |
8087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8089 | { | |
8090 | arg2 = wxString_in_helper(obj1); | |
8091 | if (arg2 == NULL) SWIG_fail; | |
8092 | temp2 = true; | |
8093 | } | |
cfe5e918 RD |
8094 | { |
8095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8096 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); |
cfe5e918 RD |
8097 | |
8098 | wxPyEndAllowThreads(__tstate); | |
8099 | if (PyErr_Occurred()) SWIG_fail; | |
8100 | } | |
3004cfd8 RD |
8101 | { |
8102 | resultobj = SWIG_From_int((int)(result)); | |
8103 | } | |
8104 | { | |
8105 | if (temp2) | |
8106 | delete arg2; | |
8107 | } | |
cfe5e918 RD |
8108 | return resultobj; |
8109 | fail: | |
3004cfd8 RD |
8110 | { |
8111 | if (temp2) | |
8112 | delete arg2; | |
8113 | } | |
cfe5e918 RD |
8114 | return NULL; |
8115 | } | |
8116 | ||
8117 | ||
3004cfd8 | 8118 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8119 | PyObject *resultobj; |
8120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8121 | wxString *arg2 = 0 ; |
cfe5e918 | 8122 | int result; |
3004cfd8 | 8123 | bool temp2 = false ; |
cfe5e918 RD |
8124 | PyObject * obj0 = 0 ; |
8125 | PyObject * obj1 = 0 ; | |
cfe5e918 | 8126 | char *kwnames[] = { |
3004cfd8 | 8127 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8128 | }; |
8129 | ||
3004cfd8 RD |
8130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; |
8131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8133 | { | |
8134 | arg2 = wxString_in_helper(obj1); | |
8135 | if (arg2 == NULL) SWIG_fail; | |
8136 | temp2 = true; | |
8137 | } | |
cfe5e918 RD |
8138 | { |
8139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8140 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); |
cfe5e918 RD |
8141 | |
8142 | wxPyEndAllowThreads(__tstate); | |
8143 | if (PyErr_Occurred()) SWIG_fail; | |
8144 | } | |
3004cfd8 RD |
8145 | { |
8146 | resultobj = SWIG_From_int((int)(result)); | |
8147 | } | |
8148 | { | |
8149 | if (temp2) | |
8150 | delete arg2; | |
8151 | } | |
cfe5e918 RD |
8152 | return resultobj; |
8153 | fail: | |
3004cfd8 RD |
8154 | { |
8155 | if (temp2) | |
8156 | delete arg2; | |
8157 | } | |
cfe5e918 RD |
8158 | return NULL; |
8159 | } | |
8160 | ||
8161 | ||
3004cfd8 | 8162 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8163 | PyObject *resultobj; |
8164 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8165 | wxString *arg2 = 0 ; |
cfe5e918 | 8166 | int result; |
3004cfd8 | 8167 | bool temp2 = false ; |
cfe5e918 RD |
8168 | PyObject * obj0 = 0 ; |
8169 | PyObject * obj1 = 0 ; | |
8170 | char *kwnames[] = { | |
3004cfd8 | 8171 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8172 | }; |
8173 | ||
3004cfd8 RD |
8174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; |
8175 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8176 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8177 | { | |
8178 | arg2 = wxString_in_helper(obj1); | |
8179 | if (arg2 == NULL) SWIG_fail; | |
8180 | temp2 = true; | |
8181 | } | |
cfe5e918 RD |
8182 | { |
8183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8184 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); |
cfe5e918 RD |
8185 | |
8186 | wxPyEndAllowThreads(__tstate); | |
8187 | if (PyErr_Occurred()) SWIG_fail; | |
8188 | } | |
3004cfd8 RD |
8189 | { |
8190 | resultobj = SWIG_From_int((int)(result)); | |
8191 | } | |
8192 | { | |
8193 | if (temp2) | |
8194 | delete arg2; | |
8195 | } | |
cfe5e918 RD |
8196 | return resultobj; |
8197 | fail: | |
3004cfd8 RD |
8198 | { |
8199 | if (temp2) | |
8200 | delete arg2; | |
8201 | } | |
cfe5e918 RD |
8202 | return NULL; |
8203 | } | |
8204 | ||
8205 | ||
3004cfd8 | 8206 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8207 | PyObject *resultobj; |
8208 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8209 | int arg2 ; | |
cfe5e918 RD |
8210 | PyObject * obj0 = 0 ; |
8211 | PyObject * obj1 = 0 ; | |
cfe5e918 | 8212 | char *kwnames[] = { |
3004cfd8 | 8213 | (char *) "self",(char *) "flags", NULL |
cfe5e918 RD |
8214 | }; |
8215 | ||
3004cfd8 RD |
8216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; |
8217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8219 | { | |
8220 | arg2 = (int)(SWIG_As_int(obj1)); | |
8221 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8222 | } | |
cfe5e918 RD |
8223 | { |
8224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8225 | (arg1)->SetSearchFlags(arg2); |
cfe5e918 RD |
8226 | |
8227 | wxPyEndAllowThreads(__tstate); | |
8228 | if (PyErr_Occurred()) SWIG_fail; | |
8229 | } | |
8230 | Py_INCREF(Py_None); resultobj = Py_None; | |
8231 | return resultobj; | |
8232 | fail: | |
8233 | return NULL; | |
8234 | } | |
8235 | ||
8236 | ||
3004cfd8 | 8237 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8238 | PyObject *resultobj; |
8239 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8240 | int result; |
cfe5e918 | 8241 | PyObject * obj0 = 0 ; |
cfe5e918 | 8242 | char *kwnames[] = { |
3004cfd8 | 8243 | (char *) "self", NULL |
cfe5e918 RD |
8244 | }; |
8245 | ||
3004cfd8 RD |
8246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; |
8247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8249 | { |
8250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8251 | result = (int)(arg1)->GetSearchFlags(); |
cfe5e918 RD |
8252 | |
8253 | wxPyEndAllowThreads(__tstate); | |
8254 | if (PyErr_Occurred()) SWIG_fail; | |
8255 | } | |
3004cfd8 RD |
8256 | { |
8257 | resultobj = SWIG_From_int((int)(result)); | |
8258 | } | |
cfe5e918 RD |
8259 | return resultobj; |
8260 | fail: | |
8261 | return NULL; | |
8262 | } | |
8263 | ||
8264 | ||
3004cfd8 | 8265 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8266 | PyObject *resultobj; |
8267 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8268 | int arg2 ; | |
3004cfd8 RD |
8269 | wxString *arg3 = 0 ; |
8270 | bool temp3 = false ; | |
cfe5e918 RD |
8271 | PyObject * obj0 = 0 ; |
8272 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8273 | PyObject * obj2 = 0 ; |
cfe5e918 | 8274 | char *kwnames[] = { |
3004cfd8 | 8275 | (char *) "self",(char *) "pos",(char *) "definition", NULL |
cfe5e918 RD |
8276 | }; |
8277 | ||
3004cfd8 RD |
8278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8281 | { | |
8282 | arg2 = (int)(SWIG_As_int(obj1)); | |
8283 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8284 | } | |
8285 | { | |
8286 | arg3 = wxString_in_helper(obj2); | |
8287 | if (arg3 == NULL) SWIG_fail; | |
8288 | temp3 = true; | |
8289 | } | |
cfe5e918 RD |
8290 | { |
8291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8292 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
8293 | |
8294 | wxPyEndAllowThreads(__tstate); | |
8295 | if (PyErr_Occurred()) SWIG_fail; | |
8296 | } | |
3004cfd8 | 8297 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 8298 | { |
3004cfd8 RD |
8299 | if (temp3) |
8300 | delete arg3; | |
cfe5e918 RD |
8301 | } |
8302 | return resultobj; | |
8303 | fail: | |
3004cfd8 RD |
8304 | { |
8305 | if (temp3) | |
8306 | delete arg3; | |
8307 | } | |
cfe5e918 RD |
8308 | return NULL; |
8309 | } | |
8310 | ||
8311 | ||
3004cfd8 | 8312 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8313 | PyObject *resultobj; |
8314 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 8315 | PyObject * obj0 = 0 ; |
cfe5e918 | 8316 | char *kwnames[] = { |
3004cfd8 | 8317 | (char *) "self", NULL |
cfe5e918 RD |
8318 | }; |
8319 | ||
3004cfd8 RD |
8320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; |
8321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8323 | { |
8324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8325 | (arg1)->CallTipCancel(); |
cfe5e918 RD |
8326 | |
8327 | wxPyEndAllowThreads(__tstate); | |
8328 | if (PyErr_Occurred()) SWIG_fail; | |
8329 | } | |
8330 | Py_INCREF(Py_None); resultobj = Py_None; | |
8331 | return resultobj; | |
8332 | fail: | |
8333 | return NULL; | |
8334 | } | |
8335 | ||
8336 | ||
3004cfd8 | 8337 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8338 | PyObject *resultobj; |
8339 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
8340 | bool result; |
8341 | PyObject * obj0 = 0 ; | |
cfe5e918 | 8342 | char *kwnames[] = { |
3004cfd8 | 8343 | (char *) "self", NULL |
cfe5e918 RD |
8344 | }; |
8345 | ||
3004cfd8 RD |
8346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; |
8347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8349 | { |
8350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8351 | result = (bool)(arg1)->CallTipActive(); |
cfe5e918 RD |
8352 | |
8353 | wxPyEndAllowThreads(__tstate); | |
8354 | if (PyErr_Occurred()) SWIG_fail; | |
8355 | } | |
8356 | { | |
8357 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8358 | } | |
8359 | return resultobj; | |
8360 | fail: | |
8361 | return NULL; | |
8362 | } | |
8363 | ||
8364 | ||
3004cfd8 | 8365 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8366 | PyObject *resultobj; |
8367 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8368 | int result; |
cfe5e918 | 8369 | PyObject * obj0 = 0 ; |
cfe5e918 | 8370 | char *kwnames[] = { |
3004cfd8 | 8371 | (char *) "self", NULL |
cfe5e918 RD |
8372 | }; |
8373 | ||
3004cfd8 RD |
8374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; |
8375 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8376 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8377 | { |
8378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8379 | result = (int)(arg1)->CallTipPosAtStart(); |
cfe5e918 RD |
8380 | |
8381 | wxPyEndAllowThreads(__tstate); | |
8382 | if (PyErr_Occurred()) SWIG_fail; | |
8383 | } | |
3004cfd8 RD |
8384 | { |
8385 | resultobj = SWIG_From_int((int)(result)); | |
8386 | } | |
cfe5e918 RD |
8387 | return resultobj; |
8388 | fail: | |
8389 | return NULL; | |
8390 | } | |
8391 | ||
8392 | ||
3004cfd8 | 8393 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8394 | PyObject *resultobj; |
8395 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8396 | int arg2 ; | |
3004cfd8 | 8397 | int arg3 ; |
cfe5e918 RD |
8398 | PyObject * obj0 = 0 ; |
8399 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8400 | PyObject * obj2 = 0 ; |
cfe5e918 | 8401 | char *kwnames[] = { |
3004cfd8 | 8402 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
8403 | }; |
8404 | ||
3004cfd8 RD |
8405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8406 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8407 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8408 | { | |
8409 | arg2 = (int)(SWIG_As_int(obj1)); | |
8410 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8411 | } | |
8412 | { | |
8413 | arg3 = (int)(SWIG_As_int(obj2)); | |
8414 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8415 | } | |
cfe5e918 RD |
8416 | { |
8417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8418 | (arg1)->CallTipSetHighlight(arg2,arg3); |
cfe5e918 RD |
8419 | |
8420 | wxPyEndAllowThreads(__tstate); | |
8421 | if (PyErr_Occurred()) SWIG_fail; | |
8422 | } | |
8423 | Py_INCREF(Py_None); resultobj = Py_None; | |
8424 | return resultobj; | |
8425 | fail: | |
8426 | return NULL; | |
8427 | } | |
8428 | ||
8429 | ||
3004cfd8 | 8430 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8431 | PyObject *resultobj; |
8432 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8433 | wxColour *arg2 = 0 ; |
8434 | wxColour temp2 ; | |
cfe5e918 RD |
8435 | PyObject * obj0 = 0 ; |
8436 | PyObject * obj1 = 0 ; | |
8437 | char *kwnames[] = { | |
3004cfd8 | 8438 | (char *) "self",(char *) "back", NULL |
cfe5e918 RD |
8439 | }; |
8440 | ||
3004cfd8 RD |
8441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; |
8442 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8443 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8444 | { | |
8445 | arg2 = &temp2; | |
8446 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8447 | } | |
cfe5e918 RD |
8448 | { |
8449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8450 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); |
cfe5e918 RD |
8451 | |
8452 | wxPyEndAllowThreads(__tstate); | |
8453 | if (PyErr_Occurred()) SWIG_fail; | |
8454 | } | |
8455 | Py_INCREF(Py_None); resultobj = Py_None; | |
8456 | return resultobj; | |
8457 | fail: | |
8458 | return NULL; | |
8459 | } | |
8460 | ||
8461 | ||
3004cfd8 | 8462 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8463 | PyObject *resultobj; |
8464 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8465 | wxColour *arg2 = 0 ; |
8466 | wxColour temp2 ; | |
cfe5e918 RD |
8467 | PyObject * obj0 = 0 ; |
8468 | PyObject * obj1 = 0 ; | |
8469 | char *kwnames[] = { | |
3004cfd8 | 8470 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
8471 | }; |
8472 | ||
3004cfd8 RD |
8473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; |
8474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8476 | { | |
8477 | arg2 = &temp2; | |
8478 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8479 | } | |
cfe5e918 RD |
8480 | { |
8481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8482 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); |
cfe5e918 RD |
8483 | |
8484 | wxPyEndAllowThreads(__tstate); | |
8485 | if (PyErr_Occurred()) SWIG_fail; | |
8486 | } | |
8487 | Py_INCREF(Py_None); resultobj = Py_None; | |
8488 | return resultobj; | |
8489 | fail: | |
8490 | return NULL; | |
8491 | } | |
8492 | ||
8493 | ||
3004cfd8 | 8494 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8495 | PyObject *resultobj; |
8496 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8497 | wxColour *arg2 = 0 ; |
8498 | wxColour temp2 ; | |
cfe5e918 RD |
8499 | PyObject * obj0 = 0 ; |
8500 | PyObject * obj1 = 0 ; | |
8501 | char *kwnames[] = { | |
3004cfd8 | 8502 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
8503 | }; |
8504 | ||
3004cfd8 RD |
8505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; |
8506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8508 | { | |
8509 | arg2 = &temp2; | |
8510 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8511 | } | |
cfe5e918 RD |
8512 | { |
8513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8514 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); |
cfe5e918 RD |
8515 | |
8516 | wxPyEndAllowThreads(__tstate); | |
8517 | if (PyErr_Occurred()) SWIG_fail; | |
8518 | } | |
8519 | Py_INCREF(Py_None); resultobj = Py_None; | |
8520 | return resultobj; | |
8521 | fail: | |
8522 | return NULL; | |
8523 | } | |
8524 | ||
8525 | ||
3004cfd8 | 8526 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8527 | PyObject *resultobj; |
8528 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8529 | int arg2 ; |
8530 | int result; | |
cfe5e918 | 8531 | PyObject * obj0 = 0 ; |
3004cfd8 | 8532 | PyObject * obj1 = 0 ; |
cfe5e918 | 8533 | char *kwnames[] = { |
3004cfd8 | 8534 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8535 | }; |
8536 | ||
3004cfd8 RD |
8537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; |
8538 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8539 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8540 | { | |
8541 | arg2 = (int)(SWIG_As_int(obj1)); | |
8542 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8543 | } | |
cfe5e918 RD |
8544 | { |
8545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8546 | result = (int)(arg1)->VisibleFromDocLine(arg2); |
cfe5e918 RD |
8547 | |
8548 | wxPyEndAllowThreads(__tstate); | |
8549 | if (PyErr_Occurred()) SWIG_fail; | |
8550 | } | |
8551 | { | |
3004cfd8 | 8552 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
8553 | } |
8554 | return resultobj; | |
8555 | fail: | |
8556 | return NULL; | |
8557 | } | |
8558 | ||
8559 | ||
3004cfd8 | 8560 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8561 | PyObject *resultobj; |
8562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8563 | int arg2 ; |
8564 | int result; | |
cfe5e918 RD |
8565 | PyObject * obj0 = 0 ; |
8566 | PyObject * obj1 = 0 ; | |
8567 | char *kwnames[] = { | |
3004cfd8 | 8568 | (char *) "self",(char *) "lineDisplay", NULL |
cfe5e918 RD |
8569 | }; |
8570 | ||
3004cfd8 RD |
8571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; |
8572 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8573 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8574 | { | |
8575 | arg2 = (int)(SWIG_As_int(obj1)); | |
8576 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8577 | } | |
cfe5e918 RD |
8578 | { |
8579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8580 | result = (int)(arg1)->DocLineFromVisible(arg2); |
cfe5e918 RD |
8581 | |
8582 | wxPyEndAllowThreads(__tstate); | |
8583 | if (PyErr_Occurred()) SWIG_fail; | |
8584 | } | |
3004cfd8 RD |
8585 | { |
8586 | resultobj = SWIG_From_int((int)(result)); | |
8587 | } | |
cfe5e918 RD |
8588 | return resultobj; |
8589 | fail: | |
8590 | return NULL; | |
8591 | } | |
8592 | ||
8593 | ||
3004cfd8 | 8594 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8595 | PyObject *resultobj; |
8596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8597 | int arg2 ; |
8598 | int arg3 ; | |
cfe5e918 | 8599 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
8600 | PyObject * obj1 = 0 ; |
8601 | PyObject * obj2 = 0 ; | |
cfe5e918 | 8602 | char *kwnames[] = { |
3004cfd8 | 8603 | (char *) "self",(char *) "line",(char *) "level", NULL |
cfe5e918 RD |
8604 | }; |
8605 | ||
3004cfd8 RD |
8606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8607 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8609 | { | |
8610 | arg2 = (int)(SWIG_As_int(obj1)); | |
8611 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8612 | } | |
8613 | { | |
8614 | arg3 = (int)(SWIG_As_int(obj2)); | |
8615 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8616 | } | |
cfe5e918 RD |
8617 | { |
8618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8619 | (arg1)->SetFoldLevel(arg2,arg3); |
cfe5e918 RD |
8620 | |
8621 | wxPyEndAllowThreads(__tstate); | |
8622 | if (PyErr_Occurred()) SWIG_fail; | |
8623 | } | |
3004cfd8 | 8624 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8625 | return resultobj; |
8626 | fail: | |
8627 | return NULL; | |
8628 | } | |
8629 | ||
8630 | ||
3004cfd8 | 8631 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8632 | PyObject *resultobj; |
8633 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8634 | int arg2 ; | |
3004cfd8 | 8635 | int result; |
cfe5e918 RD |
8636 | PyObject * obj0 = 0 ; |
8637 | PyObject * obj1 = 0 ; | |
8638 | char *kwnames[] = { | |
3004cfd8 | 8639 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8640 | }; |
8641 | ||
3004cfd8 RD |
8642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; |
8643 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8644 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8645 | { | |
8646 | arg2 = (int)(SWIG_As_int(obj1)); | |
8647 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8648 | } | |
cfe5e918 RD |
8649 | { |
8650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8651 | result = (int)(arg1)->GetFoldLevel(arg2); |
cfe5e918 RD |
8652 | |
8653 | wxPyEndAllowThreads(__tstate); | |
8654 | if (PyErr_Occurred()) SWIG_fail; | |
8655 | } | |
3004cfd8 RD |
8656 | { |
8657 | resultobj = SWIG_From_int((int)(result)); | |
8658 | } | |
cfe5e918 RD |
8659 | return resultobj; |
8660 | fail: | |
8661 | return NULL; | |
8662 | } | |
8663 | ||
8664 | ||
3004cfd8 | 8665 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8666 | PyObject *resultobj; |
8667 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8668 | int arg2 ; |
8669 | int arg3 ; | |
cfe5e918 RD |
8670 | int result; |
8671 | PyObject * obj0 = 0 ; | |
3004cfd8 RD |
8672 | PyObject * obj1 = 0 ; |
8673 | PyObject * obj2 = 0 ; | |
cfe5e918 | 8674 | char *kwnames[] = { |
3004cfd8 | 8675 | (char *) "self",(char *) "line",(char *) "level", NULL |
cfe5e918 RD |
8676 | }; |
8677 | ||
3004cfd8 RD |
8678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8679 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8680 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8681 | { | |
8682 | arg2 = (int)(SWIG_As_int(obj1)); | |
8683 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8684 | } | |
8685 | { | |
8686 | arg3 = (int)(SWIG_As_int(obj2)); | |
8687 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8688 | } | |
cfe5e918 RD |
8689 | { |
8690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8691 | result = (int)(arg1)->GetLastChild(arg2,arg3); |
cfe5e918 RD |
8692 | |
8693 | wxPyEndAllowThreads(__tstate); | |
8694 | if (PyErr_Occurred()) SWIG_fail; | |
8695 | } | |
3004cfd8 RD |
8696 | { |
8697 | resultobj = SWIG_From_int((int)(result)); | |
8698 | } | |
cfe5e918 RD |
8699 | return resultobj; |
8700 | fail: | |
8701 | return NULL; | |
8702 | } | |
8703 | ||
8704 | ||
3004cfd8 | 8705 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8706 | PyObject *resultobj; |
8707 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8708 | int arg2 ; | |
cfe5e918 RD |
8709 | int result; |
8710 | PyObject * obj0 = 0 ; | |
8711 | PyObject * obj1 = 0 ; | |
cfe5e918 | 8712 | char *kwnames[] = { |
3004cfd8 | 8713 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8714 | }; |
8715 | ||
3004cfd8 RD |
8716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; |
8717 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8718 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8719 | { | |
8720 | arg2 = (int)(SWIG_As_int(obj1)); | |
8721 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8722 | } | |
cfe5e918 RD |
8723 | { |
8724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8725 | result = (int)(arg1)->GetFoldParent(arg2); |
cfe5e918 RD |
8726 | |
8727 | wxPyEndAllowThreads(__tstate); | |
8728 | if (PyErr_Occurred()) SWIG_fail; | |
8729 | } | |
3004cfd8 RD |
8730 | { |
8731 | resultobj = SWIG_From_int((int)(result)); | |
8732 | } | |
cfe5e918 RD |
8733 | return resultobj; |
8734 | fail: | |
8735 | return NULL; | |
8736 | } | |
8737 | ||
8738 | ||
3004cfd8 | 8739 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8740 | PyObject *resultobj; |
8741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8742 | int arg2 ; | |
3004cfd8 | 8743 | int arg3 ; |
cfe5e918 RD |
8744 | PyObject * obj0 = 0 ; |
8745 | PyObject * obj1 = 0 ; | |
8746 | PyObject * obj2 = 0 ; | |
8747 | char *kwnames[] = { | |
3004cfd8 | 8748 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
cfe5e918 RD |
8749 | }; |
8750 | ||
3004cfd8 RD |
8751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8754 | { | |
8755 | arg2 = (int)(SWIG_As_int(obj1)); | |
8756 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8757 | } | |
8758 | { | |
8759 | arg3 = (int)(SWIG_As_int(obj2)); | |
8760 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8761 | } | |
cfe5e918 RD |
8762 | { |
8763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8764 | (arg1)->ShowLines(arg2,arg3); |
cfe5e918 RD |
8765 | |
8766 | wxPyEndAllowThreads(__tstate); | |
8767 | if (PyErr_Occurred()) SWIG_fail; | |
8768 | } | |
3004cfd8 | 8769 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8770 | return resultobj; |
8771 | fail: | |
8772 | return NULL; | |
8773 | } | |
8774 | ||
8775 | ||
3004cfd8 | 8776 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8777 | PyObject *resultobj; |
8778 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8779 | int arg2 ; | |
3004cfd8 | 8780 | int arg3 ; |
cfe5e918 RD |
8781 | PyObject * obj0 = 0 ; |
8782 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8783 | PyObject * obj2 = 0 ; |
cfe5e918 | 8784 | char *kwnames[] = { |
3004cfd8 | 8785 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
cfe5e918 RD |
8786 | }; |
8787 | ||
3004cfd8 RD |
8788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8789 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8790 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8791 | { | |
8792 | arg2 = (int)(SWIG_As_int(obj1)); | |
8793 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8794 | } | |
8795 | { | |
8796 | arg3 = (int)(SWIG_As_int(obj2)); | |
8797 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8798 | } | |
cfe5e918 RD |
8799 | { |
8800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8801 | (arg1)->HideLines(arg2,arg3); |
cfe5e918 RD |
8802 | |
8803 | wxPyEndAllowThreads(__tstate); | |
8804 | if (PyErr_Occurred()) SWIG_fail; | |
8805 | } | |
8806 | Py_INCREF(Py_None); resultobj = Py_None; | |
8807 | return resultobj; | |
8808 | fail: | |
8809 | return NULL; | |
8810 | } | |
8811 | ||
8812 | ||
3004cfd8 | 8813 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8814 | PyObject *resultobj; |
8815 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8816 | int arg2 ; |
8817 | bool result; | |
cfe5e918 | 8818 | PyObject * obj0 = 0 ; |
3004cfd8 | 8819 | PyObject * obj1 = 0 ; |
cfe5e918 | 8820 | char *kwnames[] = { |
3004cfd8 | 8821 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8822 | }; |
8823 | ||
3004cfd8 RD |
8824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; |
8825 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8826 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8827 | { | |
8828 | arg2 = (int)(SWIG_As_int(obj1)); | |
8829 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8830 | } | |
cfe5e918 RD |
8831 | { |
8832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8833 | result = (bool)(arg1)->GetLineVisible(arg2); |
cfe5e918 RD |
8834 | |
8835 | wxPyEndAllowThreads(__tstate); | |
8836 | if (PyErr_Occurred()) SWIG_fail; | |
8837 | } | |
3004cfd8 RD |
8838 | { |
8839 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8840 | } | |
cfe5e918 RD |
8841 | return resultobj; |
8842 | fail: | |
8843 | return NULL; | |
8844 | } | |
8845 | ||
8846 | ||
3004cfd8 | 8847 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8848 | PyObject *resultobj; |
8849 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8850 | int arg2 ; | |
3004cfd8 | 8851 | bool arg3 ; |
b6294124 RD |
8852 | PyObject * obj0 = 0 ; |
8853 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8854 | PyObject * obj2 = 0 ; |
b6294124 | 8855 | char *kwnames[] = { |
3004cfd8 | 8856 | (char *) "self",(char *) "line",(char *) "expanded", NULL |
b6294124 RD |
8857 | }; |
8858 | ||
3004cfd8 RD |
8859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8860 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8861 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8862 | { | |
8863 | arg2 = (int)(SWIG_As_int(obj1)); | |
8864 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8865 | } | |
8866 | { | |
8867 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8868 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8869 | } | |
b6294124 RD |
8870 | { |
8871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8872 | (arg1)->SetFoldExpanded(arg2,arg3); |
b6294124 RD |
8873 | |
8874 | wxPyEndAllowThreads(__tstate); | |
8875 | if (PyErr_Occurred()) SWIG_fail; | |
8876 | } | |
8877 | Py_INCREF(Py_None); resultobj = Py_None; | |
8878 | return resultobj; | |
8879 | fail: | |
8880 | return NULL; | |
8881 | } | |
8882 | ||
8883 | ||
3004cfd8 | 8884 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8885 | PyObject *resultobj; |
8886 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8887 | int arg2 ; |
8888 | bool result; | |
b6294124 | 8889 | PyObject * obj0 = 0 ; |
3004cfd8 | 8890 | PyObject * obj1 = 0 ; |
b6294124 | 8891 | char *kwnames[] = { |
3004cfd8 | 8892 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
8893 | }; |
8894 | ||
3004cfd8 RD |
8895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; |
8896 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8897 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8898 | { | |
8899 | arg2 = (int)(SWIG_As_int(obj1)); | |
8900 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8901 | } | |
b6294124 RD |
8902 | { |
8903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8904 | result = (bool)(arg1)->GetFoldExpanded(arg2); |
b6294124 RD |
8905 | |
8906 | wxPyEndAllowThreads(__tstate); | |
8907 | if (PyErr_Occurred()) SWIG_fail; | |
8908 | } | |
3004cfd8 RD |
8909 | { |
8910 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8911 | } | |
b6294124 RD |
8912 | return resultobj; |
8913 | fail: | |
8914 | return NULL; | |
8915 | } | |
8916 | ||
8917 | ||
3004cfd8 | 8918 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8919 | PyObject *resultobj; |
8920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8921 | int arg2 ; | |
8922 | PyObject * obj0 = 0 ; | |
8923 | PyObject * obj1 = 0 ; | |
8924 | char *kwnames[] = { | |
3004cfd8 | 8925 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
8926 | }; |
8927 | ||
3004cfd8 RD |
8928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; |
8929 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8930 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8931 | { | |
8932 | arg2 = (int)(SWIG_As_int(obj1)); | |
8933 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8934 | } | |
b6294124 RD |
8935 | { |
8936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8937 | (arg1)->ToggleFold(arg2); |
b6294124 RD |
8938 | |
8939 | wxPyEndAllowThreads(__tstate); | |
8940 | if (PyErr_Occurred()) SWIG_fail; | |
8941 | } | |
8942 | Py_INCREF(Py_None); resultobj = Py_None; | |
8943 | return resultobj; | |
8944 | fail: | |
8945 | return NULL; | |
8946 | } | |
8947 | ||
8948 | ||
3004cfd8 | 8949 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8950 | PyObject *resultobj; |
8951 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8952 | int arg2 ; |
b6294124 | 8953 | PyObject * obj0 = 0 ; |
3004cfd8 | 8954 | PyObject * obj1 = 0 ; |
b6294124 | 8955 | char *kwnames[] = { |
3004cfd8 | 8956 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
8957 | }; |
8958 | ||
3004cfd8 RD |
8959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; |
8960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8962 | { | |
8963 | arg2 = (int)(SWIG_As_int(obj1)); | |
8964 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8965 | } | |
b6294124 RD |
8966 | { |
8967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8968 | (arg1)->EnsureVisible(arg2); |
b6294124 RD |
8969 | |
8970 | wxPyEndAllowThreads(__tstate); | |
8971 | if (PyErr_Occurred()) SWIG_fail; | |
8972 | } | |
3004cfd8 | 8973 | Py_INCREF(Py_None); resultobj = Py_None; |
b6294124 RD |
8974 | return resultobj; |
8975 | fail: | |
8976 | return NULL; | |
8977 | } | |
8978 | ||
8979 | ||
3004cfd8 | 8980 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8981 | PyObject *resultobj; |
8982 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8983 | int arg2 ; | |
8984 | PyObject * obj0 = 0 ; | |
8985 | PyObject * obj1 = 0 ; | |
8986 | char *kwnames[] = { | |
3004cfd8 | 8987 | (char *) "self",(char *) "flags", NULL |
b6294124 RD |
8988 | }; |
8989 | ||
3004cfd8 RD |
8990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; |
8991 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8992 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8993 | { | |
8994 | arg2 = (int)(SWIG_As_int(obj1)); | |
8995 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8996 | } | |
b6294124 RD |
8997 | { |
8998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8999 | (arg1)->SetFoldFlags(arg2); |
b6294124 RD |
9000 | |
9001 | wxPyEndAllowThreads(__tstate); | |
9002 | if (PyErr_Occurred()) SWIG_fail; | |
9003 | } | |
9004 | Py_INCREF(Py_None); resultobj = Py_None; | |
9005 | return resultobj; | |
9006 | fail: | |
9007 | return NULL; | |
9008 | } | |
9009 | ||
9010 | ||
3004cfd8 | 9011 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
9012 | PyObject *resultobj; |
9013 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9014 | int arg2 ; |
b6294124 | 9015 | PyObject * obj0 = 0 ; |
3004cfd8 | 9016 | PyObject * obj1 = 0 ; |
b6294124 | 9017 | char *kwnames[] = { |
3004cfd8 | 9018 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
9019 | }; |
9020 | ||
3004cfd8 RD |
9021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; |
9022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9024 | { | |
9025 | arg2 = (int)(SWIG_As_int(obj1)); | |
9026 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9027 | } | |
b6294124 RD |
9028 | { |
9029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9030 | (arg1)->EnsureVisibleEnforcePolicy(arg2); |
b6294124 RD |
9031 | |
9032 | wxPyEndAllowThreads(__tstate); | |
9033 | if (PyErr_Occurred()) SWIG_fail; | |
9034 | } | |
3004cfd8 | 9035 | Py_INCREF(Py_None); resultobj = Py_None; |
b6294124 RD |
9036 | return resultobj; |
9037 | fail: | |
9038 | return NULL; | |
9039 | } | |
9040 | ||
9041 | ||
3004cfd8 | 9042 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9043 | PyObject *resultobj; |
9044 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9045 | bool arg2 ; |
cfe5e918 RD |
9046 | PyObject * obj0 = 0 ; |
9047 | PyObject * obj1 = 0 ; | |
9048 | char *kwnames[] = { | |
3004cfd8 | 9049 | (char *) "self",(char *) "tabIndents", NULL |
cfe5e918 RD |
9050 | }; |
9051 | ||
3004cfd8 RD |
9052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; |
9053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9055 | { | |
9056 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9057 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9058 | } | |
cfe5e918 RD |
9059 | { |
9060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9061 | (arg1)->SetTabIndents(arg2); |
cfe5e918 RD |
9062 | |
9063 | wxPyEndAllowThreads(__tstate); | |
9064 | if (PyErr_Occurred()) SWIG_fail; | |
9065 | } | |
9066 | Py_INCREF(Py_None); resultobj = Py_None; | |
9067 | return resultobj; | |
9068 | fail: | |
9069 | return NULL; | |
9070 | } | |
9071 | ||
9072 | ||
3004cfd8 | 9073 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9074 | PyObject *resultobj; |
9075 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9076 | bool result; |
cfe5e918 RD |
9077 | PyObject * obj0 = 0 ; |
9078 | char *kwnames[] = { | |
9079 | (char *) "self", NULL | |
9080 | }; | |
9081 | ||
3004cfd8 RD |
9082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; |
9083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9085 | { |
9086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9087 | result = (bool)(arg1)->GetTabIndents(); |
cfe5e918 RD |
9088 | |
9089 | wxPyEndAllowThreads(__tstate); | |
9090 | if (PyErr_Occurred()) SWIG_fail; | |
9091 | } | |
3004cfd8 RD |
9092 | { |
9093 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9094 | } | |
cfe5e918 RD |
9095 | return resultobj; |
9096 | fail: | |
9097 | return NULL; | |
9098 | } | |
9099 | ||
9100 | ||
3004cfd8 | 9101 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9102 | PyObject *resultobj; |
9103 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9104 | bool arg2 ; |
cfe5e918 RD |
9105 | PyObject * obj0 = 0 ; |
9106 | PyObject * obj1 = 0 ; | |
9107 | char *kwnames[] = { | |
3004cfd8 | 9108 | (char *) "self",(char *) "bsUnIndents", NULL |
cfe5e918 RD |
9109 | }; |
9110 | ||
3004cfd8 RD |
9111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; |
9112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9114 | { | |
9115 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9116 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9117 | } | |
cfe5e918 RD |
9118 | { |
9119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9120 | (arg1)->SetBackSpaceUnIndents(arg2); |
cfe5e918 RD |
9121 | |
9122 | wxPyEndAllowThreads(__tstate); | |
9123 | if (PyErr_Occurred()) SWIG_fail; | |
9124 | } | |
9125 | Py_INCREF(Py_None); resultobj = Py_None; | |
9126 | return resultobj; | |
9127 | fail: | |
9128 | return NULL; | |
9129 | } | |
9130 | ||
9131 | ||
3004cfd8 | 9132 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9133 | PyObject *resultobj; |
9134 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9135 | bool result; |
cfe5e918 RD |
9136 | PyObject * obj0 = 0 ; |
9137 | char *kwnames[] = { | |
9138 | (char *) "self", NULL | |
9139 | }; | |
9140 | ||
3004cfd8 RD |
9141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; |
9142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9144 | { |
9145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9146 | result = (bool)(arg1)->GetBackSpaceUnIndents(); |
cfe5e918 RD |
9147 | |
9148 | wxPyEndAllowThreads(__tstate); | |
9149 | if (PyErr_Occurred()) SWIG_fail; | |
9150 | } | |
3004cfd8 RD |
9151 | { |
9152 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9153 | } | |
cfe5e918 RD |
9154 | return resultobj; |
9155 | fail: | |
9156 | return NULL; | |
9157 | } | |
9158 | ||
9159 | ||
3004cfd8 | 9160 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9161 | PyObject *resultobj; |
9162 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9163 | int arg2 ; | |
cfe5e918 RD |
9164 | PyObject * obj0 = 0 ; |
9165 | PyObject * obj1 = 0 ; | |
cfe5e918 | 9166 | char *kwnames[] = { |
3004cfd8 | 9167 | (char *) "self",(char *) "periodMilliseconds", NULL |
cfe5e918 RD |
9168 | }; |
9169 | ||
3004cfd8 RD |
9170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; |
9171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 9173 | { |
3004cfd8 RD |
9174 | arg2 = (int)(SWIG_As_int(obj1)); |
9175 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9176 | } |
9177 | { | |
9178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9179 | (arg1)->SetMouseDwellTime(arg2); |
cfe5e918 RD |
9180 | |
9181 | wxPyEndAllowThreads(__tstate); | |
9182 | if (PyErr_Occurred()) SWIG_fail; | |
9183 | } | |
3004cfd8 | 9184 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
9185 | return resultobj; |
9186 | fail: | |
cfe5e918 RD |
9187 | return NULL; |
9188 | } | |
9189 | ||
9190 | ||
3004cfd8 | 9191 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9192 | PyObject *resultobj; |
9193 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9194 | int result; |
cfe5e918 | 9195 | PyObject * obj0 = 0 ; |
cfe5e918 | 9196 | char *kwnames[] = { |
3004cfd8 | 9197 | (char *) "self", NULL |
cfe5e918 RD |
9198 | }; |
9199 | ||
3004cfd8 RD |
9200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; |
9201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9203 | { |
9204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9205 | result = (int)(arg1)->GetMouseDwellTime(); |
cfe5e918 RD |
9206 | |
9207 | wxPyEndAllowThreads(__tstate); | |
9208 | if (PyErr_Occurred()) SWIG_fail; | |
9209 | } | |
3004cfd8 RD |
9210 | { |
9211 | resultobj = SWIG_From_int((int)(result)); | |
9212 | } | |
cfe5e918 RD |
9213 | return resultobj; |
9214 | fail: | |
9215 | return NULL; | |
9216 | } | |
9217 | ||
9218 | ||
3004cfd8 | 9219 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9220 | PyObject *resultobj; |
9221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
9222 | int arg2 ; |
9223 | bool arg3 ; | |
cfe5e918 RD |
9224 | int result; |
9225 | PyObject * obj0 = 0 ; | |
3004cfd8 RD |
9226 | PyObject * obj1 = 0 ; |
9227 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9228 | char *kwnames[] = { |
3004cfd8 | 9229 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
cfe5e918 RD |
9230 | }; |
9231 | ||
3004cfd8 RD |
9232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9235 | { | |
9236 | arg2 = (int)(SWIG_As_int(obj1)); | |
9237 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9238 | } | |
9239 | { | |
9240 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
9241 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9242 | } | |
cfe5e918 RD |
9243 | { |
9244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9245 | result = (int)(arg1)->WordStartPosition(arg2,arg3); |
cfe5e918 RD |
9246 | |
9247 | wxPyEndAllowThreads(__tstate); | |
9248 | if (PyErr_Occurred()) SWIG_fail; | |
9249 | } | |
3004cfd8 RD |
9250 | { |
9251 | resultobj = SWIG_From_int((int)(result)); | |
9252 | } | |
cfe5e918 RD |
9253 | return resultobj; |
9254 | fail: | |
9255 | return NULL; | |
9256 | } | |
9257 | ||
9258 | ||
3004cfd8 | 9259 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9260 | PyObject *resultobj; |
9261 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9262 | int arg2 ; | |
3004cfd8 | 9263 | bool arg3 ; |
cfe5e918 RD |
9264 | int result; |
9265 | PyObject * obj0 = 0 ; | |
9266 | PyObject * obj1 = 0 ; | |
3004cfd8 | 9267 | PyObject * obj2 = 0 ; |
cfe5e918 | 9268 | char *kwnames[] = { |
3004cfd8 | 9269 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
cfe5e918 RD |
9270 | }; |
9271 | ||
3004cfd8 RD |
9272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9275 | { | |
9276 | arg2 = (int)(SWIG_As_int(obj1)); | |
9277 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9278 | } | |
9279 | { | |
9280 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
9281 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9282 | } | |
cfe5e918 RD |
9283 | { |
9284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9285 | result = (int)(arg1)->WordEndPosition(arg2,arg3); |
cfe5e918 RD |
9286 | |
9287 | wxPyEndAllowThreads(__tstate); | |
9288 | if (PyErr_Occurred()) SWIG_fail; | |
9289 | } | |
3004cfd8 RD |
9290 | { |
9291 | resultobj = SWIG_From_int((int)(result)); | |
9292 | } | |
cfe5e918 RD |
9293 | return resultobj; |
9294 | fail: | |
9295 | return NULL; | |
9296 | } | |
9297 | ||
9298 | ||
3004cfd8 | 9299 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9300 | PyObject *resultobj; |
9301 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9302 | int arg2 ; |
cfe5e918 RD |
9303 | PyObject * obj0 = 0 ; |
9304 | PyObject * obj1 = 0 ; | |
9305 | char *kwnames[] = { | |
3004cfd8 | 9306 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
9307 | }; |
9308 | ||
3004cfd8 RD |
9309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; |
9310 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9311 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9312 | { | |
9313 | arg2 = (int)(SWIG_As_int(obj1)); | |
9314 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9315 | } | |
cfe5e918 RD |
9316 | { |
9317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9318 | (arg1)->SetWrapMode(arg2); |
cfe5e918 RD |
9319 | |
9320 | wxPyEndAllowThreads(__tstate); | |
9321 | if (PyErr_Occurred()) SWIG_fail; | |
9322 | } | |
9323 | Py_INCREF(Py_None); resultobj = Py_None; | |
9324 | return resultobj; | |
9325 | fail: | |
9326 | return NULL; | |
9327 | } | |
9328 | ||
9329 | ||
3004cfd8 | 9330 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9331 | PyObject *resultobj; |
9332 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9333 | int result; |
cfe5e918 RD |
9334 | PyObject * obj0 = 0 ; |
9335 | char *kwnames[] = { | |
9336 | (char *) "self", NULL | |
9337 | }; | |
9338 | ||
3004cfd8 RD |
9339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; |
9340 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9341 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9342 | { |
9343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9344 | result = (int)(arg1)->GetWrapMode(); |
cfe5e918 RD |
9345 | |
9346 | wxPyEndAllowThreads(__tstate); | |
9347 | if (PyErr_Occurred()) SWIG_fail; | |
9348 | } | |
9349 | { | |
3004cfd8 | 9350 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
9351 | } |
9352 | return resultobj; | |
9353 | fail: | |
9354 | return NULL; | |
9355 | } | |
9356 | ||
9357 | ||
3004cfd8 | 9358 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9359 | PyObject *resultobj; |
9360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9361 | int arg2 ; | |
cfe5e918 RD |
9362 | PyObject * obj0 = 0 ; |
9363 | PyObject * obj1 = 0 ; | |
cfe5e918 | 9364 | char *kwnames[] = { |
3004cfd8 | 9365 | (char *) "self",(char *) "wrapVisualFlags", NULL |
cfe5e918 RD |
9366 | }; |
9367 | ||
3004cfd8 RD |
9368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail; |
9369 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9370 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 9371 | { |
3004cfd8 RD |
9372 | arg2 = (int)(SWIG_As_int(obj1)); |
9373 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9374 | } |
9375 | { | |
9376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9377 | (arg1)->SetWrapVisualFlags(arg2); |
cfe5e918 RD |
9378 | |
9379 | wxPyEndAllowThreads(__tstate); | |
9380 | if (PyErr_Occurred()) SWIG_fail; | |
9381 | } | |
9382 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
9383 | return resultobj; |
9384 | fail: | |
cfe5e918 RD |
9385 | return NULL; |
9386 | } | |
9387 | ||
9388 | ||
3004cfd8 | 9389 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9390 | PyObject *resultobj; |
9391 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9392 | int result; |
cfe5e918 RD |
9393 | PyObject * obj0 = 0 ; |
9394 | char *kwnames[] = { | |
9395 | (char *) "self", NULL | |
9396 | }; | |
9397 | ||
3004cfd8 RD |
9398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail; |
9399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9401 | { |
9402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9403 | result = (int)(arg1)->GetWrapVisualFlags(); |
cfe5e918 RD |
9404 | |
9405 | wxPyEndAllowThreads(__tstate); | |
9406 | if (PyErr_Occurred()) SWIG_fail; | |
9407 | } | |
9408 | { | |
3004cfd8 | 9409 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
9410 | } |
9411 | return resultobj; | |
9412 | fail: | |
9413 | return NULL; | |
9414 | } | |
9415 | ||
9416 | ||
3004cfd8 | 9417 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9418 | PyObject *resultobj; |
9419 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9420 | int arg2 ; |
cfe5e918 RD |
9421 | PyObject * obj0 = 0 ; |
9422 | PyObject * obj1 = 0 ; | |
9423 | char *kwnames[] = { | |
3004cfd8 | 9424 | (char *) "self",(char *) "wrapVisualFlagsLocation", NULL |
cfe5e918 RD |
9425 | }; |
9426 | ||
3004cfd8 RD |
9427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail; |
9428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9430 | { | |
9431 | arg2 = (int)(SWIG_As_int(obj1)); | |
9432 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9433 | } | |
cfe5e918 RD |
9434 | { |
9435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9436 | (arg1)->SetWrapVisualFlagsLocation(arg2); |
cfe5e918 RD |
9437 | |
9438 | wxPyEndAllowThreads(__tstate); | |
9439 | if (PyErr_Occurred()) SWIG_fail; | |
9440 | } | |
9441 | Py_INCREF(Py_None); resultobj = Py_None; | |
9442 | return resultobj; | |
9443 | fail: | |
9444 | return NULL; | |
9445 | } | |
9446 | ||
9447 | ||
3004cfd8 | 9448 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9449 | PyObject *resultobj; |
9450 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9451 | int result; |
cfe5e918 RD |
9452 | PyObject * obj0 = 0 ; |
9453 | char *kwnames[] = { | |
9454 | (char *) "self", NULL | |
9455 | }; | |
9456 | ||
3004cfd8 RD |
9457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail; |
9458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9460 | { |
9461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9462 | result = (int)(arg1)->GetWrapVisualFlagsLocation(); |
cfe5e918 RD |
9463 | |
9464 | wxPyEndAllowThreads(__tstate); | |
9465 | if (PyErr_Occurred()) SWIG_fail; | |
9466 | } | |
3004cfd8 RD |
9467 | { |
9468 | resultobj = SWIG_From_int((int)(result)); | |
9469 | } | |
cfe5e918 RD |
9470 | return resultobj; |
9471 | fail: | |
9472 | return NULL; | |
9473 | } | |
9474 | ||
9475 | ||
3004cfd8 | 9476 | static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9477 | PyObject *resultobj; |
9478 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9479 | int arg2 ; |
cfe5e918 | 9480 | PyObject * obj0 = 0 ; |
3004cfd8 | 9481 | PyObject * obj1 = 0 ; |
cfe5e918 | 9482 | char *kwnames[] = { |
3004cfd8 | 9483 | (char *) "self",(char *) "indent", NULL |
cfe5e918 RD |
9484 | }; |
9485 | ||
3004cfd8 RD |
9486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail; |
9487 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9488 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9489 | { | |
9490 | arg2 = (int)(SWIG_As_int(obj1)); | |
9491 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9492 | } | |
cfe5e918 RD |
9493 | { |
9494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9495 | (arg1)->SetWrapStartIndent(arg2); |
cfe5e918 RD |
9496 | |
9497 | wxPyEndAllowThreads(__tstate); | |
9498 | if (PyErr_Occurred()) SWIG_fail; | |
9499 | } | |
9500 | Py_INCREF(Py_None); resultobj = Py_None; | |
9501 | return resultobj; | |
9502 | fail: | |
9503 | return NULL; | |
9504 | } | |
9505 | ||
9506 | ||
3004cfd8 | 9507 | static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9508 | PyObject *resultobj; |
9509 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9510 | int result; |
cfe5e918 | 9511 | PyObject * obj0 = 0 ; |
cfe5e918 | 9512 | char *kwnames[] = { |
3004cfd8 | 9513 | (char *) "self", NULL |
cfe5e918 RD |
9514 | }; |
9515 | ||
3004cfd8 RD |
9516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail; |
9517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9519 | { |
9520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9521 | result = (int)(arg1)->GetWrapStartIndent(); |
cfe5e918 RD |
9522 | |
9523 | wxPyEndAllowThreads(__tstate); | |
9524 | if (PyErr_Occurred()) SWIG_fail; | |
9525 | } | |
3004cfd8 RD |
9526 | { |
9527 | resultobj = SWIG_From_int((int)(result)); | |
9528 | } | |
cfe5e918 RD |
9529 | return resultobj; |
9530 | fail: | |
9531 | return NULL; | |
9532 | } | |
9533 | ||
9534 | ||
3004cfd8 | 9535 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9536 | PyObject *resultobj; |
9537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9538 | int arg2 ; |
cfe5e918 RD |
9539 | PyObject * obj0 = 0 ; |
9540 | PyObject * obj1 = 0 ; | |
cfe5e918 | 9541 | char *kwnames[] = { |
3004cfd8 | 9542 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
9543 | }; |
9544 | ||
3004cfd8 RD |
9545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; |
9546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 9548 | { |
3004cfd8 RD |
9549 | arg2 = (int)(SWIG_As_int(obj1)); |
9550 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9551 | } |
9552 | { | |
9553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9554 | (arg1)->SetLayoutCache(arg2); |
cfe5e918 RD |
9555 | |
9556 | wxPyEndAllowThreads(__tstate); | |
9557 | if (PyErr_Occurred()) SWIG_fail; | |
9558 | } | |
9559 | Py_INCREF(Py_None); resultobj = Py_None; | |
9560 | return resultobj; | |
9561 | fail: | |
9562 | return NULL; | |
9563 | } | |
9564 | ||
9565 | ||
3004cfd8 | 9566 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9567 | PyObject *resultobj; |
9568 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9569 | int result; |
cfe5e918 | 9570 | PyObject * obj0 = 0 ; |
cfe5e918 | 9571 | char *kwnames[] = { |
3004cfd8 | 9572 | (char *) "self", NULL |
cfe5e918 RD |
9573 | }; |
9574 | ||
3004cfd8 RD |
9575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; |
9576 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9577 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9578 | { |
9579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9580 | result = (int)(arg1)->GetLayoutCache(); |
cfe5e918 RD |
9581 | |
9582 | wxPyEndAllowThreads(__tstate); | |
9583 | if (PyErr_Occurred()) SWIG_fail; | |
9584 | } | |
3004cfd8 RD |
9585 | { |
9586 | resultobj = SWIG_From_int((int)(result)); | |
9587 | } | |
cfe5e918 RD |
9588 | return resultobj; |
9589 | fail: | |
9590 | return NULL; | |
9591 | } | |
9592 | ||
9593 | ||
3004cfd8 | 9594 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9595 | PyObject *resultobj; |
9596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9597 | int arg2 ; |
cfe5e918 | 9598 | PyObject * obj0 = 0 ; |
3004cfd8 | 9599 | PyObject * obj1 = 0 ; |
cfe5e918 | 9600 | char *kwnames[] = { |
3004cfd8 | 9601 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
9602 | }; |
9603 | ||
3004cfd8 RD |
9604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; |
9605 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9606 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9607 | { | |
9608 | arg2 = (int)(SWIG_As_int(obj1)); | |
9609 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9610 | } | |
cfe5e918 RD |
9611 | { |
9612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9613 | (arg1)->SetScrollWidth(arg2); |
cfe5e918 RD |
9614 | |
9615 | wxPyEndAllowThreads(__tstate); | |
9616 | if (PyErr_Occurred()) SWIG_fail; | |
9617 | } | |
9618 | Py_INCREF(Py_None); resultobj = Py_None; | |
9619 | return resultobj; | |
9620 | fail: | |
9621 | return NULL; | |
9622 | } | |
9623 | ||
9624 | ||
3004cfd8 | 9625 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9626 | PyObject *resultobj; |
9627 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9628 | int result; |
cfe5e918 RD |
9629 | PyObject * obj0 = 0 ; |
9630 | char *kwnames[] = { | |
9631 | (char *) "self", NULL | |
9632 | }; | |
9633 | ||
3004cfd8 RD |
9634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; |
9635 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9636 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9637 | { |
9638 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9639 | result = (int)(arg1)->GetScrollWidth(); |
cfe5e918 RD |
9640 | |
9641 | wxPyEndAllowThreads(__tstate); | |
9642 | if (PyErr_Occurred()) SWIG_fail; | |
9643 | } | |
3004cfd8 RD |
9644 | { |
9645 | resultobj = SWIG_From_int((int)(result)); | |
9646 | } | |
cfe5e918 RD |
9647 | return resultobj; |
9648 | fail: | |
9649 | return NULL; | |
9650 | } | |
9651 | ||
9652 | ||
3004cfd8 | 9653 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9654 | PyObject *resultobj; |
9655 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
9656 | int arg2 ; |
9657 | wxString *arg3 = 0 ; | |
9658 | int result; | |
9659 | bool temp3 = false ; | |
cfe5e918 | 9660 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
9661 | PyObject * obj1 = 0 ; |
9662 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9663 | char *kwnames[] = { |
3004cfd8 | 9664 | (char *) "self",(char *) "style",(char *) "text", NULL |
cfe5e918 RD |
9665 | }; |
9666 | ||
3004cfd8 RD |
9667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9668 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9669 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9670 | { | |
9671 | arg2 = (int)(SWIG_As_int(obj1)); | |
9672 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9673 | } | |
9674 | { | |
9675 | arg3 = wxString_in_helper(obj2); | |
9676 | if (arg3 == NULL) SWIG_fail; | |
9677 | temp3 = true; | |
9678 | } | |
cfe5e918 RD |
9679 | { |
9680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9681 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
9682 | |
9683 | wxPyEndAllowThreads(__tstate); | |
9684 | if (PyErr_Occurred()) SWIG_fail; | |
9685 | } | |
3004cfd8 RD |
9686 | { |
9687 | resultobj = SWIG_From_int((int)(result)); | |
9688 | } | |
9689 | { | |
9690 | if (temp3) | |
9691 | delete arg3; | |
9692 | } | |
cfe5e918 RD |
9693 | return resultobj; |
9694 | fail: | |
3004cfd8 RD |
9695 | { |
9696 | if (temp3) | |
9697 | delete arg3; | |
9698 | } | |
cfe5e918 RD |
9699 | return NULL; |
9700 | } | |
9701 | ||
9702 | ||
3004cfd8 | 9703 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9704 | PyObject *resultobj; |
9705 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9706 | bool arg2 ; |
cfe5e918 | 9707 | PyObject * obj0 = 0 ; |
3004cfd8 | 9708 | PyObject * obj1 = 0 ; |
cfe5e918 | 9709 | char *kwnames[] = { |
3004cfd8 | 9710 | (char *) "self",(char *) "endAtLastLine", NULL |
cfe5e918 RD |
9711 | }; |
9712 | ||
3004cfd8 RD |
9713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; |
9714 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9715 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9716 | { | |
9717 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9718 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9719 | } | |
cfe5e918 RD |
9720 | { |
9721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9722 | (arg1)->SetEndAtLastLine(arg2); |
cfe5e918 RD |
9723 | |
9724 | wxPyEndAllowThreads(__tstate); | |
9725 | if (PyErr_Occurred()) SWIG_fail; | |
9726 | } | |
9727 | Py_INCREF(Py_None); resultobj = Py_None; | |
9728 | return resultobj; | |
9729 | fail: | |
9730 | return NULL; | |
9731 | } | |
9732 | ||
9733 | ||
3004cfd8 | 9734 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9735 | PyObject *resultobj; |
9736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9737 | int result; |
cfe5e918 RD |
9738 | PyObject * obj0 = 0 ; |
9739 | char *kwnames[] = { | |
9740 | (char *) "self", NULL | |
9741 | }; | |
9742 | ||
3004cfd8 RD |
9743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; |
9744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9746 | { |
9747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9748 | result = (int)(arg1)->GetEndAtLastLine(); |
cfe5e918 RD |
9749 | |
9750 | wxPyEndAllowThreads(__tstate); | |
9751 | if (PyErr_Occurred()) SWIG_fail; | |
9752 | } | |
3004cfd8 RD |
9753 | { |
9754 | resultobj = SWIG_From_int((int)(result)); | |
9755 | } | |
cfe5e918 RD |
9756 | return resultobj; |
9757 | fail: | |
9758 | return NULL; | |
9759 | } | |
9760 | ||
9761 | ||
3004cfd8 | 9762 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9763 | PyObject *resultobj; |
9764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
9765 | int arg2 ; |
9766 | int result; | |
cfe5e918 | 9767 | PyObject * obj0 = 0 ; |
3004cfd8 | 9768 | PyObject * obj1 = 0 ; |
cfe5e918 | 9769 | char *kwnames[] = { |
3004cfd8 | 9770 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
9771 | }; |
9772 | ||
3004cfd8 RD |
9773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; |
9774 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9775 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9776 | { | |
9777 | arg2 = (int)(SWIG_As_int(obj1)); | |
9778 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9779 | } | |
cfe5e918 RD |
9780 | { |
9781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9782 | result = (int)(arg1)->TextHeight(arg2); |
cfe5e918 RD |
9783 | |
9784 | wxPyEndAllowThreads(__tstate); | |
9785 | if (PyErr_Occurred()) SWIG_fail; | |
9786 | } | |
3004cfd8 RD |
9787 | { |
9788 | resultobj = SWIG_From_int((int)(result)); | |
9789 | } | |
cfe5e918 RD |
9790 | return resultobj; |
9791 | fail: | |
9792 | return NULL; | |
9793 | } | |
9794 | ||
9795 | ||
3004cfd8 | 9796 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9797 | PyObject *resultobj; |
9798 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9799 | bool arg2 ; |
cfe5e918 | 9800 | PyObject * obj0 = 0 ; |
3004cfd8 | 9801 | PyObject * obj1 = 0 ; |
cfe5e918 | 9802 | char *kwnames[] = { |
3004cfd8 | 9803 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
9804 | }; |
9805 | ||
3004cfd8 RD |
9806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; |
9807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9809 | { | |
9810 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9811 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9812 | } | |
cfe5e918 RD |
9813 | { |
9814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9815 | (arg1)->SetUseVerticalScrollBar(arg2); |
cfe5e918 RD |
9816 | |
9817 | wxPyEndAllowThreads(__tstate); | |
9818 | if (PyErr_Occurred()) SWIG_fail; | |
9819 | } | |
9820 | Py_INCREF(Py_None); resultobj = Py_None; | |
9821 | return resultobj; | |
9822 | fail: | |
9823 | return NULL; | |
9824 | } | |
9825 | ||
9826 | ||
3004cfd8 | 9827 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9828 | PyObject *resultobj; |
9829 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9830 | bool result; |
cfe5e918 RD |
9831 | PyObject * obj0 = 0 ; |
9832 | char *kwnames[] = { | |
9833 | (char *) "self", NULL | |
9834 | }; | |
9835 | ||
3004cfd8 RD |
9836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; |
9837 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9838 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9839 | { |
9840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9841 | result = (bool)(arg1)->GetUseVerticalScrollBar(); |
cfe5e918 RD |
9842 | |
9843 | wxPyEndAllowThreads(__tstate); | |
9844 | if (PyErr_Occurred()) SWIG_fail; | |
9845 | } | |
3004cfd8 RD |
9846 | { |
9847 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9848 | } | |
cfe5e918 RD |
9849 | return resultobj; |
9850 | fail: | |
9851 | return NULL; | |
9852 | } | |
9853 | ||
9854 | ||
3004cfd8 | 9855 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9856 | PyObject *resultobj; |
9857 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
02b455f2 RD |
9858 | wxString *arg2 = 0 ; |
9859 | bool temp2 = false ; | |
cfe5e918 | 9860 | PyObject * obj0 = 0 ; |
3004cfd8 | 9861 | PyObject * obj1 = 0 ; |
cfe5e918 | 9862 | char *kwnames[] = { |
02b455f2 | 9863 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
9864 | }; |
9865 | ||
02b455f2 | 9866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail; |
3004cfd8 RD |
9867 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); |
9868 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9869 | { | |
02b455f2 RD |
9870 | arg2 = wxString_in_helper(obj1); |
9871 | if (arg2 == NULL) SWIG_fail; | |
9872 | temp2 = true; | |
3004cfd8 | 9873 | } |
cfe5e918 RD |
9874 | { |
9875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
02b455f2 | 9876 | (arg1)->AppendText((wxString const &)*arg2); |
cfe5e918 RD |
9877 | |
9878 | wxPyEndAllowThreads(__tstate); | |
9879 | if (PyErr_Occurred()) SWIG_fail; | |
9880 | } | |
9881 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 | 9882 | { |
02b455f2 RD |
9883 | if (temp2) |
9884 | delete arg2; | |
3004cfd8 | 9885 | } |
cfe5e918 RD |
9886 | return resultobj; |
9887 | fail: | |
3004cfd8 | 9888 | { |
02b455f2 RD |
9889 | if (temp2) |
9890 | delete arg2; | |
3004cfd8 | 9891 | } |
cfe5e918 RD |
9892 | return NULL; |
9893 | } | |
9894 | ||
9895 | ||
3004cfd8 | 9896 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9897 | PyObject *resultobj; |
9898 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9899 | bool result; |
cfe5e918 RD |
9900 | PyObject * obj0 = 0 ; |
9901 | char *kwnames[] = { | |
9902 | (char *) "self", NULL | |
9903 | }; | |
9904 | ||
3004cfd8 RD |
9905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; |
9906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9908 | { |
9909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9910 | result = (bool)(arg1)->GetTwoPhaseDraw(); |
cfe5e918 RD |
9911 | |
9912 | wxPyEndAllowThreads(__tstate); | |
9913 | if (PyErr_Occurred()) SWIG_fail; | |
9914 | } | |
3004cfd8 RD |
9915 | { |
9916 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9917 | } | |
cfe5e918 RD |
9918 | return resultobj; |
9919 | fail: | |
9920 | return NULL; | |
9921 | } | |
9922 | ||
9923 | ||
3004cfd8 | 9924 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9925 | PyObject *resultobj; |
9926 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9927 | bool arg2 ; |
cfe5e918 | 9928 | PyObject * obj0 = 0 ; |
3004cfd8 | 9929 | PyObject * obj1 = 0 ; |
cfe5e918 | 9930 | char *kwnames[] = { |
3004cfd8 | 9931 | (char *) "self",(char *) "twoPhase", NULL |
cfe5e918 RD |
9932 | }; |
9933 | ||
3004cfd8 RD |
9934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; |
9935 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9936 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9937 | { | |
9938 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9939 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9940 | } | |
cfe5e918 RD |
9941 | { |
9942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9943 | (arg1)->SetTwoPhaseDraw(arg2); |
cfe5e918 RD |
9944 | |
9945 | wxPyEndAllowThreads(__tstate); | |
9946 | if (PyErr_Occurred()) SWIG_fail; | |
9947 | } | |
9948 | Py_INCREF(Py_None); resultobj = Py_None; | |
9949 | return resultobj; | |
9950 | fail: | |
9951 | return NULL; | |
9952 | } | |
9953 | ||
9954 | ||
3004cfd8 | 9955 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9956 | PyObject *resultobj; |
9957 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9958 | PyObject * obj0 = 0 ; | |
9959 | char *kwnames[] = { | |
9960 | (char *) "self", NULL | |
9961 | }; | |
9962 | ||
3004cfd8 RD |
9963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; |
9964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9966 | { |
9967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9968 | (arg1)->TargetFromSelection(); |
cfe5e918 RD |
9969 | |
9970 | wxPyEndAllowThreads(__tstate); | |
9971 | if (PyErr_Occurred()) SWIG_fail; | |
9972 | } | |
9973 | Py_INCREF(Py_None); resultobj = Py_None; | |
9974 | return resultobj; | |
9975 | fail: | |
9976 | return NULL; | |
9977 | } | |
9978 | ||
9979 | ||
3004cfd8 | 9980 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9981 | PyObject *resultobj; |
9982 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9983 | PyObject * obj0 = 0 ; | |
9984 | char *kwnames[] = { | |
9985 | (char *) "self", NULL | |
9986 | }; | |
9987 | ||
3004cfd8 RD |
9988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; |
9989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9990 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9991 | { |
9992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9993 | (arg1)->LinesJoin(); |
cfe5e918 RD |
9994 | |
9995 | wxPyEndAllowThreads(__tstate); | |
9996 | if (PyErr_Occurred()) SWIG_fail; | |
9997 | } | |
9998 | Py_INCREF(Py_None); resultobj = Py_None; | |
9999 | return resultobj; | |
10000 | fail: | |
10001 | return NULL; | |
10002 | } | |
10003 | ||
10004 | ||
3004cfd8 | 10005 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10006 | PyObject *resultobj; |
10007 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 10008 | int arg2 ; |
cfe5e918 | 10009 | PyObject * obj0 = 0 ; |
3004cfd8 | 10010 | PyObject * obj1 = 0 ; |
cfe5e918 | 10011 | char *kwnames[] = { |
3004cfd8 | 10012 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
10013 | }; |
10014 | ||
3004cfd8 RD |
10015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; |
10016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10018 | { | |
10019 | arg2 = (int)(SWIG_As_int(obj1)); | |
10020 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10021 | } | |
cfe5e918 RD |
10022 | { |
10023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10024 | (arg1)->LinesSplit(arg2); |
cfe5e918 RD |
10025 | |
10026 | wxPyEndAllowThreads(__tstate); | |
10027 | if (PyErr_Occurred()) SWIG_fail; | |
10028 | } | |
10029 | Py_INCREF(Py_None); resultobj = Py_None; | |
10030 | return resultobj; | |
10031 | fail: | |
10032 | return NULL; | |
10033 | } | |
10034 | ||
10035 | ||
3004cfd8 | 10036 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10037 | PyObject *resultobj; |
10038 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
10039 | bool arg2 ; |
10040 | wxColour *arg3 = 0 ; | |
10041 | wxColour temp3 ; | |
cfe5e918 | 10042 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
10043 | PyObject * obj1 = 0 ; |
10044 | PyObject * obj2 = 0 ; | |
cfe5e918 | 10045 | char *kwnames[] = { |
3004cfd8 | 10046 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
10047 | }; |
10048 | ||
3004cfd8 RD |
10049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
10050 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10051 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10052 | { | |
10053 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
10054 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10055 | } | |
10056 | { | |
10057 | arg3 = &temp3; | |
10058 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10059 | } | |
cfe5e918 RD |
10060 | { |
10061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10062 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
10063 | |
10064 | wxPyEndAllowThreads(__tstate); | |
10065 | if (PyErr_Occurred()) SWIG_fail; | |
10066 | } | |
10067 | Py_INCREF(Py_None); resultobj = Py_None; | |
10068 | return resultobj; | |
10069 | fail: | |
10070 | return NULL; | |
10071 | } | |
10072 | ||
10073 | ||
3004cfd8 | 10074 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10075 | PyObject *resultobj; |
10076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
10077 | bool arg2 ; |
10078 | wxColour *arg3 = 0 ; | |
10079 | wxColour temp3 ; | |
cfe5e918 | 10080 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
10081 | PyObject * obj1 = 0 ; |
10082 | PyObject * obj2 = 0 ; | |
cfe5e918 | 10083 | char *kwnames[] = { |
3004cfd8 | 10084 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
10085 | }; |
10086 | ||
3004cfd8 RD |
10087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
10088 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10089 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10090 | { | |
10091 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
10092 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10093 | } | |
10094 | { | |
10095 | arg3 = &temp3; | |
10096 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10097 | } | |
cfe5e918 RD |
10098 | { |
10099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10100 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
10101 | |
10102 | wxPyEndAllowThreads(__tstate); | |
10103 | if (PyErr_Occurred()) SWIG_fail; | |
10104 | } | |
10105 | Py_INCREF(Py_None); resultobj = Py_None; | |
10106 | return resultobj; | |
10107 | fail: | |
10108 | return NULL; | |
10109 | } | |
10110 | ||
10111 | ||
3004cfd8 | 10112 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10113 | PyObject *resultobj; |
10114 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10115 | PyObject * obj0 = 0 ; | |
10116 | char *kwnames[] = { | |
10117 | (char *) "self", NULL | |
10118 | }; | |
10119 | ||
3004cfd8 RD |
10120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; |
10121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10123 | { |
10124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10125 | (arg1)->LineDown(); |
cfe5e918 RD |
10126 | |
10127 | wxPyEndAllowThreads(__tstate); | |
10128 | if (PyErr_Occurred()) SWIG_fail; | |
10129 | } | |
10130 | Py_INCREF(Py_None); resultobj = Py_None; | |
10131 | return resultobj; | |
10132 | fail: | |
10133 | return NULL; | |
10134 | } | |
10135 | ||
10136 | ||
3004cfd8 | 10137 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10138 | PyObject *resultobj; |
10139 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10140 | PyObject * obj0 = 0 ; | |
10141 | char *kwnames[] = { | |
10142 | (char *) "self", NULL | |
10143 | }; | |
10144 | ||
3004cfd8 RD |
10145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; |
10146 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10147 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10148 | { |
10149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10150 | (arg1)->LineDownExtend(); |
cfe5e918 RD |
10151 | |
10152 | wxPyEndAllowThreads(__tstate); | |
10153 | if (PyErr_Occurred()) SWIG_fail; | |
10154 | } | |
10155 | Py_INCREF(Py_None); resultobj = Py_None; | |
10156 | return resultobj; | |
10157 | fail: | |
10158 | return NULL; | |
10159 | } | |
10160 | ||
10161 | ||
3004cfd8 | 10162 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10163 | PyObject *resultobj; |
10164 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10165 | PyObject * obj0 = 0 ; | |
10166 | char *kwnames[] = { | |
10167 | (char *) "self", NULL | |
10168 | }; | |
10169 | ||
3004cfd8 RD |
10170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; |
10171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10173 | { |
10174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10175 | (arg1)->LineUp(); |
cfe5e918 RD |
10176 | |
10177 | wxPyEndAllowThreads(__tstate); | |
10178 | if (PyErr_Occurred()) SWIG_fail; | |
10179 | } | |
10180 | Py_INCREF(Py_None); resultobj = Py_None; | |
10181 | return resultobj; | |
10182 | fail: | |
10183 | return NULL; | |
10184 | } | |
10185 | ||
10186 | ||
3004cfd8 | 10187 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10188 | PyObject *resultobj; |
10189 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10190 | PyObject * obj0 = 0 ; | |
10191 | char *kwnames[] = { | |
10192 | (char *) "self", NULL | |
10193 | }; | |
10194 | ||
3004cfd8 RD |
10195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; |
10196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10198 | { |
10199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10200 | (arg1)->LineUpExtend(); |
cfe5e918 RD |
10201 | |
10202 | wxPyEndAllowThreads(__tstate); | |
10203 | if (PyErr_Occurred()) SWIG_fail; | |
10204 | } | |
10205 | Py_INCREF(Py_None); resultobj = Py_None; | |
10206 | return resultobj; | |
10207 | fail: | |
10208 | return NULL; | |
10209 | } | |
10210 | ||
10211 | ||
3004cfd8 | 10212 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10213 | PyObject *resultobj; |
10214 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10215 | PyObject * obj0 = 0 ; | |
10216 | char *kwnames[] = { | |
10217 | (char *) "self", NULL | |
10218 | }; | |
10219 | ||
3004cfd8 RD |
10220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; |
10221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10223 | { |
10224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10225 | (arg1)->CharLeft(); |
cfe5e918 RD |
10226 | |
10227 | wxPyEndAllowThreads(__tstate); | |
10228 | if (PyErr_Occurred()) SWIG_fail; | |
10229 | } | |
10230 | Py_INCREF(Py_None); resultobj = Py_None; | |
10231 | return resultobj; | |
10232 | fail: | |
10233 | return NULL; | |
10234 | } | |
10235 | ||
10236 | ||
3004cfd8 | 10237 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10238 | PyObject *resultobj; |
10239 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10240 | PyObject * obj0 = 0 ; | |
10241 | char *kwnames[] = { | |
10242 | (char *) "self", NULL | |
10243 | }; | |
10244 | ||
3004cfd8 RD |
10245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; |
10246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10248 | { |
10249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10250 | (arg1)->CharLeftExtend(); |
cfe5e918 RD |
10251 | |
10252 | wxPyEndAllowThreads(__tstate); | |
10253 | if (PyErr_Occurred()) SWIG_fail; | |
10254 | } | |
10255 | Py_INCREF(Py_None); resultobj = Py_None; | |
10256 | return resultobj; | |
10257 | fail: | |
10258 | return NULL; | |
10259 | } | |
10260 | ||
10261 | ||
3004cfd8 | 10262 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10263 | PyObject *resultobj; |
10264 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10265 | PyObject * obj0 = 0 ; | |
10266 | char *kwnames[] = { | |
10267 | (char *) "self", NULL | |
10268 | }; | |
10269 | ||
3004cfd8 RD |
10270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; |
10271 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10272 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10273 | { |
10274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10275 | (arg1)->CharRight(); |
cfe5e918 RD |
10276 | |
10277 | wxPyEndAllowThreads(__tstate); | |
10278 | if (PyErr_Occurred()) SWIG_fail; | |
10279 | } | |
10280 | Py_INCREF(Py_None); resultobj = Py_None; | |
10281 | return resultobj; | |
10282 | fail: | |
10283 | return NULL; | |
10284 | } | |
10285 | ||
10286 | ||
3004cfd8 | 10287 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10288 | PyObject *resultobj; |
10289 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10290 | PyObject * obj0 = 0 ; | |
10291 | char *kwnames[] = { | |
10292 | (char *) "self", NULL | |
10293 | }; | |
10294 | ||
3004cfd8 RD |
10295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; |
10296 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10297 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10298 | { |
10299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10300 | (arg1)->CharRightExtend(); |
cfe5e918 RD |
10301 | |
10302 | wxPyEndAllowThreads(__tstate); | |
10303 | if (PyErr_Occurred()) SWIG_fail; | |
10304 | } | |
10305 | Py_INCREF(Py_None); resultobj = Py_None; | |
10306 | return resultobj; | |
10307 | fail: | |
10308 | return NULL; | |
10309 | } | |
10310 | ||
10311 | ||
3004cfd8 | 10312 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10313 | PyObject *resultobj; |
10314 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10315 | PyObject * obj0 = 0 ; | |
10316 | char *kwnames[] = { | |
10317 | (char *) "self", NULL | |
10318 | }; | |
10319 | ||
3004cfd8 RD |
10320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; |
10321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10323 | { |
10324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10325 | (arg1)->WordLeft(); |
cfe5e918 RD |
10326 | |
10327 | wxPyEndAllowThreads(__tstate); | |
10328 | if (PyErr_Occurred()) SWIG_fail; | |
10329 | } | |
10330 | Py_INCREF(Py_None); resultobj = Py_None; | |
10331 | return resultobj; | |
10332 | fail: | |
10333 | return NULL; | |
10334 | } | |
10335 | ||
10336 | ||
3004cfd8 | 10337 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10338 | PyObject *resultobj; |
10339 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10340 | PyObject * obj0 = 0 ; | |
10341 | char *kwnames[] = { | |
10342 | (char *) "self", NULL | |
10343 | }; | |
10344 | ||
3004cfd8 RD |
10345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; |
10346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10348 | { |
10349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10350 | (arg1)->WordLeftExtend(); |
cfe5e918 RD |
10351 | |
10352 | wxPyEndAllowThreads(__tstate); | |
10353 | if (PyErr_Occurred()) SWIG_fail; | |
10354 | } | |
10355 | Py_INCREF(Py_None); resultobj = Py_None; | |
10356 | return resultobj; | |
10357 | fail: | |
10358 | return NULL; | |
10359 | } | |
10360 | ||
10361 | ||
3004cfd8 | 10362 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10363 | PyObject *resultobj; |
10364 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10365 | PyObject * obj0 = 0 ; | |
10366 | char *kwnames[] = { | |
10367 | (char *) "self", NULL | |
10368 | }; | |
10369 | ||
3004cfd8 RD |
10370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; |
10371 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10372 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10373 | { |
10374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10375 | (arg1)->WordRight(); |
cfe5e918 RD |
10376 | |
10377 | wxPyEndAllowThreads(__tstate); | |
10378 | if (PyErr_Occurred()) SWIG_fail; | |
10379 | } | |
10380 | Py_INCREF(Py_None); resultobj = Py_None; | |
10381 | return resultobj; | |
10382 | fail: | |
10383 | return NULL; | |
10384 | } | |
10385 | ||
10386 | ||
3004cfd8 | 10387 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10388 | PyObject *resultobj; |
10389 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10390 | PyObject * obj0 = 0 ; | |
10391 | char *kwnames[] = { | |
10392 | (char *) "self", NULL | |
10393 | }; | |
10394 | ||
3004cfd8 RD |
10395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; |
10396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10398 | { |
10399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10400 | (arg1)->WordRightExtend(); |
cfe5e918 RD |
10401 | |
10402 | wxPyEndAllowThreads(__tstate); | |
10403 | if (PyErr_Occurred()) SWIG_fail; | |
10404 | } | |
10405 | Py_INCREF(Py_None); resultobj = Py_None; | |
10406 | return resultobj; | |
10407 | fail: | |
10408 | return NULL; | |
10409 | } | |
10410 | ||
10411 | ||
3004cfd8 | 10412 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10413 | PyObject *resultobj; |
10414 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10415 | PyObject * obj0 = 0 ; | |
10416 | char *kwnames[] = { | |
10417 | (char *) "self", NULL | |
10418 | }; | |
10419 | ||
3004cfd8 RD |
10420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; |
10421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10423 | { |
10424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10425 | (arg1)->Home(); |
cfe5e918 RD |
10426 | |
10427 | wxPyEndAllowThreads(__tstate); | |
10428 | if (PyErr_Occurred()) SWIG_fail; | |
10429 | } | |
10430 | Py_INCREF(Py_None); resultobj = Py_None; | |
10431 | return resultobj; | |
10432 | fail: | |
10433 | return NULL; | |
10434 | } | |
10435 | ||
10436 | ||
3004cfd8 | 10437 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10438 | PyObject *resultobj; |
10439 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10440 | PyObject * obj0 = 0 ; | |
10441 | char *kwnames[] = { | |
10442 | (char *) "self", NULL | |
10443 | }; | |
10444 | ||
3004cfd8 RD |
10445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; |
10446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10448 | { |
10449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10450 | (arg1)->HomeExtend(); |
cfe5e918 RD |
10451 | |
10452 | wxPyEndAllowThreads(__tstate); | |
10453 | if (PyErr_Occurred()) SWIG_fail; | |
10454 | } | |
10455 | Py_INCREF(Py_None); resultobj = Py_None; | |
10456 | return resultobj; | |
10457 | fail: | |
10458 | return NULL; | |
10459 | } | |
10460 | ||
10461 | ||
3004cfd8 | 10462 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10463 | PyObject *resultobj; |
10464 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10465 | PyObject * obj0 = 0 ; | |
10466 | char *kwnames[] = { | |
10467 | (char *) "self", NULL | |
10468 | }; | |
10469 | ||
3004cfd8 RD |
10470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; |
10471 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10472 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10473 | { |
10474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10475 | (arg1)->LineEnd(); |
cfe5e918 RD |
10476 | |
10477 | wxPyEndAllowThreads(__tstate); | |
10478 | if (PyErr_Occurred()) SWIG_fail; | |
10479 | } | |
10480 | Py_INCREF(Py_None); resultobj = Py_None; | |
10481 | return resultobj; | |
10482 | fail: | |
10483 | return NULL; | |
10484 | } | |
10485 | ||
10486 | ||
3004cfd8 | 10487 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10488 | PyObject *resultobj; |
10489 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10490 | PyObject * obj0 = 0 ; | |
10491 | char *kwnames[] = { | |
10492 | (char *) "self", NULL | |
10493 | }; | |
10494 | ||
3004cfd8 RD |
10495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; |
10496 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10497 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10498 | { |
10499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10500 | (arg1)->LineEndExtend(); |
cfe5e918 RD |
10501 | |
10502 | wxPyEndAllowThreads(__tstate); | |
10503 | if (PyErr_Occurred()) SWIG_fail; | |
10504 | } | |
10505 | Py_INCREF(Py_None); resultobj = Py_None; | |
10506 | return resultobj; | |
10507 | fail: | |
10508 | return NULL; | |
10509 | } | |
10510 | ||
10511 | ||
3004cfd8 | 10512 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10513 | PyObject *resultobj; |
10514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10515 | PyObject * obj0 = 0 ; | |
10516 | char *kwnames[] = { | |
10517 | (char *) "self", NULL | |
10518 | }; | |
10519 | ||
3004cfd8 RD |
10520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; |
10521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10523 | { |
10524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10525 | (arg1)->DocumentStart(); |
cfe5e918 RD |
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 | ||
3004cfd8 | 10537 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10538 | PyObject *resultobj; |
10539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10540 | PyObject * obj0 = 0 ; | |
10541 | char *kwnames[] = { | |
10542 | (char *) "self", NULL | |
10543 | }; | |
10544 | ||
3004cfd8 RD |
10545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; |
10546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10548 | { |
10549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10550 | (arg1)->DocumentStartExtend(); |
cfe5e918 RD |
10551 | |
10552 | wxPyEndAllowThreads(__tstate); | |
10553 | if (PyErr_Occurred()) SWIG_fail; | |
10554 | } | |
10555 | Py_INCREF(Py_None); resultobj = Py_None; | |
10556 | return resultobj; | |
10557 | fail: | |
10558 | return NULL; | |
10559 | } | |
10560 | ||
10561 | ||
3004cfd8 | 10562 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10563 | PyObject *resultobj; |
10564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10565 | PyObject * obj0 = 0 ; | |
10566 | char *kwnames[] = { | |
10567 | (char *) "self", NULL | |
10568 | }; | |
10569 | ||
3004cfd8 RD |
10570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; |
10571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10573 | { |
10574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10575 | (arg1)->DocumentEnd(); |
cfe5e918 RD |
10576 | |
10577 | wxPyEndAllowThreads(__tstate); | |
10578 | if (PyErr_Occurred()) SWIG_fail; | |
10579 | } | |
10580 | Py_INCREF(Py_None); resultobj = Py_None; | |
10581 | return resultobj; | |
10582 | fail: | |
10583 | return NULL; | |
10584 | } | |
10585 | ||
10586 | ||
3004cfd8 | 10587 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10588 | PyObject *resultobj; |
10589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10590 | PyObject * obj0 = 0 ; | |
10591 | char *kwnames[] = { | |
10592 | (char *) "self", NULL | |
10593 | }; | |
10594 | ||
3004cfd8 RD |
10595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; |
10596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10598 | { |
10599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10600 | (arg1)->DocumentEndExtend(); |
cfe5e918 RD |
10601 | |
10602 | wxPyEndAllowThreads(__tstate); | |
10603 | if (PyErr_Occurred()) SWIG_fail; | |
10604 | } | |
10605 | Py_INCREF(Py_None); resultobj = Py_None; | |
10606 | return resultobj; | |
10607 | fail: | |
10608 | return NULL; | |
10609 | } | |
10610 | ||
10611 | ||
3004cfd8 | 10612 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10613 | PyObject *resultobj; |
10614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10615 | PyObject * obj0 = 0 ; | |
10616 | char *kwnames[] = { | |
10617 | (char *) "self", NULL | |
10618 | }; | |
10619 | ||
3004cfd8 RD |
10620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; |
10621 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10622 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10623 | { |
10624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10625 | (arg1)->PageUp(); |
cfe5e918 RD |
10626 | |
10627 | wxPyEndAllowThreads(__tstate); | |
10628 | if (PyErr_Occurred()) SWIG_fail; | |
10629 | } | |
10630 | Py_INCREF(Py_None); resultobj = Py_None; | |
10631 | return resultobj; | |
10632 | fail: | |
10633 | return NULL; | |
10634 | } | |
10635 | ||
10636 | ||
3004cfd8 | 10637 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10638 | PyObject *resultobj; |
10639 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10640 | PyObject * obj0 = 0 ; | |
10641 | char *kwnames[] = { | |
10642 | (char *) "self", NULL | |
10643 | }; | |
10644 | ||
3004cfd8 RD |
10645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; |
10646 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10647 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10648 | { |
10649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10650 | (arg1)->PageUpExtend(); |
cfe5e918 RD |
10651 | |
10652 | wxPyEndAllowThreads(__tstate); | |
10653 | if (PyErr_Occurred()) SWIG_fail; | |
10654 | } | |
10655 | Py_INCREF(Py_None); resultobj = Py_None; | |
10656 | return resultobj; | |
10657 | fail: | |
10658 | return NULL; | |
10659 | } | |
10660 | ||
10661 | ||
3004cfd8 | 10662 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10663 | PyObject *resultobj; |
10664 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10665 | PyObject * obj0 = 0 ; | |
10666 | char *kwnames[] = { | |
10667 | (char *) "self", NULL | |
10668 | }; | |
10669 | ||
3004cfd8 RD |
10670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; |
10671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10673 | { |
10674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10675 | (arg1)->PageDown(); |
cfe5e918 RD |
10676 | |
10677 | wxPyEndAllowThreads(__tstate); | |
10678 | if (PyErr_Occurred()) SWIG_fail; | |
10679 | } | |
10680 | Py_INCREF(Py_None); resultobj = Py_None; | |
10681 | return resultobj; | |
10682 | fail: | |
10683 | return NULL; | |
10684 | } | |
10685 | ||
10686 | ||
3004cfd8 | 10687 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10688 | PyObject *resultobj; |
10689 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10690 | PyObject * obj0 = 0 ; | |
10691 | char *kwnames[] = { | |
10692 | (char *) "self", NULL | |
10693 | }; | |
10694 | ||
3004cfd8 RD |
10695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; |
10696 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10697 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10698 | { |
10699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10700 | (arg1)->PageDownExtend(); |
cfe5e918 RD |
10701 | |
10702 | wxPyEndAllowThreads(__tstate); | |
10703 | if (PyErr_Occurred()) SWIG_fail; | |
10704 | } | |
10705 | Py_INCREF(Py_None); resultobj = Py_None; | |
10706 | return resultobj; | |
10707 | fail: | |
10708 | return NULL; | |
10709 | } | |
10710 | ||
10711 | ||
3004cfd8 | 10712 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10713 | PyObject *resultobj; |
10714 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10715 | PyObject * obj0 = 0 ; | |
10716 | char *kwnames[] = { | |
10717 | (char *) "self", NULL | |
10718 | }; | |
10719 | ||
3004cfd8 RD |
10720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; |
10721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10723 | { |
10724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10725 | (arg1)->EditToggleOvertype(); |
cfe5e918 RD |
10726 | |
10727 | wxPyEndAllowThreads(__tstate); | |
10728 | if (PyErr_Occurred()) SWIG_fail; | |
10729 | } | |
10730 | Py_INCREF(Py_None); resultobj = Py_None; | |
10731 | return resultobj; | |
10732 | fail: | |
10733 | return NULL; | |
10734 | } | |
10735 | ||
10736 | ||
3004cfd8 | 10737 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10738 | PyObject *resultobj; |
10739 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10740 | PyObject * obj0 = 0 ; | |
10741 | char *kwnames[] = { | |
10742 | (char *) "self", NULL | |
10743 | }; | |
10744 | ||
3004cfd8 RD |
10745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; |
10746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10748 | { |
10749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10750 | (arg1)->Cancel(); |
cfe5e918 RD |
10751 | |
10752 | wxPyEndAllowThreads(__tstate); | |
10753 | if (PyErr_Occurred()) SWIG_fail; | |
10754 | } | |
10755 | Py_INCREF(Py_None); resultobj = Py_None; | |
10756 | return resultobj; | |
10757 | fail: | |
10758 | return NULL; | |
10759 | } | |
10760 | ||
10761 | ||
3004cfd8 | 10762 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10763 | PyObject *resultobj; |
10764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10765 | PyObject * obj0 = 0 ; | |
10766 | char *kwnames[] = { | |
10767 | (char *) "self", NULL | |
10768 | }; | |
10769 | ||
3004cfd8 RD |
10770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; |
10771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10773 | { |
10774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10775 | (arg1)->DeleteBack(); |
cfe5e918 RD |
10776 | |
10777 | wxPyEndAllowThreads(__tstate); | |
10778 | if (PyErr_Occurred()) SWIG_fail; | |
10779 | } | |
10780 | Py_INCREF(Py_None); resultobj = Py_None; | |
10781 | return resultobj; | |
10782 | fail: | |
10783 | return NULL; | |
10784 | } | |
10785 | ||
10786 | ||
3004cfd8 | 10787 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10788 | PyObject *resultobj; |
10789 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10790 | PyObject * obj0 = 0 ; | |
10791 | char *kwnames[] = { | |
10792 | (char *) "self", NULL | |
10793 | }; | |
10794 | ||
3004cfd8 RD |
10795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; |
10796 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10797 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10798 | { |
10799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10800 | (arg1)->Tab(); |
cfe5e918 RD |
10801 | |
10802 | wxPyEndAllowThreads(__tstate); | |
10803 | if (PyErr_Occurred()) SWIG_fail; | |
10804 | } | |
10805 | Py_INCREF(Py_None); resultobj = Py_None; | |
10806 | return resultobj; | |
10807 | fail: | |
10808 | return NULL; | |
10809 | } | |
10810 | ||
10811 | ||
3004cfd8 | 10812 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10813 | PyObject *resultobj; |
10814 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10815 | PyObject * obj0 = 0 ; | |
10816 | char *kwnames[] = { | |
10817 | (char *) "self", NULL | |
10818 | }; | |
10819 | ||
3004cfd8 RD |
10820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; |
10821 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10822 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10823 | { |
10824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10825 | (arg1)->BackTab(); |
cfe5e918 RD |
10826 | |
10827 | wxPyEndAllowThreads(__tstate); | |
10828 | if (PyErr_Occurred()) SWIG_fail; | |
10829 | } | |
10830 | Py_INCREF(Py_None); resultobj = Py_None; | |
10831 | return resultobj; | |
10832 | fail: | |
10833 | return NULL; | |
10834 | } | |
10835 | ||
10836 | ||
3004cfd8 | 10837 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10838 | PyObject *resultobj; |
10839 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10840 | PyObject * obj0 = 0 ; | |
10841 | char *kwnames[] = { | |
10842 | (char *) "self", NULL | |
10843 | }; | |
10844 | ||
3004cfd8 RD |
10845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; |
10846 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10848 | { |
10849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10850 | (arg1)->NewLine(); |
cfe5e918 RD |
10851 | |
10852 | wxPyEndAllowThreads(__tstate); | |
10853 | if (PyErr_Occurred()) SWIG_fail; | |
10854 | } | |
10855 | Py_INCREF(Py_None); resultobj = Py_None; | |
10856 | return resultobj; | |
10857 | fail: | |
10858 | return NULL; | |
10859 | } | |
10860 | ||
10861 | ||
3004cfd8 | 10862 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10863 | PyObject *resultobj; |
10864 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10865 | PyObject * obj0 = 0 ; | |
10866 | char *kwnames[] = { | |
10867 | (char *) "self", NULL | |
10868 | }; | |
10869 | ||
3004cfd8 RD |
10870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; |
10871 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10872 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10873 | { |
10874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10875 | (arg1)->FormFeed(); |
cfe5e918 RD |
10876 | |
10877 | wxPyEndAllowThreads(__tstate); | |
10878 | if (PyErr_Occurred()) SWIG_fail; | |
10879 | } | |
10880 | Py_INCREF(Py_None); resultobj = Py_None; | |
10881 | return resultobj; | |
10882 | fail: | |
10883 | return NULL; | |
10884 | } | |
10885 | ||
10886 | ||
3004cfd8 | 10887 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10888 | PyObject *resultobj; |
10889 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10890 | PyObject * obj0 = 0 ; | |
10891 | char *kwnames[] = { | |
10892 | (char *) "self", NULL | |
10893 | }; | |
10894 | ||
3004cfd8 RD |
10895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; |
10896 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10897 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10898 | { |
10899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10900 | (arg1)->VCHome(); |
cfe5e918 RD |
10901 | |
10902 | wxPyEndAllowThreads(__tstate); | |
10903 | if (PyErr_Occurred()) SWIG_fail; | |
10904 | } | |
10905 | Py_INCREF(Py_None); resultobj = Py_None; | |
10906 | return resultobj; | |
10907 | fail: | |
10908 | return NULL; | |
10909 | } | |
10910 | ||
10911 | ||
3004cfd8 | 10912 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10913 | PyObject *resultobj; |
10914 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10915 | PyObject * obj0 = 0 ; | |
10916 | char *kwnames[] = { | |
10917 | (char *) "self", NULL | |
10918 | }; | |
10919 | ||
3004cfd8 RD |
10920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; |
10921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10923 | { |
10924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10925 | (arg1)->VCHomeExtend(); |
cfe5e918 RD |
10926 | |
10927 | wxPyEndAllowThreads(__tstate); | |
10928 | if (PyErr_Occurred()) SWIG_fail; | |
10929 | } | |
10930 | Py_INCREF(Py_None); resultobj = Py_None; | |
10931 | return resultobj; | |
10932 | fail: | |
10933 | return NULL; | |
10934 | } | |
10935 | ||
10936 | ||
3004cfd8 | 10937 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10938 | PyObject *resultobj; |
10939 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10940 | PyObject * obj0 = 0 ; | |
10941 | char *kwnames[] = { | |
10942 | (char *) "self", NULL | |
10943 | }; | |
10944 | ||
3004cfd8 RD |
10945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; |
10946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10948 | { |
10949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10950 | (arg1)->ZoomIn(); |
cfe5e918 RD |
10951 | |
10952 | wxPyEndAllowThreads(__tstate); | |
10953 | if (PyErr_Occurred()) SWIG_fail; | |
10954 | } | |
10955 | Py_INCREF(Py_None); resultobj = Py_None; | |
10956 | return resultobj; | |
10957 | fail: | |
10958 | return NULL; | |
10959 | } | |
10960 | ||
10961 | ||
3004cfd8 | 10962 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10963 | PyObject *resultobj; |
10964 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10965 | PyObject * obj0 = 0 ; | |
10966 | char *kwnames[] = { | |
10967 | (char *) "self", NULL | |
10968 | }; | |
10969 | ||
3004cfd8 RD |
10970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; |
10971 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10972 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10973 | { |
10974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10975 | (arg1)->ZoomOut(); |
cfe5e918 RD |
10976 | |
10977 | wxPyEndAllowThreads(__tstate); | |
10978 | if (PyErr_Occurred()) SWIG_fail; | |
10979 | } | |
10980 | Py_INCREF(Py_None); resultobj = Py_None; | |
10981 | return resultobj; | |
10982 | fail: | |
10983 | return NULL; | |
10984 | } | |
10985 | ||
10986 | ||
3004cfd8 | 10987 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10988 | PyObject *resultobj; |
10989 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10990 | PyObject * obj0 = 0 ; | |
10991 | char *kwnames[] = { | |
10992 | (char *) "self", NULL | |
10993 | }; | |
10994 | ||
3004cfd8 RD |
10995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; |
10996 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10997 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10998 | { |
10999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11000 | (arg1)->DelWordLeft(); |
cfe5e918 RD |
11001 | |
11002 | wxPyEndAllowThreads(__tstate); | |
11003 | if (PyErr_Occurred()) SWIG_fail; | |
11004 | } | |
11005 | Py_INCREF(Py_None); resultobj = Py_None; | |
11006 | return resultobj; | |
11007 | fail: | |
11008 | return NULL; | |
11009 | } | |
11010 | ||
11011 | ||
3004cfd8 | 11012 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11013 | PyObject *resultobj; |
11014 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11015 | PyObject * obj0 = 0 ; | |
11016 | char *kwnames[] = { | |
11017 | (char *) "self", NULL | |
11018 | }; | |
11019 | ||
3004cfd8 RD |
11020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; |
11021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11023 | { |
11024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11025 | (arg1)->DelWordRight(); |
cfe5e918 RD |
11026 | |
11027 | wxPyEndAllowThreads(__tstate); | |
11028 | if (PyErr_Occurred()) SWIG_fail; | |
11029 | } | |
11030 | Py_INCREF(Py_None); resultobj = Py_None; | |
11031 | return resultobj; | |
11032 | fail: | |
11033 | return NULL; | |
11034 | } | |
11035 | ||
11036 | ||
3004cfd8 | 11037 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11038 | PyObject *resultobj; |
11039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11040 | PyObject * obj0 = 0 ; | |
11041 | char *kwnames[] = { | |
11042 | (char *) "self", NULL | |
11043 | }; | |
11044 | ||
3004cfd8 RD |
11045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; |
11046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11048 | { |
11049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11050 | (arg1)->LineCut(); |
cfe5e918 RD |
11051 | |
11052 | wxPyEndAllowThreads(__tstate); | |
11053 | if (PyErr_Occurred()) SWIG_fail; | |
11054 | } | |
11055 | Py_INCREF(Py_None); resultobj = Py_None; | |
11056 | return resultobj; | |
11057 | fail: | |
11058 | return NULL; | |
11059 | } | |
11060 | ||
11061 | ||
3004cfd8 | 11062 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11063 | PyObject *resultobj; |
11064 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11065 | PyObject * obj0 = 0 ; | |
11066 | char *kwnames[] = { | |
11067 | (char *) "self", NULL | |
11068 | }; | |
11069 | ||
3004cfd8 RD |
11070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; |
11071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11073 | { |
11074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11075 | (arg1)->LineDelete(); |
cfe5e918 RD |
11076 | |
11077 | wxPyEndAllowThreads(__tstate); | |
11078 | if (PyErr_Occurred()) SWIG_fail; | |
11079 | } | |
11080 | Py_INCREF(Py_None); resultobj = Py_None; | |
11081 | return resultobj; | |
11082 | fail: | |
11083 | return NULL; | |
11084 | } | |
11085 | ||
11086 | ||
3004cfd8 | 11087 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11088 | PyObject *resultobj; |
11089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11090 | PyObject * obj0 = 0 ; | |
11091 | char *kwnames[] = { | |
11092 | (char *) "self", NULL | |
11093 | }; | |
11094 | ||
3004cfd8 RD |
11095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; |
11096 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11097 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11098 | { |
11099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11100 | (arg1)->LineTranspose(); |
cfe5e918 RD |
11101 | |
11102 | wxPyEndAllowThreads(__tstate); | |
11103 | if (PyErr_Occurred()) SWIG_fail; | |
11104 | } | |
11105 | Py_INCREF(Py_None); resultobj = Py_None; | |
11106 | return resultobj; | |
11107 | fail: | |
11108 | return NULL; | |
11109 | } | |
11110 | ||
11111 | ||
3004cfd8 | 11112 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11113 | PyObject *resultobj; |
11114 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11115 | PyObject * obj0 = 0 ; | |
11116 | char *kwnames[] = { | |
11117 | (char *) "self", NULL | |
11118 | }; | |
11119 | ||
3004cfd8 RD |
11120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; |
11121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11123 | { |
11124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11125 | (arg1)->LineDuplicate(); |
cfe5e918 RD |
11126 | |
11127 | wxPyEndAllowThreads(__tstate); | |
11128 | if (PyErr_Occurred()) SWIG_fail; | |
11129 | } | |
11130 | Py_INCREF(Py_None); resultobj = Py_None; | |
11131 | return resultobj; | |
11132 | fail: | |
11133 | return NULL; | |
11134 | } | |
11135 | ||
11136 | ||
3004cfd8 | 11137 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11138 | PyObject *resultobj; |
11139 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11140 | PyObject * obj0 = 0 ; | |
11141 | char *kwnames[] = { | |
11142 | (char *) "self", NULL | |
11143 | }; | |
11144 | ||
3004cfd8 RD |
11145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; |
11146 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11147 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11148 | { |
11149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11150 | (arg1)->LowerCase(); |
cfe5e918 RD |
11151 | |
11152 | wxPyEndAllowThreads(__tstate); | |
11153 | if (PyErr_Occurred()) SWIG_fail; | |
11154 | } | |
11155 | Py_INCREF(Py_None); resultobj = Py_None; | |
11156 | return resultobj; | |
11157 | fail: | |
11158 | return NULL; | |
11159 | } | |
11160 | ||
11161 | ||
3004cfd8 | 11162 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11163 | PyObject *resultobj; |
11164 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11165 | PyObject * obj0 = 0 ; |
cfe5e918 | 11166 | char *kwnames[] = { |
3004cfd8 | 11167 | (char *) "self", NULL |
cfe5e918 RD |
11168 | }; |
11169 | ||
3004cfd8 RD |
11170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; |
11171 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11172 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11173 | { |
11174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11175 | (arg1)->UpperCase(); |
cfe5e918 RD |
11176 | |
11177 | wxPyEndAllowThreads(__tstate); | |
11178 | if (PyErr_Occurred()) SWIG_fail; | |
11179 | } | |
3004cfd8 | 11180 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11181 | return resultobj; |
11182 | fail: | |
11183 | return NULL; | |
11184 | } | |
11185 | ||
11186 | ||
3004cfd8 | 11187 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11188 | PyObject *resultobj; |
11189 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11190 | PyObject * obj0 = 0 ; |
cfe5e918 | 11191 | char *kwnames[] = { |
3004cfd8 | 11192 | (char *) "self", NULL |
cfe5e918 RD |
11193 | }; |
11194 | ||
3004cfd8 RD |
11195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; |
11196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11198 | { |
11199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11200 | (arg1)->LineScrollDown(); |
cfe5e918 RD |
11201 | |
11202 | wxPyEndAllowThreads(__tstate); | |
11203 | if (PyErr_Occurred()) SWIG_fail; | |
11204 | } | |
11205 | Py_INCREF(Py_None); resultobj = Py_None; | |
11206 | return resultobj; | |
11207 | fail: | |
11208 | return NULL; | |
11209 | } | |
11210 | ||
11211 | ||
3004cfd8 | 11212 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11213 | PyObject *resultobj; |
11214 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11215 | PyObject * obj0 = 0 ; |
cfe5e918 | 11216 | char *kwnames[] = { |
3004cfd8 | 11217 | (char *) "self", NULL |
cfe5e918 RD |
11218 | }; |
11219 | ||
3004cfd8 RD |
11220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; |
11221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11223 | { |
11224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11225 | (arg1)->LineScrollUp(); |
cfe5e918 RD |
11226 | |
11227 | wxPyEndAllowThreads(__tstate); | |
11228 | if (PyErr_Occurred()) SWIG_fail; | |
11229 | } | |
11230 | Py_INCREF(Py_None); resultobj = Py_None; | |
11231 | return resultobj; | |
11232 | fail: | |
11233 | return NULL; | |
11234 | } | |
11235 | ||
11236 | ||
3004cfd8 | 11237 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11238 | PyObject *resultobj; |
11239 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11240 | PyObject * obj0 = 0 ; |
cfe5e918 | 11241 | char *kwnames[] = { |
3004cfd8 | 11242 | (char *) "self", NULL |
cfe5e918 RD |
11243 | }; |
11244 | ||
3004cfd8 RD |
11245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; |
11246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11248 | { |
11249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11250 | (arg1)->DeleteBackNotLine(); |
cfe5e918 RD |
11251 | |
11252 | wxPyEndAllowThreads(__tstate); | |
11253 | if (PyErr_Occurred()) SWIG_fail; | |
11254 | } | |
3004cfd8 | 11255 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11256 | return resultobj; |
11257 | fail: | |
11258 | return NULL; | |
11259 | } | |
11260 | ||
11261 | ||
3004cfd8 | 11262 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11263 | PyObject *resultobj; |
11264 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11265 | PyObject * obj0 = 0 ; |
11266 | char *kwnames[] = { | |
11267 | (char *) "self", NULL | |
11268 | }; | |
11269 | ||
3004cfd8 RD |
11270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; |
11271 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11272 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11273 | { |
11274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11275 | (arg1)->HomeDisplay(); |
cfe5e918 RD |
11276 | |
11277 | wxPyEndAllowThreads(__tstate); | |
11278 | if (PyErr_Occurred()) SWIG_fail; | |
11279 | } | |
3004cfd8 | 11280 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11281 | return resultobj; |
11282 | fail: | |
11283 | return NULL; | |
11284 | } | |
11285 | ||
11286 | ||
3004cfd8 | 11287 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11288 | PyObject *resultobj; |
11289 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11290 | PyObject * obj0 = 0 ; |
cfe5e918 | 11291 | char *kwnames[] = { |
3004cfd8 | 11292 | (char *) "self", NULL |
cfe5e918 RD |
11293 | }; |
11294 | ||
3004cfd8 RD |
11295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; |
11296 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11297 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11298 | { |
11299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11300 | (arg1)->HomeDisplayExtend(); |
cfe5e918 RD |
11301 | |
11302 | wxPyEndAllowThreads(__tstate); | |
11303 | if (PyErr_Occurred()) SWIG_fail; | |
11304 | } | |
11305 | Py_INCREF(Py_None); resultobj = Py_None; | |
11306 | return resultobj; | |
11307 | fail: | |
11308 | return NULL; | |
11309 | } | |
11310 | ||
11311 | ||
3004cfd8 | 11312 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11313 | PyObject *resultobj; |
11314 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11315 | PyObject * obj0 = 0 ; |
11316 | char *kwnames[] = { | |
11317 | (char *) "self", NULL | |
11318 | }; | |
11319 | ||
3004cfd8 RD |
11320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; |
11321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11323 | { |
11324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11325 | (arg1)->LineEndDisplay(); |
cfe5e918 RD |
11326 | |
11327 | wxPyEndAllowThreads(__tstate); | |
11328 | if (PyErr_Occurred()) SWIG_fail; | |
11329 | } | |
3004cfd8 | 11330 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11331 | return resultobj; |
11332 | fail: | |
11333 | return NULL; | |
11334 | } | |
11335 | ||
11336 | ||
3004cfd8 | 11337 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11338 | PyObject *resultobj; |
11339 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11340 | PyObject * obj0 = 0 ; |
cfe5e918 | 11341 | char *kwnames[] = { |
3004cfd8 | 11342 | (char *) "self", NULL |
cfe5e918 RD |
11343 | }; |
11344 | ||
3004cfd8 RD |
11345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; |
11346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11348 | { |
11349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11350 | (arg1)->LineEndDisplayExtend(); |
cfe5e918 RD |
11351 | |
11352 | wxPyEndAllowThreads(__tstate); | |
11353 | if (PyErr_Occurred()) SWIG_fail; | |
11354 | } | |
11355 | Py_INCREF(Py_None); resultobj = Py_None; | |
11356 | return resultobj; | |
11357 | fail: | |
11358 | return NULL; | |
11359 | } | |
11360 | ||
11361 | ||
3004cfd8 | 11362 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11363 | PyObject *resultobj; |
11364 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11365 | PyObject * obj0 = 0 ; |
cfe5e918 | 11366 | char *kwnames[] = { |
3004cfd8 | 11367 | (char *) "self", NULL |
cfe5e918 RD |
11368 | }; |
11369 | ||
3004cfd8 RD |
11370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; |
11371 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11372 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11373 | { |
11374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11375 | (arg1)->HomeWrap(); |
cfe5e918 RD |
11376 | |
11377 | wxPyEndAllowThreads(__tstate); | |
11378 | if (PyErr_Occurred()) SWIG_fail; | |
11379 | } | |
11380 | Py_INCREF(Py_None); resultobj = Py_None; | |
11381 | return resultobj; | |
11382 | fail: | |
11383 | return NULL; | |
11384 | } | |
11385 | ||
11386 | ||
3004cfd8 | 11387 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11388 | PyObject *resultobj; |
11389 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11390 | PyObject * obj0 = 0 ; |
11391 | char *kwnames[] = { | |
11392 | (char *) "self", NULL | |
11393 | }; | |
11394 | ||
3004cfd8 RD |
11395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; |
11396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11398 | { |
11399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11400 | (arg1)->HomeWrapExtend(); |
cfe5e918 RD |
11401 | |
11402 | wxPyEndAllowThreads(__tstate); | |
11403 | if (PyErr_Occurred()) SWIG_fail; | |
11404 | } | |
3004cfd8 | 11405 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11406 | return resultobj; |
11407 | fail: | |
11408 | return NULL; | |
11409 | } | |
11410 | ||
11411 | ||
3004cfd8 | 11412 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11413 | PyObject *resultobj; |
11414 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11415 | PyObject * obj0 = 0 ; |
cfe5e918 | 11416 | char *kwnames[] = { |
3004cfd8 | 11417 | (char *) "self", NULL |
cfe5e918 RD |
11418 | }; |
11419 | ||
3004cfd8 RD |
11420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; |
11421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11423 | { |
11424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11425 | (arg1)->LineEndWrap(); |
cfe5e918 RD |
11426 | |
11427 | wxPyEndAllowThreads(__tstate); | |
11428 | if (PyErr_Occurred()) SWIG_fail; | |
11429 | } | |
11430 | Py_INCREF(Py_None); resultobj = Py_None; | |
11431 | return resultobj; | |
11432 | fail: | |
11433 | return NULL; | |
11434 | } | |
11435 | ||
11436 | ||
3004cfd8 | 11437 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11438 | PyObject *resultobj; |
11439 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11440 | PyObject * obj0 = 0 ; |
11441 | char *kwnames[] = { | |
11442 | (char *) "self", NULL | |
11443 | }; | |
11444 | ||
3004cfd8 RD |
11445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; |
11446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11448 | { |
11449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11450 | (arg1)->LineEndWrapExtend(); |
cfe5e918 RD |
11451 | |
11452 | wxPyEndAllowThreads(__tstate); | |
11453 | if (PyErr_Occurred()) SWIG_fail; | |
11454 | } | |
3004cfd8 | 11455 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11456 | return resultobj; |
11457 | fail: | |
11458 | return NULL; | |
11459 | } | |
11460 | ||
11461 | ||
3004cfd8 | 11462 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11463 | PyObject *resultobj; |
11464 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11465 | PyObject * obj0 = 0 ; |
cfe5e918 | 11466 | char *kwnames[] = { |
3004cfd8 | 11467 | (char *) "self", NULL |
cfe5e918 RD |
11468 | }; |
11469 | ||
3004cfd8 RD |
11470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; |
11471 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11472 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11473 | { |
11474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11475 | (arg1)->VCHomeWrap(); |
cfe5e918 RD |
11476 | |
11477 | wxPyEndAllowThreads(__tstate); | |
11478 | if (PyErr_Occurred()) SWIG_fail; | |
11479 | } | |
11480 | Py_INCREF(Py_None); resultobj = Py_None; | |
11481 | return resultobj; | |
11482 | fail: | |
11483 | return NULL; | |
11484 | } | |
11485 | ||
11486 | ||
3004cfd8 | 11487 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11488 | PyObject *resultobj; |
11489 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11490 | PyObject * obj0 = 0 ; |
11491 | char *kwnames[] = { | |
11492 | (char *) "self", NULL | |
11493 | }; | |
11494 | ||
3004cfd8 RD |
11495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; |
11496 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11497 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11498 | { |
11499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11500 | (arg1)->VCHomeWrapExtend(); |
cfe5e918 RD |
11501 | |
11502 | wxPyEndAllowThreads(__tstate); | |
11503 | if (PyErr_Occurred()) SWIG_fail; | |
11504 | } | |
3004cfd8 | 11505 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11506 | return resultobj; |
11507 | fail: | |
11508 | return NULL; | |
11509 | } | |
11510 | ||
11511 | ||
3004cfd8 | 11512 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11513 | PyObject *resultobj; |
11514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11515 | PyObject * obj0 = 0 ; |
cfe5e918 | 11516 | char *kwnames[] = { |
3004cfd8 | 11517 | (char *) "self", NULL |
cfe5e918 RD |
11518 | }; |
11519 | ||
3004cfd8 RD |
11520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; |
11521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11523 | { |
11524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11525 | (arg1)->LineCopy(); |
cfe5e918 RD |
11526 | |
11527 | wxPyEndAllowThreads(__tstate); | |
11528 | if (PyErr_Occurred()) SWIG_fail; | |
11529 | } | |
11530 | Py_INCREF(Py_None); resultobj = Py_None; | |
11531 | return resultobj; | |
11532 | fail: | |
11533 | return NULL; | |
11534 | } | |
11535 | ||
11536 | ||
3004cfd8 | 11537 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11538 | PyObject *resultobj; |
11539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11540 | PyObject * obj0 = 0 ; | |
11541 | char *kwnames[] = { | |
11542 | (char *) "self", NULL | |
11543 | }; | |
11544 | ||
3004cfd8 RD |
11545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; |
11546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11548 | { |
11549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11550 | (arg1)->MoveCaretInsideView(); |
cfe5e918 RD |
11551 | |
11552 | wxPyEndAllowThreads(__tstate); | |
11553 | if (PyErr_Occurred()) SWIG_fail; | |
11554 | } | |
11555 | Py_INCREF(Py_None); resultobj = Py_None; | |
11556 | return resultobj; | |
11557 | fail: | |
11558 | return NULL; | |
11559 | } | |
11560 | ||
11561 | ||
3004cfd8 | 11562 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11563 | PyObject *resultobj; |
11564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11565 | int arg2 ; | |
cfe5e918 | 11566 | int result; |
cfe5e918 RD |
11567 | PyObject * obj0 = 0 ; |
11568 | PyObject * obj1 = 0 ; | |
cfe5e918 | 11569 | char *kwnames[] = { |
3004cfd8 | 11570 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
11571 | }; |
11572 | ||
3004cfd8 RD |
11573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; |
11574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 11576 | { |
3004cfd8 RD |
11577 | arg2 = (int)(SWIG_As_int(obj1)); |
11578 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
11579 | } |
11580 | { | |
11581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11582 | result = (int)(arg1)->LineLength(arg2); |
cfe5e918 RD |
11583 | |
11584 | wxPyEndAllowThreads(__tstate); | |
11585 | if (PyErr_Occurred()) SWIG_fail; | |
11586 | } | |
cfe5e918 | 11587 | { |
3004cfd8 | 11588 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
11589 | } |
11590 | return resultobj; | |
11591 | fail: | |
cfe5e918 RD |
11592 | return NULL; |
11593 | } | |
11594 | ||
11595 | ||
3004cfd8 | 11596 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11597 | PyObject *resultobj; |
11598 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11599 | int arg2 ; | |
3004cfd8 | 11600 | int arg3 ; |
cfe5e918 RD |
11601 | PyObject * obj0 = 0 ; |
11602 | PyObject * obj1 = 0 ; | |
11603 | PyObject * obj2 = 0 ; | |
11604 | char *kwnames[] = { | |
3004cfd8 | 11605 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL |
cfe5e918 RD |
11606 | }; |
11607 | ||
3004cfd8 RD |
11608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
11609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 11611 | { |
3004cfd8 RD |
11612 | arg2 = (int)(SWIG_As_int(obj1)); |
11613 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11614 | } | |
11615 | { | |
11616 | arg3 = (int)(SWIG_As_int(obj2)); | |
11617 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
11618 | } |
11619 | { | |
11620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11621 | (arg1)->BraceHighlight(arg2,arg3); |
cfe5e918 RD |
11622 | |
11623 | wxPyEndAllowThreads(__tstate); | |
11624 | if (PyErr_Occurred()) SWIG_fail; | |
11625 | } | |
3004cfd8 | 11626 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11627 | return resultobj; |
11628 | fail: | |
cfe5e918 RD |
11629 | return NULL; |
11630 | } | |
11631 | ||
11632 | ||
3004cfd8 | 11633 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11634 | PyObject *resultobj; |
11635 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11636 | int arg2 ; |
cfe5e918 | 11637 | PyObject * obj0 = 0 ; |
3004cfd8 | 11638 | PyObject * obj1 = 0 ; |
cfe5e918 | 11639 | char *kwnames[] = { |
3004cfd8 | 11640 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
11641 | }; |
11642 | ||
3004cfd8 RD |
11643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; |
11644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11646 | { | |
11647 | arg2 = (int)(SWIG_As_int(obj1)); | |
11648 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11649 | } | |
cfe5e918 RD |
11650 | { |
11651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11652 | (arg1)->BraceBadLight(arg2); |
cfe5e918 RD |
11653 | |
11654 | wxPyEndAllowThreads(__tstate); | |
11655 | if (PyErr_Occurred()) SWIG_fail; | |
11656 | } | |
3004cfd8 | 11657 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11658 | return resultobj; |
11659 | fail: | |
11660 | return NULL; | |
11661 | } | |
11662 | ||
11663 | ||
3004cfd8 | 11664 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11665 | PyObject *resultobj; |
11666 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
11667 | int arg2 ; |
11668 | int result; | |
cfe5e918 RD |
11669 | PyObject * obj0 = 0 ; |
11670 | PyObject * obj1 = 0 ; | |
11671 | char *kwnames[] = { | |
3004cfd8 | 11672 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
11673 | }; |
11674 | ||
3004cfd8 RD |
11675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; |
11676 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11677 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11678 | { | |
11679 | arg2 = (int)(SWIG_As_int(obj1)); | |
11680 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11681 | } | |
cfe5e918 RD |
11682 | { |
11683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11684 | result = (int)(arg1)->BraceMatch(arg2); |
cfe5e918 RD |
11685 | |
11686 | wxPyEndAllowThreads(__tstate); | |
11687 | if (PyErr_Occurred()) SWIG_fail; | |
11688 | } | |
3004cfd8 RD |
11689 | { |
11690 | resultobj = SWIG_From_int((int)(result)); | |
11691 | } | |
cfe5e918 RD |
11692 | return resultobj; |
11693 | fail: | |
11694 | return NULL; | |
11695 | } | |
11696 | ||
11697 | ||
3004cfd8 | 11698 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11699 | PyObject *resultobj; |
11700 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11701 | bool result; | |
11702 | PyObject * obj0 = 0 ; | |
11703 | char *kwnames[] = { | |
11704 | (char *) "self", NULL | |
11705 | }; | |
11706 | ||
3004cfd8 RD |
11707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; |
11708 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11709 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11710 | { |
11711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11712 | result = (bool)(arg1)->GetViewEOL(); |
cfe5e918 RD |
11713 | |
11714 | wxPyEndAllowThreads(__tstate); | |
11715 | if (PyErr_Occurred()) SWIG_fail; | |
11716 | } | |
11717 | { | |
11718 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11719 | } | |
11720 | return resultobj; | |
11721 | fail: | |
11722 | return NULL; | |
11723 | } | |
11724 | ||
11725 | ||
3004cfd8 | 11726 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11727 | PyObject *resultobj; |
11728 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11729 | bool arg2 ; |
cfe5e918 RD |
11730 | PyObject * obj0 = 0 ; |
11731 | PyObject * obj1 = 0 ; | |
11732 | char *kwnames[] = { | |
3004cfd8 | 11733 | (char *) "self",(char *) "visible", NULL |
cfe5e918 RD |
11734 | }; |
11735 | ||
3004cfd8 RD |
11736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; |
11737 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11738 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 11739 | { |
3004cfd8 RD |
11740 | arg2 = (bool)(SWIG_As_bool(obj1)); |
11741 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 11742 | } |
cfe5e918 RD |
11743 | { |
11744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11745 | (arg1)->SetViewEOL(arg2); |
cfe5e918 RD |
11746 | |
11747 | wxPyEndAllowThreads(__tstate); | |
11748 | if (PyErr_Occurred()) SWIG_fail; | |
11749 | } | |
3004cfd8 | 11750 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11751 | return resultobj; |
11752 | fail: | |
11753 | return NULL; | |
11754 | } | |
11755 | ||
11756 | ||
3004cfd8 | 11757 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11758 | PyObject *resultobj; |
11759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11760 | void *result; | |
11761 | PyObject * obj0 = 0 ; | |
11762 | char *kwnames[] = { | |
11763 | (char *) "self", NULL | |
11764 | }; | |
11765 | ||
3004cfd8 RD |
11766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; |
11767 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11768 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11769 | { |
11770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11771 | result = (void *)(arg1)->GetDocPointer(); |
cfe5e918 RD |
11772 | |
11773 | wxPyEndAllowThreads(__tstate); | |
11774 | if (PyErr_Occurred()) SWIG_fail; | |
11775 | } | |
11776 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
11777 | return resultobj; | |
11778 | fail: | |
11779 | return NULL; | |
11780 | } | |
11781 | ||
11782 | ||
3004cfd8 | 11783 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11784 | PyObject *resultobj; |
11785 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11786 | void *arg2 = (void *) 0 ; | |
11787 | PyObject * obj0 = 0 ; | |
11788 | PyObject * obj1 = 0 ; | |
11789 | char *kwnames[] = { | |
11790 | (char *) "self",(char *) "docPointer", NULL | |
11791 | }; | |
11792 | ||
3004cfd8 RD |
11793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; |
11794 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11795 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11796 | { | |
11797 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
11798 | SWIG_arg_fail(2);SWIG_fail; | |
11799 | } | |
11800 | } | |
cfe5e918 RD |
11801 | { |
11802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11803 | (arg1)->SetDocPointer(arg2); |
cfe5e918 RD |
11804 | |
11805 | wxPyEndAllowThreads(__tstate); | |
11806 | if (PyErr_Occurred()) SWIG_fail; | |
11807 | } | |
11808 | Py_INCREF(Py_None); resultobj = Py_None; | |
11809 | return resultobj; | |
11810 | fail: | |
11811 | return NULL; | |
11812 | } | |
11813 | ||
11814 | ||
3004cfd8 | 11815 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11816 | PyObject *resultobj; |
11817 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11818 | int arg2 ; |
cfe5e918 RD |
11819 | PyObject * obj0 = 0 ; |
11820 | PyObject * obj1 = 0 ; | |
11821 | char *kwnames[] = { | |
3004cfd8 | 11822 | (char *) "self",(char *) "mask", NULL |
cfe5e918 RD |
11823 | }; |
11824 | ||
3004cfd8 RD |
11825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; |
11826 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11827 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11828 | { | |
11829 | arg2 = (int)(SWIG_As_int(obj1)); | |
11830 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11831 | } | |
cfe5e918 RD |
11832 | { |
11833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11834 | (arg1)->SetModEventMask(arg2); |
cfe5e918 RD |
11835 | |
11836 | wxPyEndAllowThreads(__tstate); | |
11837 | if (PyErr_Occurred()) SWIG_fail; | |
11838 | } | |
11839 | Py_INCREF(Py_None); resultobj = Py_None; | |
11840 | return resultobj; | |
11841 | fail: | |
11842 | return NULL; | |
11843 | } | |
11844 | ||
11845 | ||
3004cfd8 | 11846 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11847 | PyObject *resultobj; |
11848 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11849 | int result; | |
11850 | PyObject * obj0 = 0 ; | |
11851 | char *kwnames[] = { | |
11852 | (char *) "self", NULL | |
11853 | }; | |
11854 | ||
3004cfd8 RD |
11855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; |
11856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11858 | { |
11859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11860 | result = (int)(arg1)->GetEdgeColumn(); |
cfe5e918 RD |
11861 | |
11862 | wxPyEndAllowThreads(__tstate); | |
11863 | if (PyErr_Occurred()) SWIG_fail; | |
11864 | } | |
3004cfd8 RD |
11865 | { |
11866 | resultobj = SWIG_From_int((int)(result)); | |
11867 | } | |
cfe5e918 RD |
11868 | return resultobj; |
11869 | fail: | |
11870 | return NULL; | |
11871 | } | |
11872 | ||
11873 | ||
3004cfd8 | 11874 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11875 | PyObject *resultobj; |
11876 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11877 | int arg2 ; |
cfe5e918 RD |
11878 | PyObject * obj0 = 0 ; |
11879 | PyObject * obj1 = 0 ; | |
11880 | char *kwnames[] = { | |
3004cfd8 | 11881 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
11882 | }; |
11883 | ||
3004cfd8 RD |
11884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; |
11885 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11886 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11887 | { | |
11888 | arg2 = (int)(SWIG_As_int(obj1)); | |
11889 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11890 | } | |
cfe5e918 RD |
11891 | { |
11892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11893 | (arg1)->SetEdgeColumn(arg2); |
cfe5e918 RD |
11894 | |
11895 | wxPyEndAllowThreads(__tstate); | |
11896 | if (PyErr_Occurred()) SWIG_fail; | |
11897 | } | |
11898 | Py_INCREF(Py_None); resultobj = Py_None; | |
11899 | return resultobj; | |
11900 | fail: | |
11901 | return NULL; | |
11902 | } | |
11903 | ||
11904 | ||
3004cfd8 | 11905 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11906 | PyObject *resultobj; |
11907 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11908 | int result; |
cfe5e918 RD |
11909 | PyObject * obj0 = 0 ; |
11910 | char *kwnames[] = { | |
11911 | (char *) "self", NULL | |
11912 | }; | |
11913 | ||
3004cfd8 RD |
11914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; |
11915 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11916 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11917 | { |
11918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11919 | result = (int)(arg1)->GetEdgeMode(); |
cfe5e918 RD |
11920 | |
11921 | wxPyEndAllowThreads(__tstate); | |
11922 | if (PyErr_Occurred()) SWIG_fail; | |
11923 | } | |
11924 | { | |
3004cfd8 | 11925 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
11926 | } |
11927 | return resultobj; | |
11928 | fail: | |
11929 | return NULL; | |
11930 | } | |
11931 | ||
11932 | ||
3004cfd8 | 11933 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11934 | PyObject *resultobj; |
11935 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11936 | int arg2 ; | |
11937 | PyObject * obj0 = 0 ; | |
11938 | PyObject * obj1 = 0 ; | |
11939 | char *kwnames[] = { | |
3004cfd8 | 11940 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
11941 | }; |
11942 | ||
3004cfd8 RD |
11943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; |
11944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11946 | { | |
11947 | arg2 = (int)(SWIG_As_int(obj1)); | |
11948 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11949 | } | |
cfe5e918 RD |
11950 | { |
11951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11952 | (arg1)->SetEdgeMode(arg2); |
cfe5e918 RD |
11953 | |
11954 | wxPyEndAllowThreads(__tstate); | |
11955 | if (PyErr_Occurred()) SWIG_fail; | |
11956 | } | |
11957 | Py_INCREF(Py_None); resultobj = Py_None; | |
11958 | return resultobj; | |
11959 | fail: | |
11960 | return NULL; | |
11961 | } | |
11962 | ||
11963 | ||
3004cfd8 | 11964 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11965 | PyObject *resultobj; |
11966 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11967 | wxColour result; |
cfe5e918 RD |
11968 | PyObject * obj0 = 0 ; |
11969 | char *kwnames[] = { | |
11970 | (char *) "self", NULL | |
11971 | }; | |
11972 | ||
3004cfd8 RD |
11973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; |
11974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11976 | { |
11977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11978 | result = (arg1)->GetEdgeColour(); |
cfe5e918 RD |
11979 | |
11980 | wxPyEndAllowThreads(__tstate); | |
11981 | if (PyErr_Occurred()) SWIG_fail; | |
11982 | } | |
3004cfd8 RD |
11983 | { |
11984 | wxColour * resultptr; | |
11985 | resultptr = new wxColour((wxColour &)(result)); | |
11986 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
11987 | } | |
cfe5e918 RD |
11988 | return resultobj; |
11989 | fail: | |
11990 | return NULL; | |
11991 | } | |
11992 | ||
11993 | ||
3004cfd8 | 11994 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11995 | PyObject *resultobj; |
11996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
11997 | wxColour *arg2 = 0 ; |
11998 | wxColour temp2 ; | |
cfe5e918 RD |
11999 | PyObject * obj0 = 0 ; |
12000 | PyObject * obj1 = 0 ; | |
12001 | char *kwnames[] = { | |
3004cfd8 | 12002 | (char *) "self",(char *) "edgeColour", NULL |
cfe5e918 RD |
12003 | }; |
12004 | ||
3004cfd8 RD |
12005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; |
12006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12008 | { | |
12009 | arg2 = &temp2; | |
12010 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12011 | } | |
cfe5e918 RD |
12012 | { |
12013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12014 | (arg1)->SetEdgeColour((wxColour const &)*arg2); |
cfe5e918 RD |
12015 | |
12016 | wxPyEndAllowThreads(__tstate); | |
12017 | if (PyErr_Occurred()) SWIG_fail; | |
12018 | } | |
12019 | Py_INCREF(Py_None); resultobj = Py_None; | |
12020 | return resultobj; | |
12021 | fail: | |
12022 | return NULL; | |
12023 | } | |
12024 | ||
12025 | ||
3004cfd8 | 12026 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12027 | PyObject *resultobj; |
12028 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
12029 | PyObject * obj0 = 0 ; |
12030 | char *kwnames[] = { | |
12031 | (char *) "self", NULL | |
12032 | }; | |
12033 | ||
3004cfd8 RD |
12034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; |
12035 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12036 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12037 | { |
12038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12039 | (arg1)->SearchAnchor(); |
cfe5e918 RD |
12040 | |
12041 | wxPyEndAllowThreads(__tstate); | |
12042 | if (PyErr_Occurred()) SWIG_fail; | |
12043 | } | |
3004cfd8 | 12044 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12045 | return resultobj; |
12046 | fail: | |
12047 | return NULL; | |
12048 | } | |
12049 | ||
12050 | ||
3004cfd8 | 12051 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12052 | PyObject *resultobj; |
12053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12054 | int arg2 ; | |
3004cfd8 RD |
12055 | wxString *arg3 = 0 ; |
12056 | int result; | |
12057 | bool temp3 = false ; | |
cfe5e918 RD |
12058 | PyObject * obj0 = 0 ; |
12059 | PyObject * obj1 = 0 ; | |
3004cfd8 | 12060 | PyObject * obj2 = 0 ; |
cfe5e918 | 12061 | char *kwnames[] = { |
3004cfd8 | 12062 | (char *) "self",(char *) "flags",(char *) "text", NULL |
cfe5e918 RD |
12063 | }; |
12064 | ||
3004cfd8 RD |
12065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12066 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12067 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12068 | { | |
12069 | arg2 = (int)(SWIG_As_int(obj1)); | |
12070 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12071 | } | |
12072 | { | |
12073 | arg3 = wxString_in_helper(obj2); | |
12074 | if (arg3 == NULL) SWIG_fail; | |
12075 | temp3 = true; | |
12076 | } | |
cfe5e918 RD |
12077 | { |
12078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12079 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
12080 | |
12081 | wxPyEndAllowThreads(__tstate); | |
12082 | if (PyErr_Occurred()) SWIG_fail; | |
12083 | } | |
3004cfd8 RD |
12084 | { |
12085 | resultobj = SWIG_From_int((int)(result)); | |
12086 | } | |
12087 | { | |
12088 | if (temp3) | |
12089 | delete arg3; | |
12090 | } | |
cfe5e918 RD |
12091 | return resultobj; |
12092 | fail: | |
3004cfd8 RD |
12093 | { |
12094 | if (temp3) | |
12095 | delete arg3; | |
12096 | } | |
cfe5e918 RD |
12097 | return NULL; |
12098 | } | |
12099 | ||
12100 | ||
3004cfd8 | 12101 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12102 | PyObject *resultobj; |
12103 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
12104 | int arg2 ; |
12105 | wxString *arg3 = 0 ; | |
cfe5e918 | 12106 | int result; |
3004cfd8 | 12107 | bool temp3 = false ; |
cfe5e918 | 12108 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
12109 | PyObject * obj1 = 0 ; |
12110 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12111 | char *kwnames[] = { |
3004cfd8 | 12112 | (char *) "self",(char *) "flags",(char *) "text", NULL |
cfe5e918 RD |
12113 | }; |
12114 | ||
3004cfd8 RD |
12115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12116 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12117 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12118 | { | |
12119 | arg2 = (int)(SWIG_As_int(obj1)); | |
12120 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12121 | } | |
12122 | { | |
12123 | arg3 = wxString_in_helper(obj2); | |
12124 | if (arg3 == NULL) SWIG_fail; | |
12125 | temp3 = true; | |
12126 | } | |
cfe5e918 RD |
12127 | { |
12128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12129 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
12130 | |
12131 | wxPyEndAllowThreads(__tstate); | |
12132 | if (PyErr_Occurred()) SWIG_fail; | |
12133 | } | |
3004cfd8 RD |
12134 | { |
12135 | resultobj = SWIG_From_int((int)(result)); | |
12136 | } | |
12137 | { | |
12138 | if (temp3) | |
12139 | delete arg3; | |
12140 | } | |
cfe5e918 RD |
12141 | return resultobj; |
12142 | fail: | |
3004cfd8 RD |
12143 | { |
12144 | if (temp3) | |
12145 | delete arg3; | |
12146 | } | |
cfe5e918 RD |
12147 | return NULL; |
12148 | } | |
12149 | ||
12150 | ||
3004cfd8 | 12151 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12152 | PyObject *resultobj; |
12153 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12154 | int result; |
cfe5e918 | 12155 | PyObject * obj0 = 0 ; |
cfe5e918 | 12156 | char *kwnames[] = { |
3004cfd8 | 12157 | (char *) "self", NULL |
cfe5e918 RD |
12158 | }; |
12159 | ||
3004cfd8 RD |
12160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; |
12161 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12162 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12163 | { |
12164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12165 | result = (int)(arg1)->LinesOnScreen(); |
cfe5e918 RD |
12166 | |
12167 | wxPyEndAllowThreads(__tstate); | |
12168 | if (PyErr_Occurred()) SWIG_fail; | |
12169 | } | |
3004cfd8 RD |
12170 | { |
12171 | resultobj = SWIG_From_int((int)(result)); | |
12172 | } | |
cfe5e918 RD |
12173 | return resultobj; |
12174 | fail: | |
12175 | return NULL; | |
12176 | } | |
12177 | ||
12178 | ||
3004cfd8 | 12179 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12180 | PyObject *resultobj; |
12181 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12182 | bool arg2 ; |
cfe5e918 | 12183 | PyObject * obj0 = 0 ; |
3004cfd8 | 12184 | PyObject * obj1 = 0 ; |
cfe5e918 | 12185 | char *kwnames[] = { |
3004cfd8 | 12186 | (char *) "self",(char *) "allowPopUp", NULL |
cfe5e918 RD |
12187 | }; |
12188 | ||
3004cfd8 RD |
12189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; |
12190 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12191 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12192 | { | |
12193 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12194 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12195 | } | |
cfe5e918 RD |
12196 | { |
12197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12198 | (arg1)->UsePopUp(arg2); |
cfe5e918 RD |
12199 | |
12200 | wxPyEndAllowThreads(__tstate); | |
12201 | if (PyErr_Occurred()) SWIG_fail; | |
12202 | } | |
3004cfd8 | 12203 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12204 | return resultobj; |
12205 | fail: | |
12206 | return NULL; | |
12207 | } | |
12208 | ||
12209 | ||
3004cfd8 | 12210 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12211 | PyObject *resultobj; |
12212 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12213 | bool result; |
cfe5e918 RD |
12214 | PyObject * obj0 = 0 ; |
12215 | char *kwnames[] = { | |
12216 | (char *) "self", NULL | |
12217 | }; | |
12218 | ||
3004cfd8 RD |
12219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; |
12220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12222 | { |
12223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12224 | result = (bool)(arg1)->SelectionIsRectangle(); |
cfe5e918 RD |
12225 | |
12226 | wxPyEndAllowThreads(__tstate); | |
12227 | if (PyErr_Occurred()) SWIG_fail; | |
12228 | } | |
3004cfd8 RD |
12229 | { |
12230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12231 | } | |
cfe5e918 RD |
12232 | return resultobj; |
12233 | fail: | |
12234 | return NULL; | |
12235 | } | |
12236 | ||
12237 | ||
3004cfd8 | 12238 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12239 | PyObject *resultobj; |
12240 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12241 | int arg2 ; |
cfe5e918 | 12242 | PyObject * obj0 = 0 ; |
3004cfd8 | 12243 | PyObject * obj1 = 0 ; |
cfe5e918 | 12244 | char *kwnames[] = { |
3004cfd8 | 12245 | (char *) "self",(char *) "zoom", NULL |
cfe5e918 RD |
12246 | }; |
12247 | ||
3004cfd8 RD |
12248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
12249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12251 | { | |
12252 | arg2 = (int)(SWIG_As_int(obj1)); | |
12253 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12254 | } | |
cfe5e918 RD |
12255 | { |
12256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12257 | (arg1)->SetZoom(arg2); |
cfe5e918 RD |
12258 | |
12259 | wxPyEndAllowThreads(__tstate); | |
12260 | if (PyErr_Occurred()) SWIG_fail; | |
12261 | } | |
12262 | Py_INCREF(Py_None); resultobj = Py_None; | |
12263 | return resultobj; | |
12264 | fail: | |
12265 | return NULL; | |
12266 | } | |
12267 | ||
12268 | ||
3004cfd8 | 12269 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12270 | PyObject *resultobj; |
12271 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12272 | int result; |
cfe5e918 RD |
12273 | PyObject * obj0 = 0 ; |
12274 | char *kwnames[] = { | |
12275 | (char *) "self", NULL | |
12276 | }; | |
12277 | ||
3004cfd8 RD |
12278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; |
12279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12281 | { |
12282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12283 | result = (int)(arg1)->GetZoom(); |
cfe5e918 RD |
12284 | |
12285 | wxPyEndAllowThreads(__tstate); | |
12286 | if (PyErr_Occurred()) SWIG_fail; | |
12287 | } | |
3004cfd8 RD |
12288 | { |
12289 | resultobj = SWIG_From_int((int)(result)); | |
12290 | } | |
cfe5e918 RD |
12291 | return resultobj; |
12292 | fail: | |
12293 | return NULL; | |
12294 | } | |
12295 | ||
12296 | ||
3004cfd8 | 12297 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12298 | PyObject *resultobj; |
12299 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12300 | void *result; |
cfe5e918 RD |
12301 | PyObject * obj0 = 0 ; |
12302 | char *kwnames[] = { | |
12303 | (char *) "self", NULL | |
12304 | }; | |
12305 | ||
3004cfd8 RD |
12306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; |
12307 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12308 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12309 | { |
12310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12311 | result = (void *)(arg1)->CreateDocument(); |
cfe5e918 RD |
12312 | |
12313 | wxPyEndAllowThreads(__tstate); | |
12314 | if (PyErr_Occurred()) SWIG_fail; | |
12315 | } | |
3004cfd8 | 12316 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); |
cfe5e918 RD |
12317 | return resultobj; |
12318 | fail: | |
12319 | return NULL; | |
12320 | } | |
12321 | ||
12322 | ||
3004cfd8 | 12323 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12324 | PyObject *resultobj; |
12325 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12326 | void *arg2 = (void *) 0 ; |
cfe5e918 RD |
12327 | PyObject * obj0 = 0 ; |
12328 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12329 | char *kwnames[] = { |
3004cfd8 | 12330 | (char *) "self",(char *) "docPointer", NULL |
cfe5e918 RD |
12331 | }; |
12332 | ||
3004cfd8 RD |
12333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; |
12334 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12335 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12336 | { | |
12337 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12338 | SWIG_arg_fail(2);SWIG_fail; | |
12339 | } | |
12340 | } | |
cfe5e918 RD |
12341 | { |
12342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12343 | (arg1)->AddRefDocument(arg2); |
cfe5e918 RD |
12344 | |
12345 | wxPyEndAllowThreads(__tstate); | |
12346 | if (PyErr_Occurred()) SWIG_fail; | |
12347 | } | |
12348 | Py_INCREF(Py_None); resultobj = Py_None; | |
12349 | return resultobj; | |
12350 | fail: | |
12351 | return NULL; | |
12352 | } | |
12353 | ||
12354 | ||
3004cfd8 | 12355 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12356 | PyObject *resultobj; |
12357 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12358 | void *arg2 = (void *) 0 ; |
cfe5e918 | 12359 | PyObject * obj0 = 0 ; |
3004cfd8 | 12360 | PyObject * obj1 = 0 ; |
cfe5e918 | 12361 | char *kwnames[] = { |
3004cfd8 | 12362 | (char *) "self",(char *) "docPointer", NULL |
cfe5e918 RD |
12363 | }; |
12364 | ||
3004cfd8 RD |
12365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; |
12366 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12367 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12368 | { | |
12369 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12370 | SWIG_arg_fail(2);SWIG_fail; | |
12371 | } | |
12372 | } | |
cfe5e918 RD |
12373 | { |
12374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12375 | (arg1)->ReleaseDocument(arg2); |
cfe5e918 RD |
12376 | |
12377 | wxPyEndAllowThreads(__tstate); | |
12378 | if (PyErr_Occurred()) SWIG_fail; | |
12379 | } | |
12380 | Py_INCREF(Py_None); resultobj = Py_None; | |
12381 | return resultobj; | |
12382 | fail: | |
12383 | return NULL; | |
12384 | } | |
12385 | ||
12386 | ||
3004cfd8 | 12387 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12388 | PyObject *resultobj; |
12389 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12390 | int result; |
cfe5e918 RD |
12391 | PyObject * obj0 = 0 ; |
12392 | char *kwnames[] = { | |
12393 | (char *) "self", NULL | |
12394 | }; | |
12395 | ||
3004cfd8 RD |
12396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; |
12397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12399 | { |
12400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12401 | result = (int)(arg1)->GetModEventMask(); |
cfe5e918 RD |
12402 | |
12403 | wxPyEndAllowThreads(__tstate); | |
12404 | if (PyErr_Occurred()) SWIG_fail; | |
12405 | } | |
3004cfd8 RD |
12406 | { |
12407 | resultobj = SWIG_From_int((int)(result)); | |
12408 | } | |
cfe5e918 RD |
12409 | return resultobj; |
12410 | fail: | |
12411 | return NULL; | |
12412 | } | |
12413 | ||
12414 | ||
3004cfd8 | 12415 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12416 | PyObject *resultobj; |
12417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12418 | bool arg2 ; |
cfe5e918 RD |
12419 | PyObject * obj0 = 0 ; |
12420 | PyObject * obj1 = 0 ; | |
12421 | char *kwnames[] = { | |
3004cfd8 | 12422 | (char *) "self",(char *) "focus", NULL |
cfe5e918 RD |
12423 | }; |
12424 | ||
3004cfd8 RD |
12425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; |
12426 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12427 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12428 | { | |
12429 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12430 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12431 | } | |
cfe5e918 RD |
12432 | { |
12433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12434 | (arg1)->SetSTCFocus(arg2); |
cfe5e918 RD |
12435 | |
12436 | wxPyEndAllowThreads(__tstate); | |
12437 | if (PyErr_Occurred()) SWIG_fail; | |
12438 | } | |
12439 | Py_INCREF(Py_None); resultobj = Py_None; | |
12440 | return resultobj; | |
12441 | fail: | |
12442 | return NULL; | |
12443 | } | |
12444 | ||
12445 | ||
3004cfd8 | 12446 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12447 | PyObject *resultobj; |
12448 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12449 | bool result; |
cfe5e918 RD |
12450 | PyObject * obj0 = 0 ; |
12451 | char *kwnames[] = { | |
12452 | (char *) "self", NULL | |
12453 | }; | |
12454 | ||
3004cfd8 RD |
12455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; |
12456 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12457 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12458 | { |
12459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12460 | result = (bool)(arg1)->GetSTCFocus(); |
cfe5e918 RD |
12461 | |
12462 | wxPyEndAllowThreads(__tstate); | |
12463 | if (PyErr_Occurred()) SWIG_fail; | |
12464 | } | |
3004cfd8 RD |
12465 | { |
12466 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12467 | } | |
cfe5e918 RD |
12468 | return resultobj; |
12469 | fail: | |
12470 | return NULL; | |
12471 | } | |
12472 | ||
12473 | ||
3004cfd8 | 12474 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12475 | PyObject *resultobj; |
12476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12477 | int arg2 ; |
cfe5e918 | 12478 | PyObject * obj0 = 0 ; |
3004cfd8 | 12479 | PyObject * obj1 = 0 ; |
cfe5e918 | 12480 | char *kwnames[] = { |
3004cfd8 | 12481 | (char *) "self",(char *) "statusCode", NULL |
cfe5e918 RD |
12482 | }; |
12483 | ||
3004cfd8 RD |
12484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; |
12485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12487 | { | |
12488 | arg2 = (int)(SWIG_As_int(obj1)); | |
12489 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12490 | } | |
cfe5e918 RD |
12491 | { |
12492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12493 | (arg1)->SetStatus(arg2); |
cfe5e918 RD |
12494 | |
12495 | wxPyEndAllowThreads(__tstate); | |
12496 | if (PyErr_Occurred()) SWIG_fail; | |
12497 | } | |
12498 | Py_INCREF(Py_None); resultobj = Py_None; | |
12499 | return resultobj; | |
12500 | fail: | |
12501 | return NULL; | |
12502 | } | |
12503 | ||
12504 | ||
3004cfd8 | 12505 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12506 | PyObject *resultobj; |
12507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12508 | int result; |
cfe5e918 | 12509 | PyObject * obj0 = 0 ; |
cfe5e918 | 12510 | char *kwnames[] = { |
3004cfd8 | 12511 | (char *) "self", NULL |
cfe5e918 RD |
12512 | }; |
12513 | ||
3004cfd8 RD |
12514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; |
12515 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12516 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12517 | { |
12518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12519 | result = (int)(arg1)->GetStatus(); |
cfe5e918 RD |
12520 | |
12521 | wxPyEndAllowThreads(__tstate); | |
12522 | if (PyErr_Occurred()) SWIG_fail; | |
12523 | } | |
3004cfd8 RD |
12524 | { |
12525 | resultobj = SWIG_From_int((int)(result)); | |
12526 | } | |
cfe5e918 RD |
12527 | return resultobj; |
12528 | fail: | |
12529 | return NULL; | |
12530 | } | |
12531 | ||
12532 | ||
3004cfd8 | 12533 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12534 | PyObject *resultobj; |
12535 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12536 | bool arg2 ; |
cfe5e918 RD |
12537 | PyObject * obj0 = 0 ; |
12538 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12539 | char *kwnames[] = { |
3004cfd8 | 12540 | (char *) "self",(char *) "captures", NULL |
cfe5e918 RD |
12541 | }; |
12542 | ||
3004cfd8 RD |
12543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; |
12544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12546 | { | |
12547 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12548 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12549 | } | |
cfe5e918 RD |
12550 | { |
12551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12552 | (arg1)->SetMouseDownCaptures(arg2); |
cfe5e918 RD |
12553 | |
12554 | wxPyEndAllowThreads(__tstate); | |
12555 | if (PyErr_Occurred()) SWIG_fail; | |
12556 | } | |
12557 | Py_INCREF(Py_None); resultobj = Py_None; | |
12558 | return resultobj; | |
12559 | fail: | |
12560 | return NULL; | |
12561 | } | |
12562 | ||
12563 | ||
3004cfd8 | 12564 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12565 | PyObject *resultobj; |
12566 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12567 | bool result; |
cfe5e918 | 12568 | PyObject * obj0 = 0 ; |
cfe5e918 | 12569 | char *kwnames[] = { |
3004cfd8 | 12570 | (char *) "self", NULL |
cfe5e918 RD |
12571 | }; |
12572 | ||
3004cfd8 RD |
12573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; |
12574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12576 | { |
12577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12578 | result = (bool)(arg1)->GetMouseDownCaptures(); |
cfe5e918 RD |
12579 | |
12580 | wxPyEndAllowThreads(__tstate); | |
12581 | if (PyErr_Occurred()) SWIG_fail; | |
12582 | } | |
3004cfd8 RD |
12583 | { |
12584 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12585 | } | |
cfe5e918 RD |
12586 | return resultobj; |
12587 | fail: | |
12588 | return NULL; | |
12589 | } | |
12590 | ||
12591 | ||
3004cfd8 | 12592 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12593 | PyObject *resultobj; |
12594 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12595 | int arg2 ; |
cfe5e918 | 12596 | PyObject * obj0 = 0 ; |
3004cfd8 | 12597 | PyObject * obj1 = 0 ; |
cfe5e918 | 12598 | char *kwnames[] = { |
3004cfd8 | 12599 | (char *) "self",(char *) "cursorType", NULL |
cfe5e918 RD |
12600 | }; |
12601 | ||
3004cfd8 RD |
12602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; |
12603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12605 | { | |
12606 | arg2 = (int)(SWIG_As_int(obj1)); | |
12607 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12608 | } | |
cfe5e918 RD |
12609 | { |
12610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12611 | (arg1)->SetSTCCursor(arg2); |
cfe5e918 RD |
12612 | |
12613 | wxPyEndAllowThreads(__tstate); | |
12614 | if (PyErr_Occurred()) SWIG_fail; | |
12615 | } | |
3004cfd8 | 12616 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12617 | return resultobj; |
12618 | fail: | |
12619 | return NULL; | |
12620 | } | |
12621 | ||
12622 | ||
3004cfd8 | 12623 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12624 | PyObject *resultobj; |
12625 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12626 | int result; |
cfe5e918 | 12627 | PyObject * obj0 = 0 ; |
cfe5e918 | 12628 | char *kwnames[] = { |
3004cfd8 | 12629 | (char *) "self", NULL |
cfe5e918 RD |
12630 | }; |
12631 | ||
3004cfd8 RD |
12632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; |
12633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12635 | { |
12636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12637 | result = (int)(arg1)->GetSTCCursor(); |
cfe5e918 RD |
12638 | |
12639 | wxPyEndAllowThreads(__tstate); | |
12640 | if (PyErr_Occurred()) SWIG_fail; | |
12641 | } | |
3004cfd8 RD |
12642 | { |
12643 | resultobj = SWIG_From_int((int)(result)); | |
12644 | } | |
cfe5e918 RD |
12645 | return resultobj; |
12646 | fail: | |
12647 | return NULL; | |
12648 | } | |
12649 | ||
12650 | ||
3004cfd8 | 12651 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12652 | PyObject *resultobj; |
12653 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12654 | int arg2 ; |
cfe5e918 RD |
12655 | PyObject * obj0 = 0 ; |
12656 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12657 | char *kwnames[] = { |
3004cfd8 | 12658 | (char *) "self",(char *) "symbol", NULL |
cfe5e918 RD |
12659 | }; |
12660 | ||
3004cfd8 RD |
12661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; |
12662 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12663 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 12664 | { |
3004cfd8 RD |
12665 | arg2 = (int)(SWIG_As_int(obj1)); |
12666 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
12667 | } |
12668 | { | |
12669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12670 | (arg1)->SetControlCharSymbol(arg2); |
cfe5e918 RD |
12671 | |
12672 | wxPyEndAllowThreads(__tstate); | |
12673 | if (PyErr_Occurred()) SWIG_fail; | |
12674 | } | |
12675 | Py_INCREF(Py_None); resultobj = Py_None; | |
12676 | return resultobj; | |
12677 | fail: | |
12678 | return NULL; | |
12679 | } | |
12680 | ||
12681 | ||
3004cfd8 | 12682 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12683 | PyObject *resultobj; |
12684 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12685 | int result; |
cfe5e918 | 12686 | PyObject * obj0 = 0 ; |
cfe5e918 | 12687 | char *kwnames[] = { |
3004cfd8 | 12688 | (char *) "self", NULL |
cfe5e918 RD |
12689 | }; |
12690 | ||
3004cfd8 RD |
12691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; |
12692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12694 | { |
12695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12696 | result = (int)(arg1)->GetControlCharSymbol(); |
cfe5e918 RD |
12697 | |
12698 | wxPyEndAllowThreads(__tstate); | |
12699 | if (PyErr_Occurred()) SWIG_fail; | |
12700 | } | |
3004cfd8 RD |
12701 | { |
12702 | resultobj = SWIG_From_int((int)(result)); | |
12703 | } | |
cfe5e918 RD |
12704 | return resultobj; |
12705 | fail: | |
12706 | return NULL; | |
12707 | } | |
12708 | ||
12709 | ||
3004cfd8 | 12710 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12711 | PyObject *resultobj; |
12712 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12713 | PyObject * obj0 = 0 ; |
cfe5e918 | 12714 | char *kwnames[] = { |
3004cfd8 | 12715 | (char *) "self", NULL |
cfe5e918 RD |
12716 | }; |
12717 | ||
3004cfd8 RD |
12718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; |
12719 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12720 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12721 | { |
12722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12723 | (arg1)->WordPartLeft(); |
cfe5e918 RD |
12724 | |
12725 | wxPyEndAllowThreads(__tstate); | |
12726 | if (PyErr_Occurred()) SWIG_fail; | |
12727 | } | |
12728 | Py_INCREF(Py_None); resultobj = Py_None; | |
12729 | return resultobj; | |
12730 | fail: | |
12731 | return NULL; | |
12732 | } | |
12733 | ||
12734 | ||
3004cfd8 | 12735 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12736 | PyObject *resultobj; |
12737 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12738 | PyObject * obj0 = 0 ; | |
12739 | char *kwnames[] = { | |
12740 | (char *) "self", NULL | |
12741 | }; | |
12742 | ||
3004cfd8 RD |
12743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; |
12744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12746 | { |
12747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12748 | (arg1)->WordPartLeftExtend(); |
cfe5e918 RD |
12749 | |
12750 | wxPyEndAllowThreads(__tstate); | |
12751 | if (PyErr_Occurred()) SWIG_fail; | |
12752 | } | |
12753 | Py_INCREF(Py_None); resultobj = Py_None; | |
12754 | return resultobj; | |
12755 | fail: | |
12756 | return NULL; | |
12757 | } | |
12758 | ||
12759 | ||
3004cfd8 | 12760 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12761 | PyObject *resultobj; |
12762 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12763 | PyObject * obj0 = 0 ; | |
12764 | char *kwnames[] = { | |
12765 | (char *) "self", NULL | |
12766 | }; | |
12767 | ||
3004cfd8 RD |
12768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; |
12769 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12770 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12771 | { |
12772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12773 | (arg1)->WordPartRight(); |
cfe5e918 RD |
12774 | |
12775 | wxPyEndAllowThreads(__tstate); | |
12776 | if (PyErr_Occurred()) SWIG_fail; | |
12777 | } | |
12778 | Py_INCREF(Py_None); resultobj = Py_None; | |
12779 | return resultobj; | |
12780 | fail: | |
12781 | return NULL; | |
12782 | } | |
12783 | ||
12784 | ||
3004cfd8 | 12785 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12786 | PyObject *resultobj; |
12787 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12788 | PyObject * obj0 = 0 ; | |
12789 | char *kwnames[] = { | |
12790 | (char *) "self", NULL | |
12791 | }; | |
12792 | ||
3004cfd8 RD |
12793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; |
12794 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12795 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12796 | { |
12797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12798 | (arg1)->WordPartRightExtend(); |
cfe5e918 RD |
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 | ||
3004cfd8 | 12810 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12811 | PyObject *resultobj; |
12812 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
12813 | int arg2 ; |
12814 | int arg3 ; | |
cfe5e918 | 12815 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
12816 | PyObject * obj1 = 0 ; |
12817 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12818 | char *kwnames[] = { |
3004cfd8 | 12819 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL |
cfe5e918 RD |
12820 | }; |
12821 | ||
3004cfd8 RD |
12822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12823 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12824 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12825 | { | |
12826 | arg2 = (int)(SWIG_As_int(obj1)); | |
12827 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12828 | } | |
12829 | { | |
12830 | arg3 = (int)(SWIG_As_int(obj2)); | |
12831 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12832 | } | |
cfe5e918 RD |
12833 | { |
12834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12835 | (arg1)->SetVisiblePolicy(arg2,arg3); |
cfe5e918 RD |
12836 | |
12837 | wxPyEndAllowThreads(__tstate); | |
12838 | if (PyErr_Occurred()) SWIG_fail; | |
12839 | } | |
12840 | Py_INCREF(Py_None); resultobj = Py_None; | |
12841 | return resultobj; | |
12842 | fail: | |
12843 | return NULL; | |
12844 | } | |
12845 | ||
12846 | ||
3004cfd8 | 12847 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12848 | PyObject *resultobj; |
12849 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12850 | PyObject * obj0 = 0 ; |
cfe5e918 | 12851 | char *kwnames[] = { |
3004cfd8 | 12852 | (char *) "self", NULL |
cfe5e918 RD |
12853 | }; |
12854 | ||
3004cfd8 RD |
12855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; |
12856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12858 | { |
12859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12860 | (arg1)->DelLineLeft(); |
cfe5e918 RD |
12861 | |
12862 | wxPyEndAllowThreads(__tstate); | |
12863 | if (PyErr_Occurred()) SWIG_fail; | |
12864 | } | |
3004cfd8 | 12865 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12866 | return resultobj; |
12867 | fail: | |
12868 | return NULL; | |
12869 | } | |
12870 | ||
12871 | ||
3004cfd8 | 12872 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12873 | PyObject *resultobj; |
12874 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12875 | PyObject * obj0 = 0 ; |
cfe5e918 | 12876 | char *kwnames[] = { |
3004cfd8 | 12877 | (char *) "self", NULL |
cfe5e918 RD |
12878 | }; |
12879 | ||
3004cfd8 RD |
12880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; |
12881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12883 | { |
12884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12885 | (arg1)->DelLineRight(); |
cfe5e918 RD |
12886 | |
12887 | wxPyEndAllowThreads(__tstate); | |
12888 | if (PyErr_Occurred()) SWIG_fail; | |
12889 | } | |
3004cfd8 | 12890 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12891 | return resultobj; |
12892 | fail: | |
12893 | return NULL; | |
12894 | } | |
12895 | ||
12896 | ||
3004cfd8 | 12897 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12898 | PyObject *resultobj; |
12899 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12900 | int arg2 ; | |
cfe5e918 RD |
12901 | PyObject * obj0 = 0 ; |
12902 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12903 | char *kwnames[] = { |
3004cfd8 | 12904 | (char *) "self",(char *) "newOffset", NULL |
cfe5e918 RD |
12905 | }; |
12906 | ||
3004cfd8 RD |
12907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; |
12908 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12909 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12910 | { | |
12911 | arg2 = (int)(SWIG_As_int(obj1)); | |
12912 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12913 | } | |
cfe5e918 RD |
12914 | { |
12915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12916 | (arg1)->SetXOffset(arg2); |
cfe5e918 RD |
12917 | |
12918 | wxPyEndAllowThreads(__tstate); | |
12919 | if (PyErr_Occurred()) SWIG_fail; | |
12920 | } | |
12921 | Py_INCREF(Py_None); resultobj = Py_None; | |
12922 | return resultobj; | |
12923 | fail: | |
12924 | return NULL; | |
12925 | } | |
12926 | ||
12927 | ||
3004cfd8 | 12928 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12929 | PyObject *resultobj; |
12930 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12931 | int result; |
cfe5e918 | 12932 | PyObject * obj0 = 0 ; |
cfe5e918 | 12933 | char *kwnames[] = { |
3004cfd8 | 12934 | (char *) "self", NULL |
cfe5e918 RD |
12935 | }; |
12936 | ||
3004cfd8 RD |
12937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; |
12938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12940 | { |
12941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12942 | result = (int)(arg1)->GetXOffset(); |
cfe5e918 RD |
12943 | |
12944 | wxPyEndAllowThreads(__tstate); | |
12945 | if (PyErr_Occurred()) SWIG_fail; | |
12946 | } | |
cfe5e918 | 12947 | { |
3004cfd8 | 12948 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
12949 | } |
12950 | return resultobj; | |
12951 | fail: | |
cfe5e918 RD |
12952 | return NULL; |
12953 | } | |
12954 | ||
12955 | ||
3004cfd8 | 12956 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12957 | PyObject *resultobj; |
12958 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12959 | PyObject * obj0 = 0 ; |
cfe5e918 | 12960 | char *kwnames[] = { |
3004cfd8 | 12961 | (char *) "self", NULL |
cfe5e918 RD |
12962 | }; |
12963 | ||
3004cfd8 RD |
12964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; |
12965 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12966 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12967 | { |
12968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12969 | (arg1)->ChooseCaretX(); |
cfe5e918 RD |
12970 | |
12971 | wxPyEndAllowThreads(__tstate); | |
12972 | if (PyErr_Occurred()) SWIG_fail; | |
12973 | } | |
12974 | Py_INCREF(Py_None); resultobj = Py_None; | |
12975 | return resultobj; | |
12976 | fail: | |
12977 | return NULL; | |
12978 | } | |
12979 | ||
12980 | ||
3004cfd8 | 12981 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12982 | PyObject *resultobj; |
12983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
12984 | int arg2 ; |
12985 | int arg3 ; | |
cfe5e918 | 12986 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
12987 | PyObject * obj1 = 0 ; |
12988 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12989 | char *kwnames[] = { |
3004cfd8 | 12990 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
cfe5e918 RD |
12991 | }; |
12992 | ||
3004cfd8 RD |
12993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12994 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12995 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12996 | { | |
12997 | arg2 = (int)(SWIG_As_int(obj1)); | |
12998 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12999 | } | |
13000 | { | |
13001 | arg3 = (int)(SWIG_As_int(obj2)); | |
13002 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13003 | } | |
cfe5e918 RD |
13004 | { |
13005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13006 | (arg1)->SetXCaretPolicy(arg2,arg3); |
cfe5e918 RD |
13007 | |
13008 | wxPyEndAllowThreads(__tstate); | |
13009 | if (PyErr_Occurred()) SWIG_fail; | |
13010 | } | |
3004cfd8 | 13011 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13012 | return resultobj; |
13013 | fail: | |
13014 | return NULL; | |
13015 | } | |
13016 | ||
13017 | ||
3004cfd8 | 13018 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13019 | PyObject *resultobj; |
13020 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13021 | int arg2 ; | |
3004cfd8 | 13022 | int arg3 ; |
cfe5e918 RD |
13023 | PyObject * obj0 = 0 ; |
13024 | PyObject * obj1 = 0 ; | |
3004cfd8 | 13025 | PyObject * obj2 = 0 ; |
cfe5e918 | 13026 | char *kwnames[] = { |
3004cfd8 | 13027 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
cfe5e918 RD |
13028 | }; |
13029 | ||
3004cfd8 RD |
13030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13033 | { | |
13034 | arg2 = (int)(SWIG_As_int(obj1)); | |
13035 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13036 | } | |
13037 | { | |
13038 | arg3 = (int)(SWIG_As_int(obj2)); | |
13039 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13040 | } | |
cfe5e918 RD |
13041 | { |
13042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13043 | (arg1)->SetYCaretPolicy(arg2,arg3); |
cfe5e918 RD |
13044 | |
13045 | wxPyEndAllowThreads(__tstate); | |
13046 | if (PyErr_Occurred()) SWIG_fail; | |
13047 | } | |
3004cfd8 | 13048 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13049 | return resultobj; |
13050 | fail: | |
13051 | return NULL; | |
13052 | } | |
13053 | ||
13054 | ||
3004cfd8 | 13055 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13056 | PyObject *resultobj; |
13057 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13058 | int arg2 ; | |
cfe5e918 RD |
13059 | PyObject * obj0 = 0 ; |
13060 | PyObject * obj1 = 0 ; | |
13061 | char *kwnames[] = { | |
3004cfd8 | 13062 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
13063 | }; |
13064 | ||
3004cfd8 RD |
13065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; |
13066 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13067 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13068 | { | |
13069 | arg2 = (int)(SWIG_As_int(obj1)); | |
13070 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13071 | } | |
cfe5e918 RD |
13072 | { |
13073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13074 | (arg1)->SetPrintWrapMode(arg2); |
cfe5e918 RD |
13075 | |
13076 | wxPyEndAllowThreads(__tstate); | |
13077 | if (PyErr_Occurred()) SWIG_fail; | |
13078 | } | |
3004cfd8 | 13079 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13080 | return resultobj; |
13081 | fail: | |
13082 | return NULL; | |
13083 | } | |
13084 | ||
13085 | ||
3004cfd8 | 13086 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13087 | PyObject *resultobj; |
13088 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13089 | int result; |
cfe5e918 RD |
13090 | PyObject * obj0 = 0 ; |
13091 | char *kwnames[] = { | |
13092 | (char *) "self", NULL | |
13093 | }; | |
13094 | ||
3004cfd8 RD |
13095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; |
13096 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13097 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13098 | { |
13099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13100 | result = (int)(arg1)->GetPrintWrapMode(); |
cfe5e918 RD |
13101 | |
13102 | wxPyEndAllowThreads(__tstate); | |
13103 | if (PyErr_Occurred()) SWIG_fail; | |
13104 | } | |
3004cfd8 RD |
13105 | { |
13106 | resultobj = SWIG_From_int((int)(result)); | |
13107 | } | |
cfe5e918 RD |
13108 | return resultobj; |
13109 | fail: | |
13110 | return NULL; | |
13111 | } | |
13112 | ||
13113 | ||
3004cfd8 | 13114 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13115 | PyObject *resultobj; |
13116 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13117 | bool arg2 ; |
13118 | wxColour *arg3 = 0 ; | |
13119 | wxColour temp3 ; | |
cfe5e918 | 13120 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13121 | PyObject * obj1 = 0 ; |
13122 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13123 | char *kwnames[] = { |
3004cfd8 | 13124 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
13125 | }; |
13126 | ||
3004cfd8 RD |
13127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13130 | { | |
13131 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13132 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13133 | } | |
13134 | { | |
13135 | arg3 = &temp3; | |
13136 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13137 | } | |
cfe5e918 RD |
13138 | { |
13139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13140 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
13141 | |
13142 | wxPyEndAllowThreads(__tstate); | |
13143 | if (PyErr_Occurred()) SWIG_fail; | |
13144 | } | |
13145 | Py_INCREF(Py_None); resultobj = Py_None; | |
13146 | return resultobj; | |
13147 | fail: | |
13148 | return NULL; | |
13149 | } | |
13150 | ||
13151 | ||
3004cfd8 | 13152 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13153 | PyObject *resultobj; |
13154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13155 | bool arg2 ; |
13156 | wxColour *arg3 = 0 ; | |
13157 | wxColour temp3 ; | |
cfe5e918 | 13158 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13159 | PyObject * obj1 = 0 ; |
13160 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13161 | char *kwnames[] = { |
3004cfd8 | 13162 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
13163 | }; |
13164 | ||
3004cfd8 RD |
13165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13168 | { | |
13169 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13170 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13171 | } | |
13172 | { | |
13173 | arg3 = &temp3; | |
13174 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13175 | } | |
cfe5e918 RD |
13176 | { |
13177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13178 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
13179 | |
13180 | wxPyEndAllowThreads(__tstate); | |
13181 | if (PyErr_Occurred()) SWIG_fail; | |
13182 | } | |
13183 | Py_INCREF(Py_None); resultobj = Py_None; | |
13184 | return resultobj; | |
13185 | fail: | |
13186 | return NULL; | |
13187 | } | |
13188 | ||
13189 | ||
3004cfd8 | 13190 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13191 | PyObject *resultobj; |
13192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13193 | bool arg2 ; |
cfe5e918 | 13194 | PyObject * obj0 = 0 ; |
3004cfd8 | 13195 | PyObject * obj1 = 0 ; |
cfe5e918 | 13196 | char *kwnames[] = { |
3004cfd8 | 13197 | (char *) "self",(char *) "underline", NULL |
cfe5e918 RD |
13198 | }; |
13199 | ||
3004cfd8 RD |
13200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; |
13201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13203 | { | |
13204 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13205 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13206 | } | |
cfe5e918 RD |
13207 | { |
13208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13209 | (arg1)->SetHotspotActiveUnderline(arg2); |
cfe5e918 RD |
13210 | |
13211 | wxPyEndAllowThreads(__tstate); | |
13212 | if (PyErr_Occurred()) SWIG_fail; | |
13213 | } | |
13214 | Py_INCREF(Py_None); resultobj = Py_None; | |
13215 | return resultobj; | |
13216 | fail: | |
13217 | return NULL; | |
13218 | } | |
13219 | ||
13220 | ||
3004cfd8 | 13221 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13222 | PyObject *resultobj; |
13223 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13224 | bool arg2 ; |
cfe5e918 | 13225 | PyObject * obj0 = 0 ; |
3004cfd8 | 13226 | PyObject * obj1 = 0 ; |
cfe5e918 | 13227 | char *kwnames[] = { |
3004cfd8 | 13228 | (char *) "self",(char *) "singleLine", NULL |
cfe5e918 RD |
13229 | }; |
13230 | ||
3004cfd8 RD |
13231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; |
13232 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13233 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13234 | { | |
13235 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13236 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13237 | } | |
cfe5e918 RD |
13238 | { |
13239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13240 | (arg1)->SetHotspotSingleLine(arg2); |
cfe5e918 RD |
13241 | |
13242 | wxPyEndAllowThreads(__tstate); | |
13243 | if (PyErr_Occurred()) SWIG_fail; | |
13244 | } | |
13245 | Py_INCREF(Py_None); resultobj = Py_None; | |
13246 | return resultobj; | |
13247 | fail: | |
13248 | return NULL; | |
13249 | } | |
13250 | ||
13251 | ||
3004cfd8 | 13252 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13253 | PyObject *resultobj; |
13254 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13255 | PyObject * obj0 = 0 ; | |
13256 | char *kwnames[] = { | |
13257 | (char *) "self", NULL | |
13258 | }; | |
13259 | ||
3004cfd8 RD |
13260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; |
13261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13263 | { |
13264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13265 | (arg1)->ParaDown(); |
cfe5e918 RD |
13266 | |
13267 | wxPyEndAllowThreads(__tstate); | |
13268 | if (PyErr_Occurred()) SWIG_fail; | |
13269 | } | |
13270 | Py_INCREF(Py_None); resultobj = Py_None; | |
13271 | return resultobj; | |
13272 | fail: | |
13273 | return NULL; | |
13274 | } | |
13275 | ||
13276 | ||
3004cfd8 | 13277 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13278 | PyObject *resultobj; |
13279 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13280 | PyObject * obj0 = 0 ; | |
13281 | char *kwnames[] = { | |
13282 | (char *) "self", NULL | |
13283 | }; | |
13284 | ||
3004cfd8 RD |
13285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; |
13286 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13287 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13288 | { |
13289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13290 | (arg1)->ParaDownExtend(); |
cfe5e918 RD |
13291 | |
13292 | wxPyEndAllowThreads(__tstate); | |
13293 | if (PyErr_Occurred()) SWIG_fail; | |
13294 | } | |
13295 | Py_INCREF(Py_None); resultobj = Py_None; | |
13296 | return resultobj; | |
13297 | fail: | |
13298 | return NULL; | |
13299 | } | |
13300 | ||
13301 | ||
3004cfd8 | 13302 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13303 | PyObject *resultobj; |
13304 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13305 | PyObject * obj0 = 0 ; | |
13306 | char *kwnames[] = { | |
13307 | (char *) "self", NULL | |
13308 | }; | |
13309 | ||
3004cfd8 RD |
13310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; |
13311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13313 | { |
13314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13315 | (arg1)->ParaUp(); |
cfe5e918 RD |
13316 | |
13317 | wxPyEndAllowThreads(__tstate); | |
13318 | if (PyErr_Occurred()) SWIG_fail; | |
13319 | } | |
13320 | Py_INCREF(Py_None); resultobj = Py_None; | |
13321 | return resultobj; | |
13322 | fail: | |
13323 | return NULL; | |
13324 | } | |
13325 | ||
13326 | ||
3004cfd8 | 13327 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13328 | PyObject *resultobj; |
13329 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13330 | PyObject * obj0 = 0 ; | |
13331 | char *kwnames[] = { | |
13332 | (char *) "self", NULL | |
13333 | }; | |
13334 | ||
3004cfd8 RD |
13335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; |
13336 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13337 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13338 | { |
13339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13340 | (arg1)->ParaUpExtend(); |
cfe5e918 RD |
13341 | |
13342 | wxPyEndAllowThreads(__tstate); | |
13343 | if (PyErr_Occurred()) SWIG_fail; | |
13344 | } | |
13345 | Py_INCREF(Py_None); resultobj = Py_None; | |
13346 | return resultobj; | |
13347 | fail: | |
13348 | return NULL; | |
13349 | } | |
13350 | ||
13351 | ||
3004cfd8 | 13352 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13353 | PyObject *resultobj; |
13354 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13355 | int arg2 ; |
13356 | int result; | |
cfe5e918 | 13357 | PyObject * obj0 = 0 ; |
3004cfd8 | 13358 | PyObject * obj1 = 0 ; |
cfe5e918 | 13359 | char *kwnames[] = { |
3004cfd8 | 13360 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
13361 | }; |
13362 | ||
3004cfd8 RD |
13363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; |
13364 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13365 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13366 | { | |
13367 | arg2 = (int)(SWIG_As_int(obj1)); | |
13368 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13369 | } | |
cfe5e918 RD |
13370 | { |
13371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13372 | result = (int)(arg1)->PositionBefore(arg2); |
cfe5e918 RD |
13373 | |
13374 | wxPyEndAllowThreads(__tstate); | |
13375 | if (PyErr_Occurred()) SWIG_fail; | |
13376 | } | |
3004cfd8 RD |
13377 | { |
13378 | resultobj = SWIG_From_int((int)(result)); | |
13379 | } | |
cfe5e918 RD |
13380 | return resultobj; |
13381 | fail: | |
13382 | return NULL; | |
13383 | } | |
13384 | ||
13385 | ||
3004cfd8 | 13386 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13387 | PyObject *resultobj; |
13388 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13389 | int arg2 ; |
13390 | int result; | |
cfe5e918 | 13391 | PyObject * obj0 = 0 ; |
3004cfd8 | 13392 | PyObject * obj1 = 0 ; |
cfe5e918 | 13393 | char *kwnames[] = { |
3004cfd8 | 13394 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
13395 | }; |
13396 | ||
3004cfd8 RD |
13397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; |
13398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13400 | { | |
13401 | arg2 = (int)(SWIG_As_int(obj1)); | |
13402 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13403 | } | |
cfe5e918 RD |
13404 | { |
13405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13406 | result = (int)(arg1)->PositionAfter(arg2); |
cfe5e918 RD |
13407 | |
13408 | wxPyEndAllowThreads(__tstate); | |
13409 | if (PyErr_Occurred()) SWIG_fail; | |
13410 | } | |
3004cfd8 RD |
13411 | { |
13412 | resultobj = SWIG_From_int((int)(result)); | |
13413 | } | |
cfe5e918 RD |
13414 | return resultobj; |
13415 | fail: | |
13416 | return NULL; | |
13417 | } | |
13418 | ||
13419 | ||
3004cfd8 | 13420 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13421 | PyObject *resultobj; |
13422 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13423 | int arg2 ; |
13424 | int arg3 ; | |
cfe5e918 | 13425 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13426 | PyObject * obj1 = 0 ; |
13427 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13428 | char *kwnames[] = { |
3004cfd8 | 13429 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
13430 | }; |
13431 | ||
3004cfd8 RD |
13432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13435 | { | |
13436 | arg2 = (int)(SWIG_As_int(obj1)); | |
13437 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13438 | } | |
13439 | { | |
13440 | arg3 = (int)(SWIG_As_int(obj2)); | |
13441 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13442 | } | |
cfe5e918 RD |
13443 | { |
13444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13445 | (arg1)->CopyRange(arg2,arg3); |
cfe5e918 RD |
13446 | |
13447 | wxPyEndAllowThreads(__tstate); | |
13448 | if (PyErr_Occurred()) SWIG_fail; | |
13449 | } | |
13450 | Py_INCREF(Py_None); resultobj = Py_None; | |
13451 | return resultobj; | |
13452 | fail: | |
13453 | return NULL; | |
13454 | } | |
13455 | ||
13456 | ||
3004cfd8 | 13457 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13458 | PyObject *resultobj; |
13459 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13460 | int arg2 ; |
13461 | wxString *arg3 = 0 ; | |
13462 | bool temp3 = false ; | |
cfe5e918 | 13463 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13464 | PyObject * obj1 = 0 ; |
13465 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13466 | char *kwnames[] = { |
3004cfd8 | 13467 | (char *) "self",(char *) "length",(char *) "text", NULL |
cfe5e918 RD |
13468 | }; |
13469 | ||
3004cfd8 RD |
13470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13471 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13472 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13473 | { | |
13474 | arg2 = (int)(SWIG_As_int(obj1)); | |
13475 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13476 | } | |
13477 | { | |
13478 | arg3 = wxString_in_helper(obj2); | |
13479 | if (arg3 == NULL) SWIG_fail; | |
13480 | temp3 = true; | |
13481 | } | |
cfe5e918 RD |
13482 | { |
13483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13484 | (arg1)->CopyText(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
13485 | |
13486 | wxPyEndAllowThreads(__tstate); | |
13487 | if (PyErr_Occurred()) SWIG_fail; | |
13488 | } | |
13489 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
13490 | { |
13491 | if (temp3) | |
13492 | delete arg3; | |
13493 | } | |
cfe5e918 RD |
13494 | return resultobj; |
13495 | fail: | |
3004cfd8 RD |
13496 | { |
13497 | if (temp3) | |
13498 | delete arg3; | |
13499 | } | |
cfe5e918 RD |
13500 | return NULL; |
13501 | } | |
13502 | ||
13503 | ||
3004cfd8 | 13504 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13505 | PyObject *resultobj; |
13506 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13507 | int arg2 ; |
cfe5e918 | 13508 | PyObject * obj0 = 0 ; |
3004cfd8 | 13509 | PyObject * obj1 = 0 ; |
cfe5e918 | 13510 | char *kwnames[] = { |
3004cfd8 | 13511 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
13512 | }; |
13513 | ||
3004cfd8 RD |
13514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; |
13515 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13516 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13517 | { | |
13518 | arg2 = (int)(SWIG_As_int(obj1)); | |
13519 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13520 | } | |
cfe5e918 RD |
13521 | { |
13522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13523 | (arg1)->SetSelectionMode(arg2); |
cfe5e918 RD |
13524 | |
13525 | wxPyEndAllowThreads(__tstate); | |
13526 | if (PyErr_Occurred()) SWIG_fail; | |
13527 | } | |
13528 | Py_INCREF(Py_None); resultobj = Py_None; | |
13529 | return resultobj; | |
13530 | fail: | |
13531 | return NULL; | |
13532 | } | |
13533 | ||
13534 | ||
3004cfd8 | 13535 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13536 | PyObject *resultobj; |
13537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13538 | int result; |
cfe5e918 RD |
13539 | PyObject * obj0 = 0 ; |
13540 | char *kwnames[] = { | |
13541 | (char *) "self", NULL | |
13542 | }; | |
13543 | ||
3004cfd8 RD |
13544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; |
13545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13547 | { |
13548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13549 | result = (int)(arg1)->GetSelectionMode(); |
cfe5e918 RD |
13550 | |
13551 | wxPyEndAllowThreads(__tstate); | |
13552 | if (PyErr_Occurred()) SWIG_fail; | |
13553 | } | |
3004cfd8 RD |
13554 | { |
13555 | resultobj = SWIG_From_int((int)(result)); | |
13556 | } | |
cfe5e918 RD |
13557 | return resultobj; |
13558 | fail: | |
13559 | return NULL; | |
13560 | } | |
13561 | ||
13562 | ||
3004cfd8 | 13563 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13564 | PyObject *resultobj; |
13565 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13566 | int arg2 ; |
13567 | int result; | |
cfe5e918 | 13568 | PyObject * obj0 = 0 ; |
3004cfd8 | 13569 | PyObject * obj1 = 0 ; |
cfe5e918 | 13570 | char *kwnames[] = { |
3004cfd8 | 13571 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
13572 | }; |
13573 | ||
3004cfd8 RD |
13574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; |
13575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13577 | { | |
13578 | arg2 = (int)(SWIG_As_int(obj1)); | |
13579 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13580 | } | |
cfe5e918 RD |
13581 | { |
13582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13583 | result = (int)(arg1)->GetLineSelStartPosition(arg2); |
cfe5e918 RD |
13584 | |
13585 | wxPyEndAllowThreads(__tstate); | |
13586 | if (PyErr_Occurred()) SWIG_fail; | |
13587 | } | |
3004cfd8 RD |
13588 | { |
13589 | resultobj = SWIG_From_int((int)(result)); | |
13590 | } | |
cfe5e918 RD |
13591 | return resultobj; |
13592 | fail: | |
13593 | return NULL; | |
13594 | } | |
13595 | ||
13596 | ||
3004cfd8 | 13597 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13598 | PyObject *resultobj; |
13599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13600 | int arg2 ; |
13601 | int result; | |
cfe5e918 | 13602 | PyObject * obj0 = 0 ; |
3004cfd8 | 13603 | PyObject * obj1 = 0 ; |
cfe5e918 | 13604 | char *kwnames[] = { |
3004cfd8 | 13605 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
13606 | }; |
13607 | ||
3004cfd8 RD |
13608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; |
13609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13611 | { | |
13612 | arg2 = (int)(SWIG_As_int(obj1)); | |
13613 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13614 | } | |
cfe5e918 RD |
13615 | { |
13616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13617 | result = (int)(arg1)->GetLineSelEndPosition(arg2); |
cfe5e918 RD |
13618 | |
13619 | wxPyEndAllowThreads(__tstate); | |
13620 | if (PyErr_Occurred()) SWIG_fail; | |
13621 | } | |
3004cfd8 RD |
13622 | { |
13623 | resultobj = SWIG_From_int((int)(result)); | |
13624 | } | |
cfe5e918 RD |
13625 | return resultobj; |
13626 | fail: | |
13627 | return NULL; | |
13628 | } | |
13629 | ||
13630 | ||
3004cfd8 | 13631 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13632 | PyObject *resultobj; |
13633 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13634 | PyObject * obj0 = 0 ; |
cfe5e918 | 13635 | char *kwnames[] = { |
3004cfd8 | 13636 | (char *) "self", NULL |
cfe5e918 RD |
13637 | }; |
13638 | ||
3004cfd8 RD |
13639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; |
13640 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13641 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13642 | { |
13643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13644 | (arg1)->LineDownRectExtend(); |
cfe5e918 RD |
13645 | |
13646 | wxPyEndAllowThreads(__tstate); | |
13647 | if (PyErr_Occurred()) SWIG_fail; | |
13648 | } | |
13649 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13650 | return resultobj; |
13651 | fail: | |
cfe5e918 RD |
13652 | return NULL; |
13653 | } | |
13654 | ||
13655 | ||
3004cfd8 | 13656 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13657 | PyObject *resultobj; |
13658 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13659 | PyObject * obj0 = 0 ; | |
13660 | char *kwnames[] = { | |
13661 | (char *) "self", NULL | |
13662 | }; | |
13663 | ||
3004cfd8 RD |
13664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; |
13665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13667 | { |
13668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13669 | (arg1)->LineUpRectExtend(); |
cfe5e918 RD |
13670 | |
13671 | wxPyEndAllowThreads(__tstate); | |
13672 | if (PyErr_Occurred()) SWIG_fail; | |
13673 | } | |
13674 | Py_INCREF(Py_None); resultobj = Py_None; | |
13675 | return resultobj; | |
13676 | fail: | |
13677 | return NULL; | |
13678 | } | |
13679 | ||
13680 | ||
3004cfd8 | 13681 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13682 | PyObject *resultobj; |
13683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
13684 | PyObject * obj0 = 0 ; |
13685 | char *kwnames[] = { | |
13686 | (char *) "self", NULL | |
13687 | }; | |
13688 | ||
3004cfd8 RD |
13689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; |
13690 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13691 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13692 | { |
13693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13694 | (arg1)->CharLeftRectExtend(); |
cfe5e918 RD |
13695 | |
13696 | wxPyEndAllowThreads(__tstate); | |
13697 | if (PyErr_Occurred()) SWIG_fail; | |
13698 | } | |
3004cfd8 | 13699 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13700 | return resultobj; |
13701 | fail: | |
13702 | return NULL; | |
13703 | } | |
13704 | ||
13705 | ||
3004cfd8 | 13706 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
13707 | PyObject *resultobj; |
13708 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
b6294124 | 13709 | PyObject * obj0 = 0 ; |
b6294124 | 13710 | char *kwnames[] = { |
3004cfd8 | 13711 | (char *) "self", NULL |
b6294124 RD |
13712 | }; |
13713 | ||
3004cfd8 RD |
13714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; |
13715 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13716 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b6294124 RD |
13717 | { |
13718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13719 | (arg1)->CharRightRectExtend(); |
b6294124 RD |
13720 | |
13721 | wxPyEndAllowThreads(__tstate); | |
13722 | if (PyErr_Occurred()) SWIG_fail; | |
13723 | } | |
13724 | Py_INCREF(Py_None); resultobj = Py_None; | |
13725 | return resultobj; | |
13726 | fail: | |
13727 | return NULL; | |
13728 | } | |
13729 | ||
13730 | ||
3004cfd8 | 13731 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13732 | PyObject *resultobj; |
13733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13734 | PyObject * obj0 = 0 ; | |
13735 | char *kwnames[] = { | |
13736 | (char *) "self", NULL | |
13737 | }; | |
13738 | ||
3004cfd8 RD |
13739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; |
13740 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13741 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13742 | { |
13743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13744 | (arg1)->HomeRectExtend(); |
cfe5e918 RD |
13745 | |
13746 | wxPyEndAllowThreads(__tstate); | |
13747 | if (PyErr_Occurred()) SWIG_fail; | |
13748 | } | |
13749 | Py_INCREF(Py_None); resultobj = Py_None; | |
13750 | return resultobj; | |
13751 | fail: | |
13752 | return NULL; | |
13753 | } | |
13754 | ||
13755 | ||
3004cfd8 | 13756 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13757 | PyObject *resultobj; |
13758 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13759 | PyObject * obj0 = 0 ; | |
13760 | char *kwnames[] = { | |
13761 | (char *) "self", NULL | |
13762 | }; | |
13763 | ||
3004cfd8 RD |
13764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; |
13765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13767 | { |
13768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13769 | (arg1)->VCHomeRectExtend(); |
cfe5e918 RD |
13770 | |
13771 | wxPyEndAllowThreads(__tstate); | |
13772 | if (PyErr_Occurred()) SWIG_fail; | |
13773 | } | |
13774 | Py_INCREF(Py_None); resultobj = Py_None; | |
13775 | return resultobj; | |
13776 | fail: | |
13777 | return NULL; | |
13778 | } | |
13779 | ||
13780 | ||
3004cfd8 | 13781 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13782 | PyObject *resultobj; |
13783 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13784 | PyObject * obj0 = 0 ; |
cfe5e918 | 13785 | char *kwnames[] = { |
3004cfd8 | 13786 | (char *) "self", NULL |
cfe5e918 RD |
13787 | }; |
13788 | ||
3004cfd8 RD |
13789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; |
13790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13792 | { |
13793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13794 | (arg1)->LineEndRectExtend(); |
cfe5e918 RD |
13795 | |
13796 | wxPyEndAllowThreads(__tstate); | |
13797 | if (PyErr_Occurred()) SWIG_fail; | |
13798 | } | |
13799 | Py_INCREF(Py_None); resultobj = Py_None; | |
13800 | return resultobj; | |
13801 | fail: | |
13802 | return NULL; | |
13803 | } | |
13804 | ||
13805 | ||
3004cfd8 | 13806 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13807 | PyObject *resultobj; |
13808 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
13809 | PyObject * obj0 = 0 ; |
13810 | char *kwnames[] = { | |
13811 | (char *) "self", NULL | |
13812 | }; | |
13813 | ||
3004cfd8 RD |
13814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; |
13815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13817 | { |
13818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13819 | (arg1)->PageUpRectExtend(); |
cfe5e918 RD |
13820 | |
13821 | wxPyEndAllowThreads(__tstate); | |
13822 | if (PyErr_Occurred()) SWIG_fail; | |
13823 | } | |
3004cfd8 | 13824 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13825 | return resultobj; |
13826 | fail: | |
13827 | return NULL; | |
13828 | } | |
13829 | ||
13830 | ||
3004cfd8 | 13831 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13832 | PyObject *resultobj; |
13833 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13834 | PyObject * obj0 = 0 ; |
cfe5e918 | 13835 | char *kwnames[] = { |
3004cfd8 | 13836 | (char *) "self", NULL |
cfe5e918 RD |
13837 | }; |
13838 | ||
3004cfd8 RD |
13839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; |
13840 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13841 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13842 | { |
13843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13844 | (arg1)->PageDownRectExtend(); |
cfe5e918 RD |
13845 | |
13846 | wxPyEndAllowThreads(__tstate); | |
13847 | if (PyErr_Occurred()) SWIG_fail; | |
13848 | } | |
13849 | Py_INCREF(Py_None); resultobj = Py_None; | |
13850 | return resultobj; | |
13851 | fail: | |
13852 | return NULL; | |
13853 | } | |
13854 | ||
13855 | ||
3004cfd8 | 13856 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13857 | PyObject *resultobj; |
13858 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13859 | PyObject * obj0 = 0 ; |
cfe5e918 | 13860 | char *kwnames[] = { |
3004cfd8 | 13861 | (char *) "self", NULL |
cfe5e918 RD |
13862 | }; |
13863 | ||
3004cfd8 RD |
13864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; |
13865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13867 | { |
13868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13869 | (arg1)->StutteredPageUp(); |
cfe5e918 RD |
13870 | |
13871 | wxPyEndAllowThreads(__tstate); | |
13872 | if (PyErr_Occurred()) SWIG_fail; | |
13873 | } | |
13874 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13875 | return resultobj; |
13876 | fail: | |
cfe5e918 RD |
13877 | return NULL; |
13878 | } | |
13879 | ||
13880 | ||
3004cfd8 | 13881 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13882 | PyObject *resultobj; |
13883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13884 | PyObject * obj0 = 0 ; |
cfe5e918 | 13885 | char *kwnames[] = { |
3004cfd8 | 13886 | (char *) "self", NULL |
cfe5e918 RD |
13887 | }; |
13888 | ||
3004cfd8 RD |
13889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; |
13890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13892 | { |
13893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13894 | (arg1)->StutteredPageUpExtend(); |
cfe5e918 RD |
13895 | |
13896 | wxPyEndAllowThreads(__tstate); | |
13897 | if (PyErr_Occurred()) SWIG_fail; | |
13898 | } | |
13899 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13900 | return resultobj; |
13901 | fail: | |
cfe5e918 RD |
13902 | return NULL; |
13903 | } | |
13904 | ||
13905 | ||
3004cfd8 | 13906 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13907 | PyObject *resultobj; |
13908 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13909 | PyObject * obj0 = 0 ; |
cfe5e918 | 13910 | char *kwnames[] = { |
3004cfd8 | 13911 | (char *) "self", NULL |
cfe5e918 RD |
13912 | }; |
13913 | ||
3004cfd8 RD |
13914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; |
13915 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13916 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13917 | { |
13918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13919 | (arg1)->StutteredPageDown(); |
cfe5e918 RD |
13920 | |
13921 | wxPyEndAllowThreads(__tstate); | |
13922 | if (PyErr_Occurred()) SWIG_fail; | |
13923 | } | |
13924 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13925 | return resultobj; |
13926 | fail: | |
cfe5e918 RD |
13927 | return NULL; |
13928 | } | |
13929 | ||
13930 | ||
3004cfd8 | 13931 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13932 | PyObject *resultobj; |
13933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
13934 | PyObject * obj0 = 0 ; |
13935 | char *kwnames[] = { | |
13936 | (char *) "self", NULL | |
13937 | }; | |
13938 | ||
3004cfd8 RD |
13939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; |
13940 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13941 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13942 | { |
13943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13944 | (arg1)->StutteredPageDownExtend(); |
cfe5e918 RD |
13945 | |
13946 | wxPyEndAllowThreads(__tstate); | |
13947 | if (PyErr_Occurred()) SWIG_fail; | |
13948 | } | |
3004cfd8 | 13949 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13950 | return resultobj; |
13951 | fail: | |
13952 | return NULL; | |
13953 | } | |
13954 | ||
13955 | ||
3004cfd8 | 13956 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13957 | PyObject *resultobj; |
13958 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13959 | PyObject * obj0 = 0 ; |
cfe5e918 | 13960 | char *kwnames[] = { |
3004cfd8 | 13961 | (char *) "self", NULL |
cfe5e918 RD |
13962 | }; |
13963 | ||
3004cfd8 RD |
13964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; |
13965 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13966 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13967 | { |
13968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13969 | (arg1)->WordLeftEnd(); |
cfe5e918 RD |
13970 | |
13971 | wxPyEndAllowThreads(__tstate); | |
13972 | if (PyErr_Occurred()) SWIG_fail; | |
13973 | } | |
13974 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13975 | return resultobj; |
13976 | fail: | |
cfe5e918 RD |
13977 | return NULL; |
13978 | } | |
13979 | ||
13980 | ||
3004cfd8 | 13981 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13982 | PyObject *resultobj; |
13983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13984 | PyObject * obj0 = 0 ; |
cfe5e918 | 13985 | char *kwnames[] = { |
3004cfd8 | 13986 | (char *) "self", NULL |
cfe5e918 RD |
13987 | }; |
13988 | ||
3004cfd8 RD |
13989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; |
13990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13992 | { |
13993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13994 | (arg1)->WordLeftEndExtend(); |
cfe5e918 RD |
13995 | |
13996 | wxPyEndAllowThreads(__tstate); | |
13997 | if (PyErr_Occurred()) SWIG_fail; | |
13998 | } | |
13999 | Py_INCREF(Py_None); resultobj = Py_None; | |
14000 | return resultobj; | |
14001 | fail: | |
14002 | return NULL; | |
14003 | } | |
14004 | ||
14005 | ||
3004cfd8 | 14006 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14007 | PyObject *resultobj; |
14008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14009 | PyObject * obj0 = 0 ; |
cfe5e918 | 14010 | char *kwnames[] = { |
3004cfd8 | 14011 | (char *) "self", NULL |
cfe5e918 RD |
14012 | }; |
14013 | ||
3004cfd8 RD |
14014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; |
14015 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14016 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14017 | { |
14018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14019 | (arg1)->WordRightEnd(); |
cfe5e918 RD |
14020 | |
14021 | wxPyEndAllowThreads(__tstate); | |
14022 | if (PyErr_Occurred()) SWIG_fail; | |
14023 | } | |
14024 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
14025 | return resultobj; |
14026 | fail: | |
cfe5e918 RD |
14027 | return NULL; |
14028 | } | |
14029 | ||
14030 | ||
3004cfd8 | 14031 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14032 | PyObject *resultobj; |
14033 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14034 | PyObject * obj0 = 0 ; |
cfe5e918 | 14035 | char *kwnames[] = { |
3004cfd8 | 14036 | (char *) "self", NULL |
cfe5e918 RD |
14037 | }; |
14038 | ||
3004cfd8 RD |
14039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; |
14040 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14041 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14042 | { |
14043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14044 | (arg1)->WordRightEndExtend(); |
cfe5e918 RD |
14045 | |
14046 | wxPyEndAllowThreads(__tstate); | |
14047 | if (PyErr_Occurred()) SWIG_fail; | |
14048 | } | |
14049 | Py_INCREF(Py_None); resultobj = Py_None; | |
14050 | return resultobj; | |
14051 | fail: | |
14052 | return NULL; | |
14053 | } | |
14054 | ||
14055 | ||
3004cfd8 | 14056 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14057 | PyObject *resultobj; |
14058 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14059 | wxString *arg2 = 0 ; |
14060 | bool temp2 = false ; | |
cfe5e918 RD |
14061 | PyObject * obj0 = 0 ; |
14062 | PyObject * obj1 = 0 ; | |
cfe5e918 | 14063 | char *kwnames[] = { |
3004cfd8 | 14064 | (char *) "self",(char *) "characters", NULL |
cfe5e918 RD |
14065 | }; |
14066 | ||
3004cfd8 RD |
14067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; |
14068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14070 | { | |
14071 | arg2 = wxString_in_helper(obj1); | |
14072 | if (arg2 == NULL) SWIG_fail; | |
14073 | temp2 = true; | |
14074 | } | |
cfe5e918 RD |
14075 | { |
14076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14077 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); |
cfe5e918 RD |
14078 | |
14079 | wxPyEndAllowThreads(__tstate); | |
14080 | if (PyErr_Occurred()) SWIG_fail; | |
14081 | } | |
14082 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
14083 | { |
14084 | if (temp2) | |
14085 | delete arg2; | |
14086 | } | |
cfe5e918 RD |
14087 | return resultobj; |
14088 | fail: | |
3004cfd8 RD |
14089 | { |
14090 | if (temp2) | |
14091 | delete arg2; | |
14092 | } | |
cfe5e918 RD |
14093 | return NULL; |
14094 | } | |
14095 | ||
14096 | ||
3004cfd8 | 14097 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14098 | PyObject *resultobj; |
14099 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
14100 | PyObject * obj0 = 0 ; |
14101 | char *kwnames[] = { | |
14102 | (char *) "self", NULL | |
14103 | }; | |
14104 | ||
3004cfd8 RD |
14105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; |
14106 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14107 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14108 | { |
14109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14110 | (arg1)->SetCharsDefault(); |
cfe5e918 RD |
14111 | |
14112 | wxPyEndAllowThreads(__tstate); | |
14113 | if (PyErr_Occurred()) SWIG_fail; | |
14114 | } | |
14115 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
14116 | return resultobj; |
14117 | fail: | |
14118 | return NULL; | |
14119 | } | |
14120 | ||
14121 | ||
3004cfd8 | 14122 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14123 | PyObject *resultobj; |
14124 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 14125 | int result; |
cfe5e918 | 14126 | PyObject * obj0 = 0 ; |
cfe5e918 | 14127 | char *kwnames[] = { |
3004cfd8 | 14128 | (char *) "self", NULL |
cfe5e918 RD |
14129 | }; |
14130 | ||
3004cfd8 RD |
14131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; |
14132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14134 | { |
14135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14136 | result = (int)(arg1)->AutoCompGetCurrent(); |
cfe5e918 RD |
14137 | |
14138 | wxPyEndAllowThreads(__tstate); | |
14139 | if (PyErr_Occurred()) SWIG_fail; | |
14140 | } | |
14141 | { | |
3004cfd8 | 14142 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
14143 | } |
14144 | return resultobj; | |
14145 | fail: | |
14146 | return NULL; | |
14147 | } | |
14148 | ||
14149 | ||
3004cfd8 | 14150 | static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14151 | PyObject *resultobj; |
14152 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14153 | int arg2 ; | |
14154 | PyObject * obj0 = 0 ; | |
14155 | PyObject * obj1 = 0 ; | |
14156 | char *kwnames[] = { | |
3004cfd8 | 14157 | (char *) "self",(char *) "bytes", NULL |
cfe5e918 RD |
14158 | }; |
14159 | ||
3004cfd8 RD |
14160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail; |
14161 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14162 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14163 | { | |
14164 | arg2 = (int)(SWIG_As_int(obj1)); | |
14165 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14166 | } | |
cfe5e918 RD |
14167 | { |
14168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14169 | (arg1)->Allocate(arg2); |
cfe5e918 RD |
14170 | |
14171 | wxPyEndAllowThreads(__tstate); | |
14172 | if (PyErr_Occurred()) SWIG_fail; | |
14173 | } | |
14174 | Py_INCREF(Py_None); resultobj = Py_None; | |
14175 | return resultobj; | |
14176 | fail: | |
14177 | return NULL; | |
14178 | } | |
14179 | ||
14180 | ||
e8d51145 RD |
14181 | static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
14182 | PyObject *resultobj; | |
14183 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14184 | int arg2 ; | |
14185 | int arg3 ; | |
14186 | int result; | |
14187 | PyObject * obj0 = 0 ; | |
14188 | PyObject * obj1 = 0 ; | |
14189 | PyObject * obj2 = 0 ; | |
14190 | char *kwnames[] = { | |
14191 | (char *) "self",(char *) "line",(char *) "column", NULL | |
14192 | }; | |
14193 | ||
14194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14197 | { | |
14198 | arg2 = (int)(SWIG_As_int(obj1)); | |
14199 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14200 | } | |
14201 | { | |
14202 | arg3 = (int)(SWIG_As_int(obj2)); | |
14203 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14204 | } | |
14205 | { | |
14206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14207 | result = (int)(arg1)->FindColumn(arg2,arg3); | |
14208 | ||
14209 | wxPyEndAllowThreads(__tstate); | |
14210 | if (PyErr_Occurred()) SWIG_fail; | |
14211 | } | |
14212 | { | |
14213 | resultobj = SWIG_From_int((int)(result)); | |
14214 | } | |
14215 | return resultobj; | |
14216 | fail: | |
14217 | return NULL; | |
14218 | } | |
14219 | ||
14220 | ||
3004cfd8 | 14221 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14222 | PyObject *resultobj; |
14223 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14224 | PyObject * obj0 = 0 ; |
cfe5e918 | 14225 | char *kwnames[] = { |
3004cfd8 | 14226 | (char *) "self", NULL |
cfe5e918 RD |
14227 | }; |
14228 | ||
3004cfd8 RD |
14229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; |
14230 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14231 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14232 | { |
14233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14234 | (arg1)->StartRecord(); |
cfe5e918 RD |
14235 | |
14236 | wxPyEndAllowThreads(__tstate); | |
14237 | if (PyErr_Occurred()) SWIG_fail; | |
14238 | } | |
14239 | Py_INCREF(Py_None); resultobj = Py_None; | |
14240 | return resultobj; | |
14241 | fail: | |
14242 | return NULL; | |
14243 | } | |
14244 | ||
14245 | ||
3004cfd8 | 14246 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14247 | PyObject *resultobj; |
14248 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14249 | PyObject * obj0 = 0 ; |
cfe5e918 | 14250 | char *kwnames[] = { |
3004cfd8 | 14251 | (char *) "self", NULL |
cfe5e918 RD |
14252 | }; |
14253 | ||
3004cfd8 RD |
14254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; |
14255 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14256 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14257 | { |
14258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14259 | (arg1)->StopRecord(); |
cfe5e918 RD |
14260 | |
14261 | wxPyEndAllowThreads(__tstate); | |
14262 | if (PyErr_Occurred()) SWIG_fail; | |
14263 | } | |
3004cfd8 | 14264 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14265 | return resultobj; |
14266 | fail: | |
14267 | return NULL; | |
14268 | } | |
14269 | ||
14270 | ||
3004cfd8 | 14271 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14272 | PyObject *resultobj; |
14273 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 14274 | int arg2 ; |
cfe5e918 RD |
14275 | PyObject * obj0 = 0 ; |
14276 | PyObject * obj1 = 0 ; | |
14277 | char *kwnames[] = { | |
3004cfd8 | 14278 | (char *) "self",(char *) "lexer", NULL |
cfe5e918 RD |
14279 | }; |
14280 | ||
3004cfd8 RD |
14281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; |
14282 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14283 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14284 | { | |
14285 | arg2 = (int)(SWIG_As_int(obj1)); | |
14286 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14287 | } | |
cfe5e918 RD |
14288 | { |
14289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14290 | (arg1)->SetLexer(arg2); |
cfe5e918 RD |
14291 | |
14292 | wxPyEndAllowThreads(__tstate); | |
14293 | if (PyErr_Occurred()) SWIG_fail; | |
14294 | } | |
14295 | Py_INCREF(Py_None); resultobj = Py_None; | |
14296 | return resultobj; | |
14297 | fail: | |
14298 | return NULL; | |
14299 | } | |
14300 | ||
14301 | ||
3004cfd8 | 14302 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14303 | PyObject *resultobj; |
14304 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 14305 | int result; |
cfe5e918 | 14306 | PyObject * obj0 = 0 ; |
cfe5e918 | 14307 | char *kwnames[] = { |
3004cfd8 | 14308 | (char *) "self", NULL |
cfe5e918 RD |
14309 | }; |
14310 | ||
3004cfd8 RD |
14311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; |
14312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14314 | { |
14315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14316 | result = (int)(arg1)->GetLexer(); |
cfe5e918 RD |
14317 | |
14318 | wxPyEndAllowThreads(__tstate); | |
14319 | if (PyErr_Occurred()) SWIG_fail; | |
14320 | } | |
3004cfd8 RD |
14321 | { |
14322 | resultobj = SWIG_From_int((int)(result)); | |
14323 | } | |
cfe5e918 RD |
14324 | return resultobj; |
14325 | fail: | |
14326 | return NULL; | |
14327 | } | |
14328 | ||
14329 | ||
3004cfd8 | 14330 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14331 | PyObject *resultobj; |
14332 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14333 | int arg2 ; |
14334 | int arg3 ; | |
cfe5e918 | 14335 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
14336 | PyObject * obj1 = 0 ; |
14337 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14338 | char *kwnames[] = { |
3004cfd8 | 14339 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
14340 | }; |
14341 | ||
3004cfd8 RD |
14342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14343 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14344 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14345 | { | |
14346 | arg2 = (int)(SWIG_As_int(obj1)); | |
14347 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14348 | } | |
14349 | { | |
14350 | arg3 = (int)(SWIG_As_int(obj2)); | |
14351 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14352 | } | |
cfe5e918 RD |
14353 | { |
14354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14355 | (arg1)->Colourise(arg2,arg3); |
cfe5e918 RD |
14356 | |
14357 | wxPyEndAllowThreads(__tstate); | |
14358 | if (PyErr_Occurred()) SWIG_fail; | |
14359 | } | |
3004cfd8 | 14360 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14361 | return resultobj; |
14362 | fail: | |
14363 | return NULL; | |
14364 | } | |
14365 | ||
14366 | ||
3004cfd8 | 14367 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14368 | PyObject *resultobj; |
14369 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14370 | wxString *arg2 = 0 ; |
14371 | wxString *arg3 = 0 ; | |
14372 | bool temp2 = false ; | |
14373 | bool temp3 = false ; | |
cfe5e918 RD |
14374 | PyObject * obj0 = 0 ; |
14375 | PyObject * obj1 = 0 ; | |
3004cfd8 | 14376 | PyObject * obj2 = 0 ; |
cfe5e918 | 14377 | char *kwnames[] = { |
3004cfd8 | 14378 | (char *) "self",(char *) "key",(char *) "value", NULL |
cfe5e918 RD |
14379 | }; |
14380 | ||
3004cfd8 RD |
14381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14384 | { | |
14385 | arg2 = wxString_in_helper(obj1); | |
14386 | if (arg2 == NULL) SWIG_fail; | |
14387 | temp2 = true; | |
14388 | } | |
14389 | { | |
14390 | arg3 = wxString_in_helper(obj2); | |
14391 | if (arg3 == NULL) SWIG_fail; | |
14392 | temp3 = true; | |
14393 | } | |
cfe5e918 RD |
14394 | { |
14395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14396 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14397 | |
14398 | wxPyEndAllowThreads(__tstate); | |
14399 | if (PyErr_Occurred()) SWIG_fail; | |
14400 | } | |
14401 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
14402 | { |
14403 | if (temp2) | |
14404 | delete arg2; | |
14405 | } | |
14406 | { | |
14407 | if (temp3) | |
14408 | delete arg3; | |
14409 | } | |
cfe5e918 RD |
14410 | return resultobj; |
14411 | fail: | |
3004cfd8 RD |
14412 | { |
14413 | if (temp2) | |
14414 | delete arg2; | |
14415 | } | |
14416 | { | |
14417 | if (temp3) | |
14418 | delete arg3; | |
14419 | } | |
cfe5e918 RD |
14420 | return NULL; |
14421 | } | |
14422 | ||
14423 | ||
3004cfd8 | 14424 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14425 | PyObject *resultobj; |
14426 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14427 | int arg2 ; |
14428 | wxString *arg3 = 0 ; | |
14429 | bool temp3 = false ; | |
cfe5e918 RD |
14430 | PyObject * obj0 = 0 ; |
14431 | PyObject * obj1 = 0 ; | |
3004cfd8 | 14432 | PyObject * obj2 = 0 ; |
cfe5e918 | 14433 | char *kwnames[] = { |
3004cfd8 | 14434 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL |
cfe5e918 RD |
14435 | }; |
14436 | ||
3004cfd8 RD |
14437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14438 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14439 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14440 | { |
3004cfd8 RD |
14441 | arg2 = (int)(SWIG_As_int(obj1)); |
14442 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14443 | } | |
14444 | { | |
14445 | arg3 = wxString_in_helper(obj2); | |
14446 | if (arg3 == NULL) SWIG_fail; | |
14447 | temp3 = true; | |
cfe5e918 RD |
14448 | } |
14449 | { | |
14450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14451 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14452 | |
14453 | wxPyEndAllowThreads(__tstate); | |
14454 | if (PyErr_Occurred()) SWIG_fail; | |
14455 | } | |
3004cfd8 | 14456 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14457 | { |
3004cfd8 RD |
14458 | if (temp3) |
14459 | delete arg3; | |
cfe5e918 RD |
14460 | } |
14461 | return resultobj; | |
14462 | fail: | |
14463 | { | |
3004cfd8 RD |
14464 | if (temp3) |
14465 | delete arg3; | |
cfe5e918 RD |
14466 | } |
14467 | return NULL; | |
14468 | } | |
14469 | ||
14470 | ||
3004cfd8 | 14471 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14472 | PyObject *resultobj; |
14473 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14474 | wxString *arg2 = 0 ; | |
ae8162c8 | 14475 | bool temp2 = false ; |
cfe5e918 RD |
14476 | PyObject * obj0 = 0 ; |
14477 | PyObject * obj1 = 0 ; | |
14478 | char *kwnames[] = { | |
3004cfd8 | 14479 | (char *) "self",(char *) "language", NULL |
cfe5e918 RD |
14480 | }; |
14481 | ||
3004cfd8 RD |
14482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; |
14483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14485 | { |
14486 | arg2 = wxString_in_helper(obj1); | |
14487 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14488 | temp2 = true; |
cfe5e918 RD |
14489 | } |
14490 | { | |
14491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14492 | (arg1)->SetLexerLanguage((wxString const &)*arg2); |
cfe5e918 RD |
14493 | |
14494 | wxPyEndAllowThreads(__tstate); | |
14495 | if (PyErr_Occurred()) SWIG_fail; | |
14496 | } | |
3004cfd8 | 14497 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14498 | { |
14499 | if (temp2) | |
14500 | delete arg2; | |
14501 | } | |
14502 | return resultobj; | |
14503 | fail: | |
14504 | { | |
14505 | if (temp2) | |
14506 | delete arg2; | |
14507 | } | |
14508 | return NULL; | |
14509 | } | |
14510 | ||
14511 | ||
3004cfd8 | 14512 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14513 | PyObject *resultobj; |
14514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
14515 | int result; |
14516 | PyObject * obj0 = 0 ; | |
cfe5e918 | 14517 | char *kwnames[] = { |
3004cfd8 | 14518 | (char *) "self", NULL |
cfe5e918 RD |
14519 | }; |
14520 | ||
3004cfd8 RD |
14521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; |
14522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14524 | { |
14525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14526 | result = (int)(arg1)->GetCurrentLine(); |
cfe5e918 RD |
14527 | |
14528 | wxPyEndAllowThreads(__tstate); | |
14529 | if (PyErr_Occurred()) SWIG_fail; | |
14530 | } | |
3004cfd8 RD |
14531 | { |
14532 | resultobj = SWIG_From_int((int)(result)); | |
14533 | } | |
cfe5e918 RD |
14534 | return resultobj; |
14535 | fail: | |
14536 | return NULL; | |
14537 | } | |
14538 | ||
14539 | ||
3004cfd8 | 14540 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14541 | PyObject *resultobj; |
14542 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14543 | int arg2 ; |
14544 | wxString *arg3 = 0 ; | |
14545 | bool temp3 = false ; | |
cfe5e918 RD |
14546 | PyObject * obj0 = 0 ; |
14547 | PyObject * obj1 = 0 ; | |
14548 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14549 | char *kwnames[] = { |
3004cfd8 | 14550 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL |
cfe5e918 RD |
14551 | }; |
14552 | ||
3004cfd8 RD |
14553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14554 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14555 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14556 | { |
3004cfd8 RD |
14557 | arg2 = (int)(SWIG_As_int(obj1)); |
14558 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14559 | } | |
14560 | { | |
14561 | arg3 = wxString_in_helper(obj2); | |
14562 | if (arg3 == NULL) SWIG_fail; | |
14563 | temp3 = true; | |
cfe5e918 RD |
14564 | } |
14565 | { | |
14566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14567 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14568 | |
14569 | wxPyEndAllowThreads(__tstate); | |
14570 | if (PyErr_Occurred()) SWIG_fail; | |
14571 | } | |
3004cfd8 | 14572 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14573 | { |
3004cfd8 RD |
14574 | if (temp3) |
14575 | delete arg3; | |
cfe5e918 RD |
14576 | } |
14577 | return resultobj; | |
14578 | fail: | |
14579 | { | |
3004cfd8 RD |
14580 | if (temp3) |
14581 | delete arg3; | |
cfe5e918 RD |
14582 | } |
14583 | return NULL; | |
14584 | } | |
14585 | ||
14586 | ||
3004cfd8 | 14587 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14588 | PyObject *resultobj; |
14589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14590 | int arg2 ; |
14591 | wxFont *arg3 = 0 ; | |
cfe5e918 RD |
14592 | PyObject * obj0 = 0 ; |
14593 | PyObject * obj1 = 0 ; | |
3004cfd8 | 14594 | PyObject * obj2 = 0 ; |
cfe5e918 | 14595 | char *kwnames[] = { |
3004cfd8 | 14596 | (char *) "self",(char *) "styleNum",(char *) "font", NULL |
cfe5e918 RD |
14597 | }; |
14598 | ||
3004cfd8 RD |
14599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14602 | { | |
14603 | arg2 = (int)(SWIG_As_int(obj1)); | |
14604 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14605 | } | |
14606 | { | |
14607 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
14608 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14609 | if (arg3 == NULL) { | |
14610 | SWIG_null_ref("wxFont"); | |
14611 | } | |
14612 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14613 | } | |
cfe5e918 RD |
14614 | { |
14615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14616 | (arg1)->StyleSetFont(arg2,*arg3); |
cfe5e918 RD |
14617 | |
14618 | wxPyEndAllowThreads(__tstate); | |
14619 | if (PyErr_Occurred()) SWIG_fail; | |
14620 | } | |
14621 | Py_INCREF(Py_None); resultobj = Py_None; | |
14622 | return resultobj; | |
14623 | fail: | |
14624 | return NULL; | |
14625 | } | |
14626 | ||
14627 | ||
3004cfd8 | 14628 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14629 | PyObject *resultobj; |
14630 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14631 | int arg2 ; |
14632 | int arg3 ; | |
14633 | wxString *arg4 = 0 ; | |
14634 | bool arg5 ; | |
14635 | bool arg6 ; | |
14636 | bool arg7 ; | |
14637 | bool temp4 = false ; | |
14638 | PyObject * obj0 = 0 ; | |
14639 | PyObject * obj1 = 0 ; | |
14640 | PyObject * obj2 = 0 ; | |
14641 | PyObject * obj3 = 0 ; | |
14642 | PyObject * obj4 = 0 ; | |
14643 | PyObject * obj5 = 0 ; | |
14644 | PyObject * obj6 = 0 ; | |
cfe5e918 | 14645 | char *kwnames[] = { |
3004cfd8 | 14646 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL |
cfe5e918 RD |
14647 | }; |
14648 | ||
3004cfd8 RD |
14649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
14650 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14651 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14652 | { | |
14653 | arg2 = (int)(SWIG_As_int(obj1)); | |
14654 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14655 | } | |
14656 | { | |
14657 | arg3 = (int)(SWIG_As_int(obj2)); | |
14658 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14659 | } | |
14660 | { | |
14661 | arg4 = wxString_in_helper(obj3); | |
14662 | if (arg4 == NULL) SWIG_fail; | |
14663 | temp4 = true; | |
14664 | } | |
14665 | { | |
14666 | arg5 = (bool)(SWIG_As_bool(obj4)); | |
14667 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14668 | } | |
14669 | { | |
14670 | arg6 = (bool)(SWIG_As_bool(obj5)); | |
14671 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14672 | } | |
14673 | { | |
14674 | arg7 = (bool)(SWIG_As_bool(obj6)); | |
14675 | if (SWIG_arg_fail(7)) SWIG_fail; | |
14676 | } | |
cfe5e918 RD |
14677 | { |
14678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14679 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); |
cfe5e918 RD |
14680 | |
14681 | wxPyEndAllowThreads(__tstate); | |
14682 | if (PyErr_Occurred()) SWIG_fail; | |
14683 | } | |
3004cfd8 | 14684 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14685 | { |
3004cfd8 RD |
14686 | if (temp4) |
14687 | delete arg4; | |
cfe5e918 RD |
14688 | } |
14689 | return resultobj; | |
14690 | fail: | |
3004cfd8 RD |
14691 | { |
14692 | if (temp4) | |
14693 | delete arg4; | |
14694 | } | |
cfe5e918 RD |
14695 | return NULL; |
14696 | } | |
14697 | ||
14698 | ||
3004cfd8 | 14699 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14700 | PyObject *resultobj; |
3004cfd8 RD |
14701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14702 | int arg2 ; | |
cfe5e918 RD |
14703 | PyObject * obj0 = 0 ; |
14704 | PyObject * obj1 = 0 ; | |
14705 | char *kwnames[] = { | |
3004cfd8 | 14706 | (char *) "self",(char *) "cmd", NULL |
cfe5e918 RD |
14707 | }; |
14708 | ||
3004cfd8 RD |
14709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; |
14710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14712 | { | |
14713 | arg2 = (int)(SWIG_As_int(obj1)); | |
14714 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14715 | } |
14716 | { | |
14717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14718 | (arg1)->CmdKeyExecute(arg2); |
cfe5e918 RD |
14719 | |
14720 | wxPyEndAllowThreads(__tstate); | |
14721 | if (PyErr_Occurred()) SWIG_fail; | |
14722 | } | |
3004cfd8 | 14723 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14724 | return resultobj; |
14725 | fail: | |
14726 | return NULL; | |
14727 | } | |
14728 | ||
14729 | ||
3004cfd8 | 14730 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14731 | PyObject *resultobj; |
3004cfd8 RD |
14732 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14733 | int arg2 ; | |
14734 | int arg3 ; | |
cfe5e918 | 14735 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
14736 | PyObject * obj1 = 0 ; |
14737 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14738 | char *kwnames[] = { |
3004cfd8 | 14739 | (char *) "self",(char *) "left",(char *) "right", NULL |
cfe5e918 RD |
14740 | }; |
14741 | ||
3004cfd8 RD |
14742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14745 | { | |
14746 | arg2 = (int)(SWIG_As_int(obj1)); | |
14747 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14748 | } | |
14749 | { | |
14750 | arg3 = (int)(SWIG_As_int(obj2)); | |
14751 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14752 | } | |
cfe5e918 RD |
14753 | { |
14754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14755 | (arg1)->SetMargins(arg2,arg3); |
cfe5e918 RD |
14756 | |
14757 | wxPyEndAllowThreads(__tstate); | |
14758 | if (PyErr_Occurred()) SWIG_fail; | |
14759 | } | |
14760 | Py_INCREF(Py_None); resultobj = Py_None; | |
14761 | return resultobj; | |
14762 | fail: | |
14763 | return NULL; | |
14764 | } | |
14765 | ||
14766 | ||
3004cfd8 | 14767 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14768 | PyObject *resultobj; |
3004cfd8 RD |
14769 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14770 | int *arg2 = (int *) 0 ; | |
14771 | int *arg3 = (int *) 0 ; | |
14772 | int temp2 ; | |
14773 | int res2 = 0 ; | |
14774 | int temp3 ; | |
14775 | int res3 = 0 ; | |
cfe5e918 | 14776 | PyObject * obj0 = 0 ; |
cfe5e918 | 14777 | char *kwnames[] = { |
3004cfd8 | 14778 | (char *) "self", NULL |
cfe5e918 RD |
14779 | }; |
14780 | ||
3004cfd8 RD |
14781 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
14782 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
14783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
14784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14786 | { |
14787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14788 | (arg1)->GetSelection(arg2,arg3); |
cfe5e918 RD |
14789 | |
14790 | wxPyEndAllowThreads(__tstate); | |
14791 | if (PyErr_Occurred()) SWIG_fail; | |
14792 | } | |
14793 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
14794 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
14795 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
14796 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
14797 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
cfe5e918 RD |
14798 | return resultobj; |
14799 | fail: | |
14800 | return NULL; | |
14801 | } | |
14802 | ||
14803 | ||
3004cfd8 | 14804 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14805 | PyObject *resultobj; |
3004cfd8 | 14806 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 | 14807 | int arg2 ; |
3004cfd8 | 14808 | wxPoint result; |
cfe5e918 RD |
14809 | PyObject * obj0 = 0 ; |
14810 | PyObject * obj1 = 0 ; | |
14811 | char *kwnames[] = { | |
3004cfd8 | 14812 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
14813 | }; |
14814 | ||
3004cfd8 RD |
14815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; |
14816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14818 | { | |
14819 | arg2 = (int)(SWIG_As_int(obj1)); | |
14820 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14821 | } | |
cfe5e918 RD |
14822 | { |
14823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14824 | result = (arg1)->PointFromPosition(arg2); |
cfe5e918 RD |
14825 | |
14826 | wxPyEndAllowThreads(__tstate); | |
14827 | if (PyErr_Occurred()) SWIG_fail; | |
14828 | } | |
3004cfd8 RD |
14829 | { |
14830 | wxPoint * resultptr; | |
14831 | resultptr = new wxPoint((wxPoint &)(result)); | |
14832 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
14833 | } | |
cfe5e918 RD |
14834 | return resultobj; |
14835 | fail: | |
14836 | return NULL; | |
14837 | } | |
14838 | ||
14839 | ||
3004cfd8 | 14840 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14841 | PyObject *resultobj; |
3004cfd8 | 14842 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 RD |
14843 | int arg2 ; |
14844 | PyObject * obj0 = 0 ; | |
14845 | PyObject * obj1 = 0 ; | |
14846 | char *kwnames[] = { | |
3004cfd8 | 14847 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
14848 | }; |
14849 | ||
3004cfd8 RD |
14850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; |
14851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14853 | { | |
14854 | arg2 = (int)(SWIG_As_int(obj1)); | |
14855 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14856 | } | |
cfe5e918 RD |
14857 | { |
14858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14859 | (arg1)->ScrollToLine(arg2); |
cfe5e918 RD |
14860 | |
14861 | wxPyEndAllowThreads(__tstate); | |
14862 | if (PyErr_Occurred()) SWIG_fail; | |
14863 | } | |
14864 | Py_INCREF(Py_None); resultobj = Py_None; | |
14865 | return resultobj; | |
14866 | fail: | |
14867 | return NULL; | |
14868 | } | |
14869 | ||
14870 | ||
3004cfd8 | 14871 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14872 | PyObject *resultobj; |
3004cfd8 | 14873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 RD |
14874 | int arg2 ; |
14875 | PyObject * obj0 = 0 ; | |
14876 | PyObject * obj1 = 0 ; | |
14877 | char *kwnames[] = { | |
3004cfd8 | 14878 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
14879 | }; |
14880 | ||
3004cfd8 RD |
14881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; |
14882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14884 | { | |
14885 | arg2 = (int)(SWIG_As_int(obj1)); | |
14886 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14887 | } | |
cfe5e918 RD |
14888 | { |
14889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14890 | (arg1)->ScrollToColumn(arg2); |
cfe5e918 RD |
14891 | |
14892 | wxPyEndAllowThreads(__tstate); | |
14893 | if (PyErr_Occurred()) SWIG_fail; | |
14894 | } | |
14895 | Py_INCREF(Py_None); resultobj = Py_None; | |
14896 | return resultobj; | |
14897 | fail: | |
14898 | return NULL; | |
14899 | } | |
14900 | ||
14901 | ||
3004cfd8 | 14902 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14903 | PyObject *resultobj; |
3004cfd8 RD |
14904 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14905 | int arg2 ; | |
14906 | long arg3 = (long) 0 ; | |
14907 | long arg4 = (long) 0 ; | |
14908 | long result; | |
cfe5e918 RD |
14909 | PyObject * obj0 = 0 ; |
14910 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
14911 | PyObject * obj2 = 0 ; |
14912 | PyObject * obj3 = 0 ; | |
cfe5e918 | 14913 | char *kwnames[] = { |
3004cfd8 | 14914 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL |
cfe5e918 RD |
14915 | }; |
14916 | ||
3004cfd8 RD |
14917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
14918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14920 | { |
3004cfd8 RD |
14921 | arg2 = (int)(SWIG_As_int(obj1)); |
14922 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14923 | } | |
14924 | if (obj2) { | |
14925 | { | |
14926 | arg3 = (long)(SWIG_As_long(obj2)); | |
14927 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14928 | } | |
14929 | } | |
14930 | if (obj3) { | |
14931 | { | |
14932 | arg4 = (long)(SWIG_As_long(obj3)); | |
14933 | if (SWIG_arg_fail(4)) SWIG_fail; | |
14934 | } | |
cfe5e918 RD |
14935 | } |
14936 | { | |
14937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14938 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); |
cfe5e918 RD |
14939 | |
14940 | wxPyEndAllowThreads(__tstate); | |
14941 | if (PyErr_Occurred()) SWIG_fail; | |
14942 | } | |
cfe5e918 | 14943 | { |
3004cfd8 | 14944 | resultobj = SWIG_From_long((long)(result)); |
cfe5e918 RD |
14945 | } |
14946 | return resultobj; | |
14947 | fail: | |
cfe5e918 RD |
14948 | return NULL; |
14949 | } | |
14950 | ||
14951 | ||
3004cfd8 | 14952 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14953 | PyObject *resultobj; |
3004cfd8 RD |
14954 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14955 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
cfe5e918 RD |
14956 | PyObject * obj0 = 0 ; |
14957 | PyObject * obj1 = 0 ; | |
14958 | char *kwnames[] = { | |
3004cfd8 | 14959 | (char *) "self",(char *) "bar", NULL |
cfe5e918 RD |
14960 | }; |
14961 | ||
3004cfd8 RD |
14962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; |
14963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14965 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14967 | { |
14968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14969 | (arg1)->SetVScrollBar(arg2); |
cfe5e918 RD |
14970 | |
14971 | wxPyEndAllowThreads(__tstate); | |
14972 | if (PyErr_Occurred()) SWIG_fail; | |
14973 | } | |
14974 | Py_INCREF(Py_None); resultobj = Py_None; | |
14975 | return resultobj; | |
14976 | fail: | |
14977 | return NULL; | |
14978 | } | |
14979 | ||
14980 | ||
3004cfd8 | 14981 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14982 | PyObject *resultobj; |
3004cfd8 RD |
14983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14984 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
cfe5e918 RD |
14985 | PyObject * obj0 = 0 ; |
14986 | PyObject * obj1 = 0 ; | |
14987 | char *kwnames[] = { | |
3004cfd8 | 14988 | (char *) "self",(char *) "bar", NULL |
cfe5e918 RD |
14989 | }; |
14990 | ||
3004cfd8 RD |
14991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; |
14992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14994 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14995 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14996 | { |
14997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14998 | (arg1)->SetHScrollBar(arg2); |
cfe5e918 RD |
14999 | |
15000 | wxPyEndAllowThreads(__tstate); | |
15001 | if (PyErr_Occurred()) SWIG_fail; | |
15002 | } | |
15003 | Py_INCREF(Py_None); resultobj = Py_None; | |
15004 | return resultobj; | |
15005 | fail: | |
15006 | return NULL; | |
15007 | } | |
15008 | ||
15009 | ||
3004cfd8 | 15010 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15011 | PyObject *resultobj; |
3004cfd8 RD |
15012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15013 | bool result; | |
cfe5e918 | 15014 | PyObject * obj0 = 0 ; |
cfe5e918 | 15015 | char *kwnames[] = { |
3004cfd8 | 15016 | (char *) "self", NULL |
cfe5e918 RD |
15017 | }; |
15018 | ||
3004cfd8 RD |
15019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; |
15020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15022 | { |
15023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15024 | result = (bool)(arg1)->GetLastKeydownProcessed(); |
cfe5e918 RD |
15025 | |
15026 | wxPyEndAllowThreads(__tstate); | |
15027 | if (PyErr_Occurred()) SWIG_fail; | |
15028 | } | |
3004cfd8 RD |
15029 | { |
15030 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15031 | } | |
cfe5e918 RD |
15032 | return resultobj; |
15033 | fail: | |
15034 | return NULL; | |
15035 | } | |
15036 | ||
15037 | ||
3004cfd8 | 15038 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15039 | PyObject *resultobj; |
3004cfd8 RD |
15040 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15041 | bool arg2 ; | |
cfe5e918 RD |
15042 | PyObject * obj0 = 0 ; |
15043 | PyObject * obj1 = 0 ; | |
15044 | char *kwnames[] = { | |
15045 | (char *) "self",(char *) "val", NULL | |
15046 | }; | |
15047 | ||
3004cfd8 RD |
15048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; |
15049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15051 | { | |
15052 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15053 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15054 | } | |
cfe5e918 RD |
15055 | { |
15056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15057 | (arg1)->SetLastKeydownProcessed(arg2); |
cfe5e918 RD |
15058 | |
15059 | wxPyEndAllowThreads(__tstate); | |
15060 | if (PyErr_Occurred()) SWIG_fail; | |
15061 | } | |
15062 | Py_INCREF(Py_None); resultobj = Py_None; | |
15063 | return resultobj; | |
15064 | fail: | |
15065 | return NULL; | |
15066 | } | |
15067 | ||
15068 | ||
3004cfd8 | 15069 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15070 | PyObject *resultobj; |
3004cfd8 RD |
15071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15072 | wxString *arg2 = 0 ; | |
15073 | bool result; | |
15074 | bool temp2 = false ; | |
cfe5e918 RD |
15075 | PyObject * obj0 = 0 ; |
15076 | PyObject * obj1 = 0 ; | |
15077 | char *kwnames[] = { | |
3004cfd8 | 15078 | (char *) "self",(char *) "filename", NULL |
cfe5e918 RD |
15079 | }; |
15080 | ||
3004cfd8 RD |
15081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; |
15082 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15083 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15084 | { | |
15085 | arg2 = wxString_in_helper(obj1); | |
15086 | if (arg2 == NULL) SWIG_fail; | |
15087 | temp2 = true; | |
15088 | } | |
cfe5e918 RD |
15089 | { |
15090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15091 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); |
cfe5e918 RD |
15092 | |
15093 | wxPyEndAllowThreads(__tstate); | |
15094 | if (PyErr_Occurred()) SWIG_fail; | |
15095 | } | |
3004cfd8 RD |
15096 | { |
15097 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15098 | } | |
15099 | { | |
15100 | if (temp2) | |
15101 | delete arg2; | |
15102 | } | |
cfe5e918 RD |
15103 | return resultobj; |
15104 | fail: | |
3004cfd8 RD |
15105 | { |
15106 | if (temp2) | |
15107 | delete arg2; | |
15108 | } | |
cfe5e918 RD |
15109 | return NULL; |
15110 | } | |
15111 | ||
15112 | ||
3004cfd8 | 15113 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15114 | PyObject *resultobj; |
3004cfd8 RD |
15115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15116 | wxString *arg2 = 0 ; | |
15117 | bool result; | |
15118 | bool temp2 = false ; | |
cfe5e918 RD |
15119 | PyObject * obj0 = 0 ; |
15120 | PyObject * obj1 = 0 ; | |
15121 | char *kwnames[] = { | |
3004cfd8 | 15122 | (char *) "self",(char *) "filename", NULL |
cfe5e918 RD |
15123 | }; |
15124 | ||
3004cfd8 RD |
15125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; |
15126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15128 | { | |
15129 | arg2 = wxString_in_helper(obj1); | |
15130 | if (arg2 == NULL) SWIG_fail; | |
15131 | temp2 = true; | |
15132 | } | |
cfe5e918 RD |
15133 | { |
15134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15135 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); |
cfe5e918 RD |
15136 | |
15137 | wxPyEndAllowThreads(__tstate); | |
15138 | if (PyErr_Occurred()) SWIG_fail; | |
15139 | } | |
3004cfd8 RD |
15140 | { |
15141 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15142 | } | |
15143 | { | |
15144 | if (temp2) | |
15145 | delete arg2; | |
15146 | } | |
cfe5e918 RD |
15147 | return resultobj; |
15148 | fail: | |
3004cfd8 RD |
15149 | { |
15150 | if (temp2) | |
15151 | delete arg2; | |
15152 | } | |
cfe5e918 RD |
15153 | return NULL; |
15154 | } | |
15155 | ||
15156 | ||
3004cfd8 | 15157 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15158 | PyObject *resultobj; |
3004cfd8 | 15159 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 | 15160 | int arg2 ; |
3004cfd8 RD |
15161 | int arg3 ; |
15162 | wxDragResult arg4 ; | |
15163 | wxDragResult result; | |
cfe5e918 RD |
15164 | PyObject * obj0 = 0 ; |
15165 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
15166 | PyObject * obj2 = 0 ; |
15167 | PyObject * obj3 = 0 ; | |
cfe5e918 | 15168 | char *kwnames[] = { |
3004cfd8 | 15169 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL |
cfe5e918 RD |
15170 | }; |
15171 | ||
3004cfd8 RD |
15172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15175 | { | |
15176 | arg2 = (int)(SWIG_As_int(obj1)); | |
15177 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15178 | } | |
15179 | { | |
15180 | arg3 = (int)(SWIG_As_int(obj2)); | |
15181 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15182 | } | |
15183 | { | |
15184 | arg4 = (wxDragResult)(SWIG_As_int(obj3)); | |
15185 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15186 | } | |
cfe5e918 RD |
15187 | { |
15188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15189 | result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); |
cfe5e918 RD |
15190 | |
15191 | wxPyEndAllowThreads(__tstate); | |
15192 | if (PyErr_Occurred()) SWIG_fail; | |
15193 | } | |
3004cfd8 | 15194 | resultobj = SWIG_From_int((result)); |
cfe5e918 RD |
15195 | return resultobj; |
15196 | fail: | |
15197 | return NULL; | |
15198 | } | |
15199 | ||
15200 | ||
3004cfd8 | 15201 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15202 | PyObject *resultobj; |
3004cfd8 RD |
15203 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15204 | long arg2 ; | |
15205 | long arg3 ; | |
15206 | wxString *arg4 = 0 ; | |
15207 | bool result; | |
15208 | bool temp4 = false ; | |
cfe5e918 RD |
15209 | PyObject * obj0 = 0 ; |
15210 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
15211 | PyObject * obj2 = 0 ; |
15212 | PyObject * obj3 = 0 ; | |
cfe5e918 | 15213 | char *kwnames[] = { |
3004cfd8 | 15214 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL |
cfe5e918 RD |
15215 | }; |
15216 | ||
3004cfd8 RD |
15217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15218 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15219 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15220 | { | |
15221 | arg2 = (long)(SWIG_As_long(obj1)); | |
15222 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15223 | } | |
15224 | { | |
15225 | arg3 = (long)(SWIG_As_long(obj2)); | |
15226 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15227 | } | |
15228 | { | |
15229 | arg4 = wxString_in_helper(obj3); | |
15230 | if (arg4 == NULL) SWIG_fail; | |
15231 | temp4 = true; | |
15232 | } | |
cfe5e918 RD |
15233 | { |
15234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15235 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); |
cfe5e918 RD |
15236 | |
15237 | wxPyEndAllowThreads(__tstate); | |
15238 | if (PyErr_Occurred()) SWIG_fail; | |
15239 | } | |
3004cfd8 RD |
15240 | { |
15241 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15242 | } | |
15243 | { | |
15244 | if (temp4) | |
15245 | delete arg4; | |
15246 | } | |
cfe5e918 RD |
15247 | return resultobj; |
15248 | fail: | |
3004cfd8 RD |
15249 | { |
15250 | if (temp4) | |
15251 | delete arg4; | |
15252 | } | |
cfe5e918 RD |
15253 | return NULL; |
15254 | } | |
15255 | ||
15256 | ||
3004cfd8 | 15257 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15258 | PyObject *resultobj; |
3004cfd8 RD |
15259 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15260 | bool arg2 ; | |
cfe5e918 RD |
15261 | PyObject * obj0 = 0 ; |
15262 | PyObject * obj1 = 0 ; | |
15263 | char *kwnames[] = { | |
3004cfd8 | 15264 | (char *) "self",(char *) "useAA", NULL |
cfe5e918 RD |
15265 | }; |
15266 | ||
3004cfd8 RD |
15267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; |
15268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15270 | { | |
15271 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15272 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15273 | } | |
cfe5e918 RD |
15274 | { |
15275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15276 | (arg1)->SetUseAntiAliasing(arg2); |
cfe5e918 RD |
15277 | |
15278 | wxPyEndAllowThreads(__tstate); | |
15279 | if (PyErr_Occurred()) SWIG_fail; | |
15280 | } | |
15281 | Py_INCREF(Py_None); resultobj = Py_None; | |
15282 | return resultobj; | |
15283 | fail: | |
15284 | return NULL; | |
15285 | } | |
15286 | ||
15287 | ||
3004cfd8 | 15288 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15289 | PyObject *resultobj; |
3004cfd8 RD |
15290 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15291 | bool result; | |
cfe5e918 | 15292 | PyObject * obj0 = 0 ; |
cfe5e918 | 15293 | char *kwnames[] = { |
3004cfd8 | 15294 | (char *) "self", NULL |
cfe5e918 RD |
15295 | }; |
15296 | ||
3004cfd8 RD |
15297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; |
15298 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15299 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15300 | { |
15301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15302 | result = (bool)(arg1)->GetUseAntiAliasing(); |
cfe5e918 RD |
15303 | |
15304 | wxPyEndAllowThreads(__tstate); | |
15305 | if (PyErr_Occurred()) SWIG_fail; | |
15306 | } | |
3004cfd8 RD |
15307 | { |
15308 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15309 | } | |
cfe5e918 RD |
15310 | return resultobj; |
15311 | fail: | |
15312 | return NULL; | |
15313 | } | |
15314 | ||
15315 | ||
02b455f2 RD |
15316 | static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { |
15317 | PyObject *resultobj; | |
15318 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15319 | char *arg2 = (char *) 0 ; | |
15320 | PyObject * obj0 = 0 ; | |
15321 | PyObject * obj1 = 0 ; | |
15322 | char *kwnames[] = { | |
15323 | (char *) "self",(char *) "text", NULL | |
15324 | }; | |
15325 | ||
15326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15327 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15328 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15329 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15330 | SWIG_arg_fail(2);SWIG_fail; | |
15331 | } | |
15332 | { | |
15333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15334 | (arg1)->AddTextRaw((char const *)arg2); | |
15335 | ||
15336 | wxPyEndAllowThreads(__tstate); | |
15337 | if (PyErr_Occurred()) SWIG_fail; | |
15338 | } | |
15339 | Py_INCREF(Py_None); resultobj = Py_None; | |
15340 | return resultobj; | |
15341 | fail: | |
15342 | return NULL; | |
15343 | } | |
15344 | ||
15345 | ||
15346 | static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15347 | PyObject *resultobj; | |
15348 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15349 | int arg2 ; | |
15350 | char *arg3 = (char *) 0 ; | |
15351 | PyObject * obj0 = 0 ; | |
15352 | PyObject * obj1 = 0 ; | |
15353 | PyObject * obj2 = 0 ; | |
15354 | char *kwnames[] = { | |
15355 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
15356 | }; | |
15357 | ||
15358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15361 | { | |
15362 | arg2 = (int)(SWIG_As_int(obj1)); | |
15363 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15364 | } | |
15365 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
15366 | SWIG_arg_fail(3);SWIG_fail; | |
15367 | } | |
15368 | { | |
15369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15370 | (arg1)->InsertTextRaw(arg2,(char const *)arg3); | |
15371 | ||
15372 | wxPyEndAllowThreads(__tstate); | |
15373 | if (PyErr_Occurred()) SWIG_fail; | |
15374 | } | |
15375 | Py_INCREF(Py_None); resultobj = Py_None; | |
15376 | return resultobj; | |
15377 | fail: | |
15378 | return NULL; | |
15379 | } | |
15380 | ||
15381 | ||
15382 | static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15383 | PyObject *resultobj; | |
15384 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15385 | int *arg2 = (int *) 0 ; | |
15386 | wxCharBuffer result; | |
15387 | int temp2 ; | |
15388 | int res2 = 0 ; | |
15389 | PyObject * obj0 = 0 ; | |
15390 | char *kwnames[] = { | |
15391 | (char *) "self", NULL | |
15392 | }; | |
15393 | ||
15394 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
15395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail; | |
15396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15398 | { | |
15399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15400 | result = (arg1)->GetCurLineRaw(arg2); | |
15401 | ||
15402 | wxPyEndAllowThreads(__tstate); | |
15403 | if (PyErr_Occurred()) SWIG_fail; | |
15404 | } | |
15405 | { | |
15406 | wxCharBuffer * resultptr; | |
15407 | resultptr = new wxCharBuffer((wxCharBuffer &)(result)); | |
15408 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCharBuffer, 1); | |
15409 | } | |
15410 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
15411 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
15412 | return resultobj; | |
15413 | fail: | |
15414 | return NULL; | |
15415 | } | |
15416 | ||
15417 | ||
15418 | static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15419 | PyObject *resultobj; | |
15420 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15421 | int arg2 ; | |
15422 | wxCharBuffer result; | |
15423 | PyObject * obj0 = 0 ; | |
15424 | PyObject * obj1 = 0 ; | |
15425 | char *kwnames[] = { | |
15426 | (char *) "self",(char *) "line", NULL | |
15427 | }; | |
15428 | ||
15429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail; | |
15430 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15431 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15432 | { | |
15433 | arg2 = (int)(SWIG_As_int(obj1)); | |
15434 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15435 | } | |
15436 | { | |
15437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15438 | result = (arg1)->GetLineRaw(arg2); | |
15439 | ||
15440 | wxPyEndAllowThreads(__tstate); | |
15441 | if (PyErr_Occurred()) SWIG_fail; | |
15442 | } | |
15443 | { | |
15444 | wxCharBuffer * resultptr; | |
15445 | resultptr = new wxCharBuffer((wxCharBuffer &)(result)); | |
15446 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCharBuffer, 1); | |
15447 | } | |
15448 | return resultobj; | |
15449 | fail: | |
15450 | return NULL; | |
15451 | } | |
15452 | ||
15453 | ||
15454 | static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15455 | PyObject *resultobj; | |
15456 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15457 | wxCharBuffer result; | |
15458 | PyObject * obj0 = 0 ; | |
15459 | char *kwnames[] = { | |
15460 | (char *) "self", NULL | |
15461 | }; | |
15462 | ||
15463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail; | |
15464 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15465 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15466 | { | |
15467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15468 | result = (arg1)->GetSelectedTextRaw(); | |
15469 | ||
15470 | wxPyEndAllowThreads(__tstate); | |
15471 | if (PyErr_Occurred()) SWIG_fail; | |
15472 | } | |
15473 | { | |
15474 | wxCharBuffer * resultptr; | |
15475 | resultptr = new wxCharBuffer((wxCharBuffer &)(result)); | |
15476 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCharBuffer, 1); | |
15477 | } | |
15478 | return resultobj; | |
15479 | fail: | |
15480 | return NULL; | |
15481 | } | |
15482 | ||
15483 | ||
15484 | static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15485 | PyObject *resultobj; | |
15486 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15487 | int arg2 ; | |
15488 | int arg3 ; | |
15489 | wxCharBuffer result; | |
15490 | PyObject * obj0 = 0 ; | |
15491 | PyObject * obj1 = 0 ; | |
15492 | PyObject * obj2 = 0 ; | |
15493 | char *kwnames[] = { | |
15494 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
15495 | }; | |
15496 | ||
15497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15498 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15499 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15500 | { | |
15501 | arg2 = (int)(SWIG_As_int(obj1)); | |
15502 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15503 | } | |
15504 | { | |
15505 | arg3 = (int)(SWIG_As_int(obj2)); | |
15506 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15507 | } | |
15508 | { | |
15509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15510 | result = (arg1)->GetTextRangeRaw(arg2,arg3); | |
15511 | ||
15512 | wxPyEndAllowThreads(__tstate); | |
15513 | if (PyErr_Occurred()) SWIG_fail; | |
15514 | } | |
15515 | { | |
15516 | wxCharBuffer * resultptr; | |
15517 | resultptr = new wxCharBuffer((wxCharBuffer &)(result)); | |
15518 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCharBuffer, 1); | |
15519 | } | |
15520 | return resultobj; | |
15521 | fail: | |
15522 | return NULL; | |
15523 | } | |
15524 | ||
15525 | ||
15526 | static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15527 | PyObject *resultobj; | |
15528 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15529 | char *arg2 = (char *) 0 ; | |
15530 | PyObject * obj0 = 0 ; | |
15531 | PyObject * obj1 = 0 ; | |
15532 | char *kwnames[] = { | |
15533 | (char *) "self",(char *) "text", NULL | |
15534 | }; | |
15535 | ||
15536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15539 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15540 | SWIG_arg_fail(2);SWIG_fail; | |
15541 | } | |
15542 | { | |
15543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15544 | (arg1)->SetTextRaw((char const *)arg2); | |
15545 | ||
15546 | wxPyEndAllowThreads(__tstate); | |
15547 | if (PyErr_Occurred()) SWIG_fail; | |
15548 | } | |
15549 | Py_INCREF(Py_None); resultobj = Py_None; | |
15550 | return resultobj; | |
15551 | fail: | |
15552 | return NULL; | |
15553 | } | |
15554 | ||
15555 | ||
15556 | static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15557 | PyObject *resultobj; | |
15558 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15559 | wxCharBuffer result; | |
15560 | PyObject * obj0 = 0 ; | |
15561 | char *kwnames[] = { | |
15562 | (char *) "self", NULL | |
15563 | }; | |
15564 | ||
15565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail; | |
15566 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15567 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15568 | { | |
15569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15570 | result = (arg1)->GetTextRaw(); | |
15571 | ||
15572 | wxPyEndAllowThreads(__tstate); | |
15573 | if (PyErr_Occurred()) SWIG_fail; | |
15574 | } | |
15575 | { | |
15576 | wxCharBuffer * resultptr; | |
15577 | resultptr = new wxCharBuffer((wxCharBuffer &)(result)); | |
15578 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCharBuffer, 1); | |
15579 | } | |
15580 | return resultobj; | |
15581 | fail: | |
15582 | return NULL; | |
15583 | } | |
15584 | ||
15585 | ||
15586 | static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15587 | PyObject *resultobj; | |
15588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15589 | char *arg2 = (char *) 0 ; | |
15590 | PyObject * obj0 = 0 ; | |
15591 | PyObject * obj1 = 0 ; | |
15592 | char *kwnames[] = { | |
15593 | (char *) "self",(char *) "text", NULL | |
15594 | }; | |
15595 | ||
15596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15597 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15598 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15599 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15600 | SWIG_arg_fail(2);SWIG_fail; | |
15601 | } | |
15602 | { | |
15603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15604 | (arg1)->AppendTextRaw((char const *)arg2); | |
15605 | ||
15606 | wxPyEndAllowThreads(__tstate); | |
15607 | if (PyErr_Occurred()) SWIG_fail; | |
15608 | } | |
15609 | Py_INCREF(Py_None); resultobj = Py_None; | |
15610 | return resultobj; | |
15611 | fail: | |
15612 | return NULL; | |
15613 | } | |
15614 | ||
15615 | ||
3004cfd8 RD |
15616 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { |
15617 | PyObject *obj; | |
15618 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15619 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
15620 | Py_INCREF(obj); | |
15621 | return Py_BuildValue((char *)""); | |
15622 | } | |
15623 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
cfe5e918 | 15624 | PyObject *resultobj; |
3004cfd8 RD |
15625 | wxEventType arg1 = (wxEventType) 0 ; |
15626 | int arg2 = (int) 0 ; | |
15627 | wxStyledTextEvent *result; | |
cfe5e918 RD |
15628 | PyObject * obj0 = 0 ; |
15629 | PyObject * obj1 = 0 ; | |
15630 | char *kwnames[] = { | |
3004cfd8 | 15631 | (char *) "commandType",(char *) "id", NULL |
cfe5e918 RD |
15632 | }; |
15633 | ||
3004cfd8 RD |
15634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; |
15635 | if (obj0) { | |
15636 | { | |
15637 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
15638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15639 | } | |
15640 | } | |
15641 | if (obj1) { | |
15642 | { | |
15643 | arg2 = (int)(SWIG_As_int(obj1)); | |
15644 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15645 | } | |
15646 | } | |
cfe5e918 RD |
15647 | { |
15648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15649 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); |
cfe5e918 RD |
15650 | |
15651 | wxPyEndAllowThreads(__tstate); | |
15652 | if (PyErr_Occurred()) SWIG_fail; | |
15653 | } | |
3004cfd8 | 15654 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); |
cfe5e918 RD |
15655 | return resultobj; |
15656 | fail: | |
15657 | return NULL; | |
15658 | } | |
15659 | ||
15660 | ||
3004cfd8 | 15661 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15662 | PyObject *resultobj; |
15663 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
cfe5e918 | 15664 | PyObject * obj0 = 0 ; |
cfe5e918 | 15665 | char *kwnames[] = { |
3004cfd8 | 15666 | (char *) "self", NULL |
cfe5e918 RD |
15667 | }; |
15668 | ||
3004cfd8 RD |
15669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; |
15670 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15671 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15672 | { |
15673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15674 | delete arg1; |
cfe5e918 RD |
15675 | |
15676 | wxPyEndAllowThreads(__tstate); | |
15677 | if (PyErr_Occurred()) SWIG_fail; | |
15678 | } | |
15679 | Py_INCREF(Py_None); resultobj = Py_None; | |
15680 | return resultobj; | |
15681 | fail: | |
15682 | return NULL; | |
15683 | } | |
15684 | ||
15685 | ||
3004cfd8 | 15686 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15687 | PyObject *resultobj; |
15688 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15689 | int arg2 ; |
cfe5e918 RD |
15690 | PyObject * obj0 = 0 ; |
15691 | PyObject * obj1 = 0 ; | |
15692 | char *kwnames[] = { | |
3004cfd8 | 15693 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
15694 | }; |
15695 | ||
3004cfd8 RD |
15696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; |
15697 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15698 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 15699 | { |
3004cfd8 RD |
15700 | arg2 = (int)(SWIG_As_int(obj1)); |
15701 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
15702 | } |
15703 | { | |
15704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15705 | (arg1)->SetPosition(arg2); |
cfe5e918 RD |
15706 | |
15707 | wxPyEndAllowThreads(__tstate); | |
15708 | if (PyErr_Occurred()) SWIG_fail; | |
15709 | } | |
15710 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
15711 | return resultobj; |
15712 | fail: | |
cfe5e918 RD |
15713 | return NULL; |
15714 | } | |
15715 | ||
15716 | ||
3004cfd8 | 15717 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15718 | PyObject *resultobj; |
15719 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15720 | int arg2 ; |
cfe5e918 RD |
15721 | PyObject * obj0 = 0 ; |
15722 | PyObject * obj1 = 0 ; | |
15723 | char *kwnames[] = { | |
3004cfd8 | 15724 | (char *) "self",(char *) "k", NULL |
cfe5e918 RD |
15725 | }; |
15726 | ||
3004cfd8 RD |
15727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; |
15728 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15729 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15730 | { | |
15731 | arg2 = (int)(SWIG_As_int(obj1)); | |
15732 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15733 | } | |
cfe5e918 RD |
15734 | { |
15735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15736 | (arg1)->SetKey(arg2); |
cfe5e918 RD |
15737 | |
15738 | wxPyEndAllowThreads(__tstate); | |
15739 | if (PyErr_Occurred()) SWIG_fail; | |
15740 | } | |
15741 | Py_INCREF(Py_None); resultobj = Py_None; | |
15742 | return resultobj; | |
15743 | fail: | |
15744 | return NULL; | |
15745 | } | |
15746 | ||
15747 | ||
3004cfd8 | 15748 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15749 | PyObject *resultobj; |
15750 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15751 | int arg2 ; | |
15752 | PyObject * obj0 = 0 ; | |
15753 | PyObject * obj1 = 0 ; | |
15754 | char *kwnames[] = { | |
3004cfd8 | 15755 | (char *) "self",(char *) "m", NULL |
cfe5e918 RD |
15756 | }; |
15757 | ||
3004cfd8 RD |
15758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; |
15759 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15760 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15761 | { | |
15762 | arg2 = (int)(SWIG_As_int(obj1)); | |
15763 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15764 | } | |
cfe5e918 RD |
15765 | { |
15766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15767 | (arg1)->SetModifiers(arg2); |
cfe5e918 RD |
15768 | |
15769 | wxPyEndAllowThreads(__tstate); | |
15770 | if (PyErr_Occurred()) SWIG_fail; | |
15771 | } | |
15772 | Py_INCREF(Py_None); resultobj = Py_None; | |
15773 | return resultobj; | |
15774 | fail: | |
15775 | return NULL; | |
15776 | } | |
15777 | ||
15778 | ||
3004cfd8 | 15779 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15780 | PyObject *resultobj; |
15781 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15782 | int arg2 ; |
cfe5e918 | 15783 | PyObject * obj0 = 0 ; |
3004cfd8 | 15784 | PyObject * obj1 = 0 ; |
cfe5e918 | 15785 | char *kwnames[] = { |
3004cfd8 | 15786 | (char *) "self",(char *) "t", NULL |
cfe5e918 RD |
15787 | }; |
15788 | ||
3004cfd8 RD |
15789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; |
15790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15792 | { | |
15793 | arg2 = (int)(SWIG_As_int(obj1)); | |
15794 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15795 | } | |
cfe5e918 RD |
15796 | { |
15797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15798 | (arg1)->SetModificationType(arg2); |
cfe5e918 RD |
15799 | |
15800 | wxPyEndAllowThreads(__tstate); | |
15801 | if (PyErr_Occurred()) SWIG_fail; | |
15802 | } | |
3004cfd8 | 15803 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15804 | return resultobj; |
15805 | fail: | |
15806 | return NULL; | |
15807 | } | |
15808 | ||
15809 | ||
3004cfd8 | 15810 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15811 | PyObject *resultobj; |
15812 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 RD |
15813 | wxString *arg2 = 0 ; |
15814 | bool temp2 = false ; | |
cfe5e918 | 15815 | PyObject * obj0 = 0 ; |
3004cfd8 | 15816 | PyObject * obj1 = 0 ; |
cfe5e918 | 15817 | char *kwnames[] = { |
3004cfd8 | 15818 | (char *) "self",(char *) "t", NULL |
cfe5e918 RD |
15819 | }; |
15820 | ||
3004cfd8 RD |
15821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; |
15822 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15823 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15824 | { | |
15825 | arg2 = wxString_in_helper(obj1); | |
15826 | if (arg2 == NULL) SWIG_fail; | |
15827 | temp2 = true; | |
15828 | } | |
cfe5e918 RD |
15829 | { |
15830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15831 | (arg1)->SetText((wxString const &)*arg2); |
cfe5e918 RD |
15832 | |
15833 | wxPyEndAllowThreads(__tstate); | |
15834 | if (PyErr_Occurred()) SWIG_fail; | |
15835 | } | |
3004cfd8 RD |
15836 | Py_INCREF(Py_None); resultobj = Py_None; |
15837 | { | |
15838 | if (temp2) | |
15839 | delete arg2; | |
15840 | } | |
15841 | return resultobj; | |
15842 | fail: | |
15843 | { | |
15844 | if (temp2) | |
15845 | delete arg2; | |
15846 | } | |
cfe5e918 RD |
15847 | return NULL; |
15848 | } | |
15849 | ||
15850 | ||
3004cfd8 | 15851 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15852 | PyObject *resultobj; |
15853 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15854 | int arg2 ; |
cfe5e918 | 15855 | PyObject * obj0 = 0 ; |
3004cfd8 | 15856 | PyObject * obj1 = 0 ; |
cfe5e918 | 15857 | char *kwnames[] = { |
3004cfd8 | 15858 | (char *) "self",(char *) "len", NULL |
cfe5e918 RD |
15859 | }; |
15860 | ||
3004cfd8 RD |
15861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; |
15862 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15863 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15864 | { | |
15865 | arg2 = (int)(SWIG_As_int(obj1)); | |
15866 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15867 | } | |
cfe5e918 RD |
15868 | { |
15869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15870 | (arg1)->SetLength(arg2); |
cfe5e918 RD |
15871 | |
15872 | wxPyEndAllowThreads(__tstate); | |
15873 | if (PyErr_Occurred()) SWIG_fail; | |
15874 | } | |
3004cfd8 | 15875 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15876 | return resultobj; |
15877 | fail: | |
15878 | return NULL; | |
15879 | } | |
15880 | ||
15881 | ||
3004cfd8 | 15882 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15883 | PyObject *resultobj; |
15884 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15885 | int arg2 ; |
cfe5e918 | 15886 | PyObject * obj0 = 0 ; |
3004cfd8 | 15887 | PyObject * obj1 = 0 ; |
cfe5e918 | 15888 | char *kwnames[] = { |
3004cfd8 | 15889 | (char *) "self",(char *) "num", NULL |
cfe5e918 RD |
15890 | }; |
15891 | ||
3004cfd8 RD |
15892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; |
15893 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15894 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15895 | { | |
15896 | arg2 = (int)(SWIG_As_int(obj1)); | |
15897 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15898 | } | |
cfe5e918 RD |
15899 | { |
15900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15901 | (arg1)->SetLinesAdded(arg2); |
cfe5e918 RD |
15902 | |
15903 | wxPyEndAllowThreads(__tstate); | |
15904 | if (PyErr_Occurred()) SWIG_fail; | |
15905 | } | |
3004cfd8 | 15906 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15907 | return resultobj; |
15908 | fail: | |
15909 | return NULL; | |
15910 | } | |
15911 | ||
15912 | ||
3004cfd8 | 15913 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15914 | PyObject *resultobj; |
15915 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15916 | int arg2 ; |
cfe5e918 | 15917 | PyObject * obj0 = 0 ; |
3004cfd8 | 15918 | PyObject * obj1 = 0 ; |
cfe5e918 | 15919 | char *kwnames[] = { |
3004cfd8 | 15920 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15921 | }; |
15922 | ||
3004cfd8 RD |
15923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; |
15924 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15925 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15926 | { | |
15927 | arg2 = (int)(SWIG_As_int(obj1)); | |
15928 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15929 | } | |
cfe5e918 RD |
15930 | { |
15931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15932 | (arg1)->SetLine(arg2); |
cfe5e918 RD |
15933 | |
15934 | wxPyEndAllowThreads(__tstate); | |
15935 | if (PyErr_Occurred()) SWIG_fail; | |
15936 | } | |
3004cfd8 | 15937 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15938 | return resultobj; |
15939 | fail: | |
15940 | return NULL; | |
15941 | } | |
15942 | ||
15943 | ||
3004cfd8 | 15944 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15945 | PyObject *resultobj; |
15946 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15947 | int arg2 ; |
cfe5e918 | 15948 | PyObject * obj0 = 0 ; |
3004cfd8 | 15949 | PyObject * obj1 = 0 ; |
cfe5e918 | 15950 | char *kwnames[] = { |
3004cfd8 | 15951 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15952 | }; |
15953 | ||
3004cfd8 RD |
15954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; |
15955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15957 | { | |
15958 | arg2 = (int)(SWIG_As_int(obj1)); | |
15959 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15960 | } | |
cfe5e918 RD |
15961 | { |
15962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15963 | (arg1)->SetFoldLevelNow(arg2); |
cfe5e918 RD |
15964 | |
15965 | wxPyEndAllowThreads(__tstate); | |
15966 | if (PyErr_Occurred()) SWIG_fail; | |
15967 | } | |
3004cfd8 | 15968 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15969 | return resultobj; |
15970 | fail: | |
15971 | return NULL; | |
15972 | } | |
15973 | ||
15974 | ||
3004cfd8 | 15975 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15976 | PyObject *resultobj; |
15977 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15978 | int arg2 ; |
cfe5e918 | 15979 | PyObject * obj0 = 0 ; |
3004cfd8 | 15980 | PyObject * obj1 = 0 ; |
cfe5e918 | 15981 | char *kwnames[] = { |
3004cfd8 | 15982 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15983 | }; |
15984 | ||
3004cfd8 RD |
15985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; |
15986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15988 | { | |
15989 | arg2 = (int)(SWIG_As_int(obj1)); | |
15990 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15991 | } | |
cfe5e918 RD |
15992 | { |
15993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15994 | (arg1)->SetFoldLevelPrev(arg2); |
cfe5e918 RD |
15995 | |
15996 | wxPyEndAllowThreads(__tstate); | |
15997 | if (PyErr_Occurred()) SWIG_fail; | |
15998 | } | |
3004cfd8 | 15999 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16000 | return resultobj; |
16001 | fail: | |
16002 | return NULL; | |
16003 | } | |
16004 | ||
16005 | ||
3004cfd8 | 16006 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16007 | PyObject *resultobj; |
16008 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16009 | int arg2 ; |
cfe5e918 | 16010 | PyObject * obj0 = 0 ; |
3004cfd8 | 16011 | PyObject * obj1 = 0 ; |
cfe5e918 | 16012 | char *kwnames[] = { |
3004cfd8 | 16013 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16014 | }; |
16015 | ||
3004cfd8 RD |
16016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; |
16017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16019 | { | |
16020 | arg2 = (int)(SWIG_As_int(obj1)); | |
16021 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16022 | } | |
cfe5e918 RD |
16023 | { |
16024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16025 | (arg1)->SetMargin(arg2); |
cfe5e918 RD |
16026 | |
16027 | wxPyEndAllowThreads(__tstate); | |
16028 | if (PyErr_Occurred()) SWIG_fail; | |
16029 | } | |
3004cfd8 | 16030 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16031 | return resultobj; |
16032 | fail: | |
16033 | return NULL; | |
16034 | } | |
16035 | ||
16036 | ||
3004cfd8 | 16037 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16038 | PyObject *resultobj; |
16039 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16040 | int arg2 ; |
cfe5e918 | 16041 | PyObject * obj0 = 0 ; |
3004cfd8 | 16042 | PyObject * obj1 = 0 ; |
cfe5e918 | 16043 | char *kwnames[] = { |
3004cfd8 | 16044 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16045 | }; |
16046 | ||
3004cfd8 RD |
16047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; |
16048 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16049 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16050 | { | |
16051 | arg2 = (int)(SWIG_As_int(obj1)); | |
16052 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16053 | } | |
cfe5e918 RD |
16054 | { |
16055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16056 | (arg1)->SetMessage(arg2); |
cfe5e918 RD |
16057 | |
16058 | wxPyEndAllowThreads(__tstate); | |
16059 | if (PyErr_Occurred()) SWIG_fail; | |
16060 | } | |
3004cfd8 | 16061 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16062 | return resultobj; |
16063 | fail: | |
16064 | return NULL; | |
16065 | } | |
16066 | ||
16067 | ||
3004cfd8 | 16068 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16069 | PyObject *resultobj; |
16070 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16071 | int arg2 ; |
cfe5e918 | 16072 | PyObject * obj0 = 0 ; |
3004cfd8 | 16073 | PyObject * obj1 = 0 ; |
cfe5e918 | 16074 | char *kwnames[] = { |
3004cfd8 | 16075 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16076 | }; |
16077 | ||
3004cfd8 RD |
16078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; |
16079 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16080 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16081 | { | |
16082 | arg2 = (int)(SWIG_As_int(obj1)); | |
16083 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16084 | } | |
cfe5e918 RD |
16085 | { |
16086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16087 | (arg1)->SetWParam(arg2); |
cfe5e918 RD |
16088 | |
16089 | wxPyEndAllowThreads(__tstate); | |
16090 | if (PyErr_Occurred()) SWIG_fail; | |
16091 | } | |
3004cfd8 | 16092 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16093 | return resultobj; |
16094 | fail: | |
16095 | return NULL; | |
16096 | } | |
16097 | ||
16098 | ||
3004cfd8 | 16099 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16100 | PyObject *resultobj; |
16101 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16102 | int arg2 ; |
cfe5e918 | 16103 | PyObject * obj0 = 0 ; |
3004cfd8 | 16104 | PyObject * obj1 = 0 ; |
cfe5e918 | 16105 | char *kwnames[] = { |
3004cfd8 | 16106 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16107 | }; |
16108 | ||
3004cfd8 RD |
16109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; |
16110 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16111 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16112 | { | |
16113 | arg2 = (int)(SWIG_As_int(obj1)); | |
16114 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16115 | } | |
cfe5e918 RD |
16116 | { |
16117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16118 | (arg1)->SetLParam(arg2); |
cfe5e918 RD |
16119 | |
16120 | wxPyEndAllowThreads(__tstate); | |
16121 | if (PyErr_Occurred()) SWIG_fail; | |
16122 | } | |
3004cfd8 | 16123 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16124 | return resultobj; |
16125 | fail: | |
16126 | return NULL; | |
16127 | } | |
16128 | ||
16129 | ||
3004cfd8 | 16130 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16131 | PyObject *resultobj; |
16132 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16133 | int arg2 ; |
cfe5e918 | 16134 | PyObject * obj0 = 0 ; |
3004cfd8 | 16135 | PyObject * obj1 = 0 ; |
cfe5e918 | 16136 | char *kwnames[] = { |
3004cfd8 | 16137 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16138 | }; |
16139 | ||
3004cfd8 RD |
16140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; |
16141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16143 | { | |
16144 | arg2 = (int)(SWIG_As_int(obj1)); | |
16145 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16146 | } | |
cfe5e918 RD |
16147 | { |
16148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16149 | (arg1)->SetListType(arg2); |
cfe5e918 RD |
16150 | |
16151 | wxPyEndAllowThreads(__tstate); | |
16152 | if (PyErr_Occurred()) SWIG_fail; | |
16153 | } | |
3004cfd8 | 16154 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16155 | return resultobj; |
16156 | fail: | |
16157 | return NULL; | |
16158 | } | |
16159 | ||
16160 | ||
3004cfd8 | 16161 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16162 | PyObject *resultobj; |
16163 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16164 | int arg2 ; |
cfe5e918 | 16165 | PyObject * obj0 = 0 ; |
3004cfd8 | 16166 | PyObject * obj1 = 0 ; |
cfe5e918 | 16167 | char *kwnames[] = { |
3004cfd8 | 16168 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16169 | }; |
16170 | ||
3004cfd8 RD |
16171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; |
16172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16174 | { | |
16175 | arg2 = (int)(SWIG_As_int(obj1)); | |
16176 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16177 | } | |
cfe5e918 RD |
16178 | { |
16179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16180 | (arg1)->SetX(arg2); |
cfe5e918 RD |
16181 | |
16182 | wxPyEndAllowThreads(__tstate); | |
16183 | if (PyErr_Occurred()) SWIG_fail; | |
16184 | } | |
3004cfd8 | 16185 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16186 | return resultobj; |
16187 | fail: | |
16188 | return NULL; | |
16189 | } | |
16190 | ||
16191 | ||
3004cfd8 | 16192 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16193 | PyObject *resultobj; |
16194 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16195 | int arg2 ; |
cfe5e918 | 16196 | PyObject * obj0 = 0 ; |
3004cfd8 | 16197 | PyObject * obj1 = 0 ; |
cfe5e918 | 16198 | char *kwnames[] = { |
3004cfd8 | 16199 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16200 | }; |
16201 | ||
3004cfd8 RD |
16202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; |
16203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16205 | { | |
16206 | arg2 = (int)(SWIG_As_int(obj1)); | |
16207 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16208 | } | |
cfe5e918 RD |
16209 | { |
16210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16211 | (arg1)->SetY(arg2); |
cfe5e918 RD |
16212 | |
16213 | wxPyEndAllowThreads(__tstate); | |
16214 | if (PyErr_Occurred()) SWIG_fail; | |
16215 | } | |
3004cfd8 | 16216 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16217 | return resultobj; |
16218 | fail: | |
16219 | return NULL; | |
16220 | } | |
16221 | ||
16222 | ||
3004cfd8 | 16223 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16224 | PyObject *resultobj; |
16225 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 RD |
16226 | wxString *arg2 = 0 ; |
16227 | bool temp2 = false ; | |
cfe5e918 | 16228 | PyObject * obj0 = 0 ; |
3004cfd8 | 16229 | PyObject * obj1 = 0 ; |
cfe5e918 | 16230 | char *kwnames[] = { |
3004cfd8 | 16231 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16232 | }; |
16233 | ||
3004cfd8 RD |
16234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; |
16235 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16236 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16237 | { | |
16238 | arg2 = wxString_in_helper(obj1); | |
16239 | if (arg2 == NULL) SWIG_fail; | |
16240 | temp2 = true; | |
16241 | } | |
cfe5e918 RD |
16242 | { |
16243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16244 | (arg1)->SetDragText((wxString const &)*arg2); |
cfe5e918 RD |
16245 | |
16246 | wxPyEndAllowThreads(__tstate); | |
16247 | if (PyErr_Occurred()) SWIG_fail; | |
16248 | } | |
3004cfd8 RD |
16249 | Py_INCREF(Py_None); resultobj = Py_None; |
16250 | { | |
16251 | if (temp2) | |
16252 | delete arg2; | |
16253 | } | |
cfe5e918 RD |
16254 | return resultobj; |
16255 | fail: | |
3004cfd8 RD |
16256 | { |
16257 | if (temp2) | |
16258 | delete arg2; | |
16259 | } | |
cfe5e918 RD |
16260 | return NULL; |
16261 | } | |
16262 | ||
16263 | ||
3004cfd8 | 16264 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16265 | PyObject *resultobj; |
16266 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16267 | bool arg2 ; |
cfe5e918 | 16268 | PyObject * obj0 = 0 ; |
3004cfd8 | 16269 | PyObject * obj1 = 0 ; |
cfe5e918 | 16270 | char *kwnames[] = { |
3004cfd8 | 16271 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16272 | }; |
16273 | ||
3004cfd8 RD |
16274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; |
16275 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16276 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16277 | { | |
16278 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
16279 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16280 | } | |
cfe5e918 RD |
16281 | { |
16282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16283 | (arg1)->SetDragAllowMove(arg2); |
cfe5e918 RD |
16284 | |
16285 | wxPyEndAllowThreads(__tstate); | |
16286 | if (PyErr_Occurred()) SWIG_fail; | |
16287 | } | |
3004cfd8 | 16288 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16289 | return resultobj; |
16290 | fail: | |
16291 | return NULL; | |
16292 | } | |
16293 | ||
16294 | ||
3004cfd8 | 16295 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16296 | PyObject *resultobj; |
16297 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16298 | wxDragResult arg2 ; |
cfe5e918 | 16299 | PyObject * obj0 = 0 ; |
3004cfd8 | 16300 | PyObject * obj1 = 0 ; |
cfe5e918 | 16301 | char *kwnames[] = { |
3004cfd8 | 16302 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16303 | }; |
16304 | ||
3004cfd8 RD |
16305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; |
16306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16308 | { | |
16309 | arg2 = (wxDragResult)(SWIG_As_int(obj1)); | |
16310 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16311 | } | |
cfe5e918 RD |
16312 | { |
16313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16314 | (arg1)->SetDragResult((wxDragResult )arg2); |
cfe5e918 RD |
16315 | |
16316 | wxPyEndAllowThreads(__tstate); | |
16317 | if (PyErr_Occurred()) SWIG_fail; | |
16318 | } | |
3004cfd8 | 16319 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16320 | return resultobj; |
16321 | fail: | |
16322 | return NULL; | |
16323 | } | |
16324 | ||
16325 | ||
3004cfd8 | 16326 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16327 | PyObject *resultobj; |
16328 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16329 | int result; |
cfe5e918 RD |
16330 | PyObject * obj0 = 0 ; |
16331 | char *kwnames[] = { | |
16332 | (char *) "self", NULL | |
16333 | }; | |
16334 | ||
3004cfd8 RD |
16335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; |
16336 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16337 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16338 | { |
16339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16340 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); |
cfe5e918 RD |
16341 | |
16342 | wxPyEndAllowThreads(__tstate); | |
16343 | if (PyErr_Occurred()) SWIG_fail; | |
16344 | } | |
16345 | { | |
3004cfd8 | 16346 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16347 | } |
16348 | return resultobj; | |
16349 | fail: | |
16350 | return NULL; | |
16351 | } | |
16352 | ||
16353 | ||
3004cfd8 | 16354 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16355 | PyObject *resultobj; |
16356 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16357 | int result; |
cfe5e918 RD |
16358 | PyObject * obj0 = 0 ; |
16359 | char *kwnames[] = { | |
16360 | (char *) "self", NULL | |
16361 | }; | |
16362 | ||
3004cfd8 RD |
16363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; |
16364 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16365 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16366 | { |
16367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16368 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); |
cfe5e918 RD |
16369 | |
16370 | wxPyEndAllowThreads(__tstate); | |
16371 | if (PyErr_Occurred()) SWIG_fail; | |
16372 | } | |
16373 | { | |
3004cfd8 | 16374 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16375 | } |
16376 | return resultobj; | |
16377 | fail: | |
16378 | return NULL; | |
16379 | } | |
16380 | ||
16381 | ||
3004cfd8 | 16382 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16383 | PyObject *resultobj; |
16384 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16385 | int result; | |
16386 | PyObject * obj0 = 0 ; | |
16387 | char *kwnames[] = { | |
16388 | (char *) "self", NULL | |
16389 | }; | |
16390 | ||
3004cfd8 RD |
16391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; |
16392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16394 | { |
16395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16396 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); |
cfe5e918 RD |
16397 | |
16398 | wxPyEndAllowThreads(__tstate); | |
16399 | if (PyErr_Occurred()) SWIG_fail; | |
16400 | } | |
3004cfd8 RD |
16401 | { |
16402 | resultobj = SWIG_From_int((int)(result)); | |
16403 | } | |
cfe5e918 RD |
16404 | return resultobj; |
16405 | fail: | |
16406 | return NULL; | |
16407 | } | |
16408 | ||
16409 | ||
3004cfd8 | 16410 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16411 | PyObject *resultobj; |
16412 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16413 | int result; |
cfe5e918 RD |
16414 | PyObject * obj0 = 0 ; |
16415 | char *kwnames[] = { | |
16416 | (char *) "self", NULL | |
16417 | }; | |
16418 | ||
3004cfd8 RD |
16419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; |
16420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16422 | { |
16423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16424 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); |
cfe5e918 RD |
16425 | |
16426 | wxPyEndAllowThreads(__tstate); | |
16427 | if (PyErr_Occurred()) SWIG_fail; | |
16428 | } | |
16429 | { | |
3004cfd8 | 16430 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16431 | } |
16432 | return resultobj; | |
16433 | fail: | |
16434 | return NULL; | |
16435 | } | |
16436 | ||
16437 | ||
3004cfd8 | 16438 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16439 | PyObject *resultobj; |
16440 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16441 | wxString result; |
cfe5e918 RD |
16442 | PyObject * obj0 = 0 ; |
16443 | char *kwnames[] = { | |
16444 | (char *) "self", NULL | |
16445 | }; | |
16446 | ||
3004cfd8 RD |
16447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; |
16448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16450 | { |
16451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16452 | result = ((wxStyledTextEvent const *)arg1)->GetText(); |
cfe5e918 RD |
16453 | |
16454 | wxPyEndAllowThreads(__tstate); | |
16455 | if (PyErr_Occurred()) SWIG_fail; | |
16456 | } | |
16457 | { | |
3004cfd8 RD |
16458 | #if wxUSE_UNICODE |
16459 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16460 | #else | |
16461 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16462 | #endif | |
cfe5e918 RD |
16463 | } |
16464 | return resultobj; | |
16465 | fail: | |
16466 | return NULL; | |
16467 | } | |
16468 | ||
16469 | ||
3004cfd8 | 16470 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16471 | PyObject *resultobj; |
16472 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16473 | int result; |
cfe5e918 RD |
16474 | PyObject * obj0 = 0 ; |
16475 | char *kwnames[] = { | |
16476 | (char *) "self", NULL | |
16477 | }; | |
16478 | ||
3004cfd8 RD |
16479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; |
16480 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16481 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16482 | { |
16483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16484 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); |
cfe5e918 RD |
16485 | |
16486 | wxPyEndAllowThreads(__tstate); | |
16487 | if (PyErr_Occurred()) SWIG_fail; | |
16488 | } | |
16489 | { | |
3004cfd8 | 16490 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16491 | } |
16492 | return resultobj; | |
16493 | fail: | |
16494 | return NULL; | |
16495 | } | |
16496 | ||
16497 | ||
3004cfd8 | 16498 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16499 | PyObject *resultobj; |
16500 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16501 | int result; |
cfe5e918 RD |
16502 | PyObject * obj0 = 0 ; |
16503 | char *kwnames[] = { | |
16504 | (char *) "self", NULL | |
16505 | }; | |
16506 | ||
3004cfd8 RD |
16507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; |
16508 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16509 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16510 | { |
16511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16512 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); |
cfe5e918 RD |
16513 | |
16514 | wxPyEndAllowThreads(__tstate); | |
16515 | if (PyErr_Occurred()) SWIG_fail; | |
16516 | } | |
3004cfd8 RD |
16517 | { |
16518 | resultobj = SWIG_From_int((int)(result)); | |
16519 | } | |
cfe5e918 RD |
16520 | return resultobj; |
16521 | fail: | |
16522 | return NULL; | |
16523 | } | |
16524 | ||
16525 | ||
3004cfd8 RD |
16526 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
16527 | PyObject *resultobj; | |
16528 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16529 | int result; | |
16530 | PyObject * obj0 = 0 ; | |
16531 | char *kwnames[] = { | |
16532 | (char *) "self", NULL | |
16533 | }; | |
16534 | ||
16535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
16536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16538 | { | |
16539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16540 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
16541 | ||
16542 | wxPyEndAllowThreads(__tstate); | |
16543 | if (PyErr_Occurred()) SWIG_fail; | |
16544 | } | |
16545 | { | |
16546 | resultobj = SWIG_From_int((int)(result)); | |
16547 | } | |
16548 | return resultobj; | |
16549 | fail: | |
16550 | return NULL; | |
cfe5e918 | 16551 | } |
cfe5e918 RD |
16552 | |
16553 | ||
3004cfd8 RD |
16554 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
16555 | PyObject *resultobj; | |
16556 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16557 | int result; | |
16558 | PyObject * obj0 = 0 ; | |
16559 | char *kwnames[] = { | |
16560 | (char *) "self", NULL | |
16561 | }; | |
16562 | ||
16563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
16564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16566 | { | |
16567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16568 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
16569 | ||
16570 | wxPyEndAllowThreads(__tstate); | |
16571 | if (PyErr_Occurred()) SWIG_fail; | |
16572 | } | |
16573 | { | |
16574 | resultobj = SWIG_From_int((int)(result)); | |
16575 | } | |
16576 | return resultobj; | |
16577 | fail: | |
16578 | return NULL; | |
cfe5e918 | 16579 | } |
3004cfd8 RD |
16580 | |
16581 | ||
16582 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
16583 | PyObject *resultobj; | |
16584 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16585 | int result; | |
16586 | PyObject * obj0 = 0 ; | |
16587 | char *kwnames[] = { | |
16588 | (char *) "self", NULL | |
16589 | }; | |
16590 | ||
16591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
16592 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16593 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16594 | { | |
16595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16596 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
16597 | ||
16598 | wxPyEndAllowThreads(__tstate); | |
16599 | if (PyErr_Occurred()) SWIG_fail; | |
16600 | } | |
16601 | { | |
16602 | resultobj = SWIG_From_int((int)(result)); | |
16603 | } | |
16604 | return resultobj; | |
16605 | fail: | |
16606 | return NULL; | |
cfe5e918 | 16607 | } |
3004cfd8 RD |
16608 | |
16609 | ||
16610 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
16611 | PyObject *resultobj; | |
16612 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16613 | int result; | |
16614 | PyObject * obj0 = 0 ; | |
16615 | char *kwnames[] = { | |
16616 | (char *) "self", NULL | |
16617 | }; | |
16618 | ||
16619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
16620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16622 | { | |
16623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16624 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
16625 | ||
16626 | wxPyEndAllowThreads(__tstate); | |
16627 | if (PyErr_Occurred()) SWIG_fail; | |
16628 | } | |
16629 | { | |
16630 | resultobj = SWIG_From_int((int)(result)); | |
16631 | } | |
16632 | return resultobj; | |
16633 | fail: | |
16634 | return NULL; | |
cfe5e918 | 16635 | } |
3004cfd8 RD |
16636 | |
16637 | ||
16638 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
16639 | PyObject *resultobj; | |
16640 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16641 | int result; | |
16642 | PyObject * obj0 = 0 ; | |
16643 | char *kwnames[] = { | |
16644 | (char *) "self", NULL | |
16645 | }; | |
16646 | ||
16647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
16648 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16649 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16650 | { | |
16651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16652 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
16653 | ||
16654 | wxPyEndAllowThreads(__tstate); | |
16655 | if (PyErr_Occurred()) SWIG_fail; | |
16656 | } | |
16657 | { | |
16658 | resultobj = SWIG_From_int((int)(result)); | |
16659 | } | |
16660 | return resultobj; | |
16661 | fail: | |
16662 | return NULL; | |
cfe5e918 | 16663 | } |
3004cfd8 RD |
16664 | |
16665 | ||
16666 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16667 | PyObject *resultobj; | |
16668 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16669 | int result; | |
16670 | PyObject * obj0 = 0 ; | |
16671 | char *kwnames[] = { | |
16672 | (char *) "self", NULL | |
16673 | }; | |
16674 | ||
16675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
16676 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16677 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16678 | { | |
16679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16680 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
16681 | ||
16682 | wxPyEndAllowThreads(__tstate); | |
16683 | if (PyErr_Occurred()) SWIG_fail; | |
16684 | } | |
16685 | { | |
16686 | resultobj = SWIG_From_int((int)(result)); | |
16687 | } | |
16688 | return resultobj; | |
16689 | fail: | |
16690 | return NULL; | |
cfe5e918 | 16691 | } |
3004cfd8 RD |
16692 | |
16693 | ||
16694 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16695 | PyObject *resultobj; | |
16696 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16697 | int result; | |
16698 | PyObject * obj0 = 0 ; | |
16699 | char *kwnames[] = { | |
16700 | (char *) "self", NULL | |
16701 | }; | |
16702 | ||
16703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
16704 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16705 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16706 | { | |
16707 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16708 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
16709 | ||
16710 | wxPyEndAllowThreads(__tstate); | |
16711 | if (PyErr_Occurred()) SWIG_fail; | |
16712 | } | |
16713 | { | |
16714 | resultobj = SWIG_From_int((int)(result)); | |
16715 | } | |
16716 | return resultobj; | |
16717 | fail: | |
16718 | return NULL; | |
cfe5e918 | 16719 | } |
3004cfd8 RD |
16720 | |
16721 | ||
16722 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16723 | PyObject *resultobj; | |
16724 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16725 | int result; | |
16726 | PyObject * obj0 = 0 ; | |
16727 | char *kwnames[] = { | |
16728 | (char *) "self", NULL | |
16729 | }; | |
16730 | ||
16731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
16732 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16733 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16734 | { | |
16735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16736 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
16737 | ||
16738 | wxPyEndAllowThreads(__tstate); | |
16739 | if (PyErr_Occurred()) SWIG_fail; | |
16740 | } | |
16741 | { | |
16742 | resultobj = SWIG_From_int((int)(result)); | |
16743 | } | |
16744 | return resultobj; | |
16745 | fail: | |
16746 | return NULL; | |
cfe5e918 | 16747 | } |
3004cfd8 RD |
16748 | |
16749 | ||
16750 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
16751 | PyObject *resultobj; | |
16752 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16753 | int result; | |
16754 | PyObject * obj0 = 0 ; | |
16755 | char *kwnames[] = { | |
16756 | (char *) "self", NULL | |
16757 | }; | |
16758 | ||
16759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
16760 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16761 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16762 | { | |
16763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16764 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
16765 | ||
16766 | wxPyEndAllowThreads(__tstate); | |
16767 | if (PyErr_Occurred()) SWIG_fail; | |
16768 | } | |
16769 | { | |
16770 | resultobj = SWIG_From_int((int)(result)); | |
16771 | } | |
16772 | return resultobj; | |
16773 | fail: | |
16774 | return NULL; | |
cfe5e918 | 16775 | } |
3004cfd8 RD |
16776 | |
16777 | ||
16778 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
16779 | PyObject *resultobj; | |
16780 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16781 | int result; | |
16782 | PyObject * obj0 = 0 ; | |
16783 | char *kwnames[] = { | |
16784 | (char *) "self", NULL | |
16785 | }; | |
16786 | ||
16787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
16788 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16789 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16790 | { | |
16791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16792 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
16793 | ||
16794 | wxPyEndAllowThreads(__tstate); | |
16795 | if (PyErr_Occurred()) SWIG_fail; | |
16796 | } | |
16797 | { | |
16798 | resultobj = SWIG_From_int((int)(result)); | |
16799 | } | |
16800 | return resultobj; | |
16801 | fail: | |
16802 | return NULL; | |
cfe5e918 | 16803 | } |
3004cfd8 RD |
16804 | |
16805 | ||
16806 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16807 | PyObject *resultobj; | |
16808 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16809 | wxString result; | |
16810 | PyObject * obj0 = 0 ; | |
16811 | char *kwnames[] = { | |
16812 | (char *) "self", NULL | |
16813 | }; | |
16814 | ||
16815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
16816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16818 | { | |
16819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16820 | result = (arg1)->GetDragText(); | |
16821 | ||
16822 | wxPyEndAllowThreads(__tstate); | |
16823 | if (PyErr_Occurred()) SWIG_fail; | |
16824 | } | |
16825 | { | |
16826 | #if wxUSE_UNICODE | |
16827 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16828 | #else | |
16829 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16830 | #endif | |
16831 | } | |
16832 | return resultobj; | |
16833 | fail: | |
16834 | return NULL; | |
cfe5e918 | 16835 | } |
3004cfd8 RD |
16836 | |
16837 | ||
16838 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
16839 | PyObject *resultobj; | |
16840 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16841 | bool result; | |
16842 | PyObject * obj0 = 0 ; | |
16843 | char *kwnames[] = { | |
16844 | (char *) "self", NULL | |
16845 | }; | |
16846 | ||
16847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
16848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16850 | { | |
16851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16852 | result = (bool)(arg1)->GetDragAllowMove(); | |
16853 | ||
16854 | wxPyEndAllowThreads(__tstate); | |
16855 | if (PyErr_Occurred()) SWIG_fail; | |
16856 | } | |
16857 | { | |
16858 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16859 | } | |
16860 | return resultobj; | |
16861 | fail: | |
16862 | return NULL; | |
cfe5e918 | 16863 | } |
3004cfd8 RD |
16864 | |
16865 | ||
16866 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
16867 | PyObject *resultobj; | |
16868 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16869 | wxDragResult result; | |
16870 | PyObject * obj0 = 0 ; | |
16871 | char *kwnames[] = { | |
16872 | (char *) "self", NULL | |
16873 | }; | |
16874 | ||
16875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
16876 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16877 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16878 | { | |
16879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16880 | result = (wxDragResult)(arg1)->GetDragResult(); | |
16881 | ||
16882 | wxPyEndAllowThreads(__tstate); | |
16883 | if (PyErr_Occurred()) SWIG_fail; | |
16884 | } | |
16885 | resultobj = SWIG_From_int((result)); | |
16886 | return resultobj; | |
16887 | fail: | |
16888 | return NULL; | |
cfe5e918 | 16889 | } |
3004cfd8 RD |
16890 | |
16891 | ||
16892 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { | |
16893 | PyObject *resultobj; | |
16894 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16895 | bool result; | |
16896 | PyObject * obj0 = 0 ; | |
16897 | char *kwnames[] = { | |
16898 | (char *) "self", NULL | |
16899 | }; | |
16900 | ||
16901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
16902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16904 | { | |
16905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16906 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
16907 | ||
16908 | wxPyEndAllowThreads(__tstate); | |
16909 | if (PyErr_Occurred()) SWIG_fail; | |
16910 | } | |
16911 | { | |
16912 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16913 | } | |
16914 | return resultobj; | |
16915 | fail: | |
16916 | return NULL; | |
cfe5e918 | 16917 | } |
3004cfd8 RD |
16918 | |
16919 | ||
16920 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { | |
16921 | PyObject *resultobj; | |
16922 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16923 | bool result; | |
16924 | PyObject * obj0 = 0 ; | |
16925 | char *kwnames[] = { | |
16926 | (char *) "self", NULL | |
16927 | }; | |
16928 | ||
16929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
16930 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16931 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16932 | { | |
16933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16934 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
16935 | ||
16936 | wxPyEndAllowThreads(__tstate); | |
16937 | if (PyErr_Occurred()) SWIG_fail; | |
16938 | } | |
16939 | { | |
16940 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16941 | } | |
16942 | return resultobj; | |
16943 | fail: | |
16944 | return NULL; | |
cfe5e918 | 16945 | } |
3004cfd8 RD |
16946 | |
16947 | ||
16948 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { | |
16949 | PyObject *resultobj; | |
16950 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16951 | bool result; | |
16952 | PyObject * obj0 = 0 ; | |
16953 | char *kwnames[] = { | |
16954 | (char *) "self", NULL | |
16955 | }; | |
16956 | ||
16957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
16958 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16959 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16960 | { | |
16961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16962 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
16963 | ||
16964 | wxPyEndAllowThreads(__tstate); | |
16965 | if (PyErr_Occurred()) SWIG_fail; | |
16966 | } | |
16967 | { | |
16968 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16969 | } | |
16970 | return resultobj; | |
16971 | fail: | |
16972 | return NULL; | |
cfe5e918 | 16973 | } |
3004cfd8 RD |
16974 | |
16975 | ||
16976 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { | |
16977 | PyObject *resultobj; | |
16978 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16979 | wxEvent *result; | |
16980 | PyObject * obj0 = 0 ; | |
16981 | char *kwnames[] = { | |
16982 | (char *) "self", NULL | |
16983 | }; | |
16984 | ||
16985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
16986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16988 | { | |
16989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16990 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
16991 | ||
16992 | wxPyEndAllowThreads(__tstate); | |
16993 | if (PyErr_Occurred()) SWIG_fail; | |
16994 | } | |
16995 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); | |
16996 | return resultobj; | |
16997 | fail: | |
16998 | return NULL; | |
16999 | } | |
17000 | ||
17001 | ||
17002 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { | |
17003 | PyObject *obj; | |
17004 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17005 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
17006 | Py_INCREF(obj); | |
17007 | return Py_BuildValue((char *)""); | |
17008 | } | |
17009 | static PyMethodDef SwigMethods[] = { | |
17010 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17011 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17012 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17013 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17014 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17015 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17016 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17017 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17018 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17019 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17020 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17021 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17022 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17023 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17024 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17025 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17026 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17027 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17028 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17029 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17030 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17031 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17032 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17033 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17034 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17035 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17036 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17037 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17038 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17039 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17040 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17041 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17042 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17043 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17044 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17045 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17046 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17047 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17048 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17049 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17050 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17051 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17052 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17053 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17054 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17055 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17056 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17057 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17058 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17059 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17060 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17061 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17062 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17063 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17064 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17065 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17066 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17067 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17068 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17069 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17070 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17071 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17072 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17073 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17074 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17075 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17076 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17077 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17078 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17079 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17080 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17081 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17082 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17083 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17084 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17085 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17086 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17087 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17088 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17089 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17090 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17091 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17092 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17093 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17094 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17095 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17096 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17097 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17098 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17099 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17100 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17101 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17102 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17103 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17104 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17105 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17106 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17107 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17108 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17109 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17110 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17111 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17112 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17113 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17114 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17115 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17116 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17117 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17118 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17119 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17120 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17121 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17122 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17123 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17124 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17125 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17126 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17127 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17128 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17129 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17130 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17131 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17132 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17133 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17134 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17135 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17136 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17137 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17138 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17139 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17140 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17141 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17142 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17143 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17144 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17145 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17146 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17147 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17148 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17149 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17150 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17151 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17152 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17153 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17154 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17155 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17156 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17157 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17158 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17159 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17160 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17161 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17162 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17163 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17164 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17165 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17166 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17167 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17168 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17169 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17170 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17171 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17172 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17173 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17174 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17175 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17176 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17177 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17178 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17179 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17180 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17181 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17182 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17183 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17184 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17185 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17186 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17187 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17188 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17189 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17190 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17191 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17192 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17193 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17194 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17195 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17196 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17197 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17198 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17199 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17200 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17201 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17202 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17203 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17204 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17205 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17206 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17207 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17208 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17209 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17210 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17211 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17212 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17213 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17214 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17215 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17216 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17217 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17218 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17219 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17220 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17221 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17222 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17223 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17224 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17225 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17226 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17227 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17228 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17229 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17230 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17231 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17232 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17233 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17234 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17235 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17236 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17237 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17238 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17239 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17240 | { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17241 | { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17242 | { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17243 | { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17244 | { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17245 | { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17246 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17247 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17248 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17249 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17250 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17251 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17252 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17253 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17254 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17255 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17256 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17257 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17258 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17259 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17260 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17261 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17262 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17263 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17264 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17265 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17266 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17267 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17268 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17269 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17270 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17271 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17272 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17273 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17274 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17275 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17276 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17277 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17278 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17279 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17280 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17281 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17282 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17283 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17284 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17285 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17286 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17287 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17288 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17289 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17290 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17291 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17292 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17293 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17294 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17295 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17296 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17297 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17298 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17299 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17300 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17301 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17302 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17303 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17304 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17305 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17306 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17307 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17308 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17309 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17310 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17311 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17312 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17313 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17314 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17315 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17316 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17317 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17318 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17319 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17320 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17321 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17322 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17323 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17324 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17325 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17326 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17327 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17328 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17329 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17330 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17331 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17332 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17333 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17334 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17335 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17336 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17337 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17338 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17339 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17340 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17341 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17342 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17343 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17344 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17345 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17346 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17347 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17348 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17349 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17350 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17351 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17352 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17353 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17354 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17355 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17356 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17357 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17358 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17359 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17360 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17361 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17362 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17363 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17364 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17365 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17366 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17367 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17368 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17369 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17370 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17371 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17372 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17373 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17374 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17375 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17376 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17377 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17378 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17379 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17380 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17381 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17382 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17383 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17384 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17385 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17386 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17387 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17388 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17389 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17390 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17391 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17392 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17393 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17394 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17395 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17396 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17397 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17398 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17399 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17400 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17401 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17402 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17403 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17404 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17405 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17406 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17407 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17408 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17409 | { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e8d51145 | 17410 | { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
3004cfd8 RD |
17411 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
17412 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17413 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17414 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17415 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17416 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17417 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17418 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17419 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17420 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17421 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17422 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17423 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17424 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17425 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17426 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17427 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17428 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17429 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17430 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17431 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17432 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17433 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17434 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17435 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17436 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17437 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17438 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17439 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
02b455f2 RD |
17440 | { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, |
17441 | { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17442 | { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17443 | { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17444 | { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17445 | { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17446 | { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17447 | { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17448 | { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 RD |
17449 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL}, |
17450 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17451 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17452 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17453 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17454 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17455 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17456 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17457 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17458 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17459 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17460 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17461 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17462 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17463 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17464 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17465 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17466 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17467 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17468 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17469 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17470 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17471 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17472 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17473 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17474 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17475 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17476 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17477 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17478 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17479 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17480 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17481 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17482 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17483 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17484 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17485 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17486 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17487 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17488 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17489 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17490 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17491 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17492 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17493 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17494 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17495 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17496 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL}, | |
17497 | { NULL, NULL, 0, NULL } | |
17498 | }; | |
17499 | ||
17500 | ||
17501 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17502 | ||
17503 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
17504 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
17505 | } | |
17506 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
17507 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
17508 | } | |
17509 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
17510 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
17511 | } | |
17512 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
17513 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
17514 | } | |
17515 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
17516 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
17517 | } | |
17518 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
17519 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
17520 | } | |
17521 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
17522 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
17523 | } | |
17524 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
17525 | return (void *)((wxObject *) ((wxSizer *) x)); | |
17526 | } | |
17527 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
17528 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
17529 | } | |
17530 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { | |
17531 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
17532 | } | |
17533 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
17534 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17535 | } | |
17536 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
17537 | return (void *)((wxObject *) ((wxEvent *) x)); | |
17538 | } | |
17539 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17540 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17541 | } | |
17542 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17543 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17544 | } | |
17545 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17546 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17547 | } | |
17548 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17549 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17550 | } | |
17551 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17552 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17553 | } | |
17554 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { | |
17555 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17556 | } | |
17557 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17558 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17559 | } | |
17560 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17561 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17562 | } | |
17563 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17564 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17565 | } | |
17566 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17567 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17568 | } | |
17569 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17571 | } | |
17572 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17573 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17574 | } | |
17575 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { | |
17576 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
17577 | } | |
17578 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
cfe5e918 RD |
17579 | return (void *)((wxObject *) ((wxFSFile *) x)); |
17580 | } | |
17581 | static void *_p_wxClipboardTo_p_wxObject(void *x) { | |
17582 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
17583 | } | |
17584 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
17585 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17586 | } | |
17587 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
17588 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17589 | } | |
17590 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17591 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17592 | } | |
17593 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17594 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17595 | } | |
17596 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17597 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17598 | } | |
17599 | static void *_p_wxToolTipTo_p_wxObject(void *x) { | |
17600 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
17601 | } | |
17602 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17603 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17604 | } | |
53aa7709 RD |
17605 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
17606 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
17607 | } | |
cfe5e918 RD |
17608 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
17609 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17610 | } | |
17611 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17612 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17613 | } | |
17614 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17615 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17616 | } | |
17617 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17618 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17619 | } | |
17620 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17621 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17622 | } | |
17623 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17624 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17625 | } | |
17626 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17627 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17628 | } | |
17629 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17630 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17631 | } | |
17632 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17633 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17634 | } | |
17635 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17636 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17637 | } | |
17638 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17639 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17640 | } | |
17641 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17642 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17643 | } | |
17644 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17645 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17646 | } | |
17647 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17648 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17649 | } | |
17650 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17651 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17652 | } | |
17653 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17654 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17655 | } | |
17656 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17657 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17658 | } | |
17659 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17660 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17661 | } | |
17662 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17663 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17664 | } | |
17665 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17666 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17667 | } | |
17668 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
17669 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17670 | } | |
51b83b37 RD |
17671 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17672 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17673 | } | |
cfe5e918 RD |
17674 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17675 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17676 | } | |
17677 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17678 | return (void *)((wxObject *) ((wxImage *) x)); | |
17679 | } | |
17680 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17681 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17682 | } | |
17683 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { | |
17684 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
17685 | } | |
17686 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
17687 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
17688 | } | |
17689 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
17690 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17691 | } | |
17692 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17693 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17694 | } | |
17695 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17696 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17697 | } | |
17698 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17699 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17700 | } | |
17701 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17702 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17703 | } | |
17704 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17705 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17706 | } | |
17707 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { | |
17708 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
17709 | } | |
17710 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17711 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17712 | } | |
17713 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17714 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17715 | } | |
17716 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17717 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17718 | } | |
17719 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17720 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17721 | } | |
17722 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17723 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17724 | } | |
17725 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17726 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17727 | } | |
17728 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17729 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17730 | } | |
17731 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { | |
17732 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
17733 | } | |
17734 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17735 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17736 | } | |
17737 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17738 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17739 | } | |
17740 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17741 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17742 | } | |
17743 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17744 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17745 | } | |
17746 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17747 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17748 | } | |
17749 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { | |
17750 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
17751 | } | |
17752 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17753 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17754 | } | |
17755 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17756 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17757 | } | |
17758 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17759 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17760 | } | |
17761 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { | |
17762 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
17763 | } | |
17764 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
17765 | return (void *)((wxWindow *) ((wxControl *) x)); | |
17766 | } | |
17767 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
17768 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
17769 | } | |
17770 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
17771 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
17772 | } | |
17773 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
17774 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
17775 | } | |
17776 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17777 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17778 | } | |
17779 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17780 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17781 | } | |
17782 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17783 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17784 | } | |
53aa7709 RD |
17785 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
17786 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
17787 | } | |
cfe5e918 RD |
17788 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
17789 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17790 | } | |
17791 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
17792 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17793 | } | |
17794 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17795 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17796 | } | |
17797 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17798 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17799 | } | |
17800 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17801 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17802 | } | |
17803 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17804 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17805 | } | |
17806 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17807 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17808 | } | |
17809 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17810 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17811 | } | |
17812 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17813 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17814 | } | |
17815 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17816 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17817 | } | |
17818 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { | |
17819 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
17820 | } | |
17821 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { | |
17822 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17823 | } | |
17824 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17825 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17826 | } | |
17827 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17828 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17829 | } | |
17830 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17831 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17832 | } | |
17833 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17834 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17835 | } | |
17836 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { | |
17837 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
17838 | } | |
17839 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
17840 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
17841 | } | |
17842 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
17843 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
17844 | } | |
17845 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
17846 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17847 | } | |
17848 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
17849 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
17850 | } | |
17851 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
17852 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
17853 | } | |
17854 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
17855 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
17856 | } | |
17857 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
17858 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
17859 | } | |
17860 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
17861 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
17862 | } | |
17863 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { | |
17864 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
17865 | } | |
17866 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
17867 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
17868 | } | |
17869 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
17870 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
17871 | } | |
17872 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
17873 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
17874 | } | |
17875 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
17876 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17877 | } | |
17878 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { | |
17879 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
17880 | } | |
17881 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
17882 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
17883 | } | |
17884 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
17885 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17886 | } | |
17887 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
17888 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17889 | } | |
17890 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
17891 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
17892 | } | |
17893 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
17894 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
17895 | } | |
17896 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
17897 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
17898 | } | |
17899 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
17900 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
17901 | } | |
17902 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
17903 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
17904 | } | |
53aa7709 RD |
17905 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
17906 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
17907 | } | |
cfe5e918 RD |
17908 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
17909 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
17910 | } | |
17911 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
17912 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
17913 | } | |
17914 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
17915 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17916 | } | |
17917 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
17918 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17919 | } | |
17920 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
17921 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17922 | } | |
17923 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
17924 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17925 | } | |
17926 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
17927 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17928 | } | |
17929 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
17930 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17931 | } | |
17932 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
17933 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
17934 | } | |
17935 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
17936 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
17937 | } | |
17938 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
17939 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17940 | } | |
17941 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { | |
17942 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
17943 | } | |
17944 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
17945 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
17946 | } | |
17947 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
17948 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
17949 | } | |
17950 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
17951 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17952 | } | |
17953 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
17954 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17955 | } | |
17956 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
17957 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17958 | } | |
17959 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
17960 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
17961 | } | |
17962 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
17963 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
17964 | } | |
17965 | 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}}; | |
53aa7709 | 17966 | 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_wxDateEvent", _p_wxDateEventTo_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_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_wxCURHandler", _p_wxCURHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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}}; |
3004cfd8 RD |
17967 | static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
17968 | 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}}; | |
cfe5e918 | 17969 | 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}}; |
02b455f2 | 17970 | static swig_type_info _swigt__p_wxCharBuffer[] = {{"_p_wxCharBuffer", 0, "wxCharBuffer *", 0, 0, 0, 0},{"_p_wxCharBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
cfe5e918 RD |
17971 | 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}}; |
17972 | 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}}; | |
53aa7709 | 17973 | 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_wxDateEvent", _p_wxDateEventTo_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}}; |
3004cfd8 | 17974 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
cfe5e918 | 17975 | 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}}; |
3004cfd8 RD |
17976 | static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
17977 | static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
17978 | static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
17979 | static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
cfe5e918 | 17980 | 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}}; |
3004cfd8 | 17981 | 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}}; |
cfe5e918 RD |
17982 | 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}}; |
17983 | 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}}; | |
cfe5e918 | 17984 | 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}}; |
3004cfd8 RD |
17985 | static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
17986 | static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
cfe5e918 RD |
17987 | 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}}; |
17988 | 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}}; | |
17989 | 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}}; | |
53aa7709 | 17990 | 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_wxDateEvent", _p_wxDateEventTo_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}}; |
3004cfd8 | 17991 | static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
cfe5e918 RD |
17992 | 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}}; |
17993 | 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}}; | |
17994 | ||
17995 | static swig_type_info *swig_types_initial[] = { | |
17996 | _swigt__p_wxRect, | |
cfe5e918 | 17997 | _swigt__p_wxObject, |
3004cfd8 RD |
17998 | _swigt__p_unsigned_char, |
17999 | _swigt__p_wxColour, | |
cfe5e918 | 18000 | _swigt__p_wxScrollBar, |
02b455f2 | 18001 | _swigt__p_wxCharBuffer, |
cfe5e918 RD |
18002 | _swigt__p_wxStyledTextEvent, |
18003 | _swigt__p_wxWindow, | |
18004 | _swigt__p_wxCommandEvent, | |
3004cfd8 | 18005 | _swigt__p_unsigned_long, |
cfe5e918 | 18006 | _swigt__p_wxBitmap, |
3004cfd8 RD |
18007 | _swigt__p_unsigned_int, |
18008 | _swigt__unsigned_int, | |
18009 | _swigt__p_form_ops_t, | |
18010 | _swigt__p_wxDuplexMode, | |
cfe5e918 | 18011 | _swigt__p_void, |
3004cfd8 | 18012 | _swigt__p_char, |
cfe5e918 RD |
18013 | _swigt__p_wxPoint, |
18014 | _swigt__p_wxDC, | |
cfe5e918 | 18015 | _swigt__p_wxEvtHandler, |
3004cfd8 RD |
18016 | _swigt__std__ptrdiff_t, |
18017 | _swigt__ptrdiff_t, | |
cfe5e918 RD |
18018 | _swigt__p_wxStyledTextCtrl, |
18019 | _swigt__p_wxFont, | |
18020 | _swigt__p_wxControl, | |
18021 | _swigt__p_wxEvent, | |
3004cfd8 | 18022 | _swigt__p_wxPaperSize, |
cfe5e918 RD |
18023 | _swigt__p_int, |
18024 | _swigt__p_wxMemoryBuffer, | |
18025 | 0 | |
18026 | }; | |
18027 | ||
18028 | ||
18029 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18030 | ||
18031 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 18032 | {0, 0, 0, 0.0, 0, 0}}; |
cfe5e918 RD |
18033 | |
18034 | #ifdef __cplusplus | |
18035 | } | |
18036 | #endif | |
18037 | ||
3004cfd8 RD |
18038 | |
18039 | #ifdef __cplusplus | |
18040 | extern "C" { | |
18041 | #endif | |
18042 | ||
18043 | /* Python-specific SWIG API */ | |
18044 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18045 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18046 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18047 | ||
18048 | /* ----------------------------------------------------------------------------- | |
18049 | * global variable support code. | |
18050 | * ----------------------------------------------------------------------------- */ | |
18051 | ||
18052 | typedef struct swig_globalvar { | |
18053 | char *name; /* Name of global variable */ | |
18054 | PyObject *(*get_attr)(); /* Return the current value */ | |
18055 | int (*set_attr)(PyObject *); /* Set the value */ | |
18056 | struct swig_globalvar *next; | |
18057 | } swig_globalvar; | |
18058 | ||
18059 | typedef struct swig_varlinkobject { | |
18060 | PyObject_HEAD | |
18061 | swig_globalvar *vars; | |
18062 | } swig_varlinkobject; | |
18063 | ||
18064 | static PyObject * | |
18065 | swig_varlink_repr(swig_varlinkobject *v) { | |
18066 | v = v; | |
18067 | return PyString_FromString("<Swig global variables>"); | |
18068 | } | |
18069 | ||
18070 | static int | |
18071 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
18072 | swig_globalvar *var; | |
18073 | flags = flags; | |
18074 | fprintf(fp,"Swig global variables { "); | |
18075 | for (var = v->vars; var; var=var->next) { | |
18076 | fprintf(fp,"%s", var->name); | |
18077 | if (var->next) fprintf(fp,", "); | |
18078 | } | |
18079 | fprintf(fp," }\n"); | |
18080 | return 0; | |
18081 | } | |
18082 | ||
18083 | static PyObject * | |
18084 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
18085 | swig_globalvar *var = v->vars; | |
18086 | while (var) { | |
18087 | if (strcmp(var->name,n) == 0) { | |
18088 | return (*var->get_attr)(); | |
18089 | } | |
18090 | var = var->next; | |
18091 | } | |
18092 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18093 | return NULL; | |
18094 | } | |
18095 | ||
18096 | static int | |
18097 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
18098 | swig_globalvar *var = v->vars; | |
18099 | while (var) { | |
18100 | if (strcmp(var->name,n) == 0) { | |
18101 | return (*var->set_attr)(p); | |
18102 | } | |
18103 | var = var->next; | |
18104 | } | |
18105 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18106 | return 1; | |
18107 | } | |
18108 | ||
18109 | static PyTypeObject varlinktype = { | |
18110 | PyObject_HEAD_INIT(0) | |
18111 | 0, /* Number of items in variable part (ob_size) */ | |
18112 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18113 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18114 | 0, /* Itemsize (tp_itemsize) */ | |
18115 | 0, /* Deallocator (tp_dealloc) */ | |
18116 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18117 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18118 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18119 | 0, /* tp_compare */ | |
18120 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18121 | 0, /* tp_as_number */ | |
18122 | 0, /* tp_as_sequence */ | |
18123 | 0, /* tp_as_mapping */ | |
18124 | 0, /* tp_hash */ | |
18125 | 0, /* tp_call */ | |
18126 | 0, /* tp_str */ | |
18127 | 0, /* tp_getattro */ | |
18128 | 0, /* tp_setattro */ | |
18129 | 0, /* tp_as_buffer */ | |
18130 | 0, /* tp_flags */ | |
18131 | 0, /* tp_doc */ | |
18132 | #if PY_VERSION_HEX >= 0x02000000 | |
18133 | 0, /* tp_traverse */ | |
18134 | 0, /* tp_clear */ | |
18135 | #endif | |
18136 | #if PY_VERSION_HEX >= 0x02010000 | |
18137 | 0, /* tp_richcompare */ | |
18138 | 0, /* tp_weaklistoffset */ | |
18139 | #endif | |
18140 | #if PY_VERSION_HEX >= 0x02020000 | |
18141 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18142 | #endif | |
18143 | #if PY_VERSION_HEX >= 0x02030000 | |
18144 | 0, /* tp_del */ | |
18145 | #endif | |
18146 | #ifdef COUNT_ALLOCS | |
18147 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18148 | #endif | |
18149 | }; | |
18150 | ||
18151 | /* Create a variable linking object for use later */ | |
18152 | static PyObject * | |
18153 | SWIG_Python_newvarlink(void) { | |
18154 | swig_varlinkobject *result = 0; | |
18155 | result = PyMem_NEW(swig_varlinkobject,1); | |
18156 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
18157 | result->ob_type = &varlinktype; | |
18158 | result->vars = 0; | |
18159 | result->ob_refcnt = 0; | |
18160 | Py_XINCREF((PyObject *) result); | |
18161 | return ((PyObject*) result); | |
18162 | } | |
18163 | ||
18164 | static void | |
18165 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18166 | swig_varlinkobject *v; | |
18167 | swig_globalvar *gv; | |
18168 | v= (swig_varlinkobject *) p; | |
18169 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18170 | gv->name = (char *) malloc(strlen(name)+1); | |
18171 | strcpy(gv->name,name); | |
18172 | gv->get_attr = get_attr; | |
18173 | gv->set_attr = set_attr; | |
18174 | gv->next = v->vars; | |
18175 | v->vars = gv; | |
18176 | } | |
18177 | ||
18178 | /* ----------------------------------------------------------------------------- | |
18179 | * constants/methods manipulation | |
18180 | * ----------------------------------------------------------------------------- */ | |
18181 | ||
18182 | /* Install Constants */ | |
18183 | static void | |
18184 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
18185 | PyObject *obj = 0; | |
18186 | size_t i; | |
18187 | for (i = 0; constants[i].type; i++) { | |
18188 | switch(constants[i].type) { | |
18189 | case SWIG_PY_INT: | |
18190 | obj = PyInt_FromLong(constants[i].lvalue); | |
18191 | break; | |
18192 | case SWIG_PY_FLOAT: | |
18193 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
18194 | break; | |
18195 | case SWIG_PY_STRING: | |
18196 | if (constants[i].pvalue) { | |
18197 | obj = PyString_FromString((char *) constants[i].pvalue); | |
18198 | } else { | |
18199 | Py_INCREF(Py_None); | |
18200 | obj = Py_None; | |
18201 | } | |
18202 | break; | |
18203 | case SWIG_PY_POINTER: | |
18204 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
18205 | break; | |
18206 | case SWIG_PY_BINARY: | |
18207 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
18208 | break; | |
18209 | default: | |
18210 | obj = 0; | |
18211 | break; | |
18212 | } | |
18213 | if (obj) { | |
18214 | PyDict_SetItemString(d,constants[i].name,obj); | |
18215 | Py_DECREF(obj); | |
18216 | } | |
18217 | } | |
18218 | } | |
18219 | ||
18220 | /* -----------------------------------------------------------------------------*/ | |
18221 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18222 | /* -----------------------------------------------------------------------------*/ | |
18223 | ||
18224 | static void | |
18225 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
18226 | swig_const_info *const_table, | |
18227 | swig_type_info **types, | |
18228 | swig_type_info **types_initial) { | |
18229 | size_t i; | |
18230 | for (i = 0; methods[i].ml_name; ++i) { | |
18231 | char *c = methods[i].ml_doc; | |
18232 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
18233 | int j; | |
18234 | swig_const_info *ci = 0; | |
18235 | char *name = c + 10; | |
18236 | for (j = 0; const_table[j].type; j++) { | |
18237 | if (strncmp(const_table[j].name, name, | |
18238 | strlen(const_table[j].name)) == 0) { | |
18239 | ci = &(const_table[j]); | |
18240 | break; | |
18241 | } | |
18242 | } | |
18243 | if (ci) { | |
18244 | size_t shift = (ci->ptype) - types; | |
18245 | swig_type_info *ty = types_initial[shift]; | |
18246 | size_t ldoc = (c - methods[i].ml_doc); | |
18247 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
18248 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
18249 | char *buff = ndoc; | |
18250 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
18251 | strncpy(buff, methods[i].ml_doc, ldoc); | |
18252 | buff += ldoc; | |
18253 | strncpy(buff, "swig_ptr: ", 10); | |
18254 | buff += 10; | |
18255 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
18256 | methods[i].ml_doc = ndoc; | |
18257 | } | |
18258 | } | |
18259 | } | |
18260 | } | |
18261 | ||
18262 | /* -----------------------------------------------------------------------------* | |
18263 | * Initialize type list | |
18264 | * -----------------------------------------------------------------------------*/ | |
18265 | ||
18266 | #if PY_MAJOR_VERSION < 2 | |
18267 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
18268 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
18269 | static int | |
18270 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
18271 | { | |
18272 | PyObject *dict; | |
18273 | if (!PyModule_Check(m)) { | |
18274 | PyErr_SetString(PyExc_TypeError, | |
18275 | "PyModule_AddObject() needs module as first arg"); | |
18276 | return -1; | |
18277 | } | |
18278 | if (!o) { | |
18279 | PyErr_SetString(PyExc_TypeError, | |
18280 | "PyModule_AddObject() needs non-NULL value"); | |
18281 | return -1; | |
18282 | } | |
18283 | ||
18284 | dict = PyModule_GetDict(m); | |
18285 | if (dict == NULL) { | |
18286 | /* Internal error -- modules must have a dict! */ | |
18287 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
18288 | PyModule_GetName(m)); | |
18289 | return -1; | |
18290 | } | |
18291 | if (PyDict_SetItemString(dict, name, o)) | |
18292 | return -1; | |
18293 | Py_DECREF(o); | |
18294 | return 0; | |
18295 | } | |
18296 | #endif | |
18297 | ||
18298 | static swig_type_info ** | |
18299 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
18300 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
18301 | { | |
18302 | NULL, NULL, 0, NULL | |
18303 | } | |
18304 | };/* Sentinel */ | |
18305 | ||
18306 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
18307 | swig_empty_runtime_method_table); | |
18308 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
18309 | if (pointer && module) { | |
18310 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
18311 | } | |
18312 | return type_list_handle; | |
18313 | } | |
18314 | ||
18315 | static swig_type_info ** | |
18316 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
18317 | swig_type_info **type_pointer; | |
18318 | ||
18319 | /* first check if module already created */ | |
18320 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
18321 | if (type_pointer) { | |
18322 | return type_pointer; | |
18323 | } else { | |
18324 | /* create a new module and variable */ | |
18325 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
18326 | } | |
18327 | } | |
18328 | ||
18329 | #ifdef __cplusplus | |
18330 | } | |
18331 | #endif | |
18332 | ||
18333 | /* -----------------------------------------------------------------------------* | |
18334 | * Partial Init method | |
18335 | * -----------------------------------------------------------------------------*/ | |
18336 | ||
18337 | #ifdef SWIG_LINK_RUNTIME | |
18338 | #ifdef __cplusplus | |
18339 | extern "C" | |
18340 | #endif | |
18341 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
18342 | #endif | |
18343 | ||
cfe5e918 RD |
18344 | #ifdef __cplusplus |
18345 | extern "C" | |
18346 | #endif | |
18347 | SWIGEXPORT(void) SWIG_init(void) { | |
18348 | static PyObject *SWIG_globals = 0; | |
18349 | static int typeinit = 0; | |
18350 | PyObject *m, *d; | |
18351 | int i; | |
18352 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
3004cfd8 RD |
18353 | |
18354 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18355 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
18356 | ||
cfe5e918 RD |
18357 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
18358 | d = PyModule_GetDict(m); | |
18359 | ||
18360 | if (!typeinit) { | |
3004cfd8 RD |
18361 | #ifdef SWIG_LINK_RUNTIME |
18362 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
18363 | #else | |
18364 | # ifndef SWIG_STATIC_RUNTIME | |
18365 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
18366 | # endif | |
18367 | #endif | |
cfe5e918 RD |
18368 | for (i = 0; swig_types_initial[i]; i++) { |
18369 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
18370 | } | |
18371 | typeinit = 1; | |
18372 | } | |
18373 | SWIG_InstallConstants(d,swig_const_table); | |
18374 | ||
18375 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
18376 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
3004cfd8 RD |
18377 | { |
18378 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1))); | |
18379 | } | |
18380 | { | |
18381 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1))); | |
18382 | } | |
18383 | { | |
18384 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1))); | |
18385 | } | |
18386 | { | |
18387 | PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000))); | |
18388 | } | |
18389 | { | |
18390 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000))); | |
18391 | } | |
18392 | { | |
18393 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000))); | |
18394 | } | |
18395 | { | |
18396 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0))); | |
18397 | } | |
18398 | { | |
18399 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1))); | |
18400 | } | |
18401 | { | |
18402 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2))); | |
18403 | } | |
18404 | { | |
18405 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0))); | |
18406 | } | |
18407 | { | |
18408 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1))); | |
18409 | } | |
18410 | { | |
18411 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2))); | |
18412 | } | |
18413 | { | |
18414 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001))); | |
18415 | } | |
18416 | { | |
18417 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1))); | |
18418 | } | |
18419 | { | |
18420 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31))); | |
18421 | } | |
18422 | { | |
18423 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0))); | |
18424 | } | |
18425 | { | |
18426 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1))); | |
18427 | } | |
18428 | { | |
18429 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2))); | |
18430 | } | |
18431 | { | |
18432 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3))); | |
18433 | } | |
18434 | { | |
18435 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4))); | |
18436 | } | |
18437 | { | |
18438 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5))); | |
18439 | } | |
18440 | { | |
18441 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6))); | |
18442 | } | |
18443 | { | |
18444 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7))); | |
18445 | } | |
18446 | { | |
18447 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8))); | |
18448 | } | |
18449 | { | |
18450 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9))); | |
18451 | } | |
18452 | { | |
18453 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10))); | |
18454 | } | |
18455 | { | |
18456 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11))); | |
18457 | } | |
18458 | { | |
18459 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12))); | |
18460 | } | |
18461 | { | |
18462 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13))); | |
18463 | } | |
18464 | { | |
18465 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14))); | |
18466 | } | |
18467 | { | |
18468 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15))); | |
18469 | } | |
18470 | { | |
18471 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16))); | |
18472 | } | |
18473 | { | |
18474 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17))); | |
18475 | } | |
18476 | { | |
18477 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18))); | |
18478 | } | |
18479 | { | |
18480 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19))); | |
18481 | } | |
18482 | { | |
18483 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20))); | |
18484 | } | |
18485 | { | |
18486 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21))); | |
18487 | } | |
18488 | { | |
18489 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22))); | |
18490 | } | |
18491 | { | |
18492 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23))); | |
18493 | } | |
18494 | { | |
18495 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24))); | |
18496 | } | |
18497 | { | |
18498 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25))); | |
18499 | } | |
18500 | { | |
18501 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000))); | |
18502 | } | |
18503 | { | |
18504 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25))); | |
18505 | } | |
18506 | { | |
18507 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26))); | |
18508 | } | |
18509 | { | |
18510 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27))); | |
18511 | } | |
18512 | { | |
18513 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28))); | |
18514 | } | |
18515 | { | |
18516 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29))); | |
18517 | } | |
18518 | { | |
18519 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30))); | |
18520 | } | |
18521 | { | |
18522 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31))); | |
18523 | } | |
18524 | { | |
18525 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000))); | |
18526 | } | |
18527 | { | |
18528 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0))); | |
18529 | } | |
18530 | { | |
18531 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1))); | |
18532 | } | |
18533 | { | |
18534 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32))); | |
18535 | } | |
18536 | { | |
18537 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33))); | |
18538 | } | |
18539 | { | |
18540 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34))); | |
18541 | } | |
18542 | { | |
18543 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35))); | |
18544 | } | |
18545 | { | |
18546 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36))); | |
18547 | } | |
18548 | { | |
18549 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37))); | |
18550 | } | |
18551 | { | |
18552 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39))); | |
18553 | } | |
18554 | { | |
18555 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127))); | |
18556 | } | |
18557 | { | |
18558 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0))); | |
18559 | } | |
18560 | { | |
18561 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1))); | |
18562 | } | |
18563 | { | |
18564 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186))); | |
18565 | } | |
18566 | { | |
18567 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136))); | |
18568 | } | |
18569 | { | |
18570 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238))); | |
18571 | } | |
18572 | { | |
18573 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134))); | |
18574 | } | |
18575 | { | |
18576 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161))); | |
18577 | } | |
18578 | { | |
18579 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129))); | |
18580 | } | |
18581 | { | |
18582 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77))); | |
18583 | } | |
18584 | { | |
18585 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255))); | |
18586 | } | |
18587 | { | |
18588 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204))); | |
18589 | } | |
18590 | { | |
18591 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128))); | |
18592 | } | |
18593 | { | |
18594 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2))); | |
18595 | } | |
18596 | { | |
18597 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162))); | |
18598 | } | |
18599 | { | |
18600 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130))); | |
18601 | } | |
18602 | { | |
18603 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177))); | |
18604 | } | |
18605 | { | |
18606 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178))); | |
18607 | } | |
18608 | { | |
18609 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163))); | |
18610 | } | |
18611 | { | |
18612 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222))); | |
18613 | } | |
18614 | { | |
18615 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0))); | |
18616 | } | |
18617 | { | |
18618 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1))); | |
18619 | } | |
18620 | { | |
18621 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2))); | |
18622 | } | |
18623 | { | |
18624 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7))); | |
18625 | } | |
18626 | { | |
18627 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0))); | |
18628 | } | |
18629 | { | |
18630 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1))); | |
18631 | } | |
18632 | { | |
18633 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2))); | |
18634 | } | |
18635 | { | |
18636 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3))); | |
18637 | } | |
18638 | { | |
18639 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4))); | |
18640 | } | |
18641 | { | |
18642 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5))); | |
18643 | } | |
18644 | { | |
18645 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6))); | |
18646 | } | |
18647 | { | |
18648 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20))); | |
18649 | } | |
18650 | { | |
18651 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40))); | |
18652 | } | |
18653 | { | |
18654 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80))); | |
18655 | } | |
18656 | { | |
18657 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0))); | |
18658 | } | |
18659 | { | |
18660 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0))); | |
18661 | } | |
18662 | { | |
18663 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1))); | |
18664 | } | |
18665 | { | |
18666 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2))); | |
18667 | } | |
18668 | { | |
18669 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3))); | |
18670 | } | |
18671 | { | |
18672 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4))); | |
18673 | } | |
18674 | { | |
18675 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2))); | |
18676 | } | |
18677 | { | |
18678 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4))); | |
18679 | } | |
18680 | { | |
18681 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000))); | |
18682 | } | |
18683 | { | |
18684 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000))); | |
18685 | } | |
18686 | { | |
18687 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000))); | |
18688 | } | |
18689 | { | |
18690 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400))); | |
18691 | } | |
18692 | { | |
18693 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000))); | |
18694 | } | |
18695 | { | |
18696 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000))); | |
18697 | } | |
18698 | { | |
18699 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000))); | |
18700 | } | |
18701 | { | |
18702 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000))); | |
18703 | } | |
18704 | { | |
18705 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000))); | |
18706 | } | |
18707 | { | |
18708 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000))); | |
18709 | } | |
18710 | { | |
18711 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF))); | |
18712 | } | |
18713 | { | |
18714 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002))); | |
18715 | } | |
18716 | { | |
18717 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004))); | |
18718 | } | |
18719 | { | |
18720 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008))); | |
18721 | } | |
18722 | { | |
18723 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010))); | |
18724 | } | |
18725 | { | |
18726 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040))); | |
18727 | } | |
18728 | { | |
18729 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001))); | |
18730 | } | |
18731 | { | |
18732 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000))); | |
18733 | } | |
18734 | { | |
18735 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0))); | |
18736 | } | |
18737 | { | |
18738 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1))); | |
18739 | } | |
18740 | { | |
18741 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000))); | |
18742 | } | |
18743 | { | |
18744 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001))); | |
18745 | } | |
18746 | { | |
18747 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002))); | |
18748 | } | |
18749 | { | |
18750 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000))); | |
18751 | } | |
18752 | { | |
18753 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001))); | |
18754 | } | |
18755 | { | |
18756 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002))); | |
18757 | } | |
18758 | { | |
18759 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0))); | |
18760 | } | |
18761 | { | |
18762 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1))); | |
18763 | } | |
18764 | { | |
18765 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2))); | |
18766 | } | |
18767 | { | |
18768 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3))); | |
18769 | } | |
18770 | { | |
18771 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0))); | |
18772 | } | |
18773 | { | |
18774 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1))); | |
18775 | } | |
18776 | { | |
18777 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2))); | |
18778 | } | |
18779 | { | |
18780 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1))); | |
18781 | } | |
18782 | { | |
18783 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4))); | |
18784 | } | |
18785 | { | |
18786 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01))); | |
18787 | } | |
18788 | { | |
18789 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04))); | |
18790 | } | |
18791 | { | |
18792 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01))); | |
18793 | } | |
18794 | { | |
18795 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04))); | |
18796 | } | |
18797 | { | |
18798 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10))); | |
18799 | } | |
18800 | { | |
18801 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08))); | |
18802 | } | |
18803 | { | |
18804 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0))); | |
18805 | } | |
18806 | { | |
18807 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1))); | |
18808 | } | |
18809 | { | |
18810 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2))); | |
18811 | } | |
18812 | { | |
18813 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8))); | |
18814 | } | |
18815 | { | |
18816 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1))); | |
18817 | } | |
18818 | { | |
18819 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2))); | |
18820 | } | |
18821 | { | |
18822 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4))); | |
18823 | } | |
18824 | { | |
18825 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8))); | |
18826 | } | |
18827 | { | |
18828 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10))); | |
18829 | } | |
18830 | { | |
18831 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20))); | |
18832 | } | |
18833 | { | |
18834 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40))); | |
18835 | } | |
18836 | { | |
18837 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100))); | |
18838 | } | |
18839 | { | |
18840 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200))); | |
18841 | } | |
18842 | { | |
18843 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400))); | |
18844 | } | |
18845 | { | |
18846 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800))); | |
18847 | } | |
18848 | { | |
18849 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77))); | |
18850 | } | |
18851 | { | |
18852 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300))); | |
18853 | } | |
18854 | { | |
18855 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301))); | |
18856 | } | |
18857 | { | |
18858 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302))); | |
18859 | } | |
18860 | { | |
18861 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303))); | |
18862 | } | |
18863 | { | |
18864 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304))); | |
18865 | } | |
18866 | { | |
18867 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305))); | |
18868 | } | |
18869 | { | |
18870 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306))); | |
18871 | } | |
18872 | { | |
18873 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307))); | |
18874 | } | |
18875 | { | |
18876 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308))); | |
18877 | } | |
18878 | { | |
18879 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309))); | |
18880 | } | |
18881 | { | |
18882 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7))); | |
18883 | } | |
18884 | { | |
18885 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8))); | |
18886 | } | |
18887 | { | |
18888 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9))); | |
18889 | } | |
18890 | { | |
18891 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13))); | |
18892 | } | |
18893 | { | |
18894 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310))); | |
18895 | } | |
18896 | { | |
18897 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311))); | |
18898 | } | |
18899 | { | |
18900 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312))); | |
18901 | } | |
18902 | { | |
18903 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1))); | |
18904 | } | |
18905 | { | |
18906 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2))); | |
18907 | } | |
18908 | { | |
18909 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4))); | |
18910 | } | |
18911 | { | |
18912 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0))); | |
18913 | } | |
18914 | { | |
18915 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1))); | |
18916 | } | |
18917 | { | |
18918 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2))); | |
18919 | } | |
18920 | { | |
18921 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3))); | |
18922 | } | |
18923 | { | |
18924 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4))); | |
18925 | } | |
18926 | { | |
18927 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5))); | |
18928 | } | |
18929 | { | |
18930 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6))); | |
18931 | } | |
18932 | { | |
18933 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7))); | |
18934 | } | |
18935 | { | |
18936 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8))); | |
18937 | } | |
18938 | { | |
18939 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9))); | |
18940 | } | |
18941 | { | |
18942 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10))); | |
18943 | } | |
18944 | { | |
18945 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11))); | |
18946 | } | |
18947 | { | |
18948 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12))); | |
18949 | } | |
18950 | { | |
18951 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13))); | |
18952 | } | |
18953 | { | |
18954 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14))); | |
18955 | } | |
18956 | { | |
18957 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15))); | |
18958 | } | |
18959 | { | |
18960 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16))); | |
18961 | } | |
18962 | { | |
18963 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17))); | |
18964 | } | |
18965 | { | |
18966 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18))); | |
18967 | } | |
18968 | { | |
18969 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19))); | |
18970 | } | |
18971 | { | |
18972 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20))); | |
18973 | } | |
18974 | { | |
18975 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21))); | |
18976 | } | |
18977 | { | |
18978 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22))); | |
18979 | } | |
18980 | { | |
18981 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23))); | |
18982 | } | |
18983 | { | |
18984 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24))); | |
18985 | } | |
18986 | { | |
18987 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25))); | |
18988 | } | |
18989 | { | |
18990 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26))); | |
18991 | } | |
18992 | { | |
18993 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27))); | |
18994 | } | |
18995 | { | |
18996 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28))); | |
18997 | } | |
18998 | { | |
18999 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29))); | |
19000 | } | |
19001 | { | |
19002 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30))); | |
19003 | } | |
19004 | { | |
19005 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31))); | |
19006 | } | |
19007 | { | |
19008 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32))); | |
19009 | } | |
19010 | { | |
19011 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33))); | |
19012 | } | |
19013 | { | |
19014 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34))); | |
19015 | } | |
19016 | { | |
19017 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35))); | |
19018 | } | |
19019 | { | |
19020 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36))); | |
19021 | } | |
19022 | { | |
19023 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37))); | |
19024 | } | |
19025 | { | |
19026 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38))); | |
19027 | } | |
19028 | { | |
19029 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39))); | |
19030 | } | |
19031 | { | |
19032 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40))); | |
19033 | } | |
19034 | { | |
19035 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41))); | |
19036 | } | |
19037 | { | |
19038 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42))); | |
19039 | } | |
19040 | { | |
19041 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43))); | |
19042 | } | |
19043 | { | |
19044 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44))); | |
19045 | } | |
19046 | { | |
19047 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45))); | |
19048 | } | |
19049 | { | |
19050 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46))); | |
19051 | } | |
19052 | { | |
19053 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47))); | |
19054 | } | |
19055 | { | |
19056 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48))); | |
19057 | } | |
19058 | { | |
19059 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49))); | |
19060 | } | |
19061 | { | |
19062 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50))); | |
19063 | } | |
19064 | { | |
19065 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51))); | |
19066 | } | |
19067 | { | |
19068 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52))); | |
19069 | } | |
19070 | { | |
19071 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53))); | |
19072 | } | |
19073 | { | |
19074 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54))); | |
19075 | } | |
19076 | { | |
19077 | PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55))); | |
19078 | } | |
19079 | { | |
19080 | PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56))); | |
19081 | } | |
19082 | { | |
19083 | PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57))); | |
19084 | } | |
19085 | { | |
19086 | PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58))); | |
19087 | } | |
19088 | { | |
19089 | PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59))); | |
19090 | } | |
19091 | { | |
19092 | PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60))); | |
19093 | } | |
19094 | { | |
19095 | PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61))); | |
19096 | } | |
19097 | { | |
19098 | PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62))); | |
19099 | } | |
e8d51145 RD |
19100 | { |
19101 | PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63))); | |
19102 | } | |
19103 | { | |
19104 | PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64))); | |
19105 | } | |
3004cfd8 RD |
19106 | { |
19107 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000))); | |
19108 | } | |
19109 | { | |
19110 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0))); | |
19111 | } | |
19112 | { | |
19113 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1))); | |
19114 | } | |
19115 | { | |
19116 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2))); | |
19117 | } | |
19118 | { | |
19119 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3))); | |
19120 | } | |
19121 | { | |
19122 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4))); | |
19123 | } | |
19124 | { | |
19125 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5))); | |
19126 | } | |
19127 | { | |
19128 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6))); | |
19129 | } | |
19130 | { | |
19131 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7))); | |
19132 | } | |
19133 | { | |
19134 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8))); | |
19135 | } | |
19136 | { | |
19137 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9))); | |
19138 | } | |
19139 | { | |
19140 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10))); | |
19141 | } | |
19142 | { | |
19143 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11))); | |
19144 | } | |
19145 | { | |
19146 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12))); | |
19147 | } | |
19148 | { | |
19149 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13))); | |
19150 | } | |
19151 | { | |
19152 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0))); | |
19153 | } | |
19154 | { | |
19155 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1))); | |
19156 | } | |
19157 | { | |
19158 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2))); | |
19159 | } | |
19160 | { | |
19161 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3))); | |
19162 | } | |
19163 | { | |
19164 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4))); | |
19165 | } | |
19166 | { | |
19167 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5))); | |
19168 | } | |
19169 | { | |
19170 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6))); | |
19171 | } | |
19172 | { | |
19173 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7))); | |
19174 | } | |
19175 | { | |
19176 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8))); | |
19177 | } | |
19178 | { | |
19179 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19180 | } | |
19181 | { | |
19182 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10))); | |
19183 | } | |
19184 | { | |
19185 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11))); | |
19186 | } | |
19187 | { | |
19188 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12))); | |
19189 | } | |
19190 | { | |
19191 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13))); | |
19192 | } | |
19193 | { | |
19194 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14))); | |
19195 | } | |
19196 | { | |
19197 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15))); | |
19198 | } | |
19199 | { | |
19200 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16))); | |
19201 | } | |
19202 | { | |
19203 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17))); | |
19204 | } | |
19205 | { | |
19206 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18))); | |
19207 | } | |
19208 | { | |
19209 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19))); | |
19210 | } | |
19211 | { | |
19212 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0))); | |
19213 | } | |
19214 | { | |
19215 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1))); | |
19216 | } | |
19217 | { | |
19218 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2))); | |
19219 | } | |
19220 | { | |
19221 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3))); | |
19222 | } | |
19223 | { | |
19224 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4))); | |
19225 | } | |
19226 | { | |
19227 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5))); | |
19228 | } | |
19229 | { | |
19230 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6))); | |
19231 | } | |
19232 | { | |
19233 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7))); | |
19234 | } | |
19235 | { | |
19236 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8))); | |
19237 | } | |
19238 | { | |
19239 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9))); | |
19240 | } | |
19241 | { | |
19242 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10))); | |
19243 | } | |
19244 | { | |
19245 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11))); | |
19246 | } | |
19247 | { | |
19248 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12))); | |
19249 | } | |
19250 | { | |
19251 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13))); | |
19252 | } | |
19253 | { | |
19254 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14))); | |
19255 | } | |
19256 | { | |
19257 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15))); | |
19258 | } | |
19259 | { | |
19260 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16))); | |
19261 | } | |
19262 | { | |
19263 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17))); | |
19264 | } | |
19265 | { | |
19266 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18))); | |
19267 | } | |
19268 | { | |
19269 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19))); | |
19270 | } | |
19271 | { | |
19272 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20))); | |
19273 | } | |
19274 | { | |
19275 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21))); | |
19276 | } | |
19277 | { | |
19278 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22))); | |
19279 | } | |
19280 | { | |
19281 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23))); | |
19282 | } | |
19283 | { | |
19284 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24))); | |
19285 | } | |
19286 | { | |
19287 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25))); | |
19288 | } | |
19289 | { | |
19290 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26))); | |
19291 | } | |
19292 | { | |
19293 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27))); | |
19294 | } | |
19295 | { | |
19296 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28))); | |
19297 | } | |
19298 | { | |
19299 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29))); | |
19300 | } | |
19301 | { | |
19302 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30))); | |
19303 | } | |
19304 | { | |
19305 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31))); | |
19306 | } | |
19307 | { | |
19308 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40))); | |
19309 | } | |
19310 | { | |
19311 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41))); | |
19312 | } | |
19313 | { | |
19314 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42))); | |
19315 | } | |
19316 | { | |
19317 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43))); | |
19318 | } | |
19319 | { | |
19320 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44))); | |
19321 | } | |
19322 | { | |
19323 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45))); | |
19324 | } | |
19325 | { | |
19326 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46))); | |
19327 | } | |
19328 | { | |
19329 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47))); | |
19330 | } | |
19331 | { | |
19332 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48))); | |
19333 | } | |
19334 | { | |
19335 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49))); | |
19336 | } | |
19337 | { | |
19338 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50))); | |
19339 | } | |
19340 | { | |
19341 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51))); | |
19342 | } | |
19343 | { | |
19344 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52))); | |
19345 | } | |
19346 | { | |
19347 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55))); | |
19348 | } | |
19349 | { | |
19350 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56))); | |
19351 | } | |
19352 | { | |
19353 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57))); | |
19354 | } | |
19355 | { | |
19356 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58))); | |
19357 | } | |
19358 | { | |
19359 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59))); | |
19360 | } | |
19361 | { | |
19362 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60))); | |
19363 | } | |
19364 | { | |
19365 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61))); | |
19366 | } | |
19367 | { | |
19368 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62))); | |
19369 | } | |
19370 | { | |
19371 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63))); | |
19372 | } | |
19373 | { | |
19374 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64))); | |
19375 | } | |
19376 | { | |
19377 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65))); | |
19378 | } | |
19379 | { | |
19380 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66))); | |
19381 | } | |
19382 | { | |
19383 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67))); | |
19384 | } | |
19385 | { | |
19386 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70))); | |
19387 | } | |
19388 | { | |
19389 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71))); | |
19390 | } | |
19391 | { | |
19392 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72))); | |
19393 | } | |
19394 | { | |
19395 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73))); | |
19396 | } | |
19397 | { | |
19398 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74))); | |
19399 | } | |
19400 | { | |
19401 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75))); | |
19402 | } | |
19403 | { | |
19404 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76))); | |
19405 | } | |
19406 | { | |
19407 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77))); | |
19408 | } | |
19409 | { | |
19410 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80))); | |
19411 | } | |
19412 | { | |
19413 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81))); | |
19414 | } | |
19415 | { | |
19416 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82))); | |
19417 | } | |
19418 | { | |
19419 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83))); | |
19420 | } | |
19421 | { | |
19422 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84))); | |
19423 | } | |
19424 | { | |
19425 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85))); | |
19426 | } | |
19427 | { | |
19428 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86))); | |
19429 | } | |
19430 | { | |
19431 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87))); | |
19432 | } | |
19433 | { | |
19434 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90))); | |
19435 | } | |
19436 | { | |
19437 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91))); | |
19438 | } | |
19439 | { | |
19440 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92))); | |
19441 | } | |
19442 | { | |
19443 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93))); | |
19444 | } | |
19445 | { | |
19446 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94))); | |
19447 | } | |
19448 | { | |
19449 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95))); | |
19450 | } | |
19451 | { | |
19452 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96))); | |
19453 | } | |
19454 | { | |
19455 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97))); | |
19456 | } | |
19457 | { | |
19458 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98))); | |
19459 | } | |
19460 | { | |
19461 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99))); | |
19462 | } | |
19463 | { | |
19464 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100))); | |
19465 | } | |
19466 | { | |
19467 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101))); | |
19468 | } | |
19469 | { | |
19470 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102))); | |
19471 | } | |
19472 | { | |
19473 | PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104))); | |
19474 | } | |
19475 | { | |
19476 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105))); | |
19477 | } | |
19478 | { | |
19479 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106))); | |
19480 | } | |
19481 | { | |
19482 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107))); | |
19483 | } | |
19484 | { | |
19485 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108))); | |
19486 | } | |
19487 | { | |
19488 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109))); | |
19489 | } | |
19490 | { | |
19491 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110))); | |
19492 | } | |
19493 | { | |
19494 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111))); | |
19495 | } | |
19496 | { | |
19497 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112))); | |
19498 | } | |
19499 | { | |
19500 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113))); | |
19501 | } | |
19502 | { | |
19503 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114))); | |
19504 | } | |
19505 | { | |
19506 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115))); | |
19507 | } | |
19508 | { | |
19509 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116))); | |
19510 | } | |
19511 | { | |
19512 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117))); | |
19513 | } | |
19514 | { | |
19515 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118))); | |
19516 | } | |
19517 | { | |
19518 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119))); | |
19519 | } | |
19520 | { | |
19521 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120))); | |
19522 | } | |
19523 | { | |
19524 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121))); | |
19525 | } | |
19526 | { | |
19527 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122))); | |
19528 | } | |
19529 | { | |
19530 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123))); | |
19531 | } | |
19532 | { | |
19533 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124))); | |
19534 | } | |
19535 | { | |
19536 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125))); | |
19537 | } | |
19538 | { | |
19539 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126))); | |
19540 | } | |
19541 | { | |
19542 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127))); | |
19543 | } | |
19544 | { | |
19545 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0))); | |
19546 | } | |
19547 | { | |
19548 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1))); | |
19549 | } | |
19550 | { | |
19551 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2))); | |
19552 | } | |
19553 | { | |
19554 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3))); | |
19555 | } | |
19556 | { | |
19557 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4))); | |
19558 | } | |
19559 | { | |
19560 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5))); | |
19561 | } | |
19562 | { | |
19563 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6))); | |
19564 | } | |
19565 | { | |
19566 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7))); | |
19567 | } | |
19568 | { | |
19569 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8))); | |
19570 | } | |
19571 | { | |
19572 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19573 | } | |
19574 | { | |
19575 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10))); | |
19576 | } | |
19577 | { | |
19578 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11))); | |
19579 | } | |
19580 | { | |
19581 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12))); | |
19582 | } | |
19583 | { | |
19584 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13))); | |
19585 | } | |
19586 | { | |
19587 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14))); | |
19588 | } | |
19589 | { | |
19590 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15))); | |
19591 | } | |
19592 | { | |
19593 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17))); | |
19594 | } | |
19595 | { | |
19596 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18))); | |
19597 | } | |
19598 | { | |
19599 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19))); | |
19600 | } | |
19601 | { | |
19602 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20))); | |
19603 | } | |
19604 | { | |
19605 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21))); | |
19606 | } | |
19607 | { | |
19608 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22))); | |
19609 | } | |
19610 | { | |
19611 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23))); | |
19612 | } | |
19613 | { | |
19614 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24))); | |
19615 | } | |
19616 | { | |
19617 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25))); | |
19618 | } | |
19619 | { | |
19620 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26))); | |
19621 | } | |
19622 | { | |
19623 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27))); | |
19624 | } | |
19625 | { | |
19626 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28))); | |
19627 | } | |
19628 | { | |
19629 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29))); | |
19630 | } | |
19631 | { | |
19632 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30))); | |
19633 | } | |
19634 | { | |
19635 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0))); | |
19636 | } | |
19637 | { | |
19638 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1))); | |
19639 | } | |
19640 | { | |
19641 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2))); | |
19642 | } | |
19643 | { | |
19644 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3))); | |
19645 | } | |
19646 | { | |
19647 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4))); | |
19648 | } | |
19649 | { | |
19650 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5))); | |
19651 | } | |
19652 | { | |
19653 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6))); | |
19654 | } | |
19655 | { | |
19656 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7))); | |
19657 | } | |
19658 | { | |
19659 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8))); | |
19660 | } | |
19661 | { | |
19662 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9))); | |
19663 | } | |
19664 | { | |
19665 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10))); | |
19666 | } | |
19667 | { | |
19668 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11))); | |
19669 | } | |
19670 | { | |
19671 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12))); | |
19672 | } | |
19673 | { | |
19674 | PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13))); | |
19675 | } | |
19676 | { | |
19677 | PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14))); | |
19678 | } | |
19679 | { | |
19680 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0))); | |
19681 | } | |
19682 | { | |
19683 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1))); | |
19684 | } | |
19685 | { | |
19686 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2))); | |
19687 | } | |
19688 | { | |
19689 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3))); | |
19690 | } | |
19691 | { | |
19692 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4))); | |
19693 | } | |
19694 | { | |
19695 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0))); | |
19696 | } | |
19697 | { | |
19698 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1))); | |
19699 | } | |
19700 | { | |
19701 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2))); | |
19702 | } | |
19703 | { | |
19704 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3))); | |
19705 | } | |
19706 | { | |
19707 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4))); | |
19708 | } | |
19709 | { | |
19710 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0))); | |
19711 | } | |
19712 | { | |
19713 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1))); | |
19714 | } | |
19715 | { | |
19716 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2))); | |
19717 | } | |
19718 | { | |
19719 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3))); | |
19720 | } | |
19721 | { | |
19722 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4))); | |
19723 | } | |
19724 | { | |
19725 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5))); | |
19726 | } | |
19727 | { | |
19728 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6))); | |
19729 | } | |
19730 | { | |
19731 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7))); | |
19732 | } | |
19733 | { | |
19734 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8))); | |
19735 | } | |
19736 | { | |
19737 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19738 | } | |
19739 | { | |
19740 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10))); | |
19741 | } | |
19742 | { | |
19743 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11))); | |
19744 | } | |
19745 | { | |
19746 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12))); | |
19747 | } | |
19748 | { | |
19749 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13))); | |
19750 | } | |
19751 | { | |
19752 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14))); | |
19753 | } | |
19754 | { | |
19755 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15))); | |
19756 | } | |
19757 | { | |
19758 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16))); | |
19759 | } | |
19760 | { | |
19761 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17))); | |
19762 | } | |
19763 | { | |
19764 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18))); | |
19765 | } | |
19766 | { | |
19767 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19))); | |
19768 | } | |
19769 | { | |
19770 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0))); | |
19771 | } | |
19772 | { | |
19773 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1))); | |
19774 | } | |
19775 | { | |
19776 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2))); | |
19777 | } | |
19778 | { | |
19779 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3))); | |
19780 | } | |
19781 | { | |
19782 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4))); | |
19783 | } | |
19784 | { | |
19785 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5))); | |
19786 | } | |
19787 | { | |
19788 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6))); | |
19789 | } | |
19790 | { | |
19791 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7))); | |
19792 | } | |
19793 | { | |
19794 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8))); | |
19795 | } | |
19796 | { | |
19797 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9))); | |
19798 | } | |
19799 | { | |
19800 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10))); | |
19801 | } | |
19802 | { | |
19803 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11))); | |
19804 | } | |
19805 | { | |
19806 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12))); | |
19807 | } | |
19808 | { | |
19809 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13))); | |
19810 | } | |
19811 | { | |
19812 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14))); | |
19813 | } | |
19814 | { | |
19815 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15))); | |
19816 | } | |
19817 | { | |
19818 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16))); | |
19819 | } | |
19820 | { | |
19821 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17))); | |
19822 | } | |
19823 | { | |
19824 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18))); | |
19825 | } | |
19826 | { | |
19827 | PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19))); | |
19828 | } | |
e8d51145 RD |
19829 | { |
19830 | PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20))); | |
19831 | } | |
3004cfd8 RD |
19832 | { |
19833 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0))); | |
19834 | } | |
19835 | { | |
19836 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1))); | |
19837 | } | |
19838 | { | |
19839 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2))); | |
19840 | } | |
19841 | { | |
19842 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3))); | |
19843 | } | |
19844 | { | |
19845 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4))); | |
19846 | } | |
19847 | { | |
19848 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5))); | |
19849 | } | |
19850 | { | |
19851 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6))); | |
19852 | } | |
19853 | { | |
19854 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7))); | |
19855 | } | |
19856 | { | |
19857 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0))); | |
19858 | } | |
19859 | { | |
19860 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1))); | |
19861 | } | |
19862 | { | |
19863 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2))); | |
19864 | } | |
19865 | { | |
19866 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3))); | |
19867 | } | |
19868 | { | |
19869 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4))); | |
19870 | } | |
19871 | { | |
19872 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5))); | |
19873 | } | |
19874 | { | |
19875 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9))); | |
19876 | } | |
19877 | { | |
19878 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0))); | |
19879 | } | |
19880 | { | |
19881 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1))); | |
19882 | } | |
19883 | { | |
19884 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2))); | |
19885 | } | |
19886 | { | |
19887 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3))); | |
19888 | } | |
19889 | { | |
19890 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4))); | |
19891 | } | |
19892 | { | |
19893 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5))); | |
19894 | } | |
19895 | { | |
19896 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6))); | |
19897 | } | |
19898 | { | |
19899 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0))); | |
19900 | } | |
19901 | { | |
19902 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1))); | |
19903 | } | |
19904 | { | |
19905 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2))); | |
19906 | } | |
19907 | { | |
19908 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3))); | |
19909 | } | |
19910 | { | |
19911 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4))); | |
19912 | } | |
19913 | { | |
19914 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5))); | |
19915 | } | |
19916 | { | |
19917 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6))); | |
19918 | } | |
19919 | { | |
19920 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7))); | |
19921 | } | |
19922 | { | |
19923 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8))); | |
19924 | } | |
19925 | { | |
19926 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9))); | |
19927 | } | |
19928 | { | |
19929 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0))); | |
19930 | } | |
19931 | { | |
19932 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1))); | |
19933 | } | |
19934 | { | |
19935 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2))); | |
19936 | } | |
19937 | { | |
19938 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3))); | |
19939 | } | |
19940 | { | |
19941 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6))); | |
19942 | } | |
19943 | { | |
19944 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7))); | |
19945 | } | |
19946 | { | |
19947 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8))); | |
19948 | } | |
19949 | { | |
19950 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9))); | |
19951 | } | |
19952 | { | |
19953 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10))); | |
19954 | } | |
19955 | { | |
19956 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11))); | |
19957 | } | |
19958 | { | |
19959 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12))); | |
19960 | } | |
19961 | { | |
19962 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13))); | |
19963 | } | |
19964 | { | |
19965 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14))); | |
19966 | } | |
19967 | { | |
19968 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15))); | |
19969 | } | |
19970 | { | |
19971 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16))); | |
19972 | } | |
19973 | { | |
19974 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0))); | |
19975 | } | |
19976 | { | |
19977 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1))); | |
19978 | } | |
19979 | { | |
19980 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2))); | |
19981 | } | |
19982 | { | |
19983 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3))); | |
19984 | } | |
19985 | { | |
19986 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4))); | |
19987 | } | |
19988 | { | |
19989 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5))); | |
19990 | } | |
19991 | { | |
19992 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6))); | |
19993 | } | |
19994 | { | |
19995 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7))); | |
19996 | } | |
19997 | { | |
19998 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8))); | |
19999 | } | |
20000 | { | |
20001 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9))); | |
20002 | } | |
20003 | { | |
20004 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10))); | |
20005 | } | |
20006 | { | |
20007 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11))); | |
20008 | } | |
20009 | { | |
20010 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0))); | |
20011 | } | |
20012 | { | |
20013 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1))); | |
20014 | } | |
20015 | { | |
20016 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2))); | |
20017 | } | |
20018 | { | |
20019 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3))); | |
20020 | } | |
20021 | { | |
20022 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4))); | |
20023 | } | |
20024 | { | |
20025 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5))); | |
20026 | } | |
20027 | { | |
20028 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6))); | |
20029 | } | |
20030 | { | |
20031 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7))); | |
20032 | } | |
20033 | { | |
20034 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8))); | |
20035 | } | |
20036 | { | |
20037 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9))); | |
20038 | } | |
20039 | { | |
20040 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10))); | |
20041 | } | |
20042 | { | |
20043 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0))); | |
20044 | } | |
20045 | { | |
20046 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1))); | |
20047 | } | |
20048 | { | |
20049 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2))); | |
20050 | } | |
20051 | { | |
20052 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3))); | |
20053 | } | |
20054 | { | |
20055 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6))); | |
20056 | } | |
20057 | { | |
20058 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8))); | |
20059 | } | |
20060 | { | |
20061 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9))); | |
20062 | } | |
20063 | { | |
20064 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10))); | |
20065 | } | |
20066 | { | |
20067 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0))); | |
20068 | } | |
20069 | { | |
20070 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1))); | |
20071 | } | |
20072 | { | |
20073 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2))); | |
20074 | } | |
20075 | { | |
20076 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3))); | |
20077 | } | |
20078 | { | |
20079 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4))); | |
20080 | } | |
20081 | { | |
20082 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5))); | |
20083 | } | |
20084 | { | |
20085 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6))); | |
20086 | } | |
20087 | { | |
20088 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7))); | |
20089 | } | |
20090 | { | |
20091 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8))); | |
20092 | } | |
20093 | { | |
20094 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0))); | |
20095 | } | |
20096 | { | |
20097 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1))); | |
20098 | } | |
20099 | { | |
20100 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2))); | |
20101 | } | |
20102 | { | |
20103 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3))); | |
20104 | } | |
20105 | { | |
20106 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4))); | |
20107 | } | |
20108 | { | |
20109 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5))); | |
20110 | } | |
20111 | { | |
20112 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6))); | |
20113 | } | |
20114 | { | |
20115 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7))); | |
20116 | } | |
20117 | { | |
20118 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8))); | |
20119 | } | |
20120 | { | |
20121 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9))); | |
20122 | } | |
20123 | { | |
20124 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10))); | |
20125 | } | |
20126 | { | |
20127 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0))); | |
20128 | } | |
20129 | { | |
20130 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1))); | |
20131 | } | |
20132 | { | |
20133 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2))); | |
20134 | } | |
20135 | { | |
20136 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3))); | |
20137 | } | |
20138 | { | |
20139 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4))); | |
20140 | } | |
20141 | { | |
20142 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5))); | |
20143 | } | |
20144 | { | |
20145 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6))); | |
20146 | } | |
20147 | { | |
20148 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7))); | |
20149 | } | |
20150 | { | |
20151 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8))); | |
20152 | } | |
20153 | { | |
20154 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9))); | |
20155 | } | |
20156 | { | |
20157 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10))); | |
20158 | } | |
20159 | { | |
20160 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11))); | |
20161 | } | |
20162 | { | |
20163 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0))); | |
20164 | } | |
20165 | { | |
20166 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1))); | |
20167 | } | |
20168 | { | |
20169 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2))); | |
20170 | } | |
20171 | { | |
20172 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3))); | |
20173 | } | |
20174 | { | |
20175 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4))); | |
20176 | } | |
20177 | { | |
20178 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5))); | |
20179 | } | |
20180 | { | |
20181 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6))); | |
20182 | } | |
20183 | { | |
20184 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7))); | |
20185 | } | |
20186 | { | |
20187 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8))); | |
20188 | } | |
20189 | { | |
20190 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0))); | |
20191 | } | |
20192 | { | |
20193 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1))); | |
20194 | } | |
20195 | { | |
20196 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2))); | |
20197 | } | |
20198 | { | |
20199 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3))); | |
20200 | } | |
20201 | { | |
20202 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4))); | |
20203 | } | |
20204 | { | |
20205 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5))); | |
20206 | } | |
20207 | { | |
20208 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6))); | |
20209 | } | |
20210 | { | |
20211 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7))); | |
20212 | } | |
20213 | { | |
20214 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8))); | |
20215 | } | |
20216 | { | |
20217 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9))); | |
20218 | } | |
20219 | { | |
20220 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10))); | |
20221 | } | |
20222 | { | |
20223 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11))); | |
20224 | } | |
20225 | { | |
20226 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12))); | |
20227 | } | |
20228 | { | |
20229 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13))); | |
20230 | } | |
20231 | { | |
20232 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14))); | |
20233 | } | |
20234 | { | |
20235 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15))); | |
20236 | } | |
20237 | { | |
20238 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0))); | |
20239 | } | |
20240 | { | |
20241 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1))); | |
20242 | } | |
20243 | { | |
20244 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2))); | |
20245 | } | |
20246 | { | |
20247 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3))); | |
20248 | } | |
20249 | { | |
20250 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4))); | |
20251 | } | |
20252 | { | |
20253 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5))); | |
20254 | } | |
20255 | { | |
20256 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6))); | |
20257 | } | |
20258 | { | |
20259 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7))); | |
20260 | } | |
20261 | { | |
20262 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8))); | |
20263 | } | |
20264 | { | |
20265 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9))); | |
20266 | } | |
20267 | { | |
20268 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10))); | |
20269 | } | |
20270 | { | |
20271 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11))); | |
20272 | } | |
20273 | { | |
20274 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12))); | |
20275 | } | |
20276 | { | |
20277 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13))); | |
20278 | } | |
20279 | { | |
20280 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14))); | |
20281 | } | |
20282 | { | |
20283 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0))); | |
20284 | } | |
20285 | { | |
20286 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1))); | |
20287 | } | |
20288 | { | |
20289 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2))); | |
20290 | } | |
20291 | { | |
20292 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3))); | |
20293 | } | |
20294 | { | |
20295 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4))); | |
20296 | } | |
20297 | { | |
20298 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5))); | |
20299 | } | |
20300 | { | |
20301 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6))); | |
20302 | } | |
20303 | { | |
20304 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7))); | |
20305 | } | |
20306 | { | |
20307 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8))); | |
20308 | } | |
20309 | { | |
20310 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9))); | |
20311 | } | |
20312 | { | |
20313 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10))); | |
20314 | } | |
20315 | { | |
20316 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11))); | |
20317 | } | |
20318 | { | |
20319 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12))); | |
20320 | } | |
20321 | { | |
20322 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13))); | |
20323 | } | |
20324 | { | |
20325 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14))); | |
20326 | } | |
20327 | { | |
20328 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0))); | |
20329 | } | |
20330 | { | |
20331 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1))); | |
20332 | } | |
20333 | { | |
20334 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2))); | |
20335 | } | |
20336 | { | |
20337 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3))); | |
20338 | } | |
20339 | { | |
20340 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4))); | |
20341 | } | |
20342 | { | |
20343 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5))); | |
20344 | } | |
20345 | { | |
20346 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6))); | |
20347 | } | |
20348 | { | |
20349 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7))); | |
20350 | } | |
20351 | { | |
20352 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8))); | |
20353 | } | |
20354 | { | |
20355 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9))); | |
20356 | } | |
20357 | { | |
20358 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10))); | |
20359 | } | |
20360 | { | |
20361 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11))); | |
20362 | } | |
20363 | { | |
20364 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12))); | |
20365 | } | |
20366 | { | |
20367 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13))); | |
20368 | } | |
20369 | { | |
20370 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14))); | |
20371 | } | |
e8d51145 RD |
20372 | { |
20373 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15))); | |
20374 | } | |
3004cfd8 RD |
20375 | { |
20376 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0))); | |
20377 | } | |
20378 | { | |
20379 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1))); | |
20380 | } | |
20381 | { | |
20382 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2))); | |
20383 | } | |
20384 | { | |
20385 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3))); | |
20386 | } | |
20387 | { | |
20388 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4))); | |
20389 | } | |
20390 | { | |
20391 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5))); | |
20392 | } | |
20393 | { | |
20394 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6))); | |
20395 | } | |
20396 | { | |
20397 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7))); | |
20398 | } | |
20399 | { | |
20400 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8))); | |
20401 | } | |
20402 | { | |
20403 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9))); | |
20404 | } | |
20405 | { | |
20406 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10))); | |
20407 | } | |
20408 | { | |
20409 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11))); | |
20410 | } | |
20411 | { | |
20412 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12))); | |
20413 | } | |
20414 | { | |
20415 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13))); | |
20416 | } | |
20417 | { | |
20418 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14))); | |
20419 | } | |
20420 | { | |
20421 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15))); | |
20422 | } | |
20423 | { | |
20424 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16))); | |
20425 | } | |
20426 | { | |
20427 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0))); | |
20428 | } | |
20429 | { | |
20430 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1))); | |
20431 | } | |
20432 | { | |
20433 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2))); | |
20434 | } | |
20435 | { | |
20436 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3))); | |
20437 | } | |
20438 | { | |
20439 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4))); | |
20440 | } | |
20441 | { | |
20442 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5))); | |
20443 | } | |
20444 | { | |
20445 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6))); | |
20446 | } | |
20447 | { | |
20448 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7))); | |
20449 | } | |
20450 | { | |
20451 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8))); | |
20452 | } | |
20453 | { | |
20454 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9))); | |
20455 | } | |
20456 | { | |
20457 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10))); | |
20458 | } | |
20459 | { | |
20460 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0))); | |
20461 | } | |
20462 | { | |
20463 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1))); | |
20464 | } | |
20465 | { | |
20466 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2))); | |
20467 | } | |
20468 | { | |
20469 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3))); | |
20470 | } | |
20471 | { | |
20472 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4))); | |
20473 | } | |
20474 | { | |
20475 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5))); | |
20476 | } | |
20477 | { | |
20478 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6))); | |
20479 | } | |
20480 | { | |
20481 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7))); | |
20482 | } | |
20483 | { | |
20484 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8))); | |
20485 | } | |
20486 | { | |
20487 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9))); | |
20488 | } | |
20489 | { | |
20490 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10))); | |
20491 | } | |
20492 | { | |
20493 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11))); | |
20494 | } | |
20495 | { | |
20496 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0))); | |
20497 | } | |
20498 | { | |
20499 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1))); | |
20500 | } | |
20501 | { | |
20502 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2))); | |
20503 | } | |
20504 | { | |
20505 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3))); | |
20506 | } | |
20507 | { | |
20508 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4))); | |
20509 | } | |
20510 | { | |
20511 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5))); | |
20512 | } | |
20513 | { | |
20514 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6))); | |
20515 | } | |
20516 | { | |
20517 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7))); | |
20518 | } | |
20519 | { | |
20520 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8))); | |
20521 | } | |
20522 | { | |
20523 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9))); | |
20524 | } | |
20525 | { | |
20526 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10))); | |
20527 | } | |
20528 | { | |
20529 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11))); | |
20530 | } | |
20531 | { | |
20532 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12))); | |
20533 | } | |
20534 | { | |
20535 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13))); | |
20536 | } | |
20537 | { | |
20538 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14))); | |
20539 | } | |
20540 | { | |
20541 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15))); | |
20542 | } | |
20543 | { | |
20544 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0))); | |
20545 | } | |
20546 | { | |
20547 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1))); | |
20548 | } | |
20549 | { | |
20550 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2))); | |
20551 | } | |
20552 | { | |
20553 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3))); | |
20554 | } | |
20555 | { | |
20556 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4))); | |
20557 | } | |
20558 | { | |
20559 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5))); | |
20560 | } | |
20561 | { | |
20562 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6))); | |
20563 | } | |
20564 | { | |
20565 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7))); | |
20566 | } | |
20567 | { | |
20568 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8))); | |
20569 | } | |
20570 | { | |
20571 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9))); | |
20572 | } | |
20573 | { | |
20574 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10))); | |
20575 | } | |
20576 | { | |
20577 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11))); | |
20578 | } | |
20579 | { | |
20580 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12))); | |
20581 | } | |
20582 | { | |
20583 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13))); | |
20584 | } | |
20585 | { | |
20586 | PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14))); | |
20587 | } | |
20588 | { | |
20589 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0))); | |
20590 | } | |
20591 | { | |
20592 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1))); | |
20593 | } | |
20594 | { | |
20595 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2))); | |
20596 | } | |
20597 | { | |
20598 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3))); | |
20599 | } | |
20600 | { | |
20601 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4))); | |
20602 | } | |
20603 | { | |
20604 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5))); | |
20605 | } | |
20606 | { | |
20607 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6))); | |
20608 | } | |
20609 | { | |
20610 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7))); | |
20611 | } | |
20612 | { | |
20613 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8))); | |
20614 | } | |
20615 | { | |
20616 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9))); | |
20617 | } | |
20618 | { | |
20619 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10))); | |
20620 | } | |
20621 | { | |
20622 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11))); | |
20623 | } | |
20624 | { | |
20625 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12))); | |
20626 | } | |
20627 | { | |
20628 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13))); | |
20629 | } | |
20630 | { | |
20631 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14))); | |
20632 | } | |
20633 | { | |
20634 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15))); | |
20635 | } | |
20636 | { | |
20637 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16))); | |
20638 | } | |
20639 | { | |
20640 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17))); | |
20641 | } | |
20642 | { | |
20643 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0))); | |
20644 | } | |
20645 | { | |
20646 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1))); | |
20647 | } | |
20648 | { | |
20649 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2))); | |
20650 | } | |
20651 | { | |
20652 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3))); | |
20653 | } | |
20654 | { | |
20655 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4))); | |
20656 | } | |
20657 | { | |
20658 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5))); | |
20659 | } | |
20660 | { | |
20661 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6))); | |
20662 | } | |
20663 | { | |
20664 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7))); | |
20665 | } | |
20666 | { | |
20667 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8))); | |
20668 | } | |
20669 | { | |
20670 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9))); | |
20671 | } | |
20672 | { | |
20673 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10))); | |
20674 | } | |
20675 | { | |
20676 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11))); | |
20677 | } | |
20678 | { | |
20679 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12))); | |
20680 | } | |
20681 | { | |
20682 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13))); | |
20683 | } | |
20684 | { | |
20685 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14))); | |
20686 | } | |
20687 | { | |
20688 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0))); | |
20689 | } | |
20690 | { | |
20691 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1))); | |
20692 | } | |
20693 | { | |
20694 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2))); | |
20695 | } | |
20696 | { | |
20697 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3))); | |
20698 | } | |
20699 | { | |
20700 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4))); | |
20701 | } | |
20702 | { | |
20703 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5))); | |
20704 | } | |
20705 | { | |
20706 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6))); | |
20707 | } | |
20708 | { | |
20709 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0))); | |
20710 | } | |
20711 | { | |
20712 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1))); | |
20713 | } | |
20714 | { | |
20715 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2))); | |
20716 | } | |
20717 | { | |
20718 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3))); | |
20719 | } | |
20720 | { | |
20721 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4))); | |
20722 | } | |
20723 | { | |
20724 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5))); | |
20725 | } | |
20726 | { | |
20727 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6))); | |
20728 | } | |
20729 | { | |
20730 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7))); | |
20731 | } | |
20732 | { | |
20733 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8))); | |
20734 | } | |
20735 | { | |
20736 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0))); | |
20737 | } | |
20738 | { | |
20739 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1))); | |
20740 | } | |
20741 | { | |
20742 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2))); | |
20743 | } | |
20744 | { | |
20745 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3))); | |
20746 | } | |
20747 | { | |
20748 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4))); | |
20749 | } | |
20750 | { | |
20751 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5))); | |
20752 | } | |
20753 | { | |
20754 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0))); | |
20755 | } | |
20756 | { | |
20757 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1))); | |
20758 | } | |
20759 | { | |
20760 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2))); | |
20761 | } | |
20762 | { | |
20763 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3))); | |
20764 | } | |
20765 | { | |
20766 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4))); | |
20767 | } | |
20768 | { | |
20769 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5))); | |
20770 | } | |
20771 | { | |
20772 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6))); | |
20773 | } | |
20774 | { | |
20775 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0))); | |
20776 | } | |
20777 | { | |
20778 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1))); | |
20779 | } | |
20780 | { | |
20781 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2))); | |
20782 | } | |
20783 | { | |
20784 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3))); | |
20785 | } | |
20786 | { | |
20787 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4))); | |
20788 | } | |
20789 | { | |
20790 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5))); | |
20791 | } | |
20792 | { | |
20793 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6))); | |
20794 | } | |
20795 | { | |
20796 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7))); | |
20797 | } | |
20798 | { | |
20799 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8))); | |
20800 | } | |
20801 | { | |
20802 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9))); | |
20803 | } | |
20804 | { | |
20805 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10))); | |
20806 | } | |
20807 | { | |
20808 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11))); | |
20809 | } | |
20810 | { | |
20811 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12))); | |
20812 | } | |
20813 | { | |
20814 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13))); | |
20815 | } | |
20816 | { | |
20817 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31))); | |
20818 | } | |
20819 | { | |
20820 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0))); | |
20821 | } | |
20822 | { | |
20823 | PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1))); | |
20824 | } | |
20825 | { | |
20826 | PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2))); | |
20827 | } | |
20828 | { | |
20829 | PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3))); | |
20830 | } | |
20831 | { | |
20832 | PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4))); | |
20833 | } | |
20834 | { | |
20835 | PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5))); | |
20836 | } | |
20837 | { | |
20838 | PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6))); | |
20839 | } | |
20840 | { | |
20841 | PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7))); | |
20842 | } | |
20843 | { | |
20844 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8))); | |
20845 | } | |
20846 | { | |
20847 | PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9))); | |
20848 | } | |
20849 | { | |
20850 | PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10))); | |
20851 | } | |
20852 | { | |
20853 | PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11))); | |
20854 | } | |
20855 | { | |
20856 | PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12))); | |
20857 | } | |
20858 | { | |
20859 | PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13))); | |
20860 | } | |
20861 | { | |
20862 | PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14))); | |
20863 | } | |
20864 | { | |
20865 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15))); | |
20866 | } | |
20867 | { | |
20868 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16))); | |
20869 | } | |
20870 | { | |
20871 | PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0))); | |
20872 | } | |
20873 | { | |
20874 | PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1))); | |
20875 | } | |
20876 | { | |
20877 | PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2))); | |
20878 | } | |
20879 | { | |
20880 | PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20881 | } | |
20882 | { | |
20883 | PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4))); | |
20884 | } | |
20885 | { | |
20886 | PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5))); | |
20887 | } | |
20888 | { | |
20889 | PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6))); | |
20890 | } | |
20891 | { | |
20892 | PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7))); | |
20893 | } | |
20894 | { | |
20895 | PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8))); | |
20896 | } | |
20897 | { | |
20898 | PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9))); | |
20899 | } | |
20900 | { | |
20901 | PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10))); | |
20902 | } | |
20903 | { | |
20904 | PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11))); | |
20905 | } | |
20906 | { | |
20907 | PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12))); | |
20908 | } | |
20909 | { | |
20910 | PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19))); | |
20911 | } | |
20912 | { | |
20913 | PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0))); | |
20914 | } | |
20915 | { | |
20916 | PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1))); | |
20917 | } | |
20918 | { | |
20919 | PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2))); | |
20920 | } | |
20921 | { | |
20922 | PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3))); | |
20923 | } | |
20924 | { | |
20925 | PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4))); | |
20926 | } | |
20927 | { | |
20928 | PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5))); | |
20929 | } | |
20930 | { | |
20931 | PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6))); | |
20932 | } | |
20933 | { | |
20934 | PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7))); | |
20935 | } | |
20936 | { | |
20937 | PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8))); | |
20938 | } | |
20939 | { | |
20940 | PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9))); | |
20941 | } | |
20942 | { | |
20943 | PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31))); | |
20944 | } | |
20945 | { | |
20946 | PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0))); | |
20947 | } | |
20948 | { | |
20949 | PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1))); | |
20950 | } | |
20951 | { | |
20952 | PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20953 | } | |
20954 | { | |
20955 | PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3))); | |
20956 | } | |
20957 | { | |
20958 | PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4))); | |
20959 | } | |
20960 | { | |
20961 | PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5))); | |
20962 | } | |
20963 | { | |
20964 | PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6))); | |
20965 | } | |
20966 | { | |
20967 | PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7))); | |
20968 | } | |
20969 | { | |
20970 | PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8))); | |
20971 | } | |
20972 | { | |
20973 | PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9))); | |
20974 | } | |
20975 | { | |
20976 | PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0))); | |
20977 | } | |
20978 | { | |
20979 | PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1))); | |
20980 | } | |
20981 | { | |
20982 | PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2))); | |
20983 | } | |
20984 | { | |
20985 | PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20986 | } | |
20987 | { | |
20988 | PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4))); | |
20989 | } | |
20990 | { | |
20991 | PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5))); | |
20992 | } | |
20993 | { | |
20994 | PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6))); | |
20995 | } | |
20996 | { | |
20997 | PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7))); | |
20998 | } | |
20999 | { | |
21000 | PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8))); | |
21001 | } | |
21002 | { | |
21003 | PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9))); | |
21004 | } | |
21005 | { | |
21006 | PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10))); | |
21007 | } | |
21008 | { | |
21009 | PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11))); | |
21010 | } | |
21011 | { | |
21012 | PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12))); | |
21013 | } | |
21014 | { | |
21015 | PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13))); | |
21016 | } | |
21017 | { | |
21018 | PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14))); | |
21019 | } | |
21020 | { | |
21021 | PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19))); | |
21022 | } | |
21023 | { | |
21024 | PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0))); | |
21025 | } | |
21026 | { | |
21027 | PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1))); | |
21028 | } | |
21029 | { | |
21030 | PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
21031 | } | |
21032 | { | |
21033 | PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3))); | |
21034 | } | |
21035 | { | |
21036 | PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4))); | |
21037 | } | |
21038 | { | |
21039 | PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5))); | |
21040 | } | |
21041 | { | |
21042 | PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6))); | |
21043 | } | |
21044 | { | |
21045 | PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7))); | |
21046 | } | |
21047 | { | |
21048 | PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8))); | |
21049 | } | |
21050 | { | |
21051 | PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9))); | |
21052 | } | |
21053 | { | |
21054 | PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10))); | |
21055 | } | |
21056 | { | |
21057 | PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11))); | |
21058 | } | |
e8d51145 RD |
21059 | { |
21060 | PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12))); | |
21061 | } | |
3004cfd8 RD |
21062 | { |
21063 | PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0))); | |
21064 | } | |
21065 | { | |
21066 | PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1))); | |
21067 | } | |
21068 | { | |
21069 | PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
21070 | } | |
21071 | { | |
21072 | PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3))); | |
21073 | } | |
21074 | { | |
21075 | PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4))); | |
21076 | } | |
21077 | { | |
e8d51145 | 21078 | PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5))); |
3004cfd8 RD |
21079 | } |
21080 | { | |
e8d51145 | 21081 | PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6))); |
3004cfd8 RD |
21082 | } |
21083 | { | |
21084 | PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7))); | |
21085 | } | |
21086 | { | |
e8d51145 RD |
21087 | PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8))); |
21088 | } | |
21089 | { | |
21090 | PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9))); | |
21091 | } | |
21092 | { | |
21093 | PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10))); | |
21094 | } | |
21095 | { | |
21096 | PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11))); | |
21097 | } | |
21098 | { | |
21099 | PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12))); | |
3004cfd8 RD |
21100 | } |
21101 | { | |
21102 | PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0))); | |
21103 | } | |
21104 | { | |
21105 | PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1))); | |
21106 | } | |
21107 | { | |
21108 | PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2))); | |
21109 | } | |
21110 | { | |
21111 | PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3))); | |
21112 | } | |
21113 | { | |
21114 | PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4))); | |
21115 | } | |
21116 | { | |
21117 | PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5))); | |
21118 | } | |
21119 | { | |
21120 | PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6))); | |
21121 | } | |
21122 | { | |
21123 | PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7))); | |
21124 | } | |
21125 | { | |
21126 | PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8))); | |
21127 | } | |
21128 | { | |
21129 | PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9))); | |
21130 | } | |
21131 | { | |
21132 | PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10))); | |
21133 | } | |
21134 | { | |
21135 | PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11))); | |
21136 | } | |
21137 | { | |
21138 | PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12))); | |
21139 | } | |
21140 | { | |
21141 | PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13))); | |
21142 | } | |
e8d51145 RD |
21143 | { |
21144 | PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0))); | |
21145 | } | |
21146 | { | |
21147 | PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1))); | |
21148 | } | |
21149 | { | |
21150 | PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2))); | |
21151 | } | |
21152 | { | |
21153 | PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3))); | |
21154 | } | |
21155 | { | |
21156 | PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4))); | |
21157 | } | |
21158 | { | |
21159 | PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5))); | |
21160 | } | |
21161 | { | |
21162 | PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6))); | |
21163 | } | |
21164 | { | |
21165 | PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7))); | |
21166 | } | |
21167 | { | |
21168 | PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8))); | |
21169 | } | |
21170 | { | |
21171 | PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9))); | |
21172 | } | |
21173 | { | |
21174 | PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10))); | |
21175 | } | |
21176 | { | |
21177 | PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0))); | |
21178 | } | |
21179 | { | |
21180 | PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1))); | |
21181 | } | |
21182 | { | |
21183 | PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2))); | |
21184 | } | |
21185 | { | |
21186 | PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3))); | |
21187 | } | |
21188 | { | |
21189 | PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4))); | |
21190 | } | |
21191 | { | |
21192 | PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5))); | |
21193 | } | |
21194 | { | |
21195 | PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6))); | |
21196 | } | |
21197 | { | |
21198 | PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7))); | |
21199 | } | |
21200 | { | |
21201 | PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8))); | |
21202 | } | |
21203 | { | |
21204 | PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9))); | |
21205 | } | |
21206 | { | |
21207 | PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10))); | |
21208 | } | |
21209 | { | |
21210 | PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11))); | |
21211 | } | |
21212 | { | |
21213 | PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12))); | |
21214 | } | |
21215 | { | |
21216 | PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13))); | |
21217 | } | |
21218 | { | |
21219 | PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14))); | |
21220 | } | |
3004cfd8 RD |
21221 | { |
21222 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011))); | |
21223 | } | |
21224 | { | |
21225 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013))); | |
21226 | } | |
21227 | { | |
21228 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176))); | |
21229 | } | |
21230 | { | |
21231 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177))); | |
21232 | } | |
21233 | { | |
21234 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178))); | |
21235 | } | |
21236 | { | |
21237 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179))); | |
21238 | } | |
21239 | { | |
21240 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180))); | |
21241 | } | |
21242 | { | |
21243 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300))); | |
21244 | } | |
21245 | { | |
21246 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301))); | |
21247 | } | |
21248 | { | |
21249 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302))); | |
21250 | } | |
21251 | { | |
21252 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303))); | |
21253 | } | |
21254 | { | |
21255 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304))); | |
21256 | } | |
21257 | { | |
21258 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305))); | |
21259 | } | |
21260 | { | |
21261 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306))); | |
21262 | } | |
21263 | { | |
21264 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307))); | |
21265 | } | |
21266 | { | |
21267 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308))); | |
21268 | } | |
21269 | { | |
21270 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309))); | |
21271 | } | |
21272 | { | |
21273 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310))); | |
21274 | } | |
21275 | { | |
21276 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311))); | |
21277 | } | |
21278 | { | |
21279 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312))); | |
21280 | } | |
21281 | { | |
21282 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313))); | |
21283 | } | |
21284 | { | |
21285 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314))); | |
21286 | } | |
21287 | { | |
21288 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315))); | |
21289 | } | |
21290 | { | |
21291 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316))); | |
21292 | } | |
21293 | { | |
21294 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317))); | |
21295 | } | |
21296 | { | |
21297 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318))); | |
21298 | } | |
21299 | { | |
21300 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319))); | |
21301 | } | |
21302 | { | |
21303 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320))); | |
21304 | } | |
21305 | { | |
21306 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321))); | |
21307 | } | |
21308 | { | |
21309 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322))); | |
21310 | } | |
21311 | { | |
21312 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323))); | |
21313 | } | |
21314 | { | |
21315 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324))); | |
21316 | } | |
21317 | { | |
21318 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325))); | |
21319 | } | |
21320 | { | |
21321 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326))); | |
21322 | } | |
21323 | { | |
21324 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327))); | |
21325 | } | |
21326 | { | |
21327 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328))); | |
21328 | } | |
21329 | { | |
21330 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329))); | |
21331 | } | |
21332 | { | |
21333 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330))); | |
21334 | } | |
21335 | { | |
21336 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331))); | |
21337 | } | |
21338 | { | |
21339 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332))); | |
21340 | } | |
21341 | { | |
21342 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333))); | |
21343 | } | |
21344 | { | |
21345 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334))); | |
21346 | } | |
21347 | { | |
21348 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335))); | |
21349 | } | |
21350 | { | |
21351 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336))); | |
21352 | } | |
21353 | { | |
21354 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337))); | |
21355 | } | |
21356 | { | |
21357 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338))); | |
21358 | } | |
21359 | { | |
21360 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339))); | |
21361 | } | |
21362 | { | |
21363 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404))); | |
21364 | } | |
21365 | { | |
21366 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340))); | |
21367 | } | |
21368 | { | |
21369 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341))); | |
21370 | } | |
21371 | { | |
21372 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342))); | |
21373 | } | |
21374 | { | |
21375 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343))); | |
21376 | } | |
21377 | { | |
21378 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344))); | |
21379 | } | |
21380 | { | |
21381 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345))); | |
21382 | } | |
21383 | { | |
21384 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346))); | |
21385 | } | |
21386 | { | |
21387 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347))); | |
21388 | } | |
21389 | { | |
21390 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348))); | |
21391 | } | |
21392 | { | |
21393 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349))); | |
21394 | } | |
21395 | { | |
21396 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450))); | |
21397 | } | |
21398 | { | |
21399 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451))); | |
21400 | } | |
21401 | { | |
21402 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452))); | |
21403 | } | |
21404 | { | |
21405 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453))); | |
21406 | } | |
21407 | { | |
21408 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454))); | |
21409 | } | |
21410 | { | |
21411 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455))); | |
21412 | } | |
21413 | { | |
21414 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390))); | |
21415 | } | |
21416 | { | |
21417 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391))); | |
21418 | } | |
21419 | { | |
21420 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392))); | |
21421 | } | |
21422 | { | |
21423 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393))); | |
21424 | } | |
21425 | { | |
21426 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395))); | |
21427 | } | |
21428 | { | |
21429 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396))); | |
21430 | } | |
21431 | { | |
21432 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413))); | |
21433 | } | |
21434 | { | |
21435 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414))); | |
21436 | } | |
21437 | { | |
21438 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415))); | |
21439 | } | |
21440 | { | |
21441 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416))); | |
21442 | } | |
21443 | { | |
21444 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426))); | |
21445 | } | |
21446 | { | |
21447 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427))); | |
21448 | } | |
21449 | { | |
21450 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428))); | |
21451 | } | |
21452 | { | |
21453 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429))); | |
21454 | } | |
21455 | { | |
21456 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430))); | |
21457 | } | |
21458 | { | |
21459 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431))); | |
21460 | } | |
21461 | { | |
21462 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432))); | |
21463 | } | |
21464 | { | |
21465 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433))); | |
21466 | } | |
21467 | { | |
21468 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434))); | |
21469 | } | |
21470 | { | |
21471 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435))); | |
21472 | } | |
21473 | { | |
21474 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436))); | |
21475 | } | |
21476 | { | |
21477 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437))); | |
21478 | } | |
21479 | { | |
21480 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438))); | |
21481 | } | |
21482 | { | |
21483 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439))); | |
21484 | } | |
21485 | { | |
21486 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440))); | |
21487 | } | |
21488 | { | |
21489 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441))); | |
21490 | } | |
21491 | { | |
21492 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442))); | |
21493 | } | |
21494 | { | |
21495 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE))); | |
21496 | } | |
21497 | { | |
21498 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED))); | |
21499 | } | |
21500 | { | |
21501 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED))); | |
21502 | } | |
21503 | { | |
21504 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED))); | |
21505 | } | |
21506 | { | |
21507 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT))); | |
21508 | } | |
21509 | { | |
21510 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT))); | |
21511 | } | |
21512 | { | |
21513 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY))); | |
21514 | } | |
21515 | { | |
21516 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK))); | |
21517 | } | |
21518 | { | |
21519 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI))); | |
21520 | } | |
21521 | { | |
21522 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED))); | |
21523 | } | |
21524 | { | |
21525 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD))); | |
21526 | } | |
21527 | { | |
21528 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK))); | |
21529 | } | |
21530 | { | |
21531 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN))); | |
21532 | } | |
21533 | { | |
21534 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED))); | |
21535 | } | |
21536 | { | |
21537 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION))); | |
21538 | } | |
21539 | { | |
21540 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED))); | |
21541 | } | |
21542 | { | |
21543 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART))); | |
21544 | } | |
21545 | { | |
21546 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND))); | |
21547 | } | |
21548 | { | |
21549 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG))); | |
21550 | } | |
21551 | { | |
21552 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER))); | |
21553 | } | |
21554 | { | |
21555 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP))); | |
21556 | } | |
21557 | { | |
21558 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM))); | |
21559 | } | |
21560 | { | |
21561 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK))); | |
21562 | } | |
21563 | { | |
21564 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK))); | |
21565 | } | |
21566 | { | |
21567 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK))); | |
21568 | } | |
cfe5e918 RD |
21569 | |
21570 | ||
21571 | } | |
21572 |