]>
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 | } |
3004cfd8 RD |
1040 | Py_DECREF(str); |
1041 | return; | |
c32bde28 | 1042 | } |
3004cfd8 RD |
1043 | } |
1044 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1045 | } else { | |
1046 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
cfe5e918 RD |
1047 | } |
1048 | } | |
1049 | ||
3004cfd8 RD |
1050 | SWIGRUNTIMEINLINE void |
1051 | SWIG_Python_NullRef(const char *type) | |
1052 | { | |
1053 | if (type) { | |
1054 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1055 | } else { | |
1056 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1057 | } | |
1058 | } | |
cfe5e918 | 1059 | |
3004cfd8 RD |
1060 | SWIGRUNTIME int |
1061 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
cfe5e918 | 1062 | { |
3004cfd8 RD |
1063 | if (PyErr_Occurred()) { |
1064 | PyObject *type = 0; | |
1065 | PyObject *value = 0; | |
1066 | PyObject *traceback = 0; | |
1067 | PyErr_Fetch(&type, &value, &traceback); | |
1068 | if (value) { | |
1069 | PyObject *old_str = PyObject_Str(value); | |
1070 | Py_XINCREF(type); | |
1071 | PyErr_Clear(); | |
1072 | if (infront) { | |
1073 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1074 | } else { | |
1075 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1076 | } | |
1077 | Py_DECREF(old_str); | |
1078 | } | |
c32bde28 | 1079 | return 1; |
3004cfd8 RD |
1080 | } else { |
1081 | return 0; | |
c32bde28 | 1082 | } |
cfe5e918 RD |
1083 | } |
1084 | ||
3004cfd8 RD |
1085 | SWIGRUNTIME int |
1086 | SWIG_Python_ArgFail(int argnum) | |
1087 | { | |
1088 | if (PyErr_Occurred()) { | |
1089 | /* add information about failing argument */ | |
1090 | char mesg[256]; | |
1091 | sprintf(mesg, "argument number %d:", argnum); | |
1092 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1093 | } else { | |
1094 | return 0; | |
1095 | } | |
cfe5e918 RD |
1096 | } |
1097 | ||
1098 | ||
3004cfd8 RD |
1099 | /* ----------------------------------------------------------------------------- |
1100 | * pointers/data manipulation | |
1101 | * ----------------------------------------------------------------------------- */ | |
1102 | ||
1103 | /* Convert a pointer value */ | |
1104 | SWIGRUNTIME int | |
1105 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1106 | swig_type_info *tc; | |
1107 | const char *c = 0; | |
1108 | static PyObject *SWIG_this = 0; | |
1109 | int newref = 0; | |
1110 | PyObject *pyobj = 0; | |
1111 | void *vptr; | |
1112 | ||
1113 | if (!obj) return 0; | |
1114 | if (obj == Py_None) { | |
1115 | *ptr = 0; | |
1116 | return 0; | |
1117 | } | |
1118 | ||
1119 | #ifdef SWIG_COBJECT_TYPES | |
1120 | if (!(PySwigObject_Check(obj))) { | |
1121 | if (!SWIG_this) | |
1122 | SWIG_this = PyString_FromString("this"); | |
1123 | pyobj = obj; | |
1124 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1125 | newref = 1; | |
1126 | if (!obj) goto type_error; | |
1127 | if (!PySwigObject_Check(obj)) { | |
1128 | Py_DECREF(obj); | |
1129 | goto type_error; | |
1130 | } | |
1131 | } | |
1132 | vptr = PySwigObject_AsVoidPtr(obj); | |
1133 | c = (const char *) PySwigObject_GetDesc(obj); | |
1134 | if (newref) { Py_DECREF(obj); } | |
1135 | goto type_check; | |
cfe5e918 | 1136 | #else |
3004cfd8 RD |
1137 | if (!(PyString_Check(obj))) { |
1138 | if (!SWIG_this) | |
1139 | SWIG_this = PyString_FromString("this"); | |
1140 | pyobj = obj; | |
1141 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1142 | newref = 1; | |
1143 | if (!obj) goto type_error; | |
1144 | if (!PyString_Check(obj)) { | |
1145 | Py_DECREF(obj); | |
1146 | goto type_error; | |
1147 | } | |
1148 | } | |
1149 | c = PyString_AS_STRING(obj); | |
1150 | /* Pointer values must start with leading underscore */ | |
1151 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1152 | if (newref) { Py_DECREF(obj); } | |
1153 | if (!c) goto type_error; | |
cfe5e918 | 1154 | #endif |
cfe5e918 | 1155 | |
3004cfd8 | 1156 | type_check: |
cfe5e918 | 1157 | |
3004cfd8 RD |
1158 | if (ty) { |
1159 | tc = SWIG_TypeCheck(c,ty); | |
1160 | if (!tc) goto type_error; | |
1161 | *ptr = SWIG_TypeCast(tc,vptr); | |
1162 | } else { | |
1163 | *ptr = vptr; | |
1164 | } | |
1165 | ||
1166 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { | |
1167 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1168 | } | |
1169 | return 0; | |
1170 | ||
1171 | type_error: | |
1172 | PyErr_Clear(); | |
1173 | if (pyobj && !obj) { | |
1174 | obj = pyobj; | |
1175 | if (PyCFunction_Check(obj)) { | |
1176 | /* here we get the method pointer for callbacks */ | |
1177 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1178 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1179 | if (c) { | |
1180 | c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); | |
1181 | if (!c) goto type_error; | |
1182 | goto type_check; | |
1183 | } | |
cfe5e918 | 1184 | } |
3004cfd8 RD |
1185 | } |
1186 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1187 | if (ty) { | |
1188 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1189 | } else { | |
1190 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
cfe5e918 | 1191 | } |
3004cfd8 RD |
1192 | } |
1193 | return -1; | |
1194 | } | |
1195 | ||
1196 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
1197 | SWIGRUNTIME void * | |
1198 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1199 | void *result; | |
1200 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1201 | PyErr_Clear(); | |
1202 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1203 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1204 | SWIG_Python_ArgFail(argnum); | |
cfe5e918 | 1205 | } |
3004cfd8 RD |
1206 | } |
1207 | return result; | |
cfe5e918 RD |
1208 | } |
1209 | ||
3004cfd8 RD |
1210 | /* Convert a packed value value */ |
1211 | SWIGRUNTIME int | |
1212 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1213 | swig_type_info *tc; | |
1214 | const char *c = 0; | |
cfe5e918 | 1215 | |
3004cfd8 RD |
1216 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) |
1217 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1218 | #else | |
1219 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1220 | c = PyString_AS_STRING(obj); | |
1221 | /* Pointer values must start with leading underscore */ | |
1222 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1223 | #endif | |
1224 | if (!c) goto type_error; | |
1225 | if (ty) { | |
1226 | tc = SWIG_TypeCheck(c,ty); | |
1227 | if (!tc) goto type_error; | |
1228 | } | |
1229 | return 0; | |
1230 | ||
1231 | type_error: | |
1232 | PyErr_Clear(); | |
1233 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1234 | if (ty) { | |
1235 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1236 | } else { | |
1237 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
cfe5e918 | 1238 | } |
3004cfd8 RD |
1239 | } |
1240 | return -1; | |
1241 | } | |
1242 | ||
1243 | /* Create a new array object */ | |
1244 | SWIGRUNTIME PyObject * | |
1245 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1246 | PyObject *robj = 0; | |
1247 | if (!ptr) { | |
1248 | Py_INCREF(Py_None); | |
1249 | return Py_None; | |
1250 | } | |
1251 | #ifdef SWIG_COBJECT_TYPES | |
1252 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1253 | #else | |
1254 | { | |
1255 | char result[SWIG_BUFFER_SIZE]; | |
1256 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1257 | PyString_FromString(result) : 0; | |
1258 | } | |
1259 | #endif | |
1260 | if (!robj || (robj == Py_None)) return robj; | |
1261 | if (type->clientdata) { | |
1262 | PyObject *inst; | |
1263 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1264 | Py_DECREF(robj); | |
1265 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1266 | Py_DECREF(args); | |
1267 | if (inst) { | |
1268 | if (own) { | |
1269 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1270 | } | |
1271 | robj = inst; | |
1272 | } | |
1273 | } | |
1274 | return robj; | |
cfe5e918 RD |
1275 | } |
1276 | ||
3004cfd8 RD |
1277 | SWIGRUNTIME PyObject * |
1278 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1279 | PyObject *robj = 0; | |
1280 | if (!ptr) { | |
1281 | Py_INCREF(Py_None); | |
1282 | return Py_None; | |
1283 | } | |
1284 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1285 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1286 | #else | |
1287 | { | |
1288 | char result[SWIG_BUFFER_SIZE]; | |
1289 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1290 | PyString_FromString(result) : 0; | |
1291 | } | |
1292 | #endif | |
1293 | return robj; | |
1294 | } | |
cfe5e918 | 1295 | |
3004cfd8 RD |
1296 | /* -----------------------------------------------------------------------------* |
1297 | * Get type list | |
1298 | * -----------------------------------------------------------------------------*/ | |
1299 | ||
1300 | #ifdef SWIG_LINK_RUNTIME | |
1301 | void *SWIG_ReturnGlobalTypeList(void *); | |
1302 | #endif | |
1303 | ||
1304 | SWIGRUNTIME swig_type_info ** | |
1305 | SWIG_Python_GetTypeListHandle() { | |
1306 | static void *type_pointer = (void *)0; | |
1307 | /* first check if module already created */ | |
1308 | if (!type_pointer) { | |
1309 | #ifdef SWIG_LINK_RUNTIME | |
1310 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1311 | #else | |
1312 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1313 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1314 | if (PyErr_Occurred()) { | |
1315 | PyErr_Clear(); | |
1316 | type_pointer = (void *)0; | |
cfe5e918 | 1317 | } |
3004cfd8 RD |
1318 | } |
1319 | #endif | |
1320 | return (swig_type_info **) type_pointer; | |
cfe5e918 RD |
1321 | } |
1322 | ||
3004cfd8 RD |
1323 | /* |
1324 | Search for a swig_type_info structure | |
1325 | */ | |
1326 | SWIGRUNTIMEINLINE swig_type_info * | |
1327 | SWIG_Python_GetTypeList() { | |
1328 | swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); | |
1329 | return tlh ? *tlh : (swig_type_info*)0; | |
1330 | } | |
cfe5e918 | 1331 | |
3004cfd8 RD |
1332 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList |
1333 | ||
1334 | #ifdef __cplusplus | |
cfe5e918 | 1335 | } |
3004cfd8 | 1336 | #endif |
cfe5e918 RD |
1337 | |
1338 | ||
3004cfd8 RD |
1339 | /* -------- TYPES TABLE (BEGIN) -------- */ |
1340 | ||
1341 | #define SWIGTYPE_p_wxRect swig_types[0] | |
1342 | #define SWIGTYPE_p_wxObject swig_types[1] | |
1343 | #define SWIGTYPE_p_unsigned_char swig_types[2] | |
1344 | #define SWIGTYPE_p_wxColour swig_types[3] | |
1345 | #define SWIGTYPE_p_wxScrollBar swig_types[4] | |
1346 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[5] | |
1347 | #define SWIGTYPE_p_wxWindow swig_types[6] | |
1348 | #define SWIGTYPE_p_wxCommandEvent swig_types[7] | |
1349 | #define SWIGTYPE_p_unsigned_long swig_types[8] | |
1350 | #define SWIGTYPE_p_wxBitmap swig_types[9] | |
1351 | #define SWIGTYPE_p_unsigned_int swig_types[10] | |
1352 | #define SWIGTYPE_unsigned_int swig_types[11] | |
1353 | #define SWIGTYPE_p_form_ops_t swig_types[12] | |
1354 | #define SWIGTYPE_p_wxDuplexMode swig_types[13] | |
1355 | #define SWIGTYPE_p_void swig_types[14] | |
1356 | #define SWIGTYPE_p_char swig_types[15] | |
1357 | #define SWIGTYPE_p_wxPoint swig_types[16] | |
1358 | #define SWIGTYPE_p_wxDC swig_types[17] | |
1359 | #define SWIGTYPE_p_wxEvtHandler swig_types[18] | |
1360 | #define SWIGTYPE_std__ptrdiff_t swig_types[19] | |
1361 | #define SWIGTYPE_ptrdiff_t swig_types[20] | |
1362 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[21] | |
1363 | #define SWIGTYPE_p_wxFont swig_types[22] | |
1364 | #define SWIGTYPE_p_wxControl swig_types[23] | |
1365 | #define SWIGTYPE_p_wxEvent swig_types[24] | |
1366 | #define SWIGTYPE_p_wxPaperSize swig_types[25] | |
1367 | #define SWIGTYPE_p_int swig_types[26] | |
1368 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[27] | |
1369 | static swig_type_info *swig_types[29]; | |
1370 | ||
1371 | /* -------- TYPES TABLE (END) -------- */ | |
1372 | ||
1373 | ||
1374 | /*----------------------------------------------- | |
1375 | @(target):= _stc.so | |
1376 | ------------------------------------------------*/ | |
1377 | #define SWIG_init init_stc | |
1378 | ||
1379 | #define SWIG_name "_stc" | |
1380 | ||
1381 | #include "wx/wxPython/wxPython.h" | |
1382 | #include "wx/wxPython/pyclasses.h" | |
1383 | #include <wx/stc/stc.h> | |
1384 | ||
1385 | ||
1386 | static const wxString wxPySTCNameStr(wxSTCNameStr); | |
1387 | ||
1388 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1389 | #define SWIG_From_int PyInt_FromLong | |
1390 | /*@@*/ | |
1391 | ||
1392 | ||
1393 | #include <limits.h> | |
1394 | ||
1395 | ||
1396 | SWIGINTERN int | |
1397 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1398 | const char *errmsg) | |
1399 | { | |
1400 | if (value < min_value) { | |
1401 | if (errmsg) { | |
1402 | PyErr_Format(PyExc_OverflowError, | |
1403 | "value %ld is less than '%s' minimum %ld", | |
1404 | value, errmsg, min_value); | |
cfe5e918 | 1405 | } |
3004cfd8 RD |
1406 | return 0; |
1407 | } else if (value > max_value) { | |
1408 | if (errmsg) { | |
1409 | PyErr_Format(PyExc_OverflowError, | |
1410 | "value %ld is greater than '%s' maximum %ld", | |
1411 | value, errmsg, max_value); | |
cfe5e918 | 1412 | } |
3004cfd8 RD |
1413 | return 0; |
1414 | } | |
1415 | return 1; | |
1416 | } | |
1417 | ||
1418 | ||
1419 | SWIGINTERN int | |
1420 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1421 | { | |
1422 | if (PyNumber_Check(obj)) { | |
1423 | if (val) *val = PyInt_AsLong(obj); | |
1424 | return 1; | |
cfe5e918 | 1425 | } |
3004cfd8 RD |
1426 | else { |
1427 | SWIG_type_error("number", obj); | |
cfe5e918 | 1428 | } |
3004cfd8 | 1429 | return 0; |
cfe5e918 RD |
1430 | } |
1431 | ||
1432 | ||
3004cfd8 RD |
1433 | #if INT_MAX != LONG_MAX |
1434 | SWIGINTERN int | |
1435 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1436 | { | |
1437 | const char* errmsg = val ? "int" : (char*)0; | |
1438 | long v; | |
1439 | if (SWIG_AsVal_long(obj, &v)) { | |
1440 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1441 | if (val) *val = (int)(v); | |
1442 | return 1; | |
1443 | } else { | |
1444 | return 0; | |
cfe5e918 | 1445 | } |
3004cfd8 RD |
1446 | } else { |
1447 | PyErr_Clear(); | |
1448 | } | |
1449 | if (val) { | |
1450 | SWIG_type_error(errmsg, obj); | |
1451 | } | |
1452 | return 0; | |
cfe5e918 | 1453 | } |
3004cfd8 RD |
1454 | #else |
1455 | SWIGINTERNSHORT int | |
1456 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1457 | { | |
1458 | return SWIG_AsVal_long(obj,(long*)val); | |
cfe5e918 | 1459 | } |
3004cfd8 | 1460 | #endif |
cfe5e918 RD |
1461 | |
1462 | ||
3004cfd8 RD |
1463 | SWIGINTERNSHORT int |
1464 | SWIG_As_int(PyObject* obj) | |
1465 | { | |
1466 | int v; | |
1467 | if (!SWIG_AsVal_int(obj, &v)) { | |
1468 | /* | |
1469 | this is needed to make valgrind/purify happier. | |
1470 | */ | |
1471 | memset((void*)&v, 0, sizeof(int)); | |
1472 | } | |
1473 | return v; | |
cfe5e918 RD |
1474 | } |
1475 | ||
1476 | ||
3004cfd8 RD |
1477 | SWIGINTERNSHORT long |
1478 | SWIG_As_long(PyObject* obj) | |
1479 | { | |
1480 | long v; | |
1481 | if (!SWIG_AsVal_long(obj, &v)) { | |
1482 | /* | |
1483 | this is needed to make valgrind/purify happier. | |
1484 | */ | |
1485 | memset((void*)&v, 0, sizeof(long)); | |
1486 | } | |
1487 | return v; | |
cfe5e918 RD |
1488 | } |
1489 | ||
3004cfd8 RD |
1490 | |
1491 | SWIGINTERNSHORT int | |
1492 | SWIG_Check_int(PyObject* obj) | |
1493 | { | |
1494 | return SWIG_AsVal_int(obj, (int*)0); | |
1495 | } | |
cfe5e918 | 1496 | |
3004cfd8 RD |
1497 | |
1498 | SWIGINTERNSHORT int | |
1499 | SWIG_Check_long(PyObject* obj) | |
1500 | { | |
1501 | return SWIG_AsVal_long(obj, (long*)0); | |
cfe5e918 RD |
1502 | } |
1503 | ||
1504 | ||
3004cfd8 RD |
1505 | SWIGINTERN int |
1506 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1507 | { | |
1508 | if (obj == Py_True) { | |
1509 | if (val) *val = true; | |
1510 | return 1; | |
1511 | } | |
1512 | if (obj == Py_False) { | |
1513 | if (val) *val = false; | |
1514 | return 1; | |
1515 | } | |
1516 | int res = 0; | |
1517 | if (SWIG_AsVal_int(obj, &res)) { | |
1518 | if (val) *val = res ? true : false; | |
1519 | return 1; | |
1520 | } else { | |
1521 | PyErr_Clear(); | |
1522 | } | |
1523 | if (val) { | |
1524 | SWIG_type_error("bool", obj); | |
1525 | } | |
1526 | return 0; | |
cfe5e918 RD |
1527 | } |
1528 | ||
1529 | ||
3004cfd8 RD |
1530 | SWIGINTERNSHORT bool |
1531 | SWIG_As_bool(PyObject* obj) | |
1532 | { | |
1533 | bool v; | |
1534 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1535 | /* | |
1536 | this is needed to make valgrind/purify happier. | |
1537 | */ | |
1538 | memset((void*)&v, 0, sizeof(bool)); | |
1539 | } | |
1540 | return v; | |
cfe5e918 RD |
1541 | } |
1542 | ||
3004cfd8 RD |
1543 | |
1544 | SWIGINTERNSHORT int | |
1545 | SWIG_Check_bool(PyObject* obj) | |
1546 | { | |
1547 | return SWIG_AsVal_bool(obj, (bool*)0); | |
cfe5e918 RD |
1548 | } |
1549 | ||
1550 | ||
3004cfd8 RD |
1551 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
1552 | PyObject* o2; | |
1553 | PyObject* o3; | |
1554 | ||
1555 | if (!target) { | |
1556 | target = o; | |
1557 | } else if (target == Py_None) { | |
1558 | Py_DECREF(Py_None); | |
1559 | target = o; | |
1560 | } else { | |
1561 | if (!PyTuple_Check(target)) { | |
1562 | o2 = target; | |
1563 | target = PyTuple_New(1); | |
1564 | PyTuple_SetItem(target, 0, o2); | |
1565 | } | |
1566 | o3 = PyTuple_New(1); | |
1567 | PyTuple_SetItem(o3, 0, o); | |
1568 | ||
1569 | o2 = target; | |
1570 | target = PySequence_Concat(o2, o3); | |
1571 | Py_DECREF(o2); | |
1572 | Py_DECREF(o3); | |
1573 | } | |
1574 | return target; | |
1575 | } | |
1576 | ||
1577 | ||
1578 | ||
1579 | /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ | |
1580 | SWIGINTERN int | |
1581 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) | |
1582 | { | |
1583 | static swig_type_info* pchar_info = 0; | |
1584 | char* vptr = 0; | |
1585 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); | |
1586 | if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { | |
1587 | if (cptr) *cptr = vptr; | |
1588 | if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; | |
1589 | return SWIG_OLDOBJ; | |
1590 | } else { | |
1591 | PyErr_Clear(); | |
1592 | if (PyString_Check(obj)) { | |
1593 | if (cptr) { | |
1594 | *cptr = PyString_AS_STRING(obj); | |
1595 | if (psize) { | |
1596 | *psize = PyString_GET_SIZE(obj) + 1; | |
1597 | } | |
1598 | } | |
1599 | return SWIG_PYSTR; | |
1600 | } | |
1601 | } | |
1602 | if (cptr) { | |
1603 | SWIG_type_error("char *", obj); | |
1604 | } | |
1605 | return 0; | |
1606 | } | |
1607 | ||
1608 | ||
1609 | SWIGINTERNSHORT int | |
1610 | SWIG_AsCharPtr(PyObject *obj, char **val) | |
1611 | { | |
1612 | if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { | |
1613 | return 1; | |
1614 | } | |
1615 | if (val) { | |
1616 | PyErr_Clear(); | |
1617 | SWIG_type_error("char *", obj); | |
1618 | } | |
1619 | return 0; | |
1620 | } | |
1621 | ||
1622 | ||
1623 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1624 | #define SWIG_From_long PyInt_FromLong | |
1625 | /*@@*/ | |
1626 | ||
1627 | #ifdef __cplusplus | |
1628 | extern "C" { | |
1629 | #endif | |
1630 | static int _wrap_STCNameStr_set(PyObject *) { | |
1631 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); | |
1632 | return 1; | |
1633 | } | |
1634 | ||
1635 | ||
1636 | static PyObject *_wrap_STCNameStr_get(void) { | |
1637 | PyObject *pyobj; | |
cfe5e918 | 1638 | |
cfe5e918 | 1639 | { |
3004cfd8 RD |
1640 | #if wxUSE_UNICODE |
1641 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1642 | #else | |
1643 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1644 | #endif | |
cfe5e918 | 1645 | } |
3004cfd8 | 1646 | return pyobj; |
cfe5e918 RD |
1647 | } |
1648 | ||
1649 | ||
3004cfd8 | 1650 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 1651 | PyObject *resultobj; |
3004cfd8 RD |
1652 | wxWindow *arg1 = (wxWindow *) 0 ; |
1653 | int arg2 = (int) wxID_ANY ; | |
1654 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1655 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1656 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1657 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1658 | long arg5 = (long) 0 ; | |
1659 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
1660 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1661 | wxStyledTextCtrl *result; | |
1662 | wxPoint temp3 ; | |
1663 | wxSize temp4 ; | |
1664 | bool temp6 = false ; | |
cfe5e918 RD |
1665 | PyObject * obj0 = 0 ; |
1666 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
1667 | PyObject * obj2 = 0 ; |
1668 | PyObject * obj3 = 0 ; | |
1669 | PyObject * obj4 = 0 ; | |
1670 | PyObject * obj5 = 0 ; | |
cfe5e918 | 1671 | char *kwnames[] = { |
3004cfd8 | 1672 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
cfe5e918 RD |
1673 | }; |
1674 | ||
3004cfd8 RD |
1675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
1676 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1677 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1678 | if (obj1) { | |
1679 | { | |
1680 | arg2 = (int)(SWIG_As_int(obj1)); | |
1681 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1682 | } | |
1683 | } | |
1684 | if (obj2) { | |
1685 | { | |
1686 | arg3 = &temp3; | |
1687 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1688 | } | |
1689 | } | |
1690 | if (obj3) { | |
1691 | { | |
1692 | arg4 = &temp4; | |
1693 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1694 | } | |
1695 | } | |
1696 | if (obj4) { | |
1697 | { | |
1698 | arg5 = (long)(SWIG_As_long(obj4)); | |
1699 | if (SWIG_arg_fail(5)) SWIG_fail; | |
1700 | } | |
1701 | } | |
1702 | if (obj5) { | |
1703 | { | |
1704 | arg6 = wxString_in_helper(obj5); | |
1705 | if (arg6 == NULL) SWIG_fail; | |
1706 | temp6 = true; | |
1707 | } | |
1708 | } | |
cfe5e918 | 1709 | { |
3004cfd8 | 1710 | if (!wxPyCheckForApp()) SWIG_fail; |
cfe5e918 | 1711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3004cfd8 | 1712 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); |
cfe5e918 RD |
1713 | |
1714 | wxPyEndAllowThreads(__tstate); | |
1715 | if (PyErr_Occurred()) SWIG_fail; | |
1716 | } | |
3004cfd8 RD |
1717 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
1718 | { | |
1719 | if (temp6) | |
1720 | delete arg6; | |
1721 | } | |
cfe5e918 RD |
1722 | return resultobj; |
1723 | fail: | |
3004cfd8 RD |
1724 | { |
1725 | if (temp6) | |
1726 | delete arg6; | |
1727 | } | |
cfe5e918 RD |
1728 | return NULL; |
1729 | } | |
1730 | ||
1731 | ||
3004cfd8 | 1732 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 1733 | PyObject *resultobj; |
3004cfd8 | 1734 | wxStyledTextCtrl *result; |
cfe5e918 | 1735 | char *kwnames[] = { |
3004cfd8 | 1736 | NULL |
cfe5e918 RD |
1737 | }; |
1738 | ||
3004cfd8 | 1739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; |
cfe5e918 | 1740 | { |
3004cfd8 | 1741 | if (!wxPyCheckForApp()) SWIG_fail; |
cfe5e918 | 1742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3004cfd8 | 1743 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); |
cfe5e918 RD |
1744 | |
1745 | wxPyEndAllowThreads(__tstate); | |
1746 | if (PyErr_Occurred()) SWIG_fail; | |
1747 | } | |
3004cfd8 | 1748 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
cfe5e918 RD |
1749 | return resultobj; |
1750 | fail: | |
1751 | return NULL; | |
1752 | } | |
1753 | ||
1754 | ||
3004cfd8 | 1755 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1756 | PyObject *resultobj; |
1757 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
1758 | wxWindow *arg2 = (wxWindow *) 0 ; |
1759 | int arg3 = (int) wxID_ANY ; | |
1760 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1761 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1762 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1763 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1764 | long arg6 = (long) 0 ; | |
1765 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
1766 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1767 | wxPoint temp4 ; | |
1768 | wxSize temp5 ; | |
1769 | bool temp7 = false ; | |
cfe5e918 | 1770 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
1771 | PyObject * obj1 = 0 ; |
1772 | PyObject * obj2 = 0 ; | |
1773 | PyObject * obj3 = 0 ; | |
1774 | PyObject * obj4 = 0 ; | |
1775 | PyObject * obj5 = 0 ; | |
1776 | PyObject * obj6 = 0 ; | |
cfe5e918 | 1777 | char *kwnames[] = { |
3004cfd8 | 1778 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
cfe5e918 RD |
1779 | }; |
1780 | ||
3004cfd8 RD |
1781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
1782 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1783 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1784 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1785 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1786 | if (obj2) { | |
1787 | { | |
1788 | arg3 = (int)(SWIG_As_int(obj2)); | |
1789 | if (SWIG_arg_fail(3)) SWIG_fail; | |
1790 | } | |
1791 | } | |
1792 | if (obj3) { | |
1793 | { | |
1794 | arg4 = &temp4; | |
1795 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1796 | } | |
1797 | } | |
1798 | if (obj4) { | |
1799 | { | |
1800 | arg5 = &temp5; | |
1801 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1802 | } | |
1803 | } | |
1804 | if (obj5) { | |
1805 | { | |
1806 | arg6 = (long)(SWIG_As_long(obj5)); | |
1807 | if (SWIG_arg_fail(6)) SWIG_fail; | |
1808 | } | |
1809 | } | |
1810 | if (obj6) { | |
1811 | { | |
1812 | arg7 = wxString_in_helper(obj6); | |
1813 | if (arg7 == NULL) SWIG_fail; | |
1814 | temp7 = true; | |
1815 | } | |
1816 | } | |
cfe5e918 RD |
1817 | { |
1818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1819 | (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
cfe5e918 RD |
1820 | |
1821 | wxPyEndAllowThreads(__tstate); | |
1822 | if (PyErr_Occurred()) SWIG_fail; | |
1823 | } | |
1824 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
1825 | { |
1826 | if (temp7) | |
1827 | delete arg7; | |
1828 | } | |
cfe5e918 RD |
1829 | return resultobj; |
1830 | fail: | |
3004cfd8 RD |
1831 | { |
1832 | if (temp7) | |
1833 | delete arg7; | |
1834 | } | |
cfe5e918 RD |
1835 | return NULL; |
1836 | } | |
1837 | ||
1838 | ||
3004cfd8 | 1839 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1840 | PyObject *resultobj; |
1841 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
1842 | wxString *arg2 = 0 ; |
1843 | bool temp2 = false ; | |
cfe5e918 RD |
1844 | PyObject * obj0 = 0 ; |
1845 | PyObject * obj1 = 0 ; | |
cfe5e918 | 1846 | char *kwnames[] = { |
3004cfd8 | 1847 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
1848 | }; |
1849 | ||
3004cfd8 RD |
1850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; |
1851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1853 | { | |
1854 | arg2 = wxString_in_helper(obj1); | |
1855 | if (arg2 == NULL) SWIG_fail; | |
1856 | temp2 = true; | |
1857 | } | |
cfe5e918 RD |
1858 | { |
1859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1860 | (arg1)->AddText((wxString const &)*arg2); |
cfe5e918 RD |
1861 | |
1862 | wxPyEndAllowThreads(__tstate); | |
1863 | if (PyErr_Occurred()) SWIG_fail; | |
1864 | } | |
3004cfd8 | 1865 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 1866 | { |
3004cfd8 RD |
1867 | if (temp2) |
1868 | delete arg2; | |
cfe5e918 RD |
1869 | } |
1870 | return resultobj; | |
1871 | fail: | |
3004cfd8 RD |
1872 | { |
1873 | if (temp2) | |
1874 | delete arg2; | |
1875 | } | |
1876 | return NULL; | |
cfe5e918 RD |
1877 | } |
1878 | ||
1879 | ||
3004cfd8 | 1880 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1881 | PyObject *resultobj; |
1882 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
1883 | wxMemoryBuffer *arg2 = 0 ; |
1884 | bool temp2 = false ; | |
cfe5e918 | 1885 | PyObject * obj0 = 0 ; |
3004cfd8 | 1886 | PyObject * obj1 = 0 ; |
cfe5e918 | 1887 | char *kwnames[] = { |
3004cfd8 | 1888 | (char *) "self",(char *) "data", NULL |
cfe5e918 RD |
1889 | }; |
1890 | ||
3004cfd8 RD |
1891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; |
1892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1894 | { | |
1895 | if (!PyString_Check(obj1)) { | |
1896 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
1897 | SWIG_fail; | |
1898 | } | |
1899 | char* str = PyString_AS_STRING(obj1); | |
1900 | int len = PyString_GET_SIZE(obj1); | |
1901 | arg2 = new wxMemoryBuffer(len); | |
1902 | temp2 = true; | |
1903 | memcpy(arg2->GetData(), str, len); | |
1904 | arg2->SetDataLen(len); | |
1905 | } | |
cfe5e918 RD |
1906 | { |
1907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1908 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); |
cfe5e918 RD |
1909 | |
1910 | wxPyEndAllowThreads(__tstate); | |
1911 | if (PyErr_Occurred()) SWIG_fail; | |
1912 | } | |
3004cfd8 | 1913 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 1914 | { |
3004cfd8 | 1915 | if (temp2) delete arg2; |
cfe5e918 RD |
1916 | } |
1917 | return resultobj; | |
1918 | fail: | |
3004cfd8 RD |
1919 | { |
1920 | if (temp2) delete arg2; | |
1921 | } | |
cfe5e918 RD |
1922 | return NULL; |
1923 | } | |
1924 | ||
1925 | ||
3004cfd8 | 1926 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1927 | PyObject *resultobj; |
1928 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1929 | int arg2 ; | |
3004cfd8 RD |
1930 | wxString *arg3 = 0 ; |
1931 | bool temp3 = false ; | |
cfe5e918 RD |
1932 | PyObject * obj0 = 0 ; |
1933 | PyObject * obj1 = 0 ; | |
3004cfd8 | 1934 | PyObject * obj2 = 0 ; |
cfe5e918 | 1935 | char *kwnames[] = { |
3004cfd8 | 1936 | (char *) "self",(char *) "pos",(char *) "text", NULL |
cfe5e918 RD |
1937 | }; |
1938 | ||
3004cfd8 RD |
1939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
1940 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1941 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1942 | { | |
1943 | arg2 = (int)(SWIG_As_int(obj1)); | |
1944 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1945 | } | |
1946 | { | |
1947 | arg3 = wxString_in_helper(obj2); | |
1948 | if (arg3 == NULL) SWIG_fail; | |
1949 | temp3 = true; | |
1950 | } | |
cfe5e918 RD |
1951 | { |
1952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1953 | (arg1)->InsertText(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
1954 | |
1955 | wxPyEndAllowThreads(__tstate); | |
1956 | if (PyErr_Occurred()) SWIG_fail; | |
1957 | } | |
3004cfd8 RD |
1958 | Py_INCREF(Py_None); resultobj = Py_None; |
1959 | { | |
1960 | if (temp3) | |
1961 | delete arg3; | |
1962 | } | |
cfe5e918 RD |
1963 | return resultobj; |
1964 | fail: | |
3004cfd8 RD |
1965 | { |
1966 | if (temp3) | |
1967 | delete arg3; | |
1968 | } | |
cfe5e918 RD |
1969 | return NULL; |
1970 | } | |
1971 | ||
1972 | ||
3004cfd8 | 1973 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1974 | PyObject *resultobj; |
1975 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 1976 | PyObject * obj0 = 0 ; |
cfe5e918 | 1977 | char *kwnames[] = { |
3004cfd8 | 1978 | (char *) "self", NULL |
cfe5e918 RD |
1979 | }; |
1980 | ||
3004cfd8 RD |
1981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; |
1982 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1983 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
1984 | { |
1985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 1986 | (arg1)->ClearAll(); |
cfe5e918 RD |
1987 | |
1988 | wxPyEndAllowThreads(__tstate); | |
1989 | if (PyErr_Occurred()) SWIG_fail; | |
1990 | } | |
1991 | Py_INCREF(Py_None); resultobj = Py_None; | |
1992 | return resultobj; | |
1993 | fail: | |
1994 | return NULL; | |
1995 | } | |
1996 | ||
1997 | ||
3004cfd8 | 1998 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1999 | PyObject *resultobj; |
2000 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2001 | PyObject * obj0 = 0 ; |
2002 | char *kwnames[] = { | |
2003 | (char *) "self", NULL | |
2004 | }; | |
2005 | ||
3004cfd8 RD |
2006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; |
2007 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2008 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2009 | { |
2010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2011 | (arg1)->ClearDocumentStyle(); |
cfe5e918 RD |
2012 | |
2013 | wxPyEndAllowThreads(__tstate); | |
2014 | if (PyErr_Occurred()) SWIG_fail; | |
2015 | } | |
3004cfd8 | 2016 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2017 | return resultobj; |
2018 | fail: | |
2019 | return NULL; | |
2020 | } | |
2021 | ||
2022 | ||
3004cfd8 | 2023 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2024 | PyObject *resultobj; |
2025 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2026 | int result; | |
2027 | PyObject * obj0 = 0 ; | |
2028 | char *kwnames[] = { | |
2029 | (char *) "self", NULL | |
2030 | }; | |
2031 | ||
3004cfd8 RD |
2032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; |
2033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2035 | { |
2036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2037 | result = (int)(arg1)->GetLength(); |
cfe5e918 RD |
2038 | |
2039 | wxPyEndAllowThreads(__tstate); | |
2040 | if (PyErr_Occurred()) SWIG_fail; | |
2041 | } | |
3004cfd8 RD |
2042 | { |
2043 | resultobj = SWIG_From_int((int)(result)); | |
2044 | } | |
cfe5e918 RD |
2045 | return resultobj; |
2046 | fail: | |
2047 | return NULL; | |
2048 | } | |
2049 | ||
2050 | ||
3004cfd8 | 2051 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2052 | PyObject *resultobj; |
2053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2054 | int arg2 ; | |
3004cfd8 | 2055 | int result; |
cfe5e918 RD |
2056 | PyObject * obj0 = 0 ; |
2057 | PyObject * obj1 = 0 ; | |
2058 | char *kwnames[] = { | |
3004cfd8 | 2059 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2060 | }; |
2061 | ||
3004cfd8 RD |
2062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; |
2063 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2064 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2065 | { | |
2066 | arg2 = (int)(SWIG_As_int(obj1)); | |
2067 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2068 | } | |
cfe5e918 RD |
2069 | { |
2070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2071 | result = (int)(arg1)->GetCharAt(arg2); |
cfe5e918 RD |
2072 | |
2073 | wxPyEndAllowThreads(__tstate); | |
2074 | if (PyErr_Occurred()) SWIG_fail; | |
2075 | } | |
3004cfd8 RD |
2076 | { |
2077 | resultobj = SWIG_From_int((int)(result)); | |
2078 | } | |
cfe5e918 RD |
2079 | return resultobj; |
2080 | fail: | |
2081 | return NULL; | |
2082 | } | |
2083 | ||
2084 | ||
3004cfd8 | 2085 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2086 | PyObject *resultobj; |
2087 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 2088 | int result; |
cfe5e918 | 2089 | PyObject * obj0 = 0 ; |
cfe5e918 | 2090 | char *kwnames[] = { |
3004cfd8 | 2091 | (char *) "self", NULL |
cfe5e918 RD |
2092 | }; |
2093 | ||
3004cfd8 RD |
2094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; |
2095 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2096 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2097 | { |
2098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2099 | result = (int)(arg1)->GetCurrentPos(); |
cfe5e918 RD |
2100 | |
2101 | wxPyEndAllowThreads(__tstate); | |
2102 | if (PyErr_Occurred()) SWIG_fail; | |
2103 | } | |
3004cfd8 RD |
2104 | { |
2105 | resultobj = SWIG_From_int((int)(result)); | |
2106 | } | |
cfe5e918 RD |
2107 | return resultobj; |
2108 | fail: | |
2109 | return NULL; | |
2110 | } | |
2111 | ||
2112 | ||
3004cfd8 | 2113 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2114 | PyObject *resultobj; |
2115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2116 | int result; |
2117 | PyObject * obj0 = 0 ; | |
cfe5e918 | 2118 | char *kwnames[] = { |
3004cfd8 | 2119 | (char *) "self", NULL |
cfe5e918 RD |
2120 | }; |
2121 | ||
3004cfd8 RD |
2122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; |
2123 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2124 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2125 | { |
2126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2127 | result = (int)(arg1)->GetAnchor(); |
cfe5e918 RD |
2128 | |
2129 | wxPyEndAllowThreads(__tstate); | |
2130 | if (PyErr_Occurred()) SWIG_fail; | |
2131 | } | |
3004cfd8 RD |
2132 | { |
2133 | resultobj = SWIG_From_int((int)(result)); | |
2134 | } | |
cfe5e918 RD |
2135 | return resultobj; |
2136 | fail: | |
2137 | return NULL; | |
2138 | } | |
2139 | ||
2140 | ||
3004cfd8 | 2141 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2142 | PyObject *resultobj; |
2143 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2144 | int arg2 ; | |
3004cfd8 | 2145 | int result; |
cfe5e918 RD |
2146 | PyObject * obj0 = 0 ; |
2147 | PyObject * obj1 = 0 ; | |
2148 | char *kwnames[] = { | |
3004cfd8 | 2149 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2150 | }; |
2151 | ||
3004cfd8 RD |
2152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; |
2153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2155 | { | |
2156 | arg2 = (int)(SWIG_As_int(obj1)); | |
2157 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2158 | } | |
cfe5e918 RD |
2159 | { |
2160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2161 | result = (int)(arg1)->GetStyleAt(arg2); |
cfe5e918 RD |
2162 | |
2163 | wxPyEndAllowThreads(__tstate); | |
2164 | if (PyErr_Occurred()) SWIG_fail; | |
2165 | } | |
3004cfd8 RD |
2166 | { |
2167 | resultobj = SWIG_From_int((int)(result)); | |
2168 | } | |
cfe5e918 RD |
2169 | return resultobj; |
2170 | fail: | |
2171 | return NULL; | |
2172 | } | |
2173 | ||
2174 | ||
3004cfd8 | 2175 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2176 | PyObject *resultobj; |
2177 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 2178 | PyObject * obj0 = 0 ; |
cfe5e918 | 2179 | char *kwnames[] = { |
3004cfd8 | 2180 | (char *) "self", NULL |
cfe5e918 RD |
2181 | }; |
2182 | ||
3004cfd8 RD |
2183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; |
2184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2186 | { |
2187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2188 | (arg1)->Redo(); |
cfe5e918 RD |
2189 | |
2190 | wxPyEndAllowThreads(__tstate); | |
2191 | if (PyErr_Occurred()) SWIG_fail; | |
2192 | } | |
2193 | Py_INCREF(Py_None); resultobj = Py_None; | |
2194 | return resultobj; | |
2195 | fail: | |
2196 | return NULL; | |
2197 | } | |
2198 | ||
2199 | ||
3004cfd8 | 2200 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2201 | PyObject *resultobj; |
2202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2203 | bool arg2 ; |
cfe5e918 RD |
2204 | PyObject * obj0 = 0 ; |
2205 | PyObject * obj1 = 0 ; | |
2206 | char *kwnames[] = { | |
3004cfd8 | 2207 | (char *) "self",(char *) "collectUndo", NULL |
cfe5e918 RD |
2208 | }; |
2209 | ||
3004cfd8 RD |
2210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; |
2211 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2212 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2213 | { | |
2214 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
2215 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2216 | } | |
cfe5e918 RD |
2217 | { |
2218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2219 | (arg1)->SetUndoCollection(arg2); |
cfe5e918 RD |
2220 | |
2221 | wxPyEndAllowThreads(__tstate); | |
2222 | if (PyErr_Occurred()) SWIG_fail; | |
2223 | } | |
2224 | Py_INCREF(Py_None); resultobj = Py_None; | |
2225 | return resultobj; | |
2226 | fail: | |
2227 | return NULL; | |
2228 | } | |
2229 | ||
2230 | ||
3004cfd8 | 2231 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2232 | PyObject *resultobj; |
2233 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2234 | PyObject * obj0 = 0 ; |
2235 | char *kwnames[] = { | |
2236 | (char *) "self", NULL | |
2237 | }; | |
2238 | ||
3004cfd8 RD |
2239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; |
2240 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2241 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2242 | { |
2243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2244 | (arg1)->SelectAll(); |
cfe5e918 RD |
2245 | |
2246 | wxPyEndAllowThreads(__tstate); | |
2247 | if (PyErr_Occurred()) SWIG_fail; | |
2248 | } | |
3004cfd8 | 2249 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2250 | return resultobj; |
2251 | fail: | |
2252 | return NULL; | |
2253 | } | |
2254 | ||
2255 | ||
3004cfd8 | 2256 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2257 | PyObject *resultobj; |
2258 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2259 | PyObject * obj0 = 0 ; |
2260 | char *kwnames[] = { | |
2261 | (char *) "self", NULL | |
2262 | }; | |
2263 | ||
3004cfd8 RD |
2264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; |
2265 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2266 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2267 | { |
2268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2269 | (arg1)->SetSavePoint(); |
cfe5e918 RD |
2270 | |
2271 | wxPyEndAllowThreads(__tstate); | |
2272 | if (PyErr_Occurred()) SWIG_fail; | |
2273 | } | |
3004cfd8 | 2274 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2275 | return resultobj; |
2276 | fail: | |
2277 | return NULL; | |
2278 | } | |
2279 | ||
2280 | ||
3004cfd8 | 2281 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2282 | PyObject *resultobj; |
2283 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2284 | int arg2 ; | |
3004cfd8 RD |
2285 | int arg3 ; |
2286 | wxMemoryBuffer result; | |
cfe5e918 RD |
2287 | PyObject * obj0 = 0 ; |
2288 | PyObject * obj1 = 0 ; | |
3004cfd8 | 2289 | PyObject * obj2 = 0 ; |
cfe5e918 | 2290 | char *kwnames[] = { |
3004cfd8 | 2291 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
cfe5e918 RD |
2292 | }; |
2293 | ||
3004cfd8 RD |
2294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2297 | { | |
2298 | arg2 = (int)(SWIG_As_int(obj1)); | |
2299 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2300 | } | |
2301 | { | |
2302 | arg3 = (int)(SWIG_As_int(obj2)); | |
2303 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2304 | } | |
cfe5e918 RD |
2305 | { |
2306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2307 | result = (arg1)->GetStyledText(arg2,arg3); |
cfe5e918 RD |
2308 | |
2309 | wxPyEndAllowThreads(__tstate); | |
2310 | if (PyErr_Occurred()) SWIG_fail; | |
2311 | } | |
3004cfd8 RD |
2312 | { |
2313 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); | |
2314 | } | |
cfe5e918 RD |
2315 | return resultobj; |
2316 | fail: | |
2317 | return NULL; | |
2318 | } | |
2319 | ||
2320 | ||
3004cfd8 | 2321 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2322 | PyObject *resultobj; |
2323 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2324 | bool result; |
cfe5e918 RD |
2325 | PyObject * obj0 = 0 ; |
2326 | char *kwnames[] = { | |
2327 | (char *) "self", NULL | |
2328 | }; | |
2329 | ||
3004cfd8 RD |
2330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; |
2331 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2332 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2333 | { |
2334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2335 | result = (bool)(arg1)->CanRedo(); |
cfe5e918 RD |
2336 | |
2337 | wxPyEndAllowThreads(__tstate); | |
2338 | if (PyErr_Occurred()) SWIG_fail; | |
2339 | } | |
3004cfd8 RD |
2340 | { |
2341 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2342 | } | |
cfe5e918 RD |
2343 | return resultobj; |
2344 | fail: | |
2345 | return NULL; | |
2346 | } | |
2347 | ||
2348 | ||
3004cfd8 | 2349 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2350 | PyObject *resultobj; |
2351 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2352 | int arg2 ; | |
3004cfd8 | 2353 | int result; |
cfe5e918 RD |
2354 | PyObject * obj0 = 0 ; |
2355 | PyObject * obj1 = 0 ; | |
2356 | char *kwnames[] = { | |
3004cfd8 | 2357 | (char *) "self",(char *) "handle", NULL |
cfe5e918 RD |
2358 | }; |
2359 | ||
3004cfd8 RD |
2360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; |
2361 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2362 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2363 | { | |
2364 | arg2 = (int)(SWIG_As_int(obj1)); | |
2365 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2366 | } | |
cfe5e918 RD |
2367 | { |
2368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2369 | result = (int)(arg1)->MarkerLineFromHandle(arg2); |
cfe5e918 RD |
2370 | |
2371 | wxPyEndAllowThreads(__tstate); | |
2372 | if (PyErr_Occurred()) SWIG_fail; | |
2373 | } | |
3004cfd8 RD |
2374 | { |
2375 | resultobj = SWIG_From_int((int)(result)); | |
2376 | } | |
cfe5e918 RD |
2377 | return resultobj; |
2378 | fail: | |
2379 | return NULL; | |
2380 | } | |
2381 | ||
2382 | ||
3004cfd8 | 2383 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2384 | PyObject *resultobj; |
2385 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2386 | int arg2 ; | |
cfe5e918 RD |
2387 | PyObject * obj0 = 0 ; |
2388 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2389 | char *kwnames[] = { |
3004cfd8 | 2390 | (char *) "self",(char *) "handle", NULL |
cfe5e918 RD |
2391 | }; |
2392 | ||
3004cfd8 RD |
2393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; |
2394 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2395 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2396 | { | |
2397 | arg2 = (int)(SWIG_As_int(obj1)); | |
2398 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2399 | } | |
cfe5e918 RD |
2400 | { |
2401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2402 | (arg1)->MarkerDeleteHandle(arg2); |
cfe5e918 RD |
2403 | |
2404 | wxPyEndAllowThreads(__tstate); | |
2405 | if (PyErr_Occurred()) SWIG_fail; | |
2406 | } | |
2407 | Py_INCREF(Py_None); resultobj = Py_None; | |
2408 | return resultobj; | |
2409 | fail: | |
2410 | return NULL; | |
2411 | } | |
2412 | ||
2413 | ||
3004cfd8 | 2414 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2415 | PyObject *resultobj; |
2416 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2417 | bool result; |
cfe5e918 | 2418 | PyObject * obj0 = 0 ; |
cfe5e918 | 2419 | char *kwnames[] = { |
3004cfd8 | 2420 | (char *) "self", NULL |
cfe5e918 RD |
2421 | }; |
2422 | ||
3004cfd8 RD |
2423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; |
2424 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2425 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2426 | { |
2427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2428 | result = (bool)(arg1)->GetUndoCollection(); |
cfe5e918 RD |
2429 | |
2430 | wxPyEndAllowThreads(__tstate); | |
2431 | if (PyErr_Occurred()) SWIG_fail; | |
2432 | } | |
3004cfd8 RD |
2433 | { |
2434 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2435 | } | |
cfe5e918 RD |
2436 | return resultobj; |
2437 | fail: | |
2438 | return NULL; | |
2439 | } | |
2440 | ||
2441 | ||
3004cfd8 | 2442 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2443 | PyObject *resultobj; |
2444 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2445 | int result; |
cfe5e918 RD |
2446 | PyObject * obj0 = 0 ; |
2447 | char *kwnames[] = { | |
2448 | (char *) "self", NULL | |
2449 | }; | |
2450 | ||
3004cfd8 RD |
2451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; |
2452 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2453 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2454 | { |
2455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2456 | result = (int)(arg1)->GetViewWhiteSpace(); |
cfe5e918 RD |
2457 | |
2458 | wxPyEndAllowThreads(__tstate); | |
2459 | if (PyErr_Occurred()) SWIG_fail; | |
2460 | } | |
2461 | { | |
3004cfd8 | 2462 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
2463 | } |
2464 | return resultobj; | |
2465 | fail: | |
2466 | return NULL; | |
2467 | } | |
2468 | ||
2469 | ||
3004cfd8 | 2470 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2471 | PyObject *resultobj; |
2472 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2473 | int arg2 ; |
cfe5e918 RD |
2474 | PyObject * obj0 = 0 ; |
2475 | PyObject * obj1 = 0 ; | |
2476 | char *kwnames[] = { | |
3004cfd8 | 2477 | (char *) "self",(char *) "viewWS", NULL |
cfe5e918 RD |
2478 | }; |
2479 | ||
3004cfd8 RD |
2480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; |
2481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2483 | { | |
2484 | arg2 = (int)(SWIG_As_int(obj1)); | |
2485 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2486 | } | |
cfe5e918 RD |
2487 | { |
2488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2489 | (arg1)->SetViewWhiteSpace(arg2); |
cfe5e918 RD |
2490 | |
2491 | wxPyEndAllowThreads(__tstate); | |
2492 | if (PyErr_Occurred()) SWIG_fail; | |
2493 | } | |
2494 | Py_INCREF(Py_None); resultobj = Py_None; | |
2495 | return resultobj; | |
2496 | fail: | |
2497 | return NULL; | |
2498 | } | |
2499 | ||
2500 | ||
3004cfd8 | 2501 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2502 | PyObject *resultobj; |
2503 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
2504 | wxPoint arg2 ; |
2505 | int result; | |
cfe5e918 RD |
2506 | PyObject * obj0 = 0 ; |
2507 | PyObject * obj1 = 0 ; | |
2508 | char *kwnames[] = { | |
3004cfd8 | 2509 | (char *) "self",(char *) "pt", NULL |
cfe5e918 RD |
2510 | }; |
2511 | ||
3004cfd8 RD |
2512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; |
2513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2515 | { | |
2516 | wxPoint * argp; | |
2517 | SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION); | |
2518 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2519 | if (argp == NULL) { | |
2520 | SWIG_null_ref("wxPoint"); | |
2521 | } | |
2522 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2523 | arg2 = *argp; | |
2524 | } | |
cfe5e918 RD |
2525 | { |
2526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2527 | result = (int)(arg1)->PositionFromPoint(arg2); |
cfe5e918 RD |
2528 | |
2529 | wxPyEndAllowThreads(__tstate); | |
2530 | if (PyErr_Occurred()) SWIG_fail; | |
2531 | } | |
3004cfd8 RD |
2532 | { |
2533 | resultobj = SWIG_From_int((int)(result)); | |
2534 | } | |
cfe5e918 RD |
2535 | return resultobj; |
2536 | fail: | |
2537 | return NULL; | |
2538 | } | |
2539 | ||
2540 | ||
3004cfd8 | 2541 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2542 | PyObject *resultobj; |
2543 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
2544 | int arg2 ; |
2545 | int arg3 ; | |
cfe5e918 RD |
2546 | int result; |
2547 | PyObject * obj0 = 0 ; | |
3004cfd8 RD |
2548 | PyObject * obj1 = 0 ; |
2549 | PyObject * obj2 = 0 ; | |
cfe5e918 | 2550 | char *kwnames[] = { |
3004cfd8 | 2551 | (char *) "self",(char *) "x",(char *) "y", NULL |
cfe5e918 RD |
2552 | }; |
2553 | ||
3004cfd8 RD |
2554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2555 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2556 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2557 | { | |
2558 | arg2 = (int)(SWIG_As_int(obj1)); | |
2559 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2560 | } | |
2561 | { | |
2562 | arg3 = (int)(SWIG_As_int(obj2)); | |
2563 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2564 | } | |
cfe5e918 RD |
2565 | { |
2566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2567 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); |
cfe5e918 RD |
2568 | |
2569 | wxPyEndAllowThreads(__tstate); | |
2570 | if (PyErr_Occurred()) SWIG_fail; | |
2571 | } | |
3004cfd8 RD |
2572 | { |
2573 | resultobj = SWIG_From_int((int)(result)); | |
2574 | } | |
cfe5e918 RD |
2575 | return resultobj; |
2576 | fail: | |
2577 | return NULL; | |
2578 | } | |
2579 | ||
2580 | ||
3004cfd8 | 2581 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2582 | PyObject *resultobj; |
2583 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2584 | int arg2 ; | |
2585 | PyObject * obj0 = 0 ; | |
2586 | PyObject * obj1 = 0 ; | |
2587 | char *kwnames[] = { | |
3004cfd8 | 2588 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
2589 | }; |
2590 | ||
3004cfd8 RD |
2591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; |
2592 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2593 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2594 | { | |
2595 | arg2 = (int)(SWIG_As_int(obj1)); | |
2596 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2597 | } | |
cfe5e918 RD |
2598 | { |
2599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2600 | (arg1)->GotoLine(arg2); |
cfe5e918 RD |
2601 | |
2602 | wxPyEndAllowThreads(__tstate); | |
2603 | if (PyErr_Occurred()) SWIG_fail; | |
2604 | } | |
2605 | Py_INCREF(Py_None); resultobj = Py_None; | |
2606 | return resultobj; | |
2607 | fail: | |
2608 | return NULL; | |
2609 | } | |
2610 | ||
2611 | ||
3004cfd8 | 2612 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2613 | PyObject *resultobj; |
2614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2615 | int arg2 ; | |
cfe5e918 RD |
2616 | PyObject * obj0 = 0 ; |
2617 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2618 | char *kwnames[] = { |
3004cfd8 | 2619 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2620 | }; |
2621 | ||
3004cfd8 RD |
2622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; |
2623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2625 | { | |
2626 | arg2 = (int)(SWIG_As_int(obj1)); | |
2627 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
2628 | } |
2629 | { | |
2630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2631 | (arg1)->GotoPos(arg2); |
cfe5e918 RD |
2632 | |
2633 | wxPyEndAllowThreads(__tstate); | |
2634 | if (PyErr_Occurred()) SWIG_fail; | |
2635 | } | |
2636 | Py_INCREF(Py_None); resultobj = Py_None; | |
2637 | return resultobj; | |
2638 | fail: | |
2639 | return NULL; | |
2640 | } | |
2641 | ||
2642 | ||
3004cfd8 | 2643 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2644 | PyObject *resultobj; |
2645 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2646 | int arg2 ; | |
cfe5e918 RD |
2647 | PyObject * obj0 = 0 ; |
2648 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2649 | char *kwnames[] = { |
3004cfd8 | 2650 | (char *) "self",(char *) "posAnchor", NULL |
cfe5e918 RD |
2651 | }; |
2652 | ||
3004cfd8 RD |
2653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; |
2654 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2655 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 2656 | { |
3004cfd8 RD |
2657 | arg2 = (int)(SWIG_As_int(obj1)); |
2658 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
2659 | } |
2660 | { | |
2661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2662 | (arg1)->SetAnchor(arg2); |
cfe5e918 RD |
2663 | |
2664 | wxPyEndAllowThreads(__tstate); | |
2665 | if (PyErr_Occurred()) SWIG_fail; | |
2666 | } | |
2667 | Py_INCREF(Py_None); resultobj = Py_None; | |
2668 | return resultobj; | |
2669 | fail: | |
2670 | return NULL; | |
2671 | } | |
2672 | ||
2673 | ||
3004cfd8 | 2674 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2675 | PyObject *resultobj; |
2676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
2677 | int *arg2 = (int *) 0 ; |
2678 | wxString result; | |
2679 | int temp2 ; | |
2680 | int res2 = 0 ; | |
cfe5e918 | 2681 | PyObject * obj0 = 0 ; |
cfe5e918 | 2682 | char *kwnames[] = { |
3004cfd8 | 2683 | (char *) "self", NULL |
cfe5e918 RD |
2684 | }; |
2685 | ||
3004cfd8 RD |
2686 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
2688 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2689 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2690 | { |
2691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2692 | result = (arg1)->GetCurLine(arg2); |
cfe5e918 RD |
2693 | |
2694 | wxPyEndAllowThreads(__tstate); | |
2695 | if (PyErr_Occurred()) SWIG_fail; | |
2696 | } | |
3004cfd8 RD |
2697 | { |
2698 | #if wxUSE_UNICODE | |
2699 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2700 | #else | |
2701 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2702 | #endif | |
2703 | } | |
2704 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
2705 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
cfe5e918 RD |
2706 | return resultobj; |
2707 | fail: | |
2708 | return NULL; | |
2709 | } | |
2710 | ||
2711 | ||
3004cfd8 | 2712 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2713 | PyObject *resultobj; |
2714 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
2715 | int result; |
2716 | PyObject * obj0 = 0 ; | |
cfe5e918 | 2717 | char *kwnames[] = { |
3004cfd8 | 2718 | (char *) "self", NULL |
cfe5e918 RD |
2719 | }; |
2720 | ||
3004cfd8 RD |
2721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; |
2722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2724 | { |
2725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2726 | result = (int)(arg1)->GetEndStyled(); |
cfe5e918 RD |
2727 | |
2728 | wxPyEndAllowThreads(__tstate); | |
2729 | if (PyErr_Occurred()) SWIG_fail; | |
2730 | } | |
3004cfd8 RD |
2731 | { |
2732 | resultobj = SWIG_From_int((int)(result)); | |
2733 | } | |
cfe5e918 RD |
2734 | return resultobj; |
2735 | fail: | |
2736 | return NULL; | |
2737 | } | |
2738 | ||
2739 | ||
3004cfd8 | 2740 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2741 | PyObject *resultobj; |
2742 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2743 | int arg2 ; | |
cfe5e918 RD |
2744 | PyObject * obj0 = 0 ; |
2745 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2746 | char *kwnames[] = { |
3004cfd8 | 2747 | (char *) "self",(char *) "eolMode", NULL |
cfe5e918 RD |
2748 | }; |
2749 | ||
3004cfd8 RD |
2750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; |
2751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2753 | { | |
2754 | arg2 = (int)(SWIG_As_int(obj1)); | |
2755 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2756 | } | |
cfe5e918 RD |
2757 | { |
2758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2759 | (arg1)->ConvertEOLs(arg2); |
cfe5e918 RD |
2760 | |
2761 | wxPyEndAllowThreads(__tstate); | |
2762 | if (PyErr_Occurred()) SWIG_fail; | |
2763 | } | |
2764 | Py_INCREF(Py_None); resultobj = Py_None; | |
2765 | return resultobj; | |
2766 | fail: | |
2767 | return NULL; | |
2768 | } | |
2769 | ||
2770 | ||
3004cfd8 | 2771 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2772 | PyObject *resultobj; |
2773 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2774 | int result; |
cfe5e918 | 2775 | PyObject * obj0 = 0 ; |
cfe5e918 | 2776 | char *kwnames[] = { |
3004cfd8 | 2777 | (char *) "self", NULL |
cfe5e918 RD |
2778 | }; |
2779 | ||
3004cfd8 RD |
2780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; |
2781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2783 | { |
2784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2785 | result = (int)(arg1)->GetEOLMode(); |
cfe5e918 RD |
2786 | |
2787 | wxPyEndAllowThreads(__tstate); | |
2788 | if (PyErr_Occurred()) SWIG_fail; | |
2789 | } | |
3004cfd8 RD |
2790 | { |
2791 | resultobj = SWIG_From_int((int)(result)); | |
2792 | } | |
cfe5e918 RD |
2793 | return resultobj; |
2794 | fail: | |
2795 | return NULL; | |
2796 | } | |
2797 | ||
2798 | ||
3004cfd8 | 2799 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2800 | PyObject *resultobj; |
2801 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2802 | int arg2 ; | |
cfe5e918 RD |
2803 | PyObject * obj0 = 0 ; |
2804 | PyObject * obj1 = 0 ; | |
2805 | char *kwnames[] = { | |
3004cfd8 | 2806 | (char *) "self",(char *) "eolMode", NULL |
cfe5e918 RD |
2807 | }; |
2808 | ||
3004cfd8 RD |
2809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; |
2810 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2811 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2812 | { | |
2813 | arg2 = (int)(SWIG_As_int(obj1)); | |
2814 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2815 | } | |
cfe5e918 RD |
2816 | { |
2817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2818 | (arg1)->SetEOLMode(arg2); |
cfe5e918 RD |
2819 | |
2820 | wxPyEndAllowThreads(__tstate); | |
2821 | if (PyErr_Occurred()) SWIG_fail; | |
2822 | } | |
3004cfd8 | 2823 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2824 | return resultobj; |
2825 | fail: | |
2826 | return NULL; | |
2827 | } | |
2828 | ||
2829 | ||
3004cfd8 | 2830 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2831 | PyObject *resultobj; |
2832 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2833 | int arg2 ; | |
2834 | int arg3 ; | |
cfe5e918 RD |
2835 | PyObject * obj0 = 0 ; |
2836 | PyObject * obj1 = 0 ; | |
2837 | PyObject * obj2 = 0 ; | |
2838 | char *kwnames[] = { | |
3004cfd8 | 2839 | (char *) "self",(char *) "pos",(char *) "mask", NULL |
cfe5e918 RD |
2840 | }; |
2841 | ||
3004cfd8 RD |
2842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2845 | { | |
2846 | arg2 = (int)(SWIG_As_int(obj1)); | |
2847 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2848 | } | |
2849 | { | |
2850 | arg3 = (int)(SWIG_As_int(obj2)); | |
2851 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2852 | } | |
cfe5e918 RD |
2853 | { |
2854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2855 | (arg1)->StartStyling(arg2,arg3); |
cfe5e918 RD |
2856 | |
2857 | wxPyEndAllowThreads(__tstate); | |
2858 | if (PyErr_Occurred()) SWIG_fail; | |
2859 | } | |
3004cfd8 | 2860 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2861 | return resultobj; |
2862 | fail: | |
2863 | return NULL; | |
2864 | } | |
2865 | ||
2866 | ||
3004cfd8 | 2867 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2868 | PyObject *resultobj; |
2869 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2870 | int arg2 ; | |
2871 | int arg3 ; | |
cfe5e918 RD |
2872 | PyObject * obj0 = 0 ; |
2873 | PyObject * obj1 = 0 ; | |
2874 | PyObject * obj2 = 0 ; | |
2875 | char *kwnames[] = { | |
3004cfd8 | 2876 | (char *) "self",(char *) "length",(char *) "style", NULL |
cfe5e918 RD |
2877 | }; |
2878 | ||
3004cfd8 RD |
2879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2882 | { | |
2883 | arg2 = (int)(SWIG_As_int(obj1)); | |
2884 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2885 | } | |
2886 | { | |
2887 | arg3 = (int)(SWIG_As_int(obj2)); | |
2888 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2889 | } | |
cfe5e918 RD |
2890 | { |
2891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2892 | (arg1)->SetStyling(arg2,arg3); |
cfe5e918 RD |
2893 | |
2894 | wxPyEndAllowThreads(__tstate); | |
2895 | if (PyErr_Occurred()) SWIG_fail; | |
2896 | } | |
3004cfd8 | 2897 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2898 | return resultobj; |
2899 | fail: | |
2900 | return NULL; | |
2901 | } | |
2902 | ||
2903 | ||
3004cfd8 | 2904 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2905 | PyObject *resultobj; |
2906 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2907 | bool result; |
cfe5e918 | 2908 | PyObject * obj0 = 0 ; |
cfe5e918 | 2909 | char *kwnames[] = { |
3004cfd8 | 2910 | (char *) "self", NULL |
cfe5e918 RD |
2911 | }; |
2912 | ||
3004cfd8 RD |
2913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; |
2914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
2916 | { |
2917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2918 | result = (bool)(arg1)->GetBufferedDraw(); |
cfe5e918 RD |
2919 | |
2920 | wxPyEndAllowThreads(__tstate); | |
2921 | if (PyErr_Occurred()) SWIG_fail; | |
2922 | } | |
3004cfd8 RD |
2923 | { |
2924 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2925 | } | |
cfe5e918 RD |
2926 | return resultobj; |
2927 | fail: | |
2928 | return NULL; | |
2929 | } | |
2930 | ||
2931 | ||
3004cfd8 | 2932 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2933 | PyObject *resultobj; |
2934 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2935 | bool arg2 ; |
cfe5e918 RD |
2936 | PyObject * obj0 = 0 ; |
2937 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2938 | char *kwnames[] = { |
3004cfd8 | 2939 | (char *) "self",(char *) "buffered", NULL |
cfe5e918 RD |
2940 | }; |
2941 | ||
3004cfd8 RD |
2942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; |
2943 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2944 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2945 | { | |
2946 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
2947 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2948 | } | |
cfe5e918 RD |
2949 | { |
2950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2951 | (arg1)->SetBufferedDraw(arg2); |
cfe5e918 RD |
2952 | |
2953 | wxPyEndAllowThreads(__tstate); | |
2954 | if (PyErr_Occurred()) SWIG_fail; | |
2955 | } | |
2956 | Py_INCREF(Py_None); resultobj = Py_None; | |
2957 | return resultobj; | |
2958 | fail: | |
2959 | return NULL; | |
2960 | } | |
2961 | ||
2962 | ||
3004cfd8 | 2963 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2964 | PyObject *resultobj; |
2965 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2966 | int arg2 ; | |
cfe5e918 RD |
2967 | PyObject * obj0 = 0 ; |
2968 | PyObject * obj1 = 0 ; | |
2969 | char *kwnames[] = { | |
3004cfd8 | 2970 | (char *) "self",(char *) "tabWidth", NULL |
cfe5e918 RD |
2971 | }; |
2972 | ||
3004cfd8 RD |
2973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; |
2974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2976 | { | |
2977 | arg2 = (int)(SWIG_As_int(obj1)); | |
2978 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2979 | } | |
cfe5e918 RD |
2980 | { |
2981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 2982 | (arg1)->SetTabWidth(arg2); |
cfe5e918 RD |
2983 | |
2984 | wxPyEndAllowThreads(__tstate); | |
2985 | if (PyErr_Occurred()) SWIG_fail; | |
2986 | } | |
3004cfd8 | 2987 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2988 | return resultobj; |
2989 | fail: | |
2990 | return NULL; | |
2991 | } | |
2992 | ||
2993 | ||
3004cfd8 | 2994 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2995 | PyObject *resultobj; |
2996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 2997 | int result; |
cfe5e918 | 2998 | PyObject * obj0 = 0 ; |
cfe5e918 | 2999 | char *kwnames[] = { |
3004cfd8 | 3000 | (char *) "self", NULL |
cfe5e918 RD |
3001 | }; |
3002 | ||
3004cfd8 RD |
3003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; |
3004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
3006 | { |
3007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3008 | result = (int)(arg1)->GetTabWidth(); |
cfe5e918 RD |
3009 | |
3010 | wxPyEndAllowThreads(__tstate); | |
3011 | if (PyErr_Occurred()) SWIG_fail; | |
3012 | } | |
3004cfd8 RD |
3013 | { |
3014 | resultobj = SWIG_From_int((int)(result)); | |
3015 | } | |
cfe5e918 RD |
3016 | return resultobj; |
3017 | fail: | |
3018 | return NULL; | |
3019 | } | |
3020 | ||
3021 | ||
3004cfd8 | 3022 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3023 | PyObject *resultobj; |
3024 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3025 | int arg2 ; | |
cfe5e918 RD |
3026 | PyObject * obj0 = 0 ; |
3027 | PyObject * obj1 = 0 ; | |
3028 | char *kwnames[] = { | |
3004cfd8 | 3029 | (char *) "self",(char *) "codePage", NULL |
cfe5e918 RD |
3030 | }; |
3031 | ||
3004cfd8 RD |
3032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; |
3033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3035 | { | |
3036 | arg2 = (int)(SWIG_As_int(obj1)); | |
3037 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3038 | } | |
cfe5e918 RD |
3039 | { |
3040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3041 | (arg1)->SetCodePage(arg2); |
cfe5e918 RD |
3042 | |
3043 | wxPyEndAllowThreads(__tstate); | |
3044 | if (PyErr_Occurred()) SWIG_fail; | |
3045 | } | |
3004cfd8 | 3046 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
3047 | return resultobj; |
3048 | fail: | |
3049 | return NULL; | |
3050 | } | |
3051 | ||
3052 | ||
3004cfd8 | 3053 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3054 | PyObject *resultobj; |
3055 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3056 | int arg2 ; | |
3057 | int arg3 ; | |
3004cfd8 RD |
3058 | wxColour const &arg4_defvalue = wxNullColour ; |
3059 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
3060 | wxColour const &arg5_defvalue = wxNullColour ; | |
3061 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
3062 | wxColour temp4 ; | |
3063 | wxColour temp5 ; | |
cfe5e918 RD |
3064 | PyObject * obj0 = 0 ; |
3065 | PyObject * obj1 = 0 ; | |
3066 | PyObject * obj2 = 0 ; | |
3004cfd8 RD |
3067 | PyObject * obj3 = 0 ; |
3068 | PyObject * obj4 = 0 ; | |
cfe5e918 | 3069 | char *kwnames[] = { |
3004cfd8 | 3070 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL |
cfe5e918 RD |
3071 | }; |
3072 | ||
3004cfd8 RD |
3073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
3074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3076 | { | |
3077 | arg2 = (int)(SWIG_As_int(obj1)); | |
3078 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3079 | } | |
3080 | { | |
3081 | arg3 = (int)(SWIG_As_int(obj2)); | |
3082 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3083 | } | |
3084 | if (obj3) { | |
3085 | { | |
3086 | arg4 = &temp4; | |
3087 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
3088 | } | |
3089 | } | |
3090 | if (obj4) { | |
3091 | { | |
3092 | arg5 = &temp5; | |
3093 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
3094 | } | |
3095 | } | |
cfe5e918 RD |
3096 | { |
3097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3098 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); |
cfe5e918 RD |
3099 | |
3100 | wxPyEndAllowThreads(__tstate); | |
3101 | if (PyErr_Occurred()) SWIG_fail; | |
3102 | } | |
3103 | Py_INCREF(Py_None); resultobj = Py_None; | |
3104 | return resultobj; | |
3105 | fail: | |
3106 | return NULL; | |
3107 | } | |
3108 | ||
3109 | ||
3004cfd8 | 3110 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3111 | PyObject *resultobj; |
3112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3113 | int arg2 ; | |
3004cfd8 RD |
3114 | wxColour *arg3 = 0 ; |
3115 | wxColour temp3 ; | |
cfe5e918 RD |
3116 | PyObject * obj0 = 0 ; |
3117 | PyObject * obj1 = 0 ; | |
3004cfd8 | 3118 | PyObject * obj2 = 0 ; |
cfe5e918 | 3119 | char *kwnames[] = { |
3004cfd8 | 3120 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL |
cfe5e918 RD |
3121 | }; |
3122 | ||
3004cfd8 RD |
3123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3124 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3125 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3126 | { | |
3127 | arg2 = (int)(SWIG_As_int(obj1)); | |
3128 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3129 | } | |
3130 | { | |
3131 | arg3 = &temp3; | |
3132 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3133 | } | |
cfe5e918 RD |
3134 | { |
3135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3136 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3137 | |
3138 | wxPyEndAllowThreads(__tstate); | |
3139 | if (PyErr_Occurred()) SWIG_fail; | |
3140 | } | |
3004cfd8 | 3141 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
3142 | return resultobj; |
3143 | fail: | |
3144 | return NULL; | |
3145 | } | |
3146 | ||
3147 | ||
3004cfd8 | 3148 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3149 | PyObject *resultobj; |
3150 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3151 | int arg2 ; | |
3004cfd8 RD |
3152 | wxColour *arg3 = 0 ; |
3153 | wxColour temp3 ; | |
cfe5e918 RD |
3154 | PyObject * obj0 = 0 ; |
3155 | PyObject * obj1 = 0 ; | |
3156 | PyObject * obj2 = 0 ; | |
3157 | char *kwnames[] = { | |
3004cfd8 | 3158 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL |
cfe5e918 RD |
3159 | }; |
3160 | ||
3004cfd8 RD |
3161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3164 | { | |
3165 | arg2 = (int)(SWIG_As_int(obj1)); | |
3166 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3167 | } | |
3168 | { | |
3169 | arg3 = &temp3; | |
3170 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3171 | } | |
cfe5e918 RD |
3172 | { |
3173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3174 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3175 | |
3176 | wxPyEndAllowThreads(__tstate); | |
3177 | if (PyErr_Occurred()) SWIG_fail; | |
3178 | } | |
3179 | Py_INCREF(Py_None); resultobj = Py_None; | |
3180 | return resultobj; | |
3181 | fail: | |
3182 | return NULL; | |
3183 | } | |
3184 | ||
3185 | ||
3004cfd8 | 3186 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3187 | PyObject *resultobj; |
3188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3189 | int arg2 ; | |
3004cfd8 RD |
3190 | int arg3 ; |
3191 | int result; | |
cfe5e918 RD |
3192 | PyObject * obj0 = 0 ; |
3193 | PyObject * obj1 = 0 ; | |
3004cfd8 | 3194 | PyObject * obj2 = 0 ; |
cfe5e918 | 3195 | char *kwnames[] = { |
3004cfd8 | 3196 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
cfe5e918 RD |
3197 | }; |
3198 | ||
3004cfd8 RD |
3199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3200 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3201 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3202 | { | |
3203 | arg2 = (int)(SWIG_As_int(obj1)); | |
3204 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3205 | } | |
3206 | { | |
3207 | arg3 = (int)(SWIG_As_int(obj2)); | |
3208 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3209 | } | |
cfe5e918 RD |
3210 | { |
3211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3212 | result = (int)(arg1)->MarkerAdd(arg2,arg3); |
cfe5e918 RD |
3213 | |
3214 | wxPyEndAllowThreads(__tstate); | |
3215 | if (PyErr_Occurred()) SWIG_fail; | |
3216 | } | |
3217 | { | |
3004cfd8 | 3218 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
3219 | } |
3220 | return resultobj; | |
3221 | fail: | |
3222 | return NULL; | |
3223 | } | |
3224 | ||
3225 | ||
3004cfd8 | 3226 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3227 | PyObject *resultobj; |
3228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3229 | int arg2 ; |
3230 | int arg3 ; | |
cfe5e918 | 3231 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
3232 | PyObject * obj1 = 0 ; |
3233 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3234 | char *kwnames[] = { |
3004cfd8 | 3235 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
cfe5e918 RD |
3236 | }; |
3237 | ||
3004cfd8 RD |
3238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3239 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3240 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3241 | { | |
3242 | arg2 = (int)(SWIG_As_int(obj1)); | |
3243 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3244 | } | |
3245 | { | |
3246 | arg3 = (int)(SWIG_As_int(obj2)); | |
3247 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3248 | } | |
cfe5e918 RD |
3249 | { |
3250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3251 | (arg1)->MarkerDelete(arg2,arg3); |
cfe5e918 RD |
3252 | |
3253 | wxPyEndAllowThreads(__tstate); | |
3254 | if (PyErr_Occurred()) SWIG_fail; | |
3255 | } | |
3256 | Py_INCREF(Py_None); resultobj = Py_None; | |
3257 | return resultobj; | |
3258 | fail: | |
3259 | return NULL; | |
3260 | } | |
3261 | ||
3262 | ||
3004cfd8 | 3263 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3264 | PyObject *resultobj; |
3265 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3266 | int arg2 ; | |
cfe5e918 RD |
3267 | PyObject * obj0 = 0 ; |
3268 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3269 | char *kwnames[] = { |
3004cfd8 | 3270 | (char *) "self",(char *) "markerNumber", NULL |
cfe5e918 RD |
3271 | }; |
3272 | ||
3004cfd8 RD |
3273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; |
3274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3276 | { |
3004cfd8 RD |
3277 | arg2 = (int)(SWIG_As_int(obj1)); |
3278 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3279 | } |
3280 | { | |
3281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3282 | (arg1)->MarkerDeleteAll(arg2); |
cfe5e918 RD |
3283 | |
3284 | wxPyEndAllowThreads(__tstate); | |
3285 | if (PyErr_Occurred()) SWIG_fail; | |
3286 | } | |
3287 | Py_INCREF(Py_None); resultobj = Py_None; | |
3288 | return resultobj; | |
3289 | fail: | |
3290 | return NULL; | |
3291 | } | |
3292 | ||
3293 | ||
3004cfd8 | 3294 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3295 | PyObject *resultobj; |
3296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3297 | int arg2 ; | |
3004cfd8 | 3298 | int result; |
cfe5e918 RD |
3299 | PyObject * obj0 = 0 ; |
3300 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3301 | char *kwnames[] = { |
3004cfd8 | 3302 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
3303 | }; |
3304 | ||
3004cfd8 RD |
3305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; |
3306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3308 | { |
3004cfd8 RD |
3309 | arg2 = (int)(SWIG_As_int(obj1)); |
3310 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3311 | } |
3312 | { | |
3313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3314 | result = (int)(arg1)->MarkerGet(arg2); |
cfe5e918 RD |
3315 | |
3316 | wxPyEndAllowThreads(__tstate); | |
3317 | if (PyErr_Occurred()) SWIG_fail; | |
3318 | } | |
3004cfd8 RD |
3319 | { |
3320 | resultobj = SWIG_From_int((int)(result)); | |
3321 | } | |
cfe5e918 RD |
3322 | return resultobj; |
3323 | fail: | |
3324 | return NULL; | |
3325 | } | |
3326 | ||
3327 | ||
3004cfd8 | 3328 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3329 | PyObject *resultobj; |
3330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3331 | int arg2 ; | |
3004cfd8 RD |
3332 | int arg3 ; |
3333 | int result; | |
cfe5e918 RD |
3334 | PyObject * obj0 = 0 ; |
3335 | PyObject * obj1 = 0 ; | |
3336 | PyObject * obj2 = 0 ; | |
3337 | char *kwnames[] = { | |
3004cfd8 | 3338 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
cfe5e918 RD |
3339 | }; |
3340 | ||
3004cfd8 RD |
3341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3344 | { | |
3345 | arg2 = (int)(SWIG_As_int(obj1)); | |
3346 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3347 | } | |
3348 | { | |
3349 | arg3 = (int)(SWIG_As_int(obj2)); | |
3350 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3351 | } | |
cfe5e918 RD |
3352 | { |
3353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3354 | result = (int)(arg1)->MarkerNext(arg2,arg3); |
cfe5e918 RD |
3355 | |
3356 | wxPyEndAllowThreads(__tstate); | |
3357 | if (PyErr_Occurred()) SWIG_fail; | |
3358 | } | |
3004cfd8 RD |
3359 | { |
3360 | resultobj = SWIG_From_int((int)(result)); | |
3361 | } | |
cfe5e918 RD |
3362 | return resultobj; |
3363 | fail: | |
3364 | return NULL; | |
3365 | } | |
3366 | ||
3367 | ||
3004cfd8 | 3368 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3369 | PyObject *resultobj; |
3370 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3371 | int arg2 ; | |
3004cfd8 RD |
3372 | int arg3 ; |
3373 | int result; | |
cfe5e918 RD |
3374 | PyObject * obj0 = 0 ; |
3375 | PyObject * obj1 = 0 ; | |
3376 | PyObject * obj2 = 0 ; | |
3377 | char *kwnames[] = { | |
3004cfd8 | 3378 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
cfe5e918 RD |
3379 | }; |
3380 | ||
3004cfd8 RD |
3381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3384 | { | |
3385 | arg2 = (int)(SWIG_As_int(obj1)); | |
3386 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3387 | } | |
3388 | { | |
3389 | arg3 = (int)(SWIG_As_int(obj2)); | |
3390 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3391 | } | |
cfe5e918 RD |
3392 | { |
3393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3394 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); |
cfe5e918 RD |
3395 | |
3396 | wxPyEndAllowThreads(__tstate); | |
3397 | if (PyErr_Occurred()) SWIG_fail; | |
3398 | } | |
3004cfd8 RD |
3399 | { |
3400 | resultobj = SWIG_From_int((int)(result)); | |
3401 | } | |
cfe5e918 RD |
3402 | return resultobj; |
3403 | fail: | |
3404 | return NULL; | |
3405 | } | |
3406 | ||
3407 | ||
3004cfd8 | 3408 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3409 | PyObject *resultobj; |
3410 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3411 | int arg2 ; | |
3004cfd8 | 3412 | wxBitmap *arg3 = 0 ; |
cfe5e918 RD |
3413 | PyObject * obj0 = 0 ; |
3414 | PyObject * obj1 = 0 ; | |
3415 | PyObject * obj2 = 0 ; | |
3416 | char *kwnames[] = { | |
3004cfd8 | 3417 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL |
cfe5e918 RD |
3418 | }; |
3419 | ||
3004cfd8 RD |
3420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3423 | { | |
3424 | arg2 = (int)(SWIG_As_int(obj1)); | |
3425 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3426 | } | |
3427 | { | |
3428 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
3429 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3430 | if (arg3 == NULL) { | |
3431 | SWIG_null_ref("wxBitmap"); | |
3432 | } | |
3433 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3434 | } | |
cfe5e918 RD |
3435 | { |
3436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3437 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); |
cfe5e918 RD |
3438 | |
3439 | wxPyEndAllowThreads(__tstate); | |
3440 | if (PyErr_Occurred()) SWIG_fail; | |
3441 | } | |
3442 | Py_INCREF(Py_None); resultobj = Py_None; | |
3443 | return resultobj; | |
3444 | fail: | |
3445 | return NULL; | |
3446 | } | |
3447 | ||
3448 | ||
3004cfd8 | 3449 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3450 | PyObject *resultobj; |
3451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3452 | int arg2 ; | |
3004cfd8 | 3453 | int arg3 ; |
cfe5e918 RD |
3454 | PyObject * obj0 = 0 ; |
3455 | PyObject * obj1 = 0 ; | |
3456 | PyObject * obj2 = 0 ; | |
3457 | char *kwnames[] = { | |
3004cfd8 | 3458 | (char *) "self",(char *) "margin",(char *) "marginType", NULL |
cfe5e918 RD |
3459 | }; |
3460 | ||
3004cfd8 RD |
3461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3462 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3463 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3464 | { |
3004cfd8 RD |
3465 | arg2 = (int)(SWIG_As_int(obj1)); |
3466 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3467 | } | |
3468 | { | |
3469 | arg3 = (int)(SWIG_As_int(obj2)); | |
3470 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
3471 | } |
3472 | { | |
3473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3474 | (arg1)->SetMarginType(arg2,arg3); |
cfe5e918 RD |
3475 | |
3476 | wxPyEndAllowThreads(__tstate); | |
3477 | if (PyErr_Occurred()) SWIG_fail; | |
3478 | } | |
3479 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
3480 | return resultobj; |
3481 | fail: | |
cfe5e918 RD |
3482 | return NULL; |
3483 | } | |
3484 | ||
3485 | ||
3004cfd8 | 3486 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3487 | PyObject *resultobj; |
3488 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3489 | int arg2 ; | |
3004cfd8 | 3490 | int result; |
cfe5e918 RD |
3491 | PyObject * obj0 = 0 ; |
3492 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3493 | char *kwnames[] = { |
3004cfd8 | 3494 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3495 | }; |
3496 | ||
3004cfd8 RD |
3497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; |
3498 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3499 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3500 | { | |
3501 | arg2 = (int)(SWIG_As_int(obj1)); | |
3502 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3503 | } | |
cfe5e918 RD |
3504 | { |
3505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3506 | result = (int)(arg1)->GetMarginType(arg2); |
cfe5e918 RD |
3507 | |
3508 | wxPyEndAllowThreads(__tstate); | |
3509 | if (PyErr_Occurred()) SWIG_fail; | |
3510 | } | |
3004cfd8 RD |
3511 | { |
3512 | resultobj = SWIG_From_int((int)(result)); | |
3513 | } | |
cfe5e918 RD |
3514 | return resultobj; |
3515 | fail: | |
3516 | return NULL; | |
3517 | } | |
3518 | ||
3519 | ||
3004cfd8 | 3520 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3521 | PyObject *resultobj; |
3522 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3523 | int arg2 ; |
3524 | int arg3 ; | |
cfe5e918 | 3525 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
3526 | PyObject * obj1 = 0 ; |
3527 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3528 | char *kwnames[] = { |
3004cfd8 | 3529 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL |
cfe5e918 RD |
3530 | }; |
3531 | ||
3004cfd8 RD |
3532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3533 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3534 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3535 | { | |
3536 | arg2 = (int)(SWIG_As_int(obj1)); | |
3537 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3538 | } | |
3539 | { | |
3540 | arg3 = (int)(SWIG_As_int(obj2)); | |
3541 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3542 | } | |
cfe5e918 RD |
3543 | { |
3544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3545 | (arg1)->SetMarginWidth(arg2,arg3); |
cfe5e918 RD |
3546 | |
3547 | wxPyEndAllowThreads(__tstate); | |
3548 | if (PyErr_Occurred()) SWIG_fail; | |
3549 | } | |
3550 | Py_INCREF(Py_None); resultobj = Py_None; | |
3551 | return resultobj; | |
3552 | fail: | |
3553 | return NULL; | |
3554 | } | |
3555 | ||
3556 | ||
3004cfd8 | 3557 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3558 | PyObject *resultobj; |
3559 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3560 | int arg2 ; | |
3004cfd8 | 3561 | int result; |
cfe5e918 RD |
3562 | PyObject * obj0 = 0 ; |
3563 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3564 | char *kwnames[] = { |
3004cfd8 | 3565 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3566 | }; |
3567 | ||
3004cfd8 RD |
3568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; |
3569 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3570 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3571 | { | |
3572 | arg2 = (int)(SWIG_As_int(obj1)); | |
3573 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3574 | } | |
cfe5e918 RD |
3575 | { |
3576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3577 | result = (int)(arg1)->GetMarginWidth(arg2); |
cfe5e918 RD |
3578 | |
3579 | wxPyEndAllowThreads(__tstate); | |
3580 | if (PyErr_Occurred()) SWIG_fail; | |
3581 | } | |
3004cfd8 RD |
3582 | { |
3583 | resultobj = SWIG_From_int((int)(result)); | |
3584 | } | |
cfe5e918 RD |
3585 | return resultobj; |
3586 | fail: | |
3587 | return NULL; | |
3588 | } | |
3589 | ||
3590 | ||
3004cfd8 | 3591 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3592 | PyObject *resultobj; |
3593 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3594 | int arg2 ; | |
3595 | int arg3 ; | |
3596 | PyObject * obj0 = 0 ; | |
3597 | PyObject * obj1 = 0 ; | |
3598 | PyObject * obj2 = 0 ; | |
3599 | char *kwnames[] = { | |
3004cfd8 | 3600 | (char *) "self",(char *) "margin",(char *) "mask", NULL |
cfe5e918 RD |
3601 | }; |
3602 | ||
3004cfd8 RD |
3603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3604 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3605 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3606 | { | |
3607 | arg2 = (int)(SWIG_As_int(obj1)); | |
3608 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3609 | } | |
3610 | { | |
3611 | arg3 = (int)(SWIG_As_int(obj2)); | |
3612 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3613 | } | |
cfe5e918 RD |
3614 | { |
3615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3616 | (arg1)->SetMarginMask(arg2,arg3); |
cfe5e918 RD |
3617 | |
3618 | wxPyEndAllowThreads(__tstate); | |
3619 | if (PyErr_Occurred()) SWIG_fail; | |
3620 | } | |
3621 | Py_INCREF(Py_None); resultobj = Py_None; | |
3622 | return resultobj; | |
3623 | fail: | |
3624 | return NULL; | |
3625 | } | |
3626 | ||
3627 | ||
3004cfd8 | 3628 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3629 | PyObject *resultobj; |
3630 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3631 | int arg2 ; | |
3004cfd8 | 3632 | int result; |
cfe5e918 RD |
3633 | PyObject * obj0 = 0 ; |
3634 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3635 | char *kwnames[] = { |
3004cfd8 | 3636 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3637 | }; |
3638 | ||
3004cfd8 RD |
3639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; |
3640 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3641 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3642 | { | |
3643 | arg2 = (int)(SWIG_As_int(obj1)); | |
3644 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3645 | } | |
cfe5e918 RD |
3646 | { |
3647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3648 | result = (int)(arg1)->GetMarginMask(arg2); |
cfe5e918 RD |
3649 | |
3650 | wxPyEndAllowThreads(__tstate); | |
3651 | if (PyErr_Occurred()) SWIG_fail; | |
3652 | } | |
3004cfd8 RD |
3653 | { |
3654 | resultobj = SWIG_From_int((int)(result)); | |
3655 | } | |
cfe5e918 RD |
3656 | return resultobj; |
3657 | fail: | |
3658 | return NULL; | |
3659 | } | |
3660 | ||
3661 | ||
3004cfd8 | 3662 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3663 | PyObject *resultobj; |
3664 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3665 | int arg2 ; | |
3666 | bool arg3 ; | |
3667 | PyObject * obj0 = 0 ; | |
3668 | PyObject * obj1 = 0 ; | |
3669 | PyObject * obj2 = 0 ; | |
3670 | char *kwnames[] = { | |
3004cfd8 | 3671 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL |
cfe5e918 RD |
3672 | }; |
3673 | ||
3004cfd8 RD |
3674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3675 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3676 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3677 | { | |
3678 | arg2 = (int)(SWIG_As_int(obj1)); | |
3679 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3680 | } | |
3681 | { | |
3682 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3683 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3684 | } | |
cfe5e918 RD |
3685 | { |
3686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3687 | (arg1)->SetMarginSensitive(arg2,arg3); |
cfe5e918 RD |
3688 | |
3689 | wxPyEndAllowThreads(__tstate); | |
3690 | if (PyErr_Occurred()) SWIG_fail; | |
3691 | } | |
3692 | Py_INCREF(Py_None); resultobj = Py_None; | |
3693 | return resultobj; | |
3694 | fail: | |
3695 | return NULL; | |
3696 | } | |
3697 | ||
3698 | ||
3004cfd8 | 3699 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3700 | PyObject *resultobj; |
3701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3702 | int arg2 ; |
3703 | bool result; | |
cfe5e918 RD |
3704 | PyObject * obj0 = 0 ; |
3705 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3706 | char *kwnames[] = { |
3004cfd8 | 3707 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3708 | }; |
3709 | ||
3004cfd8 RD |
3710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; |
3711 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3712 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3713 | { |
3004cfd8 RD |
3714 | arg2 = (int)(SWIG_As_int(obj1)); |
3715 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3716 | } |
3717 | { | |
3718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 RD |
3719 | result = (bool)(arg1)->GetMarginSensitive(arg2); |
3720 | ||
3721 | wxPyEndAllowThreads(__tstate); | |
3722 | if (PyErr_Occurred()) SWIG_fail; | |
3723 | } | |
3724 | { | |
3725 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3726 | } | |
3727 | return resultobj; | |
3728 | fail: | |
3729 | return NULL; | |
3730 | } | |
3731 | ||
3732 | ||
3733 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
3734 | PyObject *resultobj; | |
3735 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3736 | PyObject * obj0 = 0 ; | |
3737 | char *kwnames[] = { | |
3738 | (char *) "self", NULL | |
3739 | }; | |
3740 | ||
3741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
3742 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3743 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3744 | { | |
3745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3746 | (arg1)->StyleClearAll(); | |
cfe5e918 RD |
3747 | |
3748 | wxPyEndAllowThreads(__tstate); | |
3749 | if (PyErr_Occurred()) SWIG_fail; | |
3750 | } | |
3751 | Py_INCREF(Py_None); resultobj = Py_None; | |
3752 | return resultobj; | |
3753 | fail: | |
3754 | return NULL; | |
3755 | } | |
3756 | ||
3757 | ||
3004cfd8 | 3758 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3759 | PyObject *resultobj; |
3760 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 3761 | int arg2 ; |
cfe5e918 RD |
3762 | wxColour *arg3 = 0 ; |
3763 | wxColour temp3 ; | |
3764 | PyObject * obj0 = 0 ; | |
3765 | PyObject * obj1 = 0 ; | |
3766 | PyObject * obj2 = 0 ; | |
3767 | char *kwnames[] = { | |
3004cfd8 | 3768 | (char *) "self",(char *) "style",(char *) "fore", NULL |
cfe5e918 RD |
3769 | }; |
3770 | ||
3004cfd8 RD |
3771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3772 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3773 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3774 | { | |
3775 | arg2 = (int)(SWIG_As_int(obj1)); | |
3776 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3777 | } | |
cfe5e918 RD |
3778 | { |
3779 | arg3 = &temp3; | |
3780 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3781 | } | |
3782 | { | |
3783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3784 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3785 | |
3786 | wxPyEndAllowThreads(__tstate); | |
3787 | if (PyErr_Occurred()) SWIG_fail; | |
3788 | } | |
3789 | Py_INCREF(Py_None); resultobj = Py_None; | |
3790 | return resultobj; | |
3791 | fail: | |
3792 | return NULL; | |
3793 | } | |
3794 | ||
3795 | ||
3004cfd8 | 3796 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3797 | PyObject *resultobj; |
3798 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3799 | int arg2 ; |
3800 | wxColour *arg3 = 0 ; | |
3801 | wxColour temp3 ; | |
cfe5e918 RD |
3802 | PyObject * obj0 = 0 ; |
3803 | PyObject * obj1 = 0 ; | |
3004cfd8 | 3804 | PyObject * obj2 = 0 ; |
cfe5e918 | 3805 | char *kwnames[] = { |
3004cfd8 | 3806 | (char *) "self",(char *) "style",(char *) "back", NULL |
cfe5e918 RD |
3807 | }; |
3808 | ||
3004cfd8 RD |
3809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3810 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3811 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 3812 | { |
3004cfd8 RD |
3813 | arg2 = (int)(SWIG_As_int(obj1)); |
3814 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3815 | } | |
3816 | { | |
3817 | arg3 = &temp3; | |
3818 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
cfe5e918 RD |
3819 | } |
3820 | { | |
3821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3822 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3823 | |
3824 | wxPyEndAllowThreads(__tstate); | |
3825 | if (PyErr_Occurred()) SWIG_fail; | |
3826 | } | |
3827 | Py_INCREF(Py_None); resultobj = Py_None; | |
3828 | return resultobj; | |
3829 | fail: | |
3830 | return NULL; | |
3831 | } | |
3832 | ||
3833 | ||
3004cfd8 | 3834 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3835 | PyObject *resultobj; |
3836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3837 | int arg2 ; | |
3004cfd8 | 3838 | bool arg3 ; |
cfe5e918 RD |
3839 | PyObject * obj0 = 0 ; |
3840 | PyObject * obj1 = 0 ; | |
3841 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3842 | char *kwnames[] = { |
3004cfd8 | 3843 | (char *) "self",(char *) "style",(char *) "bold", NULL |
cfe5e918 RD |
3844 | }; |
3845 | ||
3004cfd8 RD |
3846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3847 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3848 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3849 | { | |
3850 | arg2 = (int)(SWIG_As_int(obj1)); | |
3851 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3852 | } | |
3853 | { | |
3854 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3855 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3856 | } | |
cfe5e918 RD |
3857 | { |
3858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3859 | (arg1)->StyleSetBold(arg2,arg3); |
cfe5e918 RD |
3860 | |
3861 | wxPyEndAllowThreads(__tstate); | |
3862 | if (PyErr_Occurred()) SWIG_fail; | |
3863 | } | |
3864 | Py_INCREF(Py_None); resultobj = Py_None; | |
3865 | return resultobj; | |
3866 | fail: | |
3867 | return NULL; | |
3868 | } | |
3869 | ||
3870 | ||
3004cfd8 | 3871 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3872 | PyObject *resultobj; |
3873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3874 | int arg2 ; | |
3004cfd8 | 3875 | bool arg3 ; |
cfe5e918 RD |
3876 | PyObject * obj0 = 0 ; |
3877 | PyObject * obj1 = 0 ; | |
3878 | PyObject * obj2 = 0 ; | |
3879 | char *kwnames[] = { | |
3004cfd8 | 3880 | (char *) "self",(char *) "style",(char *) "italic", NULL |
cfe5e918 RD |
3881 | }; |
3882 | ||
3004cfd8 RD |
3883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3886 | { | |
3887 | arg2 = (int)(SWIG_As_int(obj1)); | |
3888 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3889 | } | |
3890 | { | |
3891 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3892 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3893 | } | |
cfe5e918 RD |
3894 | { |
3895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3896 | (arg1)->StyleSetItalic(arg2,arg3); |
cfe5e918 RD |
3897 | |
3898 | wxPyEndAllowThreads(__tstate); | |
3899 | if (PyErr_Occurred()) SWIG_fail; | |
3900 | } | |
3901 | Py_INCREF(Py_None); resultobj = Py_None; | |
3902 | return resultobj; | |
3903 | fail: | |
3904 | return NULL; | |
3905 | } | |
3906 | ||
3907 | ||
3004cfd8 | 3908 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3909 | PyObject *resultobj; |
3910 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
3911 | int arg2 ; |
3912 | int arg3 ; | |
cfe5e918 | 3913 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
3914 | PyObject * obj1 = 0 ; |
3915 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3916 | char *kwnames[] = { |
3004cfd8 | 3917 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL |
cfe5e918 RD |
3918 | }; |
3919 | ||
3004cfd8 RD |
3920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3923 | { | |
3924 | arg2 = (int)(SWIG_As_int(obj1)); | |
3925 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3926 | } | |
3927 | { | |
3928 | arg3 = (int)(SWIG_As_int(obj2)); | |
3929 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3930 | } | |
cfe5e918 RD |
3931 | { |
3932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3933 | (arg1)->StyleSetSize(arg2,arg3); |
cfe5e918 RD |
3934 | |
3935 | wxPyEndAllowThreads(__tstate); | |
3936 | if (PyErr_Occurred()) SWIG_fail; | |
3937 | } | |
3938 | Py_INCREF(Py_None); resultobj = Py_None; | |
3939 | return resultobj; | |
3940 | fail: | |
3941 | return NULL; | |
3942 | } | |
3943 | ||
3944 | ||
3004cfd8 | 3945 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3946 | PyObject *resultobj; |
3947 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3948 | int arg2 ; | |
3004cfd8 RD |
3949 | wxString *arg3 = 0 ; |
3950 | bool temp3 = false ; | |
cfe5e918 RD |
3951 | PyObject * obj0 = 0 ; |
3952 | PyObject * obj1 = 0 ; | |
3953 | PyObject * obj2 = 0 ; | |
3954 | char *kwnames[] = { | |
3004cfd8 | 3955 | (char *) "self",(char *) "style",(char *) "fontName", NULL |
cfe5e918 RD |
3956 | }; |
3957 | ||
3004cfd8 RD |
3958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3961 | { | |
3962 | arg2 = (int)(SWIG_As_int(obj1)); | |
3963 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3964 | } | |
3965 | { | |
3966 | arg3 = wxString_in_helper(obj2); | |
3967 | if (arg3 == NULL) SWIG_fail; | |
3968 | temp3 = true; | |
3969 | } | |
cfe5e918 RD |
3970 | { |
3971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 3972 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
3973 | |
3974 | wxPyEndAllowThreads(__tstate); | |
3975 | if (PyErr_Occurred()) SWIG_fail; | |
3976 | } | |
3977 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
3978 | { |
3979 | if (temp3) | |
3980 | delete arg3; | |
3981 | } | |
cfe5e918 RD |
3982 | return resultobj; |
3983 | fail: | |
3004cfd8 RD |
3984 | { |
3985 | if (temp3) | |
3986 | delete arg3; | |
3987 | } | |
cfe5e918 RD |
3988 | return NULL; |
3989 | } | |
3990 | ||
3991 | ||
3004cfd8 | 3992 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3993 | PyObject *resultobj; |
3994 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3995 | int arg2 ; | |
3996 | bool arg3 ; | |
3997 | PyObject * obj0 = 0 ; | |
3998 | PyObject * obj1 = 0 ; | |
3999 | PyObject * obj2 = 0 ; | |
4000 | char *kwnames[] = { | |
3004cfd8 | 4001 | (char *) "self",(char *) "style",(char *) "filled", NULL |
cfe5e918 RD |
4002 | }; |
4003 | ||
3004cfd8 RD |
4004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4005 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4006 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4007 | { | |
4008 | arg2 = (int)(SWIG_As_int(obj1)); | |
4009 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4010 | } | |
4011 | { | |
4012 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4013 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4014 | } | |
cfe5e918 RD |
4015 | { |
4016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4017 | (arg1)->StyleSetEOLFilled(arg2,arg3); |
cfe5e918 RD |
4018 | |
4019 | wxPyEndAllowThreads(__tstate); | |
4020 | if (PyErr_Occurred()) SWIG_fail; | |
4021 | } | |
4022 | Py_INCREF(Py_None); resultobj = Py_None; | |
4023 | return resultobj; | |
4024 | fail: | |
4025 | return NULL; | |
4026 | } | |
4027 | ||
4028 | ||
3004cfd8 | 4029 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4030 | PyObject *resultobj; |
4031 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
4032 | PyObject * obj0 = 0 ; |
4033 | char *kwnames[] = { | |
4034 | (char *) "self", NULL | |
4035 | }; | |
4036 | ||
3004cfd8 RD |
4037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; |
4038 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4039 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4040 | { |
4041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4042 | (arg1)->StyleResetDefault(); |
cfe5e918 RD |
4043 | |
4044 | wxPyEndAllowThreads(__tstate); | |
4045 | if (PyErr_Occurred()) SWIG_fail; | |
4046 | } | |
3004cfd8 | 4047 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4048 | return resultobj; |
4049 | fail: | |
4050 | return NULL; | |
4051 | } | |
4052 | ||
4053 | ||
3004cfd8 | 4054 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4055 | PyObject *resultobj; |
4056 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4057 | int arg2 ; | |
3004cfd8 | 4058 | bool arg3 ; |
cfe5e918 RD |
4059 | PyObject * obj0 = 0 ; |
4060 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4061 | PyObject * obj2 = 0 ; |
cfe5e918 | 4062 | char *kwnames[] = { |
3004cfd8 | 4063 | (char *) "self",(char *) "style",(char *) "underline", NULL |
cfe5e918 RD |
4064 | }; |
4065 | ||
3004cfd8 RD |
4066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4069 | { |
3004cfd8 RD |
4070 | arg2 = (int)(SWIG_As_int(obj1)); |
4071 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 4072 | } |
cfe5e918 | 4073 | { |
3004cfd8 RD |
4074 | arg3 = (bool)(SWIG_As_bool(obj2)); |
4075 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
4076 | } |
4077 | { | |
4078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4079 | (arg1)->StyleSetUnderline(arg2,arg3); |
cfe5e918 RD |
4080 | |
4081 | wxPyEndAllowThreads(__tstate); | |
4082 | if (PyErr_Occurred()) SWIG_fail; | |
4083 | } | |
4084 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
4085 | return resultobj; |
4086 | fail: | |
cfe5e918 RD |
4087 | return NULL; |
4088 | } | |
4089 | ||
4090 | ||
3004cfd8 | 4091 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4092 | PyObject *resultobj; |
4093 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4094 | int arg2 ; |
4095 | int arg3 ; | |
cfe5e918 | 4096 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4097 | PyObject * obj1 = 0 ; |
4098 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4099 | char *kwnames[] = { |
3004cfd8 | 4100 | (char *) "self",(char *) "style",(char *) "caseForce", NULL |
cfe5e918 RD |
4101 | }; |
4102 | ||
3004cfd8 RD |
4103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4104 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4105 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4106 | { |
3004cfd8 RD |
4107 | arg2 = (int)(SWIG_As_int(obj1)); |
4108 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4109 | } | |
4110 | { | |
4111 | arg3 = (int)(SWIG_As_int(obj2)); | |
4112 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 | 4113 | } |
cfe5e918 RD |
4114 | { |
4115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4116 | (arg1)->StyleSetCase(arg2,arg3); |
cfe5e918 RD |
4117 | |
4118 | wxPyEndAllowThreads(__tstate); | |
4119 | if (PyErr_Occurred()) SWIG_fail; | |
4120 | } | |
4121 | Py_INCREF(Py_None); resultobj = Py_None; | |
4122 | return resultobj; | |
4123 | fail: | |
4124 | return NULL; | |
4125 | } | |
4126 | ||
4127 | ||
3004cfd8 | 4128 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4129 | PyObject *resultobj; |
4130 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4131 | int arg2 ; | |
4132 | int arg3 ; | |
4133 | PyObject * obj0 = 0 ; | |
4134 | PyObject * obj1 = 0 ; | |
4135 | PyObject * obj2 = 0 ; | |
4136 | char *kwnames[] = { | |
3004cfd8 | 4137 | (char *) "self",(char *) "style",(char *) "characterSet", NULL |
cfe5e918 RD |
4138 | }; |
4139 | ||
3004cfd8 RD |
4140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4143 | { | |
4144 | arg2 = (int)(SWIG_As_int(obj1)); | |
4145 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4146 | } | |
4147 | { | |
4148 | arg3 = (int)(SWIG_As_int(obj2)); | |
4149 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4150 | } | |
cfe5e918 RD |
4151 | { |
4152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4153 | (arg1)->StyleSetCharacterSet(arg2,arg3); |
cfe5e918 RD |
4154 | |
4155 | wxPyEndAllowThreads(__tstate); | |
4156 | if (PyErr_Occurred()) SWIG_fail; | |
4157 | } | |
4158 | Py_INCREF(Py_None); resultobj = Py_None; | |
4159 | return resultobj; | |
4160 | fail: | |
4161 | return NULL; | |
4162 | } | |
4163 | ||
4164 | ||
3004cfd8 | 4165 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4166 | PyObject *resultobj; |
4167 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4168 | int arg2 ; | |
3004cfd8 | 4169 | bool arg3 ; |
cfe5e918 RD |
4170 | PyObject * obj0 = 0 ; |
4171 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4172 | PyObject * obj2 = 0 ; |
cfe5e918 | 4173 | char *kwnames[] = { |
3004cfd8 | 4174 | (char *) "self",(char *) "style",(char *) "hotspot", NULL |
cfe5e918 RD |
4175 | }; |
4176 | ||
3004cfd8 RD |
4177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4180 | { | |
4181 | arg2 = (int)(SWIG_As_int(obj1)); | |
4182 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4183 | } | |
4184 | { | |
4185 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4186 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4187 | } | |
cfe5e918 RD |
4188 | { |
4189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4190 | (arg1)->StyleSetHotSpot(arg2,arg3); |
cfe5e918 RD |
4191 | |
4192 | wxPyEndAllowThreads(__tstate); | |
4193 | if (PyErr_Occurred()) SWIG_fail; | |
4194 | } | |
3004cfd8 | 4195 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4196 | return resultobj; |
4197 | fail: | |
4198 | return NULL; | |
4199 | } | |
4200 | ||
4201 | ||
3004cfd8 | 4202 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4203 | PyObject *resultobj; |
4204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4205 | bool arg2 ; |
cfe5e918 RD |
4206 | wxColour *arg3 = 0 ; |
4207 | wxColour temp3 ; | |
4208 | PyObject * obj0 = 0 ; | |
4209 | PyObject * obj1 = 0 ; | |
4210 | PyObject * obj2 = 0 ; | |
4211 | char *kwnames[] = { | |
3004cfd8 | 4212 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
4213 | }; |
4214 | ||
3004cfd8 RD |
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4216 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4217 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4218 | { | |
4219 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4220 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4221 | } | |
cfe5e918 RD |
4222 | { |
4223 | arg3 = &temp3; | |
4224 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4225 | } | |
4226 | { | |
4227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4228 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4229 | |
4230 | wxPyEndAllowThreads(__tstate); | |
4231 | if (PyErr_Occurred()) SWIG_fail; | |
4232 | } | |
4233 | Py_INCREF(Py_None); resultobj = Py_None; | |
4234 | return resultobj; | |
4235 | fail: | |
4236 | return NULL; | |
4237 | } | |
4238 | ||
4239 | ||
3004cfd8 | 4240 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4241 | PyObject *resultobj; |
4242 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4243 | bool arg2 ; |
4244 | wxColour *arg3 = 0 ; | |
4245 | wxColour temp3 ; | |
cfe5e918 RD |
4246 | PyObject * obj0 = 0 ; |
4247 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4248 | PyObject * obj2 = 0 ; |
cfe5e918 | 4249 | char *kwnames[] = { |
3004cfd8 | 4250 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
4251 | }; |
4252 | ||
3004cfd8 RD |
4253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4256 | { | |
4257 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4258 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4259 | } | |
4260 | { | |
4261 | arg3 = &temp3; | |
4262 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4263 | } | |
cfe5e918 RD |
4264 | { |
4265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4266 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4267 | |
4268 | wxPyEndAllowThreads(__tstate); | |
4269 | if (PyErr_Occurred()) SWIG_fail; | |
4270 | } | |
3004cfd8 | 4271 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4272 | return resultobj; |
4273 | fail: | |
4274 | return NULL; | |
4275 | } | |
4276 | ||
4277 | ||
3004cfd8 | 4278 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4279 | PyObject *resultobj; |
4280 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4281 | wxColour *arg2 = 0 ; |
4282 | wxColour temp2 ; | |
cfe5e918 RD |
4283 | PyObject * obj0 = 0 ; |
4284 | PyObject * obj1 = 0 ; | |
cfe5e918 | 4285 | char *kwnames[] = { |
3004cfd8 | 4286 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
4287 | }; |
4288 | ||
3004cfd8 RD |
4289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; |
4290 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4291 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4292 | { |
3004cfd8 RD |
4293 | arg2 = &temp2; |
4294 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
cfe5e918 RD |
4295 | } |
4296 | { | |
4297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4298 | (arg1)->SetCaretForeground((wxColour const &)*arg2); |
cfe5e918 RD |
4299 | |
4300 | wxPyEndAllowThreads(__tstate); | |
4301 | if (PyErr_Occurred()) SWIG_fail; | |
4302 | } | |
4303 | Py_INCREF(Py_None); resultobj = Py_None; | |
4304 | return resultobj; | |
4305 | fail: | |
4306 | return NULL; | |
4307 | } | |
4308 | ||
4309 | ||
3004cfd8 | 4310 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4311 | PyObject *resultobj; |
4312 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4313 | int arg2 ; |
4314 | int arg3 ; | |
4315 | int arg4 ; | |
cfe5e918 RD |
4316 | PyObject * obj0 = 0 ; |
4317 | PyObject * obj1 = 0 ; | |
4318 | PyObject * obj2 = 0 ; | |
3004cfd8 | 4319 | PyObject * obj3 = 0 ; |
cfe5e918 | 4320 | char *kwnames[] = { |
3004cfd8 | 4321 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL |
cfe5e918 RD |
4322 | }; |
4323 | ||
3004cfd8 RD |
4324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
4325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4327 | { |
3004cfd8 RD |
4328 | arg2 = (int)(SWIG_As_int(obj1)); |
4329 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4330 | } | |
4331 | { | |
4332 | arg3 = (int)(SWIG_As_int(obj2)); | |
4333 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4334 | } | |
4335 | { | |
4336 | arg4 = (int)(SWIG_As_int(obj3)); | |
4337 | if (SWIG_arg_fail(4)) SWIG_fail; | |
cfe5e918 RD |
4338 | } |
4339 | { | |
4340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4341 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); |
cfe5e918 RD |
4342 | |
4343 | wxPyEndAllowThreads(__tstate); | |
4344 | if (PyErr_Occurred()) SWIG_fail; | |
4345 | } | |
4346 | Py_INCREF(Py_None); resultobj = Py_None; | |
4347 | return resultobj; | |
4348 | fail: | |
4349 | return NULL; | |
4350 | } | |
4351 | ||
4352 | ||
3004cfd8 | 4353 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4354 | PyObject *resultobj; |
4355 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4356 | int arg2 ; | |
3004cfd8 | 4357 | int arg3 ; |
cfe5e918 RD |
4358 | PyObject * obj0 = 0 ; |
4359 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4360 | PyObject * obj2 = 0 ; |
cfe5e918 | 4361 | char *kwnames[] = { |
3004cfd8 | 4362 | (char *) "self",(char *) "key",(char *) "modifiers", NULL |
cfe5e918 RD |
4363 | }; |
4364 | ||
3004cfd8 RD |
4365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4366 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4367 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4368 | { | |
4369 | arg2 = (int)(SWIG_As_int(obj1)); | |
4370 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4371 | } | |
4372 | { | |
4373 | arg3 = (int)(SWIG_As_int(obj2)); | |
4374 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4375 | } | |
cfe5e918 RD |
4376 | { |
4377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4378 | (arg1)->CmdKeyClear(arg2,arg3); |
cfe5e918 RD |
4379 | |
4380 | wxPyEndAllowThreads(__tstate); | |
4381 | if (PyErr_Occurred()) SWIG_fail; | |
4382 | } | |
4383 | Py_INCREF(Py_None); resultobj = Py_None; | |
4384 | return resultobj; | |
4385 | fail: | |
4386 | return NULL; | |
4387 | } | |
4388 | ||
4389 | ||
3004cfd8 | 4390 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4391 | PyObject *resultobj; |
4392 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
4393 | PyObject * obj0 = 0 ; |
4394 | char *kwnames[] = { | |
4395 | (char *) "self", NULL | |
4396 | }; | |
4397 | ||
3004cfd8 RD |
4398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; |
4399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4401 | { |
4402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4403 | (arg1)->CmdKeyClearAll(); |
cfe5e918 RD |
4404 | |
4405 | wxPyEndAllowThreads(__tstate); | |
4406 | if (PyErr_Occurred()) SWIG_fail; | |
4407 | } | |
3004cfd8 | 4408 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4409 | return resultobj; |
4410 | fail: | |
4411 | return NULL; | |
4412 | } | |
4413 | ||
4414 | ||
3004cfd8 | 4415 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4416 | PyObject *resultobj; |
4417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4418 | int arg2 ; | |
3004cfd8 | 4419 | char *arg3 = (char *) 0 ; |
cfe5e918 RD |
4420 | PyObject * obj0 = 0 ; |
4421 | PyObject * obj1 = 0 ; | |
4422 | PyObject * obj2 = 0 ; | |
4423 | char *kwnames[] = { | |
3004cfd8 | 4424 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL |
cfe5e918 RD |
4425 | }; |
4426 | ||
3004cfd8 RD |
4427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4430 | { | |
4431 | arg2 = (int)(SWIG_As_int(obj1)); | |
4432 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4433 | } | |
4434 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
4435 | SWIG_arg_fail(3);SWIG_fail; | |
4436 | } | |
cfe5e918 RD |
4437 | { |
4438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4439 | (arg1)->SetStyleBytes(arg2,arg3); |
cfe5e918 RD |
4440 | |
4441 | wxPyEndAllowThreads(__tstate); | |
4442 | if (PyErr_Occurred()) SWIG_fail; | |
4443 | } | |
4444 | Py_INCREF(Py_None); resultobj = Py_None; | |
4445 | return resultobj; | |
4446 | fail: | |
4447 | return NULL; | |
4448 | } | |
4449 | ||
4450 | ||
3004cfd8 | 4451 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4452 | PyObject *resultobj; |
4453 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4454 | int arg2 ; | |
3004cfd8 | 4455 | bool arg3 ; |
cfe5e918 RD |
4456 | PyObject * obj0 = 0 ; |
4457 | PyObject * obj1 = 0 ; | |
3004cfd8 | 4458 | PyObject * obj2 = 0 ; |
cfe5e918 | 4459 | char *kwnames[] = { |
3004cfd8 | 4460 | (char *) "self",(char *) "style",(char *) "visible", NULL |
cfe5e918 RD |
4461 | }; |
4462 | ||
3004cfd8 RD |
4463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4464 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4465 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4466 | { | |
4467 | arg2 = (int)(SWIG_As_int(obj1)); | |
4468 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4469 | } | |
4470 | { | |
4471 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4472 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4473 | } | |
cfe5e918 RD |
4474 | { |
4475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4476 | (arg1)->StyleSetVisible(arg2,arg3); |
cfe5e918 RD |
4477 | |
4478 | wxPyEndAllowThreads(__tstate); | |
4479 | if (PyErr_Occurred()) SWIG_fail; | |
4480 | } | |
3004cfd8 | 4481 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4482 | return resultobj; |
4483 | fail: | |
4484 | return NULL; | |
4485 | } | |
4486 | ||
4487 | ||
3004cfd8 | 4488 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4489 | PyObject *resultobj; |
4490 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4491 | int result; | |
4492 | PyObject * obj0 = 0 ; | |
4493 | char *kwnames[] = { | |
4494 | (char *) "self", NULL | |
4495 | }; | |
4496 | ||
3004cfd8 RD |
4497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; |
4498 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4499 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4500 | { |
4501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4502 | result = (int)(arg1)->GetCaretPeriod(); |
cfe5e918 RD |
4503 | |
4504 | wxPyEndAllowThreads(__tstate); | |
4505 | if (PyErr_Occurred()) SWIG_fail; | |
4506 | } | |
3004cfd8 RD |
4507 | { |
4508 | resultobj = SWIG_From_int((int)(result)); | |
4509 | } | |
cfe5e918 RD |
4510 | return resultobj; |
4511 | fail: | |
4512 | return NULL; | |
4513 | } | |
4514 | ||
4515 | ||
3004cfd8 | 4516 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4517 | PyObject *resultobj; |
4518 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4519 | int arg2 ; |
cfe5e918 | 4520 | PyObject * obj0 = 0 ; |
3004cfd8 | 4521 | PyObject * obj1 = 0 ; |
cfe5e918 | 4522 | char *kwnames[] = { |
3004cfd8 | 4523 | (char *) "self",(char *) "periodMilliseconds", NULL |
cfe5e918 RD |
4524 | }; |
4525 | ||
3004cfd8 RD |
4526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; |
4527 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4528 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4529 | { | |
4530 | arg2 = (int)(SWIG_As_int(obj1)); | |
4531 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4532 | } | |
cfe5e918 RD |
4533 | { |
4534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4535 | (arg1)->SetCaretPeriod(arg2); |
cfe5e918 RD |
4536 | |
4537 | wxPyEndAllowThreads(__tstate); | |
4538 | if (PyErr_Occurred()) SWIG_fail; | |
4539 | } | |
3004cfd8 | 4540 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4541 | return resultobj; |
4542 | fail: | |
4543 | return NULL; | |
4544 | } | |
4545 | ||
4546 | ||
3004cfd8 | 4547 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4548 | PyObject *resultobj; |
4549 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4550 | wxString *arg2 = 0 ; |
4551 | bool temp2 = false ; | |
cfe5e918 RD |
4552 | PyObject * obj0 = 0 ; |
4553 | PyObject * obj1 = 0 ; | |
4554 | char *kwnames[] = { | |
3004cfd8 | 4555 | (char *) "self",(char *) "characters", NULL |
cfe5e918 RD |
4556 | }; |
4557 | ||
3004cfd8 RD |
4558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; |
4559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4561 | { | |
4562 | arg2 = wxString_in_helper(obj1); | |
4563 | if (arg2 == NULL) SWIG_fail; | |
4564 | temp2 = true; | |
4565 | } | |
cfe5e918 RD |
4566 | { |
4567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4568 | (arg1)->SetWordChars((wxString const &)*arg2); |
cfe5e918 RD |
4569 | |
4570 | wxPyEndAllowThreads(__tstate); | |
4571 | if (PyErr_Occurred()) SWIG_fail; | |
4572 | } | |
4573 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
4574 | { |
4575 | if (temp2) | |
4576 | delete arg2; | |
4577 | } | |
cfe5e918 RD |
4578 | return resultobj; |
4579 | fail: | |
3004cfd8 RD |
4580 | { |
4581 | if (temp2) | |
4582 | delete arg2; | |
4583 | } | |
cfe5e918 RD |
4584 | return NULL; |
4585 | } | |
4586 | ||
4587 | ||
3004cfd8 | 4588 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4589 | PyObject *resultobj; |
4590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
4591 | PyObject * obj0 = 0 ; |
4592 | char *kwnames[] = { | |
4593 | (char *) "self", NULL | |
4594 | }; | |
4595 | ||
3004cfd8 RD |
4596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; |
4597 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4598 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4599 | { |
4600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4601 | (arg1)->BeginUndoAction(); |
cfe5e918 RD |
4602 | |
4603 | wxPyEndAllowThreads(__tstate); | |
4604 | if (PyErr_Occurred()) SWIG_fail; | |
4605 | } | |
3004cfd8 | 4606 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4607 | return resultobj; |
4608 | fail: | |
4609 | return NULL; | |
4610 | } | |
4611 | ||
4612 | ||
3004cfd8 | 4613 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4614 | PyObject *resultobj; |
4615 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 4616 | PyObject * obj0 = 0 ; |
cfe5e918 | 4617 | char *kwnames[] = { |
3004cfd8 | 4618 | (char *) "self", NULL |
cfe5e918 RD |
4619 | }; |
4620 | ||
3004cfd8 RD |
4621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; |
4622 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4623 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4624 | { |
4625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4626 | (arg1)->EndUndoAction(); |
cfe5e918 RD |
4627 | |
4628 | wxPyEndAllowThreads(__tstate); | |
4629 | if (PyErr_Occurred()) SWIG_fail; | |
4630 | } | |
4631 | Py_INCREF(Py_None); resultobj = Py_None; | |
4632 | return resultobj; | |
4633 | fail: | |
4634 | return NULL; | |
4635 | } | |
4636 | ||
4637 | ||
3004cfd8 | 4638 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4639 | PyObject *resultobj; |
4640 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4641 | int arg2 ; | |
3004cfd8 | 4642 | int arg3 ; |
cfe5e918 RD |
4643 | PyObject * obj0 = 0 ; |
4644 | PyObject * obj1 = 0 ; | |
4645 | PyObject * obj2 = 0 ; | |
4646 | char *kwnames[] = { | |
3004cfd8 | 4647 | (char *) "self",(char *) "indic",(char *) "style", NULL |
cfe5e918 RD |
4648 | }; |
4649 | ||
3004cfd8 RD |
4650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4653 | { | |
4654 | arg2 = (int)(SWIG_As_int(obj1)); | |
4655 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4656 | } | |
4657 | { | |
4658 | arg3 = (int)(SWIG_As_int(obj2)); | |
4659 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4660 | } | |
cfe5e918 RD |
4661 | { |
4662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4663 | (arg1)->IndicatorSetStyle(arg2,arg3); |
cfe5e918 RD |
4664 | |
4665 | wxPyEndAllowThreads(__tstate); | |
4666 | if (PyErr_Occurred()) SWIG_fail; | |
4667 | } | |
4668 | Py_INCREF(Py_None); resultobj = Py_None; | |
4669 | return resultobj; | |
4670 | fail: | |
4671 | return NULL; | |
4672 | } | |
4673 | ||
4674 | ||
3004cfd8 | 4675 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4676 | PyObject *resultobj; |
4677 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4678 | int arg2 ; | |
3004cfd8 | 4679 | int result; |
cfe5e918 RD |
4680 | PyObject * obj0 = 0 ; |
4681 | PyObject * obj1 = 0 ; | |
cfe5e918 | 4682 | char *kwnames[] = { |
3004cfd8 | 4683 | (char *) "self",(char *) "indic", NULL |
cfe5e918 RD |
4684 | }; |
4685 | ||
3004cfd8 RD |
4686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; |
4687 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4688 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4689 | { |
3004cfd8 RD |
4690 | arg2 = (int)(SWIG_As_int(obj1)); |
4691 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4692 | } |
4693 | { | |
4694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4695 | result = (int)(arg1)->IndicatorGetStyle(arg2); |
cfe5e918 RD |
4696 | |
4697 | wxPyEndAllowThreads(__tstate); | |
4698 | if (PyErr_Occurred()) SWIG_fail; | |
4699 | } | |
cfe5e918 | 4700 | { |
3004cfd8 | 4701 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
4702 | } |
4703 | return resultobj; | |
4704 | fail: | |
cfe5e918 RD |
4705 | return NULL; |
4706 | } | |
4707 | ||
4708 | ||
3004cfd8 | 4709 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4710 | PyObject *resultobj; |
4711 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4712 | int arg2 ; |
4713 | wxColour *arg3 = 0 ; | |
4714 | wxColour temp3 ; | |
cfe5e918 | 4715 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4716 | PyObject * obj1 = 0 ; |
4717 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4718 | char *kwnames[] = { |
3004cfd8 | 4719 | (char *) "self",(char *) "indic",(char *) "fore", NULL |
cfe5e918 RD |
4720 | }; |
4721 | ||
3004cfd8 RD |
4722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4725 | { | |
4726 | arg2 = (int)(SWIG_As_int(obj1)); | |
4727 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4728 | } | |
4729 | { | |
4730 | arg3 = &temp3; | |
4731 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4732 | } | |
cfe5e918 RD |
4733 | { |
4734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4735 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4736 | |
4737 | wxPyEndAllowThreads(__tstate); | |
4738 | if (PyErr_Occurred()) SWIG_fail; | |
4739 | } | |
4740 | Py_INCREF(Py_None); resultobj = Py_None; | |
4741 | return resultobj; | |
4742 | fail: | |
4743 | return NULL; | |
4744 | } | |
4745 | ||
4746 | ||
3004cfd8 | 4747 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4748 | PyObject *resultobj; |
4749 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4750 | int arg2 ; |
4751 | wxColour result; | |
cfe5e918 | 4752 | PyObject * obj0 = 0 ; |
3004cfd8 | 4753 | PyObject * obj1 = 0 ; |
cfe5e918 | 4754 | char *kwnames[] = { |
3004cfd8 | 4755 | (char *) "self",(char *) "indic", NULL |
cfe5e918 RD |
4756 | }; |
4757 | ||
3004cfd8 RD |
4758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; |
4759 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4760 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4761 | { | |
4762 | arg2 = (int)(SWIG_As_int(obj1)); | |
4763 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4764 | } | |
cfe5e918 RD |
4765 | { |
4766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4767 | result = (arg1)->IndicatorGetForeground(arg2); |
cfe5e918 RD |
4768 | |
4769 | wxPyEndAllowThreads(__tstate); | |
4770 | if (PyErr_Occurred()) SWIG_fail; | |
4771 | } | |
4772 | { | |
3004cfd8 RD |
4773 | wxColour * resultptr; |
4774 | resultptr = new wxColour((wxColour &)(result)); | |
4775 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
cfe5e918 RD |
4776 | } |
4777 | return resultobj; | |
4778 | fail: | |
4779 | return NULL; | |
4780 | } | |
4781 | ||
4782 | ||
3004cfd8 | 4783 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4784 | PyObject *resultobj; |
4785 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4786 | bool arg2 ; |
4787 | wxColour *arg3 = 0 ; | |
4788 | wxColour temp3 ; | |
cfe5e918 | 4789 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4790 | PyObject * obj1 = 0 ; |
4791 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4792 | char *kwnames[] = { |
3004cfd8 | 4793 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
4794 | }; |
4795 | ||
3004cfd8 RD |
4796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4797 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4798 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4799 | { | |
4800 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4801 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4802 | } | |
4803 | { | |
4804 | arg3 = &temp3; | |
4805 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4806 | } | |
cfe5e918 RD |
4807 | { |
4808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4809 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4810 | |
4811 | wxPyEndAllowThreads(__tstate); | |
4812 | if (PyErr_Occurred()) SWIG_fail; | |
4813 | } | |
3004cfd8 | 4814 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4815 | return resultobj; |
4816 | fail: | |
4817 | return NULL; | |
4818 | } | |
4819 | ||
4820 | ||
3004cfd8 | 4821 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4822 | PyObject *resultobj; |
4823 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4824 | bool arg2 ; |
4825 | wxColour *arg3 = 0 ; | |
4826 | wxColour temp3 ; | |
cfe5e918 | 4827 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4828 | PyObject * obj1 = 0 ; |
4829 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4830 | char *kwnames[] = { |
3004cfd8 | 4831 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
4832 | }; |
4833 | ||
3004cfd8 RD |
4834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4835 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4836 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4837 | { | |
4838 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4839 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4840 | } | |
4841 | { | |
4842 | arg3 = &temp3; | |
4843 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4844 | } | |
cfe5e918 RD |
4845 | { |
4846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4847 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4848 | |
4849 | wxPyEndAllowThreads(__tstate); | |
4850 | if (PyErr_Occurred()) SWIG_fail; | |
4851 | } | |
4852 | Py_INCREF(Py_None); resultobj = Py_None; | |
4853 | return resultobj; | |
4854 | fail: | |
4855 | return NULL; | |
4856 | } | |
4857 | ||
4858 | ||
3004cfd8 | 4859 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4860 | PyObject *resultobj; |
4861 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4862 | int arg2 ; |
cfe5e918 RD |
4863 | PyObject * obj0 = 0 ; |
4864 | PyObject * obj1 = 0 ; | |
4865 | char *kwnames[] = { | |
3004cfd8 | 4866 | (char *) "self",(char *) "bits", NULL |
cfe5e918 RD |
4867 | }; |
4868 | ||
3004cfd8 RD |
4869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; |
4870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4872 | { |
3004cfd8 RD |
4873 | arg2 = (int)(SWIG_As_int(obj1)); |
4874 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4875 | } |
4876 | { | |
4877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4878 | (arg1)->SetStyleBits(arg2); |
cfe5e918 RD |
4879 | |
4880 | wxPyEndAllowThreads(__tstate); | |
4881 | if (PyErr_Occurred()) SWIG_fail; | |
4882 | } | |
4883 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
4884 | return resultobj; |
4885 | fail: | |
cfe5e918 RD |
4886 | return NULL; |
4887 | } | |
4888 | ||
4889 | ||
3004cfd8 | 4890 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4891 | PyObject *resultobj; |
4892 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4893 | int result; |
cfe5e918 | 4894 | PyObject * obj0 = 0 ; |
cfe5e918 | 4895 | char *kwnames[] = { |
3004cfd8 | 4896 | (char *) "self", NULL |
cfe5e918 RD |
4897 | }; |
4898 | ||
3004cfd8 RD |
4899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; |
4900 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4901 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
4902 | { |
4903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4904 | result = (int)(arg1)->GetStyleBits(); |
cfe5e918 RD |
4905 | |
4906 | wxPyEndAllowThreads(__tstate); | |
4907 | if (PyErr_Occurred()) SWIG_fail; | |
4908 | } | |
3004cfd8 RD |
4909 | { |
4910 | resultobj = SWIG_From_int((int)(result)); | |
4911 | } | |
cfe5e918 RD |
4912 | return resultobj; |
4913 | fail: | |
4914 | return NULL; | |
4915 | } | |
4916 | ||
4917 | ||
3004cfd8 | 4918 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4919 | PyObject *resultobj; |
4920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4921 | int arg2 ; |
4922 | int arg3 ; | |
cfe5e918 | 4923 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
4924 | PyObject * obj1 = 0 ; |
4925 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4926 | char *kwnames[] = { |
3004cfd8 | 4927 | (char *) "self",(char *) "line",(char *) "state", NULL |
cfe5e918 RD |
4928 | }; |
4929 | ||
3004cfd8 RD |
4930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4931 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4933 | { | |
4934 | arg2 = (int)(SWIG_As_int(obj1)); | |
4935 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4936 | } | |
4937 | { | |
4938 | arg3 = (int)(SWIG_As_int(obj2)); | |
4939 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4940 | } | |
cfe5e918 RD |
4941 | { |
4942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4943 | (arg1)->SetLineState(arg2,arg3); |
cfe5e918 RD |
4944 | |
4945 | wxPyEndAllowThreads(__tstate); | |
4946 | if (PyErr_Occurred()) SWIG_fail; | |
4947 | } | |
3004cfd8 | 4948 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4949 | return resultobj; |
4950 | fail: | |
4951 | return NULL; | |
4952 | } | |
4953 | ||
4954 | ||
3004cfd8 | 4955 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4956 | PyObject *resultobj; |
4957 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
4958 | int arg2 ; |
4959 | int result; | |
cfe5e918 RD |
4960 | PyObject * obj0 = 0 ; |
4961 | PyObject * obj1 = 0 ; | |
4962 | char *kwnames[] = { | |
3004cfd8 | 4963 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
4964 | }; |
4965 | ||
3004cfd8 RD |
4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; |
4967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 4969 | { |
3004cfd8 RD |
4970 | arg2 = (int)(SWIG_As_int(obj1)); |
4971 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4972 | } |
4973 | { | |
4974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 4975 | result = (int)(arg1)->GetLineState(arg2); |
cfe5e918 RD |
4976 | |
4977 | wxPyEndAllowThreads(__tstate); | |
4978 | if (PyErr_Occurred()) SWIG_fail; | |
4979 | } | |
cfe5e918 | 4980 | { |
3004cfd8 | 4981 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
4982 | } |
4983 | return resultobj; | |
4984 | fail: | |
cfe5e918 RD |
4985 | return NULL; |
4986 | } | |
4987 | ||
4988 | ||
3004cfd8 | 4989 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4990 | PyObject *resultobj; |
4991 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 4992 | int result; |
cfe5e918 | 4993 | PyObject * obj0 = 0 ; |
cfe5e918 | 4994 | char *kwnames[] = { |
3004cfd8 | 4995 | (char *) "self", NULL |
cfe5e918 RD |
4996 | }; |
4997 | ||
3004cfd8 RD |
4998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; |
4999 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5000 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5001 | { |
5002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5003 | result = (int)(arg1)->GetMaxLineState(); |
cfe5e918 RD |
5004 | |
5005 | wxPyEndAllowThreads(__tstate); | |
5006 | if (PyErr_Occurred()) SWIG_fail; | |
5007 | } | |
3004cfd8 RD |
5008 | { |
5009 | resultobj = SWIG_From_int((int)(result)); | |
5010 | } | |
cfe5e918 RD |
5011 | return resultobj; |
5012 | fail: | |
5013 | return NULL; | |
5014 | } | |
5015 | ||
5016 | ||
3004cfd8 | 5017 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5018 | PyObject *resultobj; |
5019 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5020 | bool result; | |
5021 | PyObject * obj0 = 0 ; | |
5022 | char *kwnames[] = { | |
5023 | (char *) "self", NULL | |
5024 | }; | |
5025 | ||
3004cfd8 RD |
5026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; |
5027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5029 | { |
5030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5031 | result = (bool)(arg1)->GetCaretLineVisible(); |
cfe5e918 RD |
5032 | |
5033 | wxPyEndAllowThreads(__tstate); | |
5034 | if (PyErr_Occurred()) SWIG_fail; | |
5035 | } | |
5036 | { | |
5037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5038 | } | |
5039 | return resultobj; | |
5040 | fail: | |
5041 | return NULL; | |
5042 | } | |
5043 | ||
5044 | ||
3004cfd8 | 5045 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5046 | PyObject *resultobj; |
5047 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5048 | bool arg2 ; |
cfe5e918 RD |
5049 | PyObject * obj0 = 0 ; |
5050 | PyObject * obj1 = 0 ; | |
5051 | char *kwnames[] = { | |
3004cfd8 | 5052 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
5053 | }; |
5054 | ||
3004cfd8 RD |
5055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; |
5056 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5057 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 5058 | { |
3004cfd8 RD |
5059 | arg2 = (bool)(SWIG_As_bool(obj1)); |
5060 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 5061 | } |
cfe5e918 RD |
5062 | { |
5063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5064 | (arg1)->SetCaretLineVisible(arg2); |
cfe5e918 RD |
5065 | |
5066 | wxPyEndAllowThreads(__tstate); | |
5067 | if (PyErr_Occurred()) SWIG_fail; | |
5068 | } | |
5069 | Py_INCREF(Py_None); resultobj = Py_None; | |
5070 | return resultobj; | |
5071 | fail: | |
5072 | return NULL; | |
5073 | } | |
5074 | ||
5075 | ||
3004cfd8 | 5076 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5077 | PyObject *resultobj; |
5078 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5079 | wxColour result; |
cfe5e918 RD |
5080 | PyObject * obj0 = 0 ; |
5081 | char *kwnames[] = { | |
5082 | (char *) "self", NULL | |
5083 | }; | |
5084 | ||
3004cfd8 RD |
5085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; |
5086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5088 | { |
5089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5090 | result = (arg1)->GetCaretLineBack(); |
cfe5e918 RD |
5091 | |
5092 | wxPyEndAllowThreads(__tstate); | |
5093 | if (PyErr_Occurred()) SWIG_fail; | |
5094 | } | |
5095 | { | |
3004cfd8 RD |
5096 | wxColour * resultptr; |
5097 | resultptr = new wxColour((wxColour &)(result)); | |
5098 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
cfe5e918 RD |
5099 | } |
5100 | return resultobj; | |
5101 | fail: | |
5102 | return NULL; | |
5103 | } | |
5104 | ||
5105 | ||
3004cfd8 | 5106 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5107 | PyObject *resultobj; |
5108 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5109 | wxColour *arg2 = 0 ; |
5110 | wxColour temp2 ; | |
cfe5e918 RD |
5111 | PyObject * obj0 = 0 ; |
5112 | PyObject * obj1 = 0 ; | |
5113 | char *kwnames[] = { | |
3004cfd8 | 5114 | (char *) "self",(char *) "back", NULL |
cfe5e918 RD |
5115 | }; |
5116 | ||
3004cfd8 RD |
5117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; |
5118 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5119 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5120 | { | |
5121 | arg2 = &temp2; | |
5122 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5123 | } | |
cfe5e918 RD |
5124 | { |
5125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5126 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); |
cfe5e918 RD |
5127 | |
5128 | wxPyEndAllowThreads(__tstate); | |
5129 | if (PyErr_Occurred()) SWIG_fail; | |
5130 | } | |
5131 | Py_INCREF(Py_None); resultobj = Py_None; | |
5132 | return resultobj; | |
5133 | fail: | |
5134 | return NULL; | |
5135 | } | |
5136 | ||
5137 | ||
3004cfd8 | 5138 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5139 | PyObject *resultobj; |
5140 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5141 | int arg2 ; |
5142 | bool arg3 ; | |
cfe5e918 | 5143 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
5144 | PyObject * obj1 = 0 ; |
5145 | PyObject * obj2 = 0 ; | |
cfe5e918 | 5146 | char *kwnames[] = { |
3004cfd8 | 5147 | (char *) "self",(char *) "style",(char *) "changeable", NULL |
cfe5e918 RD |
5148 | }; |
5149 | ||
3004cfd8 RD |
5150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5151 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5152 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5153 | { | |
5154 | arg2 = (int)(SWIG_As_int(obj1)); | |
5155 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5156 | } | |
5157 | { | |
5158 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5159 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5160 | } | |
cfe5e918 RD |
5161 | { |
5162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5163 | (arg1)->StyleSetChangeable(arg2,arg3); |
cfe5e918 RD |
5164 | |
5165 | wxPyEndAllowThreads(__tstate); | |
5166 | if (PyErr_Occurred()) SWIG_fail; | |
5167 | } | |
3004cfd8 | 5168 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5169 | return resultobj; |
5170 | fail: | |
5171 | return NULL; | |
5172 | } | |
5173 | ||
5174 | ||
3004cfd8 | 5175 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5176 | PyObject *resultobj; |
5177 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5178 | int arg2 ; | |
5179 | wxString *arg3 = 0 ; | |
ae8162c8 | 5180 | bool temp3 = false ; |
cfe5e918 RD |
5181 | PyObject * obj0 = 0 ; |
5182 | PyObject * obj1 = 0 ; | |
5183 | PyObject * obj2 = 0 ; | |
5184 | char *kwnames[] = { | |
3004cfd8 | 5185 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL |
cfe5e918 RD |
5186 | }; |
5187 | ||
3004cfd8 RD |
5188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5191 | { | |
5192 | arg2 = (int)(SWIG_As_int(obj1)); | |
5193 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5194 | } | |
cfe5e918 RD |
5195 | { |
5196 | arg3 = wxString_in_helper(obj2); | |
5197 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5198 | temp3 = true; |
cfe5e918 RD |
5199 | } |
5200 | { | |
5201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5202 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
5203 | |
5204 | wxPyEndAllowThreads(__tstate); | |
5205 | if (PyErr_Occurred()) SWIG_fail; | |
5206 | } | |
5207 | Py_INCREF(Py_None); resultobj = Py_None; | |
5208 | { | |
5209 | if (temp3) | |
5210 | delete arg3; | |
5211 | } | |
5212 | return resultobj; | |
5213 | fail: | |
5214 | { | |
5215 | if (temp3) | |
5216 | delete arg3; | |
5217 | } | |
5218 | return NULL; | |
5219 | } | |
5220 | ||
5221 | ||
3004cfd8 | 5222 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5223 | PyObject *resultobj; |
5224 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 5225 | PyObject * obj0 = 0 ; |
cfe5e918 | 5226 | char *kwnames[] = { |
3004cfd8 | 5227 | (char *) "self", NULL |
cfe5e918 RD |
5228 | }; |
5229 | ||
3004cfd8 RD |
5230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; |
5231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5233 | { |
5234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5235 | (arg1)->AutoCompCancel(); |
cfe5e918 RD |
5236 | |
5237 | wxPyEndAllowThreads(__tstate); | |
5238 | if (PyErr_Occurred()) SWIG_fail; | |
5239 | } | |
5240 | Py_INCREF(Py_None); resultobj = Py_None; | |
5241 | return resultobj; | |
5242 | fail: | |
5243 | return NULL; | |
5244 | } | |
5245 | ||
5246 | ||
3004cfd8 | 5247 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5248 | PyObject *resultobj; |
5249 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5250 | bool result; | |
5251 | PyObject * obj0 = 0 ; | |
5252 | char *kwnames[] = { | |
5253 | (char *) "self", NULL | |
5254 | }; | |
5255 | ||
3004cfd8 RD |
5256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; |
5257 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5258 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5259 | { |
5260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5261 | result = (bool)(arg1)->AutoCompActive(); |
cfe5e918 RD |
5262 | |
5263 | wxPyEndAllowThreads(__tstate); | |
5264 | if (PyErr_Occurred()) SWIG_fail; | |
5265 | } | |
5266 | { | |
5267 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5268 | } | |
5269 | return resultobj; | |
5270 | fail: | |
5271 | return NULL; | |
5272 | } | |
5273 | ||
5274 | ||
3004cfd8 | 5275 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5276 | PyObject *resultobj; |
5277 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5278 | int result; |
cfe5e918 | 5279 | PyObject * obj0 = 0 ; |
cfe5e918 | 5280 | char *kwnames[] = { |
3004cfd8 | 5281 | (char *) "self", NULL |
cfe5e918 RD |
5282 | }; |
5283 | ||
3004cfd8 RD |
5284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; |
5285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5287 | { |
5288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5289 | result = (int)(arg1)->AutoCompPosStart(); |
cfe5e918 RD |
5290 | |
5291 | wxPyEndAllowThreads(__tstate); | |
5292 | if (PyErr_Occurred()) SWIG_fail; | |
5293 | } | |
3004cfd8 RD |
5294 | { |
5295 | resultobj = SWIG_From_int((int)(result)); | |
5296 | } | |
cfe5e918 RD |
5297 | return resultobj; |
5298 | fail: | |
5299 | return NULL; | |
5300 | } | |
5301 | ||
5302 | ||
3004cfd8 | 5303 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5304 | PyObject *resultobj; |
5305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
5306 | PyObject * obj0 = 0 ; |
5307 | char *kwnames[] = { | |
5308 | (char *) "self", NULL | |
5309 | }; | |
5310 | ||
3004cfd8 RD |
5311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; |
5312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5314 | { |
5315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5316 | (arg1)->AutoCompComplete(); |
cfe5e918 RD |
5317 | |
5318 | wxPyEndAllowThreads(__tstate); | |
5319 | if (PyErr_Occurred()) SWIG_fail; | |
5320 | } | |
3004cfd8 | 5321 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5322 | return resultobj; |
5323 | fail: | |
5324 | return NULL; | |
5325 | } | |
5326 | ||
5327 | ||
3004cfd8 | 5328 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5329 | PyObject *resultobj; |
5330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5331 | wxString *arg2 = 0 ; |
5332 | bool temp2 = false ; | |
cfe5e918 RD |
5333 | PyObject * obj0 = 0 ; |
5334 | PyObject * obj1 = 0 ; | |
cfe5e918 | 5335 | char *kwnames[] = { |
3004cfd8 | 5336 | (char *) "self",(char *) "characterSet", NULL |
cfe5e918 RD |
5337 | }; |
5338 | ||
3004cfd8 RD |
5339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; |
5340 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5341 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5342 | { | |
5343 | arg2 = wxString_in_helper(obj1); | |
5344 | if (arg2 == NULL) SWIG_fail; | |
5345 | temp2 = true; | |
cfe5e918 RD |
5346 | } |
5347 | { | |
5348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5349 | (arg1)->AutoCompStops((wxString const &)*arg2); |
cfe5e918 RD |
5350 | |
5351 | wxPyEndAllowThreads(__tstate); | |
5352 | if (PyErr_Occurred()) SWIG_fail; | |
5353 | } | |
5354 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
5355 | { |
5356 | if (temp2) | |
5357 | delete arg2; | |
5358 | } | |
cfe5e918 RD |
5359 | return resultobj; |
5360 | fail: | |
3004cfd8 RD |
5361 | { |
5362 | if (temp2) | |
5363 | delete arg2; | |
5364 | } | |
cfe5e918 RD |
5365 | return NULL; |
5366 | } | |
5367 | ||
5368 | ||
3004cfd8 | 5369 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5370 | PyObject *resultobj; |
5371 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5372 | int arg2 ; |
cfe5e918 | 5373 | PyObject * obj0 = 0 ; |
3004cfd8 | 5374 | PyObject * obj1 = 0 ; |
cfe5e918 | 5375 | char *kwnames[] = { |
3004cfd8 | 5376 | (char *) "self",(char *) "separatorCharacter", NULL |
cfe5e918 RD |
5377 | }; |
5378 | ||
3004cfd8 RD |
5379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; |
5380 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5381 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5382 | { | |
5383 | arg2 = (int)(SWIG_As_int(obj1)); | |
5384 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5385 | } | |
cfe5e918 RD |
5386 | { |
5387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5388 | (arg1)->AutoCompSetSeparator(arg2); |
cfe5e918 RD |
5389 | |
5390 | wxPyEndAllowThreads(__tstate); | |
5391 | if (PyErr_Occurred()) SWIG_fail; | |
5392 | } | |
5393 | Py_INCREF(Py_None); resultobj = Py_None; | |
5394 | return resultobj; | |
5395 | fail: | |
5396 | return NULL; | |
5397 | } | |
5398 | ||
5399 | ||
3004cfd8 | 5400 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5401 | PyObject *resultobj; |
5402 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5403 | int result; | |
5404 | PyObject * obj0 = 0 ; | |
5405 | char *kwnames[] = { | |
5406 | (char *) "self", NULL | |
5407 | }; | |
5408 | ||
3004cfd8 RD |
5409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; |
5410 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5411 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5412 | { |
5413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5414 | result = (int)(arg1)->AutoCompGetSeparator(); |
cfe5e918 RD |
5415 | |
5416 | wxPyEndAllowThreads(__tstate); | |
5417 | if (PyErr_Occurred()) SWIG_fail; | |
5418 | } | |
3004cfd8 RD |
5419 | { |
5420 | resultobj = SWIG_From_int((int)(result)); | |
5421 | } | |
cfe5e918 RD |
5422 | return resultobj; |
5423 | fail: | |
5424 | return NULL; | |
5425 | } | |
5426 | ||
5427 | ||
3004cfd8 | 5428 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5429 | PyObject *resultobj; |
5430 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5431 | wxString *arg2 = 0 ; |
5432 | bool temp2 = false ; | |
cfe5e918 RD |
5433 | PyObject * obj0 = 0 ; |
5434 | PyObject * obj1 = 0 ; | |
5435 | char *kwnames[] = { | |
3004cfd8 | 5436 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
5437 | }; |
5438 | ||
3004cfd8 RD |
5439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; |
5440 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5441 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5442 | { | |
5443 | arg2 = wxString_in_helper(obj1); | |
5444 | if (arg2 == NULL) SWIG_fail; | |
5445 | temp2 = true; | |
5446 | } | |
cfe5e918 RD |
5447 | { |
5448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5449 | (arg1)->AutoCompSelect((wxString const &)*arg2); |
cfe5e918 RD |
5450 | |
5451 | wxPyEndAllowThreads(__tstate); | |
5452 | if (PyErr_Occurred()) SWIG_fail; | |
5453 | } | |
5454 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
5455 | { |
5456 | if (temp2) | |
5457 | delete arg2; | |
5458 | } | |
cfe5e918 RD |
5459 | return resultobj; |
5460 | fail: | |
3004cfd8 RD |
5461 | { |
5462 | if (temp2) | |
5463 | delete arg2; | |
5464 | } | |
cfe5e918 RD |
5465 | return NULL; |
5466 | } | |
5467 | ||
5468 | ||
3004cfd8 | 5469 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5470 | PyObject *resultobj; |
5471 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5472 | bool arg2 ; |
cfe5e918 RD |
5473 | PyObject * obj0 = 0 ; |
5474 | PyObject * obj1 = 0 ; | |
5475 | char *kwnames[] = { | |
3004cfd8 | 5476 | (char *) "self",(char *) "cancel", NULL |
cfe5e918 RD |
5477 | }; |
5478 | ||
3004cfd8 RD |
5479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; |
5480 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5481 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5482 | { | |
5483 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5484 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5485 | } | |
cfe5e918 RD |
5486 | { |
5487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5488 | (arg1)->AutoCompSetCancelAtStart(arg2); |
cfe5e918 RD |
5489 | |
5490 | wxPyEndAllowThreads(__tstate); | |
5491 | if (PyErr_Occurred()) SWIG_fail; | |
5492 | } | |
5493 | Py_INCREF(Py_None); resultobj = Py_None; | |
5494 | return resultobj; | |
5495 | fail: | |
5496 | return NULL; | |
5497 | } | |
5498 | ||
5499 | ||
3004cfd8 | 5500 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5501 | PyObject *resultobj; |
5502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5503 | bool result; |
cfe5e918 RD |
5504 | PyObject * obj0 = 0 ; |
5505 | char *kwnames[] = { | |
5506 | (char *) "self", NULL | |
5507 | }; | |
5508 | ||
3004cfd8 RD |
5509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; |
5510 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5511 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5512 | { |
5513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5514 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); |
cfe5e918 RD |
5515 | |
5516 | wxPyEndAllowThreads(__tstate); | |
5517 | if (PyErr_Occurred()) SWIG_fail; | |
5518 | } | |
3004cfd8 RD |
5519 | { |
5520 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5521 | } | |
cfe5e918 RD |
5522 | return resultobj; |
5523 | fail: | |
5524 | return NULL; | |
5525 | } | |
5526 | ||
5527 | ||
3004cfd8 | 5528 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5529 | PyObject *resultobj; |
5530 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
5531 | wxString *arg2 = 0 ; |
5532 | bool temp2 = false ; | |
cfe5e918 RD |
5533 | PyObject * obj0 = 0 ; |
5534 | PyObject * obj1 = 0 ; | |
5535 | char *kwnames[] = { | |
3004cfd8 | 5536 | (char *) "self",(char *) "characterSet", NULL |
cfe5e918 RD |
5537 | }; |
5538 | ||
3004cfd8 RD |
5539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; |
5540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5542 | { | |
5543 | arg2 = wxString_in_helper(obj1); | |
5544 | if (arg2 == NULL) SWIG_fail; | |
5545 | temp2 = true; | |
5546 | } | |
cfe5e918 RD |
5547 | { |
5548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5549 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); |
cfe5e918 RD |
5550 | |
5551 | wxPyEndAllowThreads(__tstate); | |
5552 | if (PyErr_Occurred()) SWIG_fail; | |
5553 | } | |
5554 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
5555 | { |
5556 | if (temp2) | |
5557 | delete arg2; | |
5558 | } | |
5559 | return resultobj; | |
cfe5e918 | 5560 | fail: |
3004cfd8 RD |
5561 | { |
5562 | if (temp2) | |
5563 | delete arg2; | |
5564 | } | |
cfe5e918 RD |
5565 | return NULL; |
5566 | } | |
5567 | ||
5568 | ||
3004cfd8 | 5569 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5570 | PyObject *resultobj; |
5571 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5572 | bool arg2 ; |
cfe5e918 | 5573 | PyObject * obj0 = 0 ; |
3004cfd8 | 5574 | PyObject * obj1 = 0 ; |
cfe5e918 | 5575 | char *kwnames[] = { |
3004cfd8 | 5576 | (char *) "self",(char *) "chooseSingle", NULL |
cfe5e918 RD |
5577 | }; |
5578 | ||
3004cfd8 RD |
5579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; |
5580 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5581 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5582 | { | |
5583 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5584 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5585 | } | |
cfe5e918 RD |
5586 | { |
5587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5588 | (arg1)->AutoCompSetChooseSingle(arg2); |
cfe5e918 RD |
5589 | |
5590 | wxPyEndAllowThreads(__tstate); | |
5591 | if (PyErr_Occurred()) SWIG_fail; | |
5592 | } | |
3004cfd8 | 5593 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5594 | return resultobj; |
5595 | fail: | |
5596 | return NULL; | |
5597 | } | |
5598 | ||
5599 | ||
3004cfd8 | 5600 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5601 | PyObject *resultobj; |
5602 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5603 | bool result; |
cfe5e918 | 5604 | PyObject * obj0 = 0 ; |
cfe5e918 | 5605 | char *kwnames[] = { |
3004cfd8 | 5606 | (char *) "self", NULL |
cfe5e918 RD |
5607 | }; |
5608 | ||
3004cfd8 RD |
5609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; |
5610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5612 | { |
5613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5614 | result = (bool)(arg1)->AutoCompGetChooseSingle(); |
cfe5e918 RD |
5615 | |
5616 | wxPyEndAllowThreads(__tstate); | |
5617 | if (PyErr_Occurred()) SWIG_fail; | |
5618 | } | |
3004cfd8 RD |
5619 | { |
5620 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5621 | } | |
cfe5e918 RD |
5622 | return resultobj; |
5623 | fail: | |
5624 | return NULL; | |
5625 | } | |
5626 | ||
5627 | ||
3004cfd8 | 5628 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5629 | PyObject *resultobj; |
5630 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5631 | bool arg2 ; |
cfe5e918 RD |
5632 | PyObject * obj0 = 0 ; |
5633 | PyObject * obj1 = 0 ; | |
5634 | char *kwnames[] = { | |
3004cfd8 | 5635 | (char *) "self",(char *) "ignoreCase", NULL |
cfe5e918 RD |
5636 | }; |
5637 | ||
3004cfd8 RD |
5638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; |
5639 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5640 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5641 | { | |
5642 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5643 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5644 | } | |
cfe5e918 RD |
5645 | { |
5646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5647 | (arg1)->AutoCompSetIgnoreCase(arg2); |
cfe5e918 RD |
5648 | |
5649 | wxPyEndAllowThreads(__tstate); | |
5650 | if (PyErr_Occurred()) SWIG_fail; | |
5651 | } | |
3004cfd8 | 5652 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5653 | return resultobj; |
5654 | fail: | |
5655 | return NULL; | |
5656 | } | |
5657 | ||
5658 | ||
3004cfd8 | 5659 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5660 | PyObject *resultobj; |
5661 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5662 | bool result; |
cfe5e918 | 5663 | PyObject * obj0 = 0 ; |
cfe5e918 | 5664 | char *kwnames[] = { |
3004cfd8 | 5665 | (char *) "self", NULL |
cfe5e918 RD |
5666 | }; |
5667 | ||
3004cfd8 RD |
5668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; |
5669 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5670 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5671 | { |
5672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5673 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); |
cfe5e918 RD |
5674 | |
5675 | wxPyEndAllowThreads(__tstate); | |
5676 | if (PyErr_Occurred()) SWIG_fail; | |
5677 | } | |
3004cfd8 RD |
5678 | { |
5679 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5680 | } | |
cfe5e918 RD |
5681 | return resultobj; |
5682 | fail: | |
5683 | return NULL; | |
5684 | } | |
5685 | ||
5686 | ||
3004cfd8 | 5687 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5688 | PyObject *resultobj; |
5689 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5690 | int arg2 ; | |
3004cfd8 RD |
5691 | wxString *arg3 = 0 ; |
5692 | bool temp3 = false ; | |
cfe5e918 RD |
5693 | PyObject * obj0 = 0 ; |
5694 | PyObject * obj1 = 0 ; | |
3004cfd8 | 5695 | PyObject * obj2 = 0 ; |
cfe5e918 | 5696 | char *kwnames[] = { |
3004cfd8 | 5697 | (char *) "self",(char *) "listType",(char *) "itemList", NULL |
cfe5e918 RD |
5698 | }; |
5699 | ||
3004cfd8 RD |
5700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5701 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5702 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5703 | { | |
5704 | arg2 = (int)(SWIG_As_int(obj1)); | |
5705 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5706 | } | |
5707 | { | |
5708 | arg3 = wxString_in_helper(obj2); | |
5709 | if (arg3 == NULL) SWIG_fail; | |
5710 | temp3 = true; | |
5711 | } | |
cfe5e918 RD |
5712 | { |
5713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5714 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
5715 | |
5716 | wxPyEndAllowThreads(__tstate); | |
5717 | if (PyErr_Occurred()) SWIG_fail; | |
5718 | } | |
3004cfd8 RD |
5719 | Py_INCREF(Py_None); resultobj = Py_None; |
5720 | { | |
5721 | if (temp3) | |
5722 | delete arg3; | |
5723 | } | |
cfe5e918 RD |
5724 | return resultobj; |
5725 | fail: | |
3004cfd8 RD |
5726 | { |
5727 | if (temp3) | |
5728 | delete arg3; | |
5729 | } | |
cfe5e918 RD |
5730 | return NULL; |
5731 | } | |
5732 | ||
5733 | ||
3004cfd8 | 5734 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5735 | PyObject *resultobj; |
5736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5737 | bool arg2 ; | |
5738 | PyObject * obj0 = 0 ; | |
5739 | PyObject * obj1 = 0 ; | |
5740 | char *kwnames[] = { | |
3004cfd8 | 5741 | (char *) "self",(char *) "autoHide", NULL |
cfe5e918 RD |
5742 | }; |
5743 | ||
3004cfd8 RD |
5744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; |
5745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5747 | { | |
5748 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5749 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5750 | } | |
cfe5e918 RD |
5751 | { |
5752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5753 | (arg1)->AutoCompSetAutoHide(arg2); |
cfe5e918 RD |
5754 | |
5755 | wxPyEndAllowThreads(__tstate); | |
5756 | if (PyErr_Occurred()) SWIG_fail; | |
5757 | } | |
5758 | Py_INCREF(Py_None); resultobj = Py_None; | |
5759 | return resultobj; | |
5760 | fail: | |
5761 | return NULL; | |
5762 | } | |
5763 | ||
5764 | ||
3004cfd8 | 5765 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5766 | PyObject *resultobj; |
5767 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5768 | bool result; | |
5769 | PyObject * obj0 = 0 ; | |
5770 | char *kwnames[] = { | |
5771 | (char *) "self", NULL | |
5772 | }; | |
5773 | ||
3004cfd8 RD |
5774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; |
5775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5777 | { |
5778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5779 | result = (bool)(arg1)->AutoCompGetAutoHide(); |
cfe5e918 RD |
5780 | |
5781 | wxPyEndAllowThreads(__tstate); | |
5782 | if (PyErr_Occurred()) SWIG_fail; | |
5783 | } | |
5784 | { | |
5785 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5786 | } | |
5787 | return resultobj; | |
5788 | fail: | |
5789 | return NULL; | |
5790 | } | |
5791 | ||
5792 | ||
3004cfd8 | 5793 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5794 | PyObject *resultobj; |
5795 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5796 | bool arg2 ; | |
5797 | PyObject * obj0 = 0 ; | |
5798 | PyObject * obj1 = 0 ; | |
5799 | char *kwnames[] = { | |
3004cfd8 | 5800 | (char *) "self",(char *) "dropRestOfWord", NULL |
cfe5e918 RD |
5801 | }; |
5802 | ||
3004cfd8 RD |
5803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; |
5804 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5806 | { | |
5807 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5808 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5809 | } | |
cfe5e918 RD |
5810 | { |
5811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5812 | (arg1)->AutoCompSetDropRestOfWord(arg2); |
cfe5e918 RD |
5813 | |
5814 | wxPyEndAllowThreads(__tstate); | |
5815 | if (PyErr_Occurred()) SWIG_fail; | |
5816 | } | |
5817 | Py_INCREF(Py_None); resultobj = Py_None; | |
5818 | return resultobj; | |
5819 | fail: | |
5820 | return NULL; | |
5821 | } | |
5822 | ||
5823 | ||
3004cfd8 | 5824 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5825 | PyObject *resultobj; |
5826 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5827 | bool result; | |
5828 | PyObject * obj0 = 0 ; | |
5829 | char *kwnames[] = { | |
5830 | (char *) "self", NULL | |
5831 | }; | |
5832 | ||
3004cfd8 RD |
5833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; |
5834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5836 | { |
5837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5838 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); |
cfe5e918 RD |
5839 | |
5840 | wxPyEndAllowThreads(__tstate); | |
5841 | if (PyErr_Occurred()) SWIG_fail; | |
5842 | } | |
5843 | { | |
5844 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5845 | } | |
5846 | return resultobj; | |
5847 | fail: | |
5848 | return NULL; | |
5849 | } | |
5850 | ||
5851 | ||
3004cfd8 | 5852 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5853 | PyObject *resultobj; |
5854 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5855 | int arg2 ; | |
3004cfd8 | 5856 | wxBitmap *arg3 = 0 ; |
cfe5e918 RD |
5857 | PyObject * obj0 = 0 ; |
5858 | PyObject * obj1 = 0 ; | |
3004cfd8 | 5859 | PyObject * obj2 = 0 ; |
cfe5e918 | 5860 | char *kwnames[] = { |
3004cfd8 | 5861 | (char *) "self",(char *) "type",(char *) "bmp", NULL |
cfe5e918 RD |
5862 | }; |
5863 | ||
3004cfd8 RD |
5864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5867 | { | |
5868 | arg2 = (int)(SWIG_As_int(obj1)); | |
5869 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5870 | } | |
5871 | { | |
5872 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
5873 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5874 | if (arg3 == NULL) { | |
5875 | SWIG_null_ref("wxBitmap"); | |
5876 | } | |
5877 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5878 | } | |
cfe5e918 RD |
5879 | { |
5880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5881 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); |
cfe5e918 RD |
5882 | |
5883 | wxPyEndAllowThreads(__tstate); | |
5884 | if (PyErr_Occurred()) SWIG_fail; | |
5885 | } | |
5886 | Py_INCREF(Py_None); resultobj = Py_None; | |
5887 | return resultobj; | |
5888 | fail: | |
5889 | return NULL; | |
5890 | } | |
5891 | ||
5892 | ||
3004cfd8 | 5893 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5894 | PyObject *resultobj; |
5895 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
5896 | PyObject * obj0 = 0 ; |
5897 | char *kwnames[] = { | |
5898 | (char *) "self", NULL | |
5899 | }; | |
5900 | ||
3004cfd8 RD |
5901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; |
5902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5904 | { |
5905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5906 | (arg1)->ClearRegisteredImages(); |
cfe5e918 RD |
5907 | |
5908 | wxPyEndAllowThreads(__tstate); | |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
3004cfd8 | 5911 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5912 | return resultobj; |
5913 | fail: | |
5914 | return NULL; | |
5915 | } | |
5916 | ||
5917 | ||
3004cfd8 | 5918 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5919 | PyObject *resultobj; |
5920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
5921 | int result; |
5922 | PyObject * obj0 = 0 ; | |
cfe5e918 | 5923 | char *kwnames[] = { |
3004cfd8 | 5924 | (char *) "self", NULL |
cfe5e918 RD |
5925 | }; |
5926 | ||
3004cfd8 RD |
5927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; |
5928 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5929 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
5930 | { |
5931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5932 | result = (int)(arg1)->AutoCompGetTypeSeparator(); |
cfe5e918 RD |
5933 | |
5934 | wxPyEndAllowThreads(__tstate); | |
5935 | if (PyErr_Occurred()) SWIG_fail; | |
5936 | } | |
3004cfd8 RD |
5937 | { |
5938 | resultobj = SWIG_From_int((int)(result)); | |
5939 | } | |
cfe5e918 RD |
5940 | return resultobj; |
5941 | fail: | |
5942 | return NULL; | |
5943 | } | |
5944 | ||
5945 | ||
3004cfd8 | 5946 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5947 | PyObject *resultobj; |
5948 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5949 | int arg2 ; |
cfe5e918 | 5950 | PyObject * obj0 = 0 ; |
3004cfd8 | 5951 | PyObject * obj1 = 0 ; |
cfe5e918 | 5952 | char *kwnames[] = { |
3004cfd8 | 5953 | (char *) "self",(char *) "separatorCharacter", NULL |
cfe5e918 RD |
5954 | }; |
5955 | ||
3004cfd8 RD |
5956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; |
5957 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5959 | { | |
5960 | arg2 = (int)(SWIG_As_int(obj1)); | |
5961 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5962 | } | |
cfe5e918 RD |
5963 | { |
5964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5965 | (arg1)->AutoCompSetTypeSeparator(arg2); |
cfe5e918 RD |
5966 | |
5967 | wxPyEndAllowThreads(__tstate); | |
5968 | if (PyErr_Occurred()) SWIG_fail; | |
5969 | } | |
3004cfd8 | 5970 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5971 | return resultobj; |
5972 | fail: | |
5973 | return NULL; | |
5974 | } | |
5975 | ||
5976 | ||
3004cfd8 | 5977 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5978 | PyObject *resultobj; |
5979 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 5980 | int arg2 ; |
cfe5e918 | 5981 | PyObject * obj0 = 0 ; |
3004cfd8 | 5982 | PyObject * obj1 = 0 ; |
cfe5e918 | 5983 | char *kwnames[] = { |
3004cfd8 | 5984 | (char *) "self",(char *) "indentSize", NULL |
cfe5e918 RD |
5985 | }; |
5986 | ||
3004cfd8 RD |
5987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; |
5988 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5989 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5990 | { | |
5991 | arg2 = (int)(SWIG_As_int(obj1)); | |
5992 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5993 | } | |
cfe5e918 RD |
5994 | { |
5995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 5996 | (arg1)->SetIndent(arg2); |
cfe5e918 RD |
5997 | |
5998 | wxPyEndAllowThreads(__tstate); | |
5999 | if (PyErr_Occurred()) SWIG_fail; | |
6000 | } | |
3004cfd8 | 6001 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6002 | return resultobj; |
6003 | fail: | |
6004 | return NULL; | |
6005 | } | |
6006 | ||
6007 | ||
3004cfd8 | 6008 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6009 | PyObject *resultobj; |
6010 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6011 | int result; |
cfe5e918 RD |
6012 | PyObject * obj0 = 0 ; |
6013 | char *kwnames[] = { | |
6014 | (char *) "self", NULL | |
6015 | }; | |
6016 | ||
3004cfd8 RD |
6017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; |
6018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6020 | { |
6021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6022 | result = (int)(arg1)->GetIndent(); |
cfe5e918 RD |
6023 | |
6024 | wxPyEndAllowThreads(__tstate); | |
6025 | if (PyErr_Occurred()) SWIG_fail; | |
6026 | } | |
6027 | { | |
3004cfd8 | 6028 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6029 | } |
6030 | return resultobj; | |
6031 | fail: | |
6032 | return NULL; | |
6033 | } | |
6034 | ||
6035 | ||
3004cfd8 | 6036 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6037 | PyObject *resultobj; |
6038 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6039 | bool arg2 ; |
cfe5e918 RD |
6040 | PyObject * obj0 = 0 ; |
6041 | PyObject * obj1 = 0 ; | |
6042 | char *kwnames[] = { | |
3004cfd8 | 6043 | (char *) "self",(char *) "useTabs", NULL |
cfe5e918 RD |
6044 | }; |
6045 | ||
3004cfd8 RD |
6046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; |
6047 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6048 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6049 | { | |
6050 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6051 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6052 | } | |
cfe5e918 RD |
6053 | { |
6054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6055 | (arg1)->SetUseTabs(arg2); |
cfe5e918 RD |
6056 | |
6057 | wxPyEndAllowThreads(__tstate); | |
6058 | if (PyErr_Occurred()) SWIG_fail; | |
6059 | } | |
6060 | Py_INCREF(Py_None); resultobj = Py_None; | |
6061 | return resultobj; | |
6062 | fail: | |
6063 | return NULL; | |
6064 | } | |
6065 | ||
6066 | ||
3004cfd8 | 6067 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6068 | PyObject *resultobj; |
6069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6070 | bool result; |
cfe5e918 | 6071 | PyObject * obj0 = 0 ; |
cfe5e918 | 6072 | char *kwnames[] = { |
3004cfd8 | 6073 | (char *) "self", NULL |
cfe5e918 RD |
6074 | }; |
6075 | ||
3004cfd8 RD |
6076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; |
6077 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6078 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6079 | { |
6080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6081 | result = (bool)(arg1)->GetUseTabs(); |
cfe5e918 RD |
6082 | |
6083 | wxPyEndAllowThreads(__tstate); | |
6084 | if (PyErr_Occurred()) SWIG_fail; | |
6085 | } | |
3004cfd8 RD |
6086 | { |
6087 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6088 | } | |
cfe5e918 RD |
6089 | return resultobj; |
6090 | fail: | |
6091 | return NULL; | |
6092 | } | |
6093 | ||
6094 | ||
3004cfd8 | 6095 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6096 | PyObject *resultobj; |
6097 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
6098 | int arg2 ; |
6099 | int arg3 ; | |
cfe5e918 | 6100 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
6101 | PyObject * obj1 = 0 ; |
6102 | PyObject * obj2 = 0 ; | |
cfe5e918 | 6103 | char *kwnames[] = { |
3004cfd8 | 6104 | (char *) "self",(char *) "line",(char *) "indentSize", NULL |
cfe5e918 RD |
6105 | }; |
6106 | ||
3004cfd8 RD |
6107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
6108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6110 | { | |
6111 | arg2 = (int)(SWIG_As_int(obj1)); | |
6112 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6113 | } | |
6114 | { | |
6115 | arg3 = (int)(SWIG_As_int(obj2)); | |
6116 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6117 | } | |
cfe5e918 RD |
6118 | { |
6119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6120 | (arg1)->SetLineIndentation(arg2,arg3); |
cfe5e918 RD |
6121 | |
6122 | wxPyEndAllowThreads(__tstate); | |
6123 | if (PyErr_Occurred()) SWIG_fail; | |
6124 | } | |
3004cfd8 | 6125 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6126 | return resultobj; |
6127 | fail: | |
6128 | return NULL; | |
6129 | } | |
6130 | ||
6131 | ||
3004cfd8 | 6132 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6133 | PyObject *resultobj; |
6134 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6135 | int arg2 ; | |
3004cfd8 | 6136 | int result; |
cfe5e918 RD |
6137 | PyObject * obj0 = 0 ; |
6138 | PyObject * obj1 = 0 ; | |
6139 | char *kwnames[] = { | |
3004cfd8 | 6140 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6141 | }; |
6142 | ||
3004cfd8 RD |
6143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; |
6144 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6145 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6146 | { | |
6147 | arg2 = (int)(SWIG_As_int(obj1)); | |
6148 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6149 | } | |
cfe5e918 RD |
6150 | { |
6151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6152 | result = (int)(arg1)->GetLineIndentation(arg2); |
cfe5e918 RD |
6153 | |
6154 | wxPyEndAllowThreads(__tstate); | |
6155 | if (PyErr_Occurred()) SWIG_fail; | |
6156 | } | |
3004cfd8 RD |
6157 | { |
6158 | resultobj = SWIG_From_int((int)(result)); | |
6159 | } | |
cfe5e918 RD |
6160 | return resultobj; |
6161 | fail: | |
6162 | return NULL; | |
6163 | } | |
6164 | ||
6165 | ||
3004cfd8 | 6166 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6167 | PyObject *resultobj; |
6168 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6169 | int arg2 ; |
cfe5e918 RD |
6170 | int result; |
6171 | PyObject * obj0 = 0 ; | |
3004cfd8 | 6172 | PyObject * obj1 = 0 ; |
cfe5e918 | 6173 | char *kwnames[] = { |
3004cfd8 | 6174 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6175 | }; |
6176 | ||
3004cfd8 RD |
6177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; |
6178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6180 | { | |
6181 | arg2 = (int)(SWIG_As_int(obj1)); | |
6182 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6183 | } | |
cfe5e918 RD |
6184 | { |
6185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6186 | result = (int)(arg1)->GetLineIndentPosition(arg2); |
cfe5e918 RD |
6187 | |
6188 | wxPyEndAllowThreads(__tstate); | |
6189 | if (PyErr_Occurred()) SWIG_fail; | |
6190 | } | |
3004cfd8 RD |
6191 | { |
6192 | resultobj = SWIG_From_int((int)(result)); | |
6193 | } | |
cfe5e918 RD |
6194 | return resultobj; |
6195 | fail: | |
6196 | return NULL; | |
6197 | } | |
6198 | ||
6199 | ||
3004cfd8 | 6200 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6201 | PyObject *resultobj; |
6202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6203 | int arg2 ; | |
3004cfd8 | 6204 | int result; |
cfe5e918 RD |
6205 | PyObject * obj0 = 0 ; |
6206 | PyObject * obj1 = 0 ; | |
6207 | char *kwnames[] = { | |
3004cfd8 | 6208 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6209 | }; |
6210 | ||
3004cfd8 RD |
6211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; |
6212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6214 | { | |
6215 | arg2 = (int)(SWIG_As_int(obj1)); | |
6216 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6217 | } | |
cfe5e918 RD |
6218 | { |
6219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6220 | result = (int)(arg1)->GetColumn(arg2); |
cfe5e918 RD |
6221 | |
6222 | wxPyEndAllowThreads(__tstate); | |
6223 | if (PyErr_Occurred()) SWIG_fail; | |
6224 | } | |
3004cfd8 RD |
6225 | { |
6226 | resultobj = SWIG_From_int((int)(result)); | |
6227 | } | |
cfe5e918 RD |
6228 | return resultobj; |
6229 | fail: | |
6230 | return NULL; | |
6231 | } | |
6232 | ||
6233 | ||
3004cfd8 | 6234 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6235 | PyObject *resultobj; |
6236 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6237 | bool arg2 ; |
cfe5e918 | 6238 | PyObject * obj0 = 0 ; |
3004cfd8 | 6239 | PyObject * obj1 = 0 ; |
cfe5e918 | 6240 | char *kwnames[] = { |
3004cfd8 | 6241 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
6242 | }; |
6243 | ||
3004cfd8 RD |
6244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; |
6245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6247 | { | |
6248 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6249 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6250 | } | |
cfe5e918 RD |
6251 | { |
6252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6253 | (arg1)->SetUseHorizontalScrollBar(arg2); |
cfe5e918 RD |
6254 | |
6255 | wxPyEndAllowThreads(__tstate); | |
6256 | if (PyErr_Occurred()) SWIG_fail; | |
6257 | } | |
3004cfd8 | 6258 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6259 | return resultobj; |
6260 | fail: | |
6261 | return NULL; | |
6262 | } | |
6263 | ||
6264 | ||
3004cfd8 | 6265 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6266 | PyObject *resultobj; |
6267 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6268 | bool result; |
cfe5e918 | 6269 | PyObject * obj0 = 0 ; |
cfe5e918 | 6270 | char *kwnames[] = { |
3004cfd8 | 6271 | (char *) "self", NULL |
cfe5e918 RD |
6272 | }; |
6273 | ||
3004cfd8 RD |
6274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; |
6275 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6276 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6277 | { |
6278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6279 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); |
cfe5e918 RD |
6280 | |
6281 | wxPyEndAllowThreads(__tstate); | |
6282 | if (PyErr_Occurred()) SWIG_fail; | |
6283 | } | |
3004cfd8 RD |
6284 | { |
6285 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6286 | } | |
cfe5e918 RD |
6287 | return resultobj; |
6288 | fail: | |
6289 | return NULL; | |
6290 | } | |
6291 | ||
6292 | ||
3004cfd8 | 6293 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6294 | PyObject *resultobj; |
6295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6296 | bool arg2 ; |
cfe5e918 | 6297 | PyObject * obj0 = 0 ; |
3004cfd8 | 6298 | PyObject * obj1 = 0 ; |
cfe5e918 | 6299 | char *kwnames[] = { |
3004cfd8 | 6300 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
6301 | }; |
6302 | ||
3004cfd8 RD |
6303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; |
6304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6306 | { | |
6307 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6308 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6309 | } | |
cfe5e918 RD |
6310 | { |
6311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6312 | (arg1)->SetIndentationGuides(arg2); |
cfe5e918 RD |
6313 | |
6314 | wxPyEndAllowThreads(__tstate); | |
6315 | if (PyErr_Occurred()) SWIG_fail; | |
6316 | } | |
3004cfd8 | 6317 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6318 | return resultobj; |
6319 | fail: | |
6320 | return NULL; | |
6321 | } | |
6322 | ||
6323 | ||
3004cfd8 | 6324 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6325 | PyObject *resultobj; |
6326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6327 | bool result; |
cfe5e918 | 6328 | PyObject * obj0 = 0 ; |
cfe5e918 | 6329 | char *kwnames[] = { |
3004cfd8 | 6330 | (char *) "self", NULL |
cfe5e918 RD |
6331 | }; |
6332 | ||
3004cfd8 RD |
6333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; |
6334 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6335 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6336 | { |
6337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6338 | result = (bool)(arg1)->GetIndentationGuides(); |
cfe5e918 RD |
6339 | |
6340 | wxPyEndAllowThreads(__tstate); | |
6341 | if (PyErr_Occurred()) SWIG_fail; | |
6342 | } | |
cfe5e918 | 6343 | { |
3004cfd8 | 6344 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
cfe5e918 RD |
6345 | } |
6346 | return resultobj; | |
6347 | fail: | |
cfe5e918 RD |
6348 | return NULL; |
6349 | } | |
6350 | ||
6351 | ||
3004cfd8 | 6352 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6353 | PyObject *resultobj; |
6354 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6355 | int arg2 ; |
cfe5e918 RD |
6356 | PyObject * obj0 = 0 ; |
6357 | PyObject * obj1 = 0 ; | |
cfe5e918 | 6358 | char *kwnames[] = { |
3004cfd8 | 6359 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
6360 | }; |
6361 | ||
3004cfd8 RD |
6362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; |
6363 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6364 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6365 | { | |
6366 | arg2 = (int)(SWIG_As_int(obj1)); | |
6367 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6368 | } | |
cfe5e918 RD |
6369 | { |
6370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6371 | (arg1)->SetHighlightGuide(arg2); |
cfe5e918 RD |
6372 | |
6373 | wxPyEndAllowThreads(__tstate); | |
6374 | if (PyErr_Occurred()) SWIG_fail; | |
6375 | } | |
3004cfd8 | 6376 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6377 | return resultobj; |
6378 | fail: | |
6379 | return NULL; | |
6380 | } | |
6381 | ||
6382 | ||
3004cfd8 | 6383 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6384 | PyObject *resultobj; |
6385 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6386 | int result; | |
6387 | PyObject * obj0 = 0 ; | |
6388 | char *kwnames[] = { | |
6389 | (char *) "self", NULL | |
6390 | }; | |
6391 | ||
3004cfd8 RD |
6392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; |
6393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6395 | { |
6396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6397 | result = (int)(arg1)->GetHighlightGuide(); |
cfe5e918 RD |
6398 | |
6399 | wxPyEndAllowThreads(__tstate); | |
6400 | if (PyErr_Occurred()) SWIG_fail; | |
6401 | } | |
3004cfd8 RD |
6402 | { |
6403 | resultobj = SWIG_From_int((int)(result)); | |
6404 | } | |
cfe5e918 RD |
6405 | return resultobj; |
6406 | fail: | |
6407 | return NULL; | |
6408 | } | |
6409 | ||
6410 | ||
3004cfd8 | 6411 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6412 | PyObject *resultobj; |
6413 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6414 | int arg2 ; | |
3004cfd8 | 6415 | int result; |
cfe5e918 RD |
6416 | PyObject * obj0 = 0 ; |
6417 | PyObject * obj1 = 0 ; | |
6418 | char *kwnames[] = { | |
6419 | (char *) "self",(char *) "line", NULL | |
6420 | }; | |
6421 | ||
3004cfd8 RD |
6422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; |
6423 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6424 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6425 | { | |
6426 | arg2 = (int)(SWIG_As_int(obj1)); | |
6427 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6428 | } | |
cfe5e918 RD |
6429 | { |
6430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6431 | result = (int)(arg1)->GetLineEndPosition(arg2); |
cfe5e918 RD |
6432 | |
6433 | wxPyEndAllowThreads(__tstate); | |
6434 | if (PyErr_Occurred()) SWIG_fail; | |
6435 | } | |
6436 | { | |
3004cfd8 | 6437 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6438 | } |
6439 | return resultobj; | |
6440 | fail: | |
6441 | return NULL; | |
6442 | } | |
6443 | ||
6444 | ||
3004cfd8 | 6445 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6446 | PyObject *resultobj; |
6447 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6448 | int result; | |
6449 | PyObject * obj0 = 0 ; | |
6450 | char *kwnames[] = { | |
6451 | (char *) "self", NULL | |
6452 | }; | |
6453 | ||
3004cfd8 RD |
6454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; |
6455 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6456 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6457 | { |
6458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6459 | result = (int)(arg1)->GetCodePage(); |
cfe5e918 RD |
6460 | |
6461 | wxPyEndAllowThreads(__tstate); | |
6462 | if (PyErr_Occurred()) SWIG_fail; | |
6463 | } | |
3004cfd8 RD |
6464 | { |
6465 | resultobj = SWIG_From_int((int)(result)); | |
6466 | } | |
cfe5e918 RD |
6467 | return resultobj; |
6468 | fail: | |
6469 | return NULL; | |
6470 | } | |
6471 | ||
6472 | ||
3004cfd8 | 6473 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6474 | PyObject *resultobj; |
6475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6476 | wxColour result; |
cfe5e918 | 6477 | PyObject * obj0 = 0 ; |
cfe5e918 | 6478 | char *kwnames[] = { |
3004cfd8 | 6479 | (char *) "self", NULL |
cfe5e918 RD |
6480 | }; |
6481 | ||
3004cfd8 RD |
6482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; |
6483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6485 | { |
6486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6487 | result = (arg1)->GetCaretForeground(); |
cfe5e918 RD |
6488 | |
6489 | wxPyEndAllowThreads(__tstate); | |
6490 | if (PyErr_Occurred()) SWIG_fail; | |
6491 | } | |
3004cfd8 RD |
6492 | { |
6493 | wxColour * resultptr; | |
6494 | resultptr = new wxColour((wxColour &)(result)); | |
6495 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
6496 | } | |
cfe5e918 RD |
6497 | return resultobj; |
6498 | fail: | |
6499 | return NULL; | |
6500 | } | |
6501 | ||
6502 | ||
3004cfd8 | 6503 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6504 | PyObject *resultobj; |
6505 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6506 | bool result; |
cfe5e918 RD |
6507 | PyObject * obj0 = 0 ; |
6508 | char *kwnames[] = { | |
6509 | (char *) "self", NULL | |
6510 | }; | |
6511 | ||
3004cfd8 RD |
6512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; |
6513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6515 | { |
6516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6517 | result = (bool)(arg1)->GetReadOnly(); |
cfe5e918 RD |
6518 | |
6519 | wxPyEndAllowThreads(__tstate); | |
6520 | if (PyErr_Occurred()) SWIG_fail; | |
6521 | } | |
3004cfd8 RD |
6522 | { |
6523 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6524 | } | |
cfe5e918 RD |
6525 | return resultobj; |
6526 | fail: | |
6527 | return NULL; | |
6528 | } | |
6529 | ||
6530 | ||
3004cfd8 | 6531 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6532 | PyObject *resultobj; |
6533 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6534 | int arg2 ; | |
6535 | PyObject * obj0 = 0 ; | |
6536 | PyObject * obj1 = 0 ; | |
6537 | char *kwnames[] = { | |
3004cfd8 | 6538 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6539 | }; |
6540 | ||
3004cfd8 RD |
6541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; |
6542 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6543 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6544 | { | |
6545 | arg2 = (int)(SWIG_As_int(obj1)); | |
6546 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6547 | } | |
cfe5e918 RD |
6548 | { |
6549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6550 | (arg1)->SetCurrentPos(arg2); |
cfe5e918 RD |
6551 | |
6552 | wxPyEndAllowThreads(__tstate); | |
6553 | if (PyErr_Occurred()) SWIG_fail; | |
6554 | } | |
6555 | Py_INCREF(Py_None); resultobj = Py_None; | |
6556 | return resultobj; | |
6557 | fail: | |
6558 | return NULL; | |
6559 | } | |
6560 | ||
6561 | ||
3004cfd8 | 6562 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6563 | PyObject *resultobj; |
6564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6565 | int arg2 ; |
cfe5e918 | 6566 | PyObject * obj0 = 0 ; |
3004cfd8 | 6567 | PyObject * obj1 = 0 ; |
cfe5e918 | 6568 | char *kwnames[] = { |
3004cfd8 | 6569 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6570 | }; |
6571 | ||
3004cfd8 RD |
6572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; |
6573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6575 | { | |
6576 | arg2 = (int)(SWIG_As_int(obj1)); | |
6577 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6578 | } | |
cfe5e918 RD |
6579 | { |
6580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6581 | (arg1)->SetSelectionStart(arg2); |
cfe5e918 RD |
6582 | |
6583 | wxPyEndAllowThreads(__tstate); | |
6584 | if (PyErr_Occurred()) SWIG_fail; | |
6585 | } | |
3004cfd8 | 6586 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6587 | return resultobj; |
6588 | fail: | |
6589 | return NULL; | |
6590 | } | |
6591 | ||
6592 | ||
3004cfd8 | 6593 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6594 | PyObject *resultobj; |
6595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6596 | int result; |
cfe5e918 RD |
6597 | PyObject * obj0 = 0 ; |
6598 | char *kwnames[] = { | |
6599 | (char *) "self", NULL | |
6600 | }; | |
6601 | ||
3004cfd8 RD |
6602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; |
6603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6605 | { |
6606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6607 | result = (int)(arg1)->GetSelectionStart(); |
cfe5e918 RD |
6608 | |
6609 | wxPyEndAllowThreads(__tstate); | |
6610 | if (PyErr_Occurred()) SWIG_fail; | |
6611 | } | |
6612 | { | |
3004cfd8 | 6613 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6614 | } |
6615 | return resultobj; | |
6616 | fail: | |
6617 | return NULL; | |
6618 | } | |
6619 | ||
6620 | ||
3004cfd8 | 6621 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6622 | PyObject *resultobj; |
6623 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6624 | int arg2 ; | |
cfe5e918 RD |
6625 | PyObject * obj0 = 0 ; |
6626 | PyObject * obj1 = 0 ; | |
cfe5e918 | 6627 | char *kwnames[] = { |
3004cfd8 | 6628 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6629 | }; |
6630 | ||
3004cfd8 RD |
6631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; |
6632 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6633 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6634 | { | |
6635 | arg2 = (int)(SWIG_As_int(obj1)); | |
6636 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6637 | } | |
cfe5e918 RD |
6638 | { |
6639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6640 | (arg1)->SetSelectionEnd(arg2); |
cfe5e918 RD |
6641 | |
6642 | wxPyEndAllowThreads(__tstate); | |
6643 | if (PyErr_Occurred()) SWIG_fail; | |
6644 | } | |
6645 | Py_INCREF(Py_None); resultobj = Py_None; | |
6646 | return resultobj; | |
6647 | fail: | |
6648 | return NULL; | |
6649 | } | |
6650 | ||
6651 | ||
3004cfd8 | 6652 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6653 | PyObject *resultobj; |
6654 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6655 | int result; |
cfe5e918 RD |
6656 | PyObject * obj0 = 0 ; |
6657 | char *kwnames[] = { | |
6658 | (char *) "self", NULL | |
6659 | }; | |
6660 | ||
3004cfd8 RD |
6661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; |
6662 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6663 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6664 | { |
6665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6666 | result = (int)(arg1)->GetSelectionEnd(); |
cfe5e918 RD |
6667 | |
6668 | wxPyEndAllowThreads(__tstate); | |
6669 | if (PyErr_Occurred()) SWIG_fail; | |
6670 | } | |
6671 | { | |
3004cfd8 | 6672 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6673 | } |
6674 | return resultobj; | |
6675 | fail: | |
6676 | return NULL; | |
6677 | } | |
6678 | ||
6679 | ||
3004cfd8 | 6680 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6681 | PyObject *resultobj; |
6682 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6683 | int arg2 ; | |
cfe5e918 RD |
6684 | PyObject * obj0 = 0 ; |
6685 | PyObject * obj1 = 0 ; | |
cfe5e918 | 6686 | char *kwnames[] = { |
3004cfd8 | 6687 | (char *) "self",(char *) "magnification", NULL |
cfe5e918 RD |
6688 | }; |
6689 | ||
3004cfd8 RD |
6690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; |
6691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6693 | { | |
6694 | arg2 = (int)(SWIG_As_int(obj1)); | |
6695 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6696 | } | |
cfe5e918 RD |
6697 | { |
6698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6699 | (arg1)->SetPrintMagnification(arg2); |
cfe5e918 RD |
6700 | |
6701 | wxPyEndAllowThreads(__tstate); | |
6702 | if (PyErr_Occurred()) SWIG_fail; | |
6703 | } | |
3004cfd8 | 6704 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6705 | return resultobj; |
6706 | fail: | |
6707 | return NULL; | |
6708 | } | |
6709 | ||
6710 | ||
3004cfd8 | 6711 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6712 | PyObject *resultobj; |
6713 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6714 | int result; |
cfe5e918 | 6715 | PyObject * obj0 = 0 ; |
cfe5e918 | 6716 | char *kwnames[] = { |
3004cfd8 | 6717 | (char *) "self", NULL |
cfe5e918 RD |
6718 | }; |
6719 | ||
3004cfd8 RD |
6720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; |
6721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6723 | { |
6724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6725 | result = (int)(arg1)->GetPrintMagnification(); |
cfe5e918 RD |
6726 | |
6727 | wxPyEndAllowThreads(__tstate); | |
6728 | if (PyErr_Occurred()) SWIG_fail; | |
6729 | } | |
3004cfd8 RD |
6730 | { |
6731 | resultobj = SWIG_From_int((int)(result)); | |
6732 | } | |
cfe5e918 RD |
6733 | return resultobj; |
6734 | fail: | |
6735 | return NULL; | |
6736 | } | |
6737 | ||
6738 | ||
3004cfd8 | 6739 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6740 | PyObject *resultobj; |
6741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6742 | int arg2 ; | |
cfe5e918 RD |
6743 | PyObject * obj0 = 0 ; |
6744 | PyObject * obj1 = 0 ; | |
6745 | char *kwnames[] = { | |
3004cfd8 | 6746 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
6747 | }; |
6748 | ||
3004cfd8 RD |
6749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; |
6750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6752 | { | |
6753 | arg2 = (int)(SWIG_As_int(obj1)); | |
6754 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6755 | } | |
cfe5e918 RD |
6756 | { |
6757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6758 | (arg1)->SetPrintColourMode(arg2); |
cfe5e918 RD |
6759 | |
6760 | wxPyEndAllowThreads(__tstate); | |
6761 | if (PyErr_Occurred()) SWIG_fail; | |
6762 | } | |
3004cfd8 | 6763 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6764 | return resultobj; |
6765 | fail: | |
6766 | return NULL; | |
6767 | } | |
6768 | ||
6769 | ||
3004cfd8 | 6770 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6771 | PyObject *resultobj; |
6772 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
6773 | int result; |
6774 | PyObject * obj0 = 0 ; | |
cfe5e918 | 6775 | char *kwnames[] = { |
3004cfd8 | 6776 | (char *) "self", NULL |
cfe5e918 RD |
6777 | }; |
6778 | ||
3004cfd8 RD |
6779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; |
6780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6782 | { |
6783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6784 | result = (int)(arg1)->GetPrintColourMode(); |
cfe5e918 RD |
6785 | |
6786 | wxPyEndAllowThreads(__tstate); | |
6787 | if (PyErr_Occurred()) SWIG_fail; | |
6788 | } | |
3004cfd8 RD |
6789 | { |
6790 | resultobj = SWIG_From_int((int)(result)); | |
6791 | } | |
cfe5e918 RD |
6792 | return resultobj; |
6793 | fail: | |
6794 | return NULL; | |
6795 | } | |
6796 | ||
6797 | ||
3004cfd8 | 6798 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6799 | PyObject *resultobj; |
6800 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6801 | int arg2 ; | |
6802 | int arg3 ; | |
3004cfd8 RD |
6803 | wxString *arg4 = 0 ; |
6804 | int arg5 = (int) 0 ; | |
6805 | int result; | |
6806 | bool temp4 = false ; | |
cfe5e918 RD |
6807 | PyObject * obj0 = 0 ; |
6808 | PyObject * obj1 = 0 ; | |
6809 | PyObject * obj2 = 0 ; | |
3004cfd8 RD |
6810 | PyObject * obj3 = 0 ; |
6811 | PyObject * obj4 = 0 ; | |
cfe5e918 | 6812 | char *kwnames[] = { |
3004cfd8 | 6813 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL |
cfe5e918 RD |
6814 | }; |
6815 | ||
3004cfd8 RD |
6816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
6817 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6818 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6819 | { | |
6820 | arg2 = (int)(SWIG_As_int(obj1)); | |
6821 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6822 | } | |
6823 | { | |
6824 | arg3 = (int)(SWIG_As_int(obj2)); | |
6825 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6826 | } | |
6827 | { | |
6828 | arg4 = wxString_in_helper(obj3); | |
6829 | if (arg4 == NULL) SWIG_fail; | |
6830 | temp4 = true; | |
6831 | } | |
6832 | if (obj4) { | |
6833 | { | |
6834 | arg5 = (int)(SWIG_As_int(obj4)); | |
6835 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6836 | } | |
6837 | } | |
cfe5e918 RD |
6838 | { |
6839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6840 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); |
cfe5e918 RD |
6841 | |
6842 | wxPyEndAllowThreads(__tstate); | |
6843 | if (PyErr_Occurred()) SWIG_fail; | |
6844 | } | |
3004cfd8 RD |
6845 | { |
6846 | resultobj = SWIG_From_int((int)(result)); | |
6847 | } | |
6848 | { | |
6849 | if (temp4) | |
6850 | delete arg4; | |
6851 | } | |
cfe5e918 RD |
6852 | return resultobj; |
6853 | fail: | |
3004cfd8 RD |
6854 | { |
6855 | if (temp4) | |
6856 | delete arg4; | |
6857 | } | |
cfe5e918 RD |
6858 | return NULL; |
6859 | } | |
6860 | ||
6861 | ||
3004cfd8 | 6862 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6863 | PyObject *resultobj; |
6864 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
6865 | bool arg2 ; |
6866 | int arg3 ; | |
6867 | int arg4 ; | |
6868 | wxDC *arg5 = (wxDC *) 0 ; | |
6869 | wxDC *arg6 = (wxDC *) 0 ; | |
6870 | wxRect arg7 ; | |
6871 | wxRect arg8 ; | |
6872 | int result; | |
cfe5e918 | 6873 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
6874 | PyObject * obj1 = 0 ; |
6875 | PyObject * obj2 = 0 ; | |
6876 | PyObject * obj3 = 0 ; | |
6877 | PyObject * obj4 = 0 ; | |
6878 | PyObject * obj5 = 0 ; | |
6879 | PyObject * obj6 = 0 ; | |
6880 | PyObject * obj7 = 0 ; | |
cfe5e918 | 6881 | char *kwnames[] = { |
3004cfd8 | 6882 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL |
cfe5e918 RD |
6883 | }; |
6884 | ||
3004cfd8 RD |
6885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
6886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6888 | { | |
6889 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6890 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6891 | } | |
6892 | { | |
6893 | arg3 = (int)(SWIG_As_int(obj2)); | |
6894 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6895 | } | |
6896 | { | |
6897 | arg4 = (int)(SWIG_As_int(obj3)); | |
6898 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6899 | } | |
6900 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6901 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6902 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6903 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6904 | { | |
6905 | wxRect * argp; | |
6906 | SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
6907 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6908 | if (argp == NULL) { | |
6909 | SWIG_null_ref("wxRect"); | |
6910 | } | |
6911 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6912 | arg7 = *argp; | |
6913 | } | |
6914 | { | |
6915 | wxRect * argp; | |
6916 | SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
6917 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6918 | if (argp == NULL) { | |
6919 | SWIG_null_ref("wxRect"); | |
6920 | } | |
6921 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6922 | arg8 = *argp; | |
6923 | } | |
cfe5e918 RD |
6924 | { |
6925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6926 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); |
cfe5e918 RD |
6927 | |
6928 | wxPyEndAllowThreads(__tstate); | |
6929 | if (PyErr_Occurred()) SWIG_fail; | |
6930 | } | |
3004cfd8 RD |
6931 | { |
6932 | resultobj = SWIG_From_int((int)(result)); | |
6933 | } | |
cfe5e918 RD |
6934 | return resultobj; |
6935 | fail: | |
6936 | return NULL; | |
6937 | } | |
6938 | ||
6939 | ||
3004cfd8 | 6940 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6941 | PyObject *resultobj; |
6942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 6943 | int result; |
cfe5e918 | 6944 | PyObject * obj0 = 0 ; |
cfe5e918 | 6945 | char *kwnames[] = { |
3004cfd8 | 6946 | (char *) "self", NULL |
cfe5e918 RD |
6947 | }; |
6948 | ||
3004cfd8 RD |
6949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; |
6950 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6951 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
6952 | { |
6953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6954 | result = (int)(arg1)->GetFirstVisibleLine(); |
cfe5e918 RD |
6955 | |
6956 | wxPyEndAllowThreads(__tstate); | |
6957 | if (PyErr_Occurred()) SWIG_fail; | |
6958 | } | |
cfe5e918 | 6959 | { |
3004cfd8 | 6960 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6961 | } |
6962 | return resultobj; | |
6963 | fail: | |
cfe5e918 RD |
6964 | return NULL; |
6965 | } | |
6966 | ||
6967 | ||
3004cfd8 | 6968 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6969 | PyObject *resultobj; |
6970 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
6971 | int arg2 ; |
6972 | wxString result; | |
cfe5e918 RD |
6973 | PyObject * obj0 = 0 ; |
6974 | PyObject * obj1 = 0 ; | |
6975 | char *kwnames[] = { | |
3004cfd8 | 6976 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6977 | }; |
6978 | ||
3004cfd8 RD |
6979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; |
6980 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6981 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6982 | { | |
6983 | arg2 = (int)(SWIG_As_int(obj1)); | |
6984 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6985 | } | |
cfe5e918 RD |
6986 | { |
6987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 6988 | result = (arg1)->GetLine(arg2); |
cfe5e918 RD |
6989 | |
6990 | wxPyEndAllowThreads(__tstate); | |
6991 | if (PyErr_Occurred()) SWIG_fail; | |
6992 | } | |
3004cfd8 RD |
6993 | { |
6994 | #if wxUSE_UNICODE | |
6995 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
6996 | #else | |
6997 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
6998 | #endif | |
6999 | } | |
cfe5e918 RD |
7000 | return resultobj; |
7001 | fail: | |
7002 | return NULL; | |
7003 | } | |
7004 | ||
7005 | ||
3004cfd8 | 7006 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7007 | PyObject *resultobj; |
7008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7009 | int result; |
cfe5e918 RD |
7010 | PyObject * obj0 = 0 ; |
7011 | char *kwnames[] = { | |
7012 | (char *) "self", NULL | |
7013 | }; | |
7014 | ||
3004cfd8 RD |
7015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; |
7016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7018 | { |
7019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7020 | result = (int)(arg1)->GetLineCount(); |
cfe5e918 RD |
7021 | |
7022 | wxPyEndAllowThreads(__tstate); | |
7023 | if (PyErr_Occurred()) SWIG_fail; | |
7024 | } | |
7025 | { | |
3004cfd8 | 7026 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
7027 | } |
7028 | return resultobj; | |
7029 | fail: | |
7030 | return NULL; | |
7031 | } | |
7032 | ||
7033 | ||
3004cfd8 | 7034 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7035 | PyObject *resultobj; |
7036 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7037 | int arg2 ; |
cfe5e918 | 7038 | PyObject * obj0 = 0 ; |
3004cfd8 | 7039 | PyObject * obj1 = 0 ; |
cfe5e918 | 7040 | char *kwnames[] = { |
3004cfd8 | 7041 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7042 | }; |
7043 | ||
3004cfd8 RD |
7044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; |
7045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7047 | { | |
7048 | arg2 = (int)(SWIG_As_int(obj1)); | |
7049 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7050 | } | |
cfe5e918 RD |
7051 | { |
7052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7053 | (arg1)->SetMarginLeft(arg2); |
cfe5e918 RD |
7054 | |
7055 | wxPyEndAllowThreads(__tstate); | |
7056 | if (PyErr_Occurred()) SWIG_fail; | |
7057 | } | |
3004cfd8 | 7058 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7059 | return resultobj; |
7060 | fail: | |
7061 | return NULL; | |
7062 | } | |
7063 | ||
7064 | ||
3004cfd8 | 7065 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7066 | PyObject *resultobj; |
7067 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7068 | int result; |
cfe5e918 RD |
7069 | PyObject * obj0 = 0 ; |
7070 | char *kwnames[] = { | |
7071 | (char *) "self", NULL | |
7072 | }; | |
7073 | ||
3004cfd8 RD |
7074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; |
7075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7077 | { |
7078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7079 | result = (int)(arg1)->GetMarginLeft(); |
cfe5e918 RD |
7080 | |
7081 | wxPyEndAllowThreads(__tstate); | |
7082 | if (PyErr_Occurred()) SWIG_fail; | |
7083 | } | |
3004cfd8 RD |
7084 | { |
7085 | resultobj = SWIG_From_int((int)(result)); | |
7086 | } | |
cfe5e918 RD |
7087 | return resultobj; |
7088 | fail: | |
7089 | return NULL; | |
7090 | } | |
7091 | ||
7092 | ||
3004cfd8 | 7093 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7094 | PyObject *resultobj; |
7095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7096 | int arg2 ; |
cfe5e918 | 7097 | PyObject * obj0 = 0 ; |
3004cfd8 | 7098 | PyObject * obj1 = 0 ; |
cfe5e918 | 7099 | char *kwnames[] = { |
3004cfd8 | 7100 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7101 | }; |
7102 | ||
3004cfd8 RD |
7103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; |
7104 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7105 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7106 | { | |
7107 | arg2 = (int)(SWIG_As_int(obj1)); | |
7108 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7109 | } | |
cfe5e918 RD |
7110 | { |
7111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7112 | (arg1)->SetMarginRight(arg2); |
cfe5e918 RD |
7113 | |
7114 | wxPyEndAllowThreads(__tstate); | |
7115 | if (PyErr_Occurred()) SWIG_fail; | |
7116 | } | |
7117 | Py_INCREF(Py_None); resultobj = Py_None; | |
7118 | return resultobj; | |
7119 | fail: | |
7120 | return NULL; | |
7121 | } | |
7122 | ||
7123 | ||
3004cfd8 | 7124 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7125 | PyObject *resultobj; |
7126 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7127 | int result; |
cfe5e918 RD |
7128 | PyObject * obj0 = 0 ; |
7129 | char *kwnames[] = { | |
7130 | (char *) "self", NULL | |
7131 | }; | |
7132 | ||
3004cfd8 RD |
7133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; |
7134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7136 | { |
7137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7138 | result = (int)(arg1)->GetMarginRight(); |
cfe5e918 RD |
7139 | |
7140 | wxPyEndAllowThreads(__tstate); | |
7141 | if (PyErr_Occurred()) SWIG_fail; | |
7142 | } | |
3004cfd8 RD |
7143 | { |
7144 | resultobj = SWIG_From_int((int)(result)); | |
7145 | } | |
cfe5e918 RD |
7146 | return resultobj; |
7147 | fail: | |
7148 | return NULL; | |
7149 | } | |
7150 | ||
7151 | ||
3004cfd8 | 7152 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7153 | PyObject *resultobj; |
7154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7155 | bool result; |
cfe5e918 RD |
7156 | PyObject * obj0 = 0 ; |
7157 | char *kwnames[] = { | |
7158 | (char *) "self", NULL | |
7159 | }; | |
7160 | ||
3004cfd8 RD |
7161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; |
7162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7164 | { |
7165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7166 | result = (bool)(arg1)->GetModify(); |
cfe5e918 RD |
7167 | |
7168 | wxPyEndAllowThreads(__tstate); | |
7169 | if (PyErr_Occurred()) SWIG_fail; | |
7170 | } | |
3004cfd8 RD |
7171 | { |
7172 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7173 | } | |
cfe5e918 RD |
7174 | return resultobj; |
7175 | fail: | |
7176 | return NULL; | |
7177 | } | |
7178 | ||
7179 | ||
3004cfd8 | 7180 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7181 | PyObject *resultobj; |
7182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7183 | int arg2 ; |
7184 | int arg3 ; | |
cfe5e918 | 7185 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
7186 | PyObject * obj1 = 0 ; |
7187 | PyObject * obj2 = 0 ; | |
7188 | char *kwnames[] = { | |
7189 | (char *) "self",(char *) "start",(char *) "end", NULL | |
cfe5e918 RD |
7190 | }; |
7191 | ||
3004cfd8 RD |
7192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7193 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7194 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7195 | { | |
7196 | arg2 = (int)(SWIG_As_int(obj1)); | |
7197 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7198 | } | |
7199 | { | |
7200 | arg3 = (int)(SWIG_As_int(obj2)); | |
7201 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7202 | } | |
cfe5e918 RD |
7203 | { |
7204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7205 | (arg1)->SetSelection(arg2,arg3); |
cfe5e918 RD |
7206 | |
7207 | wxPyEndAllowThreads(__tstate); | |
7208 | if (PyErr_Occurred()) SWIG_fail; | |
7209 | } | |
7210 | Py_INCREF(Py_None); resultobj = Py_None; | |
7211 | return resultobj; | |
7212 | fail: | |
7213 | return NULL; | |
7214 | } | |
7215 | ||
7216 | ||
3004cfd8 | 7217 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7218 | PyObject *resultobj; |
7219 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7220 | wxString result; |
cfe5e918 RD |
7221 | PyObject * obj0 = 0 ; |
7222 | char *kwnames[] = { | |
7223 | (char *) "self", NULL | |
7224 | }; | |
7225 | ||
3004cfd8 RD |
7226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; |
7227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7229 | { |
7230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7231 | result = (arg1)->GetSelectedText(); |
cfe5e918 RD |
7232 | |
7233 | wxPyEndAllowThreads(__tstate); | |
7234 | if (PyErr_Occurred()) SWIG_fail; | |
7235 | } | |
3004cfd8 RD |
7236 | { |
7237 | #if wxUSE_UNICODE | |
7238 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7239 | #else | |
7240 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7241 | #endif | |
7242 | } | |
cfe5e918 RD |
7243 | return resultobj; |
7244 | fail: | |
7245 | return NULL; | |
7246 | } | |
7247 | ||
7248 | ||
3004cfd8 | 7249 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7250 | PyObject *resultobj; |
7251 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7252 | int arg2 ; |
7253 | int arg3 ; | |
7254 | wxString result; | |
cfe5e918 RD |
7255 | PyObject * obj0 = 0 ; |
7256 | PyObject * obj1 = 0 ; | |
3004cfd8 | 7257 | PyObject * obj2 = 0 ; |
cfe5e918 | 7258 | char *kwnames[] = { |
3004cfd8 | 7259 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
cfe5e918 RD |
7260 | }; |
7261 | ||
3004cfd8 RD |
7262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7263 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7264 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7265 | { |
3004cfd8 RD |
7266 | arg2 = (int)(SWIG_As_int(obj1)); |
7267 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7268 | } | |
7269 | { | |
7270 | arg3 = (int)(SWIG_As_int(obj2)); | |
7271 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
7272 | } |
7273 | { | |
7274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7275 | result = (arg1)->GetTextRange(arg2,arg3); |
cfe5e918 RD |
7276 | |
7277 | wxPyEndAllowThreads(__tstate); | |
7278 | if (PyErr_Occurred()) SWIG_fail; | |
7279 | } | |
cfe5e918 | 7280 | { |
3004cfd8 RD |
7281 | #if wxUSE_UNICODE |
7282 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7283 | #else | |
7284 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7285 | #endif | |
cfe5e918 RD |
7286 | } |
7287 | return resultobj; | |
7288 | fail: | |
cfe5e918 RD |
7289 | return NULL; |
7290 | } | |
7291 | ||
7292 | ||
3004cfd8 | 7293 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7294 | PyObject *resultobj; |
7295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7296 | bool arg2 ; |
cfe5e918 | 7297 | PyObject * obj0 = 0 ; |
3004cfd8 | 7298 | PyObject * obj1 = 0 ; |
cfe5e918 | 7299 | char *kwnames[] = { |
3004cfd8 | 7300 | (char *) "self",(char *) "normal", NULL |
cfe5e918 RD |
7301 | }; |
7302 | ||
3004cfd8 RD |
7303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; |
7304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7306 | { | |
7307 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7308 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7309 | } | |
cfe5e918 RD |
7310 | { |
7311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7312 | (arg1)->HideSelection(arg2); |
cfe5e918 RD |
7313 | |
7314 | wxPyEndAllowThreads(__tstate); | |
7315 | if (PyErr_Occurred()) SWIG_fail; | |
7316 | } | |
3004cfd8 | 7317 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7318 | return resultobj; |
7319 | fail: | |
7320 | return NULL; | |
7321 | } | |
7322 | ||
7323 | ||
3004cfd8 | 7324 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7325 | PyObject *resultobj; |
7326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7327 | int arg2 ; |
cfe5e918 RD |
7328 | int result; |
7329 | PyObject * obj0 = 0 ; | |
3004cfd8 | 7330 | PyObject * obj1 = 0 ; |
cfe5e918 | 7331 | char *kwnames[] = { |
3004cfd8 | 7332 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
7333 | }; |
7334 | ||
3004cfd8 RD |
7335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; |
7336 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7337 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7338 | { | |
7339 | arg2 = (int)(SWIG_As_int(obj1)); | |
7340 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7341 | } | |
cfe5e918 RD |
7342 | { |
7343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7344 | result = (int)(arg1)->LineFromPosition(arg2); |
cfe5e918 RD |
7345 | |
7346 | wxPyEndAllowThreads(__tstate); | |
7347 | if (PyErr_Occurred()) SWIG_fail; | |
7348 | } | |
3004cfd8 RD |
7349 | { |
7350 | resultobj = SWIG_From_int((int)(result)); | |
7351 | } | |
cfe5e918 RD |
7352 | return resultobj; |
7353 | fail: | |
7354 | return NULL; | |
7355 | } | |
7356 | ||
7357 | ||
3004cfd8 | 7358 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7359 | PyObject *resultobj; |
7360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7361 | int arg2 ; |
7362 | int result; | |
cfe5e918 RD |
7363 | PyObject * obj0 = 0 ; |
7364 | PyObject * obj1 = 0 ; | |
7365 | char *kwnames[] = { | |
3004cfd8 | 7366 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
7367 | }; |
7368 | ||
3004cfd8 RD |
7369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; |
7370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7372 | { | |
7373 | arg2 = (int)(SWIG_As_int(obj1)); | |
7374 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7375 | } | |
cfe5e918 RD |
7376 | { |
7377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7378 | result = (int)(arg1)->PositionFromLine(arg2); |
cfe5e918 RD |
7379 | |
7380 | wxPyEndAllowThreads(__tstate); | |
7381 | if (PyErr_Occurred()) SWIG_fail; | |
7382 | } | |
3004cfd8 RD |
7383 | { |
7384 | resultobj = SWIG_From_int((int)(result)); | |
7385 | } | |
cfe5e918 RD |
7386 | return resultobj; |
7387 | fail: | |
7388 | return NULL; | |
7389 | } | |
7390 | ||
7391 | ||
3004cfd8 | 7392 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7393 | PyObject *resultobj; |
7394 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7395 | int arg2 ; |
7396 | int arg3 ; | |
cfe5e918 | 7397 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
7398 | PyObject * obj1 = 0 ; |
7399 | PyObject * obj2 = 0 ; | |
cfe5e918 | 7400 | char *kwnames[] = { |
3004cfd8 | 7401 | (char *) "self",(char *) "columns",(char *) "lines", NULL |
cfe5e918 RD |
7402 | }; |
7403 | ||
3004cfd8 RD |
7404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7407 | { | |
7408 | arg2 = (int)(SWIG_As_int(obj1)); | |
7409 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7410 | } | |
7411 | { | |
7412 | arg3 = (int)(SWIG_As_int(obj2)); | |
7413 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7414 | } | |
cfe5e918 RD |
7415 | { |
7416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7417 | (arg1)->LineScroll(arg2,arg3); |
cfe5e918 RD |
7418 | |
7419 | wxPyEndAllowThreads(__tstate); | |
7420 | if (PyErr_Occurred()) SWIG_fail; | |
7421 | } | |
3004cfd8 | 7422 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7423 | return resultobj; |
7424 | fail: | |
7425 | return NULL; | |
7426 | } | |
7427 | ||
7428 | ||
3004cfd8 | 7429 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7430 | PyObject *resultobj; |
7431 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7432 | PyObject * obj0 = 0 ; |
cfe5e918 | 7433 | char *kwnames[] = { |
3004cfd8 | 7434 | (char *) "self", NULL |
cfe5e918 RD |
7435 | }; |
7436 | ||
3004cfd8 RD |
7437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; |
7438 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7439 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7440 | { |
7441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7442 | (arg1)->EnsureCaretVisible(); |
cfe5e918 RD |
7443 | |
7444 | wxPyEndAllowThreads(__tstate); | |
7445 | if (PyErr_Occurred()) SWIG_fail; | |
7446 | } | |
7447 | Py_INCREF(Py_None); resultobj = Py_None; | |
7448 | return resultobj; | |
7449 | fail: | |
7450 | return NULL; | |
7451 | } | |
7452 | ||
7453 | ||
3004cfd8 | 7454 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7455 | PyObject *resultobj; |
7456 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7457 | wxString *arg2 = 0 ; |
7458 | bool temp2 = false ; | |
cfe5e918 | 7459 | PyObject * obj0 = 0 ; |
3004cfd8 | 7460 | PyObject * obj1 = 0 ; |
cfe5e918 | 7461 | char *kwnames[] = { |
3004cfd8 | 7462 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
7463 | }; |
7464 | ||
3004cfd8 RD |
7465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; |
7466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7468 | { | |
7469 | arg2 = wxString_in_helper(obj1); | |
7470 | if (arg2 == NULL) SWIG_fail; | |
7471 | temp2 = true; | |
7472 | } | |
cfe5e918 RD |
7473 | { |
7474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7475 | (arg1)->ReplaceSelection((wxString const &)*arg2); |
cfe5e918 RD |
7476 | |
7477 | wxPyEndAllowThreads(__tstate); | |
7478 | if (PyErr_Occurred()) SWIG_fail; | |
7479 | } | |
3004cfd8 RD |
7480 | Py_INCREF(Py_None); resultobj = Py_None; |
7481 | { | |
7482 | if (temp2) | |
7483 | delete arg2; | |
7484 | } | |
cfe5e918 RD |
7485 | return resultobj; |
7486 | fail: | |
3004cfd8 RD |
7487 | { |
7488 | if (temp2) | |
7489 | delete arg2; | |
7490 | } | |
cfe5e918 RD |
7491 | return NULL; |
7492 | } | |
7493 | ||
7494 | ||
3004cfd8 | 7495 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7496 | PyObject *resultobj; |
7497 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7498 | bool arg2 ; |
cfe5e918 RD |
7499 | PyObject * obj0 = 0 ; |
7500 | PyObject * obj1 = 0 ; | |
7501 | char *kwnames[] = { | |
3004cfd8 | 7502 | (char *) "self",(char *) "readOnly", NULL |
cfe5e918 RD |
7503 | }; |
7504 | ||
3004cfd8 RD |
7505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; |
7506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7508 | { | |
7509 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7510 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7511 | } | |
cfe5e918 RD |
7512 | { |
7513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7514 | (arg1)->SetReadOnly(arg2); |
cfe5e918 RD |
7515 | |
7516 | wxPyEndAllowThreads(__tstate); | |
7517 | if (PyErr_Occurred()) SWIG_fail; | |
7518 | } | |
7519 | Py_INCREF(Py_None); resultobj = Py_None; | |
7520 | return resultobj; | |
7521 | fail: | |
7522 | return NULL; | |
7523 | } | |
7524 | ||
7525 | ||
3004cfd8 | 7526 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7527 | PyObject *resultobj; |
7528 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7529 | bool result; |
cfe5e918 RD |
7530 | PyObject * obj0 = 0 ; |
7531 | char *kwnames[] = { | |
7532 | (char *) "self", NULL | |
7533 | }; | |
7534 | ||
3004cfd8 RD |
7535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; |
7536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7538 | { |
7539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7540 | result = (bool)(arg1)->CanPaste(); |
cfe5e918 RD |
7541 | |
7542 | wxPyEndAllowThreads(__tstate); | |
7543 | if (PyErr_Occurred()) SWIG_fail; | |
7544 | } | |
3004cfd8 RD |
7545 | { |
7546 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7547 | } | |
cfe5e918 RD |
7548 | return resultobj; |
7549 | fail: | |
7550 | return NULL; | |
7551 | } | |
7552 | ||
7553 | ||
3004cfd8 | 7554 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7555 | PyObject *resultobj; |
7556 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7557 | bool result; |
cfe5e918 | 7558 | PyObject * obj0 = 0 ; |
cfe5e918 | 7559 | char *kwnames[] = { |
3004cfd8 | 7560 | (char *) "self", NULL |
cfe5e918 RD |
7561 | }; |
7562 | ||
3004cfd8 RD |
7563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; |
7564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7566 | { |
7567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7568 | result = (bool)(arg1)->CanUndo(); |
cfe5e918 RD |
7569 | |
7570 | wxPyEndAllowThreads(__tstate); | |
7571 | if (PyErr_Occurred()) SWIG_fail; | |
7572 | } | |
3004cfd8 RD |
7573 | { |
7574 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7575 | } | |
cfe5e918 RD |
7576 | return resultobj; |
7577 | fail: | |
7578 | return NULL; | |
7579 | } | |
7580 | ||
7581 | ||
3004cfd8 | 7582 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7583 | PyObject *resultobj; |
7584 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
7585 | PyObject * obj0 = 0 ; |
7586 | char *kwnames[] = { | |
7587 | (char *) "self", NULL | |
7588 | }; | |
7589 | ||
3004cfd8 RD |
7590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; |
7591 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7592 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7593 | { |
7594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7595 | (arg1)->EmptyUndoBuffer(); |
cfe5e918 RD |
7596 | |
7597 | wxPyEndAllowThreads(__tstate); | |
7598 | if (PyErr_Occurred()) SWIG_fail; | |
7599 | } | |
3004cfd8 | 7600 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7601 | return resultobj; |
7602 | fail: | |
7603 | return NULL; | |
7604 | } | |
7605 | ||
7606 | ||
3004cfd8 | 7607 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7608 | PyObject *resultobj; |
7609 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7610 | PyObject * obj0 = 0 ; |
cfe5e918 | 7611 | char *kwnames[] = { |
3004cfd8 | 7612 | (char *) "self", NULL |
cfe5e918 RD |
7613 | }; |
7614 | ||
3004cfd8 RD |
7615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; |
7616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7618 | { |
7619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7620 | (arg1)->Undo(); |
cfe5e918 RD |
7621 | |
7622 | wxPyEndAllowThreads(__tstate); | |
7623 | if (PyErr_Occurred()) SWIG_fail; | |
7624 | } | |
3004cfd8 | 7625 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7626 | return resultobj; |
7627 | fail: | |
cfe5e918 RD |
7628 | return NULL; |
7629 | } | |
7630 | ||
7631 | ||
3004cfd8 | 7632 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7633 | PyObject *resultobj; |
7634 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7635 | PyObject * obj0 = 0 ; |
cfe5e918 | 7636 | char *kwnames[] = { |
3004cfd8 | 7637 | (char *) "self", NULL |
cfe5e918 RD |
7638 | }; |
7639 | ||
3004cfd8 RD |
7640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; |
7641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7643 | { |
7644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7645 | (arg1)->Cut(); |
cfe5e918 RD |
7646 | |
7647 | wxPyEndAllowThreads(__tstate); | |
7648 | if (PyErr_Occurred()) SWIG_fail; | |
7649 | } | |
3004cfd8 | 7650 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7651 | return resultobj; |
7652 | fail: | |
cfe5e918 RD |
7653 | return NULL; |
7654 | } | |
7655 | ||
7656 | ||
3004cfd8 | 7657 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7658 | PyObject *resultobj; |
7659 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7660 | PyObject * obj0 = 0 ; |
cfe5e918 | 7661 | char *kwnames[] = { |
3004cfd8 | 7662 | (char *) "self", NULL |
cfe5e918 RD |
7663 | }; |
7664 | ||
3004cfd8 RD |
7665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; |
7666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7668 | { |
7669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7670 | (arg1)->Copy(); |
cfe5e918 RD |
7671 | |
7672 | wxPyEndAllowThreads(__tstate); | |
7673 | if (PyErr_Occurred()) SWIG_fail; | |
7674 | } | |
3004cfd8 | 7675 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7676 | return resultobj; |
7677 | fail: | |
cfe5e918 RD |
7678 | return NULL; |
7679 | } | |
7680 | ||
7681 | ||
3004cfd8 | 7682 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7683 | PyObject *resultobj; |
7684 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 7685 | PyObject * obj0 = 0 ; |
cfe5e918 | 7686 | char *kwnames[] = { |
3004cfd8 | 7687 | (char *) "self", NULL |
cfe5e918 RD |
7688 | }; |
7689 | ||
3004cfd8 RD |
7690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; |
7691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7693 | { |
7694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7695 | (arg1)->Paste(); |
cfe5e918 RD |
7696 | |
7697 | wxPyEndAllowThreads(__tstate); | |
7698 | if (PyErr_Occurred()) SWIG_fail; | |
7699 | } | |
7700 | Py_INCREF(Py_None); resultobj = Py_None; | |
7701 | return resultobj; | |
7702 | fail: | |
7703 | return NULL; | |
7704 | } | |
7705 | ||
7706 | ||
3004cfd8 | 7707 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7708 | PyObject *resultobj; |
7709 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
7710 | PyObject * obj0 = 0 ; |
7711 | char *kwnames[] = { | |
7712 | (char *) "self", NULL | |
7713 | }; | |
7714 | ||
3004cfd8 RD |
7715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; |
7716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7718 | { |
7719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7720 | (arg1)->Clear(); |
cfe5e918 RD |
7721 | |
7722 | wxPyEndAllowThreads(__tstate); | |
7723 | if (PyErr_Occurred()) SWIG_fail; | |
7724 | } | |
3004cfd8 | 7725 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7726 | return resultobj; |
7727 | fail: | |
7728 | return NULL; | |
7729 | } | |
7730 | ||
7731 | ||
3004cfd8 | 7732 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7733 | PyObject *resultobj; |
7734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
7735 | wxString *arg2 = 0 ; |
7736 | bool temp2 = false ; | |
cfe5e918 RD |
7737 | PyObject * obj0 = 0 ; |
7738 | PyObject * obj1 = 0 ; | |
cfe5e918 | 7739 | char *kwnames[] = { |
3004cfd8 | 7740 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
7741 | }; |
7742 | ||
3004cfd8 RD |
7743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; |
7744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7746 | { |
3004cfd8 RD |
7747 | arg2 = wxString_in_helper(obj1); |
7748 | if (arg2 == NULL) SWIG_fail; | |
7749 | temp2 = true; | |
cfe5e918 RD |
7750 | } |
7751 | { | |
7752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7753 | (arg1)->SetText((wxString const &)*arg2); |
cfe5e918 RD |
7754 | |
7755 | wxPyEndAllowThreads(__tstate); | |
7756 | if (PyErr_Occurred()) SWIG_fail; | |
7757 | } | |
7758 | Py_INCREF(Py_None); resultobj = Py_None; | |
7759 | { | |
3004cfd8 RD |
7760 | if (temp2) |
7761 | delete arg2; | |
cfe5e918 RD |
7762 | } |
7763 | return resultobj; | |
7764 | fail: | |
7765 | { | |
3004cfd8 RD |
7766 | if (temp2) |
7767 | delete arg2; | |
cfe5e918 RD |
7768 | } |
7769 | return NULL; | |
7770 | } | |
7771 | ||
7772 | ||
3004cfd8 | 7773 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7774 | PyObject *resultobj; |
7775 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7776 | wxString result; |
cfe5e918 RD |
7777 | PyObject * obj0 = 0 ; |
7778 | char *kwnames[] = { | |
7779 | (char *) "self", NULL | |
7780 | }; | |
7781 | ||
3004cfd8 RD |
7782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; |
7783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7785 | { |
7786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7787 | result = (arg1)->GetText(); |
cfe5e918 RD |
7788 | |
7789 | wxPyEndAllowThreads(__tstate); | |
7790 | if (PyErr_Occurred()) SWIG_fail; | |
7791 | } | |
3004cfd8 RD |
7792 | { |
7793 | #if wxUSE_UNICODE | |
7794 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7795 | #else | |
7796 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7797 | #endif | |
7798 | } | |
cfe5e918 RD |
7799 | return resultobj; |
7800 | fail: | |
7801 | return NULL; | |
7802 | } | |
7803 | ||
7804 | ||
3004cfd8 | 7805 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7806 | PyObject *resultobj; |
7807 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7808 | int result; |
cfe5e918 RD |
7809 | PyObject * obj0 = 0 ; |
7810 | char *kwnames[] = { | |
7811 | (char *) "self", NULL | |
7812 | }; | |
7813 | ||
3004cfd8 RD |
7814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; |
7815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7817 | { |
7818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7819 | result = (int)(arg1)->GetTextLength(); |
cfe5e918 RD |
7820 | |
7821 | wxPyEndAllowThreads(__tstate); | |
7822 | if (PyErr_Occurred()) SWIG_fail; | |
7823 | } | |
7824 | { | |
3004cfd8 | 7825 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
7826 | } |
7827 | return resultobj; | |
7828 | fail: | |
7829 | return NULL; | |
7830 | } | |
7831 | ||
7832 | ||
3004cfd8 | 7833 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7834 | PyObject *resultobj; |
7835 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7836 | bool arg2 ; |
cfe5e918 | 7837 | PyObject * obj0 = 0 ; |
3004cfd8 | 7838 | PyObject * obj1 = 0 ; |
cfe5e918 | 7839 | char *kwnames[] = { |
3004cfd8 | 7840 | (char *) "self",(char *) "overtype", NULL |
cfe5e918 RD |
7841 | }; |
7842 | ||
3004cfd8 RD |
7843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; |
7844 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7845 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7846 | { | |
7847 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7848 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7849 | } | |
cfe5e918 RD |
7850 | { |
7851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7852 | (arg1)->SetOvertype(arg2); |
cfe5e918 RD |
7853 | |
7854 | wxPyEndAllowThreads(__tstate); | |
7855 | if (PyErr_Occurred()) SWIG_fail; | |
7856 | } | |
3004cfd8 | 7857 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7858 | return resultobj; |
7859 | fail: | |
7860 | return NULL; | |
7861 | } | |
7862 | ||
7863 | ||
3004cfd8 | 7864 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7865 | PyObject *resultobj; |
7866 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7867 | bool result; |
cfe5e918 | 7868 | PyObject * obj0 = 0 ; |
cfe5e918 | 7869 | char *kwnames[] = { |
3004cfd8 | 7870 | (char *) "self", NULL |
cfe5e918 RD |
7871 | }; |
7872 | ||
3004cfd8 RD |
7873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; |
7874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7876 | { |
7877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7878 | result = (bool)(arg1)->GetOvertype(); |
cfe5e918 RD |
7879 | |
7880 | wxPyEndAllowThreads(__tstate); | |
7881 | if (PyErr_Occurred()) SWIG_fail; | |
7882 | } | |
3004cfd8 RD |
7883 | { |
7884 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7885 | } | |
cfe5e918 RD |
7886 | return resultobj; |
7887 | fail: | |
7888 | return NULL; | |
7889 | } | |
7890 | ||
7891 | ||
3004cfd8 | 7892 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7893 | PyObject *resultobj; |
7894 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7895 | int arg2 ; |
cfe5e918 RD |
7896 | PyObject * obj0 = 0 ; |
7897 | PyObject * obj1 = 0 ; | |
7898 | char *kwnames[] = { | |
3004cfd8 | 7899 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7900 | }; |
7901 | ||
3004cfd8 RD |
7902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; |
7903 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7904 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7905 | { |
3004cfd8 RD |
7906 | arg2 = (int)(SWIG_As_int(obj1)); |
7907 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
7908 | } |
7909 | { | |
7910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7911 | (arg1)->SetCaretWidth(arg2); |
cfe5e918 RD |
7912 | |
7913 | wxPyEndAllowThreads(__tstate); | |
7914 | if (PyErr_Occurred()) SWIG_fail; | |
7915 | } | |
7916 | Py_INCREF(Py_None); resultobj = Py_None; | |
7917 | return resultobj; | |
7918 | fail: | |
7919 | return NULL; | |
7920 | } | |
7921 | ||
7922 | ||
3004cfd8 | 7923 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7924 | PyObject *resultobj; |
7925 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7926 | int result; |
cfe5e918 | 7927 | PyObject * obj0 = 0 ; |
cfe5e918 | 7928 | char *kwnames[] = { |
3004cfd8 | 7929 | (char *) "self", NULL |
cfe5e918 RD |
7930 | }; |
7931 | ||
3004cfd8 RD |
7932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; |
7933 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7934 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7935 | { |
7936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7937 | result = (int)(arg1)->GetCaretWidth(); |
cfe5e918 RD |
7938 | |
7939 | wxPyEndAllowThreads(__tstate); | |
7940 | if (PyErr_Occurred()) SWIG_fail; | |
7941 | } | |
3004cfd8 RD |
7942 | { |
7943 | resultobj = SWIG_From_int((int)(result)); | |
7944 | } | |
cfe5e918 RD |
7945 | return resultobj; |
7946 | fail: | |
7947 | return NULL; | |
7948 | } | |
7949 | ||
7950 | ||
3004cfd8 | 7951 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7952 | PyObject *resultobj; |
7953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 7954 | int arg2 ; |
cfe5e918 RD |
7955 | PyObject * obj0 = 0 ; |
7956 | PyObject * obj1 = 0 ; | |
7957 | char *kwnames[] = { | |
3004cfd8 | 7958 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
7959 | }; |
7960 | ||
3004cfd8 RD |
7961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; |
7962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 7964 | { |
3004cfd8 RD |
7965 | arg2 = (int)(SWIG_As_int(obj1)); |
7966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
7967 | } |
7968 | { | |
7969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7970 | (arg1)->SetTargetStart(arg2); |
cfe5e918 RD |
7971 | |
7972 | wxPyEndAllowThreads(__tstate); | |
7973 | if (PyErr_Occurred()) SWIG_fail; | |
7974 | } | |
7975 | Py_INCREF(Py_None); resultobj = Py_None; | |
7976 | return resultobj; | |
7977 | fail: | |
7978 | return NULL; | |
7979 | } | |
7980 | ||
7981 | ||
3004cfd8 | 7982 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7983 | PyObject *resultobj; |
7984 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
7985 | int result; |
7986 | PyObject * obj0 = 0 ; | |
cfe5e918 | 7987 | char *kwnames[] = { |
3004cfd8 | 7988 | (char *) "self", NULL |
cfe5e918 RD |
7989 | }; |
7990 | ||
3004cfd8 RD |
7991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; |
7992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
7994 | { |
7995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 7996 | result = (int)(arg1)->GetTargetStart(); |
cfe5e918 RD |
7997 | |
7998 | wxPyEndAllowThreads(__tstate); | |
7999 | if (PyErr_Occurred()) SWIG_fail; | |
8000 | } | |
3004cfd8 RD |
8001 | { |
8002 | resultobj = SWIG_From_int((int)(result)); | |
8003 | } | |
cfe5e918 RD |
8004 | return resultobj; |
8005 | fail: | |
8006 | return NULL; | |
8007 | } | |
8008 | ||
8009 | ||
3004cfd8 | 8010 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8011 | PyObject *resultobj; |
8012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8013 | int arg2 ; | |
cfe5e918 RD |
8014 | PyObject * obj0 = 0 ; |
8015 | PyObject * obj1 = 0 ; | |
8016 | char *kwnames[] = { | |
3004cfd8 | 8017 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
8018 | }; |
8019 | ||
3004cfd8 RD |
8020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; |
8021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8023 | { | |
8024 | arg2 = (int)(SWIG_As_int(obj1)); | |
8025 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8026 | } | |
cfe5e918 RD |
8027 | { |
8028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8029 | (arg1)->SetTargetEnd(arg2); |
cfe5e918 RD |
8030 | |
8031 | wxPyEndAllowThreads(__tstate); | |
8032 | if (PyErr_Occurred()) SWIG_fail; | |
8033 | } | |
3004cfd8 | 8034 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8035 | return resultobj; |
8036 | fail: | |
8037 | return NULL; | |
8038 | } | |
8039 | ||
8040 | ||
3004cfd8 | 8041 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8042 | PyObject *resultobj; |
8043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8044 | int result; |
cfe5e918 | 8045 | PyObject * obj0 = 0 ; |
cfe5e918 | 8046 | char *kwnames[] = { |
3004cfd8 | 8047 | (char *) "self", NULL |
cfe5e918 RD |
8048 | }; |
8049 | ||
3004cfd8 RD |
8050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; |
8051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8053 | { |
8054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8055 | result = (int)(arg1)->GetTargetEnd(); |
cfe5e918 RD |
8056 | |
8057 | wxPyEndAllowThreads(__tstate); | |
8058 | if (PyErr_Occurred()) SWIG_fail; | |
8059 | } | |
3004cfd8 RD |
8060 | { |
8061 | resultobj = SWIG_From_int((int)(result)); | |
8062 | } | |
cfe5e918 RD |
8063 | return resultobj; |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
3004cfd8 | 8069 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8070 | PyObject *resultobj; |
8071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8072 | wxString *arg2 = 0 ; |
cfe5e918 | 8073 | int result; |
3004cfd8 | 8074 | bool temp2 = false ; |
cfe5e918 RD |
8075 | PyObject * obj0 = 0 ; |
8076 | PyObject * obj1 = 0 ; | |
8077 | char *kwnames[] = { | |
3004cfd8 | 8078 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8079 | }; |
8080 | ||
3004cfd8 RD |
8081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; |
8082 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8083 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8084 | { | |
8085 | arg2 = wxString_in_helper(obj1); | |
8086 | if (arg2 == NULL) SWIG_fail; | |
8087 | temp2 = true; | |
8088 | } | |
cfe5e918 RD |
8089 | { |
8090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8091 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); |
cfe5e918 RD |
8092 | |
8093 | wxPyEndAllowThreads(__tstate); | |
8094 | if (PyErr_Occurred()) SWIG_fail; | |
8095 | } | |
3004cfd8 RD |
8096 | { |
8097 | resultobj = SWIG_From_int((int)(result)); | |
8098 | } | |
8099 | { | |
8100 | if (temp2) | |
8101 | delete arg2; | |
8102 | } | |
cfe5e918 RD |
8103 | return resultobj; |
8104 | fail: | |
3004cfd8 RD |
8105 | { |
8106 | if (temp2) | |
8107 | delete arg2; | |
8108 | } | |
cfe5e918 RD |
8109 | return NULL; |
8110 | } | |
8111 | ||
8112 | ||
3004cfd8 | 8113 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8114 | PyObject *resultobj; |
8115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8116 | wxString *arg2 = 0 ; |
cfe5e918 | 8117 | int result; |
3004cfd8 | 8118 | bool temp2 = false ; |
cfe5e918 RD |
8119 | PyObject * obj0 = 0 ; |
8120 | PyObject * obj1 = 0 ; | |
cfe5e918 | 8121 | char *kwnames[] = { |
3004cfd8 | 8122 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8123 | }; |
8124 | ||
3004cfd8 RD |
8125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; |
8126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8128 | { | |
8129 | arg2 = wxString_in_helper(obj1); | |
8130 | if (arg2 == NULL) SWIG_fail; | |
8131 | temp2 = true; | |
8132 | } | |
cfe5e918 RD |
8133 | { |
8134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8135 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); |
cfe5e918 RD |
8136 | |
8137 | wxPyEndAllowThreads(__tstate); | |
8138 | if (PyErr_Occurred()) SWIG_fail; | |
8139 | } | |
3004cfd8 RD |
8140 | { |
8141 | resultobj = SWIG_From_int((int)(result)); | |
8142 | } | |
8143 | { | |
8144 | if (temp2) | |
8145 | delete arg2; | |
8146 | } | |
cfe5e918 RD |
8147 | return resultobj; |
8148 | fail: | |
3004cfd8 RD |
8149 | { |
8150 | if (temp2) | |
8151 | delete arg2; | |
8152 | } | |
cfe5e918 RD |
8153 | return NULL; |
8154 | } | |
8155 | ||
8156 | ||
3004cfd8 | 8157 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8158 | PyObject *resultobj; |
8159 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8160 | wxString *arg2 = 0 ; |
cfe5e918 | 8161 | int result; |
3004cfd8 | 8162 | bool temp2 = false ; |
cfe5e918 RD |
8163 | PyObject * obj0 = 0 ; |
8164 | PyObject * obj1 = 0 ; | |
8165 | char *kwnames[] = { | |
3004cfd8 | 8166 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8167 | }; |
8168 | ||
3004cfd8 RD |
8169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; |
8170 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8171 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8172 | { | |
8173 | arg2 = wxString_in_helper(obj1); | |
8174 | if (arg2 == NULL) SWIG_fail; | |
8175 | temp2 = true; | |
8176 | } | |
cfe5e918 RD |
8177 | { |
8178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8179 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); |
cfe5e918 RD |
8180 | |
8181 | wxPyEndAllowThreads(__tstate); | |
8182 | if (PyErr_Occurred()) SWIG_fail; | |
8183 | } | |
3004cfd8 RD |
8184 | { |
8185 | resultobj = SWIG_From_int((int)(result)); | |
8186 | } | |
8187 | { | |
8188 | if (temp2) | |
8189 | delete arg2; | |
8190 | } | |
cfe5e918 RD |
8191 | return resultobj; |
8192 | fail: | |
3004cfd8 RD |
8193 | { |
8194 | if (temp2) | |
8195 | delete arg2; | |
8196 | } | |
cfe5e918 RD |
8197 | return NULL; |
8198 | } | |
8199 | ||
8200 | ||
3004cfd8 | 8201 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8202 | PyObject *resultobj; |
8203 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8204 | int arg2 ; | |
cfe5e918 RD |
8205 | PyObject * obj0 = 0 ; |
8206 | PyObject * obj1 = 0 ; | |
cfe5e918 | 8207 | char *kwnames[] = { |
3004cfd8 | 8208 | (char *) "self",(char *) "flags", NULL |
cfe5e918 RD |
8209 | }; |
8210 | ||
3004cfd8 RD |
8211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; |
8212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8214 | { | |
8215 | arg2 = (int)(SWIG_As_int(obj1)); | |
8216 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8217 | } | |
cfe5e918 RD |
8218 | { |
8219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8220 | (arg1)->SetSearchFlags(arg2); |
cfe5e918 RD |
8221 | |
8222 | wxPyEndAllowThreads(__tstate); | |
8223 | if (PyErr_Occurred()) SWIG_fail; | |
8224 | } | |
8225 | Py_INCREF(Py_None); resultobj = Py_None; | |
8226 | return resultobj; | |
8227 | fail: | |
8228 | return NULL; | |
8229 | } | |
8230 | ||
8231 | ||
3004cfd8 | 8232 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8233 | PyObject *resultobj; |
8234 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8235 | int result; |
cfe5e918 | 8236 | PyObject * obj0 = 0 ; |
cfe5e918 | 8237 | char *kwnames[] = { |
3004cfd8 | 8238 | (char *) "self", NULL |
cfe5e918 RD |
8239 | }; |
8240 | ||
3004cfd8 RD |
8241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; |
8242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8244 | { |
8245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8246 | result = (int)(arg1)->GetSearchFlags(); |
cfe5e918 RD |
8247 | |
8248 | wxPyEndAllowThreads(__tstate); | |
8249 | if (PyErr_Occurred()) SWIG_fail; | |
8250 | } | |
3004cfd8 RD |
8251 | { |
8252 | resultobj = SWIG_From_int((int)(result)); | |
8253 | } | |
cfe5e918 RD |
8254 | return resultobj; |
8255 | fail: | |
8256 | return NULL; | |
8257 | } | |
8258 | ||
8259 | ||
3004cfd8 | 8260 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8261 | PyObject *resultobj; |
8262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8263 | int arg2 ; | |
3004cfd8 RD |
8264 | wxString *arg3 = 0 ; |
8265 | bool temp3 = false ; | |
cfe5e918 RD |
8266 | PyObject * obj0 = 0 ; |
8267 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8268 | PyObject * obj2 = 0 ; |
cfe5e918 | 8269 | char *kwnames[] = { |
3004cfd8 | 8270 | (char *) "self",(char *) "pos",(char *) "definition", NULL |
cfe5e918 RD |
8271 | }; |
8272 | ||
3004cfd8 RD |
8273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8276 | { | |
8277 | arg2 = (int)(SWIG_As_int(obj1)); | |
8278 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8279 | } | |
8280 | { | |
8281 | arg3 = wxString_in_helper(obj2); | |
8282 | if (arg3 == NULL) SWIG_fail; | |
8283 | temp3 = true; | |
8284 | } | |
cfe5e918 RD |
8285 | { |
8286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8287 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
8288 | |
8289 | wxPyEndAllowThreads(__tstate); | |
8290 | if (PyErr_Occurred()) SWIG_fail; | |
8291 | } | |
3004cfd8 | 8292 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 8293 | { |
3004cfd8 RD |
8294 | if (temp3) |
8295 | delete arg3; | |
cfe5e918 RD |
8296 | } |
8297 | return resultobj; | |
8298 | fail: | |
3004cfd8 RD |
8299 | { |
8300 | if (temp3) | |
8301 | delete arg3; | |
8302 | } | |
cfe5e918 RD |
8303 | return NULL; |
8304 | } | |
8305 | ||
8306 | ||
3004cfd8 | 8307 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8308 | PyObject *resultobj; |
8309 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 8310 | PyObject * obj0 = 0 ; |
cfe5e918 | 8311 | char *kwnames[] = { |
3004cfd8 | 8312 | (char *) "self", NULL |
cfe5e918 RD |
8313 | }; |
8314 | ||
3004cfd8 RD |
8315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; |
8316 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8317 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8318 | { |
8319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8320 | (arg1)->CallTipCancel(); |
cfe5e918 RD |
8321 | |
8322 | wxPyEndAllowThreads(__tstate); | |
8323 | if (PyErr_Occurred()) SWIG_fail; | |
8324 | } | |
8325 | Py_INCREF(Py_None); resultobj = Py_None; | |
8326 | return resultobj; | |
8327 | fail: | |
8328 | return NULL; | |
8329 | } | |
8330 | ||
8331 | ||
3004cfd8 | 8332 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8333 | PyObject *resultobj; |
8334 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
8335 | bool result; |
8336 | PyObject * obj0 = 0 ; | |
cfe5e918 | 8337 | char *kwnames[] = { |
3004cfd8 | 8338 | (char *) "self", NULL |
cfe5e918 RD |
8339 | }; |
8340 | ||
3004cfd8 RD |
8341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; |
8342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8344 | { |
8345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8346 | result = (bool)(arg1)->CallTipActive(); |
cfe5e918 RD |
8347 | |
8348 | wxPyEndAllowThreads(__tstate); | |
8349 | if (PyErr_Occurred()) SWIG_fail; | |
8350 | } | |
8351 | { | |
8352 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8353 | } | |
8354 | return resultobj; | |
8355 | fail: | |
8356 | return NULL; | |
8357 | } | |
8358 | ||
8359 | ||
3004cfd8 | 8360 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8361 | PyObject *resultobj; |
8362 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8363 | int result; |
cfe5e918 | 8364 | PyObject * obj0 = 0 ; |
cfe5e918 | 8365 | char *kwnames[] = { |
3004cfd8 | 8366 | (char *) "self", NULL |
cfe5e918 RD |
8367 | }; |
8368 | ||
3004cfd8 RD |
8369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; |
8370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
8372 | { |
8373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8374 | result = (int)(arg1)->CallTipPosAtStart(); |
cfe5e918 RD |
8375 | |
8376 | wxPyEndAllowThreads(__tstate); | |
8377 | if (PyErr_Occurred()) SWIG_fail; | |
8378 | } | |
3004cfd8 RD |
8379 | { |
8380 | resultobj = SWIG_From_int((int)(result)); | |
8381 | } | |
cfe5e918 RD |
8382 | return resultobj; |
8383 | fail: | |
8384 | return NULL; | |
8385 | } | |
8386 | ||
8387 | ||
3004cfd8 | 8388 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8389 | PyObject *resultobj; |
8390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8391 | int arg2 ; | |
3004cfd8 | 8392 | int arg3 ; |
cfe5e918 RD |
8393 | PyObject * obj0 = 0 ; |
8394 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8395 | PyObject * obj2 = 0 ; |
cfe5e918 | 8396 | char *kwnames[] = { |
3004cfd8 | 8397 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
8398 | }; |
8399 | ||
3004cfd8 RD |
8400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8401 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8402 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8403 | { | |
8404 | arg2 = (int)(SWIG_As_int(obj1)); | |
8405 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8406 | } | |
8407 | { | |
8408 | arg3 = (int)(SWIG_As_int(obj2)); | |
8409 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8410 | } | |
cfe5e918 RD |
8411 | { |
8412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8413 | (arg1)->CallTipSetHighlight(arg2,arg3); |
cfe5e918 RD |
8414 | |
8415 | wxPyEndAllowThreads(__tstate); | |
8416 | if (PyErr_Occurred()) SWIG_fail; | |
8417 | } | |
8418 | Py_INCREF(Py_None); resultobj = Py_None; | |
8419 | return resultobj; | |
8420 | fail: | |
8421 | return NULL; | |
8422 | } | |
8423 | ||
8424 | ||
3004cfd8 | 8425 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8426 | PyObject *resultobj; |
8427 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8428 | wxColour *arg2 = 0 ; |
8429 | wxColour temp2 ; | |
cfe5e918 RD |
8430 | PyObject * obj0 = 0 ; |
8431 | PyObject * obj1 = 0 ; | |
8432 | char *kwnames[] = { | |
3004cfd8 | 8433 | (char *) "self",(char *) "back", NULL |
cfe5e918 RD |
8434 | }; |
8435 | ||
3004cfd8 RD |
8436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; |
8437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8439 | { | |
8440 | arg2 = &temp2; | |
8441 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8442 | } | |
cfe5e918 RD |
8443 | { |
8444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8445 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); |
cfe5e918 RD |
8446 | |
8447 | wxPyEndAllowThreads(__tstate); | |
8448 | if (PyErr_Occurred()) SWIG_fail; | |
8449 | } | |
8450 | Py_INCREF(Py_None); resultobj = Py_None; | |
8451 | return resultobj; | |
8452 | fail: | |
8453 | return NULL; | |
8454 | } | |
8455 | ||
8456 | ||
3004cfd8 | 8457 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8458 | PyObject *resultobj; |
8459 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8460 | wxColour *arg2 = 0 ; |
8461 | wxColour temp2 ; | |
cfe5e918 RD |
8462 | PyObject * obj0 = 0 ; |
8463 | PyObject * obj1 = 0 ; | |
8464 | char *kwnames[] = { | |
3004cfd8 | 8465 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
8466 | }; |
8467 | ||
3004cfd8 RD |
8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; |
8469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8471 | { | |
8472 | arg2 = &temp2; | |
8473 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8474 | } | |
cfe5e918 RD |
8475 | { |
8476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8477 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); |
cfe5e918 RD |
8478 | |
8479 | wxPyEndAllowThreads(__tstate); | |
8480 | if (PyErr_Occurred()) SWIG_fail; | |
8481 | } | |
8482 | Py_INCREF(Py_None); resultobj = Py_None; | |
8483 | return resultobj; | |
8484 | fail: | |
8485 | return NULL; | |
8486 | } | |
8487 | ||
8488 | ||
3004cfd8 | 8489 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8490 | PyObject *resultobj; |
8491 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8492 | wxColour *arg2 = 0 ; |
8493 | wxColour temp2 ; | |
cfe5e918 RD |
8494 | PyObject * obj0 = 0 ; |
8495 | PyObject * obj1 = 0 ; | |
8496 | char *kwnames[] = { | |
3004cfd8 | 8497 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
8498 | }; |
8499 | ||
3004cfd8 RD |
8500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; |
8501 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8502 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8503 | { | |
8504 | arg2 = &temp2; | |
8505 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8506 | } | |
cfe5e918 RD |
8507 | { |
8508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8509 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); |
cfe5e918 RD |
8510 | |
8511 | wxPyEndAllowThreads(__tstate); | |
8512 | if (PyErr_Occurred()) SWIG_fail; | |
8513 | } | |
8514 | Py_INCREF(Py_None); resultobj = Py_None; | |
8515 | return resultobj; | |
8516 | fail: | |
8517 | return NULL; | |
8518 | } | |
8519 | ||
8520 | ||
3004cfd8 | 8521 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8522 | PyObject *resultobj; |
8523 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8524 | int arg2 ; |
8525 | int result; | |
cfe5e918 | 8526 | PyObject * obj0 = 0 ; |
3004cfd8 | 8527 | PyObject * obj1 = 0 ; |
cfe5e918 | 8528 | char *kwnames[] = { |
3004cfd8 | 8529 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8530 | }; |
8531 | ||
3004cfd8 RD |
8532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; |
8533 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8534 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8535 | { | |
8536 | arg2 = (int)(SWIG_As_int(obj1)); | |
8537 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8538 | } | |
cfe5e918 RD |
8539 | { |
8540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8541 | result = (int)(arg1)->VisibleFromDocLine(arg2); |
cfe5e918 RD |
8542 | |
8543 | wxPyEndAllowThreads(__tstate); | |
8544 | if (PyErr_Occurred()) SWIG_fail; | |
8545 | } | |
8546 | { | |
3004cfd8 | 8547 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
8548 | } |
8549 | return resultobj; | |
8550 | fail: | |
8551 | return NULL; | |
8552 | } | |
8553 | ||
8554 | ||
3004cfd8 | 8555 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8556 | PyObject *resultobj; |
8557 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8558 | int arg2 ; |
8559 | int result; | |
cfe5e918 RD |
8560 | PyObject * obj0 = 0 ; |
8561 | PyObject * obj1 = 0 ; | |
8562 | char *kwnames[] = { | |
3004cfd8 | 8563 | (char *) "self",(char *) "lineDisplay", NULL |
cfe5e918 RD |
8564 | }; |
8565 | ||
3004cfd8 RD |
8566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; |
8567 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8569 | { | |
8570 | arg2 = (int)(SWIG_As_int(obj1)); | |
8571 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8572 | } | |
cfe5e918 RD |
8573 | { |
8574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8575 | result = (int)(arg1)->DocLineFromVisible(arg2); |
cfe5e918 RD |
8576 | |
8577 | wxPyEndAllowThreads(__tstate); | |
8578 | if (PyErr_Occurred()) SWIG_fail; | |
8579 | } | |
3004cfd8 RD |
8580 | { |
8581 | resultobj = SWIG_From_int((int)(result)); | |
8582 | } | |
cfe5e918 RD |
8583 | return resultobj; |
8584 | fail: | |
8585 | return NULL; | |
8586 | } | |
8587 | ||
8588 | ||
3004cfd8 | 8589 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8590 | PyObject *resultobj; |
8591 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8592 | int arg2 ; |
8593 | int arg3 ; | |
cfe5e918 | 8594 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
8595 | PyObject * obj1 = 0 ; |
8596 | PyObject * obj2 = 0 ; | |
cfe5e918 | 8597 | char *kwnames[] = { |
3004cfd8 | 8598 | (char *) "self",(char *) "line",(char *) "level", NULL |
cfe5e918 RD |
8599 | }; |
8600 | ||
3004cfd8 RD |
8601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8604 | { | |
8605 | arg2 = (int)(SWIG_As_int(obj1)); | |
8606 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8607 | } | |
8608 | { | |
8609 | arg3 = (int)(SWIG_As_int(obj2)); | |
8610 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8611 | } | |
cfe5e918 RD |
8612 | { |
8613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8614 | (arg1)->SetFoldLevel(arg2,arg3); |
cfe5e918 RD |
8615 | |
8616 | wxPyEndAllowThreads(__tstate); | |
8617 | if (PyErr_Occurred()) SWIG_fail; | |
8618 | } | |
3004cfd8 | 8619 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8620 | return resultobj; |
8621 | fail: | |
8622 | return NULL; | |
8623 | } | |
8624 | ||
8625 | ||
3004cfd8 | 8626 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8627 | PyObject *resultobj; |
8628 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8629 | int arg2 ; | |
3004cfd8 | 8630 | int result; |
cfe5e918 RD |
8631 | PyObject * obj0 = 0 ; |
8632 | PyObject * obj1 = 0 ; | |
8633 | char *kwnames[] = { | |
3004cfd8 | 8634 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8635 | }; |
8636 | ||
3004cfd8 RD |
8637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; |
8638 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8639 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8640 | { | |
8641 | arg2 = (int)(SWIG_As_int(obj1)); | |
8642 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8643 | } | |
cfe5e918 RD |
8644 | { |
8645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8646 | result = (int)(arg1)->GetFoldLevel(arg2); |
cfe5e918 RD |
8647 | |
8648 | wxPyEndAllowThreads(__tstate); | |
8649 | if (PyErr_Occurred()) SWIG_fail; | |
8650 | } | |
3004cfd8 RD |
8651 | { |
8652 | resultobj = SWIG_From_int((int)(result)); | |
8653 | } | |
cfe5e918 RD |
8654 | return resultobj; |
8655 | fail: | |
8656 | return NULL; | |
8657 | } | |
8658 | ||
8659 | ||
3004cfd8 | 8660 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8661 | PyObject *resultobj; |
8662 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8663 | int arg2 ; |
8664 | int arg3 ; | |
cfe5e918 RD |
8665 | int result; |
8666 | PyObject * obj0 = 0 ; | |
3004cfd8 RD |
8667 | PyObject * obj1 = 0 ; |
8668 | PyObject * obj2 = 0 ; | |
cfe5e918 | 8669 | char *kwnames[] = { |
3004cfd8 | 8670 | (char *) "self",(char *) "line",(char *) "level", NULL |
cfe5e918 RD |
8671 | }; |
8672 | ||
3004cfd8 RD |
8673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8674 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8675 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8676 | { | |
8677 | arg2 = (int)(SWIG_As_int(obj1)); | |
8678 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8679 | } | |
8680 | { | |
8681 | arg3 = (int)(SWIG_As_int(obj2)); | |
8682 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8683 | } | |
cfe5e918 RD |
8684 | { |
8685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8686 | result = (int)(arg1)->GetLastChild(arg2,arg3); |
cfe5e918 RD |
8687 | |
8688 | wxPyEndAllowThreads(__tstate); | |
8689 | if (PyErr_Occurred()) SWIG_fail; | |
8690 | } | |
3004cfd8 RD |
8691 | { |
8692 | resultobj = SWIG_From_int((int)(result)); | |
8693 | } | |
cfe5e918 RD |
8694 | return resultobj; |
8695 | fail: | |
8696 | return NULL; | |
8697 | } | |
8698 | ||
8699 | ||
3004cfd8 | 8700 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8701 | PyObject *resultobj; |
8702 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8703 | int arg2 ; | |
cfe5e918 RD |
8704 | int result; |
8705 | PyObject * obj0 = 0 ; | |
8706 | PyObject * obj1 = 0 ; | |
cfe5e918 | 8707 | char *kwnames[] = { |
3004cfd8 | 8708 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8709 | }; |
8710 | ||
3004cfd8 RD |
8711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; |
8712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8714 | { | |
8715 | arg2 = (int)(SWIG_As_int(obj1)); | |
8716 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8717 | } | |
cfe5e918 RD |
8718 | { |
8719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8720 | result = (int)(arg1)->GetFoldParent(arg2); |
cfe5e918 RD |
8721 | |
8722 | wxPyEndAllowThreads(__tstate); | |
8723 | if (PyErr_Occurred()) SWIG_fail; | |
8724 | } | |
3004cfd8 RD |
8725 | { |
8726 | resultobj = SWIG_From_int((int)(result)); | |
8727 | } | |
cfe5e918 RD |
8728 | return resultobj; |
8729 | fail: | |
8730 | return NULL; | |
8731 | } | |
8732 | ||
8733 | ||
3004cfd8 | 8734 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8735 | PyObject *resultobj; |
8736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8737 | int arg2 ; | |
3004cfd8 | 8738 | int arg3 ; |
cfe5e918 RD |
8739 | PyObject * obj0 = 0 ; |
8740 | PyObject * obj1 = 0 ; | |
8741 | PyObject * obj2 = 0 ; | |
8742 | char *kwnames[] = { | |
3004cfd8 | 8743 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
cfe5e918 RD |
8744 | }; |
8745 | ||
3004cfd8 RD |
8746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8749 | { | |
8750 | arg2 = (int)(SWIG_As_int(obj1)); | |
8751 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8752 | } | |
8753 | { | |
8754 | arg3 = (int)(SWIG_As_int(obj2)); | |
8755 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8756 | } | |
cfe5e918 RD |
8757 | { |
8758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8759 | (arg1)->ShowLines(arg2,arg3); |
cfe5e918 RD |
8760 | |
8761 | wxPyEndAllowThreads(__tstate); | |
8762 | if (PyErr_Occurred()) SWIG_fail; | |
8763 | } | |
3004cfd8 | 8764 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8765 | return resultobj; |
8766 | fail: | |
8767 | return NULL; | |
8768 | } | |
8769 | ||
8770 | ||
3004cfd8 | 8771 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8772 | PyObject *resultobj; |
8773 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8774 | int arg2 ; | |
3004cfd8 | 8775 | int arg3 ; |
cfe5e918 RD |
8776 | PyObject * obj0 = 0 ; |
8777 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8778 | PyObject * obj2 = 0 ; |
cfe5e918 | 8779 | char *kwnames[] = { |
3004cfd8 | 8780 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
cfe5e918 RD |
8781 | }; |
8782 | ||
3004cfd8 RD |
8783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8786 | { | |
8787 | arg2 = (int)(SWIG_As_int(obj1)); | |
8788 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8789 | } | |
8790 | { | |
8791 | arg3 = (int)(SWIG_As_int(obj2)); | |
8792 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8793 | } | |
cfe5e918 RD |
8794 | { |
8795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8796 | (arg1)->HideLines(arg2,arg3); |
cfe5e918 RD |
8797 | |
8798 | wxPyEndAllowThreads(__tstate); | |
8799 | if (PyErr_Occurred()) SWIG_fail; | |
8800 | } | |
8801 | Py_INCREF(Py_None); resultobj = Py_None; | |
8802 | return resultobj; | |
8803 | fail: | |
8804 | return NULL; | |
8805 | } | |
8806 | ||
8807 | ||
3004cfd8 | 8808 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8809 | PyObject *resultobj; |
8810 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8811 | int arg2 ; |
8812 | bool result; | |
cfe5e918 | 8813 | PyObject * obj0 = 0 ; |
3004cfd8 | 8814 | PyObject * obj1 = 0 ; |
cfe5e918 | 8815 | char *kwnames[] = { |
3004cfd8 | 8816 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8817 | }; |
8818 | ||
3004cfd8 RD |
8819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; |
8820 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8821 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8822 | { | |
8823 | arg2 = (int)(SWIG_As_int(obj1)); | |
8824 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8825 | } | |
cfe5e918 RD |
8826 | { |
8827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8828 | result = (bool)(arg1)->GetLineVisible(arg2); |
cfe5e918 RD |
8829 | |
8830 | wxPyEndAllowThreads(__tstate); | |
8831 | if (PyErr_Occurred()) SWIG_fail; | |
8832 | } | |
3004cfd8 RD |
8833 | { |
8834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8835 | } | |
cfe5e918 RD |
8836 | return resultobj; |
8837 | fail: | |
8838 | return NULL; | |
8839 | } | |
8840 | ||
8841 | ||
3004cfd8 | 8842 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8843 | PyObject *resultobj; |
8844 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8845 | int arg2 ; | |
3004cfd8 | 8846 | bool arg3 ; |
b6294124 RD |
8847 | PyObject * obj0 = 0 ; |
8848 | PyObject * obj1 = 0 ; | |
3004cfd8 | 8849 | PyObject * obj2 = 0 ; |
b6294124 | 8850 | char *kwnames[] = { |
3004cfd8 | 8851 | (char *) "self",(char *) "line",(char *) "expanded", NULL |
b6294124 RD |
8852 | }; |
8853 | ||
3004cfd8 RD |
8854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8857 | { | |
8858 | arg2 = (int)(SWIG_As_int(obj1)); | |
8859 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8860 | } | |
8861 | { | |
8862 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8863 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8864 | } | |
b6294124 RD |
8865 | { |
8866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8867 | (arg1)->SetFoldExpanded(arg2,arg3); |
b6294124 RD |
8868 | |
8869 | wxPyEndAllowThreads(__tstate); | |
8870 | if (PyErr_Occurred()) SWIG_fail; | |
8871 | } | |
8872 | Py_INCREF(Py_None); resultobj = Py_None; | |
8873 | return resultobj; | |
8874 | fail: | |
8875 | return NULL; | |
8876 | } | |
8877 | ||
8878 | ||
3004cfd8 | 8879 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8880 | PyObject *resultobj; |
8881 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
8882 | int arg2 ; |
8883 | bool result; | |
b6294124 | 8884 | PyObject * obj0 = 0 ; |
3004cfd8 | 8885 | PyObject * obj1 = 0 ; |
b6294124 | 8886 | char *kwnames[] = { |
3004cfd8 | 8887 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
8888 | }; |
8889 | ||
3004cfd8 RD |
8890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; |
8891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8893 | { | |
8894 | arg2 = (int)(SWIG_As_int(obj1)); | |
8895 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8896 | } | |
b6294124 RD |
8897 | { |
8898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8899 | result = (bool)(arg1)->GetFoldExpanded(arg2); |
b6294124 RD |
8900 | |
8901 | wxPyEndAllowThreads(__tstate); | |
8902 | if (PyErr_Occurred()) SWIG_fail; | |
8903 | } | |
3004cfd8 RD |
8904 | { |
8905 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8906 | } | |
b6294124 RD |
8907 | return resultobj; |
8908 | fail: | |
8909 | return NULL; | |
8910 | } | |
8911 | ||
8912 | ||
3004cfd8 | 8913 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8914 | PyObject *resultobj; |
8915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8916 | int arg2 ; | |
8917 | PyObject * obj0 = 0 ; | |
8918 | PyObject * obj1 = 0 ; | |
8919 | char *kwnames[] = { | |
3004cfd8 | 8920 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
8921 | }; |
8922 | ||
3004cfd8 RD |
8923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; |
8924 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8925 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8926 | { | |
8927 | arg2 = (int)(SWIG_As_int(obj1)); | |
8928 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8929 | } | |
b6294124 RD |
8930 | { |
8931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8932 | (arg1)->ToggleFold(arg2); |
b6294124 RD |
8933 | |
8934 | wxPyEndAllowThreads(__tstate); | |
8935 | if (PyErr_Occurred()) SWIG_fail; | |
8936 | } | |
8937 | Py_INCREF(Py_None); resultobj = Py_None; | |
8938 | return resultobj; | |
8939 | fail: | |
8940 | return NULL; | |
8941 | } | |
8942 | ||
8943 | ||
3004cfd8 | 8944 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8945 | PyObject *resultobj; |
8946 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 8947 | int arg2 ; |
b6294124 | 8948 | PyObject * obj0 = 0 ; |
3004cfd8 | 8949 | PyObject * obj1 = 0 ; |
b6294124 | 8950 | char *kwnames[] = { |
3004cfd8 | 8951 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
8952 | }; |
8953 | ||
3004cfd8 RD |
8954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; |
8955 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8956 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8957 | { | |
8958 | arg2 = (int)(SWIG_As_int(obj1)); | |
8959 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8960 | } | |
b6294124 RD |
8961 | { |
8962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8963 | (arg1)->EnsureVisible(arg2); |
b6294124 RD |
8964 | |
8965 | wxPyEndAllowThreads(__tstate); | |
8966 | if (PyErr_Occurred()) SWIG_fail; | |
8967 | } | |
3004cfd8 | 8968 | Py_INCREF(Py_None); resultobj = Py_None; |
b6294124 RD |
8969 | return resultobj; |
8970 | fail: | |
8971 | return NULL; | |
8972 | } | |
8973 | ||
8974 | ||
3004cfd8 | 8975 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
8976 | PyObject *resultobj; |
8977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8978 | int arg2 ; | |
8979 | PyObject * obj0 = 0 ; | |
8980 | PyObject * obj1 = 0 ; | |
8981 | char *kwnames[] = { | |
3004cfd8 | 8982 | (char *) "self",(char *) "flags", NULL |
b6294124 RD |
8983 | }; |
8984 | ||
3004cfd8 RD |
8985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; |
8986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8988 | { | |
8989 | arg2 = (int)(SWIG_As_int(obj1)); | |
8990 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8991 | } | |
b6294124 RD |
8992 | { |
8993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 8994 | (arg1)->SetFoldFlags(arg2); |
b6294124 RD |
8995 | |
8996 | wxPyEndAllowThreads(__tstate); | |
8997 | if (PyErr_Occurred()) SWIG_fail; | |
8998 | } | |
8999 | Py_INCREF(Py_None); resultobj = Py_None; | |
9000 | return resultobj; | |
9001 | fail: | |
9002 | return NULL; | |
9003 | } | |
9004 | ||
9005 | ||
3004cfd8 | 9006 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
9007 | PyObject *resultobj; |
9008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9009 | int arg2 ; |
b6294124 | 9010 | PyObject * obj0 = 0 ; |
3004cfd8 | 9011 | PyObject * obj1 = 0 ; |
b6294124 | 9012 | char *kwnames[] = { |
3004cfd8 | 9013 | (char *) "self",(char *) "line", NULL |
b6294124 RD |
9014 | }; |
9015 | ||
3004cfd8 RD |
9016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; |
9017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9019 | { | |
9020 | arg2 = (int)(SWIG_As_int(obj1)); | |
9021 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9022 | } | |
b6294124 RD |
9023 | { |
9024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9025 | (arg1)->EnsureVisibleEnforcePolicy(arg2); |
b6294124 RD |
9026 | |
9027 | wxPyEndAllowThreads(__tstate); | |
9028 | if (PyErr_Occurred()) SWIG_fail; | |
9029 | } | |
3004cfd8 | 9030 | Py_INCREF(Py_None); resultobj = Py_None; |
b6294124 RD |
9031 | return resultobj; |
9032 | fail: | |
9033 | return NULL; | |
9034 | } | |
9035 | ||
9036 | ||
3004cfd8 | 9037 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9038 | PyObject *resultobj; |
9039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9040 | bool arg2 ; |
cfe5e918 RD |
9041 | PyObject * obj0 = 0 ; |
9042 | PyObject * obj1 = 0 ; | |
9043 | char *kwnames[] = { | |
3004cfd8 | 9044 | (char *) "self",(char *) "tabIndents", NULL |
cfe5e918 RD |
9045 | }; |
9046 | ||
3004cfd8 RD |
9047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; |
9048 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9049 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9050 | { | |
9051 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9052 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9053 | } | |
cfe5e918 RD |
9054 | { |
9055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9056 | (arg1)->SetTabIndents(arg2); |
cfe5e918 RD |
9057 | |
9058 | wxPyEndAllowThreads(__tstate); | |
9059 | if (PyErr_Occurred()) SWIG_fail; | |
9060 | } | |
9061 | Py_INCREF(Py_None); resultobj = Py_None; | |
9062 | return resultobj; | |
9063 | fail: | |
9064 | return NULL; | |
9065 | } | |
9066 | ||
9067 | ||
3004cfd8 | 9068 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9069 | PyObject *resultobj; |
9070 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9071 | bool result; |
cfe5e918 RD |
9072 | PyObject * obj0 = 0 ; |
9073 | char *kwnames[] = { | |
9074 | (char *) "self", NULL | |
9075 | }; | |
9076 | ||
3004cfd8 RD |
9077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; |
9078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9080 | { |
9081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9082 | result = (bool)(arg1)->GetTabIndents(); |
cfe5e918 RD |
9083 | |
9084 | wxPyEndAllowThreads(__tstate); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
9086 | } | |
3004cfd8 RD |
9087 | { |
9088 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9089 | } | |
cfe5e918 RD |
9090 | return resultobj; |
9091 | fail: | |
9092 | return NULL; | |
9093 | } | |
9094 | ||
9095 | ||
3004cfd8 | 9096 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9097 | PyObject *resultobj; |
9098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9099 | bool arg2 ; |
cfe5e918 RD |
9100 | PyObject * obj0 = 0 ; |
9101 | PyObject * obj1 = 0 ; | |
9102 | char *kwnames[] = { | |
3004cfd8 | 9103 | (char *) "self",(char *) "bsUnIndents", NULL |
cfe5e918 RD |
9104 | }; |
9105 | ||
3004cfd8 RD |
9106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; |
9107 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9108 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9109 | { | |
9110 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9111 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9112 | } | |
cfe5e918 RD |
9113 | { |
9114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9115 | (arg1)->SetBackSpaceUnIndents(arg2); |
cfe5e918 RD |
9116 | |
9117 | wxPyEndAllowThreads(__tstate); | |
9118 | if (PyErr_Occurred()) SWIG_fail; | |
9119 | } | |
9120 | Py_INCREF(Py_None); resultobj = Py_None; | |
9121 | return resultobj; | |
9122 | fail: | |
9123 | return NULL; | |
9124 | } | |
9125 | ||
9126 | ||
3004cfd8 | 9127 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9128 | PyObject *resultobj; |
9129 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9130 | bool result; |
cfe5e918 RD |
9131 | PyObject * obj0 = 0 ; |
9132 | char *kwnames[] = { | |
9133 | (char *) "self", NULL | |
9134 | }; | |
9135 | ||
3004cfd8 RD |
9136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; |
9137 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9138 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9139 | { |
9140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9141 | result = (bool)(arg1)->GetBackSpaceUnIndents(); |
cfe5e918 RD |
9142 | |
9143 | wxPyEndAllowThreads(__tstate); | |
9144 | if (PyErr_Occurred()) SWIG_fail; | |
9145 | } | |
3004cfd8 RD |
9146 | { |
9147 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9148 | } | |
cfe5e918 RD |
9149 | return resultobj; |
9150 | fail: | |
9151 | return NULL; | |
9152 | } | |
9153 | ||
9154 | ||
3004cfd8 | 9155 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9156 | PyObject *resultobj; |
9157 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9158 | int arg2 ; | |
cfe5e918 RD |
9159 | PyObject * obj0 = 0 ; |
9160 | PyObject * obj1 = 0 ; | |
cfe5e918 | 9161 | char *kwnames[] = { |
3004cfd8 | 9162 | (char *) "self",(char *) "periodMilliseconds", NULL |
cfe5e918 RD |
9163 | }; |
9164 | ||
3004cfd8 RD |
9165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; |
9166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 9168 | { |
3004cfd8 RD |
9169 | arg2 = (int)(SWIG_As_int(obj1)); |
9170 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9171 | } |
9172 | { | |
9173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9174 | (arg1)->SetMouseDwellTime(arg2); |
cfe5e918 RD |
9175 | |
9176 | wxPyEndAllowThreads(__tstate); | |
9177 | if (PyErr_Occurred()) SWIG_fail; | |
9178 | } | |
3004cfd8 | 9179 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
9180 | return resultobj; |
9181 | fail: | |
cfe5e918 RD |
9182 | return NULL; |
9183 | } | |
9184 | ||
9185 | ||
3004cfd8 | 9186 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9187 | PyObject *resultobj; |
9188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9189 | int result; |
cfe5e918 | 9190 | PyObject * obj0 = 0 ; |
cfe5e918 | 9191 | char *kwnames[] = { |
3004cfd8 | 9192 | (char *) "self", NULL |
cfe5e918 RD |
9193 | }; |
9194 | ||
3004cfd8 RD |
9195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; |
9196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9198 | { |
9199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9200 | result = (int)(arg1)->GetMouseDwellTime(); |
cfe5e918 RD |
9201 | |
9202 | wxPyEndAllowThreads(__tstate); | |
9203 | if (PyErr_Occurred()) SWIG_fail; | |
9204 | } | |
3004cfd8 RD |
9205 | { |
9206 | resultobj = SWIG_From_int((int)(result)); | |
9207 | } | |
cfe5e918 RD |
9208 | return resultobj; |
9209 | fail: | |
9210 | return NULL; | |
9211 | } | |
9212 | ||
9213 | ||
3004cfd8 | 9214 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9215 | PyObject *resultobj; |
9216 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
9217 | int arg2 ; |
9218 | bool arg3 ; | |
cfe5e918 RD |
9219 | int result; |
9220 | PyObject * obj0 = 0 ; | |
3004cfd8 RD |
9221 | PyObject * obj1 = 0 ; |
9222 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9223 | char *kwnames[] = { |
3004cfd8 | 9224 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
cfe5e918 RD |
9225 | }; |
9226 | ||
3004cfd8 RD |
9227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9228 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9229 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9230 | { | |
9231 | arg2 = (int)(SWIG_As_int(obj1)); | |
9232 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9233 | } | |
9234 | { | |
9235 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
9236 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9237 | } | |
cfe5e918 RD |
9238 | { |
9239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9240 | result = (int)(arg1)->WordStartPosition(arg2,arg3); |
cfe5e918 RD |
9241 | |
9242 | wxPyEndAllowThreads(__tstate); | |
9243 | if (PyErr_Occurred()) SWIG_fail; | |
9244 | } | |
3004cfd8 RD |
9245 | { |
9246 | resultobj = SWIG_From_int((int)(result)); | |
9247 | } | |
cfe5e918 RD |
9248 | return resultobj; |
9249 | fail: | |
9250 | return NULL; | |
9251 | } | |
9252 | ||
9253 | ||
3004cfd8 | 9254 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9255 | PyObject *resultobj; |
9256 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9257 | int arg2 ; | |
3004cfd8 | 9258 | bool arg3 ; |
cfe5e918 RD |
9259 | int result; |
9260 | PyObject * obj0 = 0 ; | |
9261 | PyObject * obj1 = 0 ; | |
3004cfd8 | 9262 | PyObject * obj2 = 0 ; |
cfe5e918 | 9263 | char *kwnames[] = { |
3004cfd8 | 9264 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
cfe5e918 RD |
9265 | }; |
9266 | ||
3004cfd8 RD |
9267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9270 | { | |
9271 | arg2 = (int)(SWIG_As_int(obj1)); | |
9272 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9273 | } | |
9274 | { | |
9275 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
9276 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9277 | } | |
cfe5e918 RD |
9278 | { |
9279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9280 | result = (int)(arg1)->WordEndPosition(arg2,arg3); |
cfe5e918 RD |
9281 | |
9282 | wxPyEndAllowThreads(__tstate); | |
9283 | if (PyErr_Occurred()) SWIG_fail; | |
9284 | } | |
3004cfd8 RD |
9285 | { |
9286 | resultobj = SWIG_From_int((int)(result)); | |
9287 | } | |
cfe5e918 RD |
9288 | return resultobj; |
9289 | fail: | |
9290 | return NULL; | |
9291 | } | |
9292 | ||
9293 | ||
3004cfd8 | 9294 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9295 | PyObject *resultobj; |
9296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9297 | int arg2 ; |
cfe5e918 RD |
9298 | PyObject * obj0 = 0 ; |
9299 | PyObject * obj1 = 0 ; | |
9300 | char *kwnames[] = { | |
3004cfd8 | 9301 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
9302 | }; |
9303 | ||
3004cfd8 RD |
9304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; |
9305 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9306 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9307 | { | |
9308 | arg2 = (int)(SWIG_As_int(obj1)); | |
9309 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9310 | } | |
cfe5e918 RD |
9311 | { |
9312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9313 | (arg1)->SetWrapMode(arg2); |
cfe5e918 RD |
9314 | |
9315 | wxPyEndAllowThreads(__tstate); | |
9316 | if (PyErr_Occurred()) SWIG_fail; | |
9317 | } | |
9318 | Py_INCREF(Py_None); resultobj = Py_None; | |
9319 | return resultobj; | |
9320 | fail: | |
9321 | return NULL; | |
9322 | } | |
9323 | ||
9324 | ||
3004cfd8 | 9325 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9326 | PyObject *resultobj; |
9327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9328 | int result; |
cfe5e918 RD |
9329 | PyObject * obj0 = 0 ; |
9330 | char *kwnames[] = { | |
9331 | (char *) "self", NULL | |
9332 | }; | |
9333 | ||
3004cfd8 RD |
9334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; |
9335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9337 | { |
9338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9339 | result = (int)(arg1)->GetWrapMode(); |
cfe5e918 RD |
9340 | |
9341 | wxPyEndAllowThreads(__tstate); | |
9342 | if (PyErr_Occurred()) SWIG_fail; | |
9343 | } | |
9344 | { | |
3004cfd8 | 9345 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
9346 | } |
9347 | return resultobj; | |
9348 | fail: | |
9349 | return NULL; | |
9350 | } | |
9351 | ||
9352 | ||
3004cfd8 | 9353 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9354 | PyObject *resultobj; |
9355 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9356 | int arg2 ; | |
cfe5e918 RD |
9357 | PyObject * obj0 = 0 ; |
9358 | PyObject * obj1 = 0 ; | |
cfe5e918 | 9359 | char *kwnames[] = { |
3004cfd8 | 9360 | (char *) "self",(char *) "wrapVisualFlags", NULL |
cfe5e918 RD |
9361 | }; |
9362 | ||
3004cfd8 RD |
9363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail; |
9364 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9365 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 9366 | { |
3004cfd8 RD |
9367 | arg2 = (int)(SWIG_As_int(obj1)); |
9368 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9369 | } |
9370 | { | |
9371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9372 | (arg1)->SetWrapVisualFlags(arg2); |
cfe5e918 RD |
9373 | |
9374 | wxPyEndAllowThreads(__tstate); | |
9375 | if (PyErr_Occurred()) SWIG_fail; | |
9376 | } | |
9377 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
9378 | return resultobj; |
9379 | fail: | |
cfe5e918 RD |
9380 | return NULL; |
9381 | } | |
9382 | ||
9383 | ||
3004cfd8 | 9384 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9385 | PyObject *resultobj; |
9386 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9387 | int result; |
cfe5e918 RD |
9388 | PyObject * obj0 = 0 ; |
9389 | char *kwnames[] = { | |
9390 | (char *) "self", NULL | |
9391 | }; | |
9392 | ||
3004cfd8 RD |
9393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail; |
9394 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9395 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9396 | { |
9397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9398 | result = (int)(arg1)->GetWrapVisualFlags(); |
cfe5e918 RD |
9399 | |
9400 | wxPyEndAllowThreads(__tstate); | |
9401 | if (PyErr_Occurred()) SWIG_fail; | |
9402 | } | |
9403 | { | |
3004cfd8 | 9404 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
9405 | } |
9406 | return resultobj; | |
9407 | fail: | |
9408 | return NULL; | |
9409 | } | |
9410 | ||
9411 | ||
3004cfd8 | 9412 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9413 | PyObject *resultobj; |
9414 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9415 | int arg2 ; |
cfe5e918 RD |
9416 | PyObject * obj0 = 0 ; |
9417 | PyObject * obj1 = 0 ; | |
9418 | char *kwnames[] = { | |
3004cfd8 | 9419 | (char *) "self",(char *) "wrapVisualFlagsLocation", NULL |
cfe5e918 RD |
9420 | }; |
9421 | ||
3004cfd8 RD |
9422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail; |
9423 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9424 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9425 | { | |
9426 | arg2 = (int)(SWIG_As_int(obj1)); | |
9427 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9428 | } | |
cfe5e918 RD |
9429 | { |
9430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9431 | (arg1)->SetWrapVisualFlagsLocation(arg2); |
cfe5e918 RD |
9432 | |
9433 | wxPyEndAllowThreads(__tstate); | |
9434 | if (PyErr_Occurred()) SWIG_fail; | |
9435 | } | |
9436 | Py_INCREF(Py_None); resultobj = Py_None; | |
9437 | return resultobj; | |
9438 | fail: | |
9439 | return NULL; | |
9440 | } | |
9441 | ||
9442 | ||
3004cfd8 | 9443 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9444 | PyObject *resultobj; |
9445 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9446 | int result; |
cfe5e918 RD |
9447 | PyObject * obj0 = 0 ; |
9448 | char *kwnames[] = { | |
9449 | (char *) "self", NULL | |
9450 | }; | |
9451 | ||
3004cfd8 RD |
9452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail; |
9453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9455 | { |
9456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9457 | result = (int)(arg1)->GetWrapVisualFlagsLocation(); |
cfe5e918 RD |
9458 | |
9459 | wxPyEndAllowThreads(__tstate); | |
9460 | if (PyErr_Occurred()) SWIG_fail; | |
9461 | } | |
3004cfd8 RD |
9462 | { |
9463 | resultobj = SWIG_From_int((int)(result)); | |
9464 | } | |
cfe5e918 RD |
9465 | return resultobj; |
9466 | fail: | |
9467 | return NULL; | |
9468 | } | |
9469 | ||
9470 | ||
3004cfd8 | 9471 | static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9472 | PyObject *resultobj; |
9473 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9474 | int arg2 ; |
cfe5e918 | 9475 | PyObject * obj0 = 0 ; |
3004cfd8 | 9476 | PyObject * obj1 = 0 ; |
cfe5e918 | 9477 | char *kwnames[] = { |
3004cfd8 | 9478 | (char *) "self",(char *) "indent", NULL |
cfe5e918 RD |
9479 | }; |
9480 | ||
3004cfd8 RD |
9481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail; |
9482 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9483 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9484 | { | |
9485 | arg2 = (int)(SWIG_As_int(obj1)); | |
9486 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9487 | } | |
cfe5e918 RD |
9488 | { |
9489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9490 | (arg1)->SetWrapStartIndent(arg2); |
cfe5e918 RD |
9491 | |
9492 | wxPyEndAllowThreads(__tstate); | |
9493 | if (PyErr_Occurred()) SWIG_fail; | |
9494 | } | |
9495 | Py_INCREF(Py_None); resultobj = Py_None; | |
9496 | return resultobj; | |
9497 | fail: | |
9498 | return NULL; | |
9499 | } | |
9500 | ||
9501 | ||
3004cfd8 | 9502 | static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9503 | PyObject *resultobj; |
9504 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9505 | int result; |
cfe5e918 | 9506 | PyObject * obj0 = 0 ; |
cfe5e918 | 9507 | char *kwnames[] = { |
3004cfd8 | 9508 | (char *) "self", NULL |
cfe5e918 RD |
9509 | }; |
9510 | ||
3004cfd8 RD |
9511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail; |
9512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9514 | { |
9515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9516 | result = (int)(arg1)->GetWrapStartIndent(); |
cfe5e918 RD |
9517 | |
9518 | wxPyEndAllowThreads(__tstate); | |
9519 | if (PyErr_Occurred()) SWIG_fail; | |
9520 | } | |
3004cfd8 RD |
9521 | { |
9522 | resultobj = SWIG_From_int((int)(result)); | |
9523 | } | |
cfe5e918 RD |
9524 | return resultobj; |
9525 | fail: | |
9526 | return NULL; | |
9527 | } | |
9528 | ||
9529 | ||
3004cfd8 | 9530 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9531 | PyObject *resultobj; |
9532 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9533 | int arg2 ; |
cfe5e918 RD |
9534 | PyObject * obj0 = 0 ; |
9535 | PyObject * obj1 = 0 ; | |
cfe5e918 | 9536 | char *kwnames[] = { |
3004cfd8 | 9537 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
9538 | }; |
9539 | ||
3004cfd8 RD |
9540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; |
9541 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9542 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 9543 | { |
3004cfd8 RD |
9544 | arg2 = (int)(SWIG_As_int(obj1)); |
9545 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9546 | } |
9547 | { | |
9548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9549 | (arg1)->SetLayoutCache(arg2); |
cfe5e918 RD |
9550 | |
9551 | wxPyEndAllowThreads(__tstate); | |
9552 | if (PyErr_Occurred()) SWIG_fail; | |
9553 | } | |
9554 | Py_INCREF(Py_None); resultobj = Py_None; | |
9555 | return resultobj; | |
9556 | fail: | |
9557 | return NULL; | |
9558 | } | |
9559 | ||
9560 | ||
3004cfd8 | 9561 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9562 | PyObject *resultobj; |
9563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9564 | int result; |
cfe5e918 | 9565 | PyObject * obj0 = 0 ; |
cfe5e918 | 9566 | char *kwnames[] = { |
3004cfd8 | 9567 | (char *) "self", NULL |
cfe5e918 RD |
9568 | }; |
9569 | ||
3004cfd8 RD |
9570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; |
9571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9573 | { |
9574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9575 | result = (int)(arg1)->GetLayoutCache(); |
cfe5e918 RD |
9576 | |
9577 | wxPyEndAllowThreads(__tstate); | |
9578 | if (PyErr_Occurred()) SWIG_fail; | |
9579 | } | |
3004cfd8 RD |
9580 | { |
9581 | resultobj = SWIG_From_int((int)(result)); | |
9582 | } | |
cfe5e918 RD |
9583 | return resultobj; |
9584 | fail: | |
9585 | return NULL; | |
9586 | } | |
9587 | ||
9588 | ||
3004cfd8 | 9589 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9590 | PyObject *resultobj; |
9591 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9592 | int arg2 ; |
cfe5e918 | 9593 | PyObject * obj0 = 0 ; |
3004cfd8 | 9594 | PyObject * obj1 = 0 ; |
cfe5e918 | 9595 | char *kwnames[] = { |
3004cfd8 | 9596 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
9597 | }; |
9598 | ||
3004cfd8 RD |
9599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; |
9600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9602 | { | |
9603 | arg2 = (int)(SWIG_As_int(obj1)); | |
9604 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9605 | } | |
cfe5e918 RD |
9606 | { |
9607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9608 | (arg1)->SetScrollWidth(arg2); |
cfe5e918 RD |
9609 | |
9610 | wxPyEndAllowThreads(__tstate); | |
9611 | if (PyErr_Occurred()) SWIG_fail; | |
9612 | } | |
9613 | Py_INCREF(Py_None); resultobj = Py_None; | |
9614 | return resultobj; | |
9615 | fail: | |
9616 | return NULL; | |
9617 | } | |
9618 | ||
9619 | ||
3004cfd8 | 9620 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9621 | PyObject *resultobj; |
9622 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9623 | int result; |
cfe5e918 RD |
9624 | PyObject * obj0 = 0 ; |
9625 | char *kwnames[] = { | |
9626 | (char *) "self", NULL | |
9627 | }; | |
9628 | ||
3004cfd8 RD |
9629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; |
9630 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9631 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9632 | { |
9633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9634 | result = (int)(arg1)->GetScrollWidth(); |
cfe5e918 RD |
9635 | |
9636 | wxPyEndAllowThreads(__tstate); | |
9637 | if (PyErr_Occurred()) SWIG_fail; | |
9638 | } | |
3004cfd8 RD |
9639 | { |
9640 | resultobj = SWIG_From_int((int)(result)); | |
9641 | } | |
cfe5e918 RD |
9642 | return resultobj; |
9643 | fail: | |
9644 | return NULL; | |
9645 | } | |
9646 | ||
9647 | ||
3004cfd8 | 9648 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9649 | PyObject *resultobj; |
9650 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
9651 | int arg2 ; |
9652 | wxString *arg3 = 0 ; | |
9653 | int result; | |
9654 | bool temp3 = false ; | |
cfe5e918 | 9655 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
9656 | PyObject * obj1 = 0 ; |
9657 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9658 | char *kwnames[] = { |
3004cfd8 | 9659 | (char *) "self",(char *) "style",(char *) "text", NULL |
cfe5e918 RD |
9660 | }; |
9661 | ||
3004cfd8 RD |
9662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9663 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9665 | { | |
9666 | arg2 = (int)(SWIG_As_int(obj1)); | |
9667 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9668 | } | |
9669 | { | |
9670 | arg3 = wxString_in_helper(obj2); | |
9671 | if (arg3 == NULL) SWIG_fail; | |
9672 | temp3 = true; | |
9673 | } | |
cfe5e918 RD |
9674 | { |
9675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9676 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
9677 | |
9678 | wxPyEndAllowThreads(__tstate); | |
9679 | if (PyErr_Occurred()) SWIG_fail; | |
9680 | } | |
3004cfd8 RD |
9681 | { |
9682 | resultobj = SWIG_From_int((int)(result)); | |
9683 | } | |
9684 | { | |
9685 | if (temp3) | |
9686 | delete arg3; | |
9687 | } | |
cfe5e918 RD |
9688 | return resultobj; |
9689 | fail: | |
3004cfd8 RD |
9690 | { |
9691 | if (temp3) | |
9692 | delete arg3; | |
9693 | } | |
cfe5e918 RD |
9694 | return NULL; |
9695 | } | |
9696 | ||
9697 | ||
3004cfd8 | 9698 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9699 | PyObject *resultobj; |
9700 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9701 | bool arg2 ; |
cfe5e918 | 9702 | PyObject * obj0 = 0 ; |
3004cfd8 | 9703 | PyObject * obj1 = 0 ; |
cfe5e918 | 9704 | char *kwnames[] = { |
3004cfd8 | 9705 | (char *) "self",(char *) "endAtLastLine", NULL |
cfe5e918 RD |
9706 | }; |
9707 | ||
3004cfd8 RD |
9708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; |
9709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9711 | { | |
9712 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9713 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9714 | } | |
cfe5e918 RD |
9715 | { |
9716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9717 | (arg1)->SetEndAtLastLine(arg2); |
cfe5e918 RD |
9718 | |
9719 | wxPyEndAllowThreads(__tstate); | |
9720 | if (PyErr_Occurred()) SWIG_fail; | |
9721 | } | |
9722 | Py_INCREF(Py_None); resultobj = Py_None; | |
9723 | return resultobj; | |
9724 | fail: | |
9725 | return NULL; | |
9726 | } | |
9727 | ||
9728 | ||
3004cfd8 | 9729 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9730 | PyObject *resultobj; |
9731 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9732 | int result; |
cfe5e918 RD |
9733 | PyObject * obj0 = 0 ; |
9734 | char *kwnames[] = { | |
9735 | (char *) "self", NULL | |
9736 | }; | |
9737 | ||
3004cfd8 RD |
9738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; |
9739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9741 | { |
9742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9743 | result = (int)(arg1)->GetEndAtLastLine(); |
cfe5e918 RD |
9744 | |
9745 | wxPyEndAllowThreads(__tstate); | |
9746 | if (PyErr_Occurred()) SWIG_fail; | |
9747 | } | |
3004cfd8 RD |
9748 | { |
9749 | resultobj = SWIG_From_int((int)(result)); | |
9750 | } | |
cfe5e918 RD |
9751 | return resultobj; |
9752 | fail: | |
9753 | return NULL; | |
9754 | } | |
9755 | ||
9756 | ||
3004cfd8 | 9757 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9758 | PyObject *resultobj; |
9759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
9760 | int arg2 ; |
9761 | int result; | |
cfe5e918 | 9762 | PyObject * obj0 = 0 ; |
3004cfd8 | 9763 | PyObject * obj1 = 0 ; |
cfe5e918 | 9764 | char *kwnames[] = { |
3004cfd8 | 9765 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
9766 | }; |
9767 | ||
3004cfd8 RD |
9768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; |
9769 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9770 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9771 | { | |
9772 | arg2 = (int)(SWIG_As_int(obj1)); | |
9773 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9774 | } | |
cfe5e918 RD |
9775 | { |
9776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9777 | result = (int)(arg1)->TextHeight(arg2); |
cfe5e918 RD |
9778 | |
9779 | wxPyEndAllowThreads(__tstate); | |
9780 | if (PyErr_Occurred()) SWIG_fail; | |
9781 | } | |
3004cfd8 RD |
9782 | { |
9783 | resultobj = SWIG_From_int((int)(result)); | |
9784 | } | |
cfe5e918 RD |
9785 | return resultobj; |
9786 | fail: | |
9787 | return NULL; | |
9788 | } | |
9789 | ||
9790 | ||
3004cfd8 | 9791 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9792 | PyObject *resultobj; |
9793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9794 | bool arg2 ; |
cfe5e918 | 9795 | PyObject * obj0 = 0 ; |
3004cfd8 | 9796 | PyObject * obj1 = 0 ; |
cfe5e918 | 9797 | char *kwnames[] = { |
3004cfd8 | 9798 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
9799 | }; |
9800 | ||
3004cfd8 RD |
9801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; |
9802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9804 | { | |
9805 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9806 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9807 | } | |
cfe5e918 RD |
9808 | { |
9809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9810 | (arg1)->SetUseVerticalScrollBar(arg2); |
cfe5e918 RD |
9811 | |
9812 | wxPyEndAllowThreads(__tstate); | |
9813 | if (PyErr_Occurred()) SWIG_fail; | |
9814 | } | |
9815 | Py_INCREF(Py_None); resultobj = Py_None; | |
9816 | return resultobj; | |
9817 | fail: | |
9818 | return NULL; | |
9819 | } | |
9820 | ||
9821 | ||
3004cfd8 | 9822 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9823 | PyObject *resultobj; |
9824 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9825 | bool result; |
cfe5e918 RD |
9826 | PyObject * obj0 = 0 ; |
9827 | char *kwnames[] = { | |
9828 | (char *) "self", NULL | |
9829 | }; | |
9830 | ||
3004cfd8 RD |
9831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; |
9832 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9833 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9834 | { |
9835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9836 | result = (bool)(arg1)->GetUseVerticalScrollBar(); |
cfe5e918 RD |
9837 | |
9838 | wxPyEndAllowThreads(__tstate); | |
9839 | if (PyErr_Occurred()) SWIG_fail; | |
9840 | } | |
3004cfd8 RD |
9841 | { |
9842 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9843 | } | |
cfe5e918 RD |
9844 | return resultobj; |
9845 | fail: | |
9846 | return NULL; | |
9847 | } | |
9848 | ||
9849 | ||
3004cfd8 | 9850 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9851 | PyObject *resultobj; |
9852 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
9853 | int arg2 ; |
9854 | wxString *arg3 = 0 ; | |
9855 | bool temp3 = false ; | |
cfe5e918 | 9856 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
9857 | PyObject * obj1 = 0 ; |
9858 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9859 | char *kwnames[] = { |
3004cfd8 | 9860 | (char *) "self",(char *) "length",(char *) "text", NULL |
cfe5e918 RD |
9861 | }; |
9862 | ||
3004cfd8 RD |
9863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9866 | { | |
9867 | arg2 = (int)(SWIG_As_int(obj1)); | |
9868 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9869 | } | |
9870 | { | |
9871 | arg3 = wxString_in_helper(obj2); | |
9872 | if (arg3 == NULL) SWIG_fail; | |
9873 | temp3 = true; | |
9874 | } | |
cfe5e918 RD |
9875 | { |
9876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9877 | (arg1)->AppendText(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
9878 | |
9879 | wxPyEndAllowThreads(__tstate); | |
9880 | if (PyErr_Occurred()) SWIG_fail; | |
9881 | } | |
9882 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
9883 | { |
9884 | if (temp3) | |
9885 | delete arg3; | |
9886 | } | |
cfe5e918 RD |
9887 | return resultobj; |
9888 | fail: | |
3004cfd8 RD |
9889 | { |
9890 | if (temp3) | |
9891 | delete arg3; | |
9892 | } | |
cfe5e918 RD |
9893 | return NULL; |
9894 | } | |
9895 | ||
9896 | ||
3004cfd8 | 9897 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9898 | PyObject *resultobj; |
9899 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9900 | bool result; |
cfe5e918 RD |
9901 | PyObject * obj0 = 0 ; |
9902 | char *kwnames[] = { | |
9903 | (char *) "self", NULL | |
9904 | }; | |
9905 | ||
3004cfd8 RD |
9906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; |
9907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9909 | { |
9910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9911 | result = (bool)(arg1)->GetTwoPhaseDraw(); |
cfe5e918 RD |
9912 | |
9913 | wxPyEndAllowThreads(__tstate); | |
9914 | if (PyErr_Occurred()) SWIG_fail; | |
9915 | } | |
3004cfd8 RD |
9916 | { |
9917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9918 | } | |
cfe5e918 RD |
9919 | return resultobj; |
9920 | fail: | |
9921 | return NULL; | |
9922 | } | |
9923 | ||
9924 | ||
3004cfd8 | 9925 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9926 | PyObject *resultobj; |
9927 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 9928 | bool arg2 ; |
cfe5e918 | 9929 | PyObject * obj0 = 0 ; |
3004cfd8 | 9930 | PyObject * obj1 = 0 ; |
cfe5e918 | 9931 | char *kwnames[] = { |
3004cfd8 | 9932 | (char *) "self",(char *) "twoPhase", NULL |
cfe5e918 RD |
9933 | }; |
9934 | ||
3004cfd8 RD |
9935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; |
9936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9938 | { | |
9939 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9940 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9941 | } | |
cfe5e918 RD |
9942 | { |
9943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9944 | (arg1)->SetTwoPhaseDraw(arg2); |
cfe5e918 RD |
9945 | |
9946 | wxPyEndAllowThreads(__tstate); | |
9947 | if (PyErr_Occurred()) SWIG_fail; | |
9948 | } | |
9949 | Py_INCREF(Py_None); resultobj = Py_None; | |
9950 | return resultobj; | |
9951 | fail: | |
9952 | return NULL; | |
9953 | } | |
9954 | ||
9955 | ||
3004cfd8 | 9956 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9957 | PyObject *resultobj; |
9958 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9959 | PyObject * obj0 = 0 ; | |
9960 | char *kwnames[] = { | |
9961 | (char *) "self", NULL | |
9962 | }; | |
9963 | ||
3004cfd8 RD |
9964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; |
9965 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9966 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9967 | { |
9968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9969 | (arg1)->TargetFromSelection(); |
cfe5e918 RD |
9970 | |
9971 | wxPyEndAllowThreads(__tstate); | |
9972 | if (PyErr_Occurred()) SWIG_fail; | |
9973 | } | |
9974 | Py_INCREF(Py_None); resultobj = Py_None; | |
9975 | return resultobj; | |
9976 | fail: | |
9977 | return NULL; | |
9978 | } | |
9979 | ||
9980 | ||
3004cfd8 | 9981 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9982 | PyObject *resultobj; |
9983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9984 | PyObject * obj0 = 0 ; | |
9985 | char *kwnames[] = { | |
9986 | (char *) "self", NULL | |
9987 | }; | |
9988 | ||
3004cfd8 RD |
9989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; |
9990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
9992 | { |
9993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 9994 | (arg1)->LinesJoin(); |
cfe5e918 RD |
9995 | |
9996 | wxPyEndAllowThreads(__tstate); | |
9997 | if (PyErr_Occurred()) SWIG_fail; | |
9998 | } | |
9999 | Py_INCREF(Py_None); resultobj = Py_None; | |
10000 | return resultobj; | |
10001 | fail: | |
10002 | return NULL; | |
10003 | } | |
10004 | ||
10005 | ||
3004cfd8 | 10006 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10007 | PyObject *resultobj; |
10008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 10009 | int arg2 ; |
cfe5e918 | 10010 | PyObject * obj0 = 0 ; |
3004cfd8 | 10011 | PyObject * obj1 = 0 ; |
cfe5e918 | 10012 | char *kwnames[] = { |
3004cfd8 | 10013 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
10014 | }; |
10015 | ||
3004cfd8 RD |
10016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; |
10017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10019 | { | |
10020 | arg2 = (int)(SWIG_As_int(obj1)); | |
10021 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10022 | } | |
cfe5e918 RD |
10023 | { |
10024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10025 | (arg1)->LinesSplit(arg2); |
cfe5e918 RD |
10026 | |
10027 | wxPyEndAllowThreads(__tstate); | |
10028 | if (PyErr_Occurred()) SWIG_fail; | |
10029 | } | |
10030 | Py_INCREF(Py_None); resultobj = Py_None; | |
10031 | return resultobj; | |
10032 | fail: | |
10033 | return NULL; | |
10034 | } | |
10035 | ||
10036 | ||
3004cfd8 | 10037 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10038 | PyObject *resultobj; |
10039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
10040 | bool arg2 ; |
10041 | wxColour *arg3 = 0 ; | |
10042 | wxColour temp3 ; | |
cfe5e918 | 10043 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
10044 | PyObject * obj1 = 0 ; |
10045 | PyObject * obj2 = 0 ; | |
cfe5e918 | 10046 | char *kwnames[] = { |
3004cfd8 | 10047 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
10048 | }; |
10049 | ||
3004cfd8 RD |
10050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
10051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10053 | { | |
10054 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
10055 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10056 | } | |
10057 | { | |
10058 | arg3 = &temp3; | |
10059 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10060 | } | |
cfe5e918 RD |
10061 | { |
10062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10063 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
10064 | |
10065 | wxPyEndAllowThreads(__tstate); | |
10066 | if (PyErr_Occurred()) SWIG_fail; | |
10067 | } | |
10068 | Py_INCREF(Py_None); resultobj = Py_None; | |
10069 | return resultobj; | |
10070 | fail: | |
10071 | return NULL; | |
10072 | } | |
10073 | ||
10074 | ||
3004cfd8 | 10075 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10076 | PyObject *resultobj; |
10077 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
10078 | bool arg2 ; |
10079 | wxColour *arg3 = 0 ; | |
10080 | wxColour temp3 ; | |
cfe5e918 | 10081 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
10082 | PyObject * obj1 = 0 ; |
10083 | PyObject * obj2 = 0 ; | |
cfe5e918 | 10084 | char *kwnames[] = { |
3004cfd8 | 10085 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
10086 | }; |
10087 | ||
3004cfd8 RD |
10088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
10089 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10090 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10091 | { | |
10092 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
10093 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10094 | } | |
10095 | { | |
10096 | arg3 = &temp3; | |
10097 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10098 | } | |
cfe5e918 RD |
10099 | { |
10100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10101 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
10102 | |
10103 | wxPyEndAllowThreads(__tstate); | |
10104 | if (PyErr_Occurred()) SWIG_fail; | |
10105 | } | |
10106 | Py_INCREF(Py_None); resultobj = Py_None; | |
10107 | return resultobj; | |
10108 | fail: | |
10109 | return NULL; | |
10110 | } | |
10111 | ||
10112 | ||
3004cfd8 | 10113 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10114 | PyObject *resultobj; |
10115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10116 | PyObject * obj0 = 0 ; | |
10117 | char *kwnames[] = { | |
10118 | (char *) "self", NULL | |
10119 | }; | |
10120 | ||
3004cfd8 RD |
10121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; |
10122 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10123 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10124 | { |
10125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10126 | (arg1)->LineDown(); |
cfe5e918 RD |
10127 | |
10128 | wxPyEndAllowThreads(__tstate); | |
10129 | if (PyErr_Occurred()) SWIG_fail; | |
10130 | } | |
10131 | Py_INCREF(Py_None); resultobj = Py_None; | |
10132 | return resultobj; | |
10133 | fail: | |
10134 | return NULL; | |
10135 | } | |
10136 | ||
10137 | ||
3004cfd8 | 10138 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10139 | PyObject *resultobj; |
10140 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10141 | PyObject * obj0 = 0 ; | |
10142 | char *kwnames[] = { | |
10143 | (char *) "self", NULL | |
10144 | }; | |
10145 | ||
3004cfd8 RD |
10146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; |
10147 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10148 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10149 | { |
10150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10151 | (arg1)->LineDownExtend(); |
cfe5e918 RD |
10152 | |
10153 | wxPyEndAllowThreads(__tstate); | |
10154 | if (PyErr_Occurred()) SWIG_fail; | |
10155 | } | |
10156 | Py_INCREF(Py_None); resultobj = Py_None; | |
10157 | return resultobj; | |
10158 | fail: | |
10159 | return NULL; | |
10160 | } | |
10161 | ||
10162 | ||
3004cfd8 | 10163 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10164 | PyObject *resultobj; |
10165 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10166 | PyObject * obj0 = 0 ; | |
10167 | char *kwnames[] = { | |
10168 | (char *) "self", NULL | |
10169 | }; | |
10170 | ||
3004cfd8 RD |
10171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; |
10172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10174 | { |
10175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10176 | (arg1)->LineUp(); |
cfe5e918 RD |
10177 | |
10178 | wxPyEndAllowThreads(__tstate); | |
10179 | if (PyErr_Occurred()) SWIG_fail; | |
10180 | } | |
10181 | Py_INCREF(Py_None); resultobj = Py_None; | |
10182 | return resultobj; | |
10183 | fail: | |
10184 | return NULL; | |
10185 | } | |
10186 | ||
10187 | ||
3004cfd8 | 10188 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10189 | PyObject *resultobj; |
10190 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10191 | PyObject * obj0 = 0 ; | |
10192 | char *kwnames[] = { | |
10193 | (char *) "self", NULL | |
10194 | }; | |
10195 | ||
3004cfd8 RD |
10196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; |
10197 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10198 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10199 | { |
10200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10201 | (arg1)->LineUpExtend(); |
cfe5e918 RD |
10202 | |
10203 | wxPyEndAllowThreads(__tstate); | |
10204 | if (PyErr_Occurred()) SWIG_fail; | |
10205 | } | |
10206 | Py_INCREF(Py_None); resultobj = Py_None; | |
10207 | return resultobj; | |
10208 | fail: | |
10209 | return NULL; | |
10210 | } | |
10211 | ||
10212 | ||
3004cfd8 | 10213 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10214 | PyObject *resultobj; |
10215 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10216 | PyObject * obj0 = 0 ; | |
10217 | char *kwnames[] = { | |
10218 | (char *) "self", NULL | |
10219 | }; | |
10220 | ||
3004cfd8 RD |
10221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; |
10222 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10223 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10224 | { |
10225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10226 | (arg1)->CharLeft(); |
cfe5e918 RD |
10227 | |
10228 | wxPyEndAllowThreads(__tstate); | |
10229 | if (PyErr_Occurred()) SWIG_fail; | |
10230 | } | |
10231 | Py_INCREF(Py_None); resultobj = Py_None; | |
10232 | return resultobj; | |
10233 | fail: | |
10234 | return NULL; | |
10235 | } | |
10236 | ||
10237 | ||
3004cfd8 | 10238 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10239 | PyObject *resultobj; |
10240 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10241 | PyObject * obj0 = 0 ; | |
10242 | char *kwnames[] = { | |
10243 | (char *) "self", NULL | |
10244 | }; | |
10245 | ||
3004cfd8 RD |
10246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; |
10247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10249 | { |
10250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10251 | (arg1)->CharLeftExtend(); |
cfe5e918 RD |
10252 | |
10253 | wxPyEndAllowThreads(__tstate); | |
10254 | if (PyErr_Occurred()) SWIG_fail; | |
10255 | } | |
10256 | Py_INCREF(Py_None); resultobj = Py_None; | |
10257 | return resultobj; | |
10258 | fail: | |
10259 | return NULL; | |
10260 | } | |
10261 | ||
10262 | ||
3004cfd8 | 10263 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10264 | PyObject *resultobj; |
10265 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10266 | PyObject * obj0 = 0 ; | |
10267 | char *kwnames[] = { | |
10268 | (char *) "self", NULL | |
10269 | }; | |
10270 | ||
3004cfd8 RD |
10271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; |
10272 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10273 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10274 | { |
10275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10276 | (arg1)->CharRight(); |
cfe5e918 RD |
10277 | |
10278 | wxPyEndAllowThreads(__tstate); | |
10279 | if (PyErr_Occurred()) SWIG_fail; | |
10280 | } | |
10281 | Py_INCREF(Py_None); resultobj = Py_None; | |
10282 | return resultobj; | |
10283 | fail: | |
10284 | return NULL; | |
10285 | } | |
10286 | ||
10287 | ||
3004cfd8 | 10288 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10289 | PyObject *resultobj; |
10290 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10291 | PyObject * obj0 = 0 ; | |
10292 | char *kwnames[] = { | |
10293 | (char *) "self", NULL | |
10294 | }; | |
10295 | ||
3004cfd8 RD |
10296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; |
10297 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10298 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10299 | { |
10300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10301 | (arg1)->CharRightExtend(); |
cfe5e918 RD |
10302 | |
10303 | wxPyEndAllowThreads(__tstate); | |
10304 | if (PyErr_Occurred()) SWIG_fail; | |
10305 | } | |
10306 | Py_INCREF(Py_None); resultobj = Py_None; | |
10307 | return resultobj; | |
10308 | fail: | |
10309 | return NULL; | |
10310 | } | |
10311 | ||
10312 | ||
3004cfd8 | 10313 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10314 | PyObject *resultobj; |
10315 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10316 | PyObject * obj0 = 0 ; | |
10317 | char *kwnames[] = { | |
10318 | (char *) "self", NULL | |
10319 | }; | |
10320 | ||
3004cfd8 RD |
10321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; |
10322 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10323 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10324 | { |
10325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10326 | (arg1)->WordLeft(); |
cfe5e918 RD |
10327 | |
10328 | wxPyEndAllowThreads(__tstate); | |
10329 | if (PyErr_Occurred()) SWIG_fail; | |
10330 | } | |
10331 | Py_INCREF(Py_None); resultobj = Py_None; | |
10332 | return resultobj; | |
10333 | fail: | |
10334 | return NULL; | |
10335 | } | |
10336 | ||
10337 | ||
3004cfd8 | 10338 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10339 | PyObject *resultobj; |
10340 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10341 | PyObject * obj0 = 0 ; | |
10342 | char *kwnames[] = { | |
10343 | (char *) "self", NULL | |
10344 | }; | |
10345 | ||
3004cfd8 RD |
10346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; |
10347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10349 | { |
10350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10351 | (arg1)->WordLeftExtend(); |
cfe5e918 RD |
10352 | |
10353 | wxPyEndAllowThreads(__tstate); | |
10354 | if (PyErr_Occurred()) SWIG_fail; | |
10355 | } | |
10356 | Py_INCREF(Py_None); resultobj = Py_None; | |
10357 | return resultobj; | |
10358 | fail: | |
10359 | return NULL; | |
10360 | } | |
10361 | ||
10362 | ||
3004cfd8 | 10363 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10364 | PyObject *resultobj; |
10365 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10366 | PyObject * obj0 = 0 ; | |
10367 | char *kwnames[] = { | |
10368 | (char *) "self", NULL | |
10369 | }; | |
10370 | ||
3004cfd8 RD |
10371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; |
10372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10374 | { |
10375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10376 | (arg1)->WordRight(); |
cfe5e918 RD |
10377 | |
10378 | wxPyEndAllowThreads(__tstate); | |
10379 | if (PyErr_Occurred()) SWIG_fail; | |
10380 | } | |
10381 | Py_INCREF(Py_None); resultobj = Py_None; | |
10382 | return resultobj; | |
10383 | fail: | |
10384 | return NULL; | |
10385 | } | |
10386 | ||
10387 | ||
3004cfd8 | 10388 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10389 | PyObject *resultobj; |
10390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10391 | PyObject * obj0 = 0 ; | |
10392 | char *kwnames[] = { | |
10393 | (char *) "self", NULL | |
10394 | }; | |
10395 | ||
3004cfd8 RD |
10396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; |
10397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10399 | { |
10400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10401 | (arg1)->WordRightExtend(); |
cfe5e918 RD |
10402 | |
10403 | wxPyEndAllowThreads(__tstate); | |
10404 | if (PyErr_Occurred()) SWIG_fail; | |
10405 | } | |
10406 | Py_INCREF(Py_None); resultobj = Py_None; | |
10407 | return resultobj; | |
10408 | fail: | |
10409 | return NULL; | |
10410 | } | |
10411 | ||
10412 | ||
3004cfd8 | 10413 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10414 | PyObject *resultobj; |
10415 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10416 | PyObject * obj0 = 0 ; | |
10417 | char *kwnames[] = { | |
10418 | (char *) "self", NULL | |
10419 | }; | |
10420 | ||
3004cfd8 RD |
10421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; |
10422 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10423 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10424 | { |
10425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10426 | (arg1)->Home(); |
cfe5e918 RD |
10427 | |
10428 | wxPyEndAllowThreads(__tstate); | |
10429 | if (PyErr_Occurred()) SWIG_fail; | |
10430 | } | |
10431 | Py_INCREF(Py_None); resultobj = Py_None; | |
10432 | return resultobj; | |
10433 | fail: | |
10434 | return NULL; | |
10435 | } | |
10436 | ||
10437 | ||
3004cfd8 | 10438 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10439 | PyObject *resultobj; |
10440 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10441 | PyObject * obj0 = 0 ; | |
10442 | char *kwnames[] = { | |
10443 | (char *) "self", NULL | |
10444 | }; | |
10445 | ||
3004cfd8 RD |
10446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; |
10447 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10448 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10449 | { |
10450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10451 | (arg1)->HomeExtend(); |
cfe5e918 RD |
10452 | |
10453 | wxPyEndAllowThreads(__tstate); | |
10454 | if (PyErr_Occurred()) SWIG_fail; | |
10455 | } | |
10456 | Py_INCREF(Py_None); resultobj = Py_None; | |
10457 | return resultobj; | |
10458 | fail: | |
10459 | return NULL; | |
10460 | } | |
10461 | ||
10462 | ||
3004cfd8 | 10463 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10464 | PyObject *resultobj; |
10465 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10466 | PyObject * obj0 = 0 ; | |
10467 | char *kwnames[] = { | |
10468 | (char *) "self", NULL | |
10469 | }; | |
10470 | ||
3004cfd8 RD |
10471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; |
10472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10474 | { |
10475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10476 | (arg1)->LineEnd(); |
cfe5e918 RD |
10477 | |
10478 | wxPyEndAllowThreads(__tstate); | |
10479 | if (PyErr_Occurred()) SWIG_fail; | |
10480 | } | |
10481 | Py_INCREF(Py_None); resultobj = Py_None; | |
10482 | return resultobj; | |
10483 | fail: | |
10484 | return NULL; | |
10485 | } | |
10486 | ||
10487 | ||
3004cfd8 | 10488 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10489 | PyObject *resultobj; |
10490 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10491 | PyObject * obj0 = 0 ; | |
10492 | char *kwnames[] = { | |
10493 | (char *) "self", NULL | |
10494 | }; | |
10495 | ||
3004cfd8 RD |
10496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; |
10497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10499 | { |
10500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10501 | (arg1)->LineEndExtend(); |
cfe5e918 RD |
10502 | |
10503 | wxPyEndAllowThreads(__tstate); | |
10504 | if (PyErr_Occurred()) SWIG_fail; | |
10505 | } | |
10506 | Py_INCREF(Py_None); resultobj = Py_None; | |
10507 | return resultobj; | |
10508 | fail: | |
10509 | return NULL; | |
10510 | } | |
10511 | ||
10512 | ||
3004cfd8 | 10513 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10514 | PyObject *resultobj; |
10515 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10516 | PyObject * obj0 = 0 ; | |
10517 | char *kwnames[] = { | |
10518 | (char *) "self", NULL | |
10519 | }; | |
10520 | ||
3004cfd8 RD |
10521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; |
10522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10524 | { |
10525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10526 | (arg1)->DocumentStart(); |
cfe5e918 RD |
10527 | |
10528 | wxPyEndAllowThreads(__tstate); | |
10529 | if (PyErr_Occurred()) SWIG_fail; | |
10530 | } | |
10531 | Py_INCREF(Py_None); resultobj = Py_None; | |
10532 | return resultobj; | |
10533 | fail: | |
10534 | return NULL; | |
10535 | } | |
10536 | ||
10537 | ||
3004cfd8 | 10538 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10539 | PyObject *resultobj; |
10540 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10541 | PyObject * obj0 = 0 ; | |
10542 | char *kwnames[] = { | |
10543 | (char *) "self", NULL | |
10544 | }; | |
10545 | ||
3004cfd8 RD |
10546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; |
10547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10549 | { |
10550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10551 | (arg1)->DocumentStartExtend(); |
cfe5e918 RD |
10552 | |
10553 | wxPyEndAllowThreads(__tstate); | |
10554 | if (PyErr_Occurred()) SWIG_fail; | |
10555 | } | |
10556 | Py_INCREF(Py_None); resultobj = Py_None; | |
10557 | return resultobj; | |
10558 | fail: | |
10559 | return NULL; | |
10560 | } | |
10561 | ||
10562 | ||
3004cfd8 | 10563 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10564 | PyObject *resultobj; |
10565 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10566 | PyObject * obj0 = 0 ; | |
10567 | char *kwnames[] = { | |
10568 | (char *) "self", NULL | |
10569 | }; | |
10570 | ||
3004cfd8 RD |
10571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; |
10572 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10573 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10574 | { |
10575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10576 | (arg1)->DocumentEnd(); |
cfe5e918 RD |
10577 | |
10578 | wxPyEndAllowThreads(__tstate); | |
10579 | if (PyErr_Occurred()) SWIG_fail; | |
10580 | } | |
10581 | Py_INCREF(Py_None); resultobj = Py_None; | |
10582 | return resultobj; | |
10583 | fail: | |
10584 | return NULL; | |
10585 | } | |
10586 | ||
10587 | ||
3004cfd8 | 10588 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10589 | PyObject *resultobj; |
10590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10591 | PyObject * obj0 = 0 ; | |
10592 | char *kwnames[] = { | |
10593 | (char *) "self", NULL | |
10594 | }; | |
10595 | ||
3004cfd8 RD |
10596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; |
10597 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10598 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10599 | { |
10600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10601 | (arg1)->DocumentEndExtend(); |
cfe5e918 RD |
10602 | |
10603 | wxPyEndAllowThreads(__tstate); | |
10604 | if (PyErr_Occurred()) SWIG_fail; | |
10605 | } | |
10606 | Py_INCREF(Py_None); resultobj = Py_None; | |
10607 | return resultobj; | |
10608 | fail: | |
10609 | return NULL; | |
10610 | } | |
10611 | ||
10612 | ||
3004cfd8 | 10613 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10614 | PyObject *resultobj; |
10615 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10616 | PyObject * obj0 = 0 ; | |
10617 | char *kwnames[] = { | |
10618 | (char *) "self", NULL | |
10619 | }; | |
10620 | ||
3004cfd8 RD |
10621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; |
10622 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10623 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10624 | { |
10625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10626 | (arg1)->PageUp(); |
cfe5e918 RD |
10627 | |
10628 | wxPyEndAllowThreads(__tstate); | |
10629 | if (PyErr_Occurred()) SWIG_fail; | |
10630 | } | |
10631 | Py_INCREF(Py_None); resultobj = Py_None; | |
10632 | return resultobj; | |
10633 | fail: | |
10634 | return NULL; | |
10635 | } | |
10636 | ||
10637 | ||
3004cfd8 | 10638 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10639 | PyObject *resultobj; |
10640 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10641 | PyObject * obj0 = 0 ; | |
10642 | char *kwnames[] = { | |
10643 | (char *) "self", NULL | |
10644 | }; | |
10645 | ||
3004cfd8 RD |
10646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; |
10647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10649 | { |
10650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10651 | (arg1)->PageUpExtend(); |
cfe5e918 RD |
10652 | |
10653 | wxPyEndAllowThreads(__tstate); | |
10654 | if (PyErr_Occurred()) SWIG_fail; | |
10655 | } | |
10656 | Py_INCREF(Py_None); resultobj = Py_None; | |
10657 | return resultobj; | |
10658 | fail: | |
10659 | return NULL; | |
10660 | } | |
10661 | ||
10662 | ||
3004cfd8 | 10663 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10664 | PyObject *resultobj; |
10665 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10666 | PyObject * obj0 = 0 ; | |
10667 | char *kwnames[] = { | |
10668 | (char *) "self", NULL | |
10669 | }; | |
10670 | ||
3004cfd8 RD |
10671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; |
10672 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10673 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10674 | { |
10675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10676 | (arg1)->PageDown(); |
cfe5e918 RD |
10677 | |
10678 | wxPyEndAllowThreads(__tstate); | |
10679 | if (PyErr_Occurred()) SWIG_fail; | |
10680 | } | |
10681 | Py_INCREF(Py_None); resultobj = Py_None; | |
10682 | return resultobj; | |
10683 | fail: | |
10684 | return NULL; | |
10685 | } | |
10686 | ||
10687 | ||
3004cfd8 | 10688 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10689 | PyObject *resultobj; |
10690 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10691 | PyObject * obj0 = 0 ; | |
10692 | char *kwnames[] = { | |
10693 | (char *) "self", NULL | |
10694 | }; | |
10695 | ||
3004cfd8 RD |
10696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; |
10697 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10698 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10699 | { |
10700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10701 | (arg1)->PageDownExtend(); |
cfe5e918 RD |
10702 | |
10703 | wxPyEndAllowThreads(__tstate); | |
10704 | if (PyErr_Occurred()) SWIG_fail; | |
10705 | } | |
10706 | Py_INCREF(Py_None); resultobj = Py_None; | |
10707 | return resultobj; | |
10708 | fail: | |
10709 | return NULL; | |
10710 | } | |
10711 | ||
10712 | ||
3004cfd8 | 10713 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10714 | PyObject *resultobj; |
10715 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10716 | PyObject * obj0 = 0 ; | |
10717 | char *kwnames[] = { | |
10718 | (char *) "self", NULL | |
10719 | }; | |
10720 | ||
3004cfd8 RD |
10721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; |
10722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10724 | { |
10725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10726 | (arg1)->EditToggleOvertype(); |
cfe5e918 RD |
10727 | |
10728 | wxPyEndAllowThreads(__tstate); | |
10729 | if (PyErr_Occurred()) SWIG_fail; | |
10730 | } | |
10731 | Py_INCREF(Py_None); resultobj = Py_None; | |
10732 | return resultobj; | |
10733 | fail: | |
10734 | return NULL; | |
10735 | } | |
10736 | ||
10737 | ||
3004cfd8 | 10738 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10739 | PyObject *resultobj; |
10740 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10741 | PyObject * obj0 = 0 ; | |
10742 | char *kwnames[] = { | |
10743 | (char *) "self", NULL | |
10744 | }; | |
10745 | ||
3004cfd8 RD |
10746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; |
10747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10749 | { |
10750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10751 | (arg1)->Cancel(); |
cfe5e918 RD |
10752 | |
10753 | wxPyEndAllowThreads(__tstate); | |
10754 | if (PyErr_Occurred()) SWIG_fail; | |
10755 | } | |
10756 | Py_INCREF(Py_None); resultobj = Py_None; | |
10757 | return resultobj; | |
10758 | fail: | |
10759 | return NULL; | |
10760 | } | |
10761 | ||
10762 | ||
3004cfd8 | 10763 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10764 | PyObject *resultobj; |
10765 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10766 | PyObject * obj0 = 0 ; | |
10767 | char *kwnames[] = { | |
10768 | (char *) "self", NULL | |
10769 | }; | |
10770 | ||
3004cfd8 RD |
10771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; |
10772 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10773 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10774 | { |
10775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10776 | (arg1)->DeleteBack(); |
cfe5e918 RD |
10777 | |
10778 | wxPyEndAllowThreads(__tstate); | |
10779 | if (PyErr_Occurred()) SWIG_fail; | |
10780 | } | |
10781 | Py_INCREF(Py_None); resultobj = Py_None; | |
10782 | return resultobj; | |
10783 | fail: | |
10784 | return NULL; | |
10785 | } | |
10786 | ||
10787 | ||
3004cfd8 | 10788 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10789 | PyObject *resultobj; |
10790 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10791 | PyObject * obj0 = 0 ; | |
10792 | char *kwnames[] = { | |
10793 | (char *) "self", NULL | |
10794 | }; | |
10795 | ||
3004cfd8 RD |
10796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; |
10797 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10798 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10799 | { |
10800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10801 | (arg1)->Tab(); |
cfe5e918 RD |
10802 | |
10803 | wxPyEndAllowThreads(__tstate); | |
10804 | if (PyErr_Occurred()) SWIG_fail; | |
10805 | } | |
10806 | Py_INCREF(Py_None); resultobj = Py_None; | |
10807 | return resultobj; | |
10808 | fail: | |
10809 | return NULL; | |
10810 | } | |
10811 | ||
10812 | ||
3004cfd8 | 10813 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10814 | PyObject *resultobj; |
10815 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10816 | PyObject * obj0 = 0 ; | |
10817 | char *kwnames[] = { | |
10818 | (char *) "self", NULL | |
10819 | }; | |
10820 | ||
3004cfd8 RD |
10821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; |
10822 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10823 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10824 | { |
10825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10826 | (arg1)->BackTab(); |
cfe5e918 RD |
10827 | |
10828 | wxPyEndAllowThreads(__tstate); | |
10829 | if (PyErr_Occurred()) SWIG_fail; | |
10830 | } | |
10831 | Py_INCREF(Py_None); resultobj = Py_None; | |
10832 | return resultobj; | |
10833 | fail: | |
10834 | return NULL; | |
10835 | } | |
10836 | ||
10837 | ||
3004cfd8 | 10838 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10839 | PyObject *resultobj; |
10840 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10841 | PyObject * obj0 = 0 ; | |
10842 | char *kwnames[] = { | |
10843 | (char *) "self", NULL | |
10844 | }; | |
10845 | ||
3004cfd8 RD |
10846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; |
10847 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10848 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10849 | { |
10850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10851 | (arg1)->NewLine(); |
cfe5e918 RD |
10852 | |
10853 | wxPyEndAllowThreads(__tstate); | |
10854 | if (PyErr_Occurred()) SWIG_fail; | |
10855 | } | |
10856 | Py_INCREF(Py_None); resultobj = Py_None; | |
10857 | return resultobj; | |
10858 | fail: | |
10859 | return NULL; | |
10860 | } | |
10861 | ||
10862 | ||
3004cfd8 | 10863 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10864 | PyObject *resultobj; |
10865 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10866 | PyObject * obj0 = 0 ; | |
10867 | char *kwnames[] = { | |
10868 | (char *) "self", NULL | |
10869 | }; | |
10870 | ||
3004cfd8 RD |
10871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; |
10872 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10873 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10874 | { |
10875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10876 | (arg1)->FormFeed(); |
cfe5e918 RD |
10877 | |
10878 | wxPyEndAllowThreads(__tstate); | |
10879 | if (PyErr_Occurred()) SWIG_fail; | |
10880 | } | |
10881 | Py_INCREF(Py_None); resultobj = Py_None; | |
10882 | return resultobj; | |
10883 | fail: | |
10884 | return NULL; | |
10885 | } | |
10886 | ||
10887 | ||
3004cfd8 | 10888 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10889 | PyObject *resultobj; |
10890 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10891 | PyObject * obj0 = 0 ; | |
10892 | char *kwnames[] = { | |
10893 | (char *) "self", NULL | |
10894 | }; | |
10895 | ||
3004cfd8 RD |
10896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; |
10897 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10898 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10899 | { |
10900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10901 | (arg1)->VCHome(); |
cfe5e918 RD |
10902 | |
10903 | wxPyEndAllowThreads(__tstate); | |
10904 | if (PyErr_Occurred()) SWIG_fail; | |
10905 | } | |
10906 | Py_INCREF(Py_None); resultobj = Py_None; | |
10907 | return resultobj; | |
10908 | fail: | |
10909 | return NULL; | |
10910 | } | |
10911 | ||
10912 | ||
3004cfd8 | 10913 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10914 | PyObject *resultobj; |
10915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10916 | PyObject * obj0 = 0 ; | |
10917 | char *kwnames[] = { | |
10918 | (char *) "self", NULL | |
10919 | }; | |
10920 | ||
3004cfd8 RD |
10921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; |
10922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10924 | { |
10925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10926 | (arg1)->VCHomeExtend(); |
cfe5e918 RD |
10927 | |
10928 | wxPyEndAllowThreads(__tstate); | |
10929 | if (PyErr_Occurred()) SWIG_fail; | |
10930 | } | |
10931 | Py_INCREF(Py_None); resultobj = Py_None; | |
10932 | return resultobj; | |
10933 | fail: | |
10934 | return NULL; | |
10935 | } | |
10936 | ||
10937 | ||
3004cfd8 | 10938 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10939 | PyObject *resultobj; |
10940 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10941 | PyObject * obj0 = 0 ; | |
10942 | char *kwnames[] = { | |
10943 | (char *) "self", NULL | |
10944 | }; | |
10945 | ||
3004cfd8 RD |
10946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; |
10947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10949 | { |
10950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10951 | (arg1)->ZoomIn(); |
cfe5e918 RD |
10952 | |
10953 | wxPyEndAllowThreads(__tstate); | |
10954 | if (PyErr_Occurred()) SWIG_fail; | |
10955 | } | |
10956 | Py_INCREF(Py_None); resultobj = Py_None; | |
10957 | return resultobj; | |
10958 | fail: | |
10959 | return NULL; | |
10960 | } | |
10961 | ||
10962 | ||
3004cfd8 | 10963 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10964 | PyObject *resultobj; |
10965 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10966 | PyObject * obj0 = 0 ; | |
10967 | char *kwnames[] = { | |
10968 | (char *) "self", NULL | |
10969 | }; | |
10970 | ||
3004cfd8 RD |
10971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; |
10972 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10973 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10974 | { |
10975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 10976 | (arg1)->ZoomOut(); |
cfe5e918 RD |
10977 | |
10978 | wxPyEndAllowThreads(__tstate); | |
10979 | if (PyErr_Occurred()) SWIG_fail; | |
10980 | } | |
10981 | Py_INCREF(Py_None); resultobj = Py_None; | |
10982 | return resultobj; | |
10983 | fail: | |
10984 | return NULL; | |
10985 | } | |
10986 | ||
10987 | ||
3004cfd8 | 10988 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10989 | PyObject *resultobj; |
10990 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10991 | PyObject * obj0 = 0 ; | |
10992 | char *kwnames[] = { | |
10993 | (char *) "self", NULL | |
10994 | }; | |
10995 | ||
3004cfd8 RD |
10996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; |
10997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
10999 | { |
11000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11001 | (arg1)->DelWordLeft(); |
cfe5e918 RD |
11002 | |
11003 | wxPyEndAllowThreads(__tstate); | |
11004 | if (PyErr_Occurred()) SWIG_fail; | |
11005 | } | |
11006 | Py_INCREF(Py_None); resultobj = Py_None; | |
11007 | return resultobj; | |
11008 | fail: | |
11009 | return NULL; | |
11010 | } | |
11011 | ||
11012 | ||
3004cfd8 | 11013 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11014 | PyObject *resultobj; |
11015 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11016 | PyObject * obj0 = 0 ; | |
11017 | char *kwnames[] = { | |
11018 | (char *) "self", NULL | |
11019 | }; | |
11020 | ||
3004cfd8 RD |
11021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; |
11022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11024 | { |
11025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11026 | (arg1)->DelWordRight(); |
cfe5e918 RD |
11027 | |
11028 | wxPyEndAllowThreads(__tstate); | |
11029 | if (PyErr_Occurred()) SWIG_fail; | |
11030 | } | |
11031 | Py_INCREF(Py_None); resultobj = Py_None; | |
11032 | return resultobj; | |
11033 | fail: | |
11034 | return NULL; | |
11035 | } | |
11036 | ||
11037 | ||
3004cfd8 | 11038 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11039 | PyObject *resultobj; |
11040 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11041 | PyObject * obj0 = 0 ; | |
11042 | char *kwnames[] = { | |
11043 | (char *) "self", NULL | |
11044 | }; | |
11045 | ||
3004cfd8 RD |
11046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; |
11047 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11048 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11049 | { |
11050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11051 | (arg1)->LineCut(); |
cfe5e918 RD |
11052 | |
11053 | wxPyEndAllowThreads(__tstate); | |
11054 | if (PyErr_Occurred()) SWIG_fail; | |
11055 | } | |
11056 | Py_INCREF(Py_None); resultobj = Py_None; | |
11057 | return resultobj; | |
11058 | fail: | |
11059 | return NULL; | |
11060 | } | |
11061 | ||
11062 | ||
3004cfd8 | 11063 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11064 | PyObject *resultobj; |
11065 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11066 | PyObject * obj0 = 0 ; | |
11067 | char *kwnames[] = { | |
11068 | (char *) "self", NULL | |
11069 | }; | |
11070 | ||
3004cfd8 RD |
11071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; |
11072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11074 | { |
11075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11076 | (arg1)->LineDelete(); |
cfe5e918 RD |
11077 | |
11078 | wxPyEndAllowThreads(__tstate); | |
11079 | if (PyErr_Occurred()) SWIG_fail; | |
11080 | } | |
11081 | Py_INCREF(Py_None); resultobj = Py_None; | |
11082 | return resultobj; | |
11083 | fail: | |
11084 | return NULL; | |
11085 | } | |
11086 | ||
11087 | ||
3004cfd8 | 11088 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11089 | PyObject *resultobj; |
11090 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11091 | PyObject * obj0 = 0 ; | |
11092 | char *kwnames[] = { | |
11093 | (char *) "self", NULL | |
11094 | }; | |
11095 | ||
3004cfd8 RD |
11096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; |
11097 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11098 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11099 | { |
11100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11101 | (arg1)->LineTranspose(); |
cfe5e918 RD |
11102 | |
11103 | wxPyEndAllowThreads(__tstate); | |
11104 | if (PyErr_Occurred()) SWIG_fail; | |
11105 | } | |
11106 | Py_INCREF(Py_None); resultobj = Py_None; | |
11107 | return resultobj; | |
11108 | fail: | |
11109 | return NULL; | |
11110 | } | |
11111 | ||
11112 | ||
3004cfd8 | 11113 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11114 | PyObject *resultobj; |
11115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11116 | PyObject * obj0 = 0 ; | |
11117 | char *kwnames[] = { | |
11118 | (char *) "self", NULL | |
11119 | }; | |
11120 | ||
3004cfd8 RD |
11121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; |
11122 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11123 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11124 | { |
11125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11126 | (arg1)->LineDuplicate(); |
cfe5e918 RD |
11127 | |
11128 | wxPyEndAllowThreads(__tstate); | |
11129 | if (PyErr_Occurred()) SWIG_fail; | |
11130 | } | |
11131 | Py_INCREF(Py_None); resultobj = Py_None; | |
11132 | return resultobj; | |
11133 | fail: | |
11134 | return NULL; | |
11135 | } | |
11136 | ||
11137 | ||
3004cfd8 | 11138 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11139 | PyObject *resultobj; |
11140 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11141 | PyObject * obj0 = 0 ; | |
11142 | char *kwnames[] = { | |
11143 | (char *) "self", NULL | |
11144 | }; | |
11145 | ||
3004cfd8 RD |
11146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; |
11147 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11148 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11149 | { |
11150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11151 | (arg1)->LowerCase(); |
cfe5e918 RD |
11152 | |
11153 | wxPyEndAllowThreads(__tstate); | |
11154 | if (PyErr_Occurred()) SWIG_fail; | |
11155 | } | |
11156 | Py_INCREF(Py_None); resultobj = Py_None; | |
11157 | return resultobj; | |
11158 | fail: | |
11159 | return NULL; | |
11160 | } | |
11161 | ||
11162 | ||
3004cfd8 | 11163 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11164 | PyObject *resultobj; |
11165 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11166 | PyObject * obj0 = 0 ; |
cfe5e918 | 11167 | char *kwnames[] = { |
3004cfd8 | 11168 | (char *) "self", NULL |
cfe5e918 RD |
11169 | }; |
11170 | ||
3004cfd8 RD |
11171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; |
11172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11174 | { |
11175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11176 | (arg1)->UpperCase(); |
cfe5e918 RD |
11177 | |
11178 | wxPyEndAllowThreads(__tstate); | |
11179 | if (PyErr_Occurred()) SWIG_fail; | |
11180 | } | |
3004cfd8 | 11181 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11182 | return resultobj; |
11183 | fail: | |
11184 | return NULL; | |
11185 | } | |
11186 | ||
11187 | ||
3004cfd8 | 11188 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11189 | PyObject *resultobj; |
11190 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11191 | PyObject * obj0 = 0 ; |
cfe5e918 | 11192 | char *kwnames[] = { |
3004cfd8 | 11193 | (char *) "self", NULL |
cfe5e918 RD |
11194 | }; |
11195 | ||
3004cfd8 RD |
11196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; |
11197 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11198 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11199 | { |
11200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11201 | (arg1)->LineScrollDown(); |
cfe5e918 RD |
11202 | |
11203 | wxPyEndAllowThreads(__tstate); | |
11204 | if (PyErr_Occurred()) SWIG_fail; | |
11205 | } | |
11206 | Py_INCREF(Py_None); resultobj = Py_None; | |
11207 | return resultobj; | |
11208 | fail: | |
11209 | return NULL; | |
11210 | } | |
11211 | ||
11212 | ||
3004cfd8 | 11213 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11214 | PyObject *resultobj; |
11215 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11216 | PyObject * obj0 = 0 ; |
cfe5e918 | 11217 | char *kwnames[] = { |
3004cfd8 | 11218 | (char *) "self", NULL |
cfe5e918 RD |
11219 | }; |
11220 | ||
3004cfd8 RD |
11221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; |
11222 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11223 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11224 | { |
11225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11226 | (arg1)->LineScrollUp(); |
cfe5e918 RD |
11227 | |
11228 | wxPyEndAllowThreads(__tstate); | |
11229 | if (PyErr_Occurred()) SWIG_fail; | |
11230 | } | |
11231 | Py_INCREF(Py_None); resultobj = Py_None; | |
11232 | return resultobj; | |
11233 | fail: | |
11234 | return NULL; | |
11235 | } | |
11236 | ||
11237 | ||
3004cfd8 | 11238 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11239 | PyObject *resultobj; |
11240 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11241 | PyObject * obj0 = 0 ; |
cfe5e918 | 11242 | char *kwnames[] = { |
3004cfd8 | 11243 | (char *) "self", NULL |
cfe5e918 RD |
11244 | }; |
11245 | ||
3004cfd8 RD |
11246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; |
11247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11249 | { |
11250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11251 | (arg1)->DeleteBackNotLine(); |
cfe5e918 RD |
11252 | |
11253 | wxPyEndAllowThreads(__tstate); | |
11254 | if (PyErr_Occurred()) SWIG_fail; | |
11255 | } | |
3004cfd8 | 11256 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11257 | return resultobj; |
11258 | fail: | |
11259 | return NULL; | |
11260 | } | |
11261 | ||
11262 | ||
3004cfd8 | 11263 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11264 | PyObject *resultobj; |
11265 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11266 | PyObject * obj0 = 0 ; |
11267 | char *kwnames[] = { | |
11268 | (char *) "self", NULL | |
11269 | }; | |
11270 | ||
3004cfd8 RD |
11271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; |
11272 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11273 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11274 | { |
11275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11276 | (arg1)->HomeDisplay(); |
cfe5e918 RD |
11277 | |
11278 | wxPyEndAllowThreads(__tstate); | |
11279 | if (PyErr_Occurred()) SWIG_fail; | |
11280 | } | |
3004cfd8 | 11281 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11282 | return resultobj; |
11283 | fail: | |
11284 | return NULL; | |
11285 | } | |
11286 | ||
11287 | ||
3004cfd8 | 11288 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11289 | PyObject *resultobj; |
11290 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11291 | PyObject * obj0 = 0 ; |
cfe5e918 | 11292 | char *kwnames[] = { |
3004cfd8 | 11293 | (char *) "self", NULL |
cfe5e918 RD |
11294 | }; |
11295 | ||
3004cfd8 RD |
11296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; |
11297 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11298 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11299 | { |
11300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11301 | (arg1)->HomeDisplayExtend(); |
cfe5e918 RD |
11302 | |
11303 | wxPyEndAllowThreads(__tstate); | |
11304 | if (PyErr_Occurred()) SWIG_fail; | |
11305 | } | |
11306 | Py_INCREF(Py_None); resultobj = Py_None; | |
11307 | return resultobj; | |
11308 | fail: | |
11309 | return NULL; | |
11310 | } | |
11311 | ||
11312 | ||
3004cfd8 | 11313 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11314 | PyObject *resultobj; |
11315 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11316 | PyObject * obj0 = 0 ; |
11317 | char *kwnames[] = { | |
11318 | (char *) "self", NULL | |
11319 | }; | |
11320 | ||
3004cfd8 RD |
11321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; |
11322 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11323 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11324 | { |
11325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11326 | (arg1)->LineEndDisplay(); |
cfe5e918 RD |
11327 | |
11328 | wxPyEndAllowThreads(__tstate); | |
11329 | if (PyErr_Occurred()) SWIG_fail; | |
11330 | } | |
3004cfd8 | 11331 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11332 | return resultobj; |
11333 | fail: | |
11334 | return NULL; | |
11335 | } | |
11336 | ||
11337 | ||
3004cfd8 | 11338 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11339 | PyObject *resultobj; |
11340 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11341 | PyObject * obj0 = 0 ; |
cfe5e918 | 11342 | char *kwnames[] = { |
3004cfd8 | 11343 | (char *) "self", NULL |
cfe5e918 RD |
11344 | }; |
11345 | ||
3004cfd8 RD |
11346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; |
11347 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11348 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11349 | { |
11350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11351 | (arg1)->LineEndDisplayExtend(); |
cfe5e918 RD |
11352 | |
11353 | wxPyEndAllowThreads(__tstate); | |
11354 | if (PyErr_Occurred()) SWIG_fail; | |
11355 | } | |
11356 | Py_INCREF(Py_None); resultobj = Py_None; | |
11357 | return resultobj; | |
11358 | fail: | |
11359 | return NULL; | |
11360 | } | |
11361 | ||
11362 | ||
3004cfd8 | 11363 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11364 | PyObject *resultobj; |
11365 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11366 | PyObject * obj0 = 0 ; |
cfe5e918 | 11367 | char *kwnames[] = { |
3004cfd8 | 11368 | (char *) "self", NULL |
cfe5e918 RD |
11369 | }; |
11370 | ||
3004cfd8 RD |
11371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; |
11372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11374 | { |
11375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11376 | (arg1)->HomeWrap(); |
cfe5e918 RD |
11377 | |
11378 | wxPyEndAllowThreads(__tstate); | |
11379 | if (PyErr_Occurred()) SWIG_fail; | |
11380 | } | |
11381 | Py_INCREF(Py_None); resultobj = Py_None; | |
11382 | return resultobj; | |
11383 | fail: | |
11384 | return NULL; | |
11385 | } | |
11386 | ||
11387 | ||
3004cfd8 | 11388 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11389 | PyObject *resultobj; |
11390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11391 | PyObject * obj0 = 0 ; |
11392 | char *kwnames[] = { | |
11393 | (char *) "self", NULL | |
11394 | }; | |
11395 | ||
3004cfd8 RD |
11396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; |
11397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11399 | { |
11400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11401 | (arg1)->HomeWrapExtend(); |
cfe5e918 RD |
11402 | |
11403 | wxPyEndAllowThreads(__tstate); | |
11404 | if (PyErr_Occurred()) SWIG_fail; | |
11405 | } | |
3004cfd8 | 11406 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11407 | return resultobj; |
11408 | fail: | |
11409 | return NULL; | |
11410 | } | |
11411 | ||
11412 | ||
3004cfd8 | 11413 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11414 | PyObject *resultobj; |
11415 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11416 | PyObject * obj0 = 0 ; |
cfe5e918 | 11417 | char *kwnames[] = { |
3004cfd8 | 11418 | (char *) "self", NULL |
cfe5e918 RD |
11419 | }; |
11420 | ||
3004cfd8 RD |
11421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; |
11422 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11423 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11424 | { |
11425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11426 | (arg1)->LineEndWrap(); |
cfe5e918 RD |
11427 | |
11428 | wxPyEndAllowThreads(__tstate); | |
11429 | if (PyErr_Occurred()) SWIG_fail; | |
11430 | } | |
11431 | Py_INCREF(Py_None); resultobj = Py_None; | |
11432 | return resultobj; | |
11433 | fail: | |
11434 | return NULL; | |
11435 | } | |
11436 | ||
11437 | ||
3004cfd8 | 11438 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11439 | PyObject *resultobj; |
11440 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11441 | PyObject * obj0 = 0 ; |
11442 | char *kwnames[] = { | |
11443 | (char *) "self", NULL | |
11444 | }; | |
11445 | ||
3004cfd8 RD |
11446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; |
11447 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11448 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11449 | { |
11450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11451 | (arg1)->LineEndWrapExtend(); |
cfe5e918 RD |
11452 | |
11453 | wxPyEndAllowThreads(__tstate); | |
11454 | if (PyErr_Occurred()) SWIG_fail; | |
11455 | } | |
3004cfd8 | 11456 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11457 | return resultobj; |
11458 | fail: | |
11459 | return NULL; | |
11460 | } | |
11461 | ||
11462 | ||
3004cfd8 | 11463 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11464 | PyObject *resultobj; |
11465 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11466 | PyObject * obj0 = 0 ; |
cfe5e918 | 11467 | char *kwnames[] = { |
3004cfd8 | 11468 | (char *) "self", NULL |
cfe5e918 RD |
11469 | }; |
11470 | ||
3004cfd8 RD |
11471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; |
11472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11474 | { |
11475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11476 | (arg1)->VCHomeWrap(); |
cfe5e918 RD |
11477 | |
11478 | wxPyEndAllowThreads(__tstate); | |
11479 | if (PyErr_Occurred()) SWIG_fail; | |
11480 | } | |
11481 | Py_INCREF(Py_None); resultobj = Py_None; | |
11482 | return resultobj; | |
11483 | fail: | |
11484 | return NULL; | |
11485 | } | |
11486 | ||
11487 | ||
3004cfd8 | 11488 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11489 | PyObject *resultobj; |
11490 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
11491 | PyObject * obj0 = 0 ; |
11492 | char *kwnames[] = { | |
11493 | (char *) "self", NULL | |
11494 | }; | |
11495 | ||
3004cfd8 RD |
11496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; |
11497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11499 | { |
11500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11501 | (arg1)->VCHomeWrapExtend(); |
cfe5e918 RD |
11502 | |
11503 | wxPyEndAllowThreads(__tstate); | |
11504 | if (PyErr_Occurred()) SWIG_fail; | |
11505 | } | |
3004cfd8 | 11506 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11507 | return resultobj; |
11508 | fail: | |
11509 | return NULL; | |
11510 | } | |
11511 | ||
11512 | ||
3004cfd8 | 11513 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11514 | PyObject *resultobj; |
11515 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 11516 | PyObject * obj0 = 0 ; |
cfe5e918 | 11517 | char *kwnames[] = { |
3004cfd8 | 11518 | (char *) "self", NULL |
cfe5e918 RD |
11519 | }; |
11520 | ||
3004cfd8 RD |
11521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; |
11522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11524 | { |
11525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11526 | (arg1)->LineCopy(); |
cfe5e918 RD |
11527 | |
11528 | wxPyEndAllowThreads(__tstate); | |
11529 | if (PyErr_Occurred()) SWIG_fail; | |
11530 | } | |
11531 | Py_INCREF(Py_None); resultobj = Py_None; | |
11532 | return resultobj; | |
11533 | fail: | |
11534 | return NULL; | |
11535 | } | |
11536 | ||
11537 | ||
3004cfd8 | 11538 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11539 | PyObject *resultobj; |
11540 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11541 | PyObject * obj0 = 0 ; | |
11542 | char *kwnames[] = { | |
11543 | (char *) "self", NULL | |
11544 | }; | |
11545 | ||
3004cfd8 RD |
11546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; |
11547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11549 | { |
11550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11551 | (arg1)->MoveCaretInsideView(); |
cfe5e918 RD |
11552 | |
11553 | wxPyEndAllowThreads(__tstate); | |
11554 | if (PyErr_Occurred()) SWIG_fail; | |
11555 | } | |
11556 | Py_INCREF(Py_None); resultobj = Py_None; | |
11557 | return resultobj; | |
11558 | fail: | |
11559 | return NULL; | |
11560 | } | |
11561 | ||
11562 | ||
3004cfd8 | 11563 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11564 | PyObject *resultobj; |
11565 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11566 | int arg2 ; | |
cfe5e918 | 11567 | int result; |
cfe5e918 RD |
11568 | PyObject * obj0 = 0 ; |
11569 | PyObject * obj1 = 0 ; | |
cfe5e918 | 11570 | char *kwnames[] = { |
3004cfd8 | 11571 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
11572 | }; |
11573 | ||
3004cfd8 RD |
11574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; |
11575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 11577 | { |
3004cfd8 RD |
11578 | arg2 = (int)(SWIG_As_int(obj1)); |
11579 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
11580 | } |
11581 | { | |
11582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11583 | result = (int)(arg1)->LineLength(arg2); |
cfe5e918 RD |
11584 | |
11585 | wxPyEndAllowThreads(__tstate); | |
11586 | if (PyErr_Occurred()) SWIG_fail; | |
11587 | } | |
cfe5e918 | 11588 | { |
3004cfd8 | 11589 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
11590 | } |
11591 | return resultobj; | |
11592 | fail: | |
cfe5e918 RD |
11593 | return NULL; |
11594 | } | |
11595 | ||
11596 | ||
3004cfd8 | 11597 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11598 | PyObject *resultobj; |
11599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11600 | int arg2 ; | |
3004cfd8 | 11601 | int arg3 ; |
cfe5e918 RD |
11602 | PyObject * obj0 = 0 ; |
11603 | PyObject * obj1 = 0 ; | |
11604 | PyObject * obj2 = 0 ; | |
11605 | char *kwnames[] = { | |
3004cfd8 | 11606 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL |
cfe5e918 RD |
11607 | }; |
11608 | ||
3004cfd8 RD |
11609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
11610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 11612 | { |
3004cfd8 RD |
11613 | arg2 = (int)(SWIG_As_int(obj1)); |
11614 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11615 | } | |
11616 | { | |
11617 | arg3 = (int)(SWIG_As_int(obj2)); | |
11618 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
11619 | } |
11620 | { | |
11621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11622 | (arg1)->BraceHighlight(arg2,arg3); |
cfe5e918 RD |
11623 | |
11624 | wxPyEndAllowThreads(__tstate); | |
11625 | if (PyErr_Occurred()) SWIG_fail; | |
11626 | } | |
3004cfd8 | 11627 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11628 | return resultobj; |
11629 | fail: | |
cfe5e918 RD |
11630 | return NULL; |
11631 | } | |
11632 | ||
11633 | ||
3004cfd8 | 11634 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11635 | PyObject *resultobj; |
11636 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11637 | int arg2 ; |
cfe5e918 | 11638 | PyObject * obj0 = 0 ; |
3004cfd8 | 11639 | PyObject * obj1 = 0 ; |
cfe5e918 | 11640 | char *kwnames[] = { |
3004cfd8 | 11641 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
11642 | }; |
11643 | ||
3004cfd8 RD |
11644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; |
11645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11647 | { | |
11648 | arg2 = (int)(SWIG_As_int(obj1)); | |
11649 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11650 | } | |
cfe5e918 RD |
11651 | { |
11652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11653 | (arg1)->BraceBadLight(arg2); |
cfe5e918 RD |
11654 | |
11655 | wxPyEndAllowThreads(__tstate); | |
11656 | if (PyErr_Occurred()) SWIG_fail; | |
11657 | } | |
3004cfd8 | 11658 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11659 | return resultobj; |
11660 | fail: | |
11661 | return NULL; | |
11662 | } | |
11663 | ||
11664 | ||
3004cfd8 | 11665 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11666 | PyObject *resultobj; |
11667 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
11668 | int arg2 ; |
11669 | int result; | |
cfe5e918 RD |
11670 | PyObject * obj0 = 0 ; |
11671 | PyObject * obj1 = 0 ; | |
11672 | char *kwnames[] = { | |
3004cfd8 | 11673 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
11674 | }; |
11675 | ||
3004cfd8 RD |
11676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; |
11677 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11678 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11679 | { | |
11680 | arg2 = (int)(SWIG_As_int(obj1)); | |
11681 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11682 | } | |
cfe5e918 RD |
11683 | { |
11684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11685 | result = (int)(arg1)->BraceMatch(arg2); |
cfe5e918 RD |
11686 | |
11687 | wxPyEndAllowThreads(__tstate); | |
11688 | if (PyErr_Occurred()) SWIG_fail; | |
11689 | } | |
3004cfd8 RD |
11690 | { |
11691 | resultobj = SWIG_From_int((int)(result)); | |
11692 | } | |
cfe5e918 RD |
11693 | return resultobj; |
11694 | fail: | |
11695 | return NULL; | |
11696 | } | |
11697 | ||
11698 | ||
3004cfd8 | 11699 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11700 | PyObject *resultobj; |
11701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11702 | bool result; | |
11703 | PyObject * obj0 = 0 ; | |
11704 | char *kwnames[] = { | |
11705 | (char *) "self", NULL | |
11706 | }; | |
11707 | ||
3004cfd8 RD |
11708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; |
11709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11711 | { |
11712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11713 | result = (bool)(arg1)->GetViewEOL(); |
cfe5e918 RD |
11714 | |
11715 | wxPyEndAllowThreads(__tstate); | |
11716 | if (PyErr_Occurred()) SWIG_fail; | |
11717 | } | |
11718 | { | |
11719 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11720 | } | |
11721 | return resultobj; | |
11722 | fail: | |
11723 | return NULL; | |
11724 | } | |
11725 | ||
11726 | ||
3004cfd8 | 11727 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11728 | PyObject *resultobj; |
11729 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11730 | bool arg2 ; |
cfe5e918 RD |
11731 | PyObject * obj0 = 0 ; |
11732 | PyObject * obj1 = 0 ; | |
11733 | char *kwnames[] = { | |
3004cfd8 | 11734 | (char *) "self",(char *) "visible", NULL |
cfe5e918 RD |
11735 | }; |
11736 | ||
3004cfd8 RD |
11737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; |
11738 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11739 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 11740 | { |
3004cfd8 RD |
11741 | arg2 = (bool)(SWIG_As_bool(obj1)); |
11742 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 11743 | } |
cfe5e918 RD |
11744 | { |
11745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11746 | (arg1)->SetViewEOL(arg2); |
cfe5e918 RD |
11747 | |
11748 | wxPyEndAllowThreads(__tstate); | |
11749 | if (PyErr_Occurred()) SWIG_fail; | |
11750 | } | |
3004cfd8 | 11751 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11752 | return resultobj; |
11753 | fail: | |
11754 | return NULL; | |
11755 | } | |
11756 | ||
11757 | ||
3004cfd8 | 11758 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11759 | PyObject *resultobj; |
11760 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11761 | void *result; | |
11762 | PyObject * obj0 = 0 ; | |
11763 | char *kwnames[] = { | |
11764 | (char *) "self", NULL | |
11765 | }; | |
11766 | ||
3004cfd8 RD |
11767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; |
11768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11770 | { |
11771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11772 | result = (void *)(arg1)->GetDocPointer(); |
cfe5e918 RD |
11773 | |
11774 | wxPyEndAllowThreads(__tstate); | |
11775 | if (PyErr_Occurred()) SWIG_fail; | |
11776 | } | |
11777 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
11778 | return resultobj; | |
11779 | fail: | |
11780 | return NULL; | |
11781 | } | |
11782 | ||
11783 | ||
3004cfd8 | 11784 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11785 | PyObject *resultobj; |
11786 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11787 | void *arg2 = (void *) 0 ; | |
11788 | PyObject * obj0 = 0 ; | |
11789 | PyObject * obj1 = 0 ; | |
11790 | char *kwnames[] = { | |
11791 | (char *) "self",(char *) "docPointer", NULL | |
11792 | }; | |
11793 | ||
3004cfd8 RD |
11794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; |
11795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11797 | { | |
11798 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
11799 | SWIG_arg_fail(2);SWIG_fail; | |
11800 | } | |
11801 | } | |
cfe5e918 RD |
11802 | { |
11803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11804 | (arg1)->SetDocPointer(arg2); |
cfe5e918 RD |
11805 | |
11806 | wxPyEndAllowThreads(__tstate); | |
11807 | if (PyErr_Occurred()) SWIG_fail; | |
11808 | } | |
11809 | Py_INCREF(Py_None); resultobj = Py_None; | |
11810 | return resultobj; | |
11811 | fail: | |
11812 | return NULL; | |
11813 | } | |
11814 | ||
11815 | ||
3004cfd8 | 11816 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11817 | PyObject *resultobj; |
11818 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11819 | int arg2 ; |
cfe5e918 RD |
11820 | PyObject * obj0 = 0 ; |
11821 | PyObject * obj1 = 0 ; | |
11822 | char *kwnames[] = { | |
3004cfd8 | 11823 | (char *) "self",(char *) "mask", NULL |
cfe5e918 RD |
11824 | }; |
11825 | ||
3004cfd8 RD |
11826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; |
11827 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11828 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11829 | { | |
11830 | arg2 = (int)(SWIG_As_int(obj1)); | |
11831 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11832 | } | |
cfe5e918 RD |
11833 | { |
11834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11835 | (arg1)->SetModEventMask(arg2); |
cfe5e918 RD |
11836 | |
11837 | wxPyEndAllowThreads(__tstate); | |
11838 | if (PyErr_Occurred()) SWIG_fail; | |
11839 | } | |
11840 | Py_INCREF(Py_None); resultobj = Py_None; | |
11841 | return resultobj; | |
11842 | fail: | |
11843 | return NULL; | |
11844 | } | |
11845 | ||
11846 | ||
3004cfd8 | 11847 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11848 | PyObject *resultobj; |
11849 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11850 | int result; | |
11851 | PyObject * obj0 = 0 ; | |
11852 | char *kwnames[] = { | |
11853 | (char *) "self", NULL | |
11854 | }; | |
11855 | ||
3004cfd8 RD |
11856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; |
11857 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11858 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11859 | { |
11860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11861 | result = (int)(arg1)->GetEdgeColumn(); |
cfe5e918 RD |
11862 | |
11863 | wxPyEndAllowThreads(__tstate); | |
11864 | if (PyErr_Occurred()) SWIG_fail; | |
11865 | } | |
3004cfd8 RD |
11866 | { |
11867 | resultobj = SWIG_From_int((int)(result)); | |
11868 | } | |
cfe5e918 RD |
11869 | return resultobj; |
11870 | fail: | |
11871 | return NULL; | |
11872 | } | |
11873 | ||
11874 | ||
3004cfd8 | 11875 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11876 | PyObject *resultobj; |
11877 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11878 | int arg2 ; |
cfe5e918 RD |
11879 | PyObject * obj0 = 0 ; |
11880 | PyObject * obj1 = 0 ; | |
11881 | char *kwnames[] = { | |
3004cfd8 | 11882 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
11883 | }; |
11884 | ||
3004cfd8 RD |
11885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; |
11886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11888 | { | |
11889 | arg2 = (int)(SWIG_As_int(obj1)); | |
11890 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11891 | } | |
cfe5e918 RD |
11892 | { |
11893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11894 | (arg1)->SetEdgeColumn(arg2); |
cfe5e918 RD |
11895 | |
11896 | wxPyEndAllowThreads(__tstate); | |
11897 | if (PyErr_Occurred()) SWIG_fail; | |
11898 | } | |
11899 | Py_INCREF(Py_None); resultobj = Py_None; | |
11900 | return resultobj; | |
11901 | fail: | |
11902 | return NULL; | |
11903 | } | |
11904 | ||
11905 | ||
3004cfd8 | 11906 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11907 | PyObject *resultobj; |
11908 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11909 | int result; |
cfe5e918 RD |
11910 | PyObject * obj0 = 0 ; |
11911 | char *kwnames[] = { | |
11912 | (char *) "self", NULL | |
11913 | }; | |
11914 | ||
3004cfd8 RD |
11915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; |
11916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11918 | { |
11919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11920 | result = (int)(arg1)->GetEdgeMode(); |
cfe5e918 RD |
11921 | |
11922 | wxPyEndAllowThreads(__tstate); | |
11923 | if (PyErr_Occurred()) SWIG_fail; | |
11924 | } | |
11925 | { | |
3004cfd8 | 11926 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
11927 | } |
11928 | return resultobj; | |
11929 | fail: | |
11930 | return NULL; | |
11931 | } | |
11932 | ||
11933 | ||
3004cfd8 | 11934 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11935 | PyObject *resultobj; |
11936 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11937 | int arg2 ; | |
11938 | PyObject * obj0 = 0 ; | |
11939 | PyObject * obj1 = 0 ; | |
11940 | char *kwnames[] = { | |
3004cfd8 | 11941 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
11942 | }; |
11943 | ||
3004cfd8 RD |
11944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; |
11945 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11946 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11947 | { | |
11948 | arg2 = (int)(SWIG_As_int(obj1)); | |
11949 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11950 | } | |
cfe5e918 RD |
11951 | { |
11952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11953 | (arg1)->SetEdgeMode(arg2); |
cfe5e918 RD |
11954 | |
11955 | wxPyEndAllowThreads(__tstate); | |
11956 | if (PyErr_Occurred()) SWIG_fail; | |
11957 | } | |
11958 | Py_INCREF(Py_None); resultobj = Py_None; | |
11959 | return resultobj; | |
11960 | fail: | |
11961 | return NULL; | |
11962 | } | |
11963 | ||
11964 | ||
3004cfd8 | 11965 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11966 | PyObject *resultobj; |
11967 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 11968 | wxColour result; |
cfe5e918 RD |
11969 | PyObject * obj0 = 0 ; |
11970 | char *kwnames[] = { | |
11971 | (char *) "self", NULL | |
11972 | }; | |
11973 | ||
3004cfd8 RD |
11974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; |
11975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
11977 | { |
11978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 11979 | result = (arg1)->GetEdgeColour(); |
cfe5e918 RD |
11980 | |
11981 | wxPyEndAllowThreads(__tstate); | |
11982 | if (PyErr_Occurred()) SWIG_fail; | |
11983 | } | |
3004cfd8 RD |
11984 | { |
11985 | wxColour * resultptr; | |
11986 | resultptr = new wxColour((wxColour &)(result)); | |
11987 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
11988 | } | |
cfe5e918 RD |
11989 | return resultobj; |
11990 | fail: | |
11991 | return NULL; | |
11992 | } | |
11993 | ||
11994 | ||
3004cfd8 | 11995 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11996 | PyObject *resultobj; |
11997 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
11998 | wxColour *arg2 = 0 ; |
11999 | wxColour temp2 ; | |
cfe5e918 RD |
12000 | PyObject * obj0 = 0 ; |
12001 | PyObject * obj1 = 0 ; | |
12002 | char *kwnames[] = { | |
3004cfd8 | 12003 | (char *) "self",(char *) "edgeColour", NULL |
cfe5e918 RD |
12004 | }; |
12005 | ||
3004cfd8 RD |
12006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; |
12007 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12008 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12009 | { | |
12010 | arg2 = &temp2; | |
12011 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12012 | } | |
cfe5e918 RD |
12013 | { |
12014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12015 | (arg1)->SetEdgeColour((wxColour const &)*arg2); |
cfe5e918 RD |
12016 | |
12017 | wxPyEndAllowThreads(__tstate); | |
12018 | if (PyErr_Occurred()) SWIG_fail; | |
12019 | } | |
12020 | Py_INCREF(Py_None); resultobj = Py_None; | |
12021 | return resultobj; | |
12022 | fail: | |
12023 | return NULL; | |
12024 | } | |
12025 | ||
12026 | ||
3004cfd8 | 12027 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12028 | PyObject *resultobj; |
12029 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
12030 | PyObject * obj0 = 0 ; |
12031 | char *kwnames[] = { | |
12032 | (char *) "self", NULL | |
12033 | }; | |
12034 | ||
3004cfd8 RD |
12035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; |
12036 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12037 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12038 | { |
12039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12040 | (arg1)->SearchAnchor(); |
cfe5e918 RD |
12041 | |
12042 | wxPyEndAllowThreads(__tstate); | |
12043 | if (PyErr_Occurred()) SWIG_fail; | |
12044 | } | |
3004cfd8 | 12045 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12046 | return resultobj; |
12047 | fail: | |
12048 | return NULL; | |
12049 | } | |
12050 | ||
12051 | ||
3004cfd8 | 12052 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12053 | PyObject *resultobj; |
12054 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12055 | int arg2 ; | |
3004cfd8 RD |
12056 | wxString *arg3 = 0 ; |
12057 | int result; | |
12058 | bool temp3 = false ; | |
cfe5e918 RD |
12059 | PyObject * obj0 = 0 ; |
12060 | PyObject * obj1 = 0 ; | |
3004cfd8 | 12061 | PyObject * obj2 = 0 ; |
cfe5e918 | 12062 | char *kwnames[] = { |
3004cfd8 | 12063 | (char *) "self",(char *) "flags",(char *) "text", NULL |
cfe5e918 RD |
12064 | }; |
12065 | ||
3004cfd8 RD |
12066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12069 | { | |
12070 | arg2 = (int)(SWIG_As_int(obj1)); | |
12071 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12072 | } | |
12073 | { | |
12074 | arg3 = wxString_in_helper(obj2); | |
12075 | if (arg3 == NULL) SWIG_fail; | |
12076 | temp3 = true; | |
12077 | } | |
cfe5e918 RD |
12078 | { |
12079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12080 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
12081 | |
12082 | wxPyEndAllowThreads(__tstate); | |
12083 | if (PyErr_Occurred()) SWIG_fail; | |
12084 | } | |
3004cfd8 RD |
12085 | { |
12086 | resultobj = SWIG_From_int((int)(result)); | |
12087 | } | |
12088 | { | |
12089 | if (temp3) | |
12090 | delete arg3; | |
12091 | } | |
cfe5e918 RD |
12092 | return resultobj; |
12093 | fail: | |
3004cfd8 RD |
12094 | { |
12095 | if (temp3) | |
12096 | delete arg3; | |
12097 | } | |
cfe5e918 RD |
12098 | return NULL; |
12099 | } | |
12100 | ||
12101 | ||
3004cfd8 | 12102 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12103 | PyObject *resultobj; |
12104 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
12105 | int arg2 ; |
12106 | wxString *arg3 = 0 ; | |
cfe5e918 | 12107 | int result; |
3004cfd8 | 12108 | bool temp3 = false ; |
cfe5e918 | 12109 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
12110 | PyObject * obj1 = 0 ; |
12111 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12112 | char *kwnames[] = { |
3004cfd8 | 12113 | (char *) "self",(char *) "flags",(char *) "text", NULL |
cfe5e918 RD |
12114 | }; |
12115 | ||
3004cfd8 RD |
12116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12117 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12118 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12119 | { | |
12120 | arg2 = (int)(SWIG_As_int(obj1)); | |
12121 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12122 | } | |
12123 | { | |
12124 | arg3 = wxString_in_helper(obj2); | |
12125 | if (arg3 == NULL) SWIG_fail; | |
12126 | temp3 = true; | |
12127 | } | |
cfe5e918 RD |
12128 | { |
12129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12130 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
12131 | |
12132 | wxPyEndAllowThreads(__tstate); | |
12133 | if (PyErr_Occurred()) SWIG_fail; | |
12134 | } | |
3004cfd8 RD |
12135 | { |
12136 | resultobj = SWIG_From_int((int)(result)); | |
12137 | } | |
12138 | { | |
12139 | if (temp3) | |
12140 | delete arg3; | |
12141 | } | |
cfe5e918 RD |
12142 | return resultobj; |
12143 | fail: | |
3004cfd8 RD |
12144 | { |
12145 | if (temp3) | |
12146 | delete arg3; | |
12147 | } | |
cfe5e918 RD |
12148 | return NULL; |
12149 | } | |
12150 | ||
12151 | ||
3004cfd8 | 12152 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12153 | PyObject *resultobj; |
12154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12155 | int result; |
cfe5e918 | 12156 | PyObject * obj0 = 0 ; |
cfe5e918 | 12157 | char *kwnames[] = { |
3004cfd8 | 12158 | (char *) "self", NULL |
cfe5e918 RD |
12159 | }; |
12160 | ||
3004cfd8 RD |
12161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; |
12162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12164 | { |
12165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12166 | result = (int)(arg1)->LinesOnScreen(); |
cfe5e918 RD |
12167 | |
12168 | wxPyEndAllowThreads(__tstate); | |
12169 | if (PyErr_Occurred()) SWIG_fail; | |
12170 | } | |
3004cfd8 RD |
12171 | { |
12172 | resultobj = SWIG_From_int((int)(result)); | |
12173 | } | |
cfe5e918 RD |
12174 | return resultobj; |
12175 | fail: | |
12176 | return NULL; | |
12177 | } | |
12178 | ||
12179 | ||
3004cfd8 | 12180 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12181 | PyObject *resultobj; |
12182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12183 | bool arg2 ; |
cfe5e918 | 12184 | PyObject * obj0 = 0 ; |
3004cfd8 | 12185 | PyObject * obj1 = 0 ; |
cfe5e918 | 12186 | char *kwnames[] = { |
3004cfd8 | 12187 | (char *) "self",(char *) "allowPopUp", NULL |
cfe5e918 RD |
12188 | }; |
12189 | ||
3004cfd8 RD |
12190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; |
12191 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12192 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12193 | { | |
12194 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12195 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12196 | } | |
cfe5e918 RD |
12197 | { |
12198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12199 | (arg1)->UsePopUp(arg2); |
cfe5e918 RD |
12200 | |
12201 | wxPyEndAllowThreads(__tstate); | |
12202 | if (PyErr_Occurred()) SWIG_fail; | |
12203 | } | |
3004cfd8 | 12204 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12205 | return resultobj; |
12206 | fail: | |
12207 | return NULL; | |
12208 | } | |
12209 | ||
12210 | ||
3004cfd8 | 12211 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12212 | PyObject *resultobj; |
12213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12214 | bool result; |
cfe5e918 RD |
12215 | PyObject * obj0 = 0 ; |
12216 | char *kwnames[] = { | |
12217 | (char *) "self", NULL | |
12218 | }; | |
12219 | ||
3004cfd8 RD |
12220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; |
12221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12223 | { |
12224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12225 | result = (bool)(arg1)->SelectionIsRectangle(); |
cfe5e918 RD |
12226 | |
12227 | wxPyEndAllowThreads(__tstate); | |
12228 | if (PyErr_Occurred()) SWIG_fail; | |
12229 | } | |
3004cfd8 RD |
12230 | { |
12231 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12232 | } | |
cfe5e918 RD |
12233 | return resultobj; |
12234 | fail: | |
12235 | return NULL; | |
12236 | } | |
12237 | ||
12238 | ||
3004cfd8 | 12239 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12240 | PyObject *resultobj; |
12241 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12242 | int arg2 ; |
cfe5e918 | 12243 | PyObject * obj0 = 0 ; |
3004cfd8 | 12244 | PyObject * obj1 = 0 ; |
cfe5e918 | 12245 | char *kwnames[] = { |
3004cfd8 | 12246 | (char *) "self",(char *) "zoom", NULL |
cfe5e918 RD |
12247 | }; |
12248 | ||
3004cfd8 RD |
12249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
12250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12252 | { | |
12253 | arg2 = (int)(SWIG_As_int(obj1)); | |
12254 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12255 | } | |
cfe5e918 RD |
12256 | { |
12257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12258 | (arg1)->SetZoom(arg2); |
cfe5e918 RD |
12259 | |
12260 | wxPyEndAllowThreads(__tstate); | |
12261 | if (PyErr_Occurred()) SWIG_fail; | |
12262 | } | |
12263 | Py_INCREF(Py_None); resultobj = Py_None; | |
12264 | return resultobj; | |
12265 | fail: | |
12266 | return NULL; | |
12267 | } | |
12268 | ||
12269 | ||
3004cfd8 | 12270 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12271 | PyObject *resultobj; |
12272 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12273 | int result; |
cfe5e918 RD |
12274 | PyObject * obj0 = 0 ; |
12275 | char *kwnames[] = { | |
12276 | (char *) "self", NULL | |
12277 | }; | |
12278 | ||
3004cfd8 RD |
12279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; |
12280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12282 | { |
12283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12284 | result = (int)(arg1)->GetZoom(); |
cfe5e918 RD |
12285 | |
12286 | wxPyEndAllowThreads(__tstate); | |
12287 | if (PyErr_Occurred()) SWIG_fail; | |
12288 | } | |
3004cfd8 RD |
12289 | { |
12290 | resultobj = SWIG_From_int((int)(result)); | |
12291 | } | |
cfe5e918 RD |
12292 | return resultobj; |
12293 | fail: | |
12294 | return NULL; | |
12295 | } | |
12296 | ||
12297 | ||
3004cfd8 | 12298 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12299 | PyObject *resultobj; |
12300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12301 | void *result; |
cfe5e918 RD |
12302 | PyObject * obj0 = 0 ; |
12303 | char *kwnames[] = { | |
12304 | (char *) "self", NULL | |
12305 | }; | |
12306 | ||
3004cfd8 RD |
12307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; |
12308 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12309 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12310 | { |
12311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12312 | result = (void *)(arg1)->CreateDocument(); |
cfe5e918 RD |
12313 | |
12314 | wxPyEndAllowThreads(__tstate); | |
12315 | if (PyErr_Occurred()) SWIG_fail; | |
12316 | } | |
3004cfd8 | 12317 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); |
cfe5e918 RD |
12318 | return resultobj; |
12319 | fail: | |
12320 | return NULL; | |
12321 | } | |
12322 | ||
12323 | ||
3004cfd8 | 12324 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12325 | PyObject *resultobj; |
12326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12327 | void *arg2 = (void *) 0 ; |
cfe5e918 RD |
12328 | PyObject * obj0 = 0 ; |
12329 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12330 | char *kwnames[] = { |
3004cfd8 | 12331 | (char *) "self",(char *) "docPointer", NULL |
cfe5e918 RD |
12332 | }; |
12333 | ||
3004cfd8 RD |
12334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; |
12335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12337 | { | |
12338 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12339 | SWIG_arg_fail(2);SWIG_fail; | |
12340 | } | |
12341 | } | |
cfe5e918 RD |
12342 | { |
12343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12344 | (arg1)->AddRefDocument(arg2); |
cfe5e918 RD |
12345 | |
12346 | wxPyEndAllowThreads(__tstate); | |
12347 | if (PyErr_Occurred()) SWIG_fail; | |
12348 | } | |
12349 | Py_INCREF(Py_None); resultobj = Py_None; | |
12350 | return resultobj; | |
12351 | fail: | |
12352 | return NULL; | |
12353 | } | |
12354 | ||
12355 | ||
3004cfd8 | 12356 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12357 | PyObject *resultobj; |
12358 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12359 | void *arg2 = (void *) 0 ; |
cfe5e918 | 12360 | PyObject * obj0 = 0 ; |
3004cfd8 | 12361 | PyObject * obj1 = 0 ; |
cfe5e918 | 12362 | char *kwnames[] = { |
3004cfd8 | 12363 | (char *) "self",(char *) "docPointer", NULL |
cfe5e918 RD |
12364 | }; |
12365 | ||
3004cfd8 RD |
12366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; |
12367 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12368 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12369 | { | |
12370 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12371 | SWIG_arg_fail(2);SWIG_fail; | |
12372 | } | |
12373 | } | |
cfe5e918 RD |
12374 | { |
12375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12376 | (arg1)->ReleaseDocument(arg2); |
cfe5e918 RD |
12377 | |
12378 | wxPyEndAllowThreads(__tstate); | |
12379 | if (PyErr_Occurred()) SWIG_fail; | |
12380 | } | |
12381 | Py_INCREF(Py_None); resultobj = Py_None; | |
12382 | return resultobj; | |
12383 | fail: | |
12384 | return NULL; | |
12385 | } | |
12386 | ||
12387 | ||
3004cfd8 | 12388 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12389 | PyObject *resultobj; |
12390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12391 | int result; |
cfe5e918 RD |
12392 | PyObject * obj0 = 0 ; |
12393 | char *kwnames[] = { | |
12394 | (char *) "self", NULL | |
12395 | }; | |
12396 | ||
3004cfd8 RD |
12397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; |
12398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12400 | { |
12401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12402 | result = (int)(arg1)->GetModEventMask(); |
cfe5e918 RD |
12403 | |
12404 | wxPyEndAllowThreads(__tstate); | |
12405 | if (PyErr_Occurred()) SWIG_fail; | |
12406 | } | |
3004cfd8 RD |
12407 | { |
12408 | resultobj = SWIG_From_int((int)(result)); | |
12409 | } | |
cfe5e918 RD |
12410 | return resultobj; |
12411 | fail: | |
12412 | return NULL; | |
12413 | } | |
12414 | ||
12415 | ||
3004cfd8 | 12416 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12417 | PyObject *resultobj; |
12418 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12419 | bool arg2 ; |
cfe5e918 RD |
12420 | PyObject * obj0 = 0 ; |
12421 | PyObject * obj1 = 0 ; | |
12422 | char *kwnames[] = { | |
3004cfd8 | 12423 | (char *) "self",(char *) "focus", NULL |
cfe5e918 RD |
12424 | }; |
12425 | ||
3004cfd8 RD |
12426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; |
12427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12429 | { | |
12430 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12431 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12432 | } | |
cfe5e918 RD |
12433 | { |
12434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12435 | (arg1)->SetSTCFocus(arg2); |
cfe5e918 RD |
12436 | |
12437 | wxPyEndAllowThreads(__tstate); | |
12438 | if (PyErr_Occurred()) SWIG_fail; | |
12439 | } | |
12440 | Py_INCREF(Py_None); resultobj = Py_None; | |
12441 | return resultobj; | |
12442 | fail: | |
12443 | return NULL; | |
12444 | } | |
12445 | ||
12446 | ||
3004cfd8 | 12447 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12448 | PyObject *resultobj; |
12449 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12450 | bool result; |
cfe5e918 RD |
12451 | PyObject * obj0 = 0 ; |
12452 | char *kwnames[] = { | |
12453 | (char *) "self", NULL | |
12454 | }; | |
12455 | ||
3004cfd8 RD |
12456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; |
12457 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12458 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12459 | { |
12460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12461 | result = (bool)(arg1)->GetSTCFocus(); |
cfe5e918 RD |
12462 | |
12463 | wxPyEndAllowThreads(__tstate); | |
12464 | if (PyErr_Occurred()) SWIG_fail; | |
12465 | } | |
3004cfd8 RD |
12466 | { |
12467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12468 | } | |
cfe5e918 RD |
12469 | return resultobj; |
12470 | fail: | |
12471 | return NULL; | |
12472 | } | |
12473 | ||
12474 | ||
3004cfd8 | 12475 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12476 | PyObject *resultobj; |
12477 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12478 | int arg2 ; |
cfe5e918 | 12479 | PyObject * obj0 = 0 ; |
3004cfd8 | 12480 | PyObject * obj1 = 0 ; |
cfe5e918 | 12481 | char *kwnames[] = { |
3004cfd8 | 12482 | (char *) "self",(char *) "statusCode", NULL |
cfe5e918 RD |
12483 | }; |
12484 | ||
3004cfd8 RD |
12485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; |
12486 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12487 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12488 | { | |
12489 | arg2 = (int)(SWIG_As_int(obj1)); | |
12490 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12491 | } | |
cfe5e918 RD |
12492 | { |
12493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12494 | (arg1)->SetStatus(arg2); |
cfe5e918 RD |
12495 | |
12496 | wxPyEndAllowThreads(__tstate); | |
12497 | if (PyErr_Occurred()) SWIG_fail; | |
12498 | } | |
12499 | Py_INCREF(Py_None); resultobj = Py_None; | |
12500 | return resultobj; | |
12501 | fail: | |
12502 | return NULL; | |
12503 | } | |
12504 | ||
12505 | ||
3004cfd8 | 12506 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12507 | PyObject *resultobj; |
12508 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12509 | int result; |
cfe5e918 | 12510 | PyObject * obj0 = 0 ; |
cfe5e918 | 12511 | char *kwnames[] = { |
3004cfd8 | 12512 | (char *) "self", NULL |
cfe5e918 RD |
12513 | }; |
12514 | ||
3004cfd8 RD |
12515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; |
12516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12518 | { |
12519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12520 | result = (int)(arg1)->GetStatus(); |
cfe5e918 RD |
12521 | |
12522 | wxPyEndAllowThreads(__tstate); | |
12523 | if (PyErr_Occurred()) SWIG_fail; | |
12524 | } | |
3004cfd8 RD |
12525 | { |
12526 | resultobj = SWIG_From_int((int)(result)); | |
12527 | } | |
cfe5e918 RD |
12528 | return resultobj; |
12529 | fail: | |
12530 | return NULL; | |
12531 | } | |
12532 | ||
12533 | ||
3004cfd8 | 12534 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12535 | PyObject *resultobj; |
12536 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12537 | bool arg2 ; |
cfe5e918 RD |
12538 | PyObject * obj0 = 0 ; |
12539 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12540 | char *kwnames[] = { |
3004cfd8 | 12541 | (char *) "self",(char *) "captures", NULL |
cfe5e918 RD |
12542 | }; |
12543 | ||
3004cfd8 RD |
12544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; |
12545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12547 | { | |
12548 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12549 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12550 | } | |
cfe5e918 RD |
12551 | { |
12552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12553 | (arg1)->SetMouseDownCaptures(arg2); |
cfe5e918 RD |
12554 | |
12555 | wxPyEndAllowThreads(__tstate); | |
12556 | if (PyErr_Occurred()) SWIG_fail; | |
12557 | } | |
12558 | Py_INCREF(Py_None); resultobj = Py_None; | |
12559 | return resultobj; | |
12560 | fail: | |
12561 | return NULL; | |
12562 | } | |
12563 | ||
12564 | ||
3004cfd8 | 12565 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12566 | PyObject *resultobj; |
12567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12568 | bool result; |
cfe5e918 | 12569 | PyObject * obj0 = 0 ; |
cfe5e918 | 12570 | char *kwnames[] = { |
3004cfd8 | 12571 | (char *) "self", NULL |
cfe5e918 RD |
12572 | }; |
12573 | ||
3004cfd8 RD |
12574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; |
12575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12577 | { |
12578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12579 | result = (bool)(arg1)->GetMouseDownCaptures(); |
cfe5e918 RD |
12580 | |
12581 | wxPyEndAllowThreads(__tstate); | |
12582 | if (PyErr_Occurred()) SWIG_fail; | |
12583 | } | |
3004cfd8 RD |
12584 | { |
12585 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12586 | } | |
cfe5e918 RD |
12587 | return resultobj; |
12588 | fail: | |
12589 | return NULL; | |
12590 | } | |
12591 | ||
12592 | ||
3004cfd8 | 12593 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12594 | PyObject *resultobj; |
12595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12596 | int arg2 ; |
cfe5e918 | 12597 | PyObject * obj0 = 0 ; |
3004cfd8 | 12598 | PyObject * obj1 = 0 ; |
cfe5e918 | 12599 | char *kwnames[] = { |
3004cfd8 | 12600 | (char *) "self",(char *) "cursorType", NULL |
cfe5e918 RD |
12601 | }; |
12602 | ||
3004cfd8 RD |
12603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; |
12604 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12605 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12606 | { | |
12607 | arg2 = (int)(SWIG_As_int(obj1)); | |
12608 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12609 | } | |
cfe5e918 RD |
12610 | { |
12611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12612 | (arg1)->SetSTCCursor(arg2); |
cfe5e918 RD |
12613 | |
12614 | wxPyEndAllowThreads(__tstate); | |
12615 | if (PyErr_Occurred()) SWIG_fail; | |
12616 | } | |
3004cfd8 | 12617 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12618 | return resultobj; |
12619 | fail: | |
12620 | return NULL; | |
12621 | } | |
12622 | ||
12623 | ||
3004cfd8 | 12624 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12625 | PyObject *resultobj; |
12626 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12627 | int result; |
cfe5e918 | 12628 | PyObject * obj0 = 0 ; |
cfe5e918 | 12629 | char *kwnames[] = { |
3004cfd8 | 12630 | (char *) "self", NULL |
cfe5e918 RD |
12631 | }; |
12632 | ||
3004cfd8 RD |
12633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; |
12634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12636 | { |
12637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12638 | result = (int)(arg1)->GetSTCCursor(); |
cfe5e918 RD |
12639 | |
12640 | wxPyEndAllowThreads(__tstate); | |
12641 | if (PyErr_Occurred()) SWIG_fail; | |
12642 | } | |
3004cfd8 RD |
12643 | { |
12644 | resultobj = SWIG_From_int((int)(result)); | |
12645 | } | |
cfe5e918 RD |
12646 | return resultobj; |
12647 | fail: | |
12648 | return NULL; | |
12649 | } | |
12650 | ||
12651 | ||
3004cfd8 | 12652 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12653 | PyObject *resultobj; |
12654 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12655 | int arg2 ; |
cfe5e918 RD |
12656 | PyObject * obj0 = 0 ; |
12657 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12658 | char *kwnames[] = { |
3004cfd8 | 12659 | (char *) "self",(char *) "symbol", NULL |
cfe5e918 RD |
12660 | }; |
12661 | ||
3004cfd8 RD |
12662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; |
12663 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12664 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 12665 | { |
3004cfd8 RD |
12666 | arg2 = (int)(SWIG_As_int(obj1)); |
12667 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
12668 | } |
12669 | { | |
12670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12671 | (arg1)->SetControlCharSymbol(arg2); |
cfe5e918 RD |
12672 | |
12673 | wxPyEndAllowThreads(__tstate); | |
12674 | if (PyErr_Occurred()) SWIG_fail; | |
12675 | } | |
12676 | Py_INCREF(Py_None); resultobj = Py_None; | |
12677 | return resultobj; | |
12678 | fail: | |
12679 | return NULL; | |
12680 | } | |
12681 | ||
12682 | ||
3004cfd8 | 12683 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12684 | PyObject *resultobj; |
12685 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12686 | int result; |
cfe5e918 | 12687 | PyObject * obj0 = 0 ; |
cfe5e918 | 12688 | char *kwnames[] = { |
3004cfd8 | 12689 | (char *) "self", NULL |
cfe5e918 RD |
12690 | }; |
12691 | ||
3004cfd8 RD |
12692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; |
12693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12695 | { |
12696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12697 | result = (int)(arg1)->GetControlCharSymbol(); |
cfe5e918 RD |
12698 | |
12699 | wxPyEndAllowThreads(__tstate); | |
12700 | if (PyErr_Occurred()) SWIG_fail; | |
12701 | } | |
3004cfd8 RD |
12702 | { |
12703 | resultobj = SWIG_From_int((int)(result)); | |
12704 | } | |
cfe5e918 RD |
12705 | return resultobj; |
12706 | fail: | |
12707 | return NULL; | |
12708 | } | |
12709 | ||
12710 | ||
3004cfd8 | 12711 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12712 | PyObject *resultobj; |
12713 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12714 | PyObject * obj0 = 0 ; |
cfe5e918 | 12715 | char *kwnames[] = { |
3004cfd8 | 12716 | (char *) "self", NULL |
cfe5e918 RD |
12717 | }; |
12718 | ||
3004cfd8 RD |
12719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; |
12720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12722 | { |
12723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12724 | (arg1)->WordPartLeft(); |
cfe5e918 RD |
12725 | |
12726 | wxPyEndAllowThreads(__tstate); | |
12727 | if (PyErr_Occurred()) SWIG_fail; | |
12728 | } | |
12729 | Py_INCREF(Py_None); resultobj = Py_None; | |
12730 | return resultobj; | |
12731 | fail: | |
12732 | return NULL; | |
12733 | } | |
12734 | ||
12735 | ||
3004cfd8 | 12736 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12737 | PyObject *resultobj; |
12738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12739 | PyObject * obj0 = 0 ; | |
12740 | char *kwnames[] = { | |
12741 | (char *) "self", NULL | |
12742 | }; | |
12743 | ||
3004cfd8 RD |
12744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; |
12745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12747 | { |
12748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12749 | (arg1)->WordPartLeftExtend(); |
cfe5e918 RD |
12750 | |
12751 | wxPyEndAllowThreads(__tstate); | |
12752 | if (PyErr_Occurred()) SWIG_fail; | |
12753 | } | |
12754 | Py_INCREF(Py_None); resultobj = Py_None; | |
12755 | return resultobj; | |
12756 | fail: | |
12757 | return NULL; | |
12758 | } | |
12759 | ||
12760 | ||
3004cfd8 | 12761 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12762 | PyObject *resultobj; |
12763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12764 | PyObject * obj0 = 0 ; | |
12765 | char *kwnames[] = { | |
12766 | (char *) "self", NULL | |
12767 | }; | |
12768 | ||
3004cfd8 RD |
12769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; |
12770 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12771 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12772 | { |
12773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12774 | (arg1)->WordPartRight(); |
cfe5e918 RD |
12775 | |
12776 | wxPyEndAllowThreads(__tstate); | |
12777 | if (PyErr_Occurred()) SWIG_fail; | |
12778 | } | |
12779 | Py_INCREF(Py_None); resultobj = Py_None; | |
12780 | return resultobj; | |
12781 | fail: | |
12782 | return NULL; | |
12783 | } | |
12784 | ||
12785 | ||
3004cfd8 | 12786 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12787 | PyObject *resultobj; |
12788 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12789 | PyObject * obj0 = 0 ; | |
12790 | char *kwnames[] = { | |
12791 | (char *) "self", NULL | |
12792 | }; | |
12793 | ||
3004cfd8 RD |
12794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; |
12795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12797 | { |
12798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12799 | (arg1)->WordPartRightExtend(); |
cfe5e918 RD |
12800 | |
12801 | wxPyEndAllowThreads(__tstate); | |
12802 | if (PyErr_Occurred()) SWIG_fail; | |
12803 | } | |
12804 | Py_INCREF(Py_None); resultobj = Py_None; | |
12805 | return resultobj; | |
12806 | fail: | |
12807 | return NULL; | |
12808 | } | |
12809 | ||
12810 | ||
3004cfd8 | 12811 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12812 | PyObject *resultobj; |
12813 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
12814 | int arg2 ; |
12815 | int arg3 ; | |
cfe5e918 | 12816 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
12817 | PyObject * obj1 = 0 ; |
12818 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12819 | char *kwnames[] = { |
3004cfd8 | 12820 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL |
cfe5e918 RD |
12821 | }; |
12822 | ||
3004cfd8 RD |
12823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12826 | { | |
12827 | arg2 = (int)(SWIG_As_int(obj1)); | |
12828 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12829 | } | |
12830 | { | |
12831 | arg3 = (int)(SWIG_As_int(obj2)); | |
12832 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12833 | } | |
cfe5e918 RD |
12834 | { |
12835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12836 | (arg1)->SetVisiblePolicy(arg2,arg3); |
cfe5e918 RD |
12837 | |
12838 | wxPyEndAllowThreads(__tstate); | |
12839 | if (PyErr_Occurred()) SWIG_fail; | |
12840 | } | |
12841 | Py_INCREF(Py_None); resultobj = Py_None; | |
12842 | return resultobj; | |
12843 | fail: | |
12844 | return NULL; | |
12845 | } | |
12846 | ||
12847 | ||
3004cfd8 | 12848 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12849 | PyObject *resultobj; |
12850 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12851 | PyObject * obj0 = 0 ; |
cfe5e918 | 12852 | char *kwnames[] = { |
3004cfd8 | 12853 | (char *) "self", NULL |
cfe5e918 RD |
12854 | }; |
12855 | ||
3004cfd8 RD |
12856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; |
12857 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12858 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12859 | { |
12860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12861 | (arg1)->DelLineLeft(); |
cfe5e918 RD |
12862 | |
12863 | wxPyEndAllowThreads(__tstate); | |
12864 | if (PyErr_Occurred()) SWIG_fail; | |
12865 | } | |
3004cfd8 | 12866 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12867 | return resultobj; |
12868 | fail: | |
12869 | return NULL; | |
12870 | } | |
12871 | ||
12872 | ||
3004cfd8 | 12873 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12874 | PyObject *resultobj; |
12875 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12876 | PyObject * obj0 = 0 ; |
cfe5e918 | 12877 | char *kwnames[] = { |
3004cfd8 | 12878 | (char *) "self", NULL |
cfe5e918 RD |
12879 | }; |
12880 | ||
3004cfd8 RD |
12881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; |
12882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12884 | { |
12885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12886 | (arg1)->DelLineRight(); |
cfe5e918 RD |
12887 | |
12888 | wxPyEndAllowThreads(__tstate); | |
12889 | if (PyErr_Occurred()) SWIG_fail; | |
12890 | } | |
3004cfd8 | 12891 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12892 | return resultobj; |
12893 | fail: | |
12894 | return NULL; | |
12895 | } | |
12896 | ||
12897 | ||
3004cfd8 | 12898 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12899 | PyObject *resultobj; |
12900 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12901 | int arg2 ; | |
cfe5e918 RD |
12902 | PyObject * obj0 = 0 ; |
12903 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12904 | char *kwnames[] = { |
3004cfd8 | 12905 | (char *) "self",(char *) "newOffset", NULL |
cfe5e918 RD |
12906 | }; |
12907 | ||
3004cfd8 RD |
12908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; |
12909 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12910 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12911 | { | |
12912 | arg2 = (int)(SWIG_As_int(obj1)); | |
12913 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12914 | } | |
cfe5e918 RD |
12915 | { |
12916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12917 | (arg1)->SetXOffset(arg2); |
cfe5e918 RD |
12918 | |
12919 | wxPyEndAllowThreads(__tstate); | |
12920 | if (PyErr_Occurred()) SWIG_fail; | |
12921 | } | |
12922 | Py_INCREF(Py_None); resultobj = Py_None; | |
12923 | return resultobj; | |
12924 | fail: | |
12925 | return NULL; | |
12926 | } | |
12927 | ||
12928 | ||
3004cfd8 | 12929 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12930 | PyObject *resultobj; |
12931 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 12932 | int result; |
cfe5e918 | 12933 | PyObject * obj0 = 0 ; |
cfe5e918 | 12934 | char *kwnames[] = { |
3004cfd8 | 12935 | (char *) "self", NULL |
cfe5e918 RD |
12936 | }; |
12937 | ||
3004cfd8 RD |
12938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; |
12939 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12940 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12941 | { |
12942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12943 | result = (int)(arg1)->GetXOffset(); |
cfe5e918 RD |
12944 | |
12945 | wxPyEndAllowThreads(__tstate); | |
12946 | if (PyErr_Occurred()) SWIG_fail; | |
12947 | } | |
cfe5e918 | 12948 | { |
3004cfd8 | 12949 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
12950 | } |
12951 | return resultobj; | |
12952 | fail: | |
cfe5e918 RD |
12953 | return NULL; |
12954 | } | |
12955 | ||
12956 | ||
3004cfd8 | 12957 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12958 | PyObject *resultobj; |
12959 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 12960 | PyObject * obj0 = 0 ; |
cfe5e918 | 12961 | char *kwnames[] = { |
3004cfd8 | 12962 | (char *) "self", NULL |
cfe5e918 RD |
12963 | }; |
12964 | ||
3004cfd8 RD |
12965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; |
12966 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12967 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
12968 | { |
12969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 12970 | (arg1)->ChooseCaretX(); |
cfe5e918 RD |
12971 | |
12972 | wxPyEndAllowThreads(__tstate); | |
12973 | if (PyErr_Occurred()) SWIG_fail; | |
12974 | } | |
12975 | Py_INCREF(Py_None); resultobj = Py_None; | |
12976 | return resultobj; | |
12977 | fail: | |
12978 | return NULL; | |
12979 | } | |
12980 | ||
12981 | ||
3004cfd8 | 12982 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12983 | PyObject *resultobj; |
12984 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
12985 | int arg2 ; |
12986 | int arg3 ; | |
cfe5e918 | 12987 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
12988 | PyObject * obj1 = 0 ; |
12989 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12990 | char *kwnames[] = { |
3004cfd8 | 12991 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
cfe5e918 RD |
12992 | }; |
12993 | ||
3004cfd8 RD |
12994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12997 | { | |
12998 | arg2 = (int)(SWIG_As_int(obj1)); | |
12999 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13000 | } | |
13001 | { | |
13002 | arg3 = (int)(SWIG_As_int(obj2)); | |
13003 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13004 | } | |
cfe5e918 RD |
13005 | { |
13006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13007 | (arg1)->SetXCaretPolicy(arg2,arg3); |
cfe5e918 RD |
13008 | |
13009 | wxPyEndAllowThreads(__tstate); | |
13010 | if (PyErr_Occurred()) SWIG_fail; | |
13011 | } | |
3004cfd8 | 13012 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13013 | return resultobj; |
13014 | fail: | |
13015 | return NULL; | |
13016 | } | |
13017 | ||
13018 | ||
3004cfd8 | 13019 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13020 | PyObject *resultobj; |
13021 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13022 | int arg2 ; | |
3004cfd8 | 13023 | int arg3 ; |
cfe5e918 RD |
13024 | PyObject * obj0 = 0 ; |
13025 | PyObject * obj1 = 0 ; | |
3004cfd8 | 13026 | PyObject * obj2 = 0 ; |
cfe5e918 | 13027 | char *kwnames[] = { |
3004cfd8 | 13028 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
cfe5e918 RD |
13029 | }; |
13030 | ||
3004cfd8 RD |
13031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13034 | { | |
13035 | arg2 = (int)(SWIG_As_int(obj1)); | |
13036 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13037 | } | |
13038 | { | |
13039 | arg3 = (int)(SWIG_As_int(obj2)); | |
13040 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13041 | } | |
cfe5e918 RD |
13042 | { |
13043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13044 | (arg1)->SetYCaretPolicy(arg2,arg3); |
cfe5e918 RD |
13045 | |
13046 | wxPyEndAllowThreads(__tstate); | |
13047 | if (PyErr_Occurred()) SWIG_fail; | |
13048 | } | |
3004cfd8 | 13049 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13050 | return resultobj; |
13051 | fail: | |
13052 | return NULL; | |
13053 | } | |
13054 | ||
13055 | ||
3004cfd8 | 13056 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13057 | PyObject *resultobj; |
13058 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13059 | int arg2 ; | |
cfe5e918 RD |
13060 | PyObject * obj0 = 0 ; |
13061 | PyObject * obj1 = 0 ; | |
13062 | char *kwnames[] = { | |
3004cfd8 | 13063 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
13064 | }; |
13065 | ||
3004cfd8 RD |
13066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; |
13067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13069 | { | |
13070 | arg2 = (int)(SWIG_As_int(obj1)); | |
13071 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13072 | } | |
cfe5e918 RD |
13073 | { |
13074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13075 | (arg1)->SetPrintWrapMode(arg2); |
cfe5e918 RD |
13076 | |
13077 | wxPyEndAllowThreads(__tstate); | |
13078 | if (PyErr_Occurred()) SWIG_fail; | |
13079 | } | |
3004cfd8 | 13080 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13081 | return resultobj; |
13082 | fail: | |
13083 | return NULL; | |
13084 | } | |
13085 | ||
13086 | ||
3004cfd8 | 13087 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13088 | PyObject *resultobj; |
13089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13090 | int result; |
cfe5e918 RD |
13091 | PyObject * obj0 = 0 ; |
13092 | char *kwnames[] = { | |
13093 | (char *) "self", NULL | |
13094 | }; | |
13095 | ||
3004cfd8 RD |
13096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; |
13097 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13098 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13099 | { |
13100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13101 | result = (int)(arg1)->GetPrintWrapMode(); |
cfe5e918 RD |
13102 | |
13103 | wxPyEndAllowThreads(__tstate); | |
13104 | if (PyErr_Occurred()) SWIG_fail; | |
13105 | } | |
3004cfd8 RD |
13106 | { |
13107 | resultobj = SWIG_From_int((int)(result)); | |
13108 | } | |
cfe5e918 RD |
13109 | return resultobj; |
13110 | fail: | |
13111 | return NULL; | |
13112 | } | |
13113 | ||
13114 | ||
3004cfd8 | 13115 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13116 | PyObject *resultobj; |
13117 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13118 | bool arg2 ; |
13119 | wxColour *arg3 = 0 ; | |
13120 | wxColour temp3 ; | |
cfe5e918 | 13121 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13122 | PyObject * obj1 = 0 ; |
13123 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13124 | char *kwnames[] = { |
3004cfd8 | 13125 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
13126 | }; |
13127 | ||
3004cfd8 RD |
13128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13129 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13130 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13131 | { | |
13132 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13133 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13134 | } | |
13135 | { | |
13136 | arg3 = &temp3; | |
13137 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13138 | } | |
cfe5e918 RD |
13139 | { |
13140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13141 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
13142 | |
13143 | wxPyEndAllowThreads(__tstate); | |
13144 | if (PyErr_Occurred()) SWIG_fail; | |
13145 | } | |
13146 | Py_INCREF(Py_None); resultobj = Py_None; | |
13147 | return resultobj; | |
13148 | fail: | |
13149 | return NULL; | |
13150 | } | |
13151 | ||
13152 | ||
3004cfd8 | 13153 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13154 | PyObject *resultobj; |
13155 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13156 | bool arg2 ; |
13157 | wxColour *arg3 = 0 ; | |
13158 | wxColour temp3 ; | |
cfe5e918 | 13159 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13160 | PyObject * obj1 = 0 ; |
13161 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13162 | char *kwnames[] = { |
3004cfd8 | 13163 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
13164 | }; |
13165 | ||
3004cfd8 RD |
13166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13169 | { | |
13170 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13171 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13172 | } | |
13173 | { | |
13174 | arg3 = &temp3; | |
13175 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13176 | } | |
cfe5e918 RD |
13177 | { |
13178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13179 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
13180 | |
13181 | wxPyEndAllowThreads(__tstate); | |
13182 | if (PyErr_Occurred()) SWIG_fail; | |
13183 | } | |
13184 | Py_INCREF(Py_None); resultobj = Py_None; | |
13185 | return resultobj; | |
13186 | fail: | |
13187 | return NULL; | |
13188 | } | |
13189 | ||
13190 | ||
3004cfd8 | 13191 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13192 | PyObject *resultobj; |
13193 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13194 | bool arg2 ; |
cfe5e918 | 13195 | PyObject * obj0 = 0 ; |
3004cfd8 | 13196 | PyObject * obj1 = 0 ; |
cfe5e918 | 13197 | char *kwnames[] = { |
3004cfd8 | 13198 | (char *) "self",(char *) "underline", NULL |
cfe5e918 RD |
13199 | }; |
13200 | ||
3004cfd8 RD |
13201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; |
13202 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13203 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13204 | { | |
13205 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13206 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13207 | } | |
cfe5e918 RD |
13208 | { |
13209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13210 | (arg1)->SetHotspotActiveUnderline(arg2); |
cfe5e918 RD |
13211 | |
13212 | wxPyEndAllowThreads(__tstate); | |
13213 | if (PyErr_Occurred()) SWIG_fail; | |
13214 | } | |
13215 | Py_INCREF(Py_None); resultobj = Py_None; | |
13216 | return resultobj; | |
13217 | fail: | |
13218 | return NULL; | |
13219 | } | |
13220 | ||
13221 | ||
3004cfd8 | 13222 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13223 | PyObject *resultobj; |
13224 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13225 | bool arg2 ; |
cfe5e918 | 13226 | PyObject * obj0 = 0 ; |
3004cfd8 | 13227 | PyObject * obj1 = 0 ; |
cfe5e918 | 13228 | char *kwnames[] = { |
3004cfd8 | 13229 | (char *) "self",(char *) "singleLine", NULL |
cfe5e918 RD |
13230 | }; |
13231 | ||
3004cfd8 RD |
13232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; |
13233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13235 | { | |
13236 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13237 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13238 | } | |
cfe5e918 RD |
13239 | { |
13240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13241 | (arg1)->SetHotspotSingleLine(arg2); |
cfe5e918 RD |
13242 | |
13243 | wxPyEndAllowThreads(__tstate); | |
13244 | if (PyErr_Occurred()) SWIG_fail; | |
13245 | } | |
13246 | Py_INCREF(Py_None); resultobj = Py_None; | |
13247 | return resultobj; | |
13248 | fail: | |
13249 | return NULL; | |
13250 | } | |
13251 | ||
13252 | ||
3004cfd8 | 13253 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13254 | PyObject *resultobj; |
13255 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13256 | PyObject * obj0 = 0 ; | |
13257 | char *kwnames[] = { | |
13258 | (char *) "self", NULL | |
13259 | }; | |
13260 | ||
3004cfd8 RD |
13261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; |
13262 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13263 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13264 | { |
13265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13266 | (arg1)->ParaDown(); |
cfe5e918 RD |
13267 | |
13268 | wxPyEndAllowThreads(__tstate); | |
13269 | if (PyErr_Occurred()) SWIG_fail; | |
13270 | } | |
13271 | Py_INCREF(Py_None); resultobj = Py_None; | |
13272 | return resultobj; | |
13273 | fail: | |
13274 | return NULL; | |
13275 | } | |
13276 | ||
13277 | ||
3004cfd8 | 13278 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13279 | PyObject *resultobj; |
13280 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13281 | PyObject * obj0 = 0 ; | |
13282 | char *kwnames[] = { | |
13283 | (char *) "self", NULL | |
13284 | }; | |
13285 | ||
3004cfd8 RD |
13286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; |
13287 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13288 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13289 | { |
13290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13291 | (arg1)->ParaDownExtend(); |
cfe5e918 RD |
13292 | |
13293 | wxPyEndAllowThreads(__tstate); | |
13294 | if (PyErr_Occurred()) SWIG_fail; | |
13295 | } | |
13296 | Py_INCREF(Py_None); resultobj = Py_None; | |
13297 | return resultobj; | |
13298 | fail: | |
13299 | return NULL; | |
13300 | } | |
13301 | ||
13302 | ||
3004cfd8 | 13303 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13304 | PyObject *resultobj; |
13305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13306 | PyObject * obj0 = 0 ; | |
13307 | char *kwnames[] = { | |
13308 | (char *) "self", NULL | |
13309 | }; | |
13310 | ||
3004cfd8 RD |
13311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; |
13312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13314 | { |
13315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13316 | (arg1)->ParaUp(); |
cfe5e918 RD |
13317 | |
13318 | wxPyEndAllowThreads(__tstate); | |
13319 | if (PyErr_Occurred()) SWIG_fail; | |
13320 | } | |
13321 | Py_INCREF(Py_None); resultobj = Py_None; | |
13322 | return resultobj; | |
13323 | fail: | |
13324 | return NULL; | |
13325 | } | |
13326 | ||
13327 | ||
3004cfd8 | 13328 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13329 | PyObject *resultobj; |
13330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13331 | PyObject * obj0 = 0 ; | |
13332 | char *kwnames[] = { | |
13333 | (char *) "self", NULL | |
13334 | }; | |
13335 | ||
3004cfd8 RD |
13336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; |
13337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13339 | { |
13340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13341 | (arg1)->ParaUpExtend(); |
cfe5e918 RD |
13342 | |
13343 | wxPyEndAllowThreads(__tstate); | |
13344 | if (PyErr_Occurred()) SWIG_fail; | |
13345 | } | |
13346 | Py_INCREF(Py_None); resultobj = Py_None; | |
13347 | return resultobj; | |
13348 | fail: | |
13349 | return NULL; | |
13350 | } | |
13351 | ||
13352 | ||
3004cfd8 | 13353 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13354 | PyObject *resultobj; |
13355 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13356 | int arg2 ; |
13357 | int result; | |
cfe5e918 | 13358 | PyObject * obj0 = 0 ; |
3004cfd8 | 13359 | PyObject * obj1 = 0 ; |
cfe5e918 | 13360 | char *kwnames[] = { |
3004cfd8 | 13361 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
13362 | }; |
13363 | ||
3004cfd8 RD |
13364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; |
13365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13367 | { | |
13368 | arg2 = (int)(SWIG_As_int(obj1)); | |
13369 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13370 | } | |
cfe5e918 RD |
13371 | { |
13372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13373 | result = (int)(arg1)->PositionBefore(arg2); |
cfe5e918 RD |
13374 | |
13375 | wxPyEndAllowThreads(__tstate); | |
13376 | if (PyErr_Occurred()) SWIG_fail; | |
13377 | } | |
3004cfd8 RD |
13378 | { |
13379 | resultobj = SWIG_From_int((int)(result)); | |
13380 | } | |
cfe5e918 RD |
13381 | return resultobj; |
13382 | fail: | |
13383 | return NULL; | |
13384 | } | |
13385 | ||
13386 | ||
3004cfd8 | 13387 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13388 | PyObject *resultobj; |
13389 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13390 | int arg2 ; |
13391 | int result; | |
cfe5e918 | 13392 | PyObject * obj0 = 0 ; |
3004cfd8 | 13393 | PyObject * obj1 = 0 ; |
cfe5e918 | 13394 | char *kwnames[] = { |
3004cfd8 | 13395 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
13396 | }; |
13397 | ||
3004cfd8 RD |
13398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; |
13399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13401 | { | |
13402 | arg2 = (int)(SWIG_As_int(obj1)); | |
13403 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13404 | } | |
cfe5e918 RD |
13405 | { |
13406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13407 | result = (int)(arg1)->PositionAfter(arg2); |
cfe5e918 RD |
13408 | |
13409 | wxPyEndAllowThreads(__tstate); | |
13410 | if (PyErr_Occurred()) SWIG_fail; | |
13411 | } | |
3004cfd8 RD |
13412 | { |
13413 | resultobj = SWIG_From_int((int)(result)); | |
13414 | } | |
cfe5e918 RD |
13415 | return resultobj; |
13416 | fail: | |
13417 | return NULL; | |
13418 | } | |
13419 | ||
13420 | ||
3004cfd8 | 13421 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13422 | PyObject *resultobj; |
13423 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13424 | int arg2 ; |
13425 | int arg3 ; | |
cfe5e918 | 13426 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13427 | PyObject * obj1 = 0 ; |
13428 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13429 | char *kwnames[] = { |
3004cfd8 | 13430 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
13431 | }; |
13432 | ||
3004cfd8 RD |
13433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13434 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13435 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13436 | { | |
13437 | arg2 = (int)(SWIG_As_int(obj1)); | |
13438 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13439 | } | |
13440 | { | |
13441 | arg3 = (int)(SWIG_As_int(obj2)); | |
13442 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13443 | } | |
cfe5e918 RD |
13444 | { |
13445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13446 | (arg1)->CopyRange(arg2,arg3); |
cfe5e918 RD |
13447 | |
13448 | wxPyEndAllowThreads(__tstate); | |
13449 | if (PyErr_Occurred()) SWIG_fail; | |
13450 | } | |
13451 | Py_INCREF(Py_None); resultobj = Py_None; | |
13452 | return resultobj; | |
13453 | fail: | |
13454 | return NULL; | |
13455 | } | |
13456 | ||
13457 | ||
3004cfd8 | 13458 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13459 | PyObject *resultobj; |
13460 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13461 | int arg2 ; |
13462 | wxString *arg3 = 0 ; | |
13463 | bool temp3 = false ; | |
cfe5e918 | 13464 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
13465 | PyObject * obj1 = 0 ; |
13466 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13467 | char *kwnames[] = { |
3004cfd8 | 13468 | (char *) "self",(char *) "length",(char *) "text", NULL |
cfe5e918 RD |
13469 | }; |
13470 | ||
3004cfd8 RD |
13471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13474 | { | |
13475 | arg2 = (int)(SWIG_As_int(obj1)); | |
13476 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13477 | } | |
13478 | { | |
13479 | arg3 = wxString_in_helper(obj2); | |
13480 | if (arg3 == NULL) SWIG_fail; | |
13481 | temp3 = true; | |
13482 | } | |
cfe5e918 RD |
13483 | { |
13484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13485 | (arg1)->CopyText(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
13486 | |
13487 | wxPyEndAllowThreads(__tstate); | |
13488 | if (PyErr_Occurred()) SWIG_fail; | |
13489 | } | |
13490 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
13491 | { |
13492 | if (temp3) | |
13493 | delete arg3; | |
13494 | } | |
cfe5e918 RD |
13495 | return resultobj; |
13496 | fail: | |
3004cfd8 RD |
13497 | { |
13498 | if (temp3) | |
13499 | delete arg3; | |
13500 | } | |
cfe5e918 RD |
13501 | return NULL; |
13502 | } | |
13503 | ||
13504 | ||
3004cfd8 | 13505 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13506 | PyObject *resultobj; |
13507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13508 | int arg2 ; |
cfe5e918 | 13509 | PyObject * obj0 = 0 ; |
3004cfd8 | 13510 | PyObject * obj1 = 0 ; |
cfe5e918 | 13511 | char *kwnames[] = { |
3004cfd8 | 13512 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
13513 | }; |
13514 | ||
3004cfd8 RD |
13515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; |
13516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13518 | { | |
13519 | arg2 = (int)(SWIG_As_int(obj1)); | |
13520 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13521 | } | |
cfe5e918 RD |
13522 | { |
13523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13524 | (arg1)->SetSelectionMode(arg2); |
cfe5e918 RD |
13525 | |
13526 | wxPyEndAllowThreads(__tstate); | |
13527 | if (PyErr_Occurred()) SWIG_fail; | |
13528 | } | |
13529 | Py_INCREF(Py_None); resultobj = Py_None; | |
13530 | return resultobj; | |
13531 | fail: | |
13532 | return NULL; | |
13533 | } | |
13534 | ||
13535 | ||
3004cfd8 | 13536 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13537 | PyObject *resultobj; |
13538 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 13539 | int result; |
cfe5e918 RD |
13540 | PyObject * obj0 = 0 ; |
13541 | char *kwnames[] = { | |
13542 | (char *) "self", NULL | |
13543 | }; | |
13544 | ||
3004cfd8 RD |
13545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; |
13546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13548 | { |
13549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13550 | result = (int)(arg1)->GetSelectionMode(); |
cfe5e918 RD |
13551 | |
13552 | wxPyEndAllowThreads(__tstate); | |
13553 | if (PyErr_Occurred()) SWIG_fail; | |
13554 | } | |
3004cfd8 RD |
13555 | { |
13556 | resultobj = SWIG_From_int((int)(result)); | |
13557 | } | |
cfe5e918 RD |
13558 | return resultobj; |
13559 | fail: | |
13560 | return NULL; | |
13561 | } | |
13562 | ||
13563 | ||
3004cfd8 | 13564 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13565 | PyObject *resultobj; |
13566 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13567 | int arg2 ; |
13568 | int result; | |
cfe5e918 | 13569 | PyObject * obj0 = 0 ; |
3004cfd8 | 13570 | PyObject * obj1 = 0 ; |
cfe5e918 | 13571 | char *kwnames[] = { |
3004cfd8 | 13572 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
13573 | }; |
13574 | ||
3004cfd8 RD |
13575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; |
13576 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13577 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13578 | { | |
13579 | arg2 = (int)(SWIG_As_int(obj1)); | |
13580 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13581 | } | |
cfe5e918 RD |
13582 | { |
13583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13584 | result = (int)(arg1)->GetLineSelStartPosition(arg2); |
cfe5e918 RD |
13585 | |
13586 | wxPyEndAllowThreads(__tstate); | |
13587 | if (PyErr_Occurred()) SWIG_fail; | |
13588 | } | |
3004cfd8 RD |
13589 | { |
13590 | resultobj = SWIG_From_int((int)(result)); | |
13591 | } | |
cfe5e918 RD |
13592 | return resultobj; |
13593 | fail: | |
13594 | return NULL; | |
13595 | } | |
13596 | ||
13597 | ||
3004cfd8 | 13598 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13599 | PyObject *resultobj; |
13600 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
13601 | int arg2 ; |
13602 | int result; | |
cfe5e918 | 13603 | PyObject * obj0 = 0 ; |
3004cfd8 | 13604 | PyObject * obj1 = 0 ; |
cfe5e918 | 13605 | char *kwnames[] = { |
3004cfd8 | 13606 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
13607 | }; |
13608 | ||
3004cfd8 RD |
13609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; |
13610 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13611 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13612 | { | |
13613 | arg2 = (int)(SWIG_As_int(obj1)); | |
13614 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13615 | } | |
cfe5e918 RD |
13616 | { |
13617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13618 | result = (int)(arg1)->GetLineSelEndPosition(arg2); |
cfe5e918 RD |
13619 | |
13620 | wxPyEndAllowThreads(__tstate); | |
13621 | if (PyErr_Occurred()) SWIG_fail; | |
13622 | } | |
3004cfd8 RD |
13623 | { |
13624 | resultobj = SWIG_From_int((int)(result)); | |
13625 | } | |
cfe5e918 RD |
13626 | return resultobj; |
13627 | fail: | |
13628 | return NULL; | |
13629 | } | |
13630 | ||
13631 | ||
3004cfd8 | 13632 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13633 | PyObject *resultobj; |
13634 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13635 | PyObject * obj0 = 0 ; |
cfe5e918 | 13636 | char *kwnames[] = { |
3004cfd8 | 13637 | (char *) "self", NULL |
cfe5e918 RD |
13638 | }; |
13639 | ||
3004cfd8 RD |
13640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; |
13641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13643 | { |
13644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13645 | (arg1)->LineDownRectExtend(); |
cfe5e918 RD |
13646 | |
13647 | wxPyEndAllowThreads(__tstate); | |
13648 | if (PyErr_Occurred()) SWIG_fail; | |
13649 | } | |
13650 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13651 | return resultobj; |
13652 | fail: | |
cfe5e918 RD |
13653 | return NULL; |
13654 | } | |
13655 | ||
13656 | ||
3004cfd8 | 13657 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13658 | PyObject *resultobj; |
13659 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13660 | PyObject * obj0 = 0 ; | |
13661 | char *kwnames[] = { | |
13662 | (char *) "self", NULL | |
13663 | }; | |
13664 | ||
3004cfd8 RD |
13665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; |
13666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13668 | { |
13669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13670 | (arg1)->LineUpRectExtend(); |
cfe5e918 RD |
13671 | |
13672 | wxPyEndAllowThreads(__tstate); | |
13673 | if (PyErr_Occurred()) SWIG_fail; | |
13674 | } | |
13675 | Py_INCREF(Py_None); resultobj = Py_None; | |
13676 | return resultobj; | |
13677 | fail: | |
13678 | return NULL; | |
13679 | } | |
13680 | ||
13681 | ||
3004cfd8 | 13682 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13683 | PyObject *resultobj; |
13684 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
13685 | PyObject * obj0 = 0 ; |
13686 | char *kwnames[] = { | |
13687 | (char *) "self", NULL | |
13688 | }; | |
13689 | ||
3004cfd8 RD |
13690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; |
13691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13693 | { |
13694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13695 | (arg1)->CharLeftRectExtend(); |
cfe5e918 RD |
13696 | |
13697 | wxPyEndAllowThreads(__tstate); | |
13698 | if (PyErr_Occurred()) SWIG_fail; | |
13699 | } | |
3004cfd8 | 13700 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13701 | return resultobj; |
13702 | fail: | |
13703 | return NULL; | |
13704 | } | |
13705 | ||
13706 | ||
3004cfd8 | 13707 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
b6294124 RD |
13708 | PyObject *resultobj; |
13709 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
b6294124 | 13710 | PyObject * obj0 = 0 ; |
b6294124 | 13711 | char *kwnames[] = { |
3004cfd8 | 13712 | (char *) "self", NULL |
b6294124 RD |
13713 | }; |
13714 | ||
3004cfd8 RD |
13715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; |
13716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
b6294124 RD |
13718 | { |
13719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13720 | (arg1)->CharRightRectExtend(); |
b6294124 RD |
13721 | |
13722 | wxPyEndAllowThreads(__tstate); | |
13723 | if (PyErr_Occurred()) SWIG_fail; | |
13724 | } | |
13725 | Py_INCREF(Py_None); resultobj = Py_None; | |
13726 | return resultobj; | |
13727 | fail: | |
13728 | return NULL; | |
13729 | } | |
13730 | ||
13731 | ||
3004cfd8 | 13732 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13733 | PyObject *resultobj; |
13734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13735 | PyObject * obj0 = 0 ; | |
13736 | char *kwnames[] = { | |
13737 | (char *) "self", NULL | |
13738 | }; | |
13739 | ||
3004cfd8 RD |
13740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; |
13741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13743 | { |
13744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13745 | (arg1)->HomeRectExtend(); |
cfe5e918 RD |
13746 | |
13747 | wxPyEndAllowThreads(__tstate); | |
13748 | if (PyErr_Occurred()) SWIG_fail; | |
13749 | } | |
13750 | Py_INCREF(Py_None); resultobj = Py_None; | |
13751 | return resultobj; | |
13752 | fail: | |
13753 | return NULL; | |
13754 | } | |
13755 | ||
13756 | ||
3004cfd8 | 13757 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13758 | PyObject *resultobj; |
13759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13760 | PyObject * obj0 = 0 ; | |
13761 | char *kwnames[] = { | |
13762 | (char *) "self", NULL | |
13763 | }; | |
13764 | ||
3004cfd8 RD |
13765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; |
13766 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13767 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13768 | { |
13769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13770 | (arg1)->VCHomeRectExtend(); |
cfe5e918 RD |
13771 | |
13772 | wxPyEndAllowThreads(__tstate); | |
13773 | if (PyErr_Occurred()) SWIG_fail; | |
13774 | } | |
13775 | Py_INCREF(Py_None); resultobj = Py_None; | |
13776 | return resultobj; | |
13777 | fail: | |
13778 | return NULL; | |
13779 | } | |
13780 | ||
13781 | ||
3004cfd8 | 13782 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13783 | PyObject *resultobj; |
13784 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13785 | PyObject * obj0 = 0 ; |
cfe5e918 | 13786 | char *kwnames[] = { |
3004cfd8 | 13787 | (char *) "self", NULL |
cfe5e918 RD |
13788 | }; |
13789 | ||
3004cfd8 RD |
13790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; |
13791 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13792 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13793 | { |
13794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13795 | (arg1)->LineEndRectExtend(); |
cfe5e918 RD |
13796 | |
13797 | wxPyEndAllowThreads(__tstate); | |
13798 | if (PyErr_Occurred()) SWIG_fail; | |
13799 | } | |
13800 | Py_INCREF(Py_None); resultobj = Py_None; | |
13801 | return resultobj; | |
13802 | fail: | |
13803 | return NULL; | |
13804 | } | |
13805 | ||
13806 | ||
3004cfd8 | 13807 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13808 | PyObject *resultobj; |
13809 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
13810 | PyObject * obj0 = 0 ; |
13811 | char *kwnames[] = { | |
13812 | (char *) "self", NULL | |
13813 | }; | |
13814 | ||
3004cfd8 RD |
13815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; |
13816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13818 | { |
13819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13820 | (arg1)->PageUpRectExtend(); |
cfe5e918 RD |
13821 | |
13822 | wxPyEndAllowThreads(__tstate); | |
13823 | if (PyErr_Occurred()) SWIG_fail; | |
13824 | } | |
3004cfd8 | 13825 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13826 | return resultobj; |
13827 | fail: | |
13828 | return NULL; | |
13829 | } | |
13830 | ||
13831 | ||
3004cfd8 | 13832 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13833 | PyObject *resultobj; |
13834 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13835 | PyObject * obj0 = 0 ; |
cfe5e918 | 13836 | char *kwnames[] = { |
3004cfd8 | 13837 | (char *) "self", NULL |
cfe5e918 RD |
13838 | }; |
13839 | ||
3004cfd8 RD |
13840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; |
13841 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13842 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13843 | { |
13844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13845 | (arg1)->PageDownRectExtend(); |
cfe5e918 RD |
13846 | |
13847 | wxPyEndAllowThreads(__tstate); | |
13848 | if (PyErr_Occurred()) SWIG_fail; | |
13849 | } | |
13850 | Py_INCREF(Py_None); resultobj = Py_None; | |
13851 | return resultobj; | |
13852 | fail: | |
13853 | return NULL; | |
13854 | } | |
13855 | ||
13856 | ||
3004cfd8 | 13857 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13858 | PyObject *resultobj; |
13859 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13860 | PyObject * obj0 = 0 ; |
cfe5e918 | 13861 | char *kwnames[] = { |
3004cfd8 | 13862 | (char *) "self", NULL |
cfe5e918 RD |
13863 | }; |
13864 | ||
3004cfd8 RD |
13865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; |
13866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13868 | { |
13869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13870 | (arg1)->StutteredPageUp(); |
cfe5e918 RD |
13871 | |
13872 | wxPyEndAllowThreads(__tstate); | |
13873 | if (PyErr_Occurred()) SWIG_fail; | |
13874 | } | |
13875 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13876 | return resultobj; |
13877 | fail: | |
cfe5e918 RD |
13878 | return NULL; |
13879 | } | |
13880 | ||
13881 | ||
3004cfd8 | 13882 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13883 | PyObject *resultobj; |
13884 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13885 | PyObject * obj0 = 0 ; |
cfe5e918 | 13886 | char *kwnames[] = { |
3004cfd8 | 13887 | (char *) "self", NULL |
cfe5e918 RD |
13888 | }; |
13889 | ||
3004cfd8 RD |
13890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; |
13891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13893 | { |
13894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13895 | (arg1)->StutteredPageUpExtend(); |
cfe5e918 RD |
13896 | |
13897 | wxPyEndAllowThreads(__tstate); | |
13898 | if (PyErr_Occurred()) SWIG_fail; | |
13899 | } | |
13900 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13901 | return resultobj; |
13902 | fail: | |
cfe5e918 RD |
13903 | return NULL; |
13904 | } | |
13905 | ||
13906 | ||
3004cfd8 | 13907 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13908 | PyObject *resultobj; |
13909 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13910 | PyObject * obj0 = 0 ; |
cfe5e918 | 13911 | char *kwnames[] = { |
3004cfd8 | 13912 | (char *) "self", NULL |
cfe5e918 RD |
13913 | }; |
13914 | ||
3004cfd8 RD |
13915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; |
13916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13918 | { |
13919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13920 | (arg1)->StutteredPageDown(); |
cfe5e918 RD |
13921 | |
13922 | wxPyEndAllowThreads(__tstate); | |
13923 | if (PyErr_Occurred()) SWIG_fail; | |
13924 | } | |
13925 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13926 | return resultobj; |
13927 | fail: | |
cfe5e918 RD |
13928 | return NULL; |
13929 | } | |
13930 | ||
13931 | ||
3004cfd8 | 13932 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13933 | PyObject *resultobj; |
13934 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
13935 | PyObject * obj0 = 0 ; |
13936 | char *kwnames[] = { | |
13937 | (char *) "self", NULL | |
13938 | }; | |
13939 | ||
3004cfd8 RD |
13940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; |
13941 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13942 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13943 | { |
13944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13945 | (arg1)->StutteredPageDownExtend(); |
cfe5e918 RD |
13946 | |
13947 | wxPyEndAllowThreads(__tstate); | |
13948 | if (PyErr_Occurred()) SWIG_fail; | |
13949 | } | |
3004cfd8 | 13950 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13951 | return resultobj; |
13952 | fail: | |
13953 | return NULL; | |
13954 | } | |
13955 | ||
13956 | ||
3004cfd8 | 13957 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13958 | PyObject *resultobj; |
13959 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13960 | PyObject * obj0 = 0 ; |
cfe5e918 | 13961 | char *kwnames[] = { |
3004cfd8 | 13962 | (char *) "self", NULL |
cfe5e918 RD |
13963 | }; |
13964 | ||
3004cfd8 RD |
13965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; |
13966 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13967 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13968 | { |
13969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13970 | (arg1)->WordLeftEnd(); |
cfe5e918 RD |
13971 | |
13972 | wxPyEndAllowThreads(__tstate); | |
13973 | if (PyErr_Occurred()) SWIG_fail; | |
13974 | } | |
13975 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
13976 | return resultobj; |
13977 | fail: | |
cfe5e918 RD |
13978 | return NULL; |
13979 | } | |
13980 | ||
13981 | ||
3004cfd8 | 13982 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13983 | PyObject *resultobj; |
13984 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 13985 | PyObject * obj0 = 0 ; |
cfe5e918 | 13986 | char *kwnames[] = { |
3004cfd8 | 13987 | (char *) "self", NULL |
cfe5e918 RD |
13988 | }; |
13989 | ||
3004cfd8 RD |
13990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; |
13991 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13992 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
13993 | { |
13994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 13995 | (arg1)->WordLeftEndExtend(); |
cfe5e918 RD |
13996 | |
13997 | wxPyEndAllowThreads(__tstate); | |
13998 | if (PyErr_Occurred()) SWIG_fail; | |
13999 | } | |
14000 | Py_INCREF(Py_None); resultobj = Py_None; | |
14001 | return resultobj; | |
14002 | fail: | |
14003 | return NULL; | |
14004 | } | |
14005 | ||
14006 | ||
3004cfd8 | 14007 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14008 | PyObject *resultobj; |
14009 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14010 | PyObject * obj0 = 0 ; |
cfe5e918 | 14011 | char *kwnames[] = { |
3004cfd8 | 14012 | (char *) "self", NULL |
cfe5e918 RD |
14013 | }; |
14014 | ||
3004cfd8 RD |
14015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; |
14016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14018 | { |
14019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14020 | (arg1)->WordRightEnd(); |
cfe5e918 RD |
14021 | |
14022 | wxPyEndAllowThreads(__tstate); | |
14023 | if (PyErr_Occurred()) SWIG_fail; | |
14024 | } | |
14025 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
14026 | return resultobj; |
14027 | fail: | |
cfe5e918 RD |
14028 | return NULL; |
14029 | } | |
14030 | ||
14031 | ||
3004cfd8 | 14032 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14033 | PyObject *resultobj; |
14034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14035 | PyObject * obj0 = 0 ; |
cfe5e918 | 14036 | char *kwnames[] = { |
3004cfd8 | 14037 | (char *) "self", NULL |
cfe5e918 RD |
14038 | }; |
14039 | ||
3004cfd8 RD |
14040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; |
14041 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14042 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14043 | { |
14044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14045 | (arg1)->WordRightEndExtend(); |
cfe5e918 RD |
14046 | |
14047 | wxPyEndAllowThreads(__tstate); | |
14048 | if (PyErr_Occurred()) SWIG_fail; | |
14049 | } | |
14050 | Py_INCREF(Py_None); resultobj = Py_None; | |
14051 | return resultobj; | |
14052 | fail: | |
14053 | return NULL; | |
14054 | } | |
14055 | ||
14056 | ||
3004cfd8 | 14057 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14058 | PyObject *resultobj; |
14059 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14060 | wxString *arg2 = 0 ; |
14061 | bool temp2 = false ; | |
cfe5e918 RD |
14062 | PyObject * obj0 = 0 ; |
14063 | PyObject * obj1 = 0 ; | |
cfe5e918 | 14064 | char *kwnames[] = { |
3004cfd8 | 14065 | (char *) "self",(char *) "characters", NULL |
cfe5e918 RD |
14066 | }; |
14067 | ||
3004cfd8 RD |
14068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; |
14069 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14070 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14071 | { | |
14072 | arg2 = wxString_in_helper(obj1); | |
14073 | if (arg2 == NULL) SWIG_fail; | |
14074 | temp2 = true; | |
14075 | } | |
cfe5e918 RD |
14076 | { |
14077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14078 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); |
cfe5e918 RD |
14079 | |
14080 | wxPyEndAllowThreads(__tstate); | |
14081 | if (PyErr_Occurred()) SWIG_fail; | |
14082 | } | |
14083 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
14084 | { |
14085 | if (temp2) | |
14086 | delete arg2; | |
14087 | } | |
cfe5e918 RD |
14088 | return resultobj; |
14089 | fail: | |
3004cfd8 RD |
14090 | { |
14091 | if (temp2) | |
14092 | delete arg2; | |
14093 | } | |
cfe5e918 RD |
14094 | return NULL; |
14095 | } | |
14096 | ||
14097 | ||
3004cfd8 | 14098 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14099 | PyObject *resultobj; |
14100 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
14101 | PyObject * obj0 = 0 ; |
14102 | char *kwnames[] = { | |
14103 | (char *) "self", NULL | |
14104 | }; | |
14105 | ||
3004cfd8 RD |
14106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; |
14107 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14108 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14109 | { |
14110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14111 | (arg1)->SetCharsDefault(); |
cfe5e918 RD |
14112 | |
14113 | wxPyEndAllowThreads(__tstate); | |
14114 | if (PyErr_Occurred()) SWIG_fail; | |
14115 | } | |
14116 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
14117 | return resultobj; |
14118 | fail: | |
14119 | return NULL; | |
14120 | } | |
14121 | ||
14122 | ||
3004cfd8 | 14123 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14124 | PyObject *resultobj; |
14125 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 14126 | int result; |
cfe5e918 | 14127 | PyObject * obj0 = 0 ; |
cfe5e918 | 14128 | char *kwnames[] = { |
3004cfd8 | 14129 | (char *) "self", NULL |
cfe5e918 RD |
14130 | }; |
14131 | ||
3004cfd8 RD |
14132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; |
14133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14135 | { |
14136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14137 | result = (int)(arg1)->AutoCompGetCurrent(); |
cfe5e918 RD |
14138 | |
14139 | wxPyEndAllowThreads(__tstate); | |
14140 | if (PyErr_Occurred()) SWIG_fail; | |
14141 | } | |
14142 | { | |
3004cfd8 | 14143 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
14144 | } |
14145 | return resultobj; | |
14146 | fail: | |
14147 | return NULL; | |
14148 | } | |
14149 | ||
14150 | ||
3004cfd8 | 14151 | static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14152 | PyObject *resultobj; |
14153 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14154 | int arg2 ; | |
14155 | PyObject * obj0 = 0 ; | |
14156 | PyObject * obj1 = 0 ; | |
14157 | char *kwnames[] = { | |
3004cfd8 | 14158 | (char *) "self",(char *) "bytes", NULL |
cfe5e918 RD |
14159 | }; |
14160 | ||
3004cfd8 RD |
14161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail; |
14162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14164 | { | |
14165 | arg2 = (int)(SWIG_As_int(obj1)); | |
14166 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14167 | } | |
cfe5e918 RD |
14168 | { |
14169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14170 | (arg1)->Allocate(arg2); |
cfe5e918 RD |
14171 | |
14172 | wxPyEndAllowThreads(__tstate); | |
14173 | if (PyErr_Occurred()) SWIG_fail; | |
14174 | } | |
14175 | Py_INCREF(Py_None); resultobj = Py_None; | |
14176 | return resultobj; | |
14177 | fail: | |
14178 | return NULL; | |
14179 | } | |
14180 | ||
14181 | ||
3004cfd8 | 14182 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14183 | PyObject *resultobj; |
14184 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14185 | PyObject * obj0 = 0 ; |
cfe5e918 | 14186 | char *kwnames[] = { |
3004cfd8 | 14187 | (char *) "self", NULL |
cfe5e918 RD |
14188 | }; |
14189 | ||
3004cfd8 RD |
14190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; |
14191 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14192 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14193 | { |
14194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14195 | (arg1)->StartRecord(); |
cfe5e918 RD |
14196 | |
14197 | wxPyEndAllowThreads(__tstate); | |
14198 | if (PyErr_Occurred()) SWIG_fail; | |
14199 | } | |
14200 | Py_INCREF(Py_None); resultobj = Py_None; | |
14201 | return resultobj; | |
14202 | fail: | |
14203 | return NULL; | |
14204 | } | |
14205 | ||
14206 | ||
3004cfd8 | 14207 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14208 | PyObject *resultobj; |
14209 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14210 | PyObject * obj0 = 0 ; |
cfe5e918 | 14211 | char *kwnames[] = { |
3004cfd8 | 14212 | (char *) "self", NULL |
cfe5e918 RD |
14213 | }; |
14214 | ||
3004cfd8 RD |
14215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; |
14216 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14217 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14218 | { |
14219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14220 | (arg1)->StopRecord(); |
cfe5e918 RD |
14221 | |
14222 | wxPyEndAllowThreads(__tstate); | |
14223 | if (PyErr_Occurred()) SWIG_fail; | |
14224 | } | |
3004cfd8 | 14225 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14226 | return resultobj; |
14227 | fail: | |
14228 | return NULL; | |
14229 | } | |
14230 | ||
14231 | ||
3004cfd8 | 14232 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14233 | PyObject *resultobj; |
14234 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 14235 | int arg2 ; |
cfe5e918 RD |
14236 | PyObject * obj0 = 0 ; |
14237 | PyObject * obj1 = 0 ; | |
14238 | char *kwnames[] = { | |
3004cfd8 | 14239 | (char *) "self",(char *) "lexer", NULL |
cfe5e918 RD |
14240 | }; |
14241 | ||
3004cfd8 RD |
14242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; |
14243 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14244 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14245 | { | |
14246 | arg2 = (int)(SWIG_As_int(obj1)); | |
14247 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14248 | } | |
cfe5e918 RD |
14249 | { |
14250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14251 | (arg1)->SetLexer(arg2); |
cfe5e918 RD |
14252 | |
14253 | wxPyEndAllowThreads(__tstate); | |
14254 | if (PyErr_Occurred()) SWIG_fail; | |
14255 | } | |
14256 | Py_INCREF(Py_None); resultobj = Py_None; | |
14257 | return resultobj; | |
14258 | fail: | |
14259 | return NULL; | |
14260 | } | |
14261 | ||
14262 | ||
3004cfd8 | 14263 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14264 | PyObject *resultobj; |
14265 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 | 14266 | int result; |
cfe5e918 | 14267 | PyObject * obj0 = 0 ; |
cfe5e918 | 14268 | char *kwnames[] = { |
3004cfd8 | 14269 | (char *) "self", NULL |
cfe5e918 RD |
14270 | }; |
14271 | ||
3004cfd8 RD |
14272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; |
14273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14275 | { |
14276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14277 | result = (int)(arg1)->GetLexer(); |
cfe5e918 RD |
14278 | |
14279 | wxPyEndAllowThreads(__tstate); | |
14280 | if (PyErr_Occurred()) SWIG_fail; | |
14281 | } | |
3004cfd8 RD |
14282 | { |
14283 | resultobj = SWIG_From_int((int)(result)); | |
14284 | } | |
cfe5e918 RD |
14285 | return resultobj; |
14286 | fail: | |
14287 | return NULL; | |
14288 | } | |
14289 | ||
14290 | ||
3004cfd8 | 14291 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14292 | PyObject *resultobj; |
14293 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14294 | int arg2 ; |
14295 | int arg3 ; | |
cfe5e918 | 14296 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
14297 | PyObject * obj1 = 0 ; |
14298 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14299 | char *kwnames[] = { |
3004cfd8 | 14300 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
14301 | }; |
14302 | ||
3004cfd8 RD |
14303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14306 | { | |
14307 | arg2 = (int)(SWIG_As_int(obj1)); | |
14308 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14309 | } | |
14310 | { | |
14311 | arg3 = (int)(SWIG_As_int(obj2)); | |
14312 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14313 | } | |
cfe5e918 RD |
14314 | { |
14315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14316 | (arg1)->Colourise(arg2,arg3); |
cfe5e918 RD |
14317 | |
14318 | wxPyEndAllowThreads(__tstate); | |
14319 | if (PyErr_Occurred()) SWIG_fail; | |
14320 | } | |
3004cfd8 | 14321 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14322 | return resultobj; |
14323 | fail: | |
14324 | return NULL; | |
14325 | } | |
14326 | ||
14327 | ||
3004cfd8 | 14328 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14329 | PyObject *resultobj; |
14330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14331 | wxString *arg2 = 0 ; |
14332 | wxString *arg3 = 0 ; | |
14333 | bool temp2 = false ; | |
14334 | bool temp3 = false ; | |
cfe5e918 RD |
14335 | PyObject * obj0 = 0 ; |
14336 | PyObject * obj1 = 0 ; | |
3004cfd8 | 14337 | PyObject * obj2 = 0 ; |
cfe5e918 | 14338 | char *kwnames[] = { |
3004cfd8 | 14339 | (char *) "self",(char *) "key",(char *) "value", NULL |
cfe5e918 RD |
14340 | }; |
14341 | ||
3004cfd8 RD |
14342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",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 = wxString_in_helper(obj1); | |
14347 | if (arg2 == NULL) SWIG_fail; | |
14348 | temp2 = true; | |
14349 | } | |
14350 | { | |
14351 | arg3 = wxString_in_helper(obj2); | |
14352 | if (arg3 == NULL) SWIG_fail; | |
14353 | temp3 = true; | |
14354 | } | |
cfe5e918 RD |
14355 | { |
14356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14357 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14358 | |
14359 | wxPyEndAllowThreads(__tstate); | |
14360 | if (PyErr_Occurred()) SWIG_fail; | |
14361 | } | |
14362 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
14363 | { |
14364 | if (temp2) | |
14365 | delete arg2; | |
14366 | } | |
14367 | { | |
14368 | if (temp3) | |
14369 | delete arg3; | |
14370 | } | |
cfe5e918 RD |
14371 | return resultobj; |
14372 | fail: | |
3004cfd8 RD |
14373 | { |
14374 | if (temp2) | |
14375 | delete arg2; | |
14376 | } | |
14377 | { | |
14378 | if (temp3) | |
14379 | delete arg3; | |
14380 | } | |
cfe5e918 RD |
14381 | return NULL; |
14382 | } | |
14383 | ||
14384 | ||
3004cfd8 | 14385 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14386 | PyObject *resultobj; |
14387 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14388 | int arg2 ; |
14389 | wxString *arg3 = 0 ; | |
14390 | bool temp3 = false ; | |
cfe5e918 RD |
14391 | PyObject * obj0 = 0 ; |
14392 | PyObject * obj1 = 0 ; | |
3004cfd8 | 14393 | PyObject * obj2 = 0 ; |
cfe5e918 | 14394 | char *kwnames[] = { |
3004cfd8 | 14395 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL |
cfe5e918 RD |
14396 | }; |
14397 | ||
3004cfd8 RD |
14398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14401 | { |
3004cfd8 RD |
14402 | arg2 = (int)(SWIG_As_int(obj1)); |
14403 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14404 | } | |
14405 | { | |
14406 | arg3 = wxString_in_helper(obj2); | |
14407 | if (arg3 == NULL) SWIG_fail; | |
14408 | temp3 = true; | |
cfe5e918 RD |
14409 | } |
14410 | { | |
14411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14412 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14413 | |
14414 | wxPyEndAllowThreads(__tstate); | |
14415 | if (PyErr_Occurred()) SWIG_fail; | |
14416 | } | |
3004cfd8 | 14417 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14418 | { |
3004cfd8 RD |
14419 | if (temp3) |
14420 | delete arg3; | |
cfe5e918 RD |
14421 | } |
14422 | return resultobj; | |
14423 | fail: | |
14424 | { | |
3004cfd8 RD |
14425 | if (temp3) |
14426 | delete arg3; | |
cfe5e918 RD |
14427 | } |
14428 | return NULL; | |
14429 | } | |
14430 | ||
14431 | ||
3004cfd8 | 14432 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14433 | PyObject *resultobj; |
14434 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14435 | wxString *arg2 = 0 ; | |
ae8162c8 | 14436 | bool temp2 = false ; |
cfe5e918 RD |
14437 | PyObject * obj0 = 0 ; |
14438 | PyObject * obj1 = 0 ; | |
14439 | char *kwnames[] = { | |
3004cfd8 | 14440 | (char *) "self",(char *) "language", NULL |
cfe5e918 RD |
14441 | }; |
14442 | ||
3004cfd8 RD |
14443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; |
14444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14446 | { |
14447 | arg2 = wxString_in_helper(obj1); | |
14448 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14449 | temp2 = true; |
cfe5e918 RD |
14450 | } |
14451 | { | |
14452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14453 | (arg1)->SetLexerLanguage((wxString const &)*arg2); |
cfe5e918 RD |
14454 | |
14455 | wxPyEndAllowThreads(__tstate); | |
14456 | if (PyErr_Occurred()) SWIG_fail; | |
14457 | } | |
3004cfd8 | 14458 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14459 | { |
14460 | if (temp2) | |
14461 | delete arg2; | |
14462 | } | |
14463 | return resultobj; | |
14464 | fail: | |
14465 | { | |
14466 | if (temp2) | |
14467 | delete arg2; | |
14468 | } | |
14469 | return NULL; | |
14470 | } | |
14471 | ||
14472 | ||
3004cfd8 | 14473 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14474 | PyObject *resultobj; |
14475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
14476 | int result; |
14477 | PyObject * obj0 = 0 ; | |
cfe5e918 | 14478 | char *kwnames[] = { |
3004cfd8 | 14479 | (char *) "self", NULL |
cfe5e918 RD |
14480 | }; |
14481 | ||
3004cfd8 RD |
14482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) 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 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14487 | result = (int)(arg1)->GetCurrentLine(); |
cfe5e918 RD |
14488 | |
14489 | wxPyEndAllowThreads(__tstate); | |
14490 | if (PyErr_Occurred()) SWIG_fail; | |
14491 | } | |
3004cfd8 RD |
14492 | { |
14493 | resultobj = SWIG_From_int((int)(result)); | |
14494 | } | |
cfe5e918 RD |
14495 | return resultobj; |
14496 | fail: | |
14497 | return NULL; | |
14498 | } | |
14499 | ||
14500 | ||
3004cfd8 | 14501 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14502 | PyObject *resultobj; |
14503 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14504 | int arg2 ; |
14505 | wxString *arg3 = 0 ; | |
14506 | bool temp3 = false ; | |
cfe5e918 RD |
14507 | PyObject * obj0 = 0 ; |
14508 | PyObject * obj1 = 0 ; | |
14509 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14510 | char *kwnames[] = { |
3004cfd8 | 14511 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL |
cfe5e918 RD |
14512 | }; |
14513 | ||
3004cfd8 RD |
14514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14515 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14516 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14517 | { |
3004cfd8 RD |
14518 | arg2 = (int)(SWIG_As_int(obj1)); |
14519 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14520 | } | |
14521 | { | |
14522 | arg3 = wxString_in_helper(obj2); | |
14523 | if (arg3 == NULL) SWIG_fail; | |
14524 | temp3 = true; | |
cfe5e918 RD |
14525 | } |
14526 | { | |
14527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14528 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14529 | |
14530 | wxPyEndAllowThreads(__tstate); | |
14531 | if (PyErr_Occurred()) SWIG_fail; | |
14532 | } | |
3004cfd8 | 14533 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14534 | { |
3004cfd8 RD |
14535 | if (temp3) |
14536 | delete arg3; | |
cfe5e918 RD |
14537 | } |
14538 | return resultobj; | |
14539 | fail: | |
14540 | { | |
3004cfd8 RD |
14541 | if (temp3) |
14542 | delete arg3; | |
cfe5e918 RD |
14543 | } |
14544 | return NULL; | |
14545 | } | |
14546 | ||
14547 | ||
3004cfd8 | 14548 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14549 | PyObject *resultobj; |
14550 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14551 | int arg2 ; |
14552 | wxFont *arg3 = 0 ; | |
cfe5e918 RD |
14553 | PyObject * obj0 = 0 ; |
14554 | PyObject * obj1 = 0 ; | |
3004cfd8 | 14555 | PyObject * obj2 = 0 ; |
cfe5e918 | 14556 | char *kwnames[] = { |
3004cfd8 | 14557 | (char *) "self",(char *) "styleNum",(char *) "font", NULL |
cfe5e918 RD |
14558 | }; |
14559 | ||
3004cfd8 RD |
14560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14561 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14562 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14563 | { | |
14564 | arg2 = (int)(SWIG_As_int(obj1)); | |
14565 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14566 | } | |
14567 | { | |
14568 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
14569 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14570 | if (arg3 == NULL) { | |
14571 | SWIG_null_ref("wxFont"); | |
14572 | } | |
14573 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14574 | } | |
cfe5e918 RD |
14575 | { |
14576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14577 | (arg1)->StyleSetFont(arg2,*arg3); |
cfe5e918 RD |
14578 | |
14579 | wxPyEndAllowThreads(__tstate); | |
14580 | if (PyErr_Occurred()) SWIG_fail; | |
14581 | } | |
14582 | Py_INCREF(Py_None); resultobj = Py_None; | |
14583 | return resultobj; | |
14584 | fail: | |
14585 | return NULL; | |
14586 | } | |
14587 | ||
14588 | ||
3004cfd8 | 14589 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14590 | PyObject *resultobj; |
14591 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3004cfd8 RD |
14592 | int arg2 ; |
14593 | int arg3 ; | |
14594 | wxString *arg4 = 0 ; | |
14595 | bool arg5 ; | |
14596 | bool arg6 ; | |
14597 | bool arg7 ; | |
14598 | bool temp4 = false ; | |
14599 | PyObject * obj0 = 0 ; | |
14600 | PyObject * obj1 = 0 ; | |
14601 | PyObject * obj2 = 0 ; | |
14602 | PyObject * obj3 = 0 ; | |
14603 | PyObject * obj4 = 0 ; | |
14604 | PyObject * obj5 = 0 ; | |
14605 | PyObject * obj6 = 0 ; | |
cfe5e918 | 14606 | char *kwnames[] = { |
3004cfd8 | 14607 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL |
cfe5e918 RD |
14608 | }; |
14609 | ||
3004cfd8 RD |
14610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
14611 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14612 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14613 | { | |
14614 | arg2 = (int)(SWIG_As_int(obj1)); | |
14615 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14616 | } | |
14617 | { | |
14618 | arg3 = (int)(SWIG_As_int(obj2)); | |
14619 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14620 | } | |
14621 | { | |
14622 | arg4 = wxString_in_helper(obj3); | |
14623 | if (arg4 == NULL) SWIG_fail; | |
14624 | temp4 = true; | |
14625 | } | |
14626 | { | |
14627 | arg5 = (bool)(SWIG_As_bool(obj4)); | |
14628 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14629 | } | |
14630 | { | |
14631 | arg6 = (bool)(SWIG_As_bool(obj5)); | |
14632 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14633 | } | |
14634 | { | |
14635 | arg7 = (bool)(SWIG_As_bool(obj6)); | |
14636 | if (SWIG_arg_fail(7)) SWIG_fail; | |
14637 | } | |
cfe5e918 RD |
14638 | { |
14639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14640 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); |
cfe5e918 RD |
14641 | |
14642 | wxPyEndAllowThreads(__tstate); | |
14643 | if (PyErr_Occurred()) SWIG_fail; | |
14644 | } | |
3004cfd8 | 14645 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14646 | { |
3004cfd8 RD |
14647 | if (temp4) |
14648 | delete arg4; | |
cfe5e918 RD |
14649 | } |
14650 | return resultobj; | |
14651 | fail: | |
3004cfd8 RD |
14652 | { |
14653 | if (temp4) | |
14654 | delete arg4; | |
14655 | } | |
cfe5e918 RD |
14656 | return NULL; |
14657 | } | |
14658 | ||
14659 | ||
3004cfd8 | 14660 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14661 | PyObject *resultobj; |
3004cfd8 RD |
14662 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14663 | int arg2 ; | |
cfe5e918 RD |
14664 | PyObject * obj0 = 0 ; |
14665 | PyObject * obj1 = 0 ; | |
14666 | char *kwnames[] = { | |
3004cfd8 | 14667 | (char *) "self",(char *) "cmd", NULL |
cfe5e918 RD |
14668 | }; |
14669 | ||
3004cfd8 RD |
14670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; |
14671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14673 | { | |
14674 | arg2 = (int)(SWIG_As_int(obj1)); | |
14675 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14676 | } |
14677 | { | |
14678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14679 | (arg1)->CmdKeyExecute(arg2); |
cfe5e918 RD |
14680 | |
14681 | wxPyEndAllowThreads(__tstate); | |
14682 | if (PyErr_Occurred()) SWIG_fail; | |
14683 | } | |
3004cfd8 | 14684 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14685 | return resultobj; |
14686 | fail: | |
14687 | return NULL; | |
14688 | } | |
14689 | ||
14690 | ||
3004cfd8 | 14691 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14692 | PyObject *resultobj; |
3004cfd8 RD |
14693 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14694 | int arg2 ; | |
14695 | int arg3 ; | |
cfe5e918 | 14696 | PyObject * obj0 = 0 ; |
3004cfd8 RD |
14697 | PyObject * obj1 = 0 ; |
14698 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14699 | char *kwnames[] = { |
3004cfd8 | 14700 | (char *) "self",(char *) "left",(char *) "right", NULL |
cfe5e918 RD |
14701 | }; |
14702 | ||
3004cfd8 RD |
14703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14704 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14705 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14706 | { | |
14707 | arg2 = (int)(SWIG_As_int(obj1)); | |
14708 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14709 | } | |
14710 | { | |
14711 | arg3 = (int)(SWIG_As_int(obj2)); | |
14712 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14713 | } | |
cfe5e918 RD |
14714 | { |
14715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14716 | (arg1)->SetMargins(arg2,arg3); |
cfe5e918 RD |
14717 | |
14718 | wxPyEndAllowThreads(__tstate); | |
14719 | if (PyErr_Occurred()) SWIG_fail; | |
14720 | } | |
14721 | Py_INCREF(Py_None); resultobj = Py_None; | |
14722 | return resultobj; | |
14723 | fail: | |
14724 | return NULL; | |
14725 | } | |
14726 | ||
14727 | ||
3004cfd8 | 14728 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14729 | PyObject *resultobj; |
3004cfd8 RD |
14730 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14731 | int *arg2 = (int *) 0 ; | |
14732 | int *arg3 = (int *) 0 ; | |
14733 | int temp2 ; | |
14734 | int res2 = 0 ; | |
14735 | int temp3 ; | |
14736 | int res3 = 0 ; | |
cfe5e918 | 14737 | PyObject * obj0 = 0 ; |
cfe5e918 | 14738 | char *kwnames[] = { |
3004cfd8 | 14739 | (char *) "self", NULL |
cfe5e918 RD |
14740 | }; |
14741 | ||
3004cfd8 RD |
14742 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
14743 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
14744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
14745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14747 | { |
14748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14749 | (arg1)->GetSelection(arg2,arg3); |
cfe5e918 RD |
14750 | |
14751 | wxPyEndAllowThreads(__tstate); | |
14752 | if (PyErr_Occurred()) SWIG_fail; | |
14753 | } | |
14754 | Py_INCREF(Py_None); resultobj = Py_None; | |
3004cfd8 RD |
14755 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
14756 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
14757 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
14758 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
cfe5e918 RD |
14759 | return resultobj; |
14760 | fail: | |
14761 | return NULL; | |
14762 | } | |
14763 | ||
14764 | ||
3004cfd8 | 14765 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14766 | PyObject *resultobj; |
3004cfd8 | 14767 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 | 14768 | int arg2 ; |
3004cfd8 | 14769 | wxPoint result; |
cfe5e918 RD |
14770 | PyObject * obj0 = 0 ; |
14771 | PyObject * obj1 = 0 ; | |
14772 | char *kwnames[] = { | |
3004cfd8 | 14773 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
14774 | }; |
14775 | ||
3004cfd8 RD |
14776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; |
14777 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14778 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14779 | { | |
14780 | arg2 = (int)(SWIG_As_int(obj1)); | |
14781 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14782 | } | |
cfe5e918 RD |
14783 | { |
14784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14785 | result = (arg1)->PointFromPosition(arg2); |
cfe5e918 RD |
14786 | |
14787 | wxPyEndAllowThreads(__tstate); | |
14788 | if (PyErr_Occurred()) SWIG_fail; | |
14789 | } | |
3004cfd8 RD |
14790 | { |
14791 | wxPoint * resultptr; | |
14792 | resultptr = new wxPoint((wxPoint &)(result)); | |
14793 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
14794 | } | |
cfe5e918 RD |
14795 | return resultobj; |
14796 | fail: | |
14797 | return NULL; | |
14798 | } | |
14799 | ||
14800 | ||
3004cfd8 | 14801 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14802 | PyObject *resultobj; |
3004cfd8 | 14803 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 RD |
14804 | int arg2 ; |
14805 | PyObject * obj0 = 0 ; | |
14806 | PyObject * obj1 = 0 ; | |
14807 | char *kwnames[] = { | |
3004cfd8 | 14808 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
14809 | }; |
14810 | ||
3004cfd8 RD |
14811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; |
14812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14814 | { | |
14815 | arg2 = (int)(SWIG_As_int(obj1)); | |
14816 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14817 | } | |
cfe5e918 RD |
14818 | { |
14819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14820 | (arg1)->ScrollToLine(arg2); |
cfe5e918 RD |
14821 | |
14822 | wxPyEndAllowThreads(__tstate); | |
14823 | if (PyErr_Occurred()) SWIG_fail; | |
14824 | } | |
14825 | Py_INCREF(Py_None); resultobj = Py_None; | |
14826 | return resultobj; | |
14827 | fail: | |
14828 | return NULL; | |
14829 | } | |
14830 | ||
14831 | ||
3004cfd8 | 14832 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14833 | PyObject *resultobj; |
3004cfd8 | 14834 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 RD |
14835 | int arg2 ; |
14836 | PyObject * obj0 = 0 ; | |
14837 | PyObject * obj1 = 0 ; | |
14838 | char *kwnames[] = { | |
3004cfd8 | 14839 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
14840 | }; |
14841 | ||
3004cfd8 RD |
14842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; |
14843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14845 | { | |
14846 | arg2 = (int)(SWIG_As_int(obj1)); | |
14847 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14848 | } | |
cfe5e918 RD |
14849 | { |
14850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14851 | (arg1)->ScrollToColumn(arg2); |
cfe5e918 RD |
14852 | |
14853 | wxPyEndAllowThreads(__tstate); | |
14854 | if (PyErr_Occurred()) SWIG_fail; | |
14855 | } | |
14856 | Py_INCREF(Py_None); resultobj = Py_None; | |
14857 | return resultobj; | |
14858 | fail: | |
14859 | return NULL; | |
14860 | } | |
14861 | ||
14862 | ||
3004cfd8 | 14863 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14864 | PyObject *resultobj; |
3004cfd8 RD |
14865 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14866 | int arg2 ; | |
14867 | long arg3 = (long) 0 ; | |
14868 | long arg4 = (long) 0 ; | |
14869 | long result; | |
cfe5e918 RD |
14870 | PyObject * obj0 = 0 ; |
14871 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
14872 | PyObject * obj2 = 0 ; |
14873 | PyObject * obj3 = 0 ; | |
cfe5e918 | 14874 | char *kwnames[] = { |
3004cfd8 | 14875 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL |
cfe5e918 RD |
14876 | }; |
14877 | ||
3004cfd8 RD |
14878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
14879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14881 | { |
3004cfd8 RD |
14882 | arg2 = (int)(SWIG_As_int(obj1)); |
14883 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14884 | } | |
14885 | if (obj2) { | |
14886 | { | |
14887 | arg3 = (long)(SWIG_As_long(obj2)); | |
14888 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14889 | } | |
14890 | } | |
14891 | if (obj3) { | |
14892 | { | |
14893 | arg4 = (long)(SWIG_As_long(obj3)); | |
14894 | if (SWIG_arg_fail(4)) SWIG_fail; | |
14895 | } | |
cfe5e918 RD |
14896 | } |
14897 | { | |
14898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14899 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); |
cfe5e918 RD |
14900 | |
14901 | wxPyEndAllowThreads(__tstate); | |
14902 | if (PyErr_Occurred()) SWIG_fail; | |
14903 | } | |
cfe5e918 | 14904 | { |
3004cfd8 | 14905 | resultobj = SWIG_From_long((long)(result)); |
cfe5e918 RD |
14906 | } |
14907 | return resultobj; | |
14908 | fail: | |
cfe5e918 RD |
14909 | return NULL; |
14910 | } | |
14911 | ||
14912 | ||
3004cfd8 | 14913 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14914 | PyObject *resultobj; |
3004cfd8 RD |
14915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14916 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
cfe5e918 RD |
14917 | PyObject * obj0 = 0 ; |
14918 | PyObject * obj1 = 0 ; | |
14919 | char *kwnames[] = { | |
3004cfd8 | 14920 | (char *) "self",(char *) "bar", NULL |
cfe5e918 RD |
14921 | }; |
14922 | ||
3004cfd8 RD |
14923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; |
14924 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14925 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14926 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14927 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14928 | { |
14929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14930 | (arg1)->SetVScrollBar(arg2); |
cfe5e918 RD |
14931 | |
14932 | wxPyEndAllowThreads(__tstate); | |
14933 | if (PyErr_Occurred()) SWIG_fail; | |
14934 | } | |
14935 | Py_INCREF(Py_None); resultobj = Py_None; | |
14936 | return resultobj; | |
14937 | fail: | |
14938 | return NULL; | |
14939 | } | |
14940 | ||
14941 | ||
3004cfd8 | 14942 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14943 | PyObject *resultobj; |
3004cfd8 RD |
14944 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14945 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
cfe5e918 RD |
14946 | PyObject * obj0 = 0 ; |
14947 | PyObject * obj1 = 0 ; | |
14948 | char *kwnames[] = { | |
3004cfd8 | 14949 | (char *) "self",(char *) "bar", NULL |
cfe5e918 RD |
14950 | }; |
14951 | ||
3004cfd8 RD |
14952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; |
14953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14955 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14956 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14957 | { |
14958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14959 | (arg1)->SetHScrollBar(arg2); |
cfe5e918 RD |
14960 | |
14961 | wxPyEndAllowThreads(__tstate); | |
14962 | if (PyErr_Occurred()) SWIG_fail; | |
14963 | } | |
14964 | Py_INCREF(Py_None); resultobj = Py_None; | |
14965 | return resultobj; | |
14966 | fail: | |
14967 | return NULL; | |
14968 | } | |
14969 | ||
14970 | ||
3004cfd8 | 14971 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14972 | PyObject *resultobj; |
3004cfd8 RD |
14973 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14974 | bool result; | |
cfe5e918 | 14975 | PyObject * obj0 = 0 ; |
cfe5e918 | 14976 | char *kwnames[] = { |
3004cfd8 | 14977 | (char *) "self", NULL |
cfe5e918 RD |
14978 | }; |
14979 | ||
3004cfd8 RD |
14980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; |
14981 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14982 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14983 | { |
14984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 14985 | result = (bool)(arg1)->GetLastKeydownProcessed(); |
cfe5e918 RD |
14986 | |
14987 | wxPyEndAllowThreads(__tstate); | |
14988 | if (PyErr_Occurred()) SWIG_fail; | |
14989 | } | |
3004cfd8 RD |
14990 | { |
14991 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14992 | } | |
cfe5e918 RD |
14993 | return resultobj; |
14994 | fail: | |
14995 | return NULL; | |
14996 | } | |
14997 | ||
14998 | ||
3004cfd8 | 14999 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15000 | PyObject *resultobj; |
3004cfd8 RD |
15001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15002 | bool arg2 ; | |
cfe5e918 RD |
15003 | PyObject * obj0 = 0 ; |
15004 | PyObject * obj1 = 0 ; | |
15005 | char *kwnames[] = { | |
15006 | (char *) "self",(char *) "val", NULL | |
15007 | }; | |
15008 | ||
3004cfd8 RD |
15009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; |
15010 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15011 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15012 | { | |
15013 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15014 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15015 | } | |
cfe5e918 RD |
15016 | { |
15017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15018 | (arg1)->SetLastKeydownProcessed(arg2); |
cfe5e918 RD |
15019 | |
15020 | wxPyEndAllowThreads(__tstate); | |
15021 | if (PyErr_Occurred()) SWIG_fail; | |
15022 | } | |
15023 | Py_INCREF(Py_None); resultobj = Py_None; | |
15024 | return resultobj; | |
15025 | fail: | |
15026 | return NULL; | |
15027 | } | |
15028 | ||
15029 | ||
3004cfd8 | 15030 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15031 | PyObject *resultobj; |
3004cfd8 RD |
15032 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15033 | wxString *arg2 = 0 ; | |
15034 | bool result; | |
15035 | bool temp2 = false ; | |
cfe5e918 RD |
15036 | PyObject * obj0 = 0 ; |
15037 | PyObject * obj1 = 0 ; | |
15038 | char *kwnames[] = { | |
3004cfd8 | 15039 | (char *) "self",(char *) "filename", NULL |
cfe5e918 RD |
15040 | }; |
15041 | ||
3004cfd8 RD |
15042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; |
15043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15045 | { | |
15046 | arg2 = wxString_in_helper(obj1); | |
15047 | if (arg2 == NULL) SWIG_fail; | |
15048 | temp2 = true; | |
15049 | } | |
cfe5e918 RD |
15050 | { |
15051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15052 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); |
cfe5e918 RD |
15053 | |
15054 | wxPyEndAllowThreads(__tstate); | |
15055 | if (PyErr_Occurred()) SWIG_fail; | |
15056 | } | |
3004cfd8 RD |
15057 | { |
15058 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15059 | } | |
15060 | { | |
15061 | if (temp2) | |
15062 | delete arg2; | |
15063 | } | |
cfe5e918 RD |
15064 | return resultobj; |
15065 | fail: | |
3004cfd8 RD |
15066 | { |
15067 | if (temp2) | |
15068 | delete arg2; | |
15069 | } | |
cfe5e918 RD |
15070 | return NULL; |
15071 | } | |
15072 | ||
15073 | ||
3004cfd8 | 15074 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15075 | PyObject *resultobj; |
3004cfd8 RD |
15076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15077 | wxString *arg2 = 0 ; | |
15078 | bool result; | |
15079 | bool temp2 = false ; | |
cfe5e918 RD |
15080 | PyObject * obj0 = 0 ; |
15081 | PyObject * obj1 = 0 ; | |
15082 | char *kwnames[] = { | |
3004cfd8 | 15083 | (char *) "self",(char *) "filename", NULL |
cfe5e918 RD |
15084 | }; |
15085 | ||
3004cfd8 RD |
15086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; |
15087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15089 | { | |
15090 | arg2 = wxString_in_helper(obj1); | |
15091 | if (arg2 == NULL) SWIG_fail; | |
15092 | temp2 = true; | |
15093 | } | |
cfe5e918 RD |
15094 | { |
15095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15096 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); |
cfe5e918 RD |
15097 | |
15098 | wxPyEndAllowThreads(__tstate); | |
15099 | if (PyErr_Occurred()) SWIG_fail; | |
15100 | } | |
3004cfd8 RD |
15101 | { |
15102 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15103 | } | |
15104 | { | |
15105 | if (temp2) | |
15106 | delete arg2; | |
15107 | } | |
cfe5e918 RD |
15108 | return resultobj; |
15109 | fail: | |
3004cfd8 RD |
15110 | { |
15111 | if (temp2) | |
15112 | delete arg2; | |
15113 | } | |
cfe5e918 RD |
15114 | return NULL; |
15115 | } | |
15116 | ||
15117 | ||
3004cfd8 | 15118 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15119 | PyObject *resultobj; |
3004cfd8 | 15120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 | 15121 | int arg2 ; |
3004cfd8 RD |
15122 | int arg3 ; |
15123 | wxDragResult arg4 ; | |
15124 | wxDragResult result; | |
cfe5e918 RD |
15125 | PyObject * obj0 = 0 ; |
15126 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
15127 | PyObject * obj2 = 0 ; |
15128 | PyObject * obj3 = 0 ; | |
cfe5e918 | 15129 | char *kwnames[] = { |
3004cfd8 | 15130 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL |
cfe5e918 RD |
15131 | }; |
15132 | ||
3004cfd8 RD |
15133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15136 | { | |
15137 | arg2 = (int)(SWIG_As_int(obj1)); | |
15138 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15139 | } | |
15140 | { | |
15141 | arg3 = (int)(SWIG_As_int(obj2)); | |
15142 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15143 | } | |
15144 | { | |
15145 | arg4 = (wxDragResult)(SWIG_As_int(obj3)); | |
15146 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15147 | } | |
cfe5e918 RD |
15148 | { |
15149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15150 | result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); |
cfe5e918 RD |
15151 | |
15152 | wxPyEndAllowThreads(__tstate); | |
15153 | if (PyErr_Occurred()) SWIG_fail; | |
15154 | } | |
3004cfd8 | 15155 | resultobj = SWIG_From_int((result)); |
cfe5e918 RD |
15156 | return resultobj; |
15157 | fail: | |
15158 | return NULL; | |
15159 | } | |
15160 | ||
15161 | ||
3004cfd8 | 15162 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15163 | PyObject *resultobj; |
3004cfd8 RD |
15164 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15165 | long arg2 ; | |
15166 | long arg3 ; | |
15167 | wxString *arg4 = 0 ; | |
15168 | bool result; | |
15169 | bool temp4 = false ; | |
cfe5e918 RD |
15170 | PyObject * obj0 = 0 ; |
15171 | PyObject * obj1 = 0 ; | |
3004cfd8 RD |
15172 | PyObject * obj2 = 0 ; |
15173 | PyObject * obj3 = 0 ; | |
cfe5e918 | 15174 | char *kwnames[] = { |
3004cfd8 | 15175 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL |
cfe5e918 RD |
15176 | }; |
15177 | ||
3004cfd8 RD |
15178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15179 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15180 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15181 | { | |
15182 | arg2 = (long)(SWIG_As_long(obj1)); | |
15183 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15184 | } | |
15185 | { | |
15186 | arg3 = (long)(SWIG_As_long(obj2)); | |
15187 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15188 | } | |
15189 | { | |
15190 | arg4 = wxString_in_helper(obj3); | |
15191 | if (arg4 == NULL) SWIG_fail; | |
15192 | temp4 = true; | |
15193 | } | |
cfe5e918 RD |
15194 | { |
15195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15196 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); |
cfe5e918 RD |
15197 | |
15198 | wxPyEndAllowThreads(__tstate); | |
15199 | if (PyErr_Occurred()) SWIG_fail; | |
15200 | } | |
3004cfd8 RD |
15201 | { |
15202 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15203 | } | |
15204 | { | |
15205 | if (temp4) | |
15206 | delete arg4; | |
15207 | } | |
cfe5e918 RD |
15208 | return resultobj; |
15209 | fail: | |
3004cfd8 RD |
15210 | { |
15211 | if (temp4) | |
15212 | delete arg4; | |
15213 | } | |
cfe5e918 RD |
15214 | return NULL; |
15215 | } | |
15216 | ||
15217 | ||
3004cfd8 | 15218 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15219 | PyObject *resultobj; |
3004cfd8 RD |
15220 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15221 | bool arg2 ; | |
cfe5e918 RD |
15222 | PyObject * obj0 = 0 ; |
15223 | PyObject * obj1 = 0 ; | |
15224 | char *kwnames[] = { | |
3004cfd8 | 15225 | (char *) "self",(char *) "useAA", NULL |
cfe5e918 RD |
15226 | }; |
15227 | ||
3004cfd8 RD |
15228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; |
15229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15231 | { | |
15232 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15233 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15234 | } | |
cfe5e918 RD |
15235 | { |
15236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15237 | (arg1)->SetUseAntiAliasing(arg2); |
cfe5e918 RD |
15238 | |
15239 | wxPyEndAllowThreads(__tstate); | |
15240 | if (PyErr_Occurred()) SWIG_fail; | |
15241 | } | |
15242 | Py_INCREF(Py_None); resultobj = Py_None; | |
15243 | return resultobj; | |
15244 | fail: | |
15245 | return NULL; | |
15246 | } | |
15247 | ||
15248 | ||
3004cfd8 | 15249 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15250 | PyObject *resultobj; |
3004cfd8 RD |
15251 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15252 | bool result; | |
cfe5e918 | 15253 | PyObject * obj0 = 0 ; |
cfe5e918 | 15254 | char *kwnames[] = { |
3004cfd8 | 15255 | (char *) "self", NULL |
cfe5e918 RD |
15256 | }; |
15257 | ||
3004cfd8 RD |
15258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; |
15259 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15260 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15261 | { |
15262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15263 | result = (bool)(arg1)->GetUseAntiAliasing(); |
cfe5e918 RD |
15264 | |
15265 | wxPyEndAllowThreads(__tstate); | |
15266 | if (PyErr_Occurred()) SWIG_fail; | |
15267 | } | |
3004cfd8 RD |
15268 | { |
15269 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15270 | } | |
cfe5e918 RD |
15271 | return resultobj; |
15272 | fail: | |
15273 | return NULL; | |
15274 | } | |
15275 | ||
15276 | ||
3004cfd8 RD |
15277 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { |
15278 | PyObject *obj; | |
15279 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15280 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
15281 | Py_INCREF(obj); | |
15282 | return Py_BuildValue((char *)""); | |
15283 | } | |
15284 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
cfe5e918 | 15285 | PyObject *resultobj; |
3004cfd8 RD |
15286 | wxEventType arg1 = (wxEventType) 0 ; |
15287 | int arg2 = (int) 0 ; | |
15288 | wxStyledTextEvent *result; | |
cfe5e918 RD |
15289 | PyObject * obj0 = 0 ; |
15290 | PyObject * obj1 = 0 ; | |
15291 | char *kwnames[] = { | |
3004cfd8 | 15292 | (char *) "commandType",(char *) "id", NULL |
cfe5e918 RD |
15293 | }; |
15294 | ||
3004cfd8 RD |
15295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; |
15296 | if (obj0) { | |
15297 | { | |
15298 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
15299 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15300 | } | |
15301 | } | |
15302 | if (obj1) { | |
15303 | { | |
15304 | arg2 = (int)(SWIG_As_int(obj1)); | |
15305 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15306 | } | |
15307 | } | |
cfe5e918 RD |
15308 | { |
15309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15310 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); |
cfe5e918 RD |
15311 | |
15312 | wxPyEndAllowThreads(__tstate); | |
15313 | if (PyErr_Occurred()) SWIG_fail; | |
15314 | } | |
3004cfd8 | 15315 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); |
cfe5e918 RD |
15316 | return resultobj; |
15317 | fail: | |
15318 | return NULL; | |
15319 | } | |
15320 | ||
15321 | ||
3004cfd8 | 15322 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15323 | PyObject *resultobj; |
15324 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
cfe5e918 | 15325 | PyObject * obj0 = 0 ; |
cfe5e918 | 15326 | char *kwnames[] = { |
3004cfd8 | 15327 | (char *) "self", NULL |
cfe5e918 RD |
15328 | }; |
15329 | ||
3004cfd8 RD |
15330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; |
15331 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15332 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15333 | { |
15334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15335 | delete arg1; |
cfe5e918 RD |
15336 | |
15337 | wxPyEndAllowThreads(__tstate); | |
15338 | if (PyErr_Occurred()) SWIG_fail; | |
15339 | } | |
15340 | Py_INCREF(Py_None); resultobj = Py_None; | |
15341 | return resultobj; | |
15342 | fail: | |
15343 | return NULL; | |
15344 | } | |
15345 | ||
15346 | ||
3004cfd8 | 15347 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15348 | PyObject *resultobj; |
15349 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15350 | int arg2 ; |
cfe5e918 RD |
15351 | PyObject * obj0 = 0 ; |
15352 | PyObject * obj1 = 0 ; | |
15353 | char *kwnames[] = { | |
3004cfd8 | 15354 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
15355 | }; |
15356 | ||
3004cfd8 RD |
15357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; |
15358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 15360 | { |
3004cfd8 RD |
15361 | arg2 = (int)(SWIG_As_int(obj1)); |
15362 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
15363 | } |
15364 | { | |
15365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15366 | (arg1)->SetPosition(arg2); |
cfe5e918 RD |
15367 | |
15368 | wxPyEndAllowThreads(__tstate); | |
15369 | if (PyErr_Occurred()) SWIG_fail; | |
15370 | } | |
15371 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
15372 | return resultobj; |
15373 | fail: | |
cfe5e918 RD |
15374 | return NULL; |
15375 | } | |
15376 | ||
15377 | ||
3004cfd8 | 15378 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15379 | PyObject *resultobj; |
15380 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15381 | int arg2 ; |
cfe5e918 RD |
15382 | PyObject * obj0 = 0 ; |
15383 | PyObject * obj1 = 0 ; | |
15384 | char *kwnames[] = { | |
3004cfd8 | 15385 | (char *) "self",(char *) "k", NULL |
cfe5e918 RD |
15386 | }; |
15387 | ||
3004cfd8 RD |
15388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; |
15389 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15390 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15391 | { | |
15392 | arg2 = (int)(SWIG_As_int(obj1)); | |
15393 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15394 | } | |
cfe5e918 RD |
15395 | { |
15396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15397 | (arg1)->SetKey(arg2); |
cfe5e918 RD |
15398 | |
15399 | wxPyEndAllowThreads(__tstate); | |
15400 | if (PyErr_Occurred()) SWIG_fail; | |
15401 | } | |
15402 | Py_INCREF(Py_None); resultobj = Py_None; | |
15403 | return resultobj; | |
15404 | fail: | |
15405 | return NULL; | |
15406 | } | |
15407 | ||
15408 | ||
3004cfd8 | 15409 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15410 | PyObject *resultobj; |
15411 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15412 | int arg2 ; | |
15413 | PyObject * obj0 = 0 ; | |
15414 | PyObject * obj1 = 0 ; | |
15415 | char *kwnames[] = { | |
3004cfd8 | 15416 | (char *) "self",(char *) "m", NULL |
cfe5e918 RD |
15417 | }; |
15418 | ||
3004cfd8 RD |
15419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; |
15420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15422 | { | |
15423 | arg2 = (int)(SWIG_As_int(obj1)); | |
15424 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15425 | } | |
cfe5e918 RD |
15426 | { |
15427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15428 | (arg1)->SetModifiers(arg2); |
cfe5e918 RD |
15429 | |
15430 | wxPyEndAllowThreads(__tstate); | |
15431 | if (PyErr_Occurred()) SWIG_fail; | |
15432 | } | |
15433 | Py_INCREF(Py_None); resultobj = Py_None; | |
15434 | return resultobj; | |
15435 | fail: | |
15436 | return NULL; | |
15437 | } | |
15438 | ||
15439 | ||
3004cfd8 | 15440 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15441 | PyObject *resultobj; |
15442 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15443 | int arg2 ; |
cfe5e918 | 15444 | PyObject * obj0 = 0 ; |
3004cfd8 | 15445 | PyObject * obj1 = 0 ; |
cfe5e918 | 15446 | char *kwnames[] = { |
3004cfd8 | 15447 | (char *) "self",(char *) "t", NULL |
cfe5e918 RD |
15448 | }; |
15449 | ||
3004cfd8 RD |
15450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; |
15451 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15452 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15453 | { | |
15454 | arg2 = (int)(SWIG_As_int(obj1)); | |
15455 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15456 | } | |
cfe5e918 RD |
15457 | { |
15458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15459 | (arg1)->SetModificationType(arg2); |
cfe5e918 RD |
15460 | |
15461 | wxPyEndAllowThreads(__tstate); | |
15462 | if (PyErr_Occurred()) SWIG_fail; | |
15463 | } | |
3004cfd8 | 15464 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15465 | return resultobj; |
15466 | fail: | |
15467 | return NULL; | |
15468 | } | |
15469 | ||
15470 | ||
3004cfd8 | 15471 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15472 | PyObject *resultobj; |
15473 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 RD |
15474 | wxString *arg2 = 0 ; |
15475 | bool temp2 = false ; | |
cfe5e918 | 15476 | PyObject * obj0 = 0 ; |
3004cfd8 | 15477 | PyObject * obj1 = 0 ; |
cfe5e918 | 15478 | char *kwnames[] = { |
3004cfd8 | 15479 | (char *) "self",(char *) "t", NULL |
cfe5e918 RD |
15480 | }; |
15481 | ||
3004cfd8 RD |
15482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; |
15483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15485 | { | |
15486 | arg2 = wxString_in_helper(obj1); | |
15487 | if (arg2 == NULL) SWIG_fail; | |
15488 | temp2 = true; | |
15489 | } | |
cfe5e918 RD |
15490 | { |
15491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15492 | (arg1)->SetText((wxString const &)*arg2); |
cfe5e918 RD |
15493 | |
15494 | wxPyEndAllowThreads(__tstate); | |
15495 | if (PyErr_Occurred()) SWIG_fail; | |
15496 | } | |
3004cfd8 RD |
15497 | Py_INCREF(Py_None); resultobj = Py_None; |
15498 | { | |
15499 | if (temp2) | |
15500 | delete arg2; | |
15501 | } | |
15502 | return resultobj; | |
15503 | fail: | |
15504 | { | |
15505 | if (temp2) | |
15506 | delete arg2; | |
15507 | } | |
cfe5e918 RD |
15508 | return NULL; |
15509 | } | |
15510 | ||
15511 | ||
3004cfd8 | 15512 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15513 | PyObject *resultobj; |
15514 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15515 | int arg2 ; |
cfe5e918 | 15516 | PyObject * obj0 = 0 ; |
3004cfd8 | 15517 | PyObject * obj1 = 0 ; |
cfe5e918 | 15518 | char *kwnames[] = { |
3004cfd8 | 15519 | (char *) "self",(char *) "len", NULL |
cfe5e918 RD |
15520 | }; |
15521 | ||
3004cfd8 RD |
15522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; |
15523 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15524 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15525 | { | |
15526 | arg2 = (int)(SWIG_As_int(obj1)); | |
15527 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15528 | } | |
cfe5e918 RD |
15529 | { |
15530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15531 | (arg1)->SetLength(arg2); |
cfe5e918 RD |
15532 | |
15533 | wxPyEndAllowThreads(__tstate); | |
15534 | if (PyErr_Occurred()) SWIG_fail; | |
15535 | } | |
3004cfd8 | 15536 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15537 | return resultobj; |
15538 | fail: | |
15539 | return NULL; | |
15540 | } | |
15541 | ||
15542 | ||
3004cfd8 | 15543 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15544 | PyObject *resultobj; |
15545 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15546 | int arg2 ; |
cfe5e918 | 15547 | PyObject * obj0 = 0 ; |
3004cfd8 | 15548 | PyObject * obj1 = 0 ; |
cfe5e918 | 15549 | char *kwnames[] = { |
3004cfd8 | 15550 | (char *) "self",(char *) "num", NULL |
cfe5e918 RD |
15551 | }; |
15552 | ||
3004cfd8 RD |
15553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; |
15554 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15555 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15556 | { | |
15557 | arg2 = (int)(SWIG_As_int(obj1)); | |
15558 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15559 | } | |
cfe5e918 RD |
15560 | { |
15561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15562 | (arg1)->SetLinesAdded(arg2); |
cfe5e918 RD |
15563 | |
15564 | wxPyEndAllowThreads(__tstate); | |
15565 | if (PyErr_Occurred()) SWIG_fail; | |
15566 | } | |
3004cfd8 | 15567 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15568 | return resultobj; |
15569 | fail: | |
15570 | return NULL; | |
15571 | } | |
15572 | ||
15573 | ||
3004cfd8 | 15574 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15575 | PyObject *resultobj; |
15576 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15577 | int arg2 ; |
cfe5e918 | 15578 | PyObject * obj0 = 0 ; |
3004cfd8 | 15579 | PyObject * obj1 = 0 ; |
cfe5e918 | 15580 | char *kwnames[] = { |
3004cfd8 | 15581 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15582 | }; |
15583 | ||
3004cfd8 RD |
15584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; |
15585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15587 | { | |
15588 | arg2 = (int)(SWIG_As_int(obj1)); | |
15589 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15590 | } | |
cfe5e918 RD |
15591 | { |
15592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15593 | (arg1)->SetLine(arg2); |
cfe5e918 RD |
15594 | |
15595 | wxPyEndAllowThreads(__tstate); | |
15596 | if (PyErr_Occurred()) SWIG_fail; | |
15597 | } | |
3004cfd8 | 15598 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15599 | return resultobj; |
15600 | fail: | |
15601 | return NULL; | |
15602 | } | |
15603 | ||
15604 | ||
3004cfd8 | 15605 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15606 | PyObject *resultobj; |
15607 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15608 | int arg2 ; |
cfe5e918 | 15609 | PyObject * obj0 = 0 ; |
3004cfd8 | 15610 | PyObject * obj1 = 0 ; |
cfe5e918 | 15611 | char *kwnames[] = { |
3004cfd8 | 15612 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15613 | }; |
15614 | ||
3004cfd8 RD |
15615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; |
15616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15618 | { | |
15619 | arg2 = (int)(SWIG_As_int(obj1)); | |
15620 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15621 | } | |
cfe5e918 RD |
15622 | { |
15623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15624 | (arg1)->SetFoldLevelNow(arg2); |
cfe5e918 RD |
15625 | |
15626 | wxPyEndAllowThreads(__tstate); | |
15627 | if (PyErr_Occurred()) SWIG_fail; | |
15628 | } | |
3004cfd8 | 15629 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15630 | return resultobj; |
15631 | fail: | |
15632 | return NULL; | |
15633 | } | |
15634 | ||
15635 | ||
3004cfd8 | 15636 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15637 | PyObject *resultobj; |
15638 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15639 | int arg2 ; |
cfe5e918 | 15640 | PyObject * obj0 = 0 ; |
3004cfd8 | 15641 | PyObject * obj1 = 0 ; |
cfe5e918 | 15642 | char *kwnames[] = { |
3004cfd8 | 15643 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15644 | }; |
15645 | ||
3004cfd8 RD |
15646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; |
15647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15649 | { | |
15650 | arg2 = (int)(SWIG_As_int(obj1)); | |
15651 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15652 | } | |
cfe5e918 RD |
15653 | { |
15654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15655 | (arg1)->SetFoldLevelPrev(arg2); |
cfe5e918 RD |
15656 | |
15657 | wxPyEndAllowThreads(__tstate); | |
15658 | if (PyErr_Occurred()) SWIG_fail; | |
15659 | } | |
3004cfd8 | 15660 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15661 | return resultobj; |
15662 | fail: | |
15663 | return NULL; | |
15664 | } | |
15665 | ||
15666 | ||
3004cfd8 | 15667 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15668 | PyObject *resultobj; |
15669 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15670 | int arg2 ; |
cfe5e918 | 15671 | PyObject * obj0 = 0 ; |
3004cfd8 | 15672 | PyObject * obj1 = 0 ; |
cfe5e918 | 15673 | char *kwnames[] = { |
3004cfd8 | 15674 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15675 | }; |
15676 | ||
3004cfd8 RD |
15677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; |
15678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15680 | { | |
15681 | arg2 = (int)(SWIG_As_int(obj1)); | |
15682 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15683 | } | |
cfe5e918 RD |
15684 | { |
15685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15686 | (arg1)->SetMargin(arg2); |
cfe5e918 RD |
15687 | |
15688 | wxPyEndAllowThreads(__tstate); | |
15689 | if (PyErr_Occurred()) SWIG_fail; | |
15690 | } | |
3004cfd8 | 15691 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15692 | return resultobj; |
15693 | fail: | |
15694 | return NULL; | |
15695 | } | |
15696 | ||
15697 | ||
3004cfd8 | 15698 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15699 | PyObject *resultobj; |
15700 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15701 | int arg2 ; |
cfe5e918 | 15702 | PyObject * obj0 = 0 ; |
3004cfd8 | 15703 | PyObject * obj1 = 0 ; |
cfe5e918 | 15704 | char *kwnames[] = { |
3004cfd8 | 15705 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15706 | }; |
15707 | ||
3004cfd8 RD |
15708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; |
15709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15711 | { | |
15712 | arg2 = (int)(SWIG_As_int(obj1)); | |
15713 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15714 | } | |
cfe5e918 RD |
15715 | { |
15716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15717 | (arg1)->SetMessage(arg2); |
cfe5e918 RD |
15718 | |
15719 | wxPyEndAllowThreads(__tstate); | |
15720 | if (PyErr_Occurred()) SWIG_fail; | |
15721 | } | |
3004cfd8 | 15722 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15723 | return resultobj; |
15724 | fail: | |
15725 | return NULL; | |
15726 | } | |
15727 | ||
15728 | ||
3004cfd8 | 15729 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15730 | PyObject *resultobj; |
15731 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15732 | int arg2 ; |
cfe5e918 | 15733 | PyObject * obj0 = 0 ; |
3004cfd8 | 15734 | PyObject * obj1 = 0 ; |
cfe5e918 | 15735 | char *kwnames[] = { |
3004cfd8 | 15736 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15737 | }; |
15738 | ||
3004cfd8 RD |
15739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; |
15740 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15741 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15742 | { | |
15743 | arg2 = (int)(SWIG_As_int(obj1)); | |
15744 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15745 | } | |
cfe5e918 RD |
15746 | { |
15747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15748 | (arg1)->SetWParam(arg2); |
cfe5e918 RD |
15749 | |
15750 | wxPyEndAllowThreads(__tstate); | |
15751 | if (PyErr_Occurred()) SWIG_fail; | |
15752 | } | |
3004cfd8 | 15753 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15754 | return resultobj; |
15755 | fail: | |
15756 | return NULL; | |
15757 | } | |
15758 | ||
15759 | ||
3004cfd8 | 15760 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15761 | PyObject *resultobj; |
15762 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15763 | int arg2 ; |
cfe5e918 | 15764 | PyObject * obj0 = 0 ; |
3004cfd8 | 15765 | PyObject * obj1 = 0 ; |
cfe5e918 | 15766 | char *kwnames[] = { |
3004cfd8 | 15767 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15768 | }; |
15769 | ||
3004cfd8 RD |
15770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; |
15771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15773 | { | |
15774 | arg2 = (int)(SWIG_As_int(obj1)); | |
15775 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15776 | } | |
cfe5e918 RD |
15777 | { |
15778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15779 | (arg1)->SetLParam(arg2); |
cfe5e918 RD |
15780 | |
15781 | wxPyEndAllowThreads(__tstate); | |
15782 | if (PyErr_Occurred()) SWIG_fail; | |
15783 | } | |
3004cfd8 | 15784 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15785 | return resultobj; |
15786 | fail: | |
15787 | return NULL; | |
15788 | } | |
15789 | ||
15790 | ||
3004cfd8 | 15791 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15792 | PyObject *resultobj; |
15793 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15794 | int arg2 ; |
cfe5e918 | 15795 | PyObject * obj0 = 0 ; |
3004cfd8 | 15796 | PyObject * obj1 = 0 ; |
cfe5e918 | 15797 | char *kwnames[] = { |
3004cfd8 | 15798 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15799 | }; |
15800 | ||
3004cfd8 RD |
15801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; |
15802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15804 | { | |
15805 | arg2 = (int)(SWIG_As_int(obj1)); | |
15806 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15807 | } | |
cfe5e918 RD |
15808 | { |
15809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15810 | (arg1)->SetListType(arg2); |
cfe5e918 RD |
15811 | |
15812 | wxPyEndAllowThreads(__tstate); | |
15813 | if (PyErr_Occurred()) SWIG_fail; | |
15814 | } | |
3004cfd8 | 15815 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15816 | return resultobj; |
15817 | fail: | |
15818 | return NULL; | |
15819 | } | |
15820 | ||
15821 | ||
3004cfd8 | 15822 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15823 | PyObject *resultobj; |
15824 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15825 | int arg2 ; |
cfe5e918 | 15826 | PyObject * obj0 = 0 ; |
3004cfd8 | 15827 | PyObject * obj1 = 0 ; |
cfe5e918 | 15828 | char *kwnames[] = { |
3004cfd8 | 15829 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15830 | }; |
15831 | ||
3004cfd8 RD |
15832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; |
15833 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15834 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15835 | { | |
15836 | arg2 = (int)(SWIG_As_int(obj1)); | |
15837 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15838 | } | |
cfe5e918 RD |
15839 | { |
15840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15841 | (arg1)->SetX(arg2); |
cfe5e918 RD |
15842 | |
15843 | wxPyEndAllowThreads(__tstate); | |
15844 | if (PyErr_Occurred()) SWIG_fail; | |
15845 | } | |
3004cfd8 | 15846 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15847 | return resultobj; |
15848 | fail: | |
15849 | return NULL; | |
15850 | } | |
15851 | ||
15852 | ||
3004cfd8 | 15853 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15854 | PyObject *resultobj; |
15855 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15856 | int arg2 ; |
cfe5e918 | 15857 | PyObject * obj0 = 0 ; |
3004cfd8 | 15858 | PyObject * obj1 = 0 ; |
cfe5e918 | 15859 | char *kwnames[] = { |
3004cfd8 | 15860 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15861 | }; |
15862 | ||
3004cfd8 RD |
15863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; |
15864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15866 | { | |
15867 | arg2 = (int)(SWIG_As_int(obj1)); | |
15868 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15869 | } | |
cfe5e918 RD |
15870 | { |
15871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15872 | (arg1)->SetY(arg2); |
cfe5e918 RD |
15873 | |
15874 | wxPyEndAllowThreads(__tstate); | |
15875 | if (PyErr_Occurred()) SWIG_fail; | |
15876 | } | |
3004cfd8 | 15877 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15878 | return resultobj; |
15879 | fail: | |
15880 | return NULL; | |
15881 | } | |
15882 | ||
15883 | ||
3004cfd8 | 15884 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15885 | PyObject *resultobj; |
15886 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 RD |
15887 | wxString *arg2 = 0 ; |
15888 | bool temp2 = false ; | |
cfe5e918 | 15889 | PyObject * obj0 = 0 ; |
3004cfd8 | 15890 | PyObject * obj1 = 0 ; |
cfe5e918 | 15891 | char *kwnames[] = { |
3004cfd8 | 15892 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15893 | }; |
15894 | ||
3004cfd8 RD |
15895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; |
15896 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15897 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15898 | { | |
15899 | arg2 = wxString_in_helper(obj1); | |
15900 | if (arg2 == NULL) SWIG_fail; | |
15901 | temp2 = true; | |
15902 | } | |
cfe5e918 RD |
15903 | { |
15904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15905 | (arg1)->SetDragText((wxString const &)*arg2); |
cfe5e918 RD |
15906 | |
15907 | wxPyEndAllowThreads(__tstate); | |
15908 | if (PyErr_Occurred()) SWIG_fail; | |
15909 | } | |
3004cfd8 RD |
15910 | Py_INCREF(Py_None); resultobj = Py_None; |
15911 | { | |
15912 | if (temp2) | |
15913 | delete arg2; | |
15914 | } | |
cfe5e918 RD |
15915 | return resultobj; |
15916 | fail: | |
3004cfd8 RD |
15917 | { |
15918 | if (temp2) | |
15919 | delete arg2; | |
15920 | } | |
cfe5e918 RD |
15921 | return NULL; |
15922 | } | |
15923 | ||
15924 | ||
3004cfd8 | 15925 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15926 | PyObject *resultobj; |
15927 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15928 | bool arg2 ; |
cfe5e918 | 15929 | PyObject * obj0 = 0 ; |
3004cfd8 | 15930 | PyObject * obj1 = 0 ; |
cfe5e918 | 15931 | char *kwnames[] = { |
3004cfd8 | 15932 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15933 | }; |
15934 | ||
3004cfd8 RD |
15935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; |
15936 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15937 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15938 | { | |
15939 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15940 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15941 | } | |
cfe5e918 RD |
15942 | { |
15943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15944 | (arg1)->SetDragAllowMove(arg2); |
cfe5e918 RD |
15945 | |
15946 | wxPyEndAllowThreads(__tstate); | |
15947 | if (PyErr_Occurred()) SWIG_fail; | |
15948 | } | |
3004cfd8 | 15949 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15950 | return resultobj; |
15951 | fail: | |
15952 | return NULL; | |
15953 | } | |
15954 | ||
15955 | ||
3004cfd8 | 15956 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15957 | PyObject *resultobj; |
15958 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15959 | wxDragResult arg2 ; |
cfe5e918 | 15960 | PyObject * obj0 = 0 ; |
3004cfd8 | 15961 | PyObject * obj1 = 0 ; |
cfe5e918 | 15962 | char *kwnames[] = { |
3004cfd8 | 15963 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15964 | }; |
15965 | ||
3004cfd8 RD |
15966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; |
15967 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15968 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15969 | { | |
15970 | arg2 = (wxDragResult)(SWIG_As_int(obj1)); | |
15971 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15972 | } | |
cfe5e918 RD |
15973 | { |
15974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 15975 | (arg1)->SetDragResult((wxDragResult )arg2); |
cfe5e918 RD |
15976 | |
15977 | wxPyEndAllowThreads(__tstate); | |
15978 | if (PyErr_Occurred()) SWIG_fail; | |
15979 | } | |
3004cfd8 | 15980 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15981 | return resultobj; |
15982 | fail: | |
15983 | return NULL; | |
15984 | } | |
15985 | ||
15986 | ||
3004cfd8 | 15987 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15988 | PyObject *resultobj; |
15989 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 15990 | int result; |
cfe5e918 RD |
15991 | PyObject * obj0 = 0 ; |
15992 | char *kwnames[] = { | |
15993 | (char *) "self", NULL | |
15994 | }; | |
15995 | ||
3004cfd8 RD |
15996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; |
15997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15999 | { |
16000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16001 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); |
cfe5e918 RD |
16002 | |
16003 | wxPyEndAllowThreads(__tstate); | |
16004 | if (PyErr_Occurred()) SWIG_fail; | |
16005 | } | |
16006 | { | |
3004cfd8 | 16007 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16008 | } |
16009 | return resultobj; | |
16010 | fail: | |
16011 | return NULL; | |
16012 | } | |
16013 | ||
16014 | ||
3004cfd8 | 16015 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16016 | PyObject *resultobj; |
16017 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16018 | int result; |
cfe5e918 RD |
16019 | PyObject * obj0 = 0 ; |
16020 | char *kwnames[] = { | |
16021 | (char *) "self", NULL | |
16022 | }; | |
16023 | ||
3004cfd8 RD |
16024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; |
16025 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16026 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16027 | { |
16028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16029 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); |
cfe5e918 RD |
16030 | |
16031 | wxPyEndAllowThreads(__tstate); | |
16032 | if (PyErr_Occurred()) SWIG_fail; | |
16033 | } | |
16034 | { | |
3004cfd8 | 16035 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16036 | } |
16037 | return resultobj; | |
16038 | fail: | |
16039 | return NULL; | |
16040 | } | |
16041 | ||
16042 | ||
3004cfd8 | 16043 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16044 | PyObject *resultobj; |
16045 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16046 | int result; | |
16047 | PyObject * obj0 = 0 ; | |
16048 | char *kwnames[] = { | |
16049 | (char *) "self", NULL | |
16050 | }; | |
16051 | ||
3004cfd8 RD |
16052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; |
16053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16055 | { |
16056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16057 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); |
cfe5e918 RD |
16058 | |
16059 | wxPyEndAllowThreads(__tstate); | |
16060 | if (PyErr_Occurred()) SWIG_fail; | |
16061 | } | |
3004cfd8 RD |
16062 | { |
16063 | resultobj = SWIG_From_int((int)(result)); | |
16064 | } | |
cfe5e918 RD |
16065 | return resultobj; |
16066 | fail: | |
16067 | return NULL; | |
16068 | } | |
16069 | ||
16070 | ||
3004cfd8 | 16071 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16072 | PyObject *resultobj; |
16073 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16074 | int result; |
cfe5e918 RD |
16075 | PyObject * obj0 = 0 ; |
16076 | char *kwnames[] = { | |
16077 | (char *) "self", NULL | |
16078 | }; | |
16079 | ||
3004cfd8 RD |
16080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; |
16081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16083 | { |
16084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16085 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); |
cfe5e918 RD |
16086 | |
16087 | wxPyEndAllowThreads(__tstate); | |
16088 | if (PyErr_Occurred()) SWIG_fail; | |
16089 | } | |
16090 | { | |
3004cfd8 | 16091 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16092 | } |
16093 | return resultobj; | |
16094 | fail: | |
16095 | return NULL; | |
16096 | } | |
16097 | ||
16098 | ||
3004cfd8 | 16099 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16100 | PyObject *resultobj; |
16101 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16102 | wxString result; |
cfe5e918 RD |
16103 | PyObject * obj0 = 0 ; |
16104 | char *kwnames[] = { | |
16105 | (char *) "self", NULL | |
16106 | }; | |
16107 | ||
3004cfd8 RD |
16108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; |
16109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16111 | { |
16112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16113 | result = ((wxStyledTextEvent const *)arg1)->GetText(); |
cfe5e918 RD |
16114 | |
16115 | wxPyEndAllowThreads(__tstate); | |
16116 | if (PyErr_Occurred()) SWIG_fail; | |
16117 | } | |
16118 | { | |
3004cfd8 RD |
16119 | #if wxUSE_UNICODE |
16120 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16121 | #else | |
16122 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16123 | #endif | |
cfe5e918 RD |
16124 | } |
16125 | return resultobj; | |
16126 | fail: | |
16127 | return NULL; | |
16128 | } | |
16129 | ||
16130 | ||
3004cfd8 | 16131 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16132 | PyObject *resultobj; |
16133 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16134 | int result; |
cfe5e918 RD |
16135 | PyObject * obj0 = 0 ; |
16136 | char *kwnames[] = { | |
16137 | (char *) "self", NULL | |
16138 | }; | |
16139 | ||
3004cfd8 RD |
16140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; |
16141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16143 | { |
16144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16145 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); |
cfe5e918 RD |
16146 | |
16147 | wxPyEndAllowThreads(__tstate); | |
16148 | if (PyErr_Occurred()) SWIG_fail; | |
16149 | } | |
16150 | { | |
3004cfd8 | 16151 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16152 | } |
16153 | return resultobj; | |
16154 | fail: | |
16155 | return NULL; | |
16156 | } | |
16157 | ||
16158 | ||
3004cfd8 | 16159 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16160 | PyObject *resultobj; |
16161 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
3004cfd8 | 16162 | int result; |
cfe5e918 RD |
16163 | PyObject * obj0 = 0 ; |
16164 | char *kwnames[] = { | |
16165 | (char *) "self", NULL | |
16166 | }; | |
16167 | ||
3004cfd8 RD |
16168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; |
16169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16171 | { |
16172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3004cfd8 | 16173 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); |
cfe5e918 RD |
16174 | |
16175 | wxPyEndAllowThreads(__tstate); | |
16176 | if (PyErr_Occurred()) SWIG_fail; | |
16177 | } | |
3004cfd8 RD |
16178 | { |
16179 | resultobj = SWIG_From_int((int)(result)); | |
16180 | } | |
cfe5e918 RD |
16181 | return resultobj; |
16182 | fail: | |
16183 | return NULL; | |
16184 | } | |
16185 | ||
16186 | ||
3004cfd8 RD |
16187 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
16188 | PyObject *resultobj; | |
16189 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16190 | int result; | |
16191 | PyObject * obj0 = 0 ; | |
16192 | char *kwnames[] = { | |
16193 | (char *) "self", NULL | |
16194 | }; | |
16195 | ||
16196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
16197 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16198 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16199 | { | |
16200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16201 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
16202 | ||
16203 | wxPyEndAllowThreads(__tstate); | |
16204 | if (PyErr_Occurred()) SWIG_fail; | |
16205 | } | |
16206 | { | |
16207 | resultobj = SWIG_From_int((int)(result)); | |
16208 | } | |
16209 | return resultobj; | |
16210 | fail: | |
16211 | return NULL; | |
cfe5e918 | 16212 | } |
cfe5e918 RD |
16213 | |
16214 | ||
3004cfd8 RD |
16215 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
16216 | PyObject *resultobj; | |
16217 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16218 | int result; | |
16219 | PyObject * obj0 = 0 ; | |
16220 | char *kwnames[] = { | |
16221 | (char *) "self", NULL | |
16222 | }; | |
16223 | ||
16224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
16225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16227 | { | |
16228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16229 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
16230 | ||
16231 | wxPyEndAllowThreads(__tstate); | |
16232 | if (PyErr_Occurred()) SWIG_fail; | |
16233 | } | |
16234 | { | |
16235 | resultobj = SWIG_From_int((int)(result)); | |
16236 | } | |
16237 | return resultobj; | |
16238 | fail: | |
16239 | return NULL; | |
cfe5e918 | 16240 | } |
3004cfd8 RD |
16241 | |
16242 | ||
16243 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
16244 | PyObject *resultobj; | |
16245 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16246 | int result; | |
16247 | PyObject * obj0 = 0 ; | |
16248 | char *kwnames[] = { | |
16249 | (char *) "self", NULL | |
16250 | }; | |
16251 | ||
16252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
16253 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16254 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16255 | { | |
16256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16257 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
16258 | ||
16259 | wxPyEndAllowThreads(__tstate); | |
16260 | if (PyErr_Occurred()) SWIG_fail; | |
16261 | } | |
16262 | { | |
16263 | resultobj = SWIG_From_int((int)(result)); | |
16264 | } | |
16265 | return resultobj; | |
16266 | fail: | |
16267 | return NULL; | |
cfe5e918 | 16268 | } |
3004cfd8 RD |
16269 | |
16270 | ||
16271 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
16272 | PyObject *resultobj; | |
16273 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16274 | int result; | |
16275 | PyObject * obj0 = 0 ; | |
16276 | char *kwnames[] = { | |
16277 | (char *) "self", NULL | |
16278 | }; | |
16279 | ||
16280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
16281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16283 | { | |
16284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16285 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
16286 | ||
16287 | wxPyEndAllowThreads(__tstate); | |
16288 | if (PyErr_Occurred()) SWIG_fail; | |
16289 | } | |
16290 | { | |
16291 | resultobj = SWIG_From_int((int)(result)); | |
16292 | } | |
16293 | return resultobj; | |
16294 | fail: | |
16295 | return NULL; | |
cfe5e918 | 16296 | } |
3004cfd8 RD |
16297 | |
16298 | ||
16299 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
16300 | PyObject *resultobj; | |
16301 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16302 | int result; | |
16303 | PyObject * obj0 = 0 ; | |
16304 | char *kwnames[] = { | |
16305 | (char *) "self", NULL | |
16306 | }; | |
16307 | ||
16308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
16309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16311 | { | |
16312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16313 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
16314 | ||
16315 | wxPyEndAllowThreads(__tstate); | |
16316 | if (PyErr_Occurred()) SWIG_fail; | |
16317 | } | |
16318 | { | |
16319 | resultobj = SWIG_From_int((int)(result)); | |
16320 | } | |
16321 | return resultobj; | |
16322 | fail: | |
16323 | return NULL; | |
cfe5e918 | 16324 | } |
3004cfd8 RD |
16325 | |
16326 | ||
16327 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16328 | PyObject *resultobj; | |
16329 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16330 | int result; | |
16331 | PyObject * obj0 = 0 ; | |
16332 | char *kwnames[] = { | |
16333 | (char *) "self", NULL | |
16334 | }; | |
16335 | ||
16336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
16337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16339 | { | |
16340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16341 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
16342 | ||
16343 | wxPyEndAllowThreads(__tstate); | |
16344 | if (PyErr_Occurred()) SWIG_fail; | |
16345 | } | |
16346 | { | |
16347 | resultobj = SWIG_From_int((int)(result)); | |
16348 | } | |
16349 | return resultobj; | |
16350 | fail: | |
16351 | return NULL; | |
cfe5e918 | 16352 | } |
3004cfd8 RD |
16353 | |
16354 | ||
16355 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16356 | PyObject *resultobj; | |
16357 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16358 | int result; | |
16359 | PyObject * obj0 = 0 ; | |
16360 | char *kwnames[] = { | |
16361 | (char *) "self", NULL | |
16362 | }; | |
16363 | ||
16364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
16365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16367 | { | |
16368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16369 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
16370 | ||
16371 | wxPyEndAllowThreads(__tstate); | |
16372 | if (PyErr_Occurred()) SWIG_fail; | |
16373 | } | |
16374 | { | |
16375 | resultobj = SWIG_From_int((int)(result)); | |
16376 | } | |
16377 | return resultobj; | |
16378 | fail: | |
16379 | return NULL; | |
cfe5e918 | 16380 | } |
3004cfd8 RD |
16381 | |
16382 | ||
16383 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16384 | PyObject *resultobj; | |
16385 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16386 | int result; | |
16387 | PyObject * obj0 = 0 ; | |
16388 | char *kwnames[] = { | |
16389 | (char *) "self", NULL | |
16390 | }; | |
16391 | ||
16392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
16393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16395 | { | |
16396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16397 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
16398 | ||
16399 | wxPyEndAllowThreads(__tstate); | |
16400 | if (PyErr_Occurred()) SWIG_fail; | |
16401 | } | |
16402 | { | |
16403 | resultobj = SWIG_From_int((int)(result)); | |
16404 | } | |
16405 | return resultobj; | |
16406 | fail: | |
16407 | return NULL; | |
cfe5e918 | 16408 | } |
3004cfd8 RD |
16409 | |
16410 | ||
16411 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
16412 | PyObject *resultobj; | |
16413 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16414 | int result; | |
16415 | PyObject * obj0 = 0 ; | |
16416 | char *kwnames[] = { | |
16417 | (char *) "self", NULL | |
16418 | }; | |
16419 | ||
16420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
16421 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16422 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16423 | { | |
16424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16425 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
16426 | ||
16427 | wxPyEndAllowThreads(__tstate); | |
16428 | if (PyErr_Occurred()) SWIG_fail; | |
16429 | } | |
16430 | { | |
16431 | resultobj = SWIG_From_int((int)(result)); | |
16432 | } | |
16433 | return resultobj; | |
16434 | fail: | |
16435 | return NULL; | |
cfe5e918 | 16436 | } |
3004cfd8 RD |
16437 | |
16438 | ||
16439 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
16440 | PyObject *resultobj; | |
16441 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16442 | int result; | |
16443 | PyObject * obj0 = 0 ; | |
16444 | char *kwnames[] = { | |
16445 | (char *) "self", NULL | |
16446 | }; | |
16447 | ||
16448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
16449 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16450 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16451 | { | |
16452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16453 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
16454 | ||
16455 | wxPyEndAllowThreads(__tstate); | |
16456 | if (PyErr_Occurred()) SWIG_fail; | |
16457 | } | |
16458 | { | |
16459 | resultobj = SWIG_From_int((int)(result)); | |
16460 | } | |
16461 | return resultobj; | |
16462 | fail: | |
16463 | return NULL; | |
cfe5e918 | 16464 | } |
3004cfd8 RD |
16465 | |
16466 | ||
16467 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16468 | PyObject *resultobj; | |
16469 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16470 | wxString result; | |
16471 | PyObject * obj0 = 0 ; | |
16472 | char *kwnames[] = { | |
16473 | (char *) "self", NULL | |
16474 | }; | |
16475 | ||
16476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
16477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16479 | { | |
16480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16481 | result = (arg1)->GetDragText(); | |
16482 | ||
16483 | wxPyEndAllowThreads(__tstate); | |
16484 | if (PyErr_Occurred()) SWIG_fail; | |
16485 | } | |
16486 | { | |
16487 | #if wxUSE_UNICODE | |
16488 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16489 | #else | |
16490 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16491 | #endif | |
16492 | } | |
16493 | return resultobj; | |
16494 | fail: | |
16495 | return NULL; | |
cfe5e918 | 16496 | } |
3004cfd8 RD |
16497 | |
16498 | ||
16499 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
16500 | PyObject *resultobj; | |
16501 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16502 | bool result; | |
16503 | PyObject * obj0 = 0 ; | |
16504 | char *kwnames[] = { | |
16505 | (char *) "self", NULL | |
16506 | }; | |
16507 | ||
16508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
16509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16511 | { | |
16512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16513 | result = (bool)(arg1)->GetDragAllowMove(); | |
16514 | ||
16515 | wxPyEndAllowThreads(__tstate); | |
16516 | if (PyErr_Occurred()) SWIG_fail; | |
16517 | } | |
16518 | { | |
16519 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16520 | } | |
16521 | return resultobj; | |
16522 | fail: | |
16523 | return NULL; | |
cfe5e918 | 16524 | } |
3004cfd8 RD |
16525 | |
16526 | ||
16527 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
16528 | PyObject *resultobj; | |
16529 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16530 | wxDragResult result; | |
16531 | PyObject * obj0 = 0 ; | |
16532 | char *kwnames[] = { | |
16533 | (char *) "self", NULL | |
16534 | }; | |
16535 | ||
16536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
16537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16539 | { | |
16540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16541 | result = (wxDragResult)(arg1)->GetDragResult(); | |
16542 | ||
16543 | wxPyEndAllowThreads(__tstate); | |
16544 | if (PyErr_Occurred()) SWIG_fail; | |
16545 | } | |
16546 | resultobj = SWIG_From_int((result)); | |
16547 | return resultobj; | |
16548 | fail: | |
16549 | return NULL; | |
cfe5e918 | 16550 | } |
3004cfd8 RD |
16551 | |
16552 | ||
16553 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { | |
16554 | PyObject *resultobj; | |
16555 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16556 | bool result; | |
16557 | PyObject * obj0 = 0 ; | |
16558 | char *kwnames[] = { | |
16559 | (char *) "self", NULL | |
16560 | }; | |
16561 | ||
16562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
16563 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16564 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16565 | { | |
16566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16567 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
16568 | ||
16569 | wxPyEndAllowThreads(__tstate); | |
16570 | if (PyErr_Occurred()) SWIG_fail; | |
16571 | } | |
16572 | { | |
16573 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16574 | } | |
16575 | return resultobj; | |
16576 | fail: | |
16577 | return NULL; | |
cfe5e918 | 16578 | } |
3004cfd8 RD |
16579 | |
16580 | ||
16581 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { | |
16582 | PyObject *resultobj; | |
16583 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16584 | bool result; | |
16585 | PyObject * obj0 = 0 ; | |
16586 | char *kwnames[] = { | |
16587 | (char *) "self", NULL | |
16588 | }; | |
16589 | ||
16590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
16591 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16592 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16593 | { | |
16594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16595 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
16596 | ||
16597 | wxPyEndAllowThreads(__tstate); | |
16598 | if (PyErr_Occurred()) SWIG_fail; | |
16599 | } | |
16600 | { | |
16601 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16602 | } | |
16603 | return resultobj; | |
16604 | fail: | |
16605 | return NULL; | |
cfe5e918 | 16606 | } |
3004cfd8 RD |
16607 | |
16608 | ||
16609 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { | |
16610 | PyObject *resultobj; | |
16611 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16612 | bool result; | |
16613 | PyObject * obj0 = 0 ; | |
16614 | char *kwnames[] = { | |
16615 | (char *) "self", NULL | |
16616 | }; | |
16617 | ||
16618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
16619 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16620 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16621 | { | |
16622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16623 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
16624 | ||
16625 | wxPyEndAllowThreads(__tstate); | |
16626 | if (PyErr_Occurred()) SWIG_fail; | |
16627 | } | |
16628 | { | |
16629 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16630 | } | |
16631 | return resultobj; | |
16632 | fail: | |
16633 | return NULL; | |
cfe5e918 | 16634 | } |
3004cfd8 RD |
16635 | |
16636 | ||
16637 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { | |
16638 | PyObject *resultobj; | |
16639 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16640 | wxEvent *result; | |
16641 | PyObject * obj0 = 0 ; | |
16642 | char *kwnames[] = { | |
16643 | (char *) "self", NULL | |
16644 | }; | |
16645 | ||
16646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
16647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16649 | { | |
16650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16651 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
16652 | ||
16653 | wxPyEndAllowThreads(__tstate); | |
16654 | if (PyErr_Occurred()) SWIG_fail; | |
16655 | } | |
16656 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); | |
16657 | return resultobj; | |
16658 | fail: | |
16659 | return NULL; | |
16660 | } | |
16661 | ||
16662 | ||
16663 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { | |
16664 | PyObject *obj; | |
16665 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16666 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
16667 | Py_INCREF(obj); | |
16668 | return Py_BuildValue((char *)""); | |
16669 | } | |
16670 | static PyMethodDef SwigMethods[] = { | |
16671 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16672 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16673 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16674 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16675 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16676 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16677 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16678 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16679 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16680 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16681 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16682 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16683 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16684 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16685 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16686 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16687 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16688 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16689 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16690 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16691 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16692 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16693 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16694 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16695 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16696 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16697 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16698 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16699 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16700 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16701 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16702 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16703 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16704 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16705 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16706 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16707 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16708 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16709 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16710 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16711 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16712 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16713 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16714 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16715 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16716 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16717 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16718 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16719 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16720 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16721 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16722 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16723 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16724 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16725 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16726 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16727 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16728 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16729 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16730 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16731 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16732 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16733 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16734 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16735 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16736 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16737 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16738 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16739 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16740 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16741 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16742 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16743 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16744 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16745 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16746 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16747 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16748 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16749 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16750 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16751 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16752 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16753 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16754 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16755 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16756 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16757 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16758 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16759 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16760 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16761 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16762 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16763 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16764 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16765 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16766 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16767 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16768 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16769 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16770 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16771 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16772 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16773 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16774 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16775 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16776 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16777 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16778 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16779 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16780 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16781 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16782 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16783 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16784 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16785 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16786 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16787 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16788 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16789 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16790 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16791 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16792 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16793 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16794 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16795 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16796 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16797 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16798 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16799 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16800 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16801 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16802 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16803 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16804 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16805 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16806 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16807 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16808 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16809 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16810 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16811 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16812 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16813 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16814 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16815 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16816 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16817 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16818 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16819 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16820 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16821 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16822 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16823 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16824 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16825 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16826 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16827 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16828 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16829 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16830 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16831 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16832 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16833 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16834 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16835 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16836 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16837 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16838 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16839 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16840 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16841 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16842 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16843 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16844 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16845 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16846 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16847 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16848 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16849 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16850 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16851 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16852 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16853 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16854 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16855 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16856 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16857 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16858 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16859 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16860 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16861 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16862 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16863 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16864 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16865 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16866 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16867 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16868 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16869 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16870 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16871 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16872 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16873 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16874 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16875 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16876 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16877 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16878 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16879 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16880 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16881 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16882 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16883 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16884 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16885 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16886 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16887 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16888 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16889 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16890 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16891 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16892 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16893 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16894 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16895 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16896 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16897 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16898 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16899 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16900 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16901 | { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16902 | { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16903 | { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16904 | { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16905 | { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16906 | { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16907 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16908 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16909 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16910 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16911 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16912 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16913 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16914 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16915 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16916 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16917 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16918 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16919 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16920 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16921 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16922 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16923 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16924 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16925 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16926 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16927 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16928 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16929 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16930 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16931 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16932 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16933 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16934 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16935 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16936 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16937 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16938 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16939 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16940 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16941 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16942 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16943 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16944 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16945 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16946 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16947 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16948 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16949 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16950 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16951 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16952 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16953 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16954 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16955 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16956 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16957 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16958 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16959 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16960 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16961 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16962 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16963 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16964 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16965 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16966 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16967 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16968 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16969 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16970 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16971 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16972 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16973 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16974 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16975 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16976 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16977 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16978 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16979 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16980 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16981 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16982 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16983 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16984 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16985 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16986 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16987 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16988 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16989 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16990 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16991 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16992 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16993 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16994 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16995 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16996 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16997 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16998 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16999 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17000 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17001 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17002 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17003 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17004 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17005 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17006 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17007 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17008 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17009 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17010 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17011 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17012 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17013 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17014 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17015 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17016 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17017 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17018 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17019 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17020 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17021 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17022 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17023 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17024 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17025 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17026 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17027 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17028 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17029 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17030 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17031 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17032 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17033 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17034 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17035 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17036 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17037 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17038 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17039 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17040 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17041 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17042 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17043 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17044 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17045 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17046 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17047 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17048 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17049 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17050 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17051 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17052 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17053 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17054 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17055 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17056 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17057 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17058 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17059 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17060 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17061 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17062 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17063 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17064 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17065 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17066 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17067 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17068 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17069 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17070 | { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17071 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17072 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17073 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17074 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17075 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17076 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17077 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17078 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17079 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17080 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17081 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17082 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17083 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17084 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17085 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17086 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17087 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17088 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17089 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17090 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17091 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17092 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17093 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17094 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17095 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17096 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17097 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17098 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17099 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17100 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL}, | |
17101 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17102 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17103 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17104 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17105 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17106 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17107 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17108 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17109 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17110 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17111 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17112 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17113 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17114 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17115 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17116 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17117 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17118 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17119 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17120 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17121 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17122 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17123 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17124 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17125 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17126 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17127 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17128 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17129 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17130 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17131 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17132 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17133 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17134 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17135 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17136 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17137 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17138 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17139 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17140 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17141 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17142 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17143 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17144 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17145 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17146 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17147 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL}, | |
17148 | { NULL, NULL, 0, NULL } | |
17149 | }; | |
17150 | ||
17151 | ||
17152 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17153 | ||
17154 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
17155 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
17156 | } | |
17157 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
17158 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
17159 | } | |
17160 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
17161 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
17162 | } | |
17163 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
17164 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
17165 | } | |
17166 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
17167 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
17168 | } | |
17169 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
17170 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
17171 | } | |
17172 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
17173 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
17174 | } | |
17175 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
17176 | return (void *)((wxObject *) ((wxSizer *) x)); | |
17177 | } | |
17178 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
17179 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
17180 | } | |
17181 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { | |
17182 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
17183 | } | |
17184 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
17185 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17186 | } | |
17187 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
17188 | return (void *)((wxObject *) ((wxEvent *) x)); | |
17189 | } | |
17190 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17191 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17192 | } | |
17193 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17194 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17195 | } | |
17196 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17197 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17198 | } | |
17199 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17200 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17201 | } | |
17202 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17203 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17204 | } | |
17205 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { | |
17206 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17207 | } | |
17208 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17209 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17210 | } | |
17211 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17212 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17213 | } | |
17214 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17215 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17216 | } | |
17217 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17218 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17219 | } | |
17220 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17221 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17222 | } | |
17223 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17224 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17225 | } | |
17226 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { | |
17227 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
17228 | } | |
17229 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
cfe5e918 RD |
17230 | return (void *)((wxObject *) ((wxFSFile *) x)); |
17231 | } | |
17232 | static void *_p_wxClipboardTo_p_wxObject(void *x) { | |
17233 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
17234 | } | |
17235 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
17236 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17237 | } | |
17238 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
17239 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17240 | } | |
17241 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17242 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17243 | } | |
17244 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17245 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17246 | } | |
17247 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17248 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17249 | } | |
17250 | static void *_p_wxToolTipTo_p_wxObject(void *x) { | |
17251 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
17252 | } | |
17253 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17254 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17255 | } | |
17256 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
17257 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17258 | } | |
17259 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17260 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17261 | } | |
17262 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17263 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17264 | } | |
17265 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17266 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17267 | } | |
17268 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17269 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17270 | } | |
17271 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17272 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17273 | } | |
17274 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17275 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17276 | } | |
17277 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17278 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17279 | } | |
17280 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17281 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17282 | } | |
17283 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17284 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17285 | } | |
17286 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17287 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17288 | } | |
17289 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17290 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17291 | } | |
17292 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17293 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17294 | } | |
17295 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17296 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17297 | } | |
17298 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17299 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17300 | } | |
17301 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17302 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17303 | } | |
17304 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17305 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17306 | } | |
17307 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17308 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17309 | } | |
17310 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17311 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17312 | } | |
17313 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17314 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17315 | } | |
17316 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
17317 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17318 | } | |
51b83b37 RD |
17319 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17320 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17321 | } | |
cfe5e918 RD |
17322 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17323 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17324 | } | |
17325 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17326 | return (void *)((wxObject *) ((wxImage *) x)); | |
17327 | } | |
17328 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17329 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17330 | } | |
17331 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { | |
17332 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
17333 | } | |
17334 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
17335 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
17336 | } | |
17337 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
17338 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17339 | } | |
17340 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17341 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17342 | } | |
17343 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17344 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17345 | } | |
17346 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17347 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17348 | } | |
17349 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17350 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17351 | } | |
17352 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17353 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17354 | } | |
17355 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { | |
17356 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
17357 | } | |
17358 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17359 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17360 | } | |
17361 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17362 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17363 | } | |
17364 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17365 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17366 | } | |
17367 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17368 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17369 | } | |
17370 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17371 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17372 | } | |
17373 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17374 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17375 | } | |
17376 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17377 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17378 | } | |
17379 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { | |
17380 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
17381 | } | |
17382 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17383 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17384 | } | |
17385 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17386 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17387 | } | |
17388 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17389 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17390 | } | |
17391 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17392 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17393 | } | |
17394 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17395 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17396 | } | |
17397 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { | |
17398 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
17399 | } | |
17400 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17401 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17402 | } | |
17403 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17404 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17405 | } | |
17406 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17407 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17408 | } | |
17409 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { | |
17410 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
17411 | } | |
17412 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
17413 | return (void *)((wxWindow *) ((wxControl *) x)); | |
17414 | } | |
17415 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
17416 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
17417 | } | |
17418 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
17419 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
17420 | } | |
17421 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
17422 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
17423 | } | |
17424 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17425 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17426 | } | |
17427 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17428 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17429 | } | |
17430 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17431 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17432 | } | |
17433 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
17434 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17435 | } | |
17436 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
17437 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17438 | } | |
17439 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17440 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17441 | } | |
17442 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17443 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17444 | } | |
17445 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17446 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17447 | } | |
17448 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17449 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17450 | } | |
17451 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17452 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17453 | } | |
17454 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17455 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17456 | } | |
17457 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17459 | } | |
17460 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17461 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17462 | } | |
17463 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { | |
17464 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
17465 | } | |
17466 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { | |
17467 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17468 | } | |
17469 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17470 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17471 | } | |
17472 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17473 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17474 | } | |
17475 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17476 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17477 | } | |
17478 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17479 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17480 | } | |
17481 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { | |
17482 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
17483 | } | |
17484 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
17485 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
17486 | } | |
17487 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
17488 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
17489 | } | |
17490 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
17491 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17492 | } | |
17493 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
17494 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
17495 | } | |
17496 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
17497 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
17498 | } | |
17499 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
17500 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
17501 | } | |
17502 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
17503 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
17504 | } | |
17505 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
17506 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
17507 | } | |
17508 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { | |
17509 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
17510 | } | |
17511 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
17512 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
17513 | } | |
17514 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
17515 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
17516 | } | |
17517 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
17518 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
17519 | } | |
17520 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
17521 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17522 | } | |
17523 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { | |
17524 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
17525 | } | |
17526 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
17527 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
17528 | } | |
17529 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
17530 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17531 | } | |
17532 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
17533 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17534 | } | |
17535 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
17536 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
17537 | } | |
17538 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
17539 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
17540 | } | |
17541 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
17542 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
17543 | } | |
17544 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
17545 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
17546 | } | |
17547 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
17548 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
17549 | } | |
17550 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
17551 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
17552 | } | |
17553 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
17554 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
17555 | } | |
17556 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
17557 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17558 | } | |
17559 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
17560 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17561 | } | |
17562 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
17563 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17564 | } | |
17565 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
17566 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17567 | } | |
17568 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
17569 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17570 | } | |
17571 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
17572 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17573 | } | |
17574 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
17575 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
17576 | } | |
17577 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
17578 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
17579 | } | |
17580 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
17581 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17582 | } | |
17583 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { | |
17584 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
17585 | } | |
17586 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
17587 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
17588 | } | |
17589 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
17590 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
17591 | } | |
17592 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
17593 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17594 | } | |
17595 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
17596 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17597 | } | |
17598 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
17599 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17600 | } | |
17601 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
17602 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
17603 | } | |
17604 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
17605 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
17606 | } | |
17607 | 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}}; | |
51b83b37 | 17608 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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 |
17609 | 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}}; |
17610 | 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 RD |
17611 | 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}}; |
17612 | 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}}; | |
17613 | 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}}; | |
17614 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
3004cfd8 | 17615 | 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 | 17616 | 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 |
17617 | 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}}; |
17618 | 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}}; | |
17619 | 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}}; | |
17620 | 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 | 17621 | 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 | 17622 | 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 |
17623 | 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}}; |
17624 | 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 | 17625 | 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 |
17626 | 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}}; |
17627 | 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 |
17628 | 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}}; |
17629 | 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}}; | |
17630 | 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}}; | |
17631 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
3004cfd8 | 17632 | 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 |
17633 | 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}}; |
17634 | 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}}; | |
17635 | ||
17636 | static swig_type_info *swig_types_initial[] = { | |
17637 | _swigt__p_wxRect, | |
cfe5e918 | 17638 | _swigt__p_wxObject, |
3004cfd8 RD |
17639 | _swigt__p_unsigned_char, |
17640 | _swigt__p_wxColour, | |
cfe5e918 RD |
17641 | _swigt__p_wxScrollBar, |
17642 | _swigt__p_wxStyledTextEvent, | |
17643 | _swigt__p_wxWindow, | |
17644 | _swigt__p_wxCommandEvent, | |
3004cfd8 | 17645 | _swigt__p_unsigned_long, |
cfe5e918 | 17646 | _swigt__p_wxBitmap, |
3004cfd8 RD |
17647 | _swigt__p_unsigned_int, |
17648 | _swigt__unsigned_int, | |
17649 | _swigt__p_form_ops_t, | |
17650 | _swigt__p_wxDuplexMode, | |
cfe5e918 | 17651 | _swigt__p_void, |
3004cfd8 | 17652 | _swigt__p_char, |
cfe5e918 RD |
17653 | _swigt__p_wxPoint, |
17654 | _swigt__p_wxDC, | |
cfe5e918 | 17655 | _swigt__p_wxEvtHandler, |
3004cfd8 RD |
17656 | _swigt__std__ptrdiff_t, |
17657 | _swigt__ptrdiff_t, | |
cfe5e918 RD |
17658 | _swigt__p_wxStyledTextCtrl, |
17659 | _swigt__p_wxFont, | |
17660 | _swigt__p_wxControl, | |
17661 | _swigt__p_wxEvent, | |
3004cfd8 | 17662 | _swigt__p_wxPaperSize, |
cfe5e918 RD |
17663 | _swigt__p_int, |
17664 | _swigt__p_wxMemoryBuffer, | |
17665 | 0 | |
17666 | }; | |
17667 | ||
17668 | ||
17669 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
17670 | ||
17671 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 17672 | {0, 0, 0, 0.0, 0, 0}}; |
cfe5e918 RD |
17673 | |
17674 | #ifdef __cplusplus | |
17675 | } | |
17676 | #endif | |
17677 | ||
3004cfd8 RD |
17678 | |
17679 | #ifdef __cplusplus | |
17680 | extern "C" { | |
17681 | #endif | |
17682 | ||
17683 | /* Python-specific SWIG API */ | |
17684 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
17685 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
17686 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
17687 | ||
17688 | /* ----------------------------------------------------------------------------- | |
17689 | * global variable support code. | |
17690 | * ----------------------------------------------------------------------------- */ | |
17691 | ||
17692 | typedef struct swig_globalvar { | |
17693 | char *name; /* Name of global variable */ | |
17694 | PyObject *(*get_attr)(); /* Return the current value */ | |
17695 | int (*set_attr)(PyObject *); /* Set the value */ | |
17696 | struct swig_globalvar *next; | |
17697 | } swig_globalvar; | |
17698 | ||
17699 | typedef struct swig_varlinkobject { | |
17700 | PyObject_HEAD | |
17701 | swig_globalvar *vars; | |
17702 | } swig_varlinkobject; | |
17703 | ||
17704 | static PyObject * | |
17705 | swig_varlink_repr(swig_varlinkobject *v) { | |
17706 | v = v; | |
17707 | return PyString_FromString("<Swig global variables>"); | |
17708 | } | |
17709 | ||
17710 | static int | |
17711 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
17712 | swig_globalvar *var; | |
17713 | flags = flags; | |
17714 | fprintf(fp,"Swig global variables { "); | |
17715 | for (var = v->vars; var; var=var->next) { | |
17716 | fprintf(fp,"%s", var->name); | |
17717 | if (var->next) fprintf(fp,", "); | |
17718 | } | |
17719 | fprintf(fp," }\n"); | |
17720 | return 0; | |
17721 | } | |
17722 | ||
17723 | static PyObject * | |
17724 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
17725 | swig_globalvar *var = v->vars; | |
17726 | while (var) { | |
17727 | if (strcmp(var->name,n) == 0) { | |
17728 | return (*var->get_attr)(); | |
17729 | } | |
17730 | var = var->next; | |
17731 | } | |
17732 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17733 | return NULL; | |
17734 | } | |
17735 | ||
17736 | static int | |
17737 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
17738 | swig_globalvar *var = v->vars; | |
17739 | while (var) { | |
17740 | if (strcmp(var->name,n) == 0) { | |
17741 | return (*var->set_attr)(p); | |
17742 | } | |
17743 | var = var->next; | |
17744 | } | |
17745 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17746 | return 1; | |
17747 | } | |
17748 | ||
17749 | static PyTypeObject varlinktype = { | |
17750 | PyObject_HEAD_INIT(0) | |
17751 | 0, /* Number of items in variable part (ob_size) */ | |
17752 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
17753 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
17754 | 0, /* Itemsize (tp_itemsize) */ | |
17755 | 0, /* Deallocator (tp_dealloc) */ | |
17756 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
17757 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
17758 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
17759 | 0, /* tp_compare */ | |
17760 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
17761 | 0, /* tp_as_number */ | |
17762 | 0, /* tp_as_sequence */ | |
17763 | 0, /* tp_as_mapping */ | |
17764 | 0, /* tp_hash */ | |
17765 | 0, /* tp_call */ | |
17766 | 0, /* tp_str */ | |
17767 | 0, /* tp_getattro */ | |
17768 | 0, /* tp_setattro */ | |
17769 | 0, /* tp_as_buffer */ | |
17770 | 0, /* tp_flags */ | |
17771 | 0, /* tp_doc */ | |
17772 | #if PY_VERSION_HEX >= 0x02000000 | |
17773 | 0, /* tp_traverse */ | |
17774 | 0, /* tp_clear */ | |
17775 | #endif | |
17776 | #if PY_VERSION_HEX >= 0x02010000 | |
17777 | 0, /* tp_richcompare */ | |
17778 | 0, /* tp_weaklistoffset */ | |
17779 | #endif | |
17780 | #if PY_VERSION_HEX >= 0x02020000 | |
17781 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
17782 | #endif | |
17783 | #if PY_VERSION_HEX >= 0x02030000 | |
17784 | 0, /* tp_del */ | |
17785 | #endif | |
17786 | #ifdef COUNT_ALLOCS | |
17787 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
17788 | #endif | |
17789 | }; | |
17790 | ||
17791 | /* Create a variable linking object for use later */ | |
17792 | static PyObject * | |
17793 | SWIG_Python_newvarlink(void) { | |
17794 | swig_varlinkobject *result = 0; | |
17795 | result = PyMem_NEW(swig_varlinkobject,1); | |
17796 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
17797 | result->ob_type = &varlinktype; | |
17798 | result->vars = 0; | |
17799 | result->ob_refcnt = 0; | |
17800 | Py_XINCREF((PyObject *) result); | |
17801 | return ((PyObject*) result); | |
17802 | } | |
17803 | ||
17804 | static void | |
17805 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
17806 | swig_varlinkobject *v; | |
17807 | swig_globalvar *gv; | |
17808 | v= (swig_varlinkobject *) p; | |
17809 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
17810 | gv->name = (char *) malloc(strlen(name)+1); | |
17811 | strcpy(gv->name,name); | |
17812 | gv->get_attr = get_attr; | |
17813 | gv->set_attr = set_attr; | |
17814 | gv->next = v->vars; | |
17815 | v->vars = gv; | |
17816 | } | |
17817 | ||
17818 | /* ----------------------------------------------------------------------------- | |
17819 | * constants/methods manipulation | |
17820 | * ----------------------------------------------------------------------------- */ | |
17821 | ||
17822 | /* Install Constants */ | |
17823 | static void | |
17824 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
17825 | PyObject *obj = 0; | |
17826 | size_t i; | |
17827 | for (i = 0; constants[i].type; i++) { | |
17828 | switch(constants[i].type) { | |
17829 | case SWIG_PY_INT: | |
17830 | obj = PyInt_FromLong(constants[i].lvalue); | |
17831 | break; | |
17832 | case SWIG_PY_FLOAT: | |
17833 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
17834 | break; | |
17835 | case SWIG_PY_STRING: | |
17836 | if (constants[i].pvalue) { | |
17837 | obj = PyString_FromString((char *) constants[i].pvalue); | |
17838 | } else { | |
17839 | Py_INCREF(Py_None); | |
17840 | obj = Py_None; | |
17841 | } | |
17842 | break; | |
17843 | case SWIG_PY_POINTER: | |
17844 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
17845 | break; | |
17846 | case SWIG_PY_BINARY: | |
17847 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
17848 | break; | |
17849 | default: | |
17850 | obj = 0; | |
17851 | break; | |
17852 | } | |
17853 | if (obj) { | |
17854 | PyDict_SetItemString(d,constants[i].name,obj); | |
17855 | Py_DECREF(obj); | |
17856 | } | |
17857 | } | |
17858 | } | |
17859 | ||
17860 | /* -----------------------------------------------------------------------------*/ | |
17861 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17862 | /* -----------------------------------------------------------------------------*/ | |
17863 | ||
17864 | static void | |
17865 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
17866 | swig_const_info *const_table, | |
17867 | swig_type_info **types, | |
17868 | swig_type_info **types_initial) { | |
17869 | size_t i; | |
17870 | for (i = 0; methods[i].ml_name; ++i) { | |
17871 | char *c = methods[i].ml_doc; | |
17872 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
17873 | int j; | |
17874 | swig_const_info *ci = 0; | |
17875 | char *name = c + 10; | |
17876 | for (j = 0; const_table[j].type; j++) { | |
17877 | if (strncmp(const_table[j].name, name, | |
17878 | strlen(const_table[j].name)) == 0) { | |
17879 | ci = &(const_table[j]); | |
17880 | break; | |
17881 | } | |
17882 | } | |
17883 | if (ci) { | |
17884 | size_t shift = (ci->ptype) - types; | |
17885 | swig_type_info *ty = types_initial[shift]; | |
17886 | size_t ldoc = (c - methods[i].ml_doc); | |
17887 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
17888 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
17889 | char *buff = ndoc; | |
17890 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
17891 | strncpy(buff, methods[i].ml_doc, ldoc); | |
17892 | buff += ldoc; | |
17893 | strncpy(buff, "swig_ptr: ", 10); | |
17894 | buff += 10; | |
17895 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
17896 | methods[i].ml_doc = ndoc; | |
17897 | } | |
17898 | } | |
17899 | } | |
17900 | } | |
17901 | ||
17902 | /* -----------------------------------------------------------------------------* | |
17903 | * Initialize type list | |
17904 | * -----------------------------------------------------------------------------*/ | |
17905 | ||
17906 | #if PY_MAJOR_VERSION < 2 | |
17907 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
17908 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
17909 | static int | |
17910 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
17911 | { | |
17912 | PyObject *dict; | |
17913 | if (!PyModule_Check(m)) { | |
17914 | PyErr_SetString(PyExc_TypeError, | |
17915 | "PyModule_AddObject() needs module as first arg"); | |
17916 | return -1; | |
17917 | } | |
17918 | if (!o) { | |
17919 | PyErr_SetString(PyExc_TypeError, | |
17920 | "PyModule_AddObject() needs non-NULL value"); | |
17921 | return -1; | |
17922 | } | |
17923 | ||
17924 | dict = PyModule_GetDict(m); | |
17925 | if (dict == NULL) { | |
17926 | /* Internal error -- modules must have a dict! */ | |
17927 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
17928 | PyModule_GetName(m)); | |
17929 | return -1; | |
17930 | } | |
17931 | if (PyDict_SetItemString(dict, name, o)) | |
17932 | return -1; | |
17933 | Py_DECREF(o); | |
17934 | return 0; | |
17935 | } | |
17936 | #endif | |
17937 | ||
17938 | static swig_type_info ** | |
17939 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
17940 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
17941 | { | |
17942 | NULL, NULL, 0, NULL | |
17943 | } | |
17944 | };/* Sentinel */ | |
17945 | ||
17946 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
17947 | swig_empty_runtime_method_table); | |
17948 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
17949 | if (pointer && module) { | |
17950 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
17951 | } | |
17952 | return type_list_handle; | |
17953 | } | |
17954 | ||
17955 | static swig_type_info ** | |
17956 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
17957 | swig_type_info **type_pointer; | |
17958 | ||
17959 | /* first check if module already created */ | |
17960 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
17961 | if (type_pointer) { | |
17962 | return type_pointer; | |
17963 | } else { | |
17964 | /* create a new module and variable */ | |
17965 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
17966 | } | |
17967 | } | |
17968 | ||
17969 | #ifdef __cplusplus | |
17970 | } | |
17971 | #endif | |
17972 | ||
17973 | /* -----------------------------------------------------------------------------* | |
17974 | * Partial Init method | |
17975 | * -----------------------------------------------------------------------------*/ | |
17976 | ||
17977 | #ifdef SWIG_LINK_RUNTIME | |
17978 | #ifdef __cplusplus | |
17979 | extern "C" | |
17980 | #endif | |
17981 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
17982 | #endif | |
17983 | ||
cfe5e918 RD |
17984 | #ifdef __cplusplus |
17985 | extern "C" | |
17986 | #endif | |
17987 | SWIGEXPORT(void) SWIG_init(void) { | |
17988 | static PyObject *SWIG_globals = 0; | |
17989 | static int typeinit = 0; | |
17990 | PyObject *m, *d; | |
17991 | int i; | |
17992 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
3004cfd8 RD |
17993 | |
17994 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17995 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
17996 | ||
cfe5e918 RD |
17997 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
17998 | d = PyModule_GetDict(m); | |
17999 | ||
18000 | if (!typeinit) { | |
3004cfd8 RD |
18001 | #ifdef SWIG_LINK_RUNTIME |
18002 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
18003 | #else | |
18004 | # ifndef SWIG_STATIC_RUNTIME | |
18005 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
18006 | # endif | |
18007 | #endif | |
cfe5e918 RD |
18008 | for (i = 0; swig_types_initial[i]; i++) { |
18009 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
18010 | } | |
18011 | typeinit = 1; | |
18012 | } | |
18013 | SWIG_InstallConstants(d,swig_const_table); | |
18014 | ||
18015 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
18016 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
3004cfd8 RD |
18017 | { |
18018 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1))); | |
18019 | } | |
18020 | { | |
18021 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1))); | |
18022 | } | |
18023 | { | |
18024 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1))); | |
18025 | } | |
18026 | { | |
18027 | PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000))); | |
18028 | } | |
18029 | { | |
18030 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000))); | |
18031 | } | |
18032 | { | |
18033 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000))); | |
18034 | } | |
18035 | { | |
18036 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0))); | |
18037 | } | |
18038 | { | |
18039 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1))); | |
18040 | } | |
18041 | { | |
18042 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2))); | |
18043 | } | |
18044 | { | |
18045 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0))); | |
18046 | } | |
18047 | { | |
18048 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1))); | |
18049 | } | |
18050 | { | |
18051 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2))); | |
18052 | } | |
18053 | { | |
18054 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001))); | |
18055 | } | |
18056 | { | |
18057 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1))); | |
18058 | } | |
18059 | { | |
18060 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31))); | |
18061 | } | |
18062 | { | |
18063 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0))); | |
18064 | } | |
18065 | { | |
18066 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1))); | |
18067 | } | |
18068 | { | |
18069 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2))); | |
18070 | } | |
18071 | { | |
18072 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3))); | |
18073 | } | |
18074 | { | |
18075 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4))); | |
18076 | } | |
18077 | { | |
18078 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5))); | |
18079 | } | |
18080 | { | |
18081 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6))); | |
18082 | } | |
18083 | { | |
18084 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7))); | |
18085 | } | |
18086 | { | |
18087 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8))); | |
18088 | } | |
18089 | { | |
18090 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9))); | |
18091 | } | |
18092 | { | |
18093 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10))); | |
18094 | } | |
18095 | { | |
18096 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11))); | |
18097 | } | |
18098 | { | |
18099 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12))); | |
18100 | } | |
18101 | { | |
18102 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13))); | |
18103 | } | |
18104 | { | |
18105 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14))); | |
18106 | } | |
18107 | { | |
18108 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15))); | |
18109 | } | |
18110 | { | |
18111 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16))); | |
18112 | } | |
18113 | { | |
18114 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17))); | |
18115 | } | |
18116 | { | |
18117 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18))); | |
18118 | } | |
18119 | { | |
18120 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19))); | |
18121 | } | |
18122 | { | |
18123 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20))); | |
18124 | } | |
18125 | { | |
18126 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21))); | |
18127 | } | |
18128 | { | |
18129 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22))); | |
18130 | } | |
18131 | { | |
18132 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23))); | |
18133 | } | |
18134 | { | |
18135 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24))); | |
18136 | } | |
18137 | { | |
18138 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25))); | |
18139 | } | |
18140 | { | |
18141 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000))); | |
18142 | } | |
18143 | { | |
18144 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25))); | |
18145 | } | |
18146 | { | |
18147 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26))); | |
18148 | } | |
18149 | { | |
18150 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27))); | |
18151 | } | |
18152 | { | |
18153 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28))); | |
18154 | } | |
18155 | { | |
18156 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29))); | |
18157 | } | |
18158 | { | |
18159 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30))); | |
18160 | } | |
18161 | { | |
18162 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31))); | |
18163 | } | |
18164 | { | |
18165 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000))); | |
18166 | } | |
18167 | { | |
18168 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0))); | |
18169 | } | |
18170 | { | |
18171 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1))); | |
18172 | } | |
18173 | { | |
18174 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32))); | |
18175 | } | |
18176 | { | |
18177 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33))); | |
18178 | } | |
18179 | { | |
18180 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34))); | |
18181 | } | |
18182 | { | |
18183 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35))); | |
18184 | } | |
18185 | { | |
18186 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36))); | |
18187 | } | |
18188 | { | |
18189 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37))); | |
18190 | } | |
18191 | { | |
18192 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39))); | |
18193 | } | |
18194 | { | |
18195 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127))); | |
18196 | } | |
18197 | { | |
18198 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0))); | |
18199 | } | |
18200 | { | |
18201 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1))); | |
18202 | } | |
18203 | { | |
18204 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186))); | |
18205 | } | |
18206 | { | |
18207 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136))); | |
18208 | } | |
18209 | { | |
18210 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238))); | |
18211 | } | |
18212 | { | |
18213 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134))); | |
18214 | } | |
18215 | { | |
18216 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161))); | |
18217 | } | |
18218 | { | |
18219 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129))); | |
18220 | } | |
18221 | { | |
18222 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77))); | |
18223 | } | |
18224 | { | |
18225 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255))); | |
18226 | } | |
18227 | { | |
18228 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204))); | |
18229 | } | |
18230 | { | |
18231 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128))); | |
18232 | } | |
18233 | { | |
18234 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2))); | |
18235 | } | |
18236 | { | |
18237 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162))); | |
18238 | } | |
18239 | { | |
18240 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130))); | |
18241 | } | |
18242 | { | |
18243 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177))); | |
18244 | } | |
18245 | { | |
18246 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178))); | |
18247 | } | |
18248 | { | |
18249 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163))); | |
18250 | } | |
18251 | { | |
18252 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222))); | |
18253 | } | |
18254 | { | |
18255 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0))); | |
18256 | } | |
18257 | { | |
18258 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1))); | |
18259 | } | |
18260 | { | |
18261 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2))); | |
18262 | } | |
18263 | { | |
18264 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7))); | |
18265 | } | |
18266 | { | |
18267 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0))); | |
18268 | } | |
18269 | { | |
18270 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1))); | |
18271 | } | |
18272 | { | |
18273 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2))); | |
18274 | } | |
18275 | { | |
18276 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3))); | |
18277 | } | |
18278 | { | |
18279 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4))); | |
18280 | } | |
18281 | { | |
18282 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5))); | |
18283 | } | |
18284 | { | |
18285 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6))); | |
18286 | } | |
18287 | { | |
18288 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20))); | |
18289 | } | |
18290 | { | |
18291 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40))); | |
18292 | } | |
18293 | { | |
18294 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80))); | |
18295 | } | |
18296 | { | |
18297 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0))); | |
18298 | } | |
18299 | { | |
18300 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0))); | |
18301 | } | |
18302 | { | |
18303 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1))); | |
18304 | } | |
18305 | { | |
18306 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2))); | |
18307 | } | |
18308 | { | |
18309 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3))); | |
18310 | } | |
18311 | { | |
18312 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4))); | |
18313 | } | |
18314 | { | |
18315 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2))); | |
18316 | } | |
18317 | { | |
18318 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4))); | |
18319 | } | |
18320 | { | |
18321 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000))); | |
18322 | } | |
18323 | { | |
18324 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000))); | |
18325 | } | |
18326 | { | |
18327 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000))); | |
18328 | } | |
18329 | { | |
18330 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400))); | |
18331 | } | |
18332 | { | |
18333 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000))); | |
18334 | } | |
18335 | { | |
18336 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000))); | |
18337 | } | |
18338 | { | |
18339 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000))); | |
18340 | } | |
18341 | { | |
18342 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000))); | |
18343 | } | |
18344 | { | |
18345 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000))); | |
18346 | } | |
18347 | { | |
18348 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000))); | |
18349 | } | |
18350 | { | |
18351 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF))); | |
18352 | } | |
18353 | { | |
18354 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002))); | |
18355 | } | |
18356 | { | |
18357 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004))); | |
18358 | } | |
18359 | { | |
18360 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008))); | |
18361 | } | |
18362 | { | |
18363 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010))); | |
18364 | } | |
18365 | { | |
18366 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040))); | |
18367 | } | |
18368 | { | |
18369 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001))); | |
18370 | } | |
18371 | { | |
18372 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000))); | |
18373 | } | |
18374 | { | |
18375 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0))); | |
18376 | } | |
18377 | { | |
18378 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1))); | |
18379 | } | |
18380 | { | |
18381 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000))); | |
18382 | } | |
18383 | { | |
18384 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001))); | |
18385 | } | |
18386 | { | |
18387 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002))); | |
18388 | } | |
18389 | { | |
18390 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000))); | |
18391 | } | |
18392 | { | |
18393 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001))); | |
18394 | } | |
18395 | { | |
18396 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002))); | |
18397 | } | |
18398 | { | |
18399 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0))); | |
18400 | } | |
18401 | { | |
18402 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1))); | |
18403 | } | |
18404 | { | |
18405 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2))); | |
18406 | } | |
18407 | { | |
18408 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3))); | |
18409 | } | |
18410 | { | |
18411 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0))); | |
18412 | } | |
18413 | { | |
18414 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1))); | |
18415 | } | |
18416 | { | |
18417 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2))); | |
18418 | } | |
18419 | { | |
18420 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1))); | |
18421 | } | |
18422 | { | |
18423 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4))); | |
18424 | } | |
18425 | { | |
18426 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01))); | |
18427 | } | |
18428 | { | |
18429 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04))); | |
18430 | } | |
18431 | { | |
18432 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01))); | |
18433 | } | |
18434 | { | |
18435 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04))); | |
18436 | } | |
18437 | { | |
18438 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10))); | |
18439 | } | |
18440 | { | |
18441 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08))); | |
18442 | } | |
18443 | { | |
18444 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0))); | |
18445 | } | |
18446 | { | |
18447 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1))); | |
18448 | } | |
18449 | { | |
18450 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2))); | |
18451 | } | |
18452 | { | |
18453 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8))); | |
18454 | } | |
18455 | { | |
18456 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1))); | |
18457 | } | |
18458 | { | |
18459 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2))); | |
18460 | } | |
18461 | { | |
18462 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4))); | |
18463 | } | |
18464 | { | |
18465 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8))); | |
18466 | } | |
18467 | { | |
18468 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10))); | |
18469 | } | |
18470 | { | |
18471 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20))); | |
18472 | } | |
18473 | { | |
18474 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40))); | |
18475 | } | |
18476 | { | |
18477 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100))); | |
18478 | } | |
18479 | { | |
18480 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200))); | |
18481 | } | |
18482 | { | |
18483 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400))); | |
18484 | } | |
18485 | { | |
18486 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800))); | |
18487 | } | |
18488 | { | |
18489 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77))); | |
18490 | } | |
18491 | { | |
18492 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300))); | |
18493 | } | |
18494 | { | |
18495 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301))); | |
18496 | } | |
18497 | { | |
18498 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302))); | |
18499 | } | |
18500 | { | |
18501 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303))); | |
18502 | } | |
18503 | { | |
18504 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304))); | |
18505 | } | |
18506 | { | |
18507 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305))); | |
18508 | } | |
18509 | { | |
18510 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306))); | |
18511 | } | |
18512 | { | |
18513 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307))); | |
18514 | } | |
18515 | { | |
18516 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308))); | |
18517 | } | |
18518 | { | |
18519 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309))); | |
18520 | } | |
18521 | { | |
18522 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7))); | |
18523 | } | |
18524 | { | |
18525 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8))); | |
18526 | } | |
18527 | { | |
18528 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9))); | |
18529 | } | |
18530 | { | |
18531 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13))); | |
18532 | } | |
18533 | { | |
18534 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310))); | |
18535 | } | |
18536 | { | |
18537 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311))); | |
18538 | } | |
18539 | { | |
18540 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312))); | |
18541 | } | |
18542 | { | |
18543 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1))); | |
18544 | } | |
18545 | { | |
18546 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2))); | |
18547 | } | |
18548 | { | |
18549 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4))); | |
18550 | } | |
18551 | { | |
18552 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0))); | |
18553 | } | |
18554 | { | |
18555 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1))); | |
18556 | } | |
18557 | { | |
18558 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2))); | |
18559 | } | |
18560 | { | |
18561 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3))); | |
18562 | } | |
18563 | { | |
18564 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4))); | |
18565 | } | |
18566 | { | |
18567 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5))); | |
18568 | } | |
18569 | { | |
18570 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6))); | |
18571 | } | |
18572 | { | |
18573 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7))); | |
18574 | } | |
18575 | { | |
18576 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8))); | |
18577 | } | |
18578 | { | |
18579 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9))); | |
18580 | } | |
18581 | { | |
18582 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10))); | |
18583 | } | |
18584 | { | |
18585 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11))); | |
18586 | } | |
18587 | { | |
18588 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12))); | |
18589 | } | |
18590 | { | |
18591 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13))); | |
18592 | } | |
18593 | { | |
18594 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14))); | |
18595 | } | |
18596 | { | |
18597 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15))); | |
18598 | } | |
18599 | { | |
18600 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16))); | |
18601 | } | |
18602 | { | |
18603 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17))); | |
18604 | } | |
18605 | { | |
18606 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18))); | |
18607 | } | |
18608 | { | |
18609 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19))); | |
18610 | } | |
18611 | { | |
18612 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20))); | |
18613 | } | |
18614 | { | |
18615 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21))); | |
18616 | } | |
18617 | { | |
18618 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22))); | |
18619 | } | |
18620 | { | |
18621 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23))); | |
18622 | } | |
18623 | { | |
18624 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24))); | |
18625 | } | |
18626 | { | |
18627 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25))); | |
18628 | } | |
18629 | { | |
18630 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26))); | |
18631 | } | |
18632 | { | |
18633 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27))); | |
18634 | } | |
18635 | { | |
18636 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28))); | |
18637 | } | |
18638 | { | |
18639 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29))); | |
18640 | } | |
18641 | { | |
18642 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30))); | |
18643 | } | |
18644 | { | |
18645 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31))); | |
18646 | } | |
18647 | { | |
18648 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32))); | |
18649 | } | |
18650 | { | |
18651 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33))); | |
18652 | } | |
18653 | { | |
18654 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34))); | |
18655 | } | |
18656 | { | |
18657 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35))); | |
18658 | } | |
18659 | { | |
18660 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36))); | |
18661 | } | |
18662 | { | |
18663 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37))); | |
18664 | } | |
18665 | { | |
18666 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38))); | |
18667 | } | |
18668 | { | |
18669 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39))); | |
18670 | } | |
18671 | { | |
18672 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40))); | |
18673 | } | |
18674 | { | |
18675 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41))); | |
18676 | } | |
18677 | { | |
18678 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42))); | |
18679 | } | |
18680 | { | |
18681 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43))); | |
18682 | } | |
18683 | { | |
18684 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44))); | |
18685 | } | |
18686 | { | |
18687 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45))); | |
18688 | } | |
18689 | { | |
18690 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46))); | |
18691 | } | |
18692 | { | |
18693 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47))); | |
18694 | } | |
18695 | { | |
18696 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48))); | |
18697 | } | |
18698 | { | |
18699 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49))); | |
18700 | } | |
18701 | { | |
18702 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50))); | |
18703 | } | |
18704 | { | |
18705 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51))); | |
18706 | } | |
18707 | { | |
18708 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52))); | |
18709 | } | |
18710 | { | |
18711 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53))); | |
18712 | } | |
18713 | { | |
18714 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54))); | |
18715 | } | |
18716 | { | |
18717 | PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55))); | |
18718 | } | |
18719 | { | |
18720 | PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56))); | |
18721 | } | |
18722 | { | |
18723 | PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57))); | |
18724 | } | |
18725 | { | |
18726 | PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58))); | |
18727 | } | |
18728 | { | |
18729 | PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59))); | |
18730 | } | |
18731 | { | |
18732 | PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60))); | |
18733 | } | |
18734 | { | |
18735 | PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61))); | |
18736 | } | |
18737 | { | |
18738 | PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62))); | |
18739 | } | |
18740 | { | |
18741 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000))); | |
18742 | } | |
18743 | { | |
18744 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0))); | |
18745 | } | |
18746 | { | |
18747 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1))); | |
18748 | } | |
18749 | { | |
18750 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2))); | |
18751 | } | |
18752 | { | |
18753 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3))); | |
18754 | } | |
18755 | { | |
18756 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4))); | |
18757 | } | |
18758 | { | |
18759 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5))); | |
18760 | } | |
18761 | { | |
18762 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6))); | |
18763 | } | |
18764 | { | |
18765 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7))); | |
18766 | } | |
18767 | { | |
18768 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8))); | |
18769 | } | |
18770 | { | |
18771 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9))); | |
18772 | } | |
18773 | { | |
18774 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10))); | |
18775 | } | |
18776 | { | |
18777 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11))); | |
18778 | } | |
18779 | { | |
18780 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12))); | |
18781 | } | |
18782 | { | |
18783 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13))); | |
18784 | } | |
18785 | { | |
18786 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0))); | |
18787 | } | |
18788 | { | |
18789 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1))); | |
18790 | } | |
18791 | { | |
18792 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2))); | |
18793 | } | |
18794 | { | |
18795 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3))); | |
18796 | } | |
18797 | { | |
18798 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4))); | |
18799 | } | |
18800 | { | |
18801 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5))); | |
18802 | } | |
18803 | { | |
18804 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6))); | |
18805 | } | |
18806 | { | |
18807 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7))); | |
18808 | } | |
18809 | { | |
18810 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8))); | |
18811 | } | |
18812 | { | |
18813 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9))); | |
18814 | } | |
18815 | { | |
18816 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10))); | |
18817 | } | |
18818 | { | |
18819 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11))); | |
18820 | } | |
18821 | { | |
18822 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12))); | |
18823 | } | |
18824 | { | |
18825 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13))); | |
18826 | } | |
18827 | { | |
18828 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14))); | |
18829 | } | |
18830 | { | |
18831 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15))); | |
18832 | } | |
18833 | { | |
18834 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16))); | |
18835 | } | |
18836 | { | |
18837 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17))); | |
18838 | } | |
18839 | { | |
18840 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18))); | |
18841 | } | |
18842 | { | |
18843 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19))); | |
18844 | } | |
18845 | { | |
18846 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0))); | |
18847 | } | |
18848 | { | |
18849 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1))); | |
18850 | } | |
18851 | { | |
18852 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2))); | |
18853 | } | |
18854 | { | |
18855 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3))); | |
18856 | } | |
18857 | { | |
18858 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4))); | |
18859 | } | |
18860 | { | |
18861 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5))); | |
18862 | } | |
18863 | { | |
18864 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6))); | |
18865 | } | |
18866 | { | |
18867 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7))); | |
18868 | } | |
18869 | { | |
18870 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8))); | |
18871 | } | |
18872 | { | |
18873 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9))); | |
18874 | } | |
18875 | { | |
18876 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10))); | |
18877 | } | |
18878 | { | |
18879 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11))); | |
18880 | } | |
18881 | { | |
18882 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12))); | |
18883 | } | |
18884 | { | |
18885 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13))); | |
18886 | } | |
18887 | { | |
18888 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14))); | |
18889 | } | |
18890 | { | |
18891 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15))); | |
18892 | } | |
18893 | { | |
18894 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16))); | |
18895 | } | |
18896 | { | |
18897 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17))); | |
18898 | } | |
18899 | { | |
18900 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18))); | |
18901 | } | |
18902 | { | |
18903 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19))); | |
18904 | } | |
18905 | { | |
18906 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20))); | |
18907 | } | |
18908 | { | |
18909 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21))); | |
18910 | } | |
18911 | { | |
18912 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22))); | |
18913 | } | |
18914 | { | |
18915 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23))); | |
18916 | } | |
18917 | { | |
18918 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24))); | |
18919 | } | |
18920 | { | |
18921 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25))); | |
18922 | } | |
18923 | { | |
18924 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26))); | |
18925 | } | |
18926 | { | |
18927 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27))); | |
18928 | } | |
18929 | { | |
18930 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28))); | |
18931 | } | |
18932 | { | |
18933 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29))); | |
18934 | } | |
18935 | { | |
18936 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30))); | |
18937 | } | |
18938 | { | |
18939 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31))); | |
18940 | } | |
18941 | { | |
18942 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40))); | |
18943 | } | |
18944 | { | |
18945 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41))); | |
18946 | } | |
18947 | { | |
18948 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42))); | |
18949 | } | |
18950 | { | |
18951 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43))); | |
18952 | } | |
18953 | { | |
18954 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44))); | |
18955 | } | |
18956 | { | |
18957 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45))); | |
18958 | } | |
18959 | { | |
18960 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46))); | |
18961 | } | |
18962 | { | |
18963 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47))); | |
18964 | } | |
18965 | { | |
18966 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48))); | |
18967 | } | |
18968 | { | |
18969 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49))); | |
18970 | } | |
18971 | { | |
18972 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50))); | |
18973 | } | |
18974 | { | |
18975 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51))); | |
18976 | } | |
18977 | { | |
18978 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52))); | |
18979 | } | |
18980 | { | |
18981 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55))); | |
18982 | } | |
18983 | { | |
18984 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56))); | |
18985 | } | |
18986 | { | |
18987 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57))); | |
18988 | } | |
18989 | { | |
18990 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58))); | |
18991 | } | |
18992 | { | |
18993 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59))); | |
18994 | } | |
18995 | { | |
18996 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60))); | |
18997 | } | |
18998 | { | |
18999 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61))); | |
19000 | } | |
19001 | { | |
19002 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62))); | |
19003 | } | |
19004 | { | |
19005 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63))); | |
19006 | } | |
19007 | { | |
19008 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64))); | |
19009 | } | |
19010 | { | |
19011 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65))); | |
19012 | } | |
19013 | { | |
19014 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66))); | |
19015 | } | |
19016 | { | |
19017 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67))); | |
19018 | } | |
19019 | { | |
19020 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70))); | |
19021 | } | |
19022 | { | |
19023 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71))); | |
19024 | } | |
19025 | { | |
19026 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72))); | |
19027 | } | |
19028 | { | |
19029 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73))); | |
19030 | } | |
19031 | { | |
19032 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74))); | |
19033 | } | |
19034 | { | |
19035 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75))); | |
19036 | } | |
19037 | { | |
19038 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76))); | |
19039 | } | |
19040 | { | |
19041 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77))); | |
19042 | } | |
19043 | { | |
19044 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80))); | |
19045 | } | |
19046 | { | |
19047 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81))); | |
19048 | } | |
19049 | { | |
19050 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82))); | |
19051 | } | |
19052 | { | |
19053 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83))); | |
19054 | } | |
19055 | { | |
19056 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84))); | |
19057 | } | |
19058 | { | |
19059 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85))); | |
19060 | } | |
19061 | { | |
19062 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86))); | |
19063 | } | |
19064 | { | |
19065 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87))); | |
19066 | } | |
19067 | { | |
19068 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90))); | |
19069 | } | |
19070 | { | |
19071 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91))); | |
19072 | } | |
19073 | { | |
19074 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92))); | |
19075 | } | |
19076 | { | |
19077 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93))); | |
19078 | } | |
19079 | { | |
19080 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94))); | |
19081 | } | |
19082 | { | |
19083 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95))); | |
19084 | } | |
19085 | { | |
19086 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96))); | |
19087 | } | |
19088 | { | |
19089 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97))); | |
19090 | } | |
19091 | { | |
19092 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98))); | |
19093 | } | |
19094 | { | |
19095 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99))); | |
19096 | } | |
19097 | { | |
19098 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100))); | |
19099 | } | |
19100 | { | |
19101 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101))); | |
19102 | } | |
19103 | { | |
19104 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102))); | |
19105 | } | |
19106 | { | |
19107 | PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104))); | |
19108 | } | |
19109 | { | |
19110 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105))); | |
19111 | } | |
19112 | { | |
19113 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106))); | |
19114 | } | |
19115 | { | |
19116 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107))); | |
19117 | } | |
19118 | { | |
19119 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108))); | |
19120 | } | |
19121 | { | |
19122 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109))); | |
19123 | } | |
19124 | { | |
19125 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110))); | |
19126 | } | |
19127 | { | |
19128 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111))); | |
19129 | } | |
19130 | { | |
19131 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112))); | |
19132 | } | |
19133 | { | |
19134 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113))); | |
19135 | } | |
19136 | { | |
19137 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114))); | |
19138 | } | |
19139 | { | |
19140 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115))); | |
19141 | } | |
19142 | { | |
19143 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116))); | |
19144 | } | |
19145 | { | |
19146 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117))); | |
19147 | } | |
19148 | { | |
19149 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118))); | |
19150 | } | |
19151 | { | |
19152 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119))); | |
19153 | } | |
19154 | { | |
19155 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120))); | |
19156 | } | |
19157 | { | |
19158 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121))); | |
19159 | } | |
19160 | { | |
19161 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122))); | |
19162 | } | |
19163 | { | |
19164 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123))); | |
19165 | } | |
19166 | { | |
19167 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124))); | |
19168 | } | |
19169 | { | |
19170 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125))); | |
19171 | } | |
19172 | { | |
19173 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126))); | |
19174 | } | |
19175 | { | |
19176 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127))); | |
19177 | } | |
19178 | { | |
19179 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0))); | |
19180 | } | |
19181 | { | |
19182 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1))); | |
19183 | } | |
19184 | { | |
19185 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2))); | |
19186 | } | |
19187 | { | |
19188 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3))); | |
19189 | } | |
19190 | { | |
19191 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4))); | |
19192 | } | |
19193 | { | |
19194 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5))); | |
19195 | } | |
19196 | { | |
19197 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6))); | |
19198 | } | |
19199 | { | |
19200 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7))); | |
19201 | } | |
19202 | { | |
19203 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8))); | |
19204 | } | |
19205 | { | |
19206 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19207 | } | |
19208 | { | |
19209 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10))); | |
19210 | } | |
19211 | { | |
19212 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11))); | |
19213 | } | |
19214 | { | |
19215 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12))); | |
19216 | } | |
19217 | { | |
19218 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13))); | |
19219 | } | |
19220 | { | |
19221 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14))); | |
19222 | } | |
19223 | { | |
19224 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15))); | |
19225 | } | |
19226 | { | |
19227 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17))); | |
19228 | } | |
19229 | { | |
19230 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18))); | |
19231 | } | |
19232 | { | |
19233 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19))); | |
19234 | } | |
19235 | { | |
19236 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20))); | |
19237 | } | |
19238 | { | |
19239 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21))); | |
19240 | } | |
19241 | { | |
19242 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22))); | |
19243 | } | |
19244 | { | |
19245 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23))); | |
19246 | } | |
19247 | { | |
19248 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24))); | |
19249 | } | |
19250 | { | |
19251 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25))); | |
19252 | } | |
19253 | { | |
19254 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26))); | |
19255 | } | |
19256 | { | |
19257 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27))); | |
19258 | } | |
19259 | { | |
19260 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28))); | |
19261 | } | |
19262 | { | |
19263 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29))); | |
19264 | } | |
19265 | { | |
19266 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30))); | |
19267 | } | |
19268 | { | |
19269 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0))); | |
19270 | } | |
19271 | { | |
19272 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1))); | |
19273 | } | |
19274 | { | |
19275 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2))); | |
19276 | } | |
19277 | { | |
19278 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3))); | |
19279 | } | |
19280 | { | |
19281 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4))); | |
19282 | } | |
19283 | { | |
19284 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5))); | |
19285 | } | |
19286 | { | |
19287 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6))); | |
19288 | } | |
19289 | { | |
19290 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7))); | |
19291 | } | |
19292 | { | |
19293 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8))); | |
19294 | } | |
19295 | { | |
19296 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9))); | |
19297 | } | |
19298 | { | |
19299 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10))); | |
19300 | } | |
19301 | { | |
19302 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11))); | |
19303 | } | |
19304 | { | |
19305 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12))); | |
19306 | } | |
19307 | { | |
19308 | PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13))); | |
19309 | } | |
19310 | { | |
19311 | PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14))); | |
19312 | } | |
19313 | { | |
19314 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0))); | |
19315 | } | |
19316 | { | |
19317 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1))); | |
19318 | } | |
19319 | { | |
19320 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2))); | |
19321 | } | |
19322 | { | |
19323 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3))); | |
19324 | } | |
19325 | { | |
19326 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4))); | |
19327 | } | |
19328 | { | |
19329 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0))); | |
19330 | } | |
19331 | { | |
19332 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1))); | |
19333 | } | |
19334 | { | |
19335 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2))); | |
19336 | } | |
19337 | { | |
19338 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3))); | |
19339 | } | |
19340 | { | |
19341 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4))); | |
19342 | } | |
19343 | { | |
19344 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0))); | |
19345 | } | |
19346 | { | |
19347 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1))); | |
19348 | } | |
19349 | { | |
19350 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2))); | |
19351 | } | |
19352 | { | |
19353 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3))); | |
19354 | } | |
19355 | { | |
19356 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4))); | |
19357 | } | |
19358 | { | |
19359 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5))); | |
19360 | } | |
19361 | { | |
19362 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6))); | |
19363 | } | |
19364 | { | |
19365 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7))); | |
19366 | } | |
19367 | { | |
19368 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8))); | |
19369 | } | |
19370 | { | |
19371 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19372 | } | |
19373 | { | |
19374 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10))); | |
19375 | } | |
19376 | { | |
19377 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11))); | |
19378 | } | |
19379 | { | |
19380 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12))); | |
19381 | } | |
19382 | { | |
19383 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13))); | |
19384 | } | |
19385 | { | |
19386 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14))); | |
19387 | } | |
19388 | { | |
19389 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15))); | |
19390 | } | |
19391 | { | |
19392 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16))); | |
19393 | } | |
19394 | { | |
19395 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17))); | |
19396 | } | |
19397 | { | |
19398 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18))); | |
19399 | } | |
19400 | { | |
19401 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19))); | |
19402 | } | |
19403 | { | |
19404 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0))); | |
19405 | } | |
19406 | { | |
19407 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1))); | |
19408 | } | |
19409 | { | |
19410 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2))); | |
19411 | } | |
19412 | { | |
19413 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3))); | |
19414 | } | |
19415 | { | |
19416 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4))); | |
19417 | } | |
19418 | { | |
19419 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5))); | |
19420 | } | |
19421 | { | |
19422 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6))); | |
19423 | } | |
19424 | { | |
19425 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7))); | |
19426 | } | |
19427 | { | |
19428 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8))); | |
19429 | } | |
19430 | { | |
19431 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9))); | |
19432 | } | |
19433 | { | |
19434 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10))); | |
19435 | } | |
19436 | { | |
19437 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11))); | |
19438 | } | |
19439 | { | |
19440 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12))); | |
19441 | } | |
19442 | { | |
19443 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13))); | |
19444 | } | |
19445 | { | |
19446 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14))); | |
19447 | } | |
19448 | { | |
19449 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15))); | |
19450 | } | |
19451 | { | |
19452 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16))); | |
19453 | } | |
19454 | { | |
19455 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17))); | |
19456 | } | |
19457 | { | |
19458 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18))); | |
19459 | } | |
19460 | { | |
19461 | PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19))); | |
19462 | } | |
19463 | { | |
19464 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0))); | |
19465 | } | |
19466 | { | |
19467 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1))); | |
19468 | } | |
19469 | { | |
19470 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2))); | |
19471 | } | |
19472 | { | |
19473 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3))); | |
19474 | } | |
19475 | { | |
19476 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4))); | |
19477 | } | |
19478 | { | |
19479 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5))); | |
19480 | } | |
19481 | { | |
19482 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6))); | |
19483 | } | |
19484 | { | |
19485 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7))); | |
19486 | } | |
19487 | { | |
19488 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0))); | |
19489 | } | |
19490 | { | |
19491 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1))); | |
19492 | } | |
19493 | { | |
19494 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2))); | |
19495 | } | |
19496 | { | |
19497 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3))); | |
19498 | } | |
19499 | { | |
19500 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4))); | |
19501 | } | |
19502 | { | |
19503 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5))); | |
19504 | } | |
19505 | { | |
19506 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9))); | |
19507 | } | |
19508 | { | |
19509 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0))); | |
19510 | } | |
19511 | { | |
19512 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1))); | |
19513 | } | |
19514 | { | |
19515 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2))); | |
19516 | } | |
19517 | { | |
19518 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3))); | |
19519 | } | |
19520 | { | |
19521 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4))); | |
19522 | } | |
19523 | { | |
19524 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5))); | |
19525 | } | |
19526 | { | |
19527 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6))); | |
19528 | } | |
19529 | { | |
19530 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0))); | |
19531 | } | |
19532 | { | |
19533 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1))); | |
19534 | } | |
19535 | { | |
19536 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2))); | |
19537 | } | |
19538 | { | |
19539 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3))); | |
19540 | } | |
19541 | { | |
19542 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4))); | |
19543 | } | |
19544 | { | |
19545 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5))); | |
19546 | } | |
19547 | { | |
19548 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6))); | |
19549 | } | |
19550 | { | |
19551 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7))); | |
19552 | } | |
19553 | { | |
19554 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8))); | |
19555 | } | |
19556 | { | |
19557 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9))); | |
19558 | } | |
19559 | { | |
19560 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0))); | |
19561 | } | |
19562 | { | |
19563 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1))); | |
19564 | } | |
19565 | { | |
19566 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2))); | |
19567 | } | |
19568 | { | |
19569 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3))); | |
19570 | } | |
19571 | { | |
19572 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6))); | |
19573 | } | |
19574 | { | |
19575 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7))); | |
19576 | } | |
19577 | { | |
19578 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8))); | |
19579 | } | |
19580 | { | |
19581 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9))); | |
19582 | } | |
19583 | { | |
19584 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10))); | |
19585 | } | |
19586 | { | |
19587 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11))); | |
19588 | } | |
19589 | { | |
19590 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12))); | |
19591 | } | |
19592 | { | |
19593 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13))); | |
19594 | } | |
19595 | { | |
19596 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14))); | |
19597 | } | |
19598 | { | |
19599 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15))); | |
19600 | } | |
19601 | { | |
19602 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16))); | |
19603 | } | |
19604 | { | |
19605 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0))); | |
19606 | } | |
19607 | { | |
19608 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1))); | |
19609 | } | |
19610 | { | |
19611 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2))); | |
19612 | } | |
19613 | { | |
19614 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3))); | |
19615 | } | |
19616 | { | |
19617 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4))); | |
19618 | } | |
19619 | { | |
19620 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5))); | |
19621 | } | |
19622 | { | |
19623 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6))); | |
19624 | } | |
19625 | { | |
19626 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7))); | |
19627 | } | |
19628 | { | |
19629 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8))); | |
19630 | } | |
19631 | { | |
19632 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9))); | |
19633 | } | |
19634 | { | |
19635 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10))); | |
19636 | } | |
19637 | { | |
19638 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11))); | |
19639 | } | |
19640 | { | |
19641 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0))); | |
19642 | } | |
19643 | { | |
19644 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1))); | |
19645 | } | |
19646 | { | |
19647 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2))); | |
19648 | } | |
19649 | { | |
19650 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3))); | |
19651 | } | |
19652 | { | |
19653 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4))); | |
19654 | } | |
19655 | { | |
19656 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5))); | |
19657 | } | |
19658 | { | |
19659 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6))); | |
19660 | } | |
19661 | { | |
19662 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7))); | |
19663 | } | |
19664 | { | |
19665 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8))); | |
19666 | } | |
19667 | { | |
19668 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9))); | |
19669 | } | |
19670 | { | |
19671 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10))); | |
19672 | } | |
19673 | { | |
19674 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0))); | |
19675 | } | |
19676 | { | |
19677 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1))); | |
19678 | } | |
19679 | { | |
19680 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2))); | |
19681 | } | |
19682 | { | |
19683 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3))); | |
19684 | } | |
19685 | { | |
19686 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6))); | |
19687 | } | |
19688 | { | |
19689 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8))); | |
19690 | } | |
19691 | { | |
19692 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9))); | |
19693 | } | |
19694 | { | |
19695 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10))); | |
19696 | } | |
19697 | { | |
19698 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0))); | |
19699 | } | |
19700 | { | |
19701 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1))); | |
19702 | } | |
19703 | { | |
19704 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2))); | |
19705 | } | |
19706 | { | |
19707 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3))); | |
19708 | } | |
19709 | { | |
19710 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4))); | |
19711 | } | |
19712 | { | |
19713 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5))); | |
19714 | } | |
19715 | { | |
19716 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6))); | |
19717 | } | |
19718 | { | |
19719 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7))); | |
19720 | } | |
19721 | { | |
19722 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8))); | |
19723 | } | |
19724 | { | |
19725 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0))); | |
19726 | } | |
19727 | { | |
19728 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1))); | |
19729 | } | |
19730 | { | |
19731 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2))); | |
19732 | } | |
19733 | { | |
19734 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3))); | |
19735 | } | |
19736 | { | |
19737 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4))); | |
19738 | } | |
19739 | { | |
19740 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5))); | |
19741 | } | |
19742 | { | |
19743 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6))); | |
19744 | } | |
19745 | { | |
19746 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7))); | |
19747 | } | |
19748 | { | |
19749 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8))); | |
19750 | } | |
19751 | { | |
19752 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9))); | |
19753 | } | |
19754 | { | |
19755 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10))); | |
19756 | } | |
19757 | { | |
19758 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0))); | |
19759 | } | |
19760 | { | |
19761 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1))); | |
19762 | } | |
19763 | { | |
19764 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2))); | |
19765 | } | |
19766 | { | |
19767 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3))); | |
19768 | } | |
19769 | { | |
19770 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4))); | |
19771 | } | |
19772 | { | |
19773 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5))); | |
19774 | } | |
19775 | { | |
19776 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6))); | |
19777 | } | |
19778 | { | |
19779 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7))); | |
19780 | } | |
19781 | { | |
19782 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8))); | |
19783 | } | |
19784 | { | |
19785 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9))); | |
19786 | } | |
19787 | { | |
19788 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10))); | |
19789 | } | |
19790 | { | |
19791 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11))); | |
19792 | } | |
19793 | { | |
19794 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0))); | |
19795 | } | |
19796 | { | |
19797 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1))); | |
19798 | } | |
19799 | { | |
19800 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2))); | |
19801 | } | |
19802 | { | |
19803 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3))); | |
19804 | } | |
19805 | { | |
19806 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4))); | |
19807 | } | |
19808 | { | |
19809 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5))); | |
19810 | } | |
19811 | { | |
19812 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6))); | |
19813 | } | |
19814 | { | |
19815 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7))); | |
19816 | } | |
19817 | { | |
19818 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8))); | |
19819 | } | |
19820 | { | |
19821 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0))); | |
19822 | } | |
19823 | { | |
19824 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1))); | |
19825 | } | |
19826 | { | |
19827 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2))); | |
19828 | } | |
19829 | { | |
19830 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3))); | |
19831 | } | |
19832 | { | |
19833 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4))); | |
19834 | } | |
19835 | { | |
19836 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5))); | |
19837 | } | |
19838 | { | |
19839 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6))); | |
19840 | } | |
19841 | { | |
19842 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7))); | |
19843 | } | |
19844 | { | |
19845 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8))); | |
19846 | } | |
19847 | { | |
19848 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9))); | |
19849 | } | |
19850 | { | |
19851 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10))); | |
19852 | } | |
19853 | { | |
19854 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11))); | |
19855 | } | |
19856 | { | |
19857 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12))); | |
19858 | } | |
19859 | { | |
19860 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13))); | |
19861 | } | |
19862 | { | |
19863 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14))); | |
19864 | } | |
19865 | { | |
19866 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15))); | |
19867 | } | |
19868 | { | |
19869 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0))); | |
19870 | } | |
19871 | { | |
19872 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1))); | |
19873 | } | |
19874 | { | |
19875 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2))); | |
19876 | } | |
19877 | { | |
19878 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3))); | |
19879 | } | |
19880 | { | |
19881 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4))); | |
19882 | } | |
19883 | { | |
19884 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5))); | |
19885 | } | |
19886 | { | |
19887 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6))); | |
19888 | } | |
19889 | { | |
19890 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7))); | |
19891 | } | |
19892 | { | |
19893 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8))); | |
19894 | } | |
19895 | { | |
19896 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9))); | |
19897 | } | |
19898 | { | |
19899 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10))); | |
19900 | } | |
19901 | { | |
19902 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11))); | |
19903 | } | |
19904 | { | |
19905 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12))); | |
19906 | } | |
19907 | { | |
19908 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13))); | |
19909 | } | |
19910 | { | |
19911 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14))); | |
19912 | } | |
19913 | { | |
19914 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0))); | |
19915 | } | |
19916 | { | |
19917 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1))); | |
19918 | } | |
19919 | { | |
19920 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2))); | |
19921 | } | |
19922 | { | |
19923 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3))); | |
19924 | } | |
19925 | { | |
19926 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4))); | |
19927 | } | |
19928 | { | |
19929 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5))); | |
19930 | } | |
19931 | { | |
19932 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6))); | |
19933 | } | |
19934 | { | |
19935 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7))); | |
19936 | } | |
19937 | { | |
19938 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8))); | |
19939 | } | |
19940 | { | |
19941 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9))); | |
19942 | } | |
19943 | { | |
19944 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10))); | |
19945 | } | |
19946 | { | |
19947 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11))); | |
19948 | } | |
19949 | { | |
19950 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12))); | |
19951 | } | |
19952 | { | |
19953 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13))); | |
19954 | } | |
19955 | { | |
19956 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14))); | |
19957 | } | |
19958 | { | |
19959 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0))); | |
19960 | } | |
19961 | { | |
19962 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1))); | |
19963 | } | |
19964 | { | |
19965 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2))); | |
19966 | } | |
19967 | { | |
19968 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3))); | |
19969 | } | |
19970 | { | |
19971 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4))); | |
19972 | } | |
19973 | { | |
19974 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5))); | |
19975 | } | |
19976 | { | |
19977 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6))); | |
19978 | } | |
19979 | { | |
19980 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7))); | |
19981 | } | |
19982 | { | |
19983 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8))); | |
19984 | } | |
19985 | { | |
19986 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9))); | |
19987 | } | |
19988 | { | |
19989 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10))); | |
19990 | } | |
19991 | { | |
19992 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11))); | |
19993 | } | |
19994 | { | |
19995 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12))); | |
19996 | } | |
19997 | { | |
19998 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13))); | |
19999 | } | |
20000 | { | |
20001 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14))); | |
20002 | } | |
20003 | { | |
20004 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0))); | |
20005 | } | |
20006 | { | |
20007 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1))); | |
20008 | } | |
20009 | { | |
20010 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2))); | |
20011 | } | |
20012 | { | |
20013 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3))); | |
20014 | } | |
20015 | { | |
20016 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4))); | |
20017 | } | |
20018 | { | |
20019 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5))); | |
20020 | } | |
20021 | { | |
20022 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6))); | |
20023 | } | |
20024 | { | |
20025 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7))); | |
20026 | } | |
20027 | { | |
20028 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8))); | |
20029 | } | |
20030 | { | |
20031 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9))); | |
20032 | } | |
20033 | { | |
20034 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10))); | |
20035 | } | |
20036 | { | |
20037 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11))); | |
20038 | } | |
20039 | { | |
20040 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12))); | |
20041 | } | |
20042 | { | |
20043 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13))); | |
20044 | } | |
20045 | { | |
20046 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14))); | |
20047 | } | |
20048 | { | |
20049 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15))); | |
20050 | } | |
20051 | { | |
20052 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16))); | |
20053 | } | |
20054 | { | |
20055 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0))); | |
20056 | } | |
20057 | { | |
20058 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1))); | |
20059 | } | |
20060 | { | |
20061 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2))); | |
20062 | } | |
20063 | { | |
20064 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3))); | |
20065 | } | |
20066 | { | |
20067 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4))); | |
20068 | } | |
20069 | { | |
20070 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5))); | |
20071 | } | |
20072 | { | |
20073 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6))); | |
20074 | } | |
20075 | { | |
20076 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7))); | |
20077 | } | |
20078 | { | |
20079 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8))); | |
20080 | } | |
20081 | { | |
20082 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9))); | |
20083 | } | |
20084 | { | |
20085 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10))); | |
20086 | } | |
20087 | { | |
20088 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0))); | |
20089 | } | |
20090 | { | |
20091 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1))); | |
20092 | } | |
20093 | { | |
20094 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2))); | |
20095 | } | |
20096 | { | |
20097 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3))); | |
20098 | } | |
20099 | { | |
20100 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4))); | |
20101 | } | |
20102 | { | |
20103 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5))); | |
20104 | } | |
20105 | { | |
20106 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6))); | |
20107 | } | |
20108 | { | |
20109 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7))); | |
20110 | } | |
20111 | { | |
20112 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8))); | |
20113 | } | |
20114 | { | |
20115 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9))); | |
20116 | } | |
20117 | { | |
20118 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10))); | |
20119 | } | |
20120 | { | |
20121 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11))); | |
20122 | } | |
20123 | { | |
20124 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0))); | |
20125 | } | |
20126 | { | |
20127 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1))); | |
20128 | } | |
20129 | { | |
20130 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2))); | |
20131 | } | |
20132 | { | |
20133 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3))); | |
20134 | } | |
20135 | { | |
20136 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4))); | |
20137 | } | |
20138 | { | |
20139 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5))); | |
20140 | } | |
20141 | { | |
20142 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6))); | |
20143 | } | |
20144 | { | |
20145 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7))); | |
20146 | } | |
20147 | { | |
20148 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8))); | |
20149 | } | |
20150 | { | |
20151 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9))); | |
20152 | } | |
20153 | { | |
20154 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10))); | |
20155 | } | |
20156 | { | |
20157 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11))); | |
20158 | } | |
20159 | { | |
20160 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12))); | |
20161 | } | |
20162 | { | |
20163 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13))); | |
20164 | } | |
20165 | { | |
20166 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14))); | |
20167 | } | |
20168 | { | |
20169 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15))); | |
20170 | } | |
20171 | { | |
20172 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0))); | |
20173 | } | |
20174 | { | |
20175 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1))); | |
20176 | } | |
20177 | { | |
20178 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2))); | |
20179 | } | |
20180 | { | |
20181 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3))); | |
20182 | } | |
20183 | { | |
20184 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4))); | |
20185 | } | |
20186 | { | |
20187 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5))); | |
20188 | } | |
20189 | { | |
20190 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6))); | |
20191 | } | |
20192 | { | |
20193 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7))); | |
20194 | } | |
20195 | { | |
20196 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8))); | |
20197 | } | |
20198 | { | |
20199 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9))); | |
20200 | } | |
20201 | { | |
20202 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10))); | |
20203 | } | |
20204 | { | |
20205 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11))); | |
20206 | } | |
20207 | { | |
20208 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12))); | |
20209 | } | |
20210 | { | |
20211 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13))); | |
20212 | } | |
20213 | { | |
20214 | PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14))); | |
20215 | } | |
20216 | { | |
20217 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0))); | |
20218 | } | |
20219 | { | |
20220 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1))); | |
20221 | } | |
20222 | { | |
20223 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2))); | |
20224 | } | |
20225 | { | |
20226 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3))); | |
20227 | } | |
20228 | { | |
20229 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4))); | |
20230 | } | |
20231 | { | |
20232 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5))); | |
20233 | } | |
20234 | { | |
20235 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6))); | |
20236 | } | |
20237 | { | |
20238 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7))); | |
20239 | } | |
20240 | { | |
20241 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8))); | |
20242 | } | |
20243 | { | |
20244 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9))); | |
20245 | } | |
20246 | { | |
20247 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10))); | |
20248 | } | |
20249 | { | |
20250 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11))); | |
20251 | } | |
20252 | { | |
20253 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12))); | |
20254 | } | |
20255 | { | |
20256 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13))); | |
20257 | } | |
20258 | { | |
20259 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14))); | |
20260 | } | |
20261 | { | |
20262 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15))); | |
20263 | } | |
20264 | { | |
20265 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16))); | |
20266 | } | |
20267 | { | |
20268 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17))); | |
20269 | } | |
20270 | { | |
20271 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0))); | |
20272 | } | |
20273 | { | |
20274 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1))); | |
20275 | } | |
20276 | { | |
20277 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2))); | |
20278 | } | |
20279 | { | |
20280 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3))); | |
20281 | } | |
20282 | { | |
20283 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4))); | |
20284 | } | |
20285 | { | |
20286 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5))); | |
20287 | } | |
20288 | { | |
20289 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6))); | |
20290 | } | |
20291 | { | |
20292 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7))); | |
20293 | } | |
20294 | { | |
20295 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8))); | |
20296 | } | |
20297 | { | |
20298 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9))); | |
20299 | } | |
20300 | { | |
20301 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10))); | |
20302 | } | |
20303 | { | |
20304 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11))); | |
20305 | } | |
20306 | { | |
20307 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12))); | |
20308 | } | |
20309 | { | |
20310 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13))); | |
20311 | } | |
20312 | { | |
20313 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14))); | |
20314 | } | |
20315 | { | |
20316 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0))); | |
20317 | } | |
20318 | { | |
20319 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1))); | |
20320 | } | |
20321 | { | |
20322 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2))); | |
20323 | } | |
20324 | { | |
20325 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3))); | |
20326 | } | |
20327 | { | |
20328 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4))); | |
20329 | } | |
20330 | { | |
20331 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5))); | |
20332 | } | |
20333 | { | |
20334 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6))); | |
20335 | } | |
20336 | { | |
20337 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0))); | |
20338 | } | |
20339 | { | |
20340 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1))); | |
20341 | } | |
20342 | { | |
20343 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2))); | |
20344 | } | |
20345 | { | |
20346 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3))); | |
20347 | } | |
20348 | { | |
20349 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4))); | |
20350 | } | |
20351 | { | |
20352 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5))); | |
20353 | } | |
20354 | { | |
20355 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6))); | |
20356 | } | |
20357 | { | |
20358 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7))); | |
20359 | } | |
20360 | { | |
20361 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8))); | |
20362 | } | |
20363 | { | |
20364 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0))); | |
20365 | } | |
20366 | { | |
20367 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1))); | |
20368 | } | |
20369 | { | |
20370 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2))); | |
20371 | } | |
20372 | { | |
20373 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3))); | |
20374 | } | |
20375 | { | |
20376 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4))); | |
20377 | } | |
20378 | { | |
20379 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5))); | |
20380 | } | |
20381 | { | |
20382 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0))); | |
20383 | } | |
20384 | { | |
20385 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1))); | |
20386 | } | |
20387 | { | |
20388 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2))); | |
20389 | } | |
20390 | { | |
20391 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3))); | |
20392 | } | |
20393 | { | |
20394 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4))); | |
20395 | } | |
20396 | { | |
20397 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5))); | |
20398 | } | |
20399 | { | |
20400 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6))); | |
20401 | } | |
20402 | { | |
20403 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0))); | |
20404 | } | |
20405 | { | |
20406 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1))); | |
20407 | } | |
20408 | { | |
20409 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2))); | |
20410 | } | |
20411 | { | |
20412 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3))); | |
20413 | } | |
20414 | { | |
20415 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4))); | |
20416 | } | |
20417 | { | |
20418 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5))); | |
20419 | } | |
20420 | { | |
20421 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6))); | |
20422 | } | |
20423 | { | |
20424 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7))); | |
20425 | } | |
20426 | { | |
20427 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8))); | |
20428 | } | |
20429 | { | |
20430 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9))); | |
20431 | } | |
20432 | { | |
20433 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10))); | |
20434 | } | |
20435 | { | |
20436 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11))); | |
20437 | } | |
20438 | { | |
20439 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12))); | |
20440 | } | |
20441 | { | |
20442 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13))); | |
20443 | } | |
20444 | { | |
20445 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31))); | |
20446 | } | |
20447 | { | |
20448 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0))); | |
20449 | } | |
20450 | { | |
20451 | PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1))); | |
20452 | } | |
20453 | { | |
20454 | PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2))); | |
20455 | } | |
20456 | { | |
20457 | PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3))); | |
20458 | } | |
20459 | { | |
20460 | PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4))); | |
20461 | } | |
20462 | { | |
20463 | PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5))); | |
20464 | } | |
20465 | { | |
20466 | PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6))); | |
20467 | } | |
20468 | { | |
20469 | PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7))); | |
20470 | } | |
20471 | { | |
20472 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8))); | |
20473 | } | |
20474 | { | |
20475 | PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9))); | |
20476 | } | |
20477 | { | |
20478 | PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10))); | |
20479 | } | |
20480 | { | |
20481 | PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11))); | |
20482 | } | |
20483 | { | |
20484 | PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12))); | |
20485 | } | |
20486 | { | |
20487 | PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13))); | |
20488 | } | |
20489 | { | |
20490 | PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14))); | |
20491 | } | |
20492 | { | |
20493 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15))); | |
20494 | } | |
20495 | { | |
20496 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16))); | |
20497 | } | |
20498 | { | |
20499 | PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0))); | |
20500 | } | |
20501 | { | |
20502 | PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1))); | |
20503 | } | |
20504 | { | |
20505 | PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2))); | |
20506 | } | |
20507 | { | |
20508 | PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20509 | } | |
20510 | { | |
20511 | PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4))); | |
20512 | } | |
20513 | { | |
20514 | PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5))); | |
20515 | } | |
20516 | { | |
20517 | PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6))); | |
20518 | } | |
20519 | { | |
20520 | PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7))); | |
20521 | } | |
20522 | { | |
20523 | PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8))); | |
20524 | } | |
20525 | { | |
20526 | PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9))); | |
20527 | } | |
20528 | { | |
20529 | PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10))); | |
20530 | } | |
20531 | { | |
20532 | PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11))); | |
20533 | } | |
20534 | { | |
20535 | PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12))); | |
20536 | } | |
20537 | { | |
20538 | PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19))); | |
20539 | } | |
20540 | { | |
20541 | PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0))); | |
20542 | } | |
20543 | { | |
20544 | PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1))); | |
20545 | } | |
20546 | { | |
20547 | PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2))); | |
20548 | } | |
20549 | { | |
20550 | PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3))); | |
20551 | } | |
20552 | { | |
20553 | PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4))); | |
20554 | } | |
20555 | { | |
20556 | PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5))); | |
20557 | } | |
20558 | { | |
20559 | PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6))); | |
20560 | } | |
20561 | { | |
20562 | PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7))); | |
20563 | } | |
20564 | { | |
20565 | PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8))); | |
20566 | } | |
20567 | { | |
20568 | PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9))); | |
20569 | } | |
20570 | { | |
20571 | PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31))); | |
20572 | } | |
20573 | { | |
20574 | PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0))); | |
20575 | } | |
20576 | { | |
20577 | PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1))); | |
20578 | } | |
20579 | { | |
20580 | PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20581 | } | |
20582 | { | |
20583 | PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3))); | |
20584 | } | |
20585 | { | |
20586 | PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4))); | |
20587 | } | |
20588 | { | |
20589 | PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5))); | |
20590 | } | |
20591 | { | |
20592 | PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6))); | |
20593 | } | |
20594 | { | |
20595 | PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7))); | |
20596 | } | |
20597 | { | |
20598 | PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8))); | |
20599 | } | |
20600 | { | |
20601 | PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9))); | |
20602 | } | |
20603 | { | |
20604 | PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0))); | |
20605 | } | |
20606 | { | |
20607 | PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1))); | |
20608 | } | |
20609 | { | |
20610 | PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2))); | |
20611 | } | |
20612 | { | |
20613 | PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20614 | } | |
20615 | { | |
20616 | PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4))); | |
20617 | } | |
20618 | { | |
20619 | PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5))); | |
20620 | } | |
20621 | { | |
20622 | PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6))); | |
20623 | } | |
20624 | { | |
20625 | PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7))); | |
20626 | } | |
20627 | { | |
20628 | PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8))); | |
20629 | } | |
20630 | { | |
20631 | PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9))); | |
20632 | } | |
20633 | { | |
20634 | PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10))); | |
20635 | } | |
20636 | { | |
20637 | PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11))); | |
20638 | } | |
20639 | { | |
20640 | PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12))); | |
20641 | } | |
20642 | { | |
20643 | PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13))); | |
20644 | } | |
20645 | { | |
20646 | PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14))); | |
20647 | } | |
20648 | { | |
20649 | PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19))); | |
20650 | } | |
20651 | { | |
20652 | PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0))); | |
20653 | } | |
20654 | { | |
20655 | PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1))); | |
20656 | } | |
20657 | { | |
20658 | PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20659 | } | |
20660 | { | |
20661 | PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3))); | |
20662 | } | |
20663 | { | |
20664 | PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4))); | |
20665 | } | |
20666 | { | |
20667 | PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5))); | |
20668 | } | |
20669 | { | |
20670 | PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6))); | |
20671 | } | |
20672 | { | |
20673 | PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7))); | |
20674 | } | |
20675 | { | |
20676 | PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8))); | |
20677 | } | |
20678 | { | |
20679 | PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9))); | |
20680 | } | |
20681 | { | |
20682 | PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10))); | |
20683 | } | |
20684 | { | |
20685 | PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11))); | |
20686 | } | |
20687 | { | |
20688 | PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0))); | |
20689 | } | |
20690 | { | |
20691 | PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1))); | |
20692 | } | |
20693 | { | |
20694 | PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20695 | } | |
20696 | { | |
20697 | PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3))); | |
20698 | } | |
20699 | { | |
20700 | PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4))); | |
20701 | } | |
20702 | { | |
20703 | PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(5))); | |
20704 | } | |
20705 | { | |
20706 | PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(6))); | |
20707 | } | |
20708 | { | |
20709 | PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7))); | |
20710 | } | |
20711 | { | |
20712 | PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(8))); | |
20713 | } | |
20714 | { | |
20715 | PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0))); | |
20716 | } | |
20717 | { | |
20718 | PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1))); | |
20719 | } | |
20720 | { | |
20721 | PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2))); | |
20722 | } | |
20723 | { | |
20724 | PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3))); | |
20725 | } | |
20726 | { | |
20727 | PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4))); | |
20728 | } | |
20729 | { | |
20730 | PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5))); | |
20731 | } | |
20732 | { | |
20733 | PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6))); | |
20734 | } | |
20735 | { | |
20736 | PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7))); | |
20737 | } | |
20738 | { | |
20739 | PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8))); | |
20740 | } | |
20741 | { | |
20742 | PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9))); | |
20743 | } | |
20744 | { | |
20745 | PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10))); | |
20746 | } | |
20747 | { | |
20748 | PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11))); | |
20749 | } | |
20750 | { | |
20751 | PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12))); | |
20752 | } | |
20753 | { | |
20754 | PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13))); | |
20755 | } | |
20756 | { | |
20757 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011))); | |
20758 | } | |
20759 | { | |
20760 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013))); | |
20761 | } | |
20762 | { | |
20763 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176))); | |
20764 | } | |
20765 | { | |
20766 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177))); | |
20767 | } | |
20768 | { | |
20769 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178))); | |
20770 | } | |
20771 | { | |
20772 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179))); | |
20773 | } | |
20774 | { | |
20775 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180))); | |
20776 | } | |
20777 | { | |
20778 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300))); | |
20779 | } | |
20780 | { | |
20781 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301))); | |
20782 | } | |
20783 | { | |
20784 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302))); | |
20785 | } | |
20786 | { | |
20787 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303))); | |
20788 | } | |
20789 | { | |
20790 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304))); | |
20791 | } | |
20792 | { | |
20793 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305))); | |
20794 | } | |
20795 | { | |
20796 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306))); | |
20797 | } | |
20798 | { | |
20799 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307))); | |
20800 | } | |
20801 | { | |
20802 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308))); | |
20803 | } | |
20804 | { | |
20805 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309))); | |
20806 | } | |
20807 | { | |
20808 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310))); | |
20809 | } | |
20810 | { | |
20811 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311))); | |
20812 | } | |
20813 | { | |
20814 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312))); | |
20815 | } | |
20816 | { | |
20817 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313))); | |
20818 | } | |
20819 | { | |
20820 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314))); | |
20821 | } | |
20822 | { | |
20823 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315))); | |
20824 | } | |
20825 | { | |
20826 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316))); | |
20827 | } | |
20828 | { | |
20829 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317))); | |
20830 | } | |
20831 | { | |
20832 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318))); | |
20833 | } | |
20834 | { | |
20835 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319))); | |
20836 | } | |
20837 | { | |
20838 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320))); | |
20839 | } | |
20840 | { | |
20841 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321))); | |
20842 | } | |
20843 | { | |
20844 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322))); | |
20845 | } | |
20846 | { | |
20847 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323))); | |
20848 | } | |
20849 | { | |
20850 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324))); | |
20851 | } | |
20852 | { | |
20853 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325))); | |
20854 | } | |
20855 | { | |
20856 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326))); | |
20857 | } | |
20858 | { | |
20859 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327))); | |
20860 | } | |
20861 | { | |
20862 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328))); | |
20863 | } | |
20864 | { | |
20865 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329))); | |
20866 | } | |
20867 | { | |
20868 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330))); | |
20869 | } | |
20870 | { | |
20871 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331))); | |
20872 | } | |
20873 | { | |
20874 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332))); | |
20875 | } | |
20876 | { | |
20877 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333))); | |
20878 | } | |
20879 | { | |
20880 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334))); | |
20881 | } | |
20882 | { | |
20883 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335))); | |
20884 | } | |
20885 | { | |
20886 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336))); | |
20887 | } | |
20888 | { | |
20889 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337))); | |
20890 | } | |
20891 | { | |
20892 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338))); | |
20893 | } | |
20894 | { | |
20895 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339))); | |
20896 | } | |
20897 | { | |
20898 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404))); | |
20899 | } | |
20900 | { | |
20901 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340))); | |
20902 | } | |
20903 | { | |
20904 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341))); | |
20905 | } | |
20906 | { | |
20907 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342))); | |
20908 | } | |
20909 | { | |
20910 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343))); | |
20911 | } | |
20912 | { | |
20913 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344))); | |
20914 | } | |
20915 | { | |
20916 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345))); | |
20917 | } | |
20918 | { | |
20919 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346))); | |
20920 | } | |
20921 | { | |
20922 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347))); | |
20923 | } | |
20924 | { | |
20925 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348))); | |
20926 | } | |
20927 | { | |
20928 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349))); | |
20929 | } | |
20930 | { | |
20931 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450))); | |
20932 | } | |
20933 | { | |
20934 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451))); | |
20935 | } | |
20936 | { | |
20937 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452))); | |
20938 | } | |
20939 | { | |
20940 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453))); | |
20941 | } | |
20942 | { | |
20943 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454))); | |
20944 | } | |
20945 | { | |
20946 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455))); | |
20947 | } | |
20948 | { | |
20949 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390))); | |
20950 | } | |
20951 | { | |
20952 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391))); | |
20953 | } | |
20954 | { | |
20955 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392))); | |
20956 | } | |
20957 | { | |
20958 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393))); | |
20959 | } | |
20960 | { | |
20961 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395))); | |
20962 | } | |
20963 | { | |
20964 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396))); | |
20965 | } | |
20966 | { | |
20967 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413))); | |
20968 | } | |
20969 | { | |
20970 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414))); | |
20971 | } | |
20972 | { | |
20973 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415))); | |
20974 | } | |
20975 | { | |
20976 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416))); | |
20977 | } | |
20978 | { | |
20979 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426))); | |
20980 | } | |
20981 | { | |
20982 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427))); | |
20983 | } | |
20984 | { | |
20985 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428))); | |
20986 | } | |
20987 | { | |
20988 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429))); | |
20989 | } | |
20990 | { | |
20991 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430))); | |
20992 | } | |
20993 | { | |
20994 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431))); | |
20995 | } | |
20996 | { | |
20997 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432))); | |
20998 | } | |
20999 | { | |
21000 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433))); | |
21001 | } | |
21002 | { | |
21003 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434))); | |
21004 | } | |
21005 | { | |
21006 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435))); | |
21007 | } | |
21008 | { | |
21009 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436))); | |
21010 | } | |
21011 | { | |
21012 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437))); | |
21013 | } | |
21014 | { | |
21015 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438))); | |
21016 | } | |
21017 | { | |
21018 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439))); | |
21019 | } | |
21020 | { | |
21021 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440))); | |
21022 | } | |
21023 | { | |
21024 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441))); | |
21025 | } | |
21026 | { | |
21027 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442))); | |
21028 | } | |
21029 | { | |
21030 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE))); | |
21031 | } | |
21032 | { | |
21033 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED))); | |
21034 | } | |
21035 | { | |
21036 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED))); | |
21037 | } | |
21038 | { | |
21039 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED))); | |
21040 | } | |
21041 | { | |
21042 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT))); | |
21043 | } | |
21044 | { | |
21045 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT))); | |
21046 | } | |
21047 | { | |
21048 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY))); | |
21049 | } | |
21050 | { | |
21051 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK))); | |
21052 | } | |
21053 | { | |
21054 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI))); | |
21055 | } | |
21056 | { | |
21057 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED))); | |
21058 | } | |
21059 | { | |
21060 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD))); | |
21061 | } | |
21062 | { | |
21063 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK))); | |
21064 | } | |
21065 | { | |
21066 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN))); | |
21067 | } | |
21068 | { | |
21069 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED))); | |
21070 | } | |
21071 | { | |
21072 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION))); | |
21073 | } | |
21074 | { | |
21075 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED))); | |
21076 | } | |
21077 | { | |
21078 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART))); | |
21079 | } | |
21080 | { | |
21081 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND))); | |
21082 | } | |
21083 | { | |
21084 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG))); | |
21085 | } | |
21086 | { | |
21087 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER))); | |
21088 | } | |
21089 | { | |
21090 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP))); | |
21091 | } | |
21092 | { | |
21093 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM))); | |
21094 | } | |
21095 | { | |
21096 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK))); | |
21097 | } | |
21098 | { | |
21099 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK))); | |
21100 | } | |
21101 | { | |
21102 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK))); | |
21103 | } | |
cfe5e918 RD |
21104 | |
21105 | ||
21106 | } | |
21107 |