]>
Commit | Line | Data |
---|---|---|
cfe5e918 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
093d3ff1 | 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); | |
093d3ff1 | 26 | }; |
cfe5e918 RD |
27 | #endif |
28 | ||
29 | ||
093d3ff1 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 | |
093d3ff1 | 39 | #include <Python.h> |
cfe5e918 RD |
40 | |
41 | /*********************************************************************** | |
093d3ff1 | 42 | * swigrun.swg |
cfe5e918 | 43 | * |
093d3ff1 RD |
44 | * This file contains generic CAPI SWIG runtime support for pointer |
45 | * type checking. | |
cfe5e918 RD |
46 | * |
47 | ************************************************************************/ | |
48 | ||
093d3ff1 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 | |
093d3ff1 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 |
093d3ff1 | 59 | #define SWIG_TYPE_TABLE_NAME |
cfe5e918 RD |
60 | #endif |
61 | ||
093d3ff1 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 |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | /*********************************************************************** | |
093d3ff1 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 | * |
093d3ff1 | 442 | * Author : David Beazley (beazley@cs.uchicago.edu) |
cfe5e918 | 443 | * |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 | 466 | /*************************************************************************/ |
cfe5e918 | 467 | |
cfe5e918 | 468 | |
093d3ff1 | 469 | /* The static type info list */ |
cfe5e918 | 470 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | ||
093d3ff1 RD |
507 | /* ----------------------------------------------------------------------------- |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 510 | |
093d3ff1 RD |
511 | #ifdef __cplusplus |
512 | extern "C" { | |
513 | #endif | |
c32bde28 | 514 | |
093d3ff1 RD |
515 | /* ----------------------------------------------------------------------------- |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 518 | |
093d3ff1 RD |
519 | #ifndef SWIGINTERN |
520 | #define SWIGINTERN static | |
521 | #endif | |
cfe5e918 | 522 | |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 RD |
578 | } |
579 | #endif | |
cfe5e918 | 580 | |
cfe5e918 | 581 | |
093d3ff1 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 | |
093d3ff1 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 | |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 RD |
615 | /* Flags for pointer conversion */ |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
cfe5e918 | 618 | |
cfe5e918 | 619 | |
093d3ff1 RD |
620 | #ifdef __cplusplus |
621 | extern "C" { | |
622 | #endif | |
cfe5e918 | 623 | |
093d3ff1 RD |
624 | /* ----------------------------------------------------------------------------- |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 627 | |
093d3ff1 RD |
628 | #ifndef SWIG_BUFFER_SIZE |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
cfe5e918 | 631 | |
093d3ff1 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 | |
093d3ff1 RD |
638 | typedef struct { |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
cfe5e918 | 643 | |
093d3ff1 | 644 | /* Declarations for objects of type PySwigObject */ |
cfe5e918 | 645 | |
093d3ff1 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 { |
093d3ff1 | 654 | return 1; |
c32bde28 | 655 | } |
cfe5e918 | 656 | } |
093d3ff1 RD |
657 | |
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
c32bde28 | 660 | { |
093d3ff1 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 | |
093d3ff1 RD |
666 | SWIGRUNTIME PyObject * |
667 | PySwigObject_str(PySwigObject *v) | |
cfe5e918 | 668 | { |
093d3ff1 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 | ||
093d3ff1 RD |
674 | SWIGRUNTIME PyObject * |
675 | PySwigObject_long(PySwigObject *v) | |
cfe5e918 | 676 | { |
093d3ff1 | 677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); |
cfe5e918 RD |
678 | } |
679 | ||
093d3ff1 RD |
680 | SWIGRUNTIME PyObject * |
681 | PySwigObject_oct(PySwigObject *v) | |
c32bde28 | 682 | { |
093d3ff1 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 | |
093d3ff1 RD |
692 | SWIGRUNTIME PyObject * |
693 | PySwigObject_hex(PySwigObject *v) | |
cfe5e918 | 694 | { |
093d3ff1 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 | ||
093d3ff1 RD |
700 | SWIGRUNTIME int |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
cfe5e918 | 702 | { |
093d3ff1 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 | } |
093d3ff1 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 | } |
093d3ff1 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 | } |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 RD |
880 | SWIGRUNTIME int |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
c32bde28 | 882 | { |
093d3ff1 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 | ||
093d3ff1 RD |
894 | SWIGRUNTIME void |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
c32bde28 | 896 | { |
093d3ff1 RD |
897 | free(self->pack); |
898 | PyObject_DEL(self); | |
cfe5e918 RD |
899 | } |
900 | ||
093d3ff1 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 | |
093d3ff1 RD |
950 | PySwigPacked_Type = tmp; |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
cfe5e918 | 955 | |
093d3ff1 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 | } |
093d3ff1 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 | |
093d3ff1 RD |
996 | #else |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
cfe5e918 | 1000 | |
093d3ff1 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 | |
093d3ff1 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 | { |
093d3ff1 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 | } |
093d3ff1 RD |
1040 | Py_DECREF(str); |
1041 | return; | |
c32bde28 | 1042 | } |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 RD |
1060 | SWIGRUNTIME int |
1061 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
cfe5e918 | 1062 | { |
093d3ff1 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; |
093d3ff1 RD |
1080 | } else { |
1081 | return 0; | |
c32bde28 | 1082 | } |
cfe5e918 RD |
1083 | } |
1084 | ||
093d3ff1 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 | ||
093d3ff1 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 |
093d3ff1 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 | |
093d3ff1 | 1156 | type_check: |
cfe5e918 | 1157 | |
093d3ff1 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 | } |
093d3ff1 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 | } |
093d3ff1 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 | } |
093d3ff1 RD |
1206 | } |
1207 | return result; | |
cfe5e918 RD |
1208 | } |
1209 | ||
093d3ff1 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 | |
093d3ff1 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 | } |
093d3ff1 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 | ||
093d3ff1 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 | |
093d3ff1 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 | } |
093d3ff1 RD |
1318 | } |
1319 | #endif | |
1320 | return (swig_type_info **) type_pointer; | |
cfe5e918 RD |
1321 | } |
1322 | ||
093d3ff1 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 | |
093d3ff1 RD |
1332 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList |
1333 | ||
1334 | #ifdef __cplusplus | |
cfe5e918 | 1335 | } |
093d3ff1 | 1336 | #endif |
cfe5e918 RD |
1337 | |
1338 | ||
093d3ff1 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 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 | } |
093d3ff1 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 | } |
093d3ff1 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 | } |
093d3ff1 RD |
1426 | else { |
1427 | SWIG_type_error("number", obj); | |
cfe5e918 | 1428 | } |
093d3ff1 | 1429 | return 0; |
cfe5e918 RD |
1430 | } |
1431 | ||
1432 | ||
093d3ff1 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 | } |
093d3ff1 RD |
1446 | } else { |
1447 | PyErr_Clear(); | |
1448 | } | |
1449 | if (val) { | |
1450 | SWIG_type_error(errmsg, obj); | |
1451 | } | |
1452 | return 0; | |
cfe5e918 | 1453 | } |
093d3ff1 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 | } |
093d3ff1 | 1460 | #endif |
cfe5e918 RD |
1461 | |
1462 | ||
093d3ff1 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 | ||
093d3ff1 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 | ||
093d3ff1 RD |
1490 | |
1491 | SWIGINTERNSHORT int | |
1492 | SWIG_Check_int(PyObject* obj) | |
1493 | { | |
1494 | return SWIG_AsVal_int(obj, (int*)0); | |
1495 | } | |
cfe5e918 | 1496 | |
093d3ff1 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 | ||
093d3ff1 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 | ||
093d3ff1 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 | ||
093d3ff1 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 | ||
093d3ff1 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 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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 | { |
093d3ff1 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 | } |
093d3ff1 | 1646 | return pyobj; |
cfe5e918 RD |
1647 | } |
1648 | ||
1649 | ||
093d3ff1 | 1650 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 1651 | PyObject *resultobj; |
093d3ff1 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 ; | |
093d3ff1 RD |
1667 | PyObject * obj2 = 0 ; |
1668 | PyObject * obj3 = 0 ; | |
1669 | PyObject * obj4 = 0 ; | |
1670 | PyObject * obj5 = 0 ; | |
cfe5e918 | 1671 | char *kwnames[] = { |
093d3ff1 | 1672 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
cfe5e918 RD |
1673 | }; |
1674 | ||
093d3ff1 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 | { |
093d3ff1 | 1710 | if (!wxPyCheckForApp()) SWIG_fail; |
cfe5e918 | 1711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
093d3ff1 | 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 | } | |
093d3ff1 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: | |
093d3ff1 RD |
1724 | { |
1725 | if (temp6) | |
1726 | delete arg6; | |
1727 | } | |
cfe5e918 RD |
1728 | return NULL; |
1729 | } | |
1730 | ||
1731 | ||
093d3ff1 | 1732 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 1733 | PyObject *resultobj; |
093d3ff1 | 1734 | wxStyledTextCtrl *result; |
cfe5e918 | 1735 | char *kwnames[] = { |
093d3ff1 | 1736 | NULL |
cfe5e918 RD |
1737 | }; |
1738 | ||
093d3ff1 | 1739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; |
cfe5e918 | 1740 | { |
093d3ff1 | 1741 | if (!wxPyCheckForApp()) SWIG_fail; |
cfe5e918 | 1742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
093d3ff1 | 1743 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); |
cfe5e918 RD |
1744 | |
1745 | wxPyEndAllowThreads(__tstate); | |
1746 | if (PyErr_Occurred()) SWIG_fail; | |
1747 | } | |
093d3ff1 | 1748 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
cfe5e918 RD |
1749 | return resultobj; |
1750 | fail: | |
1751 | return NULL; | |
1752 | } | |
1753 | ||
1754 | ||
093d3ff1 | 1755 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1756 | PyObject *resultobj; |
1757 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 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 ; |
093d3ff1 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[] = { |
093d3ff1 | 1778 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
cfe5e918 RD |
1779 | }; |
1780 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
1825 | { |
1826 | if (temp7) | |
1827 | delete arg7; | |
1828 | } | |
cfe5e918 RD |
1829 | return resultobj; |
1830 | fail: | |
093d3ff1 RD |
1831 | { |
1832 | if (temp7) | |
1833 | delete arg7; | |
1834 | } | |
cfe5e918 RD |
1835 | return NULL; |
1836 | } | |
1837 | ||
1838 | ||
093d3ff1 | 1839 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1840 | PyObject *resultobj; |
1841 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
1842 | wxString *arg2 = 0 ; |
1843 | bool temp2 = false ; | |
cfe5e918 RD |
1844 | PyObject * obj0 = 0 ; |
1845 | PyObject * obj1 = 0 ; | |
cfe5e918 | 1846 | char *kwnames[] = { |
093d3ff1 | 1847 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
1848 | }; |
1849 | ||
093d3ff1 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(); | |
093d3ff1 | 1860 | (arg1)->AddText((wxString const &)*arg2); |
cfe5e918 RD |
1861 | |
1862 | wxPyEndAllowThreads(__tstate); | |
1863 | if (PyErr_Occurred()) SWIG_fail; | |
1864 | } | |
093d3ff1 | 1865 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 1866 | { |
093d3ff1 RD |
1867 | if (temp2) |
1868 | delete arg2; | |
cfe5e918 RD |
1869 | } |
1870 | return resultobj; | |
1871 | fail: | |
093d3ff1 RD |
1872 | { |
1873 | if (temp2) | |
1874 | delete arg2; | |
1875 | } | |
1876 | return NULL; | |
cfe5e918 RD |
1877 | } |
1878 | ||
1879 | ||
093d3ff1 | 1880 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1881 | PyObject *resultobj; |
1882 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
1883 | wxMemoryBuffer *arg2 = 0 ; |
1884 | bool temp2 = false ; | |
cfe5e918 | 1885 | PyObject * obj0 = 0 ; |
093d3ff1 | 1886 | PyObject * obj1 = 0 ; |
cfe5e918 | 1887 | char *kwnames[] = { |
093d3ff1 | 1888 | (char *) "self",(char *) "data", NULL |
cfe5e918 RD |
1889 | }; |
1890 | ||
093d3ff1 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(); | |
093d3ff1 | 1908 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); |
cfe5e918 RD |
1909 | |
1910 | wxPyEndAllowThreads(__tstate); | |
1911 | if (PyErr_Occurred()) SWIG_fail; | |
1912 | } | |
093d3ff1 | 1913 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 1914 | { |
093d3ff1 | 1915 | if (temp2) delete arg2; |
cfe5e918 RD |
1916 | } |
1917 | return resultobj; | |
1918 | fail: | |
093d3ff1 RD |
1919 | { |
1920 | if (temp2) delete arg2; | |
1921 | } | |
cfe5e918 RD |
1922 | return NULL; |
1923 | } | |
1924 | ||
1925 | ||
093d3ff1 | 1926 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
1927 | PyObject *resultobj; |
1928 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1929 | int arg2 ; | |
093d3ff1 RD |
1930 | wxString *arg3 = 0 ; |
1931 | bool temp3 = false ; | |
cfe5e918 RD |
1932 | PyObject * obj0 = 0 ; |
1933 | PyObject * obj1 = 0 ; | |
093d3ff1 | 1934 | PyObject * obj2 = 0 ; |
cfe5e918 | 1935 | char *kwnames[] = { |
093d3ff1 | 1936 | (char *) "self",(char *) "pos",(char *) "text", NULL |
cfe5e918 RD |
1937 | }; |
1938 | ||
093d3ff1 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(); | |
093d3ff1 | 1953 | (arg1)->InsertText(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
1954 | |
1955 | wxPyEndAllowThreads(__tstate); | |
1956 | if (PyErr_Occurred()) SWIG_fail; | |
1957 | } | |
093d3ff1 RD |
1958 | Py_INCREF(Py_None); resultobj = Py_None; |
1959 | { | |
1960 | if (temp3) | |
1961 | delete arg3; | |
1962 | } | |
cfe5e918 RD |
1963 | return resultobj; |
1964 | fail: | |
093d3ff1 RD |
1965 | { |
1966 | if (temp3) | |
1967 | delete arg3; | |
1968 | } | |
cfe5e918 RD |
1969 | return NULL; |
1970 | } | |
1971 | ||
1972 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 1978 | (char *) "self", NULL |
cfe5e918 RD |
1979 | }; |
1980 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 2011 | (arg1)->ClearDocumentStyle(); |
cfe5e918 RD |
2012 | |
2013 | wxPyEndAllowThreads(__tstate); | |
2014 | if (PyErr_Occurred()) SWIG_fail; | |
2015 | } | |
093d3ff1 | 2016 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2017 | return resultobj; |
2018 | fail: | |
2019 | return NULL; | |
2020 | } | |
2021 | ||
2022 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 2037 | result = (int)(arg1)->GetLength(); |
cfe5e918 RD |
2038 | |
2039 | wxPyEndAllowThreads(__tstate); | |
2040 | if (PyErr_Occurred()) SWIG_fail; | |
2041 | } | |
093d3ff1 RD |
2042 | { |
2043 | resultobj = SWIG_From_int((int)(result)); | |
2044 | } | |
cfe5e918 RD |
2045 | return resultobj; |
2046 | fail: | |
2047 | return NULL; | |
2048 | } | |
2049 | ||
2050 | ||
093d3ff1 | 2051 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2052 | PyObject *resultobj; |
2053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2054 | int arg2 ; | |
093d3ff1 | 2055 | int result; |
cfe5e918 RD |
2056 | PyObject * obj0 = 0 ; |
2057 | PyObject * obj1 = 0 ; | |
2058 | char *kwnames[] = { | |
093d3ff1 | 2059 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2060 | }; |
2061 | ||
093d3ff1 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(); | |
093d3ff1 | 2071 | result = (int)(arg1)->GetCharAt(arg2); |
cfe5e918 RD |
2072 | |
2073 | wxPyEndAllowThreads(__tstate); | |
2074 | if (PyErr_Occurred()) SWIG_fail; | |
2075 | } | |
093d3ff1 RD |
2076 | { |
2077 | resultobj = SWIG_From_int((int)(result)); | |
2078 | } | |
cfe5e918 RD |
2079 | return resultobj; |
2080 | fail: | |
2081 | return NULL; | |
2082 | } | |
2083 | ||
2084 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2091 | (char *) "self", NULL |
cfe5e918 RD |
2092 | }; |
2093 | ||
093d3ff1 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(); | |
093d3ff1 | 2099 | result = (int)(arg1)->GetCurrentPos(); |
cfe5e918 RD |
2100 | |
2101 | wxPyEndAllowThreads(__tstate); | |
2102 | if (PyErr_Occurred()) SWIG_fail; | |
2103 | } | |
093d3ff1 RD |
2104 | { |
2105 | resultobj = SWIG_From_int((int)(result)); | |
2106 | } | |
cfe5e918 RD |
2107 | return resultobj; |
2108 | fail: | |
2109 | return NULL; | |
2110 | } | |
2111 | ||
2112 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2119 | (char *) "self", NULL |
cfe5e918 RD |
2120 | }; |
2121 | ||
093d3ff1 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(); | |
093d3ff1 | 2127 | result = (int)(arg1)->GetAnchor(); |
cfe5e918 RD |
2128 | |
2129 | wxPyEndAllowThreads(__tstate); | |
2130 | if (PyErr_Occurred()) SWIG_fail; | |
2131 | } | |
093d3ff1 RD |
2132 | { |
2133 | resultobj = SWIG_From_int((int)(result)); | |
2134 | } | |
cfe5e918 RD |
2135 | return resultobj; |
2136 | fail: | |
2137 | return NULL; | |
2138 | } | |
2139 | ||
2140 | ||
093d3ff1 | 2141 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2142 | PyObject *resultobj; |
2143 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2144 | int arg2 ; | |
093d3ff1 | 2145 | int result; |
cfe5e918 RD |
2146 | PyObject * obj0 = 0 ; |
2147 | PyObject * obj1 = 0 ; | |
2148 | char *kwnames[] = { | |
093d3ff1 | 2149 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2150 | }; |
2151 | ||
093d3ff1 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(); | |
093d3ff1 | 2161 | result = (int)(arg1)->GetStyleAt(arg2); |
cfe5e918 RD |
2162 | |
2163 | wxPyEndAllowThreads(__tstate); | |
2164 | if (PyErr_Occurred()) SWIG_fail; | |
2165 | } | |
093d3ff1 RD |
2166 | { |
2167 | resultobj = SWIG_From_int((int)(result)); | |
2168 | } | |
cfe5e918 RD |
2169 | return resultobj; |
2170 | fail: | |
2171 | return NULL; | |
2172 | } | |
2173 | ||
2174 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2180 | (char *) "self", NULL |
cfe5e918 RD |
2181 | }; |
2182 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 2200 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2201 | PyObject *resultobj; |
2202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2203 | bool arg2 ; |
cfe5e918 RD |
2204 | PyObject * obj0 = 0 ; |
2205 | PyObject * obj1 = 0 ; | |
2206 | char *kwnames[] = { | |
093d3ff1 | 2207 | (char *) "self",(char *) "collectUndo", NULL |
cfe5e918 RD |
2208 | }; |
2209 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 2244 | (arg1)->SelectAll(); |
cfe5e918 RD |
2245 | |
2246 | wxPyEndAllowThreads(__tstate); | |
2247 | if (PyErr_Occurred()) SWIG_fail; | |
2248 | } | |
093d3ff1 | 2249 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2250 | return resultobj; |
2251 | fail: | |
2252 | return NULL; | |
2253 | } | |
2254 | ||
2255 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 2269 | (arg1)->SetSavePoint(); |
cfe5e918 RD |
2270 | |
2271 | wxPyEndAllowThreads(__tstate); | |
2272 | if (PyErr_Occurred()) SWIG_fail; | |
2273 | } | |
093d3ff1 | 2274 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2275 | return resultobj; |
2276 | fail: | |
2277 | return NULL; | |
2278 | } | |
2279 | ||
2280 | ||
093d3ff1 | 2281 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2282 | PyObject *resultobj; |
2283 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2284 | int arg2 ; | |
093d3ff1 RD |
2285 | int arg3 ; |
2286 | wxMemoryBuffer result; | |
cfe5e918 RD |
2287 | PyObject * obj0 = 0 ; |
2288 | PyObject * obj1 = 0 ; | |
093d3ff1 | 2289 | PyObject * obj2 = 0 ; |
cfe5e918 | 2290 | char *kwnames[] = { |
093d3ff1 | 2291 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
cfe5e918 RD |
2292 | }; |
2293 | ||
093d3ff1 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(); | |
093d3ff1 | 2307 | result = (arg1)->GetStyledText(arg2,arg3); |
cfe5e918 RD |
2308 | |
2309 | wxPyEndAllowThreads(__tstate); | |
2310 | if (PyErr_Occurred()) SWIG_fail; | |
2311 | } | |
093d3ff1 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 | ||
093d3ff1 | 2321 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2322 | PyObject *resultobj; |
2323 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2324 | bool result; |
cfe5e918 RD |
2325 | PyObject * obj0 = 0 ; |
2326 | char *kwnames[] = { | |
2327 | (char *) "self", NULL | |
2328 | }; | |
2329 | ||
093d3ff1 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(); | |
093d3ff1 | 2335 | result = (bool)(arg1)->CanRedo(); |
cfe5e918 RD |
2336 | |
2337 | wxPyEndAllowThreads(__tstate); | |
2338 | if (PyErr_Occurred()) SWIG_fail; | |
2339 | } | |
093d3ff1 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 | ||
093d3ff1 | 2349 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2350 | PyObject *resultobj; |
2351 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2352 | int arg2 ; | |
093d3ff1 | 2353 | int result; |
cfe5e918 RD |
2354 | PyObject * obj0 = 0 ; |
2355 | PyObject * obj1 = 0 ; | |
2356 | char *kwnames[] = { | |
093d3ff1 | 2357 | (char *) "self",(char *) "handle", NULL |
cfe5e918 RD |
2358 | }; |
2359 | ||
093d3ff1 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(); | |
093d3ff1 | 2369 | result = (int)(arg1)->MarkerLineFromHandle(arg2); |
cfe5e918 RD |
2370 | |
2371 | wxPyEndAllowThreads(__tstate); | |
2372 | if (PyErr_Occurred()) SWIG_fail; | |
2373 | } | |
093d3ff1 RD |
2374 | { |
2375 | resultobj = SWIG_From_int((int)(result)); | |
2376 | } | |
cfe5e918 RD |
2377 | return resultobj; |
2378 | fail: | |
2379 | return NULL; | |
2380 | } | |
2381 | ||
2382 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2390 | (char *) "self",(char *) "handle", NULL |
cfe5e918 RD |
2391 | }; |
2392 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 2414 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2415 | PyObject *resultobj; |
2416 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2417 | bool result; |
cfe5e918 | 2418 | PyObject * obj0 = 0 ; |
cfe5e918 | 2419 | char *kwnames[] = { |
093d3ff1 | 2420 | (char *) "self", NULL |
cfe5e918 RD |
2421 | }; |
2422 | ||
093d3ff1 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(); | |
093d3ff1 | 2428 | result = (bool)(arg1)->GetUndoCollection(); |
cfe5e918 RD |
2429 | |
2430 | wxPyEndAllowThreads(__tstate); | |
2431 | if (PyErr_Occurred()) SWIG_fail; | |
2432 | } | |
093d3ff1 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 | ||
093d3ff1 | 2442 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2443 | PyObject *resultobj; |
2444 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2445 | int result; |
cfe5e918 RD |
2446 | PyObject * obj0 = 0 ; |
2447 | char *kwnames[] = { | |
2448 | (char *) "self", NULL | |
2449 | }; | |
2450 | ||
093d3ff1 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(); | |
093d3ff1 | 2456 | result = (int)(arg1)->GetViewWhiteSpace(); |
cfe5e918 RD |
2457 | |
2458 | wxPyEndAllowThreads(__tstate); | |
2459 | if (PyErr_Occurred()) SWIG_fail; | |
2460 | } | |
2461 | { | |
093d3ff1 | 2462 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
2463 | } |
2464 | return resultobj; | |
2465 | fail: | |
2466 | return NULL; | |
2467 | } | |
2468 | ||
2469 | ||
093d3ff1 | 2470 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2471 | PyObject *resultobj; |
2472 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2473 | int arg2 ; |
cfe5e918 RD |
2474 | PyObject * obj0 = 0 ; |
2475 | PyObject * obj1 = 0 ; | |
2476 | char *kwnames[] = { | |
093d3ff1 | 2477 | (char *) "self",(char *) "viewWS", NULL |
cfe5e918 RD |
2478 | }; |
2479 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 2501 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2502 | PyObject *resultobj; |
2503 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
2504 | wxPoint arg2 ; |
2505 | int result; | |
cfe5e918 RD |
2506 | PyObject * obj0 = 0 ; |
2507 | PyObject * obj1 = 0 ; | |
2508 | char *kwnames[] = { | |
093d3ff1 | 2509 | (char *) "self",(char *) "pt", NULL |
cfe5e918 RD |
2510 | }; |
2511 | ||
093d3ff1 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(); | |
093d3ff1 | 2527 | result = (int)(arg1)->PositionFromPoint(arg2); |
cfe5e918 RD |
2528 | |
2529 | wxPyEndAllowThreads(__tstate); | |
2530 | if (PyErr_Occurred()) SWIG_fail; | |
2531 | } | |
093d3ff1 RD |
2532 | { |
2533 | resultobj = SWIG_From_int((int)(result)); | |
2534 | } | |
cfe5e918 RD |
2535 | return resultobj; |
2536 | fail: | |
2537 | return NULL; | |
2538 | } | |
2539 | ||
2540 | ||
093d3ff1 | 2541 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2542 | PyObject *resultobj; |
2543 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
2544 | int arg2 ; |
2545 | int arg3 ; | |
cfe5e918 RD |
2546 | int result; |
2547 | PyObject * obj0 = 0 ; | |
093d3ff1 RD |
2548 | PyObject * obj1 = 0 ; |
2549 | PyObject * obj2 = 0 ; | |
cfe5e918 | 2550 | char *kwnames[] = { |
093d3ff1 | 2551 | (char *) "self",(char *) "x",(char *) "y", NULL |
cfe5e918 RD |
2552 | }; |
2553 | ||
093d3ff1 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(); | |
093d3ff1 | 2567 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); |
cfe5e918 RD |
2568 | |
2569 | wxPyEndAllowThreads(__tstate); | |
2570 | if (PyErr_Occurred()) SWIG_fail; | |
2571 | } | |
093d3ff1 RD |
2572 | { |
2573 | resultobj = SWIG_From_int((int)(result)); | |
2574 | } | |
cfe5e918 RD |
2575 | return resultobj; |
2576 | fail: | |
2577 | return NULL; | |
2578 | } | |
2579 | ||
2580 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 2588 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
2589 | }; |
2590 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2619 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
2620 | }; |
2621 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2650 | (char *) "self",(char *) "posAnchor", NULL |
cfe5e918 RD |
2651 | }; |
2652 | ||
093d3ff1 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 | { |
093d3ff1 RD |
2657 | arg2 = (int)(SWIG_As_int(obj1)); |
2658 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
2659 | } |
2660 | { | |
2661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 2674 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2675 | PyObject *resultobj; |
2676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 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[] = { |
093d3ff1 | 2683 | (char *) "self", NULL |
cfe5e918 RD |
2684 | }; |
2685 | ||
093d3ff1 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(); | |
093d3ff1 | 2692 | result = (arg1)->GetCurLine(arg2); |
cfe5e918 RD |
2693 | |
2694 | wxPyEndAllowThreads(__tstate); | |
2695 | if (PyErr_Occurred()) SWIG_fail; | |
2696 | } | |
093d3ff1 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2718 | (char *) "self", NULL |
cfe5e918 RD |
2719 | }; |
2720 | ||
093d3ff1 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(); | |
093d3ff1 | 2726 | result = (int)(arg1)->GetEndStyled(); |
cfe5e918 RD |
2727 | |
2728 | wxPyEndAllowThreads(__tstate); | |
2729 | if (PyErr_Occurred()) SWIG_fail; | |
2730 | } | |
093d3ff1 RD |
2731 | { |
2732 | resultobj = SWIG_From_int((int)(result)); | |
2733 | } | |
cfe5e918 RD |
2734 | return resultobj; |
2735 | fail: | |
2736 | return NULL; | |
2737 | } | |
2738 | ||
2739 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 2747 | (char *) "self",(char *) "eolMode", NULL |
cfe5e918 RD |
2748 | }; |
2749 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 2771 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2772 | PyObject *resultobj; |
2773 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2774 | int result; |
cfe5e918 | 2775 | PyObject * obj0 = 0 ; |
cfe5e918 | 2776 | char *kwnames[] = { |
093d3ff1 | 2777 | (char *) "self", NULL |
cfe5e918 RD |
2778 | }; |
2779 | ||
093d3ff1 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(); | |
093d3ff1 | 2785 | result = (int)(arg1)->GetEOLMode(); |
cfe5e918 RD |
2786 | |
2787 | wxPyEndAllowThreads(__tstate); | |
2788 | if (PyErr_Occurred()) SWIG_fail; | |
2789 | } | |
093d3ff1 RD |
2790 | { |
2791 | resultobj = SWIG_From_int((int)(result)); | |
2792 | } | |
cfe5e918 RD |
2793 | return resultobj; |
2794 | fail: | |
2795 | return NULL; | |
2796 | } | |
2797 | ||
2798 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 2806 | (char *) "self",(char *) "eolMode", NULL |
cfe5e918 RD |
2807 | }; |
2808 | ||
093d3ff1 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(); | |
093d3ff1 | 2818 | (arg1)->SetEOLMode(arg2); |
cfe5e918 RD |
2819 | |
2820 | wxPyEndAllowThreads(__tstate); | |
2821 | if (PyErr_Occurred()) SWIG_fail; | |
2822 | } | |
093d3ff1 | 2823 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2824 | return resultobj; |
2825 | fail: | |
2826 | return NULL; | |
2827 | } | |
2828 | ||
2829 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 2839 | (char *) "self",(char *) "pos",(char *) "mask", NULL |
cfe5e918 RD |
2840 | }; |
2841 | ||
093d3ff1 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(); | |
093d3ff1 | 2855 | (arg1)->StartStyling(arg2,arg3); |
cfe5e918 RD |
2856 | |
2857 | wxPyEndAllowThreads(__tstate); | |
2858 | if (PyErr_Occurred()) SWIG_fail; | |
2859 | } | |
093d3ff1 | 2860 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2861 | return resultobj; |
2862 | fail: | |
2863 | return NULL; | |
2864 | } | |
2865 | ||
2866 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 2876 | (char *) "self",(char *) "length",(char *) "style", NULL |
cfe5e918 RD |
2877 | }; |
2878 | ||
093d3ff1 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(); | |
093d3ff1 | 2892 | (arg1)->SetStyling(arg2,arg3); |
cfe5e918 RD |
2893 | |
2894 | wxPyEndAllowThreads(__tstate); | |
2895 | if (PyErr_Occurred()) SWIG_fail; | |
2896 | } | |
093d3ff1 | 2897 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2898 | return resultobj; |
2899 | fail: | |
2900 | return NULL; | |
2901 | } | |
2902 | ||
2903 | ||
093d3ff1 | 2904 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2905 | PyObject *resultobj; |
2906 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2907 | bool result; |
cfe5e918 | 2908 | PyObject * obj0 = 0 ; |
cfe5e918 | 2909 | char *kwnames[] = { |
093d3ff1 | 2910 | (char *) "self", NULL |
cfe5e918 RD |
2911 | }; |
2912 | ||
093d3ff1 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(); | |
093d3ff1 | 2918 | result = (bool)(arg1)->GetBufferedDraw(); |
cfe5e918 RD |
2919 | |
2920 | wxPyEndAllowThreads(__tstate); | |
2921 | if (PyErr_Occurred()) SWIG_fail; | |
2922 | } | |
093d3ff1 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 | ||
093d3ff1 | 2932 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2933 | PyObject *resultobj; |
2934 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2935 | bool arg2 ; |
cfe5e918 RD |
2936 | PyObject * obj0 = 0 ; |
2937 | PyObject * obj1 = 0 ; | |
cfe5e918 | 2938 | char *kwnames[] = { |
093d3ff1 | 2939 | (char *) "self",(char *) "buffered", NULL |
cfe5e918 RD |
2940 | }; |
2941 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 2970 | (char *) "self",(char *) "tabWidth", NULL |
cfe5e918 RD |
2971 | }; |
2972 | ||
093d3ff1 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(); | |
093d3ff1 | 2982 | (arg1)->SetTabWidth(arg2); |
cfe5e918 RD |
2983 | |
2984 | wxPyEndAllowThreads(__tstate); | |
2985 | if (PyErr_Occurred()) SWIG_fail; | |
2986 | } | |
093d3ff1 | 2987 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
2988 | return resultobj; |
2989 | fail: | |
2990 | return NULL; | |
2991 | } | |
2992 | ||
2993 | ||
093d3ff1 | 2994 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
2995 | PyObject *resultobj; |
2996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 2997 | int result; |
cfe5e918 | 2998 | PyObject * obj0 = 0 ; |
cfe5e918 | 2999 | char *kwnames[] = { |
093d3ff1 | 3000 | (char *) "self", NULL |
cfe5e918 RD |
3001 | }; |
3002 | ||
093d3ff1 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(); | |
093d3ff1 | 3008 | result = (int)(arg1)->GetTabWidth(); |
cfe5e918 RD |
3009 | |
3010 | wxPyEndAllowThreads(__tstate); | |
3011 | if (PyErr_Occurred()) SWIG_fail; | |
3012 | } | |
093d3ff1 RD |
3013 | { |
3014 | resultobj = SWIG_From_int((int)(result)); | |
3015 | } | |
cfe5e918 RD |
3016 | return resultobj; |
3017 | fail: | |
3018 | return NULL; | |
3019 | } | |
3020 | ||
3021 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 3029 | (char *) "self",(char *) "codePage", NULL |
cfe5e918 RD |
3030 | }; |
3031 | ||
093d3ff1 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(); | |
093d3ff1 | 3041 | (arg1)->SetCodePage(arg2); |
cfe5e918 RD |
3042 | |
3043 | wxPyEndAllowThreads(__tstate); | |
3044 | if (PyErr_Occurred()) SWIG_fail; | |
3045 | } | |
093d3ff1 | 3046 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
3047 | return resultobj; |
3048 | fail: | |
3049 | return NULL; | |
3050 | } | |
3051 | ||
3052 | ||
093d3ff1 | 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 ; | |
093d3ff1 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 ; | |
093d3ff1 RD |
3067 | PyObject * obj3 = 0 ; |
3068 | PyObject * obj4 = 0 ; | |
cfe5e918 | 3069 | char *kwnames[] = { |
093d3ff1 | 3070 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL |
cfe5e918 RD |
3071 | }; |
3072 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3110 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3111 | PyObject *resultobj; |
3112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3113 | int arg2 ; | |
093d3ff1 RD |
3114 | wxColour *arg3 = 0 ; |
3115 | wxColour temp3 ; | |
cfe5e918 RD |
3116 | PyObject * obj0 = 0 ; |
3117 | PyObject * obj1 = 0 ; | |
093d3ff1 | 3118 | PyObject * obj2 = 0 ; |
cfe5e918 | 3119 | char *kwnames[] = { |
093d3ff1 | 3120 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL |
cfe5e918 RD |
3121 | }; |
3122 | ||
093d3ff1 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(); | |
093d3ff1 | 3136 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
3137 | |
3138 | wxPyEndAllowThreads(__tstate); | |
3139 | if (PyErr_Occurred()) SWIG_fail; | |
3140 | } | |
093d3ff1 | 3141 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
3142 | return resultobj; |
3143 | fail: | |
3144 | return NULL; | |
3145 | } | |
3146 | ||
3147 | ||
093d3ff1 | 3148 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3149 | PyObject *resultobj; |
3150 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3151 | int arg2 ; | |
093d3ff1 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[] = { | |
093d3ff1 | 3158 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL |
cfe5e918 RD |
3159 | }; |
3160 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3186 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3187 | PyObject *resultobj; |
3188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3189 | int arg2 ; | |
093d3ff1 RD |
3190 | int arg3 ; |
3191 | int result; | |
cfe5e918 RD |
3192 | PyObject * obj0 = 0 ; |
3193 | PyObject * obj1 = 0 ; | |
093d3ff1 | 3194 | PyObject * obj2 = 0 ; |
cfe5e918 | 3195 | char *kwnames[] = { |
093d3ff1 | 3196 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
cfe5e918 RD |
3197 | }; |
3198 | ||
093d3ff1 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(); | |
093d3ff1 | 3212 | result = (int)(arg1)->MarkerAdd(arg2,arg3); |
cfe5e918 RD |
3213 | |
3214 | wxPyEndAllowThreads(__tstate); | |
3215 | if (PyErr_Occurred()) SWIG_fail; | |
3216 | } | |
3217 | { | |
093d3ff1 | 3218 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
3219 | } |
3220 | return resultobj; | |
3221 | fail: | |
3222 | return NULL; | |
3223 | } | |
3224 | ||
3225 | ||
093d3ff1 | 3226 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3227 | PyObject *resultobj; |
3228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
3229 | int arg2 ; |
3230 | int arg3 ; | |
cfe5e918 | 3231 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
3232 | PyObject * obj1 = 0 ; |
3233 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3234 | char *kwnames[] = { |
093d3ff1 | 3235 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
cfe5e918 RD |
3236 | }; |
3237 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 3270 | (char *) "self",(char *) "markerNumber", NULL |
cfe5e918 RD |
3271 | }; |
3272 | ||
093d3ff1 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 | { |
093d3ff1 RD |
3277 | arg2 = (int)(SWIG_As_int(obj1)); |
3278 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3279 | } |
3280 | { | |
3281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3294 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3295 | PyObject *resultobj; |
3296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3297 | int arg2 ; | |
093d3ff1 | 3298 | int result; |
cfe5e918 RD |
3299 | PyObject * obj0 = 0 ; |
3300 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3301 | char *kwnames[] = { |
093d3ff1 | 3302 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
3303 | }; |
3304 | ||
093d3ff1 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 | { |
093d3ff1 RD |
3309 | arg2 = (int)(SWIG_As_int(obj1)); |
3310 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3311 | } |
3312 | { | |
3313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 3314 | result = (int)(arg1)->MarkerGet(arg2); |
cfe5e918 RD |
3315 | |
3316 | wxPyEndAllowThreads(__tstate); | |
3317 | if (PyErr_Occurred()) SWIG_fail; | |
3318 | } | |
093d3ff1 RD |
3319 | { |
3320 | resultobj = SWIG_From_int((int)(result)); | |
3321 | } | |
cfe5e918 RD |
3322 | return resultobj; |
3323 | fail: | |
3324 | return NULL; | |
3325 | } | |
3326 | ||
3327 | ||
093d3ff1 | 3328 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3329 | PyObject *resultobj; |
3330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3331 | int arg2 ; | |
093d3ff1 RD |
3332 | int arg3 ; |
3333 | int result; | |
cfe5e918 RD |
3334 | PyObject * obj0 = 0 ; |
3335 | PyObject * obj1 = 0 ; | |
3336 | PyObject * obj2 = 0 ; | |
3337 | char *kwnames[] = { | |
093d3ff1 | 3338 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
cfe5e918 RD |
3339 | }; |
3340 | ||
093d3ff1 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(); | |
093d3ff1 | 3354 | result = (int)(arg1)->MarkerNext(arg2,arg3); |
cfe5e918 RD |
3355 | |
3356 | wxPyEndAllowThreads(__tstate); | |
3357 | if (PyErr_Occurred()) SWIG_fail; | |
3358 | } | |
093d3ff1 RD |
3359 | { |
3360 | resultobj = SWIG_From_int((int)(result)); | |
3361 | } | |
cfe5e918 RD |
3362 | return resultobj; |
3363 | fail: | |
3364 | return NULL; | |
3365 | } | |
3366 | ||
3367 | ||
093d3ff1 | 3368 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3369 | PyObject *resultobj; |
3370 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3371 | int arg2 ; | |
093d3ff1 RD |
3372 | int arg3 ; |
3373 | int result; | |
cfe5e918 RD |
3374 | PyObject * obj0 = 0 ; |
3375 | PyObject * obj1 = 0 ; | |
3376 | PyObject * obj2 = 0 ; | |
3377 | char *kwnames[] = { | |
093d3ff1 | 3378 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
cfe5e918 RD |
3379 | }; |
3380 | ||
093d3ff1 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(); | |
093d3ff1 | 3394 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); |
cfe5e918 RD |
3395 | |
3396 | wxPyEndAllowThreads(__tstate); | |
3397 | if (PyErr_Occurred()) SWIG_fail; | |
3398 | } | |
093d3ff1 RD |
3399 | { |
3400 | resultobj = SWIG_From_int((int)(result)); | |
3401 | } | |
cfe5e918 RD |
3402 | return resultobj; |
3403 | fail: | |
3404 | return NULL; | |
3405 | } | |
3406 | ||
3407 | ||
093d3ff1 | 3408 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3409 | PyObject *resultobj; |
3410 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3411 | int arg2 ; | |
093d3ff1 | 3412 | wxBitmap *arg3 = 0 ; |
cfe5e918 RD |
3413 | PyObject * obj0 = 0 ; |
3414 | PyObject * obj1 = 0 ; | |
3415 | PyObject * obj2 = 0 ; | |
3416 | char *kwnames[] = { | |
093d3ff1 | 3417 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL |
cfe5e918 RD |
3418 | }; |
3419 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3449 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3450 | PyObject *resultobj; |
3451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3452 | int arg2 ; | |
093d3ff1 | 3453 | int arg3 ; |
cfe5e918 RD |
3454 | PyObject * obj0 = 0 ; |
3455 | PyObject * obj1 = 0 ; | |
3456 | PyObject * obj2 = 0 ; | |
3457 | char *kwnames[] = { | |
093d3ff1 | 3458 | (char *) "self",(char *) "margin",(char *) "marginType", NULL |
cfe5e918 RD |
3459 | }; |
3460 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3486 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3487 | PyObject *resultobj; |
3488 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3489 | int arg2 ; | |
093d3ff1 | 3490 | int result; |
cfe5e918 RD |
3491 | PyObject * obj0 = 0 ; |
3492 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3493 | char *kwnames[] = { |
093d3ff1 | 3494 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3495 | }; |
3496 | ||
093d3ff1 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(); | |
093d3ff1 | 3506 | result = (int)(arg1)->GetMarginType(arg2); |
cfe5e918 RD |
3507 | |
3508 | wxPyEndAllowThreads(__tstate); | |
3509 | if (PyErr_Occurred()) SWIG_fail; | |
3510 | } | |
093d3ff1 RD |
3511 | { |
3512 | resultobj = SWIG_From_int((int)(result)); | |
3513 | } | |
cfe5e918 RD |
3514 | return resultobj; |
3515 | fail: | |
3516 | return NULL; | |
3517 | } | |
3518 | ||
3519 | ||
093d3ff1 | 3520 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3521 | PyObject *resultobj; |
3522 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
3523 | int arg2 ; |
3524 | int arg3 ; | |
cfe5e918 | 3525 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
3526 | PyObject * obj1 = 0 ; |
3527 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3528 | char *kwnames[] = { |
093d3ff1 | 3529 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL |
cfe5e918 RD |
3530 | }; |
3531 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3557 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3558 | PyObject *resultobj; |
3559 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3560 | int arg2 ; | |
093d3ff1 | 3561 | int result; |
cfe5e918 RD |
3562 | PyObject * obj0 = 0 ; |
3563 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3564 | char *kwnames[] = { |
093d3ff1 | 3565 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3566 | }; |
3567 | ||
093d3ff1 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(); | |
093d3ff1 | 3577 | result = (int)(arg1)->GetMarginWidth(arg2); |
cfe5e918 RD |
3578 | |
3579 | wxPyEndAllowThreads(__tstate); | |
3580 | if (PyErr_Occurred()) SWIG_fail; | |
3581 | } | |
093d3ff1 RD |
3582 | { |
3583 | resultobj = SWIG_From_int((int)(result)); | |
3584 | } | |
cfe5e918 RD |
3585 | return resultobj; |
3586 | fail: | |
3587 | return NULL; | |
3588 | } | |
3589 | ||
3590 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 3600 | (char *) "self",(char *) "margin",(char *) "mask", NULL |
cfe5e918 RD |
3601 | }; |
3602 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3628 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3629 | PyObject *resultobj; |
3630 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3631 | int arg2 ; | |
093d3ff1 | 3632 | int result; |
cfe5e918 RD |
3633 | PyObject * obj0 = 0 ; |
3634 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3635 | char *kwnames[] = { |
093d3ff1 | 3636 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3637 | }; |
3638 | ||
093d3ff1 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(); | |
093d3ff1 | 3648 | result = (int)(arg1)->GetMarginMask(arg2); |
cfe5e918 RD |
3649 | |
3650 | wxPyEndAllowThreads(__tstate); | |
3651 | if (PyErr_Occurred()) SWIG_fail; | |
3652 | } | |
093d3ff1 RD |
3653 | { |
3654 | resultobj = SWIG_From_int((int)(result)); | |
3655 | } | |
cfe5e918 RD |
3656 | return resultobj; |
3657 | fail: | |
3658 | return NULL; | |
3659 | } | |
3660 | ||
3661 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 3671 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL |
cfe5e918 RD |
3672 | }; |
3673 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3699 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3700 | PyObject *resultobj; |
3701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
3702 | int arg2 ; |
3703 | bool result; | |
cfe5e918 RD |
3704 | PyObject * obj0 = 0 ; |
3705 | PyObject * obj1 = 0 ; | |
cfe5e918 | 3706 | char *kwnames[] = { |
093d3ff1 | 3707 | (char *) "self",(char *) "margin", NULL |
cfe5e918 RD |
3708 | }; |
3709 | ||
093d3ff1 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 | { |
093d3ff1 RD |
3714 | arg2 = (int)(SWIG_As_int(obj1)); |
3715 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
3716 | } |
3717 | { | |
3718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 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 | ||
093d3ff1 | 3758 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3759 | PyObject *resultobj; |
3760 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 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[] = { | |
093d3ff1 | 3768 | (char *) "self",(char *) "style",(char *) "fore", NULL |
cfe5e918 RD |
3769 | }; |
3770 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3796 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3797 | PyObject *resultobj; |
3798 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
3799 | int arg2 ; |
3800 | wxColour *arg3 = 0 ; | |
3801 | wxColour temp3 ; | |
cfe5e918 RD |
3802 | PyObject * obj0 = 0 ; |
3803 | PyObject * obj1 = 0 ; | |
093d3ff1 | 3804 | PyObject * obj2 = 0 ; |
cfe5e918 | 3805 | char *kwnames[] = { |
093d3ff1 | 3806 | (char *) "self",(char *) "style",(char *) "back", NULL |
cfe5e918 RD |
3807 | }; |
3808 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3834 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3835 | PyObject *resultobj; |
3836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3837 | int arg2 ; | |
093d3ff1 | 3838 | bool arg3 ; |
cfe5e918 RD |
3839 | PyObject * obj0 = 0 ; |
3840 | PyObject * obj1 = 0 ; | |
3841 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3842 | char *kwnames[] = { |
093d3ff1 | 3843 | (char *) "self",(char *) "style",(char *) "bold", NULL |
cfe5e918 RD |
3844 | }; |
3845 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3871 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3872 | PyObject *resultobj; |
3873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3874 | int arg2 ; | |
093d3ff1 | 3875 | bool arg3 ; |
cfe5e918 RD |
3876 | PyObject * obj0 = 0 ; |
3877 | PyObject * obj1 = 0 ; | |
3878 | PyObject * obj2 = 0 ; | |
3879 | char *kwnames[] = { | |
093d3ff1 | 3880 | (char *) "self",(char *) "style",(char *) "italic", NULL |
cfe5e918 RD |
3881 | }; |
3882 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3908 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3909 | PyObject *resultobj; |
3910 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
3911 | int arg2 ; |
3912 | int arg3 ; | |
cfe5e918 | 3913 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
3914 | PyObject * obj1 = 0 ; |
3915 | PyObject * obj2 = 0 ; | |
cfe5e918 | 3916 | char *kwnames[] = { |
093d3ff1 | 3917 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL |
cfe5e918 RD |
3918 | }; |
3919 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 3945 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
3946 | PyObject *resultobj; |
3947 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3948 | int arg2 ; | |
093d3ff1 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[] = { | |
093d3ff1 | 3955 | (char *) "self",(char *) "style",(char *) "fontName", NULL |
cfe5e918 RD |
3956 | }; |
3957 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
3978 | { |
3979 | if (temp3) | |
3980 | delete arg3; | |
3981 | } | |
cfe5e918 RD |
3982 | return resultobj; |
3983 | fail: | |
093d3ff1 RD |
3984 | { |
3985 | if (temp3) | |
3986 | delete arg3; | |
3987 | } | |
cfe5e918 RD |
3988 | return NULL; |
3989 | } | |
3990 | ||
3991 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 4001 | (char *) "self",(char *) "style",(char *) "filled", NULL |
cfe5e918 RD |
4002 | }; |
4003 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 4042 | (arg1)->StyleResetDefault(); |
cfe5e918 RD |
4043 | |
4044 | wxPyEndAllowThreads(__tstate); | |
4045 | if (PyErr_Occurred()) SWIG_fail; | |
4046 | } | |
093d3ff1 | 4047 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4048 | return resultobj; |
4049 | fail: | |
4050 | return NULL; | |
4051 | } | |
4052 | ||
4053 | ||
093d3ff1 | 4054 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4055 | PyObject *resultobj; |
4056 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4057 | int arg2 ; | |
093d3ff1 | 4058 | bool arg3 ; |
cfe5e918 RD |
4059 | PyObject * obj0 = 0 ; |
4060 | PyObject * obj1 = 0 ; | |
093d3ff1 | 4061 | PyObject * obj2 = 0 ; |
cfe5e918 | 4062 | char *kwnames[] = { |
093d3ff1 | 4063 | (char *) "self",(char *) "style",(char *) "underline", NULL |
cfe5e918 RD |
4064 | }; |
4065 | ||
093d3ff1 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 | { |
093d3ff1 RD |
4070 | arg2 = (int)(SWIG_As_int(obj1)); |
4071 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 | 4072 | } |
cfe5e918 | 4073 | { |
093d3ff1 RD |
4074 | arg3 = (bool)(SWIG_As_bool(obj2)); |
4075 | if (SWIG_arg_fail(3)) SWIG_fail; | |
cfe5e918 RD |
4076 | } |
4077 | { | |
4078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4091 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4092 | PyObject *resultobj; |
4093 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4094 | int arg2 ; |
4095 | int arg3 ; | |
cfe5e918 | 4096 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
4097 | PyObject * obj1 = 0 ; |
4098 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4099 | char *kwnames[] = { |
093d3ff1 | 4100 | (char *) "self",(char *) "style",(char *) "caseForce", NULL |
cfe5e918 RD |
4101 | }; |
4102 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 4137 | (char *) "self",(char *) "style",(char *) "characterSet", NULL |
cfe5e918 RD |
4138 | }; |
4139 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4165 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4166 | PyObject *resultobj; |
4167 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4168 | int arg2 ; | |
093d3ff1 | 4169 | bool arg3 ; |
cfe5e918 RD |
4170 | PyObject * obj0 = 0 ; |
4171 | PyObject * obj1 = 0 ; | |
093d3ff1 | 4172 | PyObject * obj2 = 0 ; |
cfe5e918 | 4173 | char *kwnames[] = { |
093d3ff1 | 4174 | (char *) "self",(char *) "style",(char *) "hotspot", NULL |
cfe5e918 RD |
4175 | }; |
4176 | ||
093d3ff1 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(); | |
093d3ff1 | 4190 | (arg1)->StyleSetHotSpot(arg2,arg3); |
cfe5e918 RD |
4191 | |
4192 | wxPyEndAllowThreads(__tstate); | |
4193 | if (PyErr_Occurred()) SWIG_fail; | |
4194 | } | |
093d3ff1 | 4195 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4196 | return resultobj; |
4197 | fail: | |
4198 | return NULL; | |
4199 | } | |
4200 | ||
4201 | ||
093d3ff1 | 4202 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4203 | PyObject *resultobj; |
4204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 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[] = { | |
093d3ff1 | 4212 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
4213 | }; |
4214 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4240 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4241 | PyObject *resultobj; |
4242 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4243 | bool arg2 ; |
4244 | wxColour *arg3 = 0 ; | |
4245 | wxColour temp3 ; | |
cfe5e918 RD |
4246 | PyObject * obj0 = 0 ; |
4247 | PyObject * obj1 = 0 ; | |
093d3ff1 | 4248 | PyObject * obj2 = 0 ; |
cfe5e918 | 4249 | char *kwnames[] = { |
093d3ff1 | 4250 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
4251 | }; |
4252 | ||
093d3ff1 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(); | |
093d3ff1 | 4266 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4267 | |
4268 | wxPyEndAllowThreads(__tstate); | |
4269 | if (PyErr_Occurred()) SWIG_fail; | |
4270 | } | |
093d3ff1 | 4271 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4272 | return resultobj; |
4273 | fail: | |
4274 | return NULL; | |
4275 | } | |
4276 | ||
4277 | ||
093d3ff1 | 4278 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4279 | PyObject *resultobj; |
4280 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4281 | wxColour *arg2 = 0 ; |
4282 | wxColour temp2 ; | |
cfe5e918 RD |
4283 | PyObject * obj0 = 0 ; |
4284 | PyObject * obj1 = 0 ; | |
cfe5e918 | 4285 | char *kwnames[] = { |
093d3ff1 | 4286 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
4287 | }; |
4288 | ||
093d3ff1 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 | { |
093d3ff1 RD |
4293 | arg2 = &temp2; |
4294 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
cfe5e918 RD |
4295 | } |
4296 | { | |
4297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4310 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4311 | PyObject *resultobj; |
4312 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4313 | int arg2 ; |
4314 | int arg3 ; | |
4315 | int arg4 ; | |
cfe5e918 RD |
4316 | PyObject * obj0 = 0 ; |
4317 | PyObject * obj1 = 0 ; | |
4318 | PyObject * obj2 = 0 ; | |
093d3ff1 | 4319 | PyObject * obj3 = 0 ; |
cfe5e918 | 4320 | char *kwnames[] = { |
093d3ff1 | 4321 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL |
cfe5e918 RD |
4322 | }; |
4323 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4353 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4354 | PyObject *resultobj; |
4355 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4356 | int arg2 ; | |
093d3ff1 | 4357 | int arg3 ; |
cfe5e918 RD |
4358 | PyObject * obj0 = 0 ; |
4359 | PyObject * obj1 = 0 ; | |
093d3ff1 | 4360 | PyObject * obj2 = 0 ; |
cfe5e918 | 4361 | char *kwnames[] = { |
093d3ff1 | 4362 | (char *) "self",(char *) "key",(char *) "modifiers", NULL |
cfe5e918 RD |
4363 | }; |
4364 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 4403 | (arg1)->CmdKeyClearAll(); |
cfe5e918 RD |
4404 | |
4405 | wxPyEndAllowThreads(__tstate); | |
4406 | if (PyErr_Occurred()) SWIG_fail; | |
4407 | } | |
093d3ff1 | 4408 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4409 | return resultobj; |
4410 | fail: | |
4411 | return NULL; | |
4412 | } | |
4413 | ||
4414 | ||
093d3ff1 | 4415 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4416 | PyObject *resultobj; |
4417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4418 | int arg2 ; | |
093d3ff1 | 4419 | char *arg3 = (char *) 0 ; |
cfe5e918 RD |
4420 | PyObject * obj0 = 0 ; |
4421 | PyObject * obj1 = 0 ; | |
4422 | PyObject * obj2 = 0 ; | |
4423 | char *kwnames[] = { | |
093d3ff1 | 4424 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL |
cfe5e918 RD |
4425 | }; |
4426 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4451 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4452 | PyObject *resultobj; |
4453 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4454 | int arg2 ; | |
093d3ff1 | 4455 | bool arg3 ; |
cfe5e918 RD |
4456 | PyObject * obj0 = 0 ; |
4457 | PyObject * obj1 = 0 ; | |
093d3ff1 | 4458 | PyObject * obj2 = 0 ; |
cfe5e918 | 4459 | char *kwnames[] = { |
093d3ff1 | 4460 | (char *) "self",(char *) "style",(char *) "visible", NULL |
cfe5e918 RD |
4461 | }; |
4462 | ||
093d3ff1 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(); | |
093d3ff1 | 4476 | (arg1)->StyleSetVisible(arg2,arg3); |
cfe5e918 RD |
4477 | |
4478 | wxPyEndAllowThreads(__tstate); | |
4479 | if (PyErr_Occurred()) SWIG_fail; | |
4480 | } | |
093d3ff1 | 4481 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4482 | return resultobj; |
4483 | fail: | |
4484 | return NULL; | |
4485 | } | |
4486 | ||
4487 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 4502 | result = (int)(arg1)->GetCaretPeriod(); |
cfe5e918 RD |
4503 | |
4504 | wxPyEndAllowThreads(__tstate); | |
4505 | if (PyErr_Occurred()) SWIG_fail; | |
4506 | } | |
093d3ff1 RD |
4507 | { |
4508 | resultobj = SWIG_From_int((int)(result)); | |
4509 | } | |
cfe5e918 RD |
4510 | return resultobj; |
4511 | fail: | |
4512 | return NULL; | |
4513 | } | |
4514 | ||
4515 | ||
093d3ff1 | 4516 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4517 | PyObject *resultobj; |
4518 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 4519 | int arg2 ; |
cfe5e918 | 4520 | PyObject * obj0 = 0 ; |
093d3ff1 | 4521 | PyObject * obj1 = 0 ; |
cfe5e918 | 4522 | char *kwnames[] = { |
093d3ff1 | 4523 | (char *) "self",(char *) "periodMilliseconds", NULL |
cfe5e918 RD |
4524 | }; |
4525 | ||
093d3ff1 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(); | |
093d3ff1 | 4535 | (arg1)->SetCaretPeriod(arg2); |
cfe5e918 RD |
4536 | |
4537 | wxPyEndAllowThreads(__tstate); | |
4538 | if (PyErr_Occurred()) SWIG_fail; | |
4539 | } | |
093d3ff1 | 4540 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4541 | return resultobj; |
4542 | fail: | |
4543 | return NULL; | |
4544 | } | |
4545 | ||
4546 | ||
093d3ff1 | 4547 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4548 | PyObject *resultobj; |
4549 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4550 | wxString *arg2 = 0 ; |
4551 | bool temp2 = false ; | |
cfe5e918 RD |
4552 | PyObject * obj0 = 0 ; |
4553 | PyObject * obj1 = 0 ; | |
4554 | char *kwnames[] = { | |
093d3ff1 | 4555 | (char *) "self",(char *) "characters", NULL |
cfe5e918 RD |
4556 | }; |
4557 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
4574 | { |
4575 | if (temp2) | |
4576 | delete arg2; | |
4577 | } | |
cfe5e918 RD |
4578 | return resultobj; |
4579 | fail: | |
093d3ff1 RD |
4580 | { |
4581 | if (temp2) | |
4582 | delete arg2; | |
4583 | } | |
cfe5e918 RD |
4584 | return NULL; |
4585 | } | |
4586 | ||
4587 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 4601 | (arg1)->BeginUndoAction(); |
cfe5e918 RD |
4602 | |
4603 | wxPyEndAllowThreads(__tstate); | |
4604 | if (PyErr_Occurred()) SWIG_fail; | |
4605 | } | |
093d3ff1 | 4606 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4607 | return resultobj; |
4608 | fail: | |
4609 | return NULL; | |
4610 | } | |
4611 | ||
4612 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 4618 | (char *) "self", NULL |
cfe5e918 RD |
4619 | }; |
4620 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4638 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4639 | PyObject *resultobj; |
4640 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4641 | int arg2 ; | |
093d3ff1 | 4642 | int arg3 ; |
cfe5e918 RD |
4643 | PyObject * obj0 = 0 ; |
4644 | PyObject * obj1 = 0 ; | |
4645 | PyObject * obj2 = 0 ; | |
4646 | char *kwnames[] = { | |
093d3ff1 | 4647 | (char *) "self",(char *) "indic",(char *) "style", NULL |
cfe5e918 RD |
4648 | }; |
4649 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4675 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4676 | PyObject *resultobj; |
4677 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4678 | int arg2 ; | |
093d3ff1 | 4679 | int result; |
cfe5e918 RD |
4680 | PyObject * obj0 = 0 ; |
4681 | PyObject * obj1 = 0 ; | |
cfe5e918 | 4682 | char *kwnames[] = { |
093d3ff1 | 4683 | (char *) "self",(char *) "indic", NULL |
cfe5e918 RD |
4684 | }; |
4685 | ||
093d3ff1 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 | { |
093d3ff1 RD |
4690 | arg2 = (int)(SWIG_As_int(obj1)); |
4691 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4692 | } |
4693 | { | |
4694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 4695 | result = (int)(arg1)->IndicatorGetStyle(arg2); |
cfe5e918 RD |
4696 | |
4697 | wxPyEndAllowThreads(__tstate); | |
4698 | if (PyErr_Occurred()) SWIG_fail; | |
4699 | } | |
cfe5e918 | 4700 | { |
093d3ff1 | 4701 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
4702 | } |
4703 | return resultobj; | |
4704 | fail: | |
cfe5e918 RD |
4705 | return NULL; |
4706 | } | |
4707 | ||
4708 | ||
093d3ff1 | 4709 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4710 | PyObject *resultobj; |
4711 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4712 | int arg2 ; |
4713 | wxColour *arg3 = 0 ; | |
4714 | wxColour temp3 ; | |
cfe5e918 | 4715 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
4716 | PyObject * obj1 = 0 ; |
4717 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4718 | char *kwnames[] = { |
093d3ff1 | 4719 | (char *) "self",(char *) "indic",(char *) "fore", NULL |
cfe5e918 RD |
4720 | }; |
4721 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4747 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4748 | PyObject *resultobj; |
4749 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4750 | int arg2 ; |
4751 | wxColour result; | |
cfe5e918 | 4752 | PyObject * obj0 = 0 ; |
093d3ff1 | 4753 | PyObject * obj1 = 0 ; |
cfe5e918 | 4754 | char *kwnames[] = { |
093d3ff1 | 4755 | (char *) "self",(char *) "indic", NULL |
cfe5e918 RD |
4756 | }; |
4757 | ||
093d3ff1 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(); | |
093d3ff1 | 4767 | result = (arg1)->IndicatorGetForeground(arg2); |
cfe5e918 RD |
4768 | |
4769 | wxPyEndAllowThreads(__tstate); | |
4770 | if (PyErr_Occurred()) SWIG_fail; | |
4771 | } | |
4772 | { | |
093d3ff1 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 | ||
093d3ff1 | 4783 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4784 | PyObject *resultobj; |
4785 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4786 | bool arg2 ; |
4787 | wxColour *arg3 = 0 ; | |
4788 | wxColour temp3 ; | |
cfe5e918 | 4789 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
4790 | PyObject * obj1 = 0 ; |
4791 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4792 | char *kwnames[] = { |
093d3ff1 | 4793 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
4794 | }; |
4795 | ||
093d3ff1 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(); | |
093d3ff1 | 4809 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); |
cfe5e918 RD |
4810 | |
4811 | wxPyEndAllowThreads(__tstate); | |
4812 | if (PyErr_Occurred()) SWIG_fail; | |
4813 | } | |
093d3ff1 | 4814 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4815 | return resultobj; |
4816 | fail: | |
4817 | return NULL; | |
4818 | } | |
4819 | ||
4820 | ||
093d3ff1 | 4821 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4822 | PyObject *resultobj; |
4823 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4824 | bool arg2 ; |
4825 | wxColour *arg3 = 0 ; | |
4826 | wxColour temp3 ; | |
cfe5e918 | 4827 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
4828 | PyObject * obj1 = 0 ; |
4829 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4830 | char *kwnames[] = { |
093d3ff1 | 4831 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
4832 | }; |
4833 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4859 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4860 | PyObject *resultobj; |
4861 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 4862 | int arg2 ; |
cfe5e918 RD |
4863 | PyObject * obj0 = 0 ; |
4864 | PyObject * obj1 = 0 ; | |
4865 | char *kwnames[] = { | |
093d3ff1 | 4866 | (char *) "self",(char *) "bits", NULL |
cfe5e918 RD |
4867 | }; |
4868 | ||
093d3ff1 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 | { |
093d3ff1 RD |
4873 | arg2 = (int)(SWIG_As_int(obj1)); |
4874 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4875 | } |
4876 | { | |
4877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 4890 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4891 | PyObject *resultobj; |
4892 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 4893 | int result; |
cfe5e918 | 4894 | PyObject * obj0 = 0 ; |
cfe5e918 | 4895 | char *kwnames[] = { |
093d3ff1 | 4896 | (char *) "self", NULL |
cfe5e918 RD |
4897 | }; |
4898 | ||
093d3ff1 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(); | |
093d3ff1 | 4904 | result = (int)(arg1)->GetStyleBits(); |
cfe5e918 RD |
4905 | |
4906 | wxPyEndAllowThreads(__tstate); | |
4907 | if (PyErr_Occurred()) SWIG_fail; | |
4908 | } | |
093d3ff1 RD |
4909 | { |
4910 | resultobj = SWIG_From_int((int)(result)); | |
4911 | } | |
cfe5e918 RD |
4912 | return resultobj; |
4913 | fail: | |
4914 | return NULL; | |
4915 | } | |
4916 | ||
4917 | ||
093d3ff1 | 4918 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4919 | PyObject *resultobj; |
4920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4921 | int arg2 ; |
4922 | int arg3 ; | |
cfe5e918 | 4923 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
4924 | PyObject * obj1 = 0 ; |
4925 | PyObject * obj2 = 0 ; | |
cfe5e918 | 4926 | char *kwnames[] = { |
093d3ff1 | 4927 | (char *) "self",(char *) "line",(char *) "state", NULL |
cfe5e918 RD |
4928 | }; |
4929 | ||
093d3ff1 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(); | |
093d3ff1 | 4943 | (arg1)->SetLineState(arg2,arg3); |
cfe5e918 RD |
4944 | |
4945 | wxPyEndAllowThreads(__tstate); | |
4946 | if (PyErr_Occurred()) SWIG_fail; | |
4947 | } | |
093d3ff1 | 4948 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
4949 | return resultobj; |
4950 | fail: | |
4951 | return NULL; | |
4952 | } | |
4953 | ||
4954 | ||
093d3ff1 | 4955 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4956 | PyObject *resultobj; |
4957 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
4958 | int arg2 ; |
4959 | int result; | |
cfe5e918 RD |
4960 | PyObject * obj0 = 0 ; |
4961 | PyObject * obj1 = 0 ; | |
4962 | char *kwnames[] = { | |
093d3ff1 | 4963 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
4964 | }; |
4965 | ||
093d3ff1 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 | { |
093d3ff1 RD |
4970 | arg2 = (int)(SWIG_As_int(obj1)); |
4971 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
4972 | } |
4973 | { | |
4974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 4975 | result = (int)(arg1)->GetLineState(arg2); |
cfe5e918 RD |
4976 | |
4977 | wxPyEndAllowThreads(__tstate); | |
4978 | if (PyErr_Occurred()) SWIG_fail; | |
4979 | } | |
cfe5e918 | 4980 | { |
093d3ff1 | 4981 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
4982 | } |
4983 | return resultobj; | |
4984 | fail: | |
cfe5e918 RD |
4985 | return NULL; |
4986 | } | |
4987 | ||
4988 | ||
093d3ff1 | 4989 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
4990 | PyObject *resultobj; |
4991 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 4992 | int result; |
cfe5e918 | 4993 | PyObject * obj0 = 0 ; |
cfe5e918 | 4994 | char *kwnames[] = { |
093d3ff1 | 4995 | (char *) "self", NULL |
cfe5e918 RD |
4996 | }; |
4997 | ||
093d3ff1 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(); | |
093d3ff1 | 5003 | result = (int)(arg1)->GetMaxLineState(); |
cfe5e918 RD |
5004 | |
5005 | wxPyEndAllowThreads(__tstate); | |
5006 | if (PyErr_Occurred()) SWIG_fail; | |
5007 | } | |
093d3ff1 RD |
5008 | { |
5009 | resultobj = SWIG_From_int((int)(result)); | |
5010 | } | |
cfe5e918 RD |
5011 | return resultobj; |
5012 | fail: | |
5013 | return NULL; | |
5014 | } | |
5015 | ||
5016 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 5045 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5046 | PyObject *resultobj; |
5047 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5048 | bool arg2 ; |
cfe5e918 RD |
5049 | PyObject * obj0 = 0 ; |
5050 | PyObject * obj1 = 0 ; | |
5051 | char *kwnames[] = { | |
093d3ff1 | 5052 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
5053 | }; |
5054 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 5076 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5077 | PyObject *resultobj; |
5078 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5079 | wxColour result; |
cfe5e918 RD |
5080 | PyObject * obj0 = 0 ; |
5081 | char *kwnames[] = { | |
5082 | (char *) "self", NULL | |
5083 | }; | |
5084 | ||
093d3ff1 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(); | |
093d3ff1 | 5090 | result = (arg1)->GetCaretLineBack(); |
cfe5e918 RD |
5091 | |
5092 | wxPyEndAllowThreads(__tstate); | |
5093 | if (PyErr_Occurred()) SWIG_fail; | |
5094 | } | |
5095 | { | |
093d3ff1 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 | ||
093d3ff1 | 5106 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5107 | PyObject *resultobj; |
5108 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
5109 | wxColour *arg2 = 0 ; |
5110 | wxColour temp2 ; | |
cfe5e918 RD |
5111 | PyObject * obj0 = 0 ; |
5112 | PyObject * obj1 = 0 ; | |
5113 | char *kwnames[] = { | |
093d3ff1 | 5114 | (char *) "self",(char *) "back", NULL |
cfe5e918 RD |
5115 | }; |
5116 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 5138 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5139 | PyObject *resultobj; |
5140 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
5141 | int arg2 ; |
5142 | bool arg3 ; | |
cfe5e918 | 5143 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
5144 | PyObject * obj1 = 0 ; |
5145 | PyObject * obj2 = 0 ; | |
cfe5e918 | 5146 | char *kwnames[] = { |
093d3ff1 | 5147 | (char *) "self",(char *) "style",(char *) "changeable", NULL |
cfe5e918 RD |
5148 | }; |
5149 | ||
093d3ff1 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(); | |
093d3ff1 | 5163 | (arg1)->StyleSetChangeable(arg2,arg3); |
cfe5e918 RD |
5164 | |
5165 | wxPyEndAllowThreads(__tstate); | |
5166 | if (PyErr_Occurred()) SWIG_fail; | |
5167 | } | |
093d3ff1 | 5168 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5169 | return resultobj; |
5170 | fail: | |
5171 | return NULL; | |
5172 | } | |
5173 | ||
5174 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 5185 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL |
cfe5e918 RD |
5186 | }; |
5187 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 5227 | (char *) "self", NULL |
cfe5e918 RD |
5228 | }; |
5229 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 5275 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5276 | PyObject *resultobj; |
5277 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5278 | int result; |
cfe5e918 | 5279 | PyObject * obj0 = 0 ; |
cfe5e918 | 5280 | char *kwnames[] = { |
093d3ff1 | 5281 | (char *) "self", NULL |
cfe5e918 RD |
5282 | }; |
5283 | ||
093d3ff1 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(); | |
093d3ff1 | 5289 | result = (int)(arg1)->AutoCompPosStart(); |
cfe5e918 RD |
5290 | |
5291 | wxPyEndAllowThreads(__tstate); | |
5292 | if (PyErr_Occurred()) SWIG_fail; | |
5293 | } | |
093d3ff1 RD |
5294 | { |
5295 | resultobj = SWIG_From_int((int)(result)); | |
5296 | } | |
cfe5e918 RD |
5297 | return resultobj; |
5298 | fail: | |
5299 | return NULL; | |
5300 | } | |
5301 | ||
5302 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 5316 | (arg1)->AutoCompComplete(); |
cfe5e918 RD |
5317 | |
5318 | wxPyEndAllowThreads(__tstate); | |
5319 | if (PyErr_Occurred()) SWIG_fail; | |
5320 | } | |
093d3ff1 | 5321 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5322 | return resultobj; |
5323 | fail: | |
5324 | return NULL; | |
5325 | } | |
5326 | ||
5327 | ||
093d3ff1 | 5328 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5329 | PyObject *resultobj; |
5330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
5331 | wxString *arg2 = 0 ; |
5332 | bool temp2 = false ; | |
cfe5e918 RD |
5333 | PyObject * obj0 = 0 ; |
5334 | PyObject * obj1 = 0 ; | |
cfe5e918 | 5335 | char *kwnames[] = { |
093d3ff1 | 5336 | (char *) "self",(char *) "characterSet", NULL |
cfe5e918 RD |
5337 | }; |
5338 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
5355 | { |
5356 | if (temp2) | |
5357 | delete arg2; | |
5358 | } | |
cfe5e918 RD |
5359 | return resultobj; |
5360 | fail: | |
093d3ff1 RD |
5361 | { |
5362 | if (temp2) | |
5363 | delete arg2; | |
5364 | } | |
cfe5e918 RD |
5365 | return NULL; |
5366 | } | |
5367 | ||
5368 | ||
093d3ff1 | 5369 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5370 | PyObject *resultobj; |
5371 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5372 | int arg2 ; |
cfe5e918 | 5373 | PyObject * obj0 = 0 ; |
093d3ff1 | 5374 | PyObject * obj1 = 0 ; |
cfe5e918 | 5375 | char *kwnames[] = { |
093d3ff1 | 5376 | (char *) "self",(char *) "separatorCharacter", NULL |
cfe5e918 RD |
5377 | }; |
5378 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 5414 | result = (int)(arg1)->AutoCompGetSeparator(); |
cfe5e918 RD |
5415 | |
5416 | wxPyEndAllowThreads(__tstate); | |
5417 | if (PyErr_Occurred()) SWIG_fail; | |
5418 | } | |
093d3ff1 RD |
5419 | { |
5420 | resultobj = SWIG_From_int((int)(result)); | |
5421 | } | |
cfe5e918 RD |
5422 | return resultobj; |
5423 | fail: | |
5424 | return NULL; | |
5425 | } | |
5426 | ||
5427 | ||
093d3ff1 | 5428 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5429 | PyObject *resultobj; |
5430 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
5431 | wxString *arg2 = 0 ; |
5432 | bool temp2 = false ; | |
cfe5e918 RD |
5433 | PyObject * obj0 = 0 ; |
5434 | PyObject * obj1 = 0 ; | |
5435 | char *kwnames[] = { | |
093d3ff1 | 5436 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
5437 | }; |
5438 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
5455 | { |
5456 | if (temp2) | |
5457 | delete arg2; | |
5458 | } | |
cfe5e918 RD |
5459 | return resultobj; |
5460 | fail: | |
093d3ff1 RD |
5461 | { |
5462 | if (temp2) | |
5463 | delete arg2; | |
5464 | } | |
cfe5e918 RD |
5465 | return NULL; |
5466 | } | |
5467 | ||
5468 | ||
093d3ff1 | 5469 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5470 | PyObject *resultobj; |
5471 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5472 | bool arg2 ; |
cfe5e918 RD |
5473 | PyObject * obj0 = 0 ; |
5474 | PyObject * obj1 = 0 ; | |
5475 | char *kwnames[] = { | |
093d3ff1 | 5476 | (char *) "self",(char *) "cancel", NULL |
cfe5e918 RD |
5477 | }; |
5478 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 5500 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5501 | PyObject *resultobj; |
5502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5503 | bool result; |
cfe5e918 RD |
5504 | PyObject * obj0 = 0 ; |
5505 | char *kwnames[] = { | |
5506 | (char *) "self", NULL | |
5507 | }; | |
5508 | ||
093d3ff1 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(); | |
093d3ff1 | 5514 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); |
cfe5e918 RD |
5515 | |
5516 | wxPyEndAllowThreads(__tstate); | |
5517 | if (PyErr_Occurred()) SWIG_fail; | |
5518 | } | |
093d3ff1 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 | ||
093d3ff1 | 5528 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5529 | PyObject *resultobj; |
5530 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
5531 | wxString *arg2 = 0 ; |
5532 | bool temp2 = false ; | |
cfe5e918 RD |
5533 | PyObject * obj0 = 0 ; |
5534 | PyObject * obj1 = 0 ; | |
5535 | char *kwnames[] = { | |
093d3ff1 | 5536 | (char *) "self",(char *) "characterSet", NULL |
cfe5e918 RD |
5537 | }; |
5538 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
5555 | { |
5556 | if (temp2) | |
5557 | delete arg2; | |
5558 | } | |
5559 | return resultobj; | |
cfe5e918 | 5560 | fail: |
093d3ff1 RD |
5561 | { |
5562 | if (temp2) | |
5563 | delete arg2; | |
5564 | } | |
cfe5e918 RD |
5565 | return NULL; |
5566 | } | |
5567 | ||
5568 | ||
093d3ff1 | 5569 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5570 | PyObject *resultobj; |
5571 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5572 | bool arg2 ; |
cfe5e918 | 5573 | PyObject * obj0 = 0 ; |
093d3ff1 | 5574 | PyObject * obj1 = 0 ; |
cfe5e918 | 5575 | char *kwnames[] = { |
093d3ff1 | 5576 | (char *) "self",(char *) "chooseSingle", NULL |
cfe5e918 RD |
5577 | }; |
5578 | ||
093d3ff1 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(); | |
093d3ff1 | 5588 | (arg1)->AutoCompSetChooseSingle(arg2); |
cfe5e918 RD |
5589 | |
5590 | wxPyEndAllowThreads(__tstate); | |
5591 | if (PyErr_Occurred()) SWIG_fail; | |
5592 | } | |
093d3ff1 | 5593 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5594 | return resultobj; |
5595 | fail: | |
5596 | return NULL; | |
5597 | } | |
5598 | ||
5599 | ||
093d3ff1 | 5600 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5601 | PyObject *resultobj; |
5602 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5603 | bool result; |
cfe5e918 | 5604 | PyObject * obj0 = 0 ; |
cfe5e918 | 5605 | char *kwnames[] = { |
093d3ff1 | 5606 | (char *) "self", NULL |
cfe5e918 RD |
5607 | }; |
5608 | ||
093d3ff1 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(); | |
093d3ff1 | 5614 | result = (bool)(arg1)->AutoCompGetChooseSingle(); |
cfe5e918 RD |
5615 | |
5616 | wxPyEndAllowThreads(__tstate); | |
5617 | if (PyErr_Occurred()) SWIG_fail; | |
5618 | } | |
093d3ff1 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 | ||
093d3ff1 | 5628 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5629 | PyObject *resultobj; |
5630 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5631 | bool arg2 ; |
cfe5e918 RD |
5632 | PyObject * obj0 = 0 ; |
5633 | PyObject * obj1 = 0 ; | |
5634 | char *kwnames[] = { | |
093d3ff1 | 5635 | (char *) "self",(char *) "ignoreCase", NULL |
cfe5e918 RD |
5636 | }; |
5637 | ||
093d3ff1 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(); | |
093d3ff1 | 5647 | (arg1)->AutoCompSetIgnoreCase(arg2); |
cfe5e918 RD |
5648 | |
5649 | wxPyEndAllowThreads(__tstate); | |
5650 | if (PyErr_Occurred()) SWIG_fail; | |
5651 | } | |
093d3ff1 | 5652 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5653 | return resultobj; |
5654 | fail: | |
5655 | return NULL; | |
5656 | } | |
5657 | ||
5658 | ||
093d3ff1 | 5659 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5660 | PyObject *resultobj; |
5661 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5662 | bool result; |
cfe5e918 | 5663 | PyObject * obj0 = 0 ; |
cfe5e918 | 5664 | char *kwnames[] = { |
093d3ff1 | 5665 | (char *) "self", NULL |
cfe5e918 RD |
5666 | }; |
5667 | ||
093d3ff1 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(); | |
093d3ff1 | 5673 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); |
cfe5e918 RD |
5674 | |
5675 | wxPyEndAllowThreads(__tstate); | |
5676 | if (PyErr_Occurred()) SWIG_fail; | |
5677 | } | |
093d3ff1 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 | ||
093d3ff1 | 5687 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5688 | PyObject *resultobj; |
5689 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5690 | int arg2 ; | |
093d3ff1 RD |
5691 | wxString *arg3 = 0 ; |
5692 | bool temp3 = false ; | |
cfe5e918 RD |
5693 | PyObject * obj0 = 0 ; |
5694 | PyObject * obj1 = 0 ; | |
093d3ff1 | 5695 | PyObject * obj2 = 0 ; |
cfe5e918 | 5696 | char *kwnames[] = { |
093d3ff1 | 5697 | (char *) "self",(char *) "listType",(char *) "itemList", NULL |
cfe5e918 RD |
5698 | }; |
5699 | ||
093d3ff1 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(); | |
093d3ff1 | 5714 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
5715 | |
5716 | wxPyEndAllowThreads(__tstate); | |
5717 | if (PyErr_Occurred()) SWIG_fail; | |
5718 | } | |
093d3ff1 RD |
5719 | Py_INCREF(Py_None); resultobj = Py_None; |
5720 | { | |
5721 | if (temp3) | |
5722 | delete arg3; | |
5723 | } | |
cfe5e918 RD |
5724 | return resultobj; |
5725 | fail: | |
093d3ff1 RD |
5726 | { |
5727 | if (temp3) | |
5728 | delete arg3; | |
5729 | } | |
cfe5e918 RD |
5730 | return NULL; |
5731 | } | |
5732 | ||
5733 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 5741 | (char *) "self",(char *) "autoHide", NULL |
cfe5e918 RD |
5742 | }; |
5743 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 5800 | (char *) "self",(char *) "dropRestOfWord", NULL |
cfe5e918 RD |
5801 | }; |
5802 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 5852 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5853 | PyObject *resultobj; |
5854 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5855 | int arg2 ; | |
093d3ff1 | 5856 | wxBitmap *arg3 = 0 ; |
cfe5e918 RD |
5857 | PyObject * obj0 = 0 ; |
5858 | PyObject * obj1 = 0 ; | |
093d3ff1 | 5859 | PyObject * obj2 = 0 ; |
cfe5e918 | 5860 | char *kwnames[] = { |
093d3ff1 | 5861 | (char *) "self",(char *) "type",(char *) "bmp", NULL |
cfe5e918 RD |
5862 | }; |
5863 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 5906 | (arg1)->ClearRegisteredImages(); |
cfe5e918 RD |
5907 | |
5908 | wxPyEndAllowThreads(__tstate); | |
5909 | if (PyErr_Occurred()) SWIG_fail; | |
5910 | } | |
093d3ff1 | 5911 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5912 | return resultobj; |
5913 | fail: | |
5914 | return NULL; | |
5915 | } | |
5916 | ||
5917 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 5924 | (char *) "self", NULL |
cfe5e918 RD |
5925 | }; |
5926 | ||
093d3ff1 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(); | |
093d3ff1 | 5932 | result = (int)(arg1)->AutoCompGetTypeSeparator(); |
cfe5e918 RD |
5933 | |
5934 | wxPyEndAllowThreads(__tstate); | |
5935 | if (PyErr_Occurred()) SWIG_fail; | |
5936 | } | |
093d3ff1 RD |
5937 | { |
5938 | resultobj = SWIG_From_int((int)(result)); | |
5939 | } | |
cfe5e918 RD |
5940 | return resultobj; |
5941 | fail: | |
5942 | return NULL; | |
5943 | } | |
5944 | ||
5945 | ||
093d3ff1 | 5946 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5947 | PyObject *resultobj; |
5948 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5949 | int arg2 ; |
cfe5e918 | 5950 | PyObject * obj0 = 0 ; |
093d3ff1 | 5951 | PyObject * obj1 = 0 ; |
cfe5e918 | 5952 | char *kwnames[] = { |
093d3ff1 | 5953 | (char *) "self",(char *) "separatorCharacter", NULL |
cfe5e918 RD |
5954 | }; |
5955 | ||
093d3ff1 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(); | |
093d3ff1 | 5965 | (arg1)->AutoCompSetTypeSeparator(arg2); |
cfe5e918 RD |
5966 | |
5967 | wxPyEndAllowThreads(__tstate); | |
5968 | if (PyErr_Occurred()) SWIG_fail; | |
5969 | } | |
093d3ff1 | 5970 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
5971 | return resultobj; |
5972 | fail: | |
5973 | return NULL; | |
5974 | } | |
5975 | ||
5976 | ||
093d3ff1 | 5977 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
5978 | PyObject *resultobj; |
5979 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 5980 | int arg2 ; |
cfe5e918 | 5981 | PyObject * obj0 = 0 ; |
093d3ff1 | 5982 | PyObject * obj1 = 0 ; |
cfe5e918 | 5983 | char *kwnames[] = { |
093d3ff1 | 5984 | (char *) "self",(char *) "indentSize", NULL |
cfe5e918 RD |
5985 | }; |
5986 | ||
093d3ff1 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(); | |
093d3ff1 | 5996 | (arg1)->SetIndent(arg2); |
cfe5e918 RD |
5997 | |
5998 | wxPyEndAllowThreads(__tstate); | |
5999 | if (PyErr_Occurred()) SWIG_fail; | |
6000 | } | |
093d3ff1 | 6001 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6002 | return resultobj; |
6003 | fail: | |
6004 | return NULL; | |
6005 | } | |
6006 | ||
6007 | ||
093d3ff1 | 6008 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6009 | PyObject *resultobj; |
6010 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6011 | int result; |
cfe5e918 RD |
6012 | PyObject * obj0 = 0 ; |
6013 | char *kwnames[] = { | |
6014 | (char *) "self", NULL | |
6015 | }; | |
6016 | ||
093d3ff1 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(); | |
093d3ff1 | 6022 | result = (int)(arg1)->GetIndent(); |
cfe5e918 RD |
6023 | |
6024 | wxPyEndAllowThreads(__tstate); | |
6025 | if (PyErr_Occurred()) SWIG_fail; | |
6026 | } | |
6027 | { | |
093d3ff1 | 6028 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6029 | } |
6030 | return resultobj; | |
6031 | fail: | |
6032 | return NULL; | |
6033 | } | |
6034 | ||
6035 | ||
093d3ff1 | 6036 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6037 | PyObject *resultobj; |
6038 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6039 | bool arg2 ; |
cfe5e918 RD |
6040 | PyObject * obj0 = 0 ; |
6041 | PyObject * obj1 = 0 ; | |
6042 | char *kwnames[] = { | |
093d3ff1 | 6043 | (char *) "self",(char *) "useTabs", NULL |
cfe5e918 RD |
6044 | }; |
6045 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 6067 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6068 | PyObject *resultobj; |
6069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6070 | bool result; |
cfe5e918 | 6071 | PyObject * obj0 = 0 ; |
cfe5e918 | 6072 | char *kwnames[] = { |
093d3ff1 | 6073 | (char *) "self", NULL |
cfe5e918 RD |
6074 | }; |
6075 | ||
093d3ff1 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(); | |
093d3ff1 | 6081 | result = (bool)(arg1)->GetUseTabs(); |
cfe5e918 RD |
6082 | |
6083 | wxPyEndAllowThreads(__tstate); | |
6084 | if (PyErr_Occurred()) SWIG_fail; | |
6085 | } | |
093d3ff1 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 | ||
093d3ff1 | 6095 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6096 | PyObject *resultobj; |
6097 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
6098 | int arg2 ; |
6099 | int arg3 ; | |
cfe5e918 | 6100 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
6101 | PyObject * obj1 = 0 ; |
6102 | PyObject * obj2 = 0 ; | |
cfe5e918 | 6103 | char *kwnames[] = { |
093d3ff1 | 6104 | (char *) "self",(char *) "line",(char *) "indentSize", NULL |
cfe5e918 RD |
6105 | }; |
6106 | ||
093d3ff1 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(); | |
093d3ff1 | 6120 | (arg1)->SetLineIndentation(arg2,arg3); |
cfe5e918 RD |
6121 | |
6122 | wxPyEndAllowThreads(__tstate); | |
6123 | if (PyErr_Occurred()) SWIG_fail; | |
6124 | } | |
093d3ff1 | 6125 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6126 | return resultobj; |
6127 | fail: | |
6128 | return NULL; | |
6129 | } | |
6130 | ||
6131 | ||
093d3ff1 | 6132 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6133 | PyObject *resultobj; |
6134 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6135 | int arg2 ; | |
093d3ff1 | 6136 | int result; |
cfe5e918 RD |
6137 | PyObject * obj0 = 0 ; |
6138 | PyObject * obj1 = 0 ; | |
6139 | char *kwnames[] = { | |
093d3ff1 | 6140 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6141 | }; |
6142 | ||
093d3ff1 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(); | |
093d3ff1 | 6152 | result = (int)(arg1)->GetLineIndentation(arg2); |
cfe5e918 RD |
6153 | |
6154 | wxPyEndAllowThreads(__tstate); | |
6155 | if (PyErr_Occurred()) SWIG_fail; | |
6156 | } | |
093d3ff1 RD |
6157 | { |
6158 | resultobj = SWIG_From_int((int)(result)); | |
6159 | } | |
cfe5e918 RD |
6160 | return resultobj; |
6161 | fail: | |
6162 | return NULL; | |
6163 | } | |
6164 | ||
6165 | ||
093d3ff1 | 6166 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6167 | PyObject *resultobj; |
6168 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6169 | int arg2 ; |
cfe5e918 RD |
6170 | int result; |
6171 | PyObject * obj0 = 0 ; | |
093d3ff1 | 6172 | PyObject * obj1 = 0 ; |
cfe5e918 | 6173 | char *kwnames[] = { |
093d3ff1 | 6174 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6175 | }; |
6176 | ||
093d3ff1 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(); | |
093d3ff1 | 6186 | result = (int)(arg1)->GetLineIndentPosition(arg2); |
cfe5e918 RD |
6187 | |
6188 | wxPyEndAllowThreads(__tstate); | |
6189 | if (PyErr_Occurred()) SWIG_fail; | |
6190 | } | |
093d3ff1 RD |
6191 | { |
6192 | resultobj = SWIG_From_int((int)(result)); | |
6193 | } | |
cfe5e918 RD |
6194 | return resultobj; |
6195 | fail: | |
6196 | return NULL; | |
6197 | } | |
6198 | ||
6199 | ||
093d3ff1 | 6200 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6201 | PyObject *resultobj; |
6202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6203 | int arg2 ; | |
093d3ff1 | 6204 | int result; |
cfe5e918 RD |
6205 | PyObject * obj0 = 0 ; |
6206 | PyObject * obj1 = 0 ; | |
6207 | char *kwnames[] = { | |
093d3ff1 | 6208 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6209 | }; |
6210 | ||
093d3ff1 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(); | |
093d3ff1 | 6220 | result = (int)(arg1)->GetColumn(arg2); |
cfe5e918 RD |
6221 | |
6222 | wxPyEndAllowThreads(__tstate); | |
6223 | if (PyErr_Occurred()) SWIG_fail; | |
6224 | } | |
093d3ff1 RD |
6225 | { |
6226 | resultobj = SWIG_From_int((int)(result)); | |
6227 | } | |
cfe5e918 RD |
6228 | return resultobj; |
6229 | fail: | |
6230 | return NULL; | |
6231 | } | |
6232 | ||
6233 | ||
093d3ff1 | 6234 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6235 | PyObject *resultobj; |
6236 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6237 | bool arg2 ; |
cfe5e918 | 6238 | PyObject * obj0 = 0 ; |
093d3ff1 | 6239 | PyObject * obj1 = 0 ; |
cfe5e918 | 6240 | char *kwnames[] = { |
093d3ff1 | 6241 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
6242 | }; |
6243 | ||
093d3ff1 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(); | |
093d3ff1 | 6253 | (arg1)->SetUseHorizontalScrollBar(arg2); |
cfe5e918 RD |
6254 | |
6255 | wxPyEndAllowThreads(__tstate); | |
6256 | if (PyErr_Occurred()) SWIG_fail; | |
6257 | } | |
093d3ff1 | 6258 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6259 | return resultobj; |
6260 | fail: | |
6261 | return NULL; | |
6262 | } | |
6263 | ||
6264 | ||
093d3ff1 | 6265 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6266 | PyObject *resultobj; |
6267 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6268 | bool result; |
cfe5e918 | 6269 | PyObject * obj0 = 0 ; |
cfe5e918 | 6270 | char *kwnames[] = { |
093d3ff1 | 6271 | (char *) "self", NULL |
cfe5e918 RD |
6272 | }; |
6273 | ||
093d3ff1 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(); | |
093d3ff1 | 6279 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); |
cfe5e918 RD |
6280 | |
6281 | wxPyEndAllowThreads(__tstate); | |
6282 | if (PyErr_Occurred()) SWIG_fail; | |
6283 | } | |
093d3ff1 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 | ||
093d3ff1 | 6293 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6294 | PyObject *resultobj; |
6295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6296 | bool arg2 ; |
cfe5e918 | 6297 | PyObject * obj0 = 0 ; |
093d3ff1 | 6298 | PyObject * obj1 = 0 ; |
cfe5e918 | 6299 | char *kwnames[] = { |
093d3ff1 | 6300 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
6301 | }; |
6302 | ||
093d3ff1 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(); | |
093d3ff1 | 6312 | (arg1)->SetIndentationGuides(arg2); |
cfe5e918 RD |
6313 | |
6314 | wxPyEndAllowThreads(__tstate); | |
6315 | if (PyErr_Occurred()) SWIG_fail; | |
6316 | } | |
093d3ff1 | 6317 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6318 | return resultobj; |
6319 | fail: | |
6320 | return NULL; | |
6321 | } | |
6322 | ||
6323 | ||
093d3ff1 | 6324 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6325 | PyObject *resultobj; |
6326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6327 | bool result; |
cfe5e918 | 6328 | PyObject * obj0 = 0 ; |
cfe5e918 | 6329 | char *kwnames[] = { |
093d3ff1 | 6330 | (char *) "self", NULL |
cfe5e918 RD |
6331 | }; |
6332 | ||
093d3ff1 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(); | |
093d3ff1 | 6338 | result = (bool)(arg1)->GetIndentationGuides(); |
cfe5e918 RD |
6339 | |
6340 | wxPyEndAllowThreads(__tstate); | |
6341 | if (PyErr_Occurred()) SWIG_fail; | |
6342 | } | |
cfe5e918 | 6343 | { |
093d3ff1 | 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 | ||
093d3ff1 | 6352 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6353 | PyObject *resultobj; |
6354 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6355 | int arg2 ; |
cfe5e918 RD |
6356 | PyObject * obj0 = 0 ; |
6357 | PyObject * obj1 = 0 ; | |
cfe5e918 | 6358 | char *kwnames[] = { |
093d3ff1 | 6359 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
6360 | }; |
6361 | ||
093d3ff1 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(); | |
093d3ff1 | 6371 | (arg1)->SetHighlightGuide(arg2); |
cfe5e918 RD |
6372 | |
6373 | wxPyEndAllowThreads(__tstate); | |
6374 | if (PyErr_Occurred()) SWIG_fail; | |
6375 | } | |
093d3ff1 | 6376 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6377 | return resultobj; |
6378 | fail: | |
6379 | return NULL; | |
6380 | } | |
6381 | ||
6382 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 6397 | result = (int)(arg1)->GetHighlightGuide(); |
cfe5e918 RD |
6398 | |
6399 | wxPyEndAllowThreads(__tstate); | |
6400 | if (PyErr_Occurred()) SWIG_fail; | |
6401 | } | |
093d3ff1 RD |
6402 | { |
6403 | resultobj = SWIG_From_int((int)(result)); | |
6404 | } | |
cfe5e918 RD |
6405 | return resultobj; |
6406 | fail: | |
6407 | return NULL; | |
6408 | } | |
6409 | ||
6410 | ||
093d3ff1 | 6411 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6412 | PyObject *resultobj; |
6413 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6414 | int arg2 ; | |
093d3ff1 | 6415 | int result; |
cfe5e918 RD |
6416 | PyObject * obj0 = 0 ; |
6417 | PyObject * obj1 = 0 ; | |
6418 | char *kwnames[] = { | |
6419 | (char *) "self",(char *) "line", NULL | |
6420 | }; | |
6421 | ||
093d3ff1 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(); | |
093d3ff1 | 6431 | result = (int)(arg1)->GetLineEndPosition(arg2); |
cfe5e918 RD |
6432 | |
6433 | wxPyEndAllowThreads(__tstate); | |
6434 | if (PyErr_Occurred()) SWIG_fail; | |
6435 | } | |
6436 | { | |
093d3ff1 | 6437 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6438 | } |
6439 | return resultobj; | |
6440 | fail: | |
6441 | return NULL; | |
6442 | } | |
6443 | ||
6444 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 6459 | result = (int)(arg1)->GetCodePage(); |
cfe5e918 RD |
6460 | |
6461 | wxPyEndAllowThreads(__tstate); | |
6462 | if (PyErr_Occurred()) SWIG_fail; | |
6463 | } | |
093d3ff1 RD |
6464 | { |
6465 | resultobj = SWIG_From_int((int)(result)); | |
6466 | } | |
cfe5e918 RD |
6467 | return resultobj; |
6468 | fail: | |
6469 | return NULL; | |
6470 | } | |
6471 | ||
6472 | ||
093d3ff1 | 6473 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6474 | PyObject *resultobj; |
6475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6476 | wxColour result; |
cfe5e918 | 6477 | PyObject * obj0 = 0 ; |
cfe5e918 | 6478 | char *kwnames[] = { |
093d3ff1 | 6479 | (char *) "self", NULL |
cfe5e918 RD |
6480 | }; |
6481 | ||
093d3ff1 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(); | |
093d3ff1 | 6487 | result = (arg1)->GetCaretForeground(); |
cfe5e918 RD |
6488 | |
6489 | wxPyEndAllowThreads(__tstate); | |
6490 | if (PyErr_Occurred()) SWIG_fail; | |
6491 | } | |
093d3ff1 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 | ||
093d3ff1 | 6503 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6504 | PyObject *resultobj; |
6505 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6506 | bool result; |
cfe5e918 RD |
6507 | PyObject * obj0 = 0 ; |
6508 | char *kwnames[] = { | |
6509 | (char *) "self", NULL | |
6510 | }; | |
6511 | ||
093d3ff1 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(); | |
093d3ff1 | 6517 | result = (bool)(arg1)->GetReadOnly(); |
cfe5e918 RD |
6518 | |
6519 | wxPyEndAllowThreads(__tstate); | |
6520 | if (PyErr_Occurred()) SWIG_fail; | |
6521 | } | |
093d3ff1 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 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 6538 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6539 | }; |
6540 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 6562 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6563 | PyObject *resultobj; |
6564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6565 | int arg2 ; |
cfe5e918 | 6566 | PyObject * obj0 = 0 ; |
093d3ff1 | 6567 | PyObject * obj1 = 0 ; |
cfe5e918 | 6568 | char *kwnames[] = { |
093d3ff1 | 6569 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6570 | }; |
6571 | ||
093d3ff1 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(); | |
093d3ff1 | 6581 | (arg1)->SetSelectionStart(arg2); |
cfe5e918 RD |
6582 | |
6583 | wxPyEndAllowThreads(__tstate); | |
6584 | if (PyErr_Occurred()) SWIG_fail; | |
6585 | } | |
093d3ff1 | 6586 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6587 | return resultobj; |
6588 | fail: | |
6589 | return NULL; | |
6590 | } | |
6591 | ||
6592 | ||
093d3ff1 | 6593 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6594 | PyObject *resultobj; |
6595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6596 | int result; |
cfe5e918 RD |
6597 | PyObject * obj0 = 0 ; |
6598 | char *kwnames[] = { | |
6599 | (char *) "self", NULL | |
6600 | }; | |
6601 | ||
093d3ff1 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(); | |
093d3ff1 | 6607 | result = (int)(arg1)->GetSelectionStart(); |
cfe5e918 RD |
6608 | |
6609 | wxPyEndAllowThreads(__tstate); | |
6610 | if (PyErr_Occurred()) SWIG_fail; | |
6611 | } | |
6612 | { | |
093d3ff1 | 6613 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6614 | } |
6615 | return resultobj; | |
6616 | fail: | |
6617 | return NULL; | |
6618 | } | |
6619 | ||
6620 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 6628 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
6629 | }; |
6630 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 6652 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6653 | PyObject *resultobj; |
6654 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6655 | int result; |
cfe5e918 RD |
6656 | PyObject * obj0 = 0 ; |
6657 | char *kwnames[] = { | |
6658 | (char *) "self", NULL | |
6659 | }; | |
6660 | ||
093d3ff1 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(); | |
093d3ff1 | 6666 | result = (int)(arg1)->GetSelectionEnd(); |
cfe5e918 RD |
6667 | |
6668 | wxPyEndAllowThreads(__tstate); | |
6669 | if (PyErr_Occurred()) SWIG_fail; | |
6670 | } | |
6671 | { | |
093d3ff1 | 6672 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6673 | } |
6674 | return resultobj; | |
6675 | fail: | |
6676 | return NULL; | |
6677 | } | |
6678 | ||
6679 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 6687 | (char *) "self",(char *) "magnification", NULL |
cfe5e918 RD |
6688 | }; |
6689 | ||
093d3ff1 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(); | |
093d3ff1 | 6699 | (arg1)->SetPrintMagnification(arg2); |
cfe5e918 RD |
6700 | |
6701 | wxPyEndAllowThreads(__tstate); | |
6702 | if (PyErr_Occurred()) SWIG_fail; | |
6703 | } | |
093d3ff1 | 6704 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6705 | return resultobj; |
6706 | fail: | |
6707 | return NULL; | |
6708 | } | |
6709 | ||
6710 | ||
093d3ff1 | 6711 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6712 | PyObject *resultobj; |
6713 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6714 | int result; |
cfe5e918 | 6715 | PyObject * obj0 = 0 ; |
cfe5e918 | 6716 | char *kwnames[] = { |
093d3ff1 | 6717 | (char *) "self", NULL |
cfe5e918 RD |
6718 | }; |
6719 | ||
093d3ff1 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(); | |
093d3ff1 | 6725 | result = (int)(arg1)->GetPrintMagnification(); |
cfe5e918 RD |
6726 | |
6727 | wxPyEndAllowThreads(__tstate); | |
6728 | if (PyErr_Occurred()) SWIG_fail; | |
6729 | } | |
093d3ff1 RD |
6730 | { |
6731 | resultobj = SWIG_From_int((int)(result)); | |
6732 | } | |
cfe5e918 RD |
6733 | return resultobj; |
6734 | fail: | |
6735 | return NULL; | |
6736 | } | |
6737 | ||
6738 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 6746 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
6747 | }; |
6748 | ||
093d3ff1 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(); | |
093d3ff1 | 6758 | (arg1)->SetPrintColourMode(arg2); |
cfe5e918 RD |
6759 | |
6760 | wxPyEndAllowThreads(__tstate); | |
6761 | if (PyErr_Occurred()) SWIG_fail; | |
6762 | } | |
093d3ff1 | 6763 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
6764 | return resultobj; |
6765 | fail: | |
6766 | return NULL; | |
6767 | } | |
6768 | ||
6769 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 6776 | (char *) "self", NULL |
cfe5e918 RD |
6777 | }; |
6778 | ||
093d3ff1 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(); | |
093d3ff1 | 6784 | result = (int)(arg1)->GetPrintColourMode(); |
cfe5e918 RD |
6785 | |
6786 | wxPyEndAllowThreads(__tstate); | |
6787 | if (PyErr_Occurred()) SWIG_fail; | |
6788 | } | |
093d3ff1 RD |
6789 | { |
6790 | resultobj = SWIG_From_int((int)(result)); | |
6791 | } | |
cfe5e918 RD |
6792 | return resultobj; |
6793 | fail: | |
6794 | return NULL; | |
6795 | } | |
6796 | ||
6797 | ||
093d3ff1 | 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 ; | |
093d3ff1 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 ; | |
093d3ff1 RD |
6810 | PyObject * obj3 = 0 ; |
6811 | PyObject * obj4 = 0 ; | |
cfe5e918 | 6812 | char *kwnames[] = { |
093d3ff1 | 6813 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL |
cfe5e918 RD |
6814 | }; |
6815 | ||
093d3ff1 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(); | |
093d3ff1 | 6840 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); |
cfe5e918 RD |
6841 | |
6842 | wxPyEndAllowThreads(__tstate); | |
6843 | if (PyErr_Occurred()) SWIG_fail; | |
6844 | } | |
093d3ff1 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: | |
093d3ff1 RD |
6854 | { |
6855 | if (temp4) | |
6856 | delete arg4; | |
6857 | } | |
cfe5e918 RD |
6858 | return NULL; |
6859 | } | |
6860 | ||
6861 | ||
093d3ff1 | 6862 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6863 | PyObject *resultobj; |
6864 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 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 ; |
093d3ff1 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[] = { |
093d3ff1 | 6882 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL |
cfe5e918 RD |
6883 | }; |
6884 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | } | |
093d3ff1 RD |
6931 | { |
6932 | resultobj = SWIG_From_int((int)(result)); | |
6933 | } | |
cfe5e918 RD |
6934 | return resultobj; |
6935 | fail: | |
6936 | return NULL; | |
6937 | } | |
6938 | ||
6939 | ||
093d3ff1 | 6940 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6941 | PyObject *resultobj; |
6942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 6943 | int result; |
cfe5e918 | 6944 | PyObject * obj0 = 0 ; |
cfe5e918 | 6945 | char *kwnames[] = { |
093d3ff1 | 6946 | (char *) "self", NULL |
cfe5e918 RD |
6947 | }; |
6948 | ||
093d3ff1 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(); | |
093d3ff1 | 6954 | result = (int)(arg1)->GetFirstVisibleLine(); |
cfe5e918 RD |
6955 | |
6956 | wxPyEndAllowThreads(__tstate); | |
6957 | if (PyErr_Occurred()) SWIG_fail; | |
6958 | } | |
cfe5e918 | 6959 | { |
093d3ff1 | 6960 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
6961 | } |
6962 | return resultobj; | |
6963 | fail: | |
cfe5e918 RD |
6964 | return NULL; |
6965 | } | |
6966 | ||
6967 | ||
093d3ff1 | 6968 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
6969 | PyObject *resultobj; |
6970 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
6971 | int arg2 ; |
6972 | wxString result; | |
cfe5e918 RD |
6973 | PyObject * obj0 = 0 ; |
6974 | PyObject * obj1 = 0 ; | |
6975 | char *kwnames[] = { | |
093d3ff1 | 6976 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
6977 | }; |
6978 | ||
093d3ff1 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(); | |
093d3ff1 | 6988 | result = (arg1)->GetLine(arg2); |
cfe5e918 RD |
6989 | |
6990 | wxPyEndAllowThreads(__tstate); | |
6991 | if (PyErr_Occurred()) SWIG_fail; | |
6992 | } | |
093d3ff1 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 | ||
093d3ff1 | 7006 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7007 | PyObject *resultobj; |
7008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7009 | int result; |
cfe5e918 RD |
7010 | PyObject * obj0 = 0 ; |
7011 | char *kwnames[] = { | |
7012 | (char *) "self", NULL | |
7013 | }; | |
7014 | ||
093d3ff1 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(); | |
093d3ff1 | 7020 | result = (int)(arg1)->GetLineCount(); |
cfe5e918 RD |
7021 | |
7022 | wxPyEndAllowThreads(__tstate); | |
7023 | if (PyErr_Occurred()) SWIG_fail; | |
7024 | } | |
7025 | { | |
093d3ff1 | 7026 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
7027 | } |
7028 | return resultobj; | |
7029 | fail: | |
7030 | return NULL; | |
7031 | } | |
7032 | ||
7033 | ||
093d3ff1 | 7034 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7035 | PyObject *resultobj; |
7036 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7037 | int arg2 ; |
cfe5e918 | 7038 | PyObject * obj0 = 0 ; |
093d3ff1 | 7039 | PyObject * obj1 = 0 ; |
cfe5e918 | 7040 | char *kwnames[] = { |
093d3ff1 | 7041 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7042 | }; |
7043 | ||
093d3ff1 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(); | |
093d3ff1 | 7053 | (arg1)->SetMarginLeft(arg2); |
cfe5e918 RD |
7054 | |
7055 | wxPyEndAllowThreads(__tstate); | |
7056 | if (PyErr_Occurred()) SWIG_fail; | |
7057 | } | |
093d3ff1 | 7058 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7059 | return resultobj; |
7060 | fail: | |
7061 | return NULL; | |
7062 | } | |
7063 | ||
7064 | ||
093d3ff1 | 7065 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7066 | PyObject *resultobj; |
7067 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7068 | int result; |
cfe5e918 RD |
7069 | PyObject * obj0 = 0 ; |
7070 | char *kwnames[] = { | |
7071 | (char *) "self", NULL | |
7072 | }; | |
7073 | ||
093d3ff1 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(); | |
093d3ff1 | 7079 | result = (int)(arg1)->GetMarginLeft(); |
cfe5e918 RD |
7080 | |
7081 | wxPyEndAllowThreads(__tstate); | |
7082 | if (PyErr_Occurred()) SWIG_fail; | |
7083 | } | |
093d3ff1 RD |
7084 | { |
7085 | resultobj = SWIG_From_int((int)(result)); | |
7086 | } | |
cfe5e918 RD |
7087 | return resultobj; |
7088 | fail: | |
7089 | return NULL; | |
7090 | } | |
7091 | ||
7092 | ||
093d3ff1 | 7093 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7094 | PyObject *resultobj; |
7095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7096 | int arg2 ; |
cfe5e918 | 7097 | PyObject * obj0 = 0 ; |
093d3ff1 | 7098 | PyObject * obj1 = 0 ; |
cfe5e918 | 7099 | char *kwnames[] = { |
093d3ff1 | 7100 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7101 | }; |
7102 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 7124 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7125 | PyObject *resultobj; |
7126 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7127 | int result; |
cfe5e918 RD |
7128 | PyObject * obj0 = 0 ; |
7129 | char *kwnames[] = { | |
7130 | (char *) "self", NULL | |
7131 | }; | |
7132 | ||
093d3ff1 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(); | |
093d3ff1 | 7138 | result = (int)(arg1)->GetMarginRight(); |
cfe5e918 RD |
7139 | |
7140 | wxPyEndAllowThreads(__tstate); | |
7141 | if (PyErr_Occurred()) SWIG_fail; | |
7142 | } | |
093d3ff1 RD |
7143 | { |
7144 | resultobj = SWIG_From_int((int)(result)); | |
7145 | } | |
cfe5e918 RD |
7146 | return resultobj; |
7147 | fail: | |
7148 | return NULL; | |
7149 | } | |
7150 | ||
7151 | ||
093d3ff1 | 7152 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7153 | PyObject *resultobj; |
7154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7155 | bool result; |
cfe5e918 RD |
7156 | PyObject * obj0 = 0 ; |
7157 | char *kwnames[] = { | |
7158 | (char *) "self", NULL | |
7159 | }; | |
7160 | ||
093d3ff1 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(); | |
093d3ff1 | 7166 | result = (bool)(arg1)->GetModify(); |
cfe5e918 RD |
7167 | |
7168 | wxPyEndAllowThreads(__tstate); | |
7169 | if (PyErr_Occurred()) SWIG_fail; | |
7170 | } | |
093d3ff1 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 | ||
093d3ff1 | 7180 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7181 | PyObject *resultobj; |
7182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
7183 | int arg2 ; |
7184 | int arg3 ; | |
cfe5e918 | 7185 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
7186 | PyObject * obj1 = 0 ; |
7187 | PyObject * obj2 = 0 ; | |
7188 | char *kwnames[] = { | |
7189 | (char *) "self",(char *) "start",(char *) "end", NULL | |
cfe5e918 RD |
7190 | }; |
7191 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 7217 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7218 | PyObject *resultobj; |
7219 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7220 | wxString result; |
cfe5e918 RD |
7221 | PyObject * obj0 = 0 ; |
7222 | char *kwnames[] = { | |
7223 | (char *) "self", NULL | |
7224 | }; | |
7225 | ||
093d3ff1 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(); | |
093d3ff1 | 7231 | result = (arg1)->GetSelectedText(); |
cfe5e918 RD |
7232 | |
7233 | wxPyEndAllowThreads(__tstate); | |
7234 | if (PyErr_Occurred()) SWIG_fail; | |
7235 | } | |
093d3ff1 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 | ||
093d3ff1 | 7249 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7250 | PyObject *resultobj; |
7251 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
7252 | int arg2 ; |
7253 | int arg3 ; | |
7254 | wxString result; | |
cfe5e918 RD |
7255 | PyObject * obj0 = 0 ; |
7256 | PyObject * obj1 = 0 ; | |
093d3ff1 | 7257 | PyObject * obj2 = 0 ; |
cfe5e918 | 7258 | char *kwnames[] = { |
093d3ff1 | 7259 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
cfe5e918 RD |
7260 | }; |
7261 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 7275 | result = (arg1)->GetTextRange(arg2,arg3); |
cfe5e918 RD |
7276 | |
7277 | wxPyEndAllowThreads(__tstate); | |
7278 | if (PyErr_Occurred()) SWIG_fail; | |
7279 | } | |
cfe5e918 | 7280 | { |
093d3ff1 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 | ||
093d3ff1 | 7293 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7294 | PyObject *resultobj; |
7295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7296 | bool arg2 ; |
cfe5e918 | 7297 | PyObject * obj0 = 0 ; |
093d3ff1 | 7298 | PyObject * obj1 = 0 ; |
cfe5e918 | 7299 | char *kwnames[] = { |
093d3ff1 | 7300 | (char *) "self",(char *) "normal", NULL |
cfe5e918 RD |
7301 | }; |
7302 | ||
093d3ff1 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(); | |
093d3ff1 | 7312 | (arg1)->HideSelection(arg2); |
cfe5e918 RD |
7313 | |
7314 | wxPyEndAllowThreads(__tstate); | |
7315 | if (PyErr_Occurred()) SWIG_fail; | |
7316 | } | |
093d3ff1 | 7317 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7318 | return resultobj; |
7319 | fail: | |
7320 | return NULL; | |
7321 | } | |
7322 | ||
7323 | ||
093d3ff1 | 7324 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7325 | PyObject *resultobj; |
7326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7327 | int arg2 ; |
cfe5e918 RD |
7328 | int result; |
7329 | PyObject * obj0 = 0 ; | |
093d3ff1 | 7330 | PyObject * obj1 = 0 ; |
cfe5e918 | 7331 | char *kwnames[] = { |
093d3ff1 | 7332 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
7333 | }; |
7334 | ||
093d3ff1 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(); | |
093d3ff1 | 7344 | result = (int)(arg1)->LineFromPosition(arg2); |
cfe5e918 RD |
7345 | |
7346 | wxPyEndAllowThreads(__tstate); | |
7347 | if (PyErr_Occurred()) SWIG_fail; | |
7348 | } | |
093d3ff1 RD |
7349 | { |
7350 | resultobj = SWIG_From_int((int)(result)); | |
7351 | } | |
cfe5e918 RD |
7352 | return resultobj; |
7353 | fail: | |
7354 | return NULL; | |
7355 | } | |
7356 | ||
7357 | ||
093d3ff1 | 7358 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7359 | PyObject *resultobj; |
7360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
7361 | int arg2 ; |
7362 | int result; | |
cfe5e918 RD |
7363 | PyObject * obj0 = 0 ; |
7364 | PyObject * obj1 = 0 ; | |
7365 | char *kwnames[] = { | |
093d3ff1 | 7366 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
7367 | }; |
7368 | ||
093d3ff1 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(); | |
093d3ff1 | 7378 | result = (int)(arg1)->PositionFromLine(arg2); |
cfe5e918 RD |
7379 | |
7380 | wxPyEndAllowThreads(__tstate); | |
7381 | if (PyErr_Occurred()) SWIG_fail; | |
7382 | } | |
093d3ff1 RD |
7383 | { |
7384 | resultobj = SWIG_From_int((int)(result)); | |
7385 | } | |
cfe5e918 RD |
7386 | return resultobj; |
7387 | fail: | |
7388 | return NULL; | |
7389 | } | |
7390 | ||
7391 | ||
093d3ff1 | 7392 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7393 | PyObject *resultobj; |
7394 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
7395 | int arg2 ; |
7396 | int arg3 ; | |
cfe5e918 | 7397 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
7398 | PyObject * obj1 = 0 ; |
7399 | PyObject * obj2 = 0 ; | |
cfe5e918 | 7400 | char *kwnames[] = { |
093d3ff1 | 7401 | (char *) "self",(char *) "columns",(char *) "lines", NULL |
cfe5e918 RD |
7402 | }; |
7403 | ||
093d3ff1 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(); | |
093d3ff1 | 7417 | (arg1)->LineScroll(arg2,arg3); |
cfe5e918 RD |
7418 | |
7419 | wxPyEndAllowThreads(__tstate); | |
7420 | if (PyErr_Occurred()) SWIG_fail; | |
7421 | } | |
093d3ff1 | 7422 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7423 | return resultobj; |
7424 | fail: | |
7425 | return NULL; | |
7426 | } | |
7427 | ||
7428 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 7434 | (char *) "self", NULL |
cfe5e918 RD |
7435 | }; |
7436 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 7454 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7455 | PyObject *resultobj; |
7456 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
7457 | wxString *arg2 = 0 ; |
7458 | bool temp2 = false ; | |
cfe5e918 | 7459 | PyObject * obj0 = 0 ; |
093d3ff1 | 7460 | PyObject * obj1 = 0 ; |
cfe5e918 | 7461 | char *kwnames[] = { |
093d3ff1 | 7462 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
7463 | }; |
7464 | ||
093d3ff1 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(); | |
093d3ff1 | 7475 | (arg1)->ReplaceSelection((wxString const &)*arg2); |
cfe5e918 RD |
7476 | |
7477 | wxPyEndAllowThreads(__tstate); | |
7478 | if (PyErr_Occurred()) SWIG_fail; | |
7479 | } | |
093d3ff1 RD |
7480 | Py_INCREF(Py_None); resultobj = Py_None; |
7481 | { | |
7482 | if (temp2) | |
7483 | delete arg2; | |
7484 | } | |
cfe5e918 RD |
7485 | return resultobj; |
7486 | fail: | |
093d3ff1 RD |
7487 | { |
7488 | if (temp2) | |
7489 | delete arg2; | |
7490 | } | |
cfe5e918 RD |
7491 | return NULL; |
7492 | } | |
7493 | ||
7494 | ||
093d3ff1 | 7495 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7496 | PyObject *resultobj; |
7497 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7498 | bool arg2 ; |
cfe5e918 RD |
7499 | PyObject * obj0 = 0 ; |
7500 | PyObject * obj1 = 0 ; | |
7501 | char *kwnames[] = { | |
093d3ff1 | 7502 | (char *) "self",(char *) "readOnly", NULL |
cfe5e918 RD |
7503 | }; |
7504 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 7526 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7527 | PyObject *resultobj; |
7528 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7529 | bool result; |
cfe5e918 RD |
7530 | PyObject * obj0 = 0 ; |
7531 | char *kwnames[] = { | |
7532 | (char *) "self", NULL | |
7533 | }; | |
7534 | ||
093d3ff1 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(); | |
093d3ff1 | 7540 | result = (bool)(arg1)->CanPaste(); |
cfe5e918 RD |
7541 | |
7542 | wxPyEndAllowThreads(__tstate); | |
7543 | if (PyErr_Occurred()) SWIG_fail; | |
7544 | } | |
093d3ff1 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 | ||
093d3ff1 | 7554 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7555 | PyObject *resultobj; |
7556 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7557 | bool result; |
cfe5e918 | 7558 | PyObject * obj0 = 0 ; |
cfe5e918 | 7559 | char *kwnames[] = { |
093d3ff1 | 7560 | (char *) "self", NULL |
cfe5e918 RD |
7561 | }; |
7562 | ||
093d3ff1 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(); | |
093d3ff1 | 7568 | result = (bool)(arg1)->CanUndo(); |
cfe5e918 RD |
7569 | |
7570 | wxPyEndAllowThreads(__tstate); | |
7571 | if (PyErr_Occurred()) SWIG_fail; | |
7572 | } | |
093d3ff1 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 7595 | (arg1)->EmptyUndoBuffer(); |
cfe5e918 RD |
7596 | |
7597 | wxPyEndAllowThreads(__tstate); | |
7598 | if (PyErr_Occurred()) SWIG_fail; | |
7599 | } | |
093d3ff1 | 7600 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7601 | return resultobj; |
7602 | fail: | |
7603 | return NULL; | |
7604 | } | |
7605 | ||
7606 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 7612 | (char *) "self", NULL |
cfe5e918 RD |
7613 | }; |
7614 | ||
093d3ff1 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(); | |
093d3ff1 | 7620 | (arg1)->Undo(); |
cfe5e918 RD |
7621 | |
7622 | wxPyEndAllowThreads(__tstate); | |
7623 | if (PyErr_Occurred()) SWIG_fail; | |
7624 | } | |
093d3ff1 | 7625 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7626 | return resultobj; |
7627 | fail: | |
cfe5e918 RD |
7628 | return NULL; |
7629 | } | |
7630 | ||
7631 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 7637 | (char *) "self", NULL |
cfe5e918 RD |
7638 | }; |
7639 | ||
093d3ff1 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(); | |
093d3ff1 | 7645 | (arg1)->Cut(); |
cfe5e918 RD |
7646 | |
7647 | wxPyEndAllowThreads(__tstate); | |
7648 | if (PyErr_Occurred()) SWIG_fail; | |
7649 | } | |
093d3ff1 | 7650 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7651 | return resultobj; |
7652 | fail: | |
cfe5e918 RD |
7653 | return NULL; |
7654 | } | |
7655 | ||
7656 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 7662 | (char *) "self", NULL |
cfe5e918 RD |
7663 | }; |
7664 | ||
093d3ff1 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(); | |
093d3ff1 | 7670 | (arg1)->Copy(); |
cfe5e918 RD |
7671 | |
7672 | wxPyEndAllowThreads(__tstate); | |
7673 | if (PyErr_Occurred()) SWIG_fail; | |
7674 | } | |
093d3ff1 | 7675 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7676 | return resultobj; |
7677 | fail: | |
cfe5e918 RD |
7678 | return NULL; |
7679 | } | |
7680 | ||
7681 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 7687 | (char *) "self", NULL |
cfe5e918 RD |
7688 | }; |
7689 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 7720 | (arg1)->Clear(); |
cfe5e918 RD |
7721 | |
7722 | wxPyEndAllowThreads(__tstate); | |
7723 | if (PyErr_Occurred()) SWIG_fail; | |
7724 | } | |
093d3ff1 | 7725 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7726 | return resultobj; |
7727 | fail: | |
7728 | return NULL; | |
7729 | } | |
7730 | ||
7731 | ||
093d3ff1 | 7732 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7733 | PyObject *resultobj; |
7734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
7735 | wxString *arg2 = 0 ; |
7736 | bool temp2 = false ; | |
cfe5e918 RD |
7737 | PyObject * obj0 = 0 ; |
7738 | PyObject * obj1 = 0 ; | |
cfe5e918 | 7739 | char *kwnames[] = { |
093d3ff1 | 7740 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
7741 | }; |
7742 | ||
093d3ff1 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 | { |
093d3ff1 RD |
7747 | arg2 = wxString_in_helper(obj1); |
7748 | if (arg2 == NULL) SWIG_fail; | |
7749 | temp2 = true; | |
cfe5e918 RD |
7750 | } |
7751 | { | |
7752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | { | |
093d3ff1 RD |
7760 | if (temp2) |
7761 | delete arg2; | |
cfe5e918 RD |
7762 | } |
7763 | return resultobj; | |
7764 | fail: | |
7765 | { | |
093d3ff1 RD |
7766 | if (temp2) |
7767 | delete arg2; | |
cfe5e918 RD |
7768 | } |
7769 | return NULL; | |
7770 | } | |
7771 | ||
7772 | ||
093d3ff1 | 7773 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7774 | PyObject *resultobj; |
7775 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7776 | wxString result; |
cfe5e918 RD |
7777 | PyObject * obj0 = 0 ; |
7778 | char *kwnames[] = { | |
7779 | (char *) "self", NULL | |
7780 | }; | |
7781 | ||
093d3ff1 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(); | |
093d3ff1 | 7787 | result = (arg1)->GetText(); |
cfe5e918 RD |
7788 | |
7789 | wxPyEndAllowThreads(__tstate); | |
7790 | if (PyErr_Occurred()) SWIG_fail; | |
7791 | } | |
093d3ff1 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 | ||
093d3ff1 | 7805 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7806 | PyObject *resultobj; |
7807 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7808 | int result; |
cfe5e918 RD |
7809 | PyObject * obj0 = 0 ; |
7810 | char *kwnames[] = { | |
7811 | (char *) "self", NULL | |
7812 | }; | |
7813 | ||
093d3ff1 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(); | |
093d3ff1 | 7819 | result = (int)(arg1)->GetTextLength(); |
cfe5e918 RD |
7820 | |
7821 | wxPyEndAllowThreads(__tstate); | |
7822 | if (PyErr_Occurred()) SWIG_fail; | |
7823 | } | |
7824 | { | |
093d3ff1 | 7825 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
7826 | } |
7827 | return resultobj; | |
7828 | fail: | |
7829 | return NULL; | |
7830 | } | |
7831 | ||
7832 | ||
093d3ff1 | 7833 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7834 | PyObject *resultobj; |
7835 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7836 | bool arg2 ; |
cfe5e918 | 7837 | PyObject * obj0 = 0 ; |
093d3ff1 | 7838 | PyObject * obj1 = 0 ; |
cfe5e918 | 7839 | char *kwnames[] = { |
093d3ff1 | 7840 | (char *) "self",(char *) "overtype", NULL |
cfe5e918 RD |
7841 | }; |
7842 | ||
093d3ff1 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(); | |
093d3ff1 | 7852 | (arg1)->SetOvertype(arg2); |
cfe5e918 RD |
7853 | |
7854 | wxPyEndAllowThreads(__tstate); | |
7855 | if (PyErr_Occurred()) SWIG_fail; | |
7856 | } | |
093d3ff1 | 7857 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
7858 | return resultobj; |
7859 | fail: | |
7860 | return NULL; | |
7861 | } | |
7862 | ||
7863 | ||
093d3ff1 | 7864 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7865 | PyObject *resultobj; |
7866 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7867 | bool result; |
cfe5e918 | 7868 | PyObject * obj0 = 0 ; |
cfe5e918 | 7869 | char *kwnames[] = { |
093d3ff1 | 7870 | (char *) "self", NULL |
cfe5e918 RD |
7871 | }; |
7872 | ||
093d3ff1 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(); | |
093d3ff1 | 7878 | result = (bool)(arg1)->GetOvertype(); |
cfe5e918 RD |
7879 | |
7880 | wxPyEndAllowThreads(__tstate); | |
7881 | if (PyErr_Occurred()) SWIG_fail; | |
7882 | } | |
093d3ff1 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 | ||
093d3ff1 | 7892 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7893 | PyObject *resultobj; |
7894 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7895 | int arg2 ; |
cfe5e918 RD |
7896 | PyObject * obj0 = 0 ; |
7897 | PyObject * obj1 = 0 ; | |
7898 | char *kwnames[] = { | |
093d3ff1 | 7899 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
7900 | }; |
7901 | ||
093d3ff1 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 | { |
093d3ff1 RD |
7906 | arg2 = (int)(SWIG_As_int(obj1)); |
7907 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
7908 | } |
7909 | { | |
7910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 7923 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7924 | PyObject *resultobj; |
7925 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7926 | int result; |
cfe5e918 | 7927 | PyObject * obj0 = 0 ; |
cfe5e918 | 7928 | char *kwnames[] = { |
093d3ff1 | 7929 | (char *) "self", NULL |
cfe5e918 RD |
7930 | }; |
7931 | ||
093d3ff1 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(); | |
093d3ff1 | 7937 | result = (int)(arg1)->GetCaretWidth(); |
cfe5e918 RD |
7938 | |
7939 | wxPyEndAllowThreads(__tstate); | |
7940 | if (PyErr_Occurred()) SWIG_fail; | |
7941 | } | |
093d3ff1 RD |
7942 | { |
7943 | resultobj = SWIG_From_int((int)(result)); | |
7944 | } | |
cfe5e918 RD |
7945 | return resultobj; |
7946 | fail: | |
7947 | return NULL; | |
7948 | } | |
7949 | ||
7950 | ||
093d3ff1 | 7951 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
7952 | PyObject *resultobj; |
7953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 7954 | int arg2 ; |
cfe5e918 RD |
7955 | PyObject * obj0 = 0 ; |
7956 | PyObject * obj1 = 0 ; | |
7957 | char *kwnames[] = { | |
093d3ff1 | 7958 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
7959 | }; |
7960 | ||
093d3ff1 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 | { |
093d3ff1 RD |
7965 | arg2 = (int)(SWIG_As_int(obj1)); |
7966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
7967 | } |
7968 | { | |
7969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 7988 | (char *) "self", NULL |
cfe5e918 RD |
7989 | }; |
7990 | ||
093d3ff1 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(); | |
093d3ff1 | 7996 | result = (int)(arg1)->GetTargetStart(); |
cfe5e918 RD |
7997 | |
7998 | wxPyEndAllowThreads(__tstate); | |
7999 | if (PyErr_Occurred()) SWIG_fail; | |
8000 | } | |
093d3ff1 RD |
8001 | { |
8002 | resultobj = SWIG_From_int((int)(result)); | |
8003 | } | |
cfe5e918 RD |
8004 | return resultobj; |
8005 | fail: | |
8006 | return NULL; | |
8007 | } | |
8008 | ||
8009 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 8017 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
8018 | }; |
8019 | ||
093d3ff1 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(); | |
093d3ff1 | 8029 | (arg1)->SetTargetEnd(arg2); |
cfe5e918 RD |
8030 | |
8031 | wxPyEndAllowThreads(__tstate); | |
8032 | if (PyErr_Occurred()) SWIG_fail; | |
8033 | } | |
093d3ff1 | 8034 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8035 | return resultobj; |
8036 | fail: | |
8037 | return NULL; | |
8038 | } | |
8039 | ||
8040 | ||
093d3ff1 | 8041 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8042 | PyObject *resultobj; |
8043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 8044 | int result; |
cfe5e918 | 8045 | PyObject * obj0 = 0 ; |
cfe5e918 | 8046 | char *kwnames[] = { |
093d3ff1 | 8047 | (char *) "self", NULL |
cfe5e918 RD |
8048 | }; |
8049 | ||
093d3ff1 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(); | |
093d3ff1 | 8055 | result = (int)(arg1)->GetTargetEnd(); |
cfe5e918 RD |
8056 | |
8057 | wxPyEndAllowThreads(__tstate); | |
8058 | if (PyErr_Occurred()) SWIG_fail; | |
8059 | } | |
093d3ff1 RD |
8060 | { |
8061 | resultobj = SWIG_From_int((int)(result)); | |
8062 | } | |
cfe5e918 RD |
8063 | return resultobj; |
8064 | fail: | |
8065 | return NULL; | |
8066 | } | |
8067 | ||
8068 | ||
093d3ff1 | 8069 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8070 | PyObject *resultobj; |
8071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 8072 | wxString *arg2 = 0 ; |
cfe5e918 | 8073 | int result; |
093d3ff1 | 8074 | bool temp2 = false ; |
cfe5e918 RD |
8075 | PyObject * obj0 = 0 ; |
8076 | PyObject * obj1 = 0 ; | |
8077 | char *kwnames[] = { | |
093d3ff1 | 8078 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8079 | }; |
8080 | ||
093d3ff1 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(); | |
093d3ff1 | 8091 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); |
cfe5e918 RD |
8092 | |
8093 | wxPyEndAllowThreads(__tstate); | |
8094 | if (PyErr_Occurred()) SWIG_fail; | |
8095 | } | |
093d3ff1 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: | |
093d3ff1 RD |
8105 | { |
8106 | if (temp2) | |
8107 | delete arg2; | |
8108 | } | |
cfe5e918 RD |
8109 | return NULL; |
8110 | } | |
8111 | ||
8112 | ||
093d3ff1 | 8113 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8114 | PyObject *resultobj; |
8115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 8116 | wxString *arg2 = 0 ; |
cfe5e918 | 8117 | int result; |
093d3ff1 | 8118 | bool temp2 = false ; |
cfe5e918 RD |
8119 | PyObject * obj0 = 0 ; |
8120 | PyObject * obj1 = 0 ; | |
cfe5e918 | 8121 | char *kwnames[] = { |
093d3ff1 | 8122 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8123 | }; |
8124 | ||
093d3ff1 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(); | |
093d3ff1 | 8135 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); |
cfe5e918 RD |
8136 | |
8137 | wxPyEndAllowThreads(__tstate); | |
8138 | if (PyErr_Occurred()) SWIG_fail; | |
8139 | } | |
093d3ff1 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: | |
093d3ff1 RD |
8149 | { |
8150 | if (temp2) | |
8151 | delete arg2; | |
8152 | } | |
cfe5e918 RD |
8153 | return NULL; |
8154 | } | |
8155 | ||
8156 | ||
093d3ff1 | 8157 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8158 | PyObject *resultobj; |
8159 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 8160 | wxString *arg2 = 0 ; |
cfe5e918 | 8161 | int result; |
093d3ff1 | 8162 | bool temp2 = false ; |
cfe5e918 RD |
8163 | PyObject * obj0 = 0 ; |
8164 | PyObject * obj1 = 0 ; | |
8165 | char *kwnames[] = { | |
093d3ff1 | 8166 | (char *) "self",(char *) "text", NULL |
cfe5e918 RD |
8167 | }; |
8168 | ||
093d3ff1 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(); | |
093d3ff1 | 8179 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); |
cfe5e918 RD |
8180 | |
8181 | wxPyEndAllowThreads(__tstate); | |
8182 | if (PyErr_Occurred()) SWIG_fail; | |
8183 | } | |
093d3ff1 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: | |
093d3ff1 RD |
8193 | { |
8194 | if (temp2) | |
8195 | delete arg2; | |
8196 | } | |
cfe5e918 RD |
8197 | return NULL; |
8198 | } | |
8199 | ||
8200 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 8208 | (char *) "self",(char *) "flags", NULL |
cfe5e918 RD |
8209 | }; |
8210 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 8232 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8233 | PyObject *resultobj; |
8234 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 8235 | int result; |
cfe5e918 | 8236 | PyObject * obj0 = 0 ; |
cfe5e918 | 8237 | char *kwnames[] = { |
093d3ff1 | 8238 | (char *) "self", NULL |
cfe5e918 RD |
8239 | }; |
8240 | ||
093d3ff1 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(); | |
093d3ff1 | 8246 | result = (int)(arg1)->GetSearchFlags(); |
cfe5e918 RD |
8247 | |
8248 | wxPyEndAllowThreads(__tstate); | |
8249 | if (PyErr_Occurred()) SWIG_fail; | |
8250 | } | |
093d3ff1 RD |
8251 | { |
8252 | resultobj = SWIG_From_int((int)(result)); | |
8253 | } | |
cfe5e918 RD |
8254 | return resultobj; |
8255 | fail: | |
8256 | return NULL; | |
8257 | } | |
8258 | ||
8259 | ||
093d3ff1 | 8260 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8261 | PyObject *resultobj; |
8262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8263 | int arg2 ; | |
093d3ff1 RD |
8264 | wxString *arg3 = 0 ; |
8265 | bool temp3 = false ; | |
cfe5e918 RD |
8266 | PyObject * obj0 = 0 ; |
8267 | PyObject * obj1 = 0 ; | |
093d3ff1 | 8268 | PyObject * obj2 = 0 ; |
cfe5e918 | 8269 | char *kwnames[] = { |
093d3ff1 | 8270 | (char *) "self",(char *) "pos",(char *) "definition", NULL |
cfe5e918 RD |
8271 | }; |
8272 | ||
093d3ff1 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(); | |
093d3ff1 | 8287 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
8288 | |
8289 | wxPyEndAllowThreads(__tstate); | |
8290 | if (PyErr_Occurred()) SWIG_fail; | |
8291 | } | |
093d3ff1 | 8292 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 8293 | { |
093d3ff1 RD |
8294 | if (temp3) |
8295 | delete arg3; | |
cfe5e918 RD |
8296 | } |
8297 | return resultobj; | |
8298 | fail: | |
093d3ff1 RD |
8299 | { |
8300 | if (temp3) | |
8301 | delete arg3; | |
8302 | } | |
cfe5e918 RD |
8303 | return NULL; |
8304 | } | |
8305 | ||
8306 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 8312 | (char *) "self", NULL |
cfe5e918 RD |
8313 | }; |
8314 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 8338 | (char *) "self", NULL |
cfe5e918 RD |
8339 | }; |
8340 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 8360 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8361 | PyObject *resultobj; |
8362 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 8363 | int result; |
cfe5e918 | 8364 | PyObject * obj0 = 0 ; |
cfe5e918 | 8365 | char *kwnames[] = { |
093d3ff1 | 8366 | (char *) "self", NULL |
cfe5e918 RD |
8367 | }; |
8368 | ||
093d3ff1 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(); | |
093d3ff1 | 8374 | result = (int)(arg1)->CallTipPosAtStart(); |
cfe5e918 RD |
8375 | |
8376 | wxPyEndAllowThreads(__tstate); | |
8377 | if (PyErr_Occurred()) SWIG_fail; | |
8378 | } | |
093d3ff1 RD |
8379 | { |
8380 | resultobj = SWIG_From_int((int)(result)); | |
8381 | } | |
cfe5e918 RD |
8382 | return resultobj; |
8383 | fail: | |
8384 | return NULL; | |
8385 | } | |
8386 | ||
8387 | ||
093d3ff1 | 8388 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8389 | PyObject *resultobj; |
8390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8391 | int arg2 ; | |
093d3ff1 | 8392 | int arg3 ; |
cfe5e918 RD |
8393 | PyObject * obj0 = 0 ; |
8394 | PyObject * obj1 = 0 ; | |
093d3ff1 | 8395 | PyObject * obj2 = 0 ; |
cfe5e918 | 8396 | char *kwnames[] = { |
093d3ff1 | 8397 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
8398 | }; |
8399 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 8425 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8426 | PyObject *resultobj; |
8427 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8428 | wxColour *arg2 = 0 ; |
8429 | wxColour temp2 ; | |
cfe5e918 RD |
8430 | PyObject * obj0 = 0 ; |
8431 | PyObject * obj1 = 0 ; | |
8432 | char *kwnames[] = { | |
093d3ff1 | 8433 | (char *) "self",(char *) "back", NULL |
cfe5e918 RD |
8434 | }; |
8435 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 8457 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8458 | PyObject *resultobj; |
8459 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8460 | wxColour *arg2 = 0 ; |
8461 | wxColour temp2 ; | |
cfe5e918 RD |
8462 | PyObject * obj0 = 0 ; |
8463 | PyObject * obj1 = 0 ; | |
8464 | char *kwnames[] = { | |
093d3ff1 | 8465 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
8466 | }; |
8467 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 8489 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8490 | PyObject *resultobj; |
8491 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8492 | wxColour *arg2 = 0 ; |
8493 | wxColour temp2 ; | |
cfe5e918 RD |
8494 | PyObject * obj0 = 0 ; |
8495 | PyObject * obj1 = 0 ; | |
8496 | char *kwnames[] = { | |
093d3ff1 | 8497 | (char *) "self",(char *) "fore", NULL |
cfe5e918 RD |
8498 | }; |
8499 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 8521 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8522 | PyObject *resultobj; |
8523 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8524 | int arg2 ; |
8525 | int result; | |
cfe5e918 | 8526 | PyObject * obj0 = 0 ; |
093d3ff1 | 8527 | PyObject * obj1 = 0 ; |
cfe5e918 | 8528 | char *kwnames[] = { |
093d3ff1 | 8529 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8530 | }; |
8531 | ||
093d3ff1 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(); | |
093d3ff1 | 8541 | result = (int)(arg1)->VisibleFromDocLine(arg2); |
cfe5e918 RD |
8542 | |
8543 | wxPyEndAllowThreads(__tstate); | |
8544 | if (PyErr_Occurred()) SWIG_fail; | |
8545 | } | |
8546 | { | |
093d3ff1 | 8547 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
8548 | } |
8549 | return resultobj; | |
8550 | fail: | |
8551 | return NULL; | |
8552 | } | |
8553 | ||
8554 | ||
093d3ff1 | 8555 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8556 | PyObject *resultobj; |
8557 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8558 | int arg2 ; |
8559 | int result; | |
cfe5e918 RD |
8560 | PyObject * obj0 = 0 ; |
8561 | PyObject * obj1 = 0 ; | |
8562 | char *kwnames[] = { | |
093d3ff1 | 8563 | (char *) "self",(char *) "lineDisplay", NULL |
cfe5e918 RD |
8564 | }; |
8565 | ||
093d3ff1 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(); | |
093d3ff1 | 8575 | result = (int)(arg1)->DocLineFromVisible(arg2); |
cfe5e918 RD |
8576 | |
8577 | wxPyEndAllowThreads(__tstate); | |
8578 | if (PyErr_Occurred()) SWIG_fail; | |
8579 | } | |
093d3ff1 RD |
8580 | { |
8581 | resultobj = SWIG_From_int((int)(result)); | |
8582 | } | |
cfe5e918 RD |
8583 | return resultobj; |
8584 | fail: | |
8585 | return NULL; | |
8586 | } | |
8587 | ||
8588 | ||
093d3ff1 | 8589 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8590 | PyObject *resultobj; |
8591 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8592 | int arg2 ; |
8593 | int arg3 ; | |
cfe5e918 | 8594 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
8595 | PyObject * obj1 = 0 ; |
8596 | PyObject * obj2 = 0 ; | |
cfe5e918 | 8597 | char *kwnames[] = { |
093d3ff1 | 8598 | (char *) "self",(char *) "line",(char *) "level", NULL |
cfe5e918 RD |
8599 | }; |
8600 | ||
093d3ff1 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(); | |
093d3ff1 | 8614 | (arg1)->SetFoldLevel(arg2,arg3); |
cfe5e918 RD |
8615 | |
8616 | wxPyEndAllowThreads(__tstate); | |
8617 | if (PyErr_Occurred()) SWIG_fail; | |
8618 | } | |
093d3ff1 | 8619 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8620 | return resultobj; |
8621 | fail: | |
8622 | return NULL; | |
8623 | } | |
8624 | ||
8625 | ||
093d3ff1 | 8626 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8627 | PyObject *resultobj; |
8628 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8629 | int arg2 ; | |
093d3ff1 | 8630 | int result; |
cfe5e918 RD |
8631 | PyObject * obj0 = 0 ; |
8632 | PyObject * obj1 = 0 ; | |
8633 | char *kwnames[] = { | |
093d3ff1 | 8634 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8635 | }; |
8636 | ||
093d3ff1 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(); | |
093d3ff1 | 8646 | result = (int)(arg1)->GetFoldLevel(arg2); |
cfe5e918 RD |
8647 | |
8648 | wxPyEndAllowThreads(__tstate); | |
8649 | if (PyErr_Occurred()) SWIG_fail; | |
8650 | } | |
093d3ff1 RD |
8651 | { |
8652 | resultobj = SWIG_From_int((int)(result)); | |
8653 | } | |
cfe5e918 RD |
8654 | return resultobj; |
8655 | fail: | |
8656 | return NULL; | |
8657 | } | |
8658 | ||
8659 | ||
093d3ff1 | 8660 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8661 | PyObject *resultobj; |
8662 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8663 | int arg2 ; |
8664 | int arg3 ; | |
cfe5e918 RD |
8665 | int result; |
8666 | PyObject * obj0 = 0 ; | |
093d3ff1 RD |
8667 | PyObject * obj1 = 0 ; |
8668 | PyObject * obj2 = 0 ; | |
cfe5e918 | 8669 | char *kwnames[] = { |
093d3ff1 | 8670 | (char *) "self",(char *) "line",(char *) "level", NULL |
cfe5e918 RD |
8671 | }; |
8672 | ||
093d3ff1 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(); | |
093d3ff1 | 8686 | result = (int)(arg1)->GetLastChild(arg2,arg3); |
cfe5e918 RD |
8687 | |
8688 | wxPyEndAllowThreads(__tstate); | |
8689 | if (PyErr_Occurred()) SWIG_fail; | |
8690 | } | |
093d3ff1 RD |
8691 | { |
8692 | resultobj = SWIG_From_int((int)(result)); | |
8693 | } | |
cfe5e918 RD |
8694 | return resultobj; |
8695 | fail: | |
8696 | return NULL; | |
8697 | } | |
8698 | ||
8699 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 8708 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8709 | }; |
8710 | ||
093d3ff1 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(); | |
093d3ff1 | 8720 | result = (int)(arg1)->GetFoldParent(arg2); |
cfe5e918 RD |
8721 | |
8722 | wxPyEndAllowThreads(__tstate); | |
8723 | if (PyErr_Occurred()) SWIG_fail; | |
8724 | } | |
093d3ff1 RD |
8725 | { |
8726 | resultobj = SWIG_From_int((int)(result)); | |
8727 | } | |
cfe5e918 RD |
8728 | return resultobj; |
8729 | fail: | |
8730 | return NULL; | |
8731 | } | |
8732 | ||
8733 | ||
093d3ff1 | 8734 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8735 | PyObject *resultobj; |
8736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8737 | int arg2 ; | |
093d3ff1 | 8738 | int arg3 ; |
cfe5e918 RD |
8739 | PyObject * obj0 = 0 ; |
8740 | PyObject * obj1 = 0 ; | |
8741 | PyObject * obj2 = 0 ; | |
8742 | char *kwnames[] = { | |
093d3ff1 | 8743 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
cfe5e918 RD |
8744 | }; |
8745 | ||
093d3ff1 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(); | |
093d3ff1 | 8759 | (arg1)->ShowLines(arg2,arg3); |
cfe5e918 RD |
8760 | |
8761 | wxPyEndAllowThreads(__tstate); | |
8762 | if (PyErr_Occurred()) SWIG_fail; | |
8763 | } | |
093d3ff1 | 8764 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
8765 | return resultobj; |
8766 | fail: | |
8767 | return NULL; | |
8768 | } | |
8769 | ||
8770 | ||
093d3ff1 | 8771 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8772 | PyObject *resultobj; |
8773 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8774 | int arg2 ; | |
093d3ff1 | 8775 | int arg3 ; |
cfe5e918 RD |
8776 | PyObject * obj0 = 0 ; |
8777 | PyObject * obj1 = 0 ; | |
093d3ff1 | 8778 | PyObject * obj2 = 0 ; |
cfe5e918 | 8779 | char *kwnames[] = { |
093d3ff1 | 8780 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
cfe5e918 RD |
8781 | }; |
8782 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 8808 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
8809 | PyObject *resultobj; |
8810 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8811 | int arg2 ; |
8812 | bool result; | |
cfe5e918 | 8813 | PyObject * obj0 = 0 ; |
093d3ff1 | 8814 | PyObject * obj1 = 0 ; |
cfe5e918 | 8815 | char *kwnames[] = { |
093d3ff1 | 8816 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
8817 | }; |
8818 | ||
093d3ff1 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(); | |
093d3ff1 | 8828 | result = (bool)(arg1)->GetLineVisible(arg2); |
cfe5e918 RD |
8829 | |
8830 | wxPyEndAllowThreads(__tstate); | |
8831 | if (PyErr_Occurred()) SWIG_fail; | |
8832 | } | |
093d3ff1 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 | ||
093d3ff1 | 8842 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
5e483524 RD |
8843 | PyObject *resultobj; |
8844 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8845 | int arg2 ; | |
093d3ff1 | 8846 | bool arg3 ; |
5e483524 RD |
8847 | PyObject * obj0 = 0 ; |
8848 | PyObject * obj1 = 0 ; | |
093d3ff1 | 8849 | PyObject * obj2 = 0 ; |
5e483524 | 8850 | char *kwnames[] = { |
093d3ff1 | 8851 | (char *) "self",(char *) "line",(char *) "expanded", NULL |
5e483524 RD |
8852 | }; |
8853 | ||
093d3ff1 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 | } | |
5e483524 RD |
8865 | { |
8866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 8867 | (arg1)->SetFoldExpanded(arg2,arg3); |
5e483524 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 | ||
093d3ff1 | 8879 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
5e483524 RD |
8880 | PyObject *resultobj; |
8881 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
8882 | int arg2 ; |
8883 | bool result; | |
5e483524 | 8884 | PyObject * obj0 = 0 ; |
093d3ff1 | 8885 | PyObject * obj1 = 0 ; |
5e483524 | 8886 | char *kwnames[] = { |
093d3ff1 | 8887 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
8888 | }; |
8889 | ||
093d3ff1 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 | } | |
5e483524 RD |
8897 | { |
8898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 8899 | result = (bool)(arg1)->GetFoldExpanded(arg2); |
5e483524 RD |
8900 | |
8901 | wxPyEndAllowThreads(__tstate); | |
8902 | if (PyErr_Occurred()) SWIG_fail; | |
8903 | } | |
093d3ff1 RD |
8904 | { |
8905 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8906 | } | |
5e483524 RD |
8907 | return resultobj; |
8908 | fail: | |
8909 | return NULL; | |
8910 | } | |
8911 | ||
8912 | ||
093d3ff1 | 8913 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { |
5e483524 RD |
8914 | PyObject *resultobj; |
8915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8916 | int arg2 ; | |
8917 | PyObject * obj0 = 0 ; | |
8918 | PyObject * obj1 = 0 ; | |
8919 | char *kwnames[] = { | |
093d3ff1 | 8920 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
8921 | }; |
8922 | ||
093d3ff1 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 | } | |
5e483524 RD |
8930 | { |
8931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 8932 | (arg1)->ToggleFold(arg2); |
5e483524 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 | ||
093d3ff1 | 8944 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
5e483524 RD |
8945 | PyObject *resultobj; |
8946 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 8947 | int arg2 ; |
5e483524 | 8948 | PyObject * obj0 = 0 ; |
093d3ff1 | 8949 | PyObject * obj1 = 0 ; |
5e483524 | 8950 | char *kwnames[] = { |
093d3ff1 | 8951 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
8952 | }; |
8953 | ||
093d3ff1 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 | } | |
5e483524 RD |
8961 | { |
8962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 8963 | (arg1)->EnsureVisible(arg2); |
5e483524 RD |
8964 | |
8965 | wxPyEndAllowThreads(__tstate); | |
8966 | if (PyErr_Occurred()) SWIG_fail; | |
8967 | } | |
093d3ff1 | 8968 | Py_INCREF(Py_None); resultobj = Py_None; |
5e483524 RD |
8969 | return resultobj; |
8970 | fail: | |
8971 | return NULL; | |
8972 | } | |
8973 | ||
8974 | ||
093d3ff1 | 8975 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
5e483524 RD |
8976 | PyObject *resultobj; |
8977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8978 | int arg2 ; | |
8979 | PyObject * obj0 = 0 ; | |
8980 | PyObject * obj1 = 0 ; | |
8981 | char *kwnames[] = { | |
093d3ff1 | 8982 | (char *) "self",(char *) "flags", NULL |
5e483524 RD |
8983 | }; |
8984 | ||
093d3ff1 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 | } | |
5e483524 RD |
8992 | { |
8993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 8994 | (arg1)->SetFoldFlags(arg2); |
5e483524 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 | ||
093d3ff1 | 9006 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
5e483524 RD |
9007 | PyObject *resultobj; |
9008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9009 | int arg2 ; |
5e483524 | 9010 | PyObject * obj0 = 0 ; |
093d3ff1 | 9011 | PyObject * obj1 = 0 ; |
5e483524 | 9012 | char *kwnames[] = { |
093d3ff1 | 9013 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
9014 | }; |
9015 | ||
093d3ff1 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 | } | |
5e483524 RD |
9023 | { |
9024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9025 | (arg1)->EnsureVisibleEnforcePolicy(arg2); |
5e483524 RD |
9026 | |
9027 | wxPyEndAllowThreads(__tstate); | |
9028 | if (PyErr_Occurred()) SWIG_fail; | |
9029 | } | |
093d3ff1 | 9030 | Py_INCREF(Py_None); resultobj = Py_None; |
5e483524 RD |
9031 | return resultobj; |
9032 | fail: | |
9033 | return NULL; | |
9034 | } | |
9035 | ||
9036 | ||
093d3ff1 | 9037 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9038 | PyObject *resultobj; |
9039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9040 | bool arg2 ; |
cfe5e918 RD |
9041 | PyObject * obj0 = 0 ; |
9042 | PyObject * obj1 = 0 ; | |
9043 | char *kwnames[] = { | |
093d3ff1 | 9044 | (char *) "self",(char *) "tabIndents", NULL |
cfe5e918 RD |
9045 | }; |
9046 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9068 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9069 | PyObject *resultobj; |
9070 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9071 | bool result; |
cfe5e918 RD |
9072 | PyObject * obj0 = 0 ; |
9073 | char *kwnames[] = { | |
9074 | (char *) "self", NULL | |
9075 | }; | |
9076 | ||
093d3ff1 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(); | |
093d3ff1 | 9082 | result = (bool)(arg1)->GetTabIndents(); |
cfe5e918 RD |
9083 | |
9084 | wxPyEndAllowThreads(__tstate); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
9086 | } | |
093d3ff1 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 | ||
093d3ff1 | 9096 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9097 | PyObject *resultobj; |
9098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9099 | bool arg2 ; |
cfe5e918 RD |
9100 | PyObject * obj0 = 0 ; |
9101 | PyObject * obj1 = 0 ; | |
9102 | char *kwnames[] = { | |
093d3ff1 | 9103 | (char *) "self",(char *) "bsUnIndents", NULL |
cfe5e918 RD |
9104 | }; |
9105 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9127 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9128 | PyObject *resultobj; |
9129 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9130 | bool result; |
cfe5e918 RD |
9131 | PyObject * obj0 = 0 ; |
9132 | char *kwnames[] = { | |
9133 | (char *) "self", NULL | |
9134 | }; | |
9135 | ||
093d3ff1 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(); | |
093d3ff1 | 9141 | result = (bool)(arg1)->GetBackSpaceUnIndents(); |
cfe5e918 RD |
9142 | |
9143 | wxPyEndAllowThreads(__tstate); | |
9144 | if (PyErr_Occurred()) SWIG_fail; | |
9145 | } | |
093d3ff1 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 9162 | (char *) "self",(char *) "periodMilliseconds", NULL |
cfe5e918 RD |
9163 | }; |
9164 | ||
093d3ff1 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 | { |
093d3ff1 RD |
9169 | arg2 = (int)(SWIG_As_int(obj1)); |
9170 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9171 | } |
9172 | { | |
9173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 9174 | (arg1)->SetMouseDwellTime(arg2); |
cfe5e918 RD |
9175 | |
9176 | wxPyEndAllowThreads(__tstate); | |
9177 | if (PyErr_Occurred()) SWIG_fail; | |
9178 | } | |
093d3ff1 | 9179 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
9180 | return resultobj; |
9181 | fail: | |
cfe5e918 RD |
9182 | return NULL; |
9183 | } | |
9184 | ||
9185 | ||
093d3ff1 | 9186 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9187 | PyObject *resultobj; |
9188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9189 | int result; |
cfe5e918 | 9190 | PyObject * obj0 = 0 ; |
cfe5e918 | 9191 | char *kwnames[] = { |
093d3ff1 | 9192 | (char *) "self", NULL |
cfe5e918 RD |
9193 | }; |
9194 | ||
093d3ff1 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(); | |
093d3ff1 | 9200 | result = (int)(arg1)->GetMouseDwellTime(); |
cfe5e918 RD |
9201 | |
9202 | wxPyEndAllowThreads(__tstate); | |
9203 | if (PyErr_Occurred()) SWIG_fail; | |
9204 | } | |
093d3ff1 RD |
9205 | { |
9206 | resultobj = SWIG_From_int((int)(result)); | |
9207 | } | |
cfe5e918 RD |
9208 | return resultobj; |
9209 | fail: | |
9210 | return NULL; | |
9211 | } | |
9212 | ||
9213 | ||
093d3ff1 | 9214 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9215 | PyObject *resultobj; |
9216 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
9217 | int arg2 ; |
9218 | bool arg3 ; | |
cfe5e918 RD |
9219 | int result; |
9220 | PyObject * obj0 = 0 ; | |
093d3ff1 RD |
9221 | PyObject * obj1 = 0 ; |
9222 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9223 | char *kwnames[] = { |
093d3ff1 | 9224 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
cfe5e918 RD |
9225 | }; |
9226 | ||
093d3ff1 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(); | |
093d3ff1 | 9240 | result = (int)(arg1)->WordStartPosition(arg2,arg3); |
cfe5e918 RD |
9241 | |
9242 | wxPyEndAllowThreads(__tstate); | |
9243 | if (PyErr_Occurred()) SWIG_fail; | |
9244 | } | |
093d3ff1 RD |
9245 | { |
9246 | resultobj = SWIG_From_int((int)(result)); | |
9247 | } | |
cfe5e918 RD |
9248 | return resultobj; |
9249 | fail: | |
9250 | return NULL; | |
9251 | } | |
9252 | ||
9253 | ||
093d3ff1 | 9254 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9255 | PyObject *resultobj; |
9256 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9257 | int arg2 ; | |
093d3ff1 | 9258 | bool arg3 ; |
cfe5e918 RD |
9259 | int result; |
9260 | PyObject * obj0 = 0 ; | |
9261 | PyObject * obj1 = 0 ; | |
093d3ff1 | 9262 | PyObject * obj2 = 0 ; |
cfe5e918 | 9263 | char *kwnames[] = { |
093d3ff1 | 9264 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
cfe5e918 RD |
9265 | }; |
9266 | ||
093d3ff1 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(); | |
093d3ff1 | 9280 | result = (int)(arg1)->WordEndPosition(arg2,arg3); |
cfe5e918 RD |
9281 | |
9282 | wxPyEndAllowThreads(__tstate); | |
9283 | if (PyErr_Occurred()) SWIG_fail; | |
9284 | } | |
093d3ff1 RD |
9285 | { |
9286 | resultobj = SWIG_From_int((int)(result)); | |
9287 | } | |
cfe5e918 RD |
9288 | return resultobj; |
9289 | fail: | |
9290 | return NULL; | |
9291 | } | |
9292 | ||
9293 | ||
093d3ff1 | 9294 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9295 | PyObject *resultobj; |
9296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9297 | int arg2 ; |
cfe5e918 RD |
9298 | PyObject * obj0 = 0 ; |
9299 | PyObject * obj1 = 0 ; | |
9300 | char *kwnames[] = { | |
093d3ff1 | 9301 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
9302 | }; |
9303 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9325 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9326 | PyObject *resultobj; |
9327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9328 | int result; |
cfe5e918 RD |
9329 | PyObject * obj0 = 0 ; |
9330 | char *kwnames[] = { | |
9331 | (char *) "self", NULL | |
9332 | }; | |
9333 | ||
093d3ff1 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(); | |
093d3ff1 | 9339 | result = (int)(arg1)->GetWrapMode(); |
cfe5e918 RD |
9340 | |
9341 | wxPyEndAllowThreads(__tstate); | |
9342 | if (PyErr_Occurred()) SWIG_fail; | |
9343 | } | |
9344 | { | |
093d3ff1 | 9345 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
9346 | } |
9347 | return resultobj; | |
9348 | fail: | |
9349 | return NULL; | |
9350 | } | |
9351 | ||
9352 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 9360 | (char *) "self",(char *) "wrapVisualFlags", NULL |
cfe5e918 RD |
9361 | }; |
9362 | ||
093d3ff1 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 | { |
093d3ff1 RD |
9367 | arg2 = (int)(SWIG_As_int(obj1)); |
9368 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9369 | } |
9370 | { | |
9371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9384 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9385 | PyObject *resultobj; |
9386 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9387 | int result; |
cfe5e918 RD |
9388 | PyObject * obj0 = 0 ; |
9389 | char *kwnames[] = { | |
9390 | (char *) "self", NULL | |
9391 | }; | |
9392 | ||
093d3ff1 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(); | |
093d3ff1 | 9398 | result = (int)(arg1)->GetWrapVisualFlags(); |
cfe5e918 RD |
9399 | |
9400 | wxPyEndAllowThreads(__tstate); | |
9401 | if (PyErr_Occurred()) SWIG_fail; | |
9402 | } | |
9403 | { | |
093d3ff1 | 9404 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
9405 | } |
9406 | return resultobj; | |
9407 | fail: | |
9408 | return NULL; | |
9409 | } | |
9410 | ||
9411 | ||
093d3ff1 | 9412 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9413 | PyObject *resultobj; |
9414 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9415 | int arg2 ; |
cfe5e918 RD |
9416 | PyObject * obj0 = 0 ; |
9417 | PyObject * obj1 = 0 ; | |
9418 | char *kwnames[] = { | |
093d3ff1 | 9419 | (char *) "self",(char *) "wrapVisualFlagsLocation", NULL |
cfe5e918 RD |
9420 | }; |
9421 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9443 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9444 | PyObject *resultobj; |
9445 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9446 | int result; |
cfe5e918 RD |
9447 | PyObject * obj0 = 0 ; |
9448 | char *kwnames[] = { | |
9449 | (char *) "self", NULL | |
9450 | }; | |
9451 | ||
093d3ff1 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(); | |
093d3ff1 | 9457 | result = (int)(arg1)->GetWrapVisualFlagsLocation(); |
cfe5e918 RD |
9458 | |
9459 | wxPyEndAllowThreads(__tstate); | |
9460 | if (PyErr_Occurred()) SWIG_fail; | |
9461 | } | |
093d3ff1 RD |
9462 | { |
9463 | resultobj = SWIG_From_int((int)(result)); | |
9464 | } | |
cfe5e918 RD |
9465 | return resultobj; |
9466 | fail: | |
9467 | return NULL; | |
9468 | } | |
9469 | ||
9470 | ||
093d3ff1 | 9471 | static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9472 | PyObject *resultobj; |
9473 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9474 | int arg2 ; |
cfe5e918 | 9475 | PyObject * obj0 = 0 ; |
093d3ff1 | 9476 | PyObject * obj1 = 0 ; |
cfe5e918 | 9477 | char *kwnames[] = { |
093d3ff1 | 9478 | (char *) "self",(char *) "indent", NULL |
cfe5e918 RD |
9479 | }; |
9480 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9502 | static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9503 | PyObject *resultobj; |
9504 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9505 | int result; |
cfe5e918 | 9506 | PyObject * obj0 = 0 ; |
cfe5e918 | 9507 | char *kwnames[] = { |
093d3ff1 | 9508 | (char *) "self", NULL |
cfe5e918 RD |
9509 | }; |
9510 | ||
093d3ff1 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(); | |
093d3ff1 | 9516 | result = (int)(arg1)->GetWrapStartIndent(); |
cfe5e918 RD |
9517 | |
9518 | wxPyEndAllowThreads(__tstate); | |
9519 | if (PyErr_Occurred()) SWIG_fail; | |
9520 | } | |
093d3ff1 RD |
9521 | { |
9522 | resultobj = SWIG_From_int((int)(result)); | |
9523 | } | |
cfe5e918 RD |
9524 | return resultobj; |
9525 | fail: | |
9526 | return NULL; | |
9527 | } | |
9528 | ||
9529 | ||
093d3ff1 | 9530 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9531 | PyObject *resultobj; |
9532 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9533 | int arg2 ; |
cfe5e918 RD |
9534 | PyObject * obj0 = 0 ; |
9535 | PyObject * obj1 = 0 ; | |
cfe5e918 | 9536 | char *kwnames[] = { |
093d3ff1 | 9537 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
9538 | }; |
9539 | ||
093d3ff1 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 | { |
093d3ff1 RD |
9544 | arg2 = (int)(SWIG_As_int(obj1)); |
9545 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
9546 | } |
9547 | { | |
9548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9561 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9562 | PyObject *resultobj; |
9563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9564 | int result; |
cfe5e918 | 9565 | PyObject * obj0 = 0 ; |
cfe5e918 | 9566 | char *kwnames[] = { |
093d3ff1 | 9567 | (char *) "self", NULL |
cfe5e918 RD |
9568 | }; |
9569 | ||
093d3ff1 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(); | |
093d3ff1 | 9575 | result = (int)(arg1)->GetLayoutCache(); |
cfe5e918 RD |
9576 | |
9577 | wxPyEndAllowThreads(__tstate); | |
9578 | if (PyErr_Occurred()) SWIG_fail; | |
9579 | } | |
093d3ff1 RD |
9580 | { |
9581 | resultobj = SWIG_From_int((int)(result)); | |
9582 | } | |
cfe5e918 RD |
9583 | return resultobj; |
9584 | fail: | |
9585 | return NULL; | |
9586 | } | |
9587 | ||
9588 | ||
093d3ff1 | 9589 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9590 | PyObject *resultobj; |
9591 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9592 | int arg2 ; |
cfe5e918 | 9593 | PyObject * obj0 = 0 ; |
093d3ff1 | 9594 | PyObject * obj1 = 0 ; |
cfe5e918 | 9595 | char *kwnames[] = { |
093d3ff1 | 9596 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
9597 | }; |
9598 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9620 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9621 | PyObject *resultobj; |
9622 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9623 | int result; |
cfe5e918 RD |
9624 | PyObject * obj0 = 0 ; |
9625 | char *kwnames[] = { | |
9626 | (char *) "self", NULL | |
9627 | }; | |
9628 | ||
093d3ff1 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(); | |
093d3ff1 | 9634 | result = (int)(arg1)->GetScrollWidth(); |
cfe5e918 RD |
9635 | |
9636 | wxPyEndAllowThreads(__tstate); | |
9637 | if (PyErr_Occurred()) SWIG_fail; | |
9638 | } | |
093d3ff1 RD |
9639 | { |
9640 | resultobj = SWIG_From_int((int)(result)); | |
9641 | } | |
cfe5e918 RD |
9642 | return resultobj; |
9643 | fail: | |
9644 | return NULL; | |
9645 | } | |
9646 | ||
9647 | ||
093d3ff1 | 9648 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9649 | PyObject *resultobj; |
9650 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
9651 | int arg2 ; |
9652 | wxString *arg3 = 0 ; | |
9653 | int result; | |
9654 | bool temp3 = false ; | |
cfe5e918 | 9655 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
9656 | PyObject * obj1 = 0 ; |
9657 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9658 | char *kwnames[] = { |
093d3ff1 | 9659 | (char *) "self",(char *) "style",(char *) "text", NULL |
cfe5e918 RD |
9660 | }; |
9661 | ||
093d3ff1 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(); | |
093d3ff1 | 9676 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
9677 | |
9678 | wxPyEndAllowThreads(__tstate); | |
9679 | if (PyErr_Occurred()) SWIG_fail; | |
9680 | } | |
093d3ff1 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: | |
093d3ff1 RD |
9690 | { |
9691 | if (temp3) | |
9692 | delete arg3; | |
9693 | } | |
cfe5e918 RD |
9694 | return NULL; |
9695 | } | |
9696 | ||
9697 | ||
093d3ff1 | 9698 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9699 | PyObject *resultobj; |
9700 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9701 | bool arg2 ; |
cfe5e918 | 9702 | PyObject * obj0 = 0 ; |
093d3ff1 | 9703 | PyObject * obj1 = 0 ; |
cfe5e918 | 9704 | char *kwnames[] = { |
093d3ff1 | 9705 | (char *) "self",(char *) "endAtLastLine", NULL |
cfe5e918 RD |
9706 | }; |
9707 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9729 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9730 | PyObject *resultobj; |
9731 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9732 | int result; |
cfe5e918 RD |
9733 | PyObject * obj0 = 0 ; |
9734 | char *kwnames[] = { | |
9735 | (char *) "self", NULL | |
9736 | }; | |
9737 | ||
093d3ff1 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(); | |
093d3ff1 | 9743 | result = (int)(arg1)->GetEndAtLastLine(); |
cfe5e918 RD |
9744 | |
9745 | wxPyEndAllowThreads(__tstate); | |
9746 | if (PyErr_Occurred()) SWIG_fail; | |
9747 | } | |
093d3ff1 RD |
9748 | { |
9749 | resultobj = SWIG_From_int((int)(result)); | |
9750 | } | |
cfe5e918 RD |
9751 | return resultobj; |
9752 | fail: | |
9753 | return NULL; | |
9754 | } | |
9755 | ||
9756 | ||
093d3ff1 | 9757 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9758 | PyObject *resultobj; |
9759 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
9760 | int arg2 ; |
9761 | int result; | |
cfe5e918 | 9762 | PyObject * obj0 = 0 ; |
093d3ff1 | 9763 | PyObject * obj1 = 0 ; |
cfe5e918 | 9764 | char *kwnames[] = { |
093d3ff1 | 9765 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
9766 | }; |
9767 | ||
093d3ff1 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(); | |
093d3ff1 | 9777 | result = (int)(arg1)->TextHeight(arg2); |
cfe5e918 RD |
9778 | |
9779 | wxPyEndAllowThreads(__tstate); | |
9780 | if (PyErr_Occurred()) SWIG_fail; | |
9781 | } | |
093d3ff1 RD |
9782 | { |
9783 | resultobj = SWIG_From_int((int)(result)); | |
9784 | } | |
cfe5e918 RD |
9785 | return resultobj; |
9786 | fail: | |
9787 | return NULL; | |
9788 | } | |
9789 | ||
9790 | ||
093d3ff1 | 9791 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9792 | PyObject *resultobj; |
9793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9794 | bool arg2 ; |
cfe5e918 | 9795 | PyObject * obj0 = 0 ; |
093d3ff1 | 9796 | PyObject * obj1 = 0 ; |
cfe5e918 | 9797 | char *kwnames[] = { |
093d3ff1 | 9798 | (char *) "self",(char *) "show", NULL |
cfe5e918 RD |
9799 | }; |
9800 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 9822 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9823 | PyObject *resultobj; |
9824 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9825 | bool result; |
cfe5e918 RD |
9826 | PyObject * obj0 = 0 ; |
9827 | char *kwnames[] = { | |
9828 | (char *) "self", NULL | |
9829 | }; | |
9830 | ||
093d3ff1 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(); | |
093d3ff1 | 9836 | result = (bool)(arg1)->GetUseVerticalScrollBar(); |
cfe5e918 RD |
9837 | |
9838 | wxPyEndAllowThreads(__tstate); | |
9839 | if (PyErr_Occurred()) SWIG_fail; | |
9840 | } | |
093d3ff1 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 | ||
093d3ff1 | 9850 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9851 | PyObject *resultobj; |
9852 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
9853 | int arg2 ; |
9854 | wxString *arg3 = 0 ; | |
9855 | bool temp3 = false ; | |
cfe5e918 | 9856 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
9857 | PyObject * obj1 = 0 ; |
9858 | PyObject * obj2 = 0 ; | |
cfe5e918 | 9859 | char *kwnames[] = { |
093d3ff1 | 9860 | (char *) "self",(char *) "length",(char *) "text", NULL |
cfe5e918 RD |
9861 | }; |
9862 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
9883 | { |
9884 | if (temp3) | |
9885 | delete arg3; | |
9886 | } | |
cfe5e918 RD |
9887 | return resultobj; |
9888 | fail: | |
093d3ff1 RD |
9889 | { |
9890 | if (temp3) | |
9891 | delete arg3; | |
9892 | } | |
cfe5e918 RD |
9893 | return NULL; |
9894 | } | |
9895 | ||
9896 | ||
093d3ff1 | 9897 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9898 | PyObject *resultobj; |
9899 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9900 | bool result; |
cfe5e918 RD |
9901 | PyObject * obj0 = 0 ; |
9902 | char *kwnames[] = { | |
9903 | (char *) "self", NULL | |
9904 | }; | |
9905 | ||
093d3ff1 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(); | |
093d3ff1 | 9911 | result = (bool)(arg1)->GetTwoPhaseDraw(); |
cfe5e918 RD |
9912 | |
9913 | wxPyEndAllowThreads(__tstate); | |
9914 | if (PyErr_Occurred()) SWIG_fail; | |
9915 | } | |
093d3ff1 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 | ||
093d3ff1 | 9925 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
9926 | PyObject *resultobj; |
9927 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 9928 | bool arg2 ; |
cfe5e918 | 9929 | PyObject * obj0 = 0 ; |
093d3ff1 | 9930 | PyObject * obj1 = 0 ; |
cfe5e918 | 9931 | char *kwnames[] = { |
093d3ff1 | 9932 | (char *) "self",(char *) "twoPhase", NULL |
cfe5e918 RD |
9933 | }; |
9934 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 10006 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10007 | PyObject *resultobj; |
10008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 10009 | int arg2 ; |
cfe5e918 | 10010 | PyObject * obj0 = 0 ; |
093d3ff1 | 10011 | PyObject * obj1 = 0 ; |
cfe5e918 | 10012 | char *kwnames[] = { |
093d3ff1 | 10013 | (char *) "self",(char *) "pixelWidth", NULL |
cfe5e918 RD |
10014 | }; |
10015 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 10037 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10038 | PyObject *resultobj; |
10039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
10040 | bool arg2 ; |
10041 | wxColour *arg3 = 0 ; | |
10042 | wxColour temp3 ; | |
cfe5e918 | 10043 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
10044 | PyObject * obj1 = 0 ; |
10045 | PyObject * obj2 = 0 ; | |
cfe5e918 | 10046 | char *kwnames[] = { |
093d3ff1 | 10047 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
10048 | }; |
10049 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 10075 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
10076 | PyObject *resultobj; |
10077 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
10078 | bool arg2 ; |
10079 | wxColour *arg3 = 0 ; | |
10080 | wxColour temp3 ; | |
cfe5e918 | 10081 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
10082 | PyObject * obj1 = 0 ; |
10083 | PyObject * obj2 = 0 ; | |
cfe5e918 | 10084 | char *kwnames[] = { |
093d3ff1 | 10085 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
10086 | }; |
10087 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11168 | (char *) "self", NULL |
cfe5e918 RD |
11169 | }; |
11170 | ||
093d3ff1 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(); | |
093d3ff1 | 11176 | (arg1)->UpperCase(); |
cfe5e918 RD |
11177 | |
11178 | wxPyEndAllowThreads(__tstate); | |
11179 | if (PyErr_Occurred()) SWIG_fail; | |
11180 | } | |
093d3ff1 | 11181 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11182 | return resultobj; |
11183 | fail: | |
11184 | return NULL; | |
11185 | } | |
11186 | ||
11187 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11193 | (char *) "self", NULL |
cfe5e918 RD |
11194 | }; |
11195 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11218 | (char *) "self", NULL |
cfe5e918 RD |
11219 | }; |
11220 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11243 | (char *) "self", NULL |
cfe5e918 RD |
11244 | }; |
11245 | ||
093d3ff1 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(); | |
093d3ff1 | 11251 | (arg1)->DeleteBackNotLine(); |
cfe5e918 RD |
11252 | |
11253 | wxPyEndAllowThreads(__tstate); | |
11254 | if (PyErr_Occurred()) SWIG_fail; | |
11255 | } | |
093d3ff1 | 11256 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11257 | return resultobj; |
11258 | fail: | |
11259 | return NULL; | |
11260 | } | |
11261 | ||
11262 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 11276 | (arg1)->HomeDisplay(); |
cfe5e918 RD |
11277 | |
11278 | wxPyEndAllowThreads(__tstate); | |
11279 | if (PyErr_Occurred()) SWIG_fail; | |
11280 | } | |
093d3ff1 | 11281 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11282 | return resultobj; |
11283 | fail: | |
11284 | return NULL; | |
11285 | } | |
11286 | ||
11287 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11293 | (char *) "self", NULL |
cfe5e918 RD |
11294 | }; |
11295 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 11326 | (arg1)->LineEndDisplay(); |
cfe5e918 RD |
11327 | |
11328 | wxPyEndAllowThreads(__tstate); | |
11329 | if (PyErr_Occurred()) SWIG_fail; | |
11330 | } | |
093d3ff1 | 11331 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11332 | return resultobj; |
11333 | fail: | |
11334 | return NULL; | |
11335 | } | |
11336 | ||
11337 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11343 | (char *) "self", NULL |
cfe5e918 RD |
11344 | }; |
11345 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11368 | (char *) "self", NULL |
cfe5e918 RD |
11369 | }; |
11370 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 11401 | (arg1)->HomeWrapExtend(); |
cfe5e918 RD |
11402 | |
11403 | wxPyEndAllowThreads(__tstate); | |
11404 | if (PyErr_Occurred()) SWIG_fail; | |
11405 | } | |
093d3ff1 | 11406 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11407 | return resultobj; |
11408 | fail: | |
11409 | return NULL; | |
11410 | } | |
11411 | ||
11412 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11418 | (char *) "self", NULL |
cfe5e918 RD |
11419 | }; |
11420 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 11451 | (arg1)->LineEndWrapExtend(); |
cfe5e918 RD |
11452 | |
11453 | wxPyEndAllowThreads(__tstate); | |
11454 | if (PyErr_Occurred()) SWIG_fail; | |
11455 | } | |
093d3ff1 | 11456 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11457 | return resultobj; |
11458 | fail: | |
11459 | return NULL; | |
11460 | } | |
11461 | ||
11462 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11468 | (char *) "self", NULL |
cfe5e918 RD |
11469 | }; |
11470 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 11501 | (arg1)->VCHomeWrapExtend(); |
cfe5e918 RD |
11502 | |
11503 | wxPyEndAllowThreads(__tstate); | |
11504 | if (PyErr_Occurred()) SWIG_fail; | |
11505 | } | |
093d3ff1 | 11506 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11507 | return resultobj; |
11508 | fail: | |
11509 | return NULL; | |
11510 | } | |
11511 | ||
11512 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11518 | (char *) "self", NULL |
cfe5e918 RD |
11519 | }; |
11520 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 11571 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
11572 | }; |
11573 | ||
093d3ff1 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 | { |
093d3ff1 RD |
11578 | arg2 = (int)(SWIG_As_int(obj1)); |
11579 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
11580 | } |
11581 | { | |
11582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 11583 | result = (int)(arg1)->LineLength(arg2); |
cfe5e918 RD |
11584 | |
11585 | wxPyEndAllowThreads(__tstate); | |
11586 | if (PyErr_Occurred()) SWIG_fail; | |
11587 | } | |
cfe5e918 | 11588 | { |
093d3ff1 | 11589 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
11590 | } |
11591 | return resultobj; | |
11592 | fail: | |
cfe5e918 RD |
11593 | return NULL; |
11594 | } | |
11595 | ||
11596 | ||
093d3ff1 | 11597 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11598 | PyObject *resultobj; |
11599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11600 | int arg2 ; | |
093d3ff1 | 11601 | int arg3 ; |
cfe5e918 RD |
11602 | PyObject * obj0 = 0 ; |
11603 | PyObject * obj1 = 0 ; | |
11604 | PyObject * obj2 = 0 ; | |
11605 | char *kwnames[] = { | |
093d3ff1 | 11606 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL |
cfe5e918 RD |
11607 | }; |
11608 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 11622 | (arg1)->BraceHighlight(arg2,arg3); |
cfe5e918 RD |
11623 | |
11624 | wxPyEndAllowThreads(__tstate); | |
11625 | if (PyErr_Occurred()) SWIG_fail; | |
11626 | } | |
093d3ff1 | 11627 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11628 | return resultobj; |
11629 | fail: | |
cfe5e918 RD |
11630 | return NULL; |
11631 | } | |
11632 | ||
11633 | ||
093d3ff1 | 11634 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11635 | PyObject *resultobj; |
11636 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 11637 | int arg2 ; |
cfe5e918 | 11638 | PyObject * obj0 = 0 ; |
093d3ff1 | 11639 | PyObject * obj1 = 0 ; |
cfe5e918 | 11640 | char *kwnames[] = { |
093d3ff1 | 11641 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
11642 | }; |
11643 | ||
093d3ff1 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(); | |
093d3ff1 | 11653 | (arg1)->BraceBadLight(arg2); |
cfe5e918 RD |
11654 | |
11655 | wxPyEndAllowThreads(__tstate); | |
11656 | if (PyErr_Occurred()) SWIG_fail; | |
11657 | } | |
093d3ff1 | 11658 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11659 | return resultobj; |
11660 | fail: | |
11661 | return NULL; | |
11662 | } | |
11663 | ||
11664 | ||
093d3ff1 | 11665 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11666 | PyObject *resultobj; |
11667 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
11668 | int arg2 ; |
11669 | int result; | |
cfe5e918 RD |
11670 | PyObject * obj0 = 0 ; |
11671 | PyObject * obj1 = 0 ; | |
11672 | char *kwnames[] = { | |
093d3ff1 | 11673 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
11674 | }; |
11675 | ||
093d3ff1 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(); | |
093d3ff1 | 11685 | result = (int)(arg1)->BraceMatch(arg2); |
cfe5e918 RD |
11686 | |
11687 | wxPyEndAllowThreads(__tstate); | |
11688 | if (PyErr_Occurred()) SWIG_fail; | |
11689 | } | |
093d3ff1 RD |
11690 | { |
11691 | resultobj = SWIG_From_int((int)(result)); | |
11692 | } | |
cfe5e918 RD |
11693 | return resultobj; |
11694 | fail: | |
11695 | return NULL; | |
11696 | } | |
11697 | ||
11698 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 11727 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11728 | PyObject *resultobj; |
11729 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 11730 | bool arg2 ; |
cfe5e918 RD |
11731 | PyObject * obj0 = 0 ; |
11732 | PyObject * obj1 = 0 ; | |
11733 | char *kwnames[] = { | |
093d3ff1 | 11734 | (char *) "self",(char *) "visible", NULL |
cfe5e918 RD |
11735 | }; |
11736 | ||
093d3ff1 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 | { |
093d3ff1 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(); | |
093d3ff1 | 11746 | (arg1)->SetViewEOL(arg2); |
cfe5e918 RD |
11747 | |
11748 | wxPyEndAllowThreads(__tstate); | |
11749 | if (PyErr_Occurred()) SWIG_fail; | |
11750 | } | |
093d3ff1 | 11751 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
11752 | return resultobj; |
11753 | fail: | |
11754 | return NULL; | |
11755 | } | |
11756 | ||
11757 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 11816 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11817 | PyObject *resultobj; |
11818 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 11819 | int arg2 ; |
cfe5e918 RD |
11820 | PyObject * obj0 = 0 ; |
11821 | PyObject * obj1 = 0 ; | |
11822 | char *kwnames[] = { | |
093d3ff1 | 11823 | (char *) "self",(char *) "mask", NULL |
cfe5e918 RD |
11824 | }; |
11825 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 11861 | result = (int)(arg1)->GetEdgeColumn(); |
cfe5e918 RD |
11862 | |
11863 | wxPyEndAllowThreads(__tstate); | |
11864 | if (PyErr_Occurred()) SWIG_fail; | |
11865 | } | |
093d3ff1 RD |
11866 | { |
11867 | resultobj = SWIG_From_int((int)(result)); | |
11868 | } | |
cfe5e918 RD |
11869 | return resultobj; |
11870 | fail: | |
11871 | return NULL; | |
11872 | } | |
11873 | ||
11874 | ||
093d3ff1 | 11875 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11876 | PyObject *resultobj; |
11877 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 11878 | int arg2 ; |
cfe5e918 RD |
11879 | PyObject * obj0 = 0 ; |
11880 | PyObject * obj1 = 0 ; | |
11881 | char *kwnames[] = { | |
093d3ff1 | 11882 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
11883 | }; |
11884 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 11906 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11907 | PyObject *resultobj; |
11908 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 11909 | int result; |
cfe5e918 RD |
11910 | PyObject * obj0 = 0 ; |
11911 | char *kwnames[] = { | |
11912 | (char *) "self", NULL | |
11913 | }; | |
11914 | ||
093d3ff1 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(); | |
093d3ff1 | 11920 | result = (int)(arg1)->GetEdgeMode(); |
cfe5e918 RD |
11921 | |
11922 | wxPyEndAllowThreads(__tstate); | |
11923 | if (PyErr_Occurred()) SWIG_fail; | |
11924 | } | |
11925 | { | |
093d3ff1 | 11926 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
11927 | } |
11928 | return resultobj; | |
11929 | fail: | |
11930 | return NULL; | |
11931 | } | |
11932 | ||
11933 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 11941 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
11942 | }; |
11943 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 11965 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11966 | PyObject *resultobj; |
11967 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 11968 | wxColour result; |
cfe5e918 RD |
11969 | PyObject * obj0 = 0 ; |
11970 | char *kwnames[] = { | |
11971 | (char *) "self", NULL | |
11972 | }; | |
11973 | ||
093d3ff1 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(); | |
093d3ff1 | 11979 | result = (arg1)->GetEdgeColour(); |
cfe5e918 RD |
11980 | |
11981 | wxPyEndAllowThreads(__tstate); | |
11982 | if (PyErr_Occurred()) SWIG_fail; | |
11983 | } | |
093d3ff1 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 | ||
093d3ff1 | 11995 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
11996 | PyObject *resultobj; |
11997 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
11998 | wxColour *arg2 = 0 ; |
11999 | wxColour temp2 ; | |
cfe5e918 RD |
12000 | PyObject * obj0 = 0 ; |
12001 | PyObject * obj1 = 0 ; | |
12002 | char *kwnames[] = { | |
093d3ff1 | 12003 | (char *) "self",(char *) "edgeColour", NULL |
cfe5e918 RD |
12004 | }; |
12005 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 12040 | (arg1)->SearchAnchor(); |
cfe5e918 RD |
12041 | |
12042 | wxPyEndAllowThreads(__tstate); | |
12043 | if (PyErr_Occurred()) SWIG_fail; | |
12044 | } | |
093d3ff1 | 12045 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12046 | return resultobj; |
12047 | fail: | |
12048 | return NULL; | |
12049 | } | |
12050 | ||
12051 | ||
093d3ff1 | 12052 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12053 | PyObject *resultobj; |
12054 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12055 | int arg2 ; | |
093d3ff1 RD |
12056 | wxString *arg3 = 0 ; |
12057 | int result; | |
12058 | bool temp3 = false ; | |
cfe5e918 RD |
12059 | PyObject * obj0 = 0 ; |
12060 | PyObject * obj1 = 0 ; | |
093d3ff1 | 12061 | PyObject * obj2 = 0 ; |
cfe5e918 | 12062 | char *kwnames[] = { |
093d3ff1 | 12063 | (char *) "self",(char *) "flags",(char *) "text", NULL |
cfe5e918 RD |
12064 | }; |
12065 | ||
093d3ff1 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(); | |
093d3ff1 | 12080 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
12081 | |
12082 | wxPyEndAllowThreads(__tstate); | |
12083 | if (PyErr_Occurred()) SWIG_fail; | |
12084 | } | |
093d3ff1 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: | |
093d3ff1 RD |
12094 | { |
12095 | if (temp3) | |
12096 | delete arg3; | |
12097 | } | |
cfe5e918 RD |
12098 | return NULL; |
12099 | } | |
12100 | ||
12101 | ||
093d3ff1 | 12102 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12103 | PyObject *resultobj; |
12104 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
12105 | int arg2 ; |
12106 | wxString *arg3 = 0 ; | |
cfe5e918 | 12107 | int result; |
093d3ff1 | 12108 | bool temp3 = false ; |
cfe5e918 | 12109 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
12110 | PyObject * obj1 = 0 ; |
12111 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12112 | char *kwnames[] = { |
093d3ff1 | 12113 | (char *) "self",(char *) "flags",(char *) "text", NULL |
cfe5e918 RD |
12114 | }; |
12115 | ||
093d3ff1 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(); | |
093d3ff1 | 12130 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
12131 | |
12132 | wxPyEndAllowThreads(__tstate); | |
12133 | if (PyErr_Occurred()) SWIG_fail; | |
12134 | } | |
093d3ff1 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: | |
093d3ff1 RD |
12144 | { |
12145 | if (temp3) | |
12146 | delete arg3; | |
12147 | } | |
cfe5e918 RD |
12148 | return NULL; |
12149 | } | |
12150 | ||
12151 | ||
093d3ff1 | 12152 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12153 | PyObject *resultobj; |
12154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12155 | int result; |
cfe5e918 | 12156 | PyObject * obj0 = 0 ; |
cfe5e918 | 12157 | char *kwnames[] = { |
093d3ff1 | 12158 | (char *) "self", NULL |
cfe5e918 RD |
12159 | }; |
12160 | ||
093d3ff1 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(); | |
093d3ff1 | 12166 | result = (int)(arg1)->LinesOnScreen(); |
cfe5e918 RD |
12167 | |
12168 | wxPyEndAllowThreads(__tstate); | |
12169 | if (PyErr_Occurred()) SWIG_fail; | |
12170 | } | |
093d3ff1 RD |
12171 | { |
12172 | resultobj = SWIG_From_int((int)(result)); | |
12173 | } | |
cfe5e918 RD |
12174 | return resultobj; |
12175 | fail: | |
12176 | return NULL; | |
12177 | } | |
12178 | ||
12179 | ||
093d3ff1 | 12180 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12181 | PyObject *resultobj; |
12182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12183 | bool arg2 ; |
cfe5e918 | 12184 | PyObject * obj0 = 0 ; |
093d3ff1 | 12185 | PyObject * obj1 = 0 ; |
cfe5e918 | 12186 | char *kwnames[] = { |
093d3ff1 | 12187 | (char *) "self",(char *) "allowPopUp", NULL |
cfe5e918 RD |
12188 | }; |
12189 | ||
093d3ff1 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(); | |
093d3ff1 | 12199 | (arg1)->UsePopUp(arg2); |
cfe5e918 RD |
12200 | |
12201 | wxPyEndAllowThreads(__tstate); | |
12202 | if (PyErr_Occurred()) SWIG_fail; | |
12203 | } | |
093d3ff1 | 12204 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12205 | return resultobj; |
12206 | fail: | |
12207 | return NULL; | |
12208 | } | |
12209 | ||
12210 | ||
093d3ff1 | 12211 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12212 | PyObject *resultobj; |
12213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12214 | bool result; |
cfe5e918 RD |
12215 | PyObject * obj0 = 0 ; |
12216 | char *kwnames[] = { | |
12217 | (char *) "self", NULL | |
12218 | }; | |
12219 | ||
093d3ff1 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(); | |
093d3ff1 | 12225 | result = (bool)(arg1)->SelectionIsRectangle(); |
cfe5e918 RD |
12226 | |
12227 | wxPyEndAllowThreads(__tstate); | |
12228 | if (PyErr_Occurred()) SWIG_fail; | |
12229 | } | |
093d3ff1 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 | ||
093d3ff1 | 12239 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12240 | PyObject *resultobj; |
12241 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12242 | int arg2 ; |
cfe5e918 | 12243 | PyObject * obj0 = 0 ; |
093d3ff1 | 12244 | PyObject * obj1 = 0 ; |
cfe5e918 | 12245 | char *kwnames[] = { |
093d3ff1 | 12246 | (char *) "self",(char *) "zoom", NULL |
cfe5e918 RD |
12247 | }; |
12248 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12270 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12271 | PyObject *resultobj; |
12272 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12273 | int result; |
cfe5e918 RD |
12274 | PyObject * obj0 = 0 ; |
12275 | char *kwnames[] = { | |
12276 | (char *) "self", NULL | |
12277 | }; | |
12278 | ||
093d3ff1 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(); | |
093d3ff1 | 12284 | result = (int)(arg1)->GetZoom(); |
cfe5e918 RD |
12285 | |
12286 | wxPyEndAllowThreads(__tstate); | |
12287 | if (PyErr_Occurred()) SWIG_fail; | |
12288 | } | |
093d3ff1 RD |
12289 | { |
12290 | resultobj = SWIG_From_int((int)(result)); | |
12291 | } | |
cfe5e918 RD |
12292 | return resultobj; |
12293 | fail: | |
12294 | return NULL; | |
12295 | } | |
12296 | ||
12297 | ||
093d3ff1 | 12298 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12299 | PyObject *resultobj; |
12300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12301 | void *result; |
cfe5e918 RD |
12302 | PyObject * obj0 = 0 ; |
12303 | char *kwnames[] = { | |
12304 | (char *) "self", NULL | |
12305 | }; | |
12306 | ||
093d3ff1 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(); | |
093d3ff1 | 12312 | result = (void *)(arg1)->CreateDocument(); |
cfe5e918 RD |
12313 | |
12314 | wxPyEndAllowThreads(__tstate); | |
12315 | if (PyErr_Occurred()) SWIG_fail; | |
12316 | } | |
093d3ff1 | 12317 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); |
cfe5e918 RD |
12318 | return resultobj; |
12319 | fail: | |
12320 | return NULL; | |
12321 | } | |
12322 | ||
12323 | ||
093d3ff1 | 12324 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12325 | PyObject *resultobj; |
12326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12327 | void *arg2 = (void *) 0 ; |
cfe5e918 RD |
12328 | PyObject * obj0 = 0 ; |
12329 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12330 | char *kwnames[] = { |
093d3ff1 | 12331 | (char *) "self",(char *) "docPointer", NULL |
cfe5e918 RD |
12332 | }; |
12333 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12356 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12357 | PyObject *resultobj; |
12358 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12359 | void *arg2 = (void *) 0 ; |
cfe5e918 | 12360 | PyObject * obj0 = 0 ; |
093d3ff1 | 12361 | PyObject * obj1 = 0 ; |
cfe5e918 | 12362 | char *kwnames[] = { |
093d3ff1 | 12363 | (char *) "self",(char *) "docPointer", NULL |
cfe5e918 RD |
12364 | }; |
12365 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12388 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12389 | PyObject *resultobj; |
12390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12391 | int result; |
cfe5e918 RD |
12392 | PyObject * obj0 = 0 ; |
12393 | char *kwnames[] = { | |
12394 | (char *) "self", NULL | |
12395 | }; | |
12396 | ||
093d3ff1 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(); | |
093d3ff1 | 12402 | result = (int)(arg1)->GetModEventMask(); |
cfe5e918 RD |
12403 | |
12404 | wxPyEndAllowThreads(__tstate); | |
12405 | if (PyErr_Occurred()) SWIG_fail; | |
12406 | } | |
093d3ff1 RD |
12407 | { |
12408 | resultobj = SWIG_From_int((int)(result)); | |
12409 | } | |
cfe5e918 RD |
12410 | return resultobj; |
12411 | fail: | |
12412 | return NULL; | |
12413 | } | |
12414 | ||
12415 | ||
093d3ff1 | 12416 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12417 | PyObject *resultobj; |
12418 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12419 | bool arg2 ; |
cfe5e918 RD |
12420 | PyObject * obj0 = 0 ; |
12421 | PyObject * obj1 = 0 ; | |
12422 | char *kwnames[] = { | |
093d3ff1 | 12423 | (char *) "self",(char *) "focus", NULL |
cfe5e918 RD |
12424 | }; |
12425 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12447 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12448 | PyObject *resultobj; |
12449 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12450 | bool result; |
cfe5e918 RD |
12451 | PyObject * obj0 = 0 ; |
12452 | char *kwnames[] = { | |
12453 | (char *) "self", NULL | |
12454 | }; | |
12455 | ||
093d3ff1 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(); | |
093d3ff1 | 12461 | result = (bool)(arg1)->GetSTCFocus(); |
cfe5e918 RD |
12462 | |
12463 | wxPyEndAllowThreads(__tstate); | |
12464 | if (PyErr_Occurred()) SWIG_fail; | |
12465 | } | |
093d3ff1 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 | ||
093d3ff1 | 12475 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12476 | PyObject *resultobj; |
12477 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12478 | int arg2 ; |
cfe5e918 | 12479 | PyObject * obj0 = 0 ; |
093d3ff1 | 12480 | PyObject * obj1 = 0 ; |
cfe5e918 | 12481 | char *kwnames[] = { |
093d3ff1 | 12482 | (char *) "self",(char *) "statusCode", NULL |
cfe5e918 RD |
12483 | }; |
12484 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12506 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12507 | PyObject *resultobj; |
12508 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12509 | int result; |
cfe5e918 | 12510 | PyObject * obj0 = 0 ; |
cfe5e918 | 12511 | char *kwnames[] = { |
093d3ff1 | 12512 | (char *) "self", NULL |
cfe5e918 RD |
12513 | }; |
12514 | ||
093d3ff1 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(); | |
093d3ff1 | 12520 | result = (int)(arg1)->GetStatus(); |
cfe5e918 RD |
12521 | |
12522 | wxPyEndAllowThreads(__tstate); | |
12523 | if (PyErr_Occurred()) SWIG_fail; | |
12524 | } | |
093d3ff1 RD |
12525 | { |
12526 | resultobj = SWIG_From_int((int)(result)); | |
12527 | } | |
cfe5e918 RD |
12528 | return resultobj; |
12529 | fail: | |
12530 | return NULL; | |
12531 | } | |
12532 | ||
12533 | ||
093d3ff1 | 12534 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12535 | PyObject *resultobj; |
12536 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12537 | bool arg2 ; |
cfe5e918 RD |
12538 | PyObject * obj0 = 0 ; |
12539 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12540 | char *kwnames[] = { |
093d3ff1 | 12541 | (char *) "self",(char *) "captures", NULL |
cfe5e918 RD |
12542 | }; |
12543 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12565 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12566 | PyObject *resultobj; |
12567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12568 | bool result; |
cfe5e918 | 12569 | PyObject * obj0 = 0 ; |
cfe5e918 | 12570 | char *kwnames[] = { |
093d3ff1 | 12571 | (char *) "self", NULL |
cfe5e918 RD |
12572 | }; |
12573 | ||
093d3ff1 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(); | |
093d3ff1 | 12579 | result = (bool)(arg1)->GetMouseDownCaptures(); |
cfe5e918 RD |
12580 | |
12581 | wxPyEndAllowThreads(__tstate); | |
12582 | if (PyErr_Occurred()) SWIG_fail; | |
12583 | } | |
093d3ff1 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 | ||
093d3ff1 | 12593 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12594 | PyObject *resultobj; |
12595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12596 | int arg2 ; |
cfe5e918 | 12597 | PyObject * obj0 = 0 ; |
093d3ff1 | 12598 | PyObject * obj1 = 0 ; |
cfe5e918 | 12599 | char *kwnames[] = { |
093d3ff1 | 12600 | (char *) "self",(char *) "cursorType", NULL |
cfe5e918 RD |
12601 | }; |
12602 | ||
093d3ff1 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(); | |
093d3ff1 | 12612 | (arg1)->SetSTCCursor(arg2); |
cfe5e918 RD |
12613 | |
12614 | wxPyEndAllowThreads(__tstate); | |
12615 | if (PyErr_Occurred()) SWIG_fail; | |
12616 | } | |
093d3ff1 | 12617 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12618 | return resultobj; |
12619 | fail: | |
12620 | return NULL; | |
12621 | } | |
12622 | ||
12623 | ||
093d3ff1 | 12624 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12625 | PyObject *resultobj; |
12626 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12627 | int result; |
cfe5e918 | 12628 | PyObject * obj0 = 0 ; |
cfe5e918 | 12629 | char *kwnames[] = { |
093d3ff1 | 12630 | (char *) "self", NULL |
cfe5e918 RD |
12631 | }; |
12632 | ||
093d3ff1 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(); | |
093d3ff1 | 12638 | result = (int)(arg1)->GetSTCCursor(); |
cfe5e918 RD |
12639 | |
12640 | wxPyEndAllowThreads(__tstate); | |
12641 | if (PyErr_Occurred()) SWIG_fail; | |
12642 | } | |
093d3ff1 RD |
12643 | { |
12644 | resultobj = SWIG_From_int((int)(result)); | |
12645 | } | |
cfe5e918 RD |
12646 | return resultobj; |
12647 | fail: | |
12648 | return NULL; | |
12649 | } | |
12650 | ||
12651 | ||
093d3ff1 | 12652 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12653 | PyObject *resultobj; |
12654 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12655 | int arg2 ; |
cfe5e918 RD |
12656 | PyObject * obj0 = 0 ; |
12657 | PyObject * obj1 = 0 ; | |
cfe5e918 | 12658 | char *kwnames[] = { |
093d3ff1 | 12659 | (char *) "self",(char *) "symbol", NULL |
cfe5e918 RD |
12660 | }; |
12661 | ||
093d3ff1 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 | { |
093d3ff1 RD |
12666 | arg2 = (int)(SWIG_As_int(obj1)); |
12667 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
12668 | } |
12669 | { | |
12670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12683 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12684 | PyObject *resultobj; |
12685 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12686 | int result; |
cfe5e918 | 12687 | PyObject * obj0 = 0 ; |
cfe5e918 | 12688 | char *kwnames[] = { |
093d3ff1 | 12689 | (char *) "self", NULL |
cfe5e918 RD |
12690 | }; |
12691 | ||
093d3ff1 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(); | |
093d3ff1 | 12697 | result = (int)(arg1)->GetControlCharSymbol(); |
cfe5e918 RD |
12698 | |
12699 | wxPyEndAllowThreads(__tstate); | |
12700 | if (PyErr_Occurred()) SWIG_fail; | |
12701 | } | |
093d3ff1 RD |
12702 | { |
12703 | resultobj = SWIG_From_int((int)(result)); | |
12704 | } | |
cfe5e918 RD |
12705 | return resultobj; |
12706 | fail: | |
12707 | return NULL; | |
12708 | } | |
12709 | ||
12710 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 12716 | (char *) "self", NULL |
cfe5e918 RD |
12717 | }; |
12718 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12811 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12812 | PyObject *resultobj; |
12813 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
12814 | int arg2 ; |
12815 | int arg3 ; | |
cfe5e918 | 12816 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
12817 | PyObject * obj1 = 0 ; |
12818 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12819 | char *kwnames[] = { |
093d3ff1 | 12820 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL |
cfe5e918 RD |
12821 | }; |
12822 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 12853 | (char *) "self", NULL |
cfe5e918 RD |
12854 | }; |
12855 | ||
093d3ff1 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(); | |
093d3ff1 | 12861 | (arg1)->DelLineLeft(); |
cfe5e918 RD |
12862 | |
12863 | wxPyEndAllowThreads(__tstate); | |
12864 | if (PyErr_Occurred()) SWIG_fail; | |
12865 | } | |
093d3ff1 | 12866 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12867 | return resultobj; |
12868 | fail: | |
12869 | return NULL; | |
12870 | } | |
12871 | ||
12872 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 12878 | (char *) "self", NULL |
cfe5e918 RD |
12879 | }; |
12880 | ||
093d3ff1 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(); | |
093d3ff1 | 12886 | (arg1)->DelLineRight(); |
cfe5e918 RD |
12887 | |
12888 | wxPyEndAllowThreads(__tstate); | |
12889 | if (PyErr_Occurred()) SWIG_fail; | |
12890 | } | |
093d3ff1 | 12891 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
12892 | return resultobj; |
12893 | fail: | |
12894 | return NULL; | |
12895 | } | |
12896 | ||
12897 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 12905 | (char *) "self",(char *) "newOffset", NULL |
cfe5e918 RD |
12906 | }; |
12907 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12929 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12930 | PyObject *resultobj; |
12931 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 12932 | int result; |
cfe5e918 | 12933 | PyObject * obj0 = 0 ; |
cfe5e918 | 12934 | char *kwnames[] = { |
093d3ff1 | 12935 | (char *) "self", NULL |
cfe5e918 RD |
12936 | }; |
12937 | ||
093d3ff1 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(); | |
093d3ff1 | 12943 | result = (int)(arg1)->GetXOffset(); |
cfe5e918 RD |
12944 | |
12945 | wxPyEndAllowThreads(__tstate); | |
12946 | if (PyErr_Occurred()) SWIG_fail; | |
12947 | } | |
cfe5e918 | 12948 | { |
093d3ff1 | 12949 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
12950 | } |
12951 | return resultobj; | |
12952 | fail: | |
cfe5e918 RD |
12953 | return NULL; |
12954 | } | |
12955 | ||
12956 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 12962 | (char *) "self", NULL |
cfe5e918 RD |
12963 | }; |
12964 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 12982 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
12983 | PyObject *resultobj; |
12984 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
12985 | int arg2 ; |
12986 | int arg3 ; | |
cfe5e918 | 12987 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
12988 | PyObject * obj1 = 0 ; |
12989 | PyObject * obj2 = 0 ; | |
cfe5e918 | 12990 | char *kwnames[] = { |
093d3ff1 | 12991 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
cfe5e918 RD |
12992 | }; |
12993 | ||
093d3ff1 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(); | |
093d3ff1 | 13007 | (arg1)->SetXCaretPolicy(arg2,arg3); |
cfe5e918 RD |
13008 | |
13009 | wxPyEndAllowThreads(__tstate); | |
13010 | if (PyErr_Occurred()) SWIG_fail; | |
13011 | } | |
093d3ff1 | 13012 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13013 | return resultobj; |
13014 | fail: | |
13015 | return NULL; | |
13016 | } | |
13017 | ||
13018 | ||
093d3ff1 | 13019 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13020 | PyObject *resultobj; |
13021 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13022 | int arg2 ; | |
093d3ff1 | 13023 | int arg3 ; |
cfe5e918 RD |
13024 | PyObject * obj0 = 0 ; |
13025 | PyObject * obj1 = 0 ; | |
093d3ff1 | 13026 | PyObject * obj2 = 0 ; |
cfe5e918 | 13027 | char *kwnames[] = { |
093d3ff1 | 13028 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
cfe5e918 RD |
13029 | }; |
13030 | ||
093d3ff1 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(); | |
093d3ff1 | 13044 | (arg1)->SetYCaretPolicy(arg2,arg3); |
cfe5e918 RD |
13045 | |
13046 | wxPyEndAllowThreads(__tstate); | |
13047 | if (PyErr_Occurred()) SWIG_fail; | |
13048 | } | |
093d3ff1 | 13049 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13050 | return resultobj; |
13051 | fail: | |
13052 | return NULL; | |
13053 | } | |
13054 | ||
13055 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 13063 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
13064 | }; |
13065 | ||
093d3ff1 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(); | |
093d3ff1 | 13075 | (arg1)->SetPrintWrapMode(arg2); |
cfe5e918 RD |
13076 | |
13077 | wxPyEndAllowThreads(__tstate); | |
13078 | if (PyErr_Occurred()) SWIG_fail; | |
13079 | } | |
093d3ff1 | 13080 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13081 | return resultobj; |
13082 | fail: | |
13083 | return NULL; | |
13084 | } | |
13085 | ||
13086 | ||
093d3ff1 | 13087 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13088 | PyObject *resultobj; |
13089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 13090 | int result; |
cfe5e918 RD |
13091 | PyObject * obj0 = 0 ; |
13092 | char *kwnames[] = { | |
13093 | (char *) "self", NULL | |
13094 | }; | |
13095 | ||
093d3ff1 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(); | |
093d3ff1 | 13101 | result = (int)(arg1)->GetPrintWrapMode(); |
cfe5e918 RD |
13102 | |
13103 | wxPyEndAllowThreads(__tstate); | |
13104 | if (PyErr_Occurred()) SWIG_fail; | |
13105 | } | |
093d3ff1 RD |
13106 | { |
13107 | resultobj = SWIG_From_int((int)(result)); | |
13108 | } | |
cfe5e918 RD |
13109 | return resultobj; |
13110 | fail: | |
13111 | return NULL; | |
13112 | } | |
13113 | ||
13114 | ||
093d3ff1 | 13115 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13116 | PyObject *resultobj; |
13117 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13118 | bool arg2 ; |
13119 | wxColour *arg3 = 0 ; | |
13120 | wxColour temp3 ; | |
cfe5e918 | 13121 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
13122 | PyObject * obj1 = 0 ; |
13123 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13124 | char *kwnames[] = { |
093d3ff1 | 13125 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
cfe5e918 RD |
13126 | }; |
13127 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 13153 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13154 | PyObject *resultobj; |
13155 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13156 | bool arg2 ; |
13157 | wxColour *arg3 = 0 ; | |
13158 | wxColour temp3 ; | |
cfe5e918 | 13159 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
13160 | PyObject * obj1 = 0 ; |
13161 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13162 | char *kwnames[] = { |
093d3ff1 | 13163 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
cfe5e918 RD |
13164 | }; |
13165 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 13191 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13192 | PyObject *resultobj; |
13193 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 13194 | bool arg2 ; |
cfe5e918 | 13195 | PyObject * obj0 = 0 ; |
093d3ff1 | 13196 | PyObject * obj1 = 0 ; |
cfe5e918 | 13197 | char *kwnames[] = { |
093d3ff1 | 13198 | (char *) "self",(char *) "underline", NULL |
cfe5e918 RD |
13199 | }; |
13200 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 13222 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13223 | PyObject *resultobj; |
13224 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 13225 | bool arg2 ; |
cfe5e918 | 13226 | PyObject * obj0 = 0 ; |
093d3ff1 | 13227 | PyObject * obj1 = 0 ; |
cfe5e918 | 13228 | char *kwnames[] = { |
093d3ff1 | 13229 | (char *) "self",(char *) "singleLine", NULL |
cfe5e918 RD |
13230 | }; |
13231 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 13353 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13354 | PyObject *resultobj; |
13355 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13356 | int arg2 ; |
13357 | int result; | |
cfe5e918 | 13358 | PyObject * obj0 = 0 ; |
093d3ff1 | 13359 | PyObject * obj1 = 0 ; |
cfe5e918 | 13360 | char *kwnames[] = { |
093d3ff1 | 13361 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
13362 | }; |
13363 | ||
093d3ff1 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(); | |
093d3ff1 | 13373 | result = (int)(arg1)->PositionBefore(arg2); |
cfe5e918 RD |
13374 | |
13375 | wxPyEndAllowThreads(__tstate); | |
13376 | if (PyErr_Occurred()) SWIG_fail; | |
13377 | } | |
093d3ff1 RD |
13378 | { |
13379 | resultobj = SWIG_From_int((int)(result)); | |
13380 | } | |
cfe5e918 RD |
13381 | return resultobj; |
13382 | fail: | |
13383 | return NULL; | |
13384 | } | |
13385 | ||
13386 | ||
093d3ff1 | 13387 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13388 | PyObject *resultobj; |
13389 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13390 | int arg2 ; |
13391 | int result; | |
cfe5e918 | 13392 | PyObject * obj0 = 0 ; |
093d3ff1 | 13393 | PyObject * obj1 = 0 ; |
cfe5e918 | 13394 | char *kwnames[] = { |
093d3ff1 | 13395 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
13396 | }; |
13397 | ||
093d3ff1 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(); | |
093d3ff1 | 13407 | result = (int)(arg1)->PositionAfter(arg2); |
cfe5e918 RD |
13408 | |
13409 | wxPyEndAllowThreads(__tstate); | |
13410 | if (PyErr_Occurred()) SWIG_fail; | |
13411 | } | |
093d3ff1 RD |
13412 | { |
13413 | resultobj = SWIG_From_int((int)(result)); | |
13414 | } | |
cfe5e918 RD |
13415 | return resultobj; |
13416 | fail: | |
13417 | return NULL; | |
13418 | } | |
13419 | ||
13420 | ||
093d3ff1 | 13421 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13422 | PyObject *resultobj; |
13423 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13424 | int arg2 ; |
13425 | int arg3 ; | |
cfe5e918 | 13426 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
13427 | PyObject * obj1 = 0 ; |
13428 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13429 | char *kwnames[] = { |
093d3ff1 | 13430 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
13431 | }; |
13432 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 13458 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13459 | PyObject *resultobj; |
13460 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13461 | int arg2 ; |
13462 | wxString *arg3 = 0 ; | |
13463 | bool temp3 = false ; | |
cfe5e918 | 13464 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
13465 | PyObject * obj1 = 0 ; |
13466 | PyObject * obj2 = 0 ; | |
cfe5e918 | 13467 | char *kwnames[] = { |
093d3ff1 | 13468 | (char *) "self",(char *) "length",(char *) "text", NULL |
cfe5e918 RD |
13469 | }; |
13470 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
13491 | { |
13492 | if (temp3) | |
13493 | delete arg3; | |
13494 | } | |
cfe5e918 RD |
13495 | return resultobj; |
13496 | fail: | |
093d3ff1 RD |
13497 | { |
13498 | if (temp3) | |
13499 | delete arg3; | |
13500 | } | |
cfe5e918 RD |
13501 | return NULL; |
13502 | } | |
13503 | ||
13504 | ||
093d3ff1 | 13505 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13506 | PyObject *resultobj; |
13507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 13508 | int arg2 ; |
cfe5e918 | 13509 | PyObject * obj0 = 0 ; |
093d3ff1 | 13510 | PyObject * obj1 = 0 ; |
cfe5e918 | 13511 | char *kwnames[] = { |
093d3ff1 | 13512 | (char *) "self",(char *) "mode", NULL |
cfe5e918 RD |
13513 | }; |
13514 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 13536 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13537 | PyObject *resultobj; |
13538 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 13539 | int result; |
cfe5e918 RD |
13540 | PyObject * obj0 = 0 ; |
13541 | char *kwnames[] = { | |
13542 | (char *) "self", NULL | |
13543 | }; | |
13544 | ||
093d3ff1 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(); | |
093d3ff1 | 13550 | result = (int)(arg1)->GetSelectionMode(); |
cfe5e918 RD |
13551 | |
13552 | wxPyEndAllowThreads(__tstate); | |
13553 | if (PyErr_Occurred()) SWIG_fail; | |
13554 | } | |
093d3ff1 RD |
13555 | { |
13556 | resultobj = SWIG_From_int((int)(result)); | |
13557 | } | |
cfe5e918 RD |
13558 | return resultobj; |
13559 | fail: | |
13560 | return NULL; | |
13561 | } | |
13562 | ||
13563 | ||
093d3ff1 | 13564 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13565 | PyObject *resultobj; |
13566 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13567 | int arg2 ; |
13568 | int result; | |
cfe5e918 | 13569 | PyObject * obj0 = 0 ; |
093d3ff1 | 13570 | PyObject * obj1 = 0 ; |
cfe5e918 | 13571 | char *kwnames[] = { |
093d3ff1 | 13572 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
13573 | }; |
13574 | ||
093d3ff1 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(); | |
093d3ff1 | 13584 | result = (int)(arg1)->GetLineSelStartPosition(arg2); |
cfe5e918 RD |
13585 | |
13586 | wxPyEndAllowThreads(__tstate); | |
13587 | if (PyErr_Occurred()) SWIG_fail; | |
13588 | } | |
093d3ff1 RD |
13589 | { |
13590 | resultobj = SWIG_From_int((int)(result)); | |
13591 | } | |
cfe5e918 RD |
13592 | return resultobj; |
13593 | fail: | |
13594 | return NULL; | |
13595 | } | |
13596 | ||
13597 | ||
093d3ff1 | 13598 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
13599 | PyObject *resultobj; |
13600 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
13601 | int arg2 ; |
13602 | int result; | |
cfe5e918 | 13603 | PyObject * obj0 = 0 ; |
093d3ff1 | 13604 | PyObject * obj1 = 0 ; |
cfe5e918 | 13605 | char *kwnames[] = { |
093d3ff1 | 13606 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
13607 | }; |
13608 | ||
093d3ff1 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(); | |
093d3ff1 | 13618 | result = (int)(arg1)->GetLineSelEndPosition(arg2); |
cfe5e918 RD |
13619 | |
13620 | wxPyEndAllowThreads(__tstate); | |
13621 | if (PyErr_Occurred()) SWIG_fail; | |
13622 | } | |
093d3ff1 RD |
13623 | { |
13624 | resultobj = SWIG_From_int((int)(result)); | |
13625 | } | |
cfe5e918 RD |
13626 | return resultobj; |
13627 | fail: | |
13628 | return NULL; | |
13629 | } | |
13630 | ||
13631 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13637 | (char *) "self", NULL |
cfe5e918 RD |
13638 | }; |
13639 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 13695 | (arg1)->CharLeftRectExtend(); |
cfe5e918 RD |
13696 | |
13697 | wxPyEndAllowThreads(__tstate); | |
13698 | if (PyErr_Occurred()) SWIG_fail; | |
13699 | } | |
093d3ff1 | 13700 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13701 | return resultobj; |
13702 | fail: | |
13703 | return NULL; | |
13704 | } | |
13705 | ||
13706 | ||
093d3ff1 | 13707 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
5e483524 RD |
13708 | PyObject *resultobj; |
13709 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5e483524 | 13710 | PyObject * obj0 = 0 ; |
5e483524 | 13711 | char *kwnames[] = { |
093d3ff1 | 13712 | (char *) "self", NULL |
5e483524 RD |
13713 | }; |
13714 | ||
093d3ff1 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; | |
5e483524 RD |
13718 | { |
13719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 13720 | (arg1)->CharRightRectExtend(); |
5e483524 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13787 | (char *) "self", NULL |
cfe5e918 RD |
13788 | }; |
13789 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 13820 | (arg1)->PageUpRectExtend(); |
cfe5e918 RD |
13821 | |
13822 | wxPyEndAllowThreads(__tstate); | |
13823 | if (PyErr_Occurred()) SWIG_fail; | |
13824 | } | |
093d3ff1 | 13825 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13826 | return resultobj; |
13827 | fail: | |
13828 | return NULL; | |
13829 | } | |
13830 | ||
13831 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13837 | (char *) "self", NULL |
cfe5e918 RD |
13838 | }; |
13839 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13862 | (char *) "self", NULL |
cfe5e918 RD |
13863 | }; |
13864 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13887 | (char *) "self", NULL |
cfe5e918 RD |
13888 | }; |
13889 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13912 | (char *) "self", NULL |
cfe5e918 RD |
13913 | }; |
13914 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 13945 | (arg1)->StutteredPageDownExtend(); |
cfe5e918 RD |
13946 | |
13947 | wxPyEndAllowThreads(__tstate); | |
13948 | if (PyErr_Occurred()) SWIG_fail; | |
13949 | } | |
093d3ff1 | 13950 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
13951 | return resultobj; |
13952 | fail: | |
13953 | return NULL; | |
13954 | } | |
13955 | ||
13956 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13962 | (char *) "self", NULL |
cfe5e918 RD |
13963 | }; |
13964 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 13987 | (char *) "self", NULL |
cfe5e918 RD |
13988 | }; |
13989 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 14012 | (char *) "self", NULL |
cfe5e918 RD |
14013 | }; |
14014 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 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[] = { |
093d3ff1 | 14037 | (char *) "self", NULL |
cfe5e918 RD |
14038 | }; |
14039 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 14057 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14058 | PyObject *resultobj; |
14059 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
14060 | wxString *arg2 = 0 ; |
14061 | bool temp2 = false ; | |
cfe5e918 RD |
14062 | PyObject * obj0 = 0 ; |
14063 | PyObject * obj1 = 0 ; | |
cfe5e918 | 14064 | char *kwnames[] = { |
093d3ff1 | 14065 | (char *) "self",(char *) "characters", NULL |
cfe5e918 RD |
14066 | }; |
14067 | ||
093d3ff1 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(); | |
093d3ff1 | 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; | |
093d3ff1 RD |
14084 | { |
14085 | if (temp2) | |
14086 | delete arg2; | |
14087 | } | |
cfe5e918 RD |
14088 | return resultobj; |
14089 | fail: | |
093d3ff1 RD |
14090 | { |
14091 | if (temp2) | |
14092 | delete arg2; | |
14093 | } | |
cfe5e918 RD |
14094 | return NULL; |
14095 | } | |
14096 | ||
14097 | ||
093d3ff1 | 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 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
093d3ff1 | 14123 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14124 | PyObject *resultobj; |
14125 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 14126 | int result; |
cfe5e918 | 14127 | PyObject * obj0 = 0 ; |
cfe5e918 | 14128 | char *kwnames[] = { |
093d3ff1 | 14129 | (char *) "self", NULL |
cfe5e918 RD |
14130 | }; |
14131 | ||
093d3ff1 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(); | |
093d3ff1 | 14137 | result = (int)(arg1)->AutoCompGetCurrent(); |
cfe5e918 RD |
14138 | |
14139 | wxPyEndAllowThreads(__tstate); | |
14140 | if (PyErr_Occurred()) SWIG_fail; | |
14141 | } | |
14142 | { | |
093d3ff1 | 14143 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
14144 | } |
14145 | return resultobj; | |
14146 | fail: | |
14147 | return NULL; | |
14148 | } | |
14149 | ||
14150 | ||
093d3ff1 | 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[] = { | |
093d3ff1 | 14158 | (char *) "self",(char *) "bytes", NULL |
cfe5e918 RD |
14159 | }; |
14160 | ||
093d3ff1 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(); | |
093d3ff1 | 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 | ||
e8d51145 RD |
14182 | static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
14183 | PyObject *resultobj; | |
14184 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14185 | int arg2 ; | |
14186 | int arg3 ; | |
14187 | int result; | |
14188 | PyObject * obj0 = 0 ; | |
14189 | PyObject * obj1 = 0 ; | |
14190 | PyObject * obj2 = 0 ; | |
14191 | char *kwnames[] = { | |
14192 | (char *) "self",(char *) "line",(char *) "column", NULL | |
14193 | }; | |
14194 | ||
14195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14198 | { | |
14199 | arg2 = (int)(SWIG_As_int(obj1)); | |
14200 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14201 | } | |
14202 | { | |
14203 | arg3 = (int)(SWIG_As_int(obj2)); | |
14204 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14205 | } | |
14206 | { | |
14207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14208 | result = (int)(arg1)->FindColumn(arg2,arg3); | |
14209 | ||
14210 | wxPyEndAllowThreads(__tstate); | |
14211 | if (PyErr_Occurred()) SWIG_fail; | |
14212 | } | |
14213 | { | |
14214 | resultobj = SWIG_From_int((int)(result)); | |
14215 | } | |
14216 | return resultobj; | |
14217 | fail: | |
14218 | return NULL; | |
14219 | } | |
14220 | ||
14221 | ||
093d3ff1 | 14222 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14223 | PyObject *resultobj; |
14224 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14225 | PyObject * obj0 = 0 ; |
cfe5e918 | 14226 | char *kwnames[] = { |
093d3ff1 | 14227 | (char *) "self", NULL |
cfe5e918 RD |
14228 | }; |
14229 | ||
093d3ff1 RD |
14230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; |
14231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14233 | { |
14234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14235 | (arg1)->StartRecord(); |
cfe5e918 RD |
14236 | |
14237 | wxPyEndAllowThreads(__tstate); | |
14238 | if (PyErr_Occurred()) SWIG_fail; | |
14239 | } | |
14240 | Py_INCREF(Py_None); resultobj = Py_None; | |
14241 | return resultobj; | |
14242 | fail: | |
14243 | return NULL; | |
14244 | } | |
14245 | ||
14246 | ||
093d3ff1 | 14247 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14248 | PyObject *resultobj; |
14249 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 | 14250 | PyObject * obj0 = 0 ; |
cfe5e918 | 14251 | char *kwnames[] = { |
093d3ff1 | 14252 | (char *) "self", NULL |
cfe5e918 RD |
14253 | }; |
14254 | ||
093d3ff1 RD |
14255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; |
14256 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14257 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14258 | { |
14259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14260 | (arg1)->StopRecord(); |
cfe5e918 RD |
14261 | |
14262 | wxPyEndAllowThreads(__tstate); | |
14263 | if (PyErr_Occurred()) SWIG_fail; | |
14264 | } | |
093d3ff1 | 14265 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14266 | return resultobj; |
14267 | fail: | |
14268 | return NULL; | |
14269 | } | |
14270 | ||
14271 | ||
093d3ff1 | 14272 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14273 | PyObject *resultobj; |
14274 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 14275 | int arg2 ; |
cfe5e918 RD |
14276 | PyObject * obj0 = 0 ; |
14277 | PyObject * obj1 = 0 ; | |
14278 | char *kwnames[] = { | |
093d3ff1 | 14279 | (char *) "self",(char *) "lexer", NULL |
cfe5e918 RD |
14280 | }; |
14281 | ||
093d3ff1 RD |
14282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; |
14283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14285 | { | |
14286 | arg2 = (int)(SWIG_As_int(obj1)); | |
14287 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14288 | } | |
cfe5e918 RD |
14289 | { |
14290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14291 | (arg1)->SetLexer(arg2); |
cfe5e918 RD |
14292 | |
14293 | wxPyEndAllowThreads(__tstate); | |
14294 | if (PyErr_Occurred()) SWIG_fail; | |
14295 | } | |
14296 | Py_INCREF(Py_None); resultobj = Py_None; | |
14297 | return resultobj; | |
14298 | fail: | |
14299 | return NULL; | |
14300 | } | |
14301 | ||
14302 | ||
093d3ff1 | 14303 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14304 | PyObject *resultobj; |
14305 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 | 14306 | int result; |
cfe5e918 | 14307 | PyObject * obj0 = 0 ; |
cfe5e918 | 14308 | char *kwnames[] = { |
093d3ff1 | 14309 | (char *) "self", NULL |
cfe5e918 RD |
14310 | }; |
14311 | ||
093d3ff1 RD |
14312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; |
14313 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14314 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14315 | { |
14316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14317 | result = (int)(arg1)->GetLexer(); |
cfe5e918 RD |
14318 | |
14319 | wxPyEndAllowThreads(__tstate); | |
14320 | if (PyErr_Occurred()) SWIG_fail; | |
14321 | } | |
093d3ff1 RD |
14322 | { |
14323 | resultobj = SWIG_From_int((int)(result)); | |
14324 | } | |
cfe5e918 RD |
14325 | return resultobj; |
14326 | fail: | |
14327 | return NULL; | |
14328 | } | |
14329 | ||
14330 | ||
093d3ff1 | 14331 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14332 | PyObject *resultobj; |
14333 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
14334 | int arg2 ; |
14335 | int arg3 ; | |
cfe5e918 | 14336 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
14337 | PyObject * obj1 = 0 ; |
14338 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14339 | char *kwnames[] = { |
093d3ff1 | 14340 | (char *) "self",(char *) "start",(char *) "end", NULL |
cfe5e918 RD |
14341 | }; |
14342 | ||
093d3ff1 RD |
14343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14346 | { | |
14347 | arg2 = (int)(SWIG_As_int(obj1)); | |
14348 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14349 | } | |
14350 | { | |
14351 | arg3 = (int)(SWIG_As_int(obj2)); | |
14352 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14353 | } | |
cfe5e918 RD |
14354 | { |
14355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14356 | (arg1)->Colourise(arg2,arg3); |
cfe5e918 RD |
14357 | |
14358 | wxPyEndAllowThreads(__tstate); | |
14359 | if (PyErr_Occurred()) SWIG_fail; | |
14360 | } | |
093d3ff1 | 14361 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14362 | return resultobj; |
14363 | fail: | |
14364 | return NULL; | |
14365 | } | |
14366 | ||
14367 | ||
093d3ff1 | 14368 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14369 | PyObject *resultobj; |
14370 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
14371 | wxString *arg2 = 0 ; |
14372 | wxString *arg3 = 0 ; | |
14373 | bool temp2 = false ; | |
14374 | bool temp3 = false ; | |
cfe5e918 RD |
14375 | PyObject * obj0 = 0 ; |
14376 | PyObject * obj1 = 0 ; | |
093d3ff1 | 14377 | PyObject * obj2 = 0 ; |
cfe5e918 | 14378 | char *kwnames[] = { |
093d3ff1 | 14379 | (char *) "self",(char *) "key",(char *) "value", NULL |
cfe5e918 RD |
14380 | }; |
14381 | ||
093d3ff1 RD |
14382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14385 | { | |
14386 | arg2 = wxString_in_helper(obj1); | |
14387 | if (arg2 == NULL) SWIG_fail; | |
14388 | temp2 = true; | |
14389 | } | |
14390 | { | |
14391 | arg3 = wxString_in_helper(obj2); | |
14392 | if (arg3 == NULL) SWIG_fail; | |
14393 | temp3 = true; | |
14394 | } | |
cfe5e918 RD |
14395 | { |
14396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14397 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14398 | |
14399 | wxPyEndAllowThreads(__tstate); | |
14400 | if (PyErr_Occurred()) SWIG_fail; | |
14401 | } | |
14402 | Py_INCREF(Py_None); resultobj = Py_None; | |
093d3ff1 RD |
14403 | { |
14404 | if (temp2) | |
14405 | delete arg2; | |
14406 | } | |
14407 | { | |
14408 | if (temp3) | |
14409 | delete arg3; | |
14410 | } | |
cfe5e918 RD |
14411 | return resultobj; |
14412 | fail: | |
093d3ff1 RD |
14413 | { |
14414 | if (temp2) | |
14415 | delete arg2; | |
14416 | } | |
14417 | { | |
14418 | if (temp3) | |
14419 | delete arg3; | |
14420 | } | |
cfe5e918 RD |
14421 | return NULL; |
14422 | } | |
14423 | ||
14424 | ||
093d3ff1 | 14425 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14426 | PyObject *resultobj; |
14427 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
14428 | int arg2 ; |
14429 | wxString *arg3 = 0 ; | |
14430 | bool temp3 = false ; | |
cfe5e918 RD |
14431 | PyObject * obj0 = 0 ; |
14432 | PyObject * obj1 = 0 ; | |
093d3ff1 | 14433 | PyObject * obj2 = 0 ; |
cfe5e918 | 14434 | char *kwnames[] = { |
093d3ff1 | 14435 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL |
cfe5e918 RD |
14436 | }; |
14437 | ||
093d3ff1 RD |
14438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14439 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14440 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14441 | { |
093d3ff1 RD |
14442 | arg2 = (int)(SWIG_As_int(obj1)); |
14443 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14444 | } | |
14445 | { | |
14446 | arg3 = wxString_in_helper(obj2); | |
14447 | if (arg3 == NULL) SWIG_fail; | |
14448 | temp3 = true; | |
cfe5e918 RD |
14449 | } |
14450 | { | |
14451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14452 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14453 | |
14454 | wxPyEndAllowThreads(__tstate); | |
14455 | if (PyErr_Occurred()) SWIG_fail; | |
14456 | } | |
093d3ff1 | 14457 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14458 | { |
093d3ff1 RD |
14459 | if (temp3) |
14460 | delete arg3; | |
cfe5e918 RD |
14461 | } |
14462 | return resultobj; | |
14463 | fail: | |
14464 | { | |
093d3ff1 RD |
14465 | if (temp3) |
14466 | delete arg3; | |
cfe5e918 RD |
14467 | } |
14468 | return NULL; | |
14469 | } | |
14470 | ||
14471 | ||
093d3ff1 | 14472 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14473 | PyObject *resultobj; |
14474 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14475 | wxString *arg2 = 0 ; | |
ae8162c8 | 14476 | bool temp2 = false ; |
cfe5e918 RD |
14477 | PyObject * obj0 = 0 ; |
14478 | PyObject * obj1 = 0 ; | |
14479 | char *kwnames[] = { | |
093d3ff1 | 14480 | (char *) "self",(char *) "language", NULL |
cfe5e918 RD |
14481 | }; |
14482 | ||
093d3ff1 RD |
14483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; |
14484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14486 | { |
14487 | arg2 = wxString_in_helper(obj1); | |
14488 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14489 | temp2 = true; |
cfe5e918 RD |
14490 | } |
14491 | { | |
14492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14493 | (arg1)->SetLexerLanguage((wxString const &)*arg2); |
cfe5e918 RD |
14494 | |
14495 | wxPyEndAllowThreads(__tstate); | |
14496 | if (PyErr_Occurred()) SWIG_fail; | |
14497 | } | |
093d3ff1 | 14498 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14499 | { |
14500 | if (temp2) | |
14501 | delete arg2; | |
14502 | } | |
14503 | return resultobj; | |
14504 | fail: | |
14505 | { | |
14506 | if (temp2) | |
14507 | delete arg2; | |
14508 | } | |
14509 | return NULL; | |
14510 | } | |
14511 | ||
14512 | ||
093d3ff1 | 14513 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14514 | PyObject *resultobj; |
14515 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
cfe5e918 RD |
14516 | int result; |
14517 | PyObject * obj0 = 0 ; | |
cfe5e918 | 14518 | char *kwnames[] = { |
093d3ff1 | 14519 | (char *) "self", NULL |
cfe5e918 RD |
14520 | }; |
14521 | ||
093d3ff1 RD |
14522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; |
14523 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14524 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14525 | { |
14526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14527 | result = (int)(arg1)->GetCurrentLine(); |
cfe5e918 RD |
14528 | |
14529 | wxPyEndAllowThreads(__tstate); | |
14530 | if (PyErr_Occurred()) SWIG_fail; | |
14531 | } | |
093d3ff1 RD |
14532 | { |
14533 | resultobj = SWIG_From_int((int)(result)); | |
14534 | } | |
cfe5e918 RD |
14535 | return resultobj; |
14536 | fail: | |
14537 | return NULL; | |
14538 | } | |
14539 | ||
14540 | ||
093d3ff1 | 14541 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14542 | PyObject *resultobj; |
14543 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
14544 | int arg2 ; |
14545 | wxString *arg3 = 0 ; | |
14546 | bool temp3 = false ; | |
cfe5e918 RD |
14547 | PyObject * obj0 = 0 ; |
14548 | PyObject * obj1 = 0 ; | |
14549 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14550 | char *kwnames[] = { |
093d3ff1 | 14551 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL |
cfe5e918 RD |
14552 | }; |
14553 | ||
093d3ff1 RD |
14554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14555 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14556 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14557 | { |
093d3ff1 RD |
14558 | arg2 = (int)(SWIG_As_int(obj1)); |
14559 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14560 | } | |
14561 | { | |
14562 | arg3 = wxString_in_helper(obj2); | |
14563 | if (arg3 == NULL) SWIG_fail; | |
14564 | temp3 = true; | |
cfe5e918 RD |
14565 | } |
14566 | { | |
14567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14568 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); |
cfe5e918 RD |
14569 | |
14570 | wxPyEndAllowThreads(__tstate); | |
14571 | if (PyErr_Occurred()) SWIG_fail; | |
14572 | } | |
093d3ff1 | 14573 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14574 | { |
093d3ff1 RD |
14575 | if (temp3) |
14576 | delete arg3; | |
cfe5e918 RD |
14577 | } |
14578 | return resultobj; | |
14579 | fail: | |
14580 | { | |
093d3ff1 RD |
14581 | if (temp3) |
14582 | delete arg3; | |
cfe5e918 RD |
14583 | } |
14584 | return NULL; | |
14585 | } | |
14586 | ||
14587 | ||
093d3ff1 | 14588 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14589 | PyObject *resultobj; |
14590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
14591 | int arg2 ; |
14592 | wxFont *arg3 = 0 ; | |
cfe5e918 RD |
14593 | PyObject * obj0 = 0 ; |
14594 | PyObject * obj1 = 0 ; | |
093d3ff1 | 14595 | PyObject * obj2 = 0 ; |
cfe5e918 | 14596 | char *kwnames[] = { |
093d3ff1 | 14597 | (char *) "self",(char *) "styleNum",(char *) "font", NULL |
cfe5e918 RD |
14598 | }; |
14599 | ||
093d3ff1 RD |
14600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14601 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14602 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14603 | { | |
14604 | arg2 = (int)(SWIG_As_int(obj1)); | |
14605 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14606 | } | |
14607 | { | |
14608 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
14609 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14610 | if (arg3 == NULL) { | |
14611 | SWIG_null_ref("wxFont"); | |
14612 | } | |
14613 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14614 | } | |
cfe5e918 RD |
14615 | { |
14616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14617 | (arg1)->StyleSetFont(arg2,*arg3); |
cfe5e918 RD |
14618 | |
14619 | wxPyEndAllowThreads(__tstate); | |
14620 | if (PyErr_Occurred()) SWIG_fail; | |
14621 | } | |
14622 | Py_INCREF(Py_None); resultobj = Py_None; | |
14623 | return resultobj; | |
14624 | fail: | |
14625 | return NULL; | |
14626 | } | |
14627 | ||
14628 | ||
093d3ff1 | 14629 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
14630 | PyObject *resultobj; |
14631 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
093d3ff1 RD |
14632 | int arg2 ; |
14633 | int arg3 ; | |
14634 | wxString *arg4 = 0 ; | |
14635 | bool arg5 ; | |
14636 | bool arg6 ; | |
14637 | bool arg7 ; | |
14638 | bool temp4 = false ; | |
14639 | PyObject * obj0 = 0 ; | |
14640 | PyObject * obj1 = 0 ; | |
14641 | PyObject * obj2 = 0 ; | |
14642 | PyObject * obj3 = 0 ; | |
14643 | PyObject * obj4 = 0 ; | |
14644 | PyObject * obj5 = 0 ; | |
14645 | PyObject * obj6 = 0 ; | |
cfe5e918 | 14646 | char *kwnames[] = { |
093d3ff1 | 14647 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL |
cfe5e918 RD |
14648 | }; |
14649 | ||
093d3ff1 RD |
14650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
14651 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14652 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14653 | { | |
14654 | arg2 = (int)(SWIG_As_int(obj1)); | |
14655 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14656 | } | |
14657 | { | |
14658 | arg3 = (int)(SWIG_As_int(obj2)); | |
14659 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14660 | } | |
14661 | { | |
14662 | arg4 = wxString_in_helper(obj3); | |
14663 | if (arg4 == NULL) SWIG_fail; | |
14664 | temp4 = true; | |
14665 | } | |
14666 | { | |
14667 | arg5 = (bool)(SWIG_As_bool(obj4)); | |
14668 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14669 | } | |
14670 | { | |
14671 | arg6 = (bool)(SWIG_As_bool(obj5)); | |
14672 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14673 | } | |
14674 | { | |
14675 | arg7 = (bool)(SWIG_As_bool(obj6)); | |
14676 | if (SWIG_arg_fail(7)) SWIG_fail; | |
14677 | } | |
cfe5e918 RD |
14678 | { |
14679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14680 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); |
cfe5e918 RD |
14681 | |
14682 | wxPyEndAllowThreads(__tstate); | |
14683 | if (PyErr_Occurred()) SWIG_fail; | |
14684 | } | |
093d3ff1 | 14685 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 | 14686 | { |
093d3ff1 RD |
14687 | if (temp4) |
14688 | delete arg4; | |
cfe5e918 RD |
14689 | } |
14690 | return resultobj; | |
14691 | fail: | |
093d3ff1 RD |
14692 | { |
14693 | if (temp4) | |
14694 | delete arg4; | |
14695 | } | |
cfe5e918 RD |
14696 | return NULL; |
14697 | } | |
14698 | ||
14699 | ||
093d3ff1 | 14700 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14701 | PyObject *resultobj; |
093d3ff1 RD |
14702 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14703 | int arg2 ; | |
cfe5e918 RD |
14704 | PyObject * obj0 = 0 ; |
14705 | PyObject * obj1 = 0 ; | |
14706 | char *kwnames[] = { | |
093d3ff1 | 14707 | (char *) "self",(char *) "cmd", NULL |
cfe5e918 RD |
14708 | }; |
14709 | ||
093d3ff1 RD |
14710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; |
14711 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14712 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14713 | { | |
14714 | arg2 = (int)(SWIG_As_int(obj1)); | |
14715 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14716 | } |
14717 | { | |
14718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14719 | (arg1)->CmdKeyExecute(arg2); |
cfe5e918 RD |
14720 | |
14721 | wxPyEndAllowThreads(__tstate); | |
14722 | if (PyErr_Occurred()) SWIG_fail; | |
14723 | } | |
093d3ff1 | 14724 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
14725 | return resultobj; |
14726 | fail: | |
14727 | return NULL; | |
14728 | } | |
14729 | ||
14730 | ||
093d3ff1 | 14731 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14732 | PyObject *resultobj; |
093d3ff1 RD |
14733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14734 | int arg2 ; | |
14735 | int arg3 ; | |
cfe5e918 | 14736 | PyObject * obj0 = 0 ; |
093d3ff1 RD |
14737 | PyObject * obj1 = 0 ; |
14738 | PyObject * obj2 = 0 ; | |
cfe5e918 | 14739 | char *kwnames[] = { |
093d3ff1 | 14740 | (char *) "self",(char *) "left",(char *) "right", NULL |
cfe5e918 RD |
14741 | }; |
14742 | ||
093d3ff1 RD |
14743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14746 | { | |
14747 | arg2 = (int)(SWIG_As_int(obj1)); | |
14748 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14749 | } | |
14750 | { | |
14751 | arg3 = (int)(SWIG_As_int(obj2)); | |
14752 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14753 | } | |
cfe5e918 RD |
14754 | { |
14755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14756 | (arg1)->SetMargins(arg2,arg3); |
cfe5e918 RD |
14757 | |
14758 | wxPyEndAllowThreads(__tstate); | |
14759 | if (PyErr_Occurred()) SWIG_fail; | |
14760 | } | |
14761 | Py_INCREF(Py_None); resultobj = Py_None; | |
14762 | return resultobj; | |
14763 | fail: | |
14764 | return NULL; | |
14765 | } | |
14766 | ||
14767 | ||
093d3ff1 | 14768 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14769 | PyObject *resultobj; |
093d3ff1 RD |
14770 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14771 | int *arg2 = (int *) 0 ; | |
14772 | int *arg3 = (int *) 0 ; | |
14773 | int temp2 ; | |
14774 | int res2 = 0 ; | |
14775 | int temp3 ; | |
14776 | int res3 = 0 ; | |
cfe5e918 | 14777 | PyObject * obj0 = 0 ; |
cfe5e918 | 14778 | char *kwnames[] = { |
093d3ff1 | 14779 | (char *) "self", NULL |
cfe5e918 RD |
14780 | }; |
14781 | ||
093d3ff1 RD |
14782 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
14783 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
14784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
14785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
14787 | { |
14788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14789 | (arg1)->GetSelection(arg2,arg3); |
cfe5e918 RD |
14790 | |
14791 | wxPyEndAllowThreads(__tstate); | |
14792 | if (PyErr_Occurred()) SWIG_fail; | |
14793 | } | |
14794 | Py_INCREF(Py_None); resultobj = Py_None; | |
093d3ff1 RD |
14795 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
14796 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
14797 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
14798 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
cfe5e918 RD |
14799 | return resultobj; |
14800 | fail: | |
14801 | return NULL; | |
14802 | } | |
14803 | ||
14804 | ||
093d3ff1 | 14805 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14806 | PyObject *resultobj; |
093d3ff1 | 14807 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 | 14808 | int arg2 ; |
093d3ff1 | 14809 | wxPoint result; |
cfe5e918 RD |
14810 | PyObject * obj0 = 0 ; |
14811 | PyObject * obj1 = 0 ; | |
14812 | char *kwnames[] = { | |
093d3ff1 | 14813 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
14814 | }; |
14815 | ||
093d3ff1 RD |
14816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; |
14817 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14818 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14819 | { | |
14820 | arg2 = (int)(SWIG_As_int(obj1)); | |
14821 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14822 | } | |
cfe5e918 RD |
14823 | { |
14824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14825 | result = (arg1)->PointFromPosition(arg2); |
cfe5e918 RD |
14826 | |
14827 | wxPyEndAllowThreads(__tstate); | |
14828 | if (PyErr_Occurred()) SWIG_fail; | |
14829 | } | |
093d3ff1 RD |
14830 | { |
14831 | wxPoint * resultptr; | |
14832 | resultptr = new wxPoint((wxPoint &)(result)); | |
14833 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
14834 | } | |
cfe5e918 RD |
14835 | return resultobj; |
14836 | fail: | |
14837 | return NULL; | |
14838 | } | |
14839 | ||
14840 | ||
093d3ff1 | 14841 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14842 | PyObject *resultobj; |
093d3ff1 | 14843 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 RD |
14844 | int arg2 ; |
14845 | PyObject * obj0 = 0 ; | |
14846 | PyObject * obj1 = 0 ; | |
14847 | char *kwnames[] = { | |
093d3ff1 | 14848 | (char *) "self",(char *) "line", NULL |
cfe5e918 RD |
14849 | }; |
14850 | ||
093d3ff1 RD |
14851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; |
14852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14854 | { | |
14855 | arg2 = (int)(SWIG_As_int(obj1)); | |
14856 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14857 | } | |
cfe5e918 RD |
14858 | { |
14859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14860 | (arg1)->ScrollToLine(arg2); |
cfe5e918 RD |
14861 | |
14862 | wxPyEndAllowThreads(__tstate); | |
14863 | if (PyErr_Occurred()) SWIG_fail; | |
14864 | } | |
14865 | Py_INCREF(Py_None); resultobj = Py_None; | |
14866 | return resultobj; | |
14867 | fail: | |
14868 | return NULL; | |
14869 | } | |
14870 | ||
14871 | ||
093d3ff1 | 14872 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14873 | PyObject *resultobj; |
093d3ff1 | 14874 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 RD |
14875 | int arg2 ; |
14876 | PyObject * obj0 = 0 ; | |
14877 | PyObject * obj1 = 0 ; | |
14878 | char *kwnames[] = { | |
093d3ff1 | 14879 | (char *) "self",(char *) "column", NULL |
cfe5e918 RD |
14880 | }; |
14881 | ||
093d3ff1 RD |
14882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; |
14883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14885 | { | |
14886 | arg2 = (int)(SWIG_As_int(obj1)); | |
14887 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14888 | } | |
cfe5e918 RD |
14889 | { |
14890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14891 | (arg1)->ScrollToColumn(arg2); |
cfe5e918 RD |
14892 | |
14893 | wxPyEndAllowThreads(__tstate); | |
14894 | if (PyErr_Occurred()) SWIG_fail; | |
14895 | } | |
14896 | Py_INCREF(Py_None); resultobj = Py_None; | |
14897 | return resultobj; | |
14898 | fail: | |
14899 | return NULL; | |
14900 | } | |
14901 | ||
14902 | ||
093d3ff1 | 14903 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14904 | PyObject *resultobj; |
093d3ff1 RD |
14905 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14906 | int arg2 ; | |
14907 | long arg3 = (long) 0 ; | |
14908 | long arg4 = (long) 0 ; | |
14909 | long result; | |
cfe5e918 RD |
14910 | PyObject * obj0 = 0 ; |
14911 | PyObject * obj1 = 0 ; | |
093d3ff1 RD |
14912 | PyObject * obj2 = 0 ; |
14913 | PyObject * obj3 = 0 ; | |
cfe5e918 | 14914 | char *kwnames[] = { |
093d3ff1 | 14915 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL |
cfe5e918 RD |
14916 | }; |
14917 | ||
093d3ff1 RD |
14918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
14919 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14920 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 14921 | { |
093d3ff1 RD |
14922 | arg2 = (int)(SWIG_As_int(obj1)); |
14923 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14924 | } | |
14925 | if (obj2) { | |
14926 | { | |
14927 | arg3 = (long)(SWIG_As_long(obj2)); | |
14928 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14929 | } | |
14930 | } | |
14931 | if (obj3) { | |
14932 | { | |
14933 | arg4 = (long)(SWIG_As_long(obj3)); | |
14934 | if (SWIG_arg_fail(4)) SWIG_fail; | |
14935 | } | |
cfe5e918 RD |
14936 | } |
14937 | { | |
14938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14939 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); |
cfe5e918 RD |
14940 | |
14941 | wxPyEndAllowThreads(__tstate); | |
14942 | if (PyErr_Occurred()) SWIG_fail; | |
14943 | } | |
cfe5e918 | 14944 | { |
093d3ff1 | 14945 | resultobj = SWIG_From_long((long)(result)); |
cfe5e918 RD |
14946 | } |
14947 | return resultobj; | |
14948 | fail: | |
cfe5e918 RD |
14949 | return NULL; |
14950 | } | |
14951 | ||
14952 | ||
093d3ff1 | 14953 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14954 | PyObject *resultobj; |
093d3ff1 RD |
14955 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14956 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
cfe5e918 RD |
14957 | PyObject * obj0 = 0 ; |
14958 | PyObject * obj1 = 0 ; | |
14959 | char *kwnames[] = { | |
093d3ff1 | 14960 | (char *) "self",(char *) "bar", NULL |
cfe5e918 RD |
14961 | }; |
14962 | ||
093d3ff1 RD |
14963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; |
14964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14966 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14967 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14968 | { |
14969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14970 | (arg1)->SetVScrollBar(arg2); |
cfe5e918 RD |
14971 | |
14972 | wxPyEndAllowThreads(__tstate); | |
14973 | if (PyErr_Occurred()) SWIG_fail; | |
14974 | } | |
14975 | Py_INCREF(Py_None); resultobj = Py_None; | |
14976 | return resultobj; | |
14977 | fail: | |
14978 | return NULL; | |
14979 | } | |
14980 | ||
14981 | ||
093d3ff1 | 14982 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 14983 | PyObject *resultobj; |
093d3ff1 RD |
14984 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14985 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
cfe5e918 RD |
14986 | PyObject * obj0 = 0 ; |
14987 | PyObject * obj1 = 0 ; | |
14988 | char *kwnames[] = { | |
093d3ff1 | 14989 | (char *) "self",(char *) "bar", NULL |
cfe5e918 RD |
14990 | }; |
14991 | ||
093d3ff1 RD |
14992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; |
14993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14995 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14996 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
14997 | { |
14998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 14999 | (arg1)->SetHScrollBar(arg2); |
cfe5e918 RD |
15000 | |
15001 | wxPyEndAllowThreads(__tstate); | |
15002 | if (PyErr_Occurred()) SWIG_fail; | |
15003 | } | |
15004 | Py_INCREF(Py_None); resultobj = Py_None; | |
15005 | return resultobj; | |
15006 | fail: | |
15007 | return NULL; | |
15008 | } | |
15009 | ||
15010 | ||
093d3ff1 | 15011 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15012 | PyObject *resultobj; |
093d3ff1 RD |
15013 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15014 | bool result; | |
cfe5e918 | 15015 | PyObject * obj0 = 0 ; |
cfe5e918 | 15016 | char *kwnames[] = { |
093d3ff1 | 15017 | (char *) "self", NULL |
cfe5e918 RD |
15018 | }; |
15019 | ||
093d3ff1 RD |
15020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; |
15021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15023 | { |
15024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15025 | result = (bool)(arg1)->GetLastKeydownProcessed(); |
cfe5e918 RD |
15026 | |
15027 | wxPyEndAllowThreads(__tstate); | |
15028 | if (PyErr_Occurred()) SWIG_fail; | |
15029 | } | |
093d3ff1 RD |
15030 | { |
15031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15032 | } | |
cfe5e918 RD |
15033 | return resultobj; |
15034 | fail: | |
15035 | return NULL; | |
15036 | } | |
15037 | ||
15038 | ||
093d3ff1 | 15039 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15040 | PyObject *resultobj; |
093d3ff1 RD |
15041 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15042 | bool arg2 ; | |
cfe5e918 RD |
15043 | PyObject * obj0 = 0 ; |
15044 | PyObject * obj1 = 0 ; | |
15045 | char *kwnames[] = { | |
15046 | (char *) "self",(char *) "val", NULL | |
15047 | }; | |
15048 | ||
093d3ff1 RD |
15049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; |
15050 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15051 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15052 | { | |
15053 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15054 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15055 | } | |
cfe5e918 RD |
15056 | { |
15057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15058 | (arg1)->SetLastKeydownProcessed(arg2); |
cfe5e918 RD |
15059 | |
15060 | wxPyEndAllowThreads(__tstate); | |
15061 | if (PyErr_Occurred()) SWIG_fail; | |
15062 | } | |
15063 | Py_INCREF(Py_None); resultobj = Py_None; | |
15064 | return resultobj; | |
15065 | fail: | |
15066 | return NULL; | |
15067 | } | |
15068 | ||
15069 | ||
093d3ff1 | 15070 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15071 | PyObject *resultobj; |
093d3ff1 RD |
15072 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15073 | wxString *arg2 = 0 ; | |
15074 | bool result; | |
15075 | bool temp2 = false ; | |
cfe5e918 RD |
15076 | PyObject * obj0 = 0 ; |
15077 | PyObject * obj1 = 0 ; | |
15078 | char *kwnames[] = { | |
093d3ff1 | 15079 | (char *) "self",(char *) "filename", NULL |
cfe5e918 RD |
15080 | }; |
15081 | ||
093d3ff1 RD |
15082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; |
15083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15085 | { | |
15086 | arg2 = wxString_in_helper(obj1); | |
15087 | if (arg2 == NULL) SWIG_fail; | |
15088 | temp2 = true; | |
15089 | } | |
cfe5e918 RD |
15090 | { |
15091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15092 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); |
cfe5e918 RD |
15093 | |
15094 | wxPyEndAllowThreads(__tstate); | |
15095 | if (PyErr_Occurred()) SWIG_fail; | |
15096 | } | |
093d3ff1 RD |
15097 | { |
15098 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15099 | } | |
15100 | { | |
15101 | if (temp2) | |
15102 | delete arg2; | |
15103 | } | |
cfe5e918 RD |
15104 | return resultobj; |
15105 | fail: | |
093d3ff1 RD |
15106 | { |
15107 | if (temp2) | |
15108 | delete arg2; | |
15109 | } | |
cfe5e918 RD |
15110 | return NULL; |
15111 | } | |
15112 | ||
15113 | ||
093d3ff1 | 15114 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15115 | PyObject *resultobj; |
093d3ff1 RD |
15116 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15117 | wxString *arg2 = 0 ; | |
15118 | bool result; | |
15119 | bool temp2 = false ; | |
cfe5e918 RD |
15120 | PyObject * obj0 = 0 ; |
15121 | PyObject * obj1 = 0 ; | |
15122 | char *kwnames[] = { | |
093d3ff1 | 15123 | (char *) "self",(char *) "filename", NULL |
cfe5e918 RD |
15124 | }; |
15125 | ||
093d3ff1 RD |
15126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; |
15127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15129 | { | |
15130 | arg2 = wxString_in_helper(obj1); | |
15131 | if (arg2 == NULL) SWIG_fail; | |
15132 | temp2 = true; | |
15133 | } | |
cfe5e918 RD |
15134 | { |
15135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15136 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); |
cfe5e918 RD |
15137 | |
15138 | wxPyEndAllowThreads(__tstate); | |
15139 | if (PyErr_Occurred()) SWIG_fail; | |
15140 | } | |
093d3ff1 RD |
15141 | { |
15142 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15143 | } | |
15144 | { | |
15145 | if (temp2) | |
15146 | delete arg2; | |
15147 | } | |
cfe5e918 RD |
15148 | return resultobj; |
15149 | fail: | |
093d3ff1 RD |
15150 | { |
15151 | if (temp2) | |
15152 | delete arg2; | |
15153 | } | |
cfe5e918 RD |
15154 | return NULL; |
15155 | } | |
15156 | ||
15157 | ||
093d3ff1 | 15158 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15159 | PyObject *resultobj; |
093d3ff1 | 15160 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
cfe5e918 | 15161 | int arg2 ; |
093d3ff1 RD |
15162 | int arg3 ; |
15163 | wxDragResult arg4 ; | |
15164 | wxDragResult result; | |
cfe5e918 RD |
15165 | PyObject * obj0 = 0 ; |
15166 | PyObject * obj1 = 0 ; | |
093d3ff1 RD |
15167 | PyObject * obj2 = 0 ; |
15168 | PyObject * obj3 = 0 ; | |
cfe5e918 | 15169 | char *kwnames[] = { |
093d3ff1 | 15170 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL |
cfe5e918 RD |
15171 | }; |
15172 | ||
093d3ff1 RD |
15173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15174 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15175 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15176 | { | |
15177 | arg2 = (int)(SWIG_As_int(obj1)); | |
15178 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15179 | } | |
15180 | { | |
15181 | arg3 = (int)(SWIG_As_int(obj2)); | |
15182 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15183 | } | |
15184 | { | |
15185 | arg4 = (wxDragResult)(SWIG_As_int(obj3)); | |
15186 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15187 | } | |
cfe5e918 RD |
15188 | { |
15189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15190 | result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); |
cfe5e918 RD |
15191 | |
15192 | wxPyEndAllowThreads(__tstate); | |
15193 | if (PyErr_Occurred()) SWIG_fail; | |
15194 | } | |
093d3ff1 | 15195 | resultobj = SWIG_From_int((result)); |
cfe5e918 RD |
15196 | return resultobj; |
15197 | fail: | |
15198 | return NULL; | |
15199 | } | |
15200 | ||
15201 | ||
093d3ff1 | 15202 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15203 | PyObject *resultobj; |
093d3ff1 RD |
15204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15205 | long arg2 ; | |
15206 | long arg3 ; | |
15207 | wxString *arg4 = 0 ; | |
15208 | bool result; | |
15209 | bool temp4 = false ; | |
cfe5e918 RD |
15210 | PyObject * obj0 = 0 ; |
15211 | PyObject * obj1 = 0 ; | |
093d3ff1 RD |
15212 | PyObject * obj2 = 0 ; |
15213 | PyObject * obj3 = 0 ; | |
cfe5e918 | 15214 | char *kwnames[] = { |
093d3ff1 | 15215 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL |
cfe5e918 RD |
15216 | }; |
15217 | ||
093d3ff1 RD |
15218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15219 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15220 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15221 | { | |
15222 | arg2 = (long)(SWIG_As_long(obj1)); | |
15223 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15224 | } | |
15225 | { | |
15226 | arg3 = (long)(SWIG_As_long(obj2)); | |
15227 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15228 | } | |
15229 | { | |
15230 | arg4 = wxString_in_helper(obj3); | |
15231 | if (arg4 == NULL) SWIG_fail; | |
15232 | temp4 = true; | |
15233 | } | |
cfe5e918 RD |
15234 | { |
15235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15236 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); |
cfe5e918 RD |
15237 | |
15238 | wxPyEndAllowThreads(__tstate); | |
15239 | if (PyErr_Occurred()) SWIG_fail; | |
15240 | } | |
093d3ff1 RD |
15241 | { |
15242 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15243 | } | |
15244 | { | |
15245 | if (temp4) | |
15246 | delete arg4; | |
15247 | } | |
cfe5e918 RD |
15248 | return resultobj; |
15249 | fail: | |
093d3ff1 RD |
15250 | { |
15251 | if (temp4) | |
15252 | delete arg4; | |
15253 | } | |
cfe5e918 RD |
15254 | return NULL; |
15255 | } | |
15256 | ||
15257 | ||
093d3ff1 | 15258 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15259 | PyObject *resultobj; |
093d3ff1 RD |
15260 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15261 | bool arg2 ; | |
cfe5e918 RD |
15262 | PyObject * obj0 = 0 ; |
15263 | PyObject * obj1 = 0 ; | |
15264 | char *kwnames[] = { | |
093d3ff1 | 15265 | (char *) "self",(char *) "useAA", NULL |
cfe5e918 RD |
15266 | }; |
15267 | ||
093d3ff1 RD |
15268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; |
15269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15271 | { | |
15272 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15273 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15274 | } | |
cfe5e918 RD |
15275 | { |
15276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15277 | (arg1)->SetUseAntiAliasing(arg2); |
cfe5e918 RD |
15278 | |
15279 | wxPyEndAllowThreads(__tstate); | |
15280 | if (PyErr_Occurred()) SWIG_fail; | |
15281 | } | |
15282 | Py_INCREF(Py_None); resultobj = Py_None; | |
15283 | return resultobj; | |
15284 | fail: | |
15285 | return NULL; | |
15286 | } | |
15287 | ||
15288 | ||
093d3ff1 | 15289 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 | 15290 | PyObject *resultobj; |
093d3ff1 RD |
15291 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15292 | bool result; | |
cfe5e918 | 15293 | PyObject * obj0 = 0 ; |
cfe5e918 | 15294 | char *kwnames[] = { |
093d3ff1 | 15295 | (char *) "self", NULL |
cfe5e918 RD |
15296 | }; |
15297 | ||
093d3ff1 RD |
15298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; |
15299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15301 | { |
15302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15303 | result = (bool)(arg1)->GetUseAntiAliasing(); |
cfe5e918 RD |
15304 | |
15305 | wxPyEndAllowThreads(__tstate); | |
15306 | if (PyErr_Occurred()) SWIG_fail; | |
15307 | } | |
093d3ff1 RD |
15308 | { |
15309 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15310 | } | |
cfe5e918 RD |
15311 | return resultobj; |
15312 | fail: | |
15313 | return NULL; | |
15314 | } | |
15315 | ||
15316 | ||
093d3ff1 RD |
15317 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { |
15318 | PyObject *obj; | |
15319 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15320 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
15321 | Py_INCREF(obj); | |
15322 | return Py_BuildValue((char *)""); | |
15323 | } | |
15324 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
cfe5e918 | 15325 | PyObject *resultobj; |
093d3ff1 RD |
15326 | wxEventType arg1 = (wxEventType) 0 ; |
15327 | int arg2 = (int) 0 ; | |
15328 | wxStyledTextEvent *result; | |
cfe5e918 RD |
15329 | PyObject * obj0 = 0 ; |
15330 | PyObject * obj1 = 0 ; | |
15331 | char *kwnames[] = { | |
093d3ff1 | 15332 | (char *) "commandType",(char *) "id", NULL |
cfe5e918 RD |
15333 | }; |
15334 | ||
093d3ff1 RD |
15335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; |
15336 | if (obj0) { | |
15337 | { | |
15338 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
15339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15340 | } | |
15341 | } | |
15342 | if (obj1) { | |
15343 | { | |
15344 | arg2 = (int)(SWIG_As_int(obj1)); | |
15345 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15346 | } | |
15347 | } | |
cfe5e918 RD |
15348 | { |
15349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15350 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); |
cfe5e918 RD |
15351 | |
15352 | wxPyEndAllowThreads(__tstate); | |
15353 | if (PyErr_Occurred()) SWIG_fail; | |
15354 | } | |
093d3ff1 | 15355 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); |
cfe5e918 RD |
15356 | return resultobj; |
15357 | fail: | |
15358 | return NULL; | |
15359 | } | |
15360 | ||
15361 | ||
093d3ff1 | 15362 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15363 | PyObject *resultobj; |
15364 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
cfe5e918 | 15365 | PyObject * obj0 = 0 ; |
cfe5e918 | 15366 | char *kwnames[] = { |
093d3ff1 | 15367 | (char *) "self", NULL |
cfe5e918 RD |
15368 | }; |
15369 | ||
093d3ff1 RD |
15370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; |
15371 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15372 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
15373 | { |
15374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15375 | delete arg1; |
cfe5e918 RD |
15376 | |
15377 | wxPyEndAllowThreads(__tstate); | |
15378 | if (PyErr_Occurred()) SWIG_fail; | |
15379 | } | |
15380 | Py_INCREF(Py_None); resultobj = Py_None; | |
15381 | return resultobj; | |
15382 | fail: | |
15383 | return NULL; | |
15384 | } | |
15385 | ||
15386 | ||
093d3ff1 | 15387 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15388 | PyObject *resultobj; |
15389 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15390 | int arg2 ; |
cfe5e918 RD |
15391 | PyObject * obj0 = 0 ; |
15392 | PyObject * obj1 = 0 ; | |
15393 | char *kwnames[] = { | |
093d3ff1 | 15394 | (char *) "self",(char *) "pos", NULL |
cfe5e918 RD |
15395 | }; |
15396 | ||
093d3ff1 RD |
15397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; |
15398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 | 15400 | { |
093d3ff1 RD |
15401 | arg2 = (int)(SWIG_As_int(obj1)); |
15402 | if (SWIG_arg_fail(2)) SWIG_fail; | |
cfe5e918 RD |
15403 | } |
15404 | { | |
15405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15406 | (arg1)->SetPosition(arg2); |
cfe5e918 RD |
15407 | |
15408 | wxPyEndAllowThreads(__tstate); | |
15409 | if (PyErr_Occurred()) SWIG_fail; | |
15410 | } | |
15411 | Py_INCREF(Py_None); resultobj = Py_None; | |
cfe5e918 RD |
15412 | return resultobj; |
15413 | fail: | |
cfe5e918 RD |
15414 | return NULL; |
15415 | } | |
15416 | ||
15417 | ||
093d3ff1 | 15418 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15419 | PyObject *resultobj; |
15420 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15421 | int arg2 ; |
cfe5e918 RD |
15422 | PyObject * obj0 = 0 ; |
15423 | PyObject * obj1 = 0 ; | |
15424 | char *kwnames[] = { | |
093d3ff1 | 15425 | (char *) "self",(char *) "k", NULL |
cfe5e918 RD |
15426 | }; |
15427 | ||
093d3ff1 RD |
15428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; |
15429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15431 | { | |
15432 | arg2 = (int)(SWIG_As_int(obj1)); | |
15433 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15434 | } | |
cfe5e918 RD |
15435 | { |
15436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15437 | (arg1)->SetKey(arg2); |
cfe5e918 RD |
15438 | |
15439 | wxPyEndAllowThreads(__tstate); | |
15440 | if (PyErr_Occurred()) SWIG_fail; | |
15441 | } | |
15442 | Py_INCREF(Py_None); resultobj = Py_None; | |
15443 | return resultobj; | |
15444 | fail: | |
15445 | return NULL; | |
15446 | } | |
15447 | ||
15448 | ||
093d3ff1 | 15449 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15450 | PyObject *resultobj; |
15451 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15452 | int arg2 ; | |
15453 | PyObject * obj0 = 0 ; | |
15454 | PyObject * obj1 = 0 ; | |
15455 | char *kwnames[] = { | |
093d3ff1 | 15456 | (char *) "self",(char *) "m", NULL |
cfe5e918 RD |
15457 | }; |
15458 | ||
093d3ff1 RD |
15459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; |
15460 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15461 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15462 | { | |
15463 | arg2 = (int)(SWIG_As_int(obj1)); | |
15464 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15465 | } | |
cfe5e918 RD |
15466 | { |
15467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15468 | (arg1)->SetModifiers(arg2); |
cfe5e918 RD |
15469 | |
15470 | wxPyEndAllowThreads(__tstate); | |
15471 | if (PyErr_Occurred()) SWIG_fail; | |
15472 | } | |
15473 | Py_INCREF(Py_None); resultobj = Py_None; | |
15474 | return resultobj; | |
15475 | fail: | |
15476 | return NULL; | |
15477 | } | |
15478 | ||
15479 | ||
093d3ff1 | 15480 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15481 | PyObject *resultobj; |
15482 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15483 | int arg2 ; |
cfe5e918 | 15484 | PyObject * obj0 = 0 ; |
093d3ff1 | 15485 | PyObject * obj1 = 0 ; |
cfe5e918 | 15486 | char *kwnames[] = { |
093d3ff1 | 15487 | (char *) "self",(char *) "t", NULL |
cfe5e918 RD |
15488 | }; |
15489 | ||
093d3ff1 RD |
15490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; |
15491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15492 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15493 | { | |
15494 | arg2 = (int)(SWIG_As_int(obj1)); | |
15495 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15496 | } | |
cfe5e918 RD |
15497 | { |
15498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15499 | (arg1)->SetModificationType(arg2); |
cfe5e918 RD |
15500 | |
15501 | wxPyEndAllowThreads(__tstate); | |
15502 | if (PyErr_Occurred()) SWIG_fail; | |
15503 | } | |
093d3ff1 | 15504 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15505 | return resultobj; |
15506 | fail: | |
15507 | return NULL; | |
15508 | } | |
15509 | ||
15510 | ||
093d3ff1 | 15511 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15512 | PyObject *resultobj; |
15513 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 RD |
15514 | wxString *arg2 = 0 ; |
15515 | bool temp2 = false ; | |
cfe5e918 | 15516 | PyObject * obj0 = 0 ; |
093d3ff1 | 15517 | PyObject * obj1 = 0 ; |
cfe5e918 | 15518 | char *kwnames[] = { |
093d3ff1 | 15519 | (char *) "self",(char *) "t", NULL |
cfe5e918 RD |
15520 | }; |
15521 | ||
093d3ff1 RD |
15522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",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 = wxString_in_helper(obj1); | |
15527 | if (arg2 == NULL) SWIG_fail; | |
15528 | temp2 = true; | |
15529 | } | |
cfe5e918 RD |
15530 | { |
15531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15532 | (arg1)->SetText((wxString const &)*arg2); |
cfe5e918 RD |
15533 | |
15534 | wxPyEndAllowThreads(__tstate); | |
15535 | if (PyErr_Occurred()) SWIG_fail; | |
15536 | } | |
093d3ff1 RD |
15537 | Py_INCREF(Py_None); resultobj = Py_None; |
15538 | { | |
15539 | if (temp2) | |
15540 | delete arg2; | |
15541 | } | |
15542 | return resultobj; | |
15543 | fail: | |
15544 | { | |
15545 | if (temp2) | |
15546 | delete arg2; | |
15547 | } | |
cfe5e918 RD |
15548 | return NULL; |
15549 | } | |
15550 | ||
15551 | ||
093d3ff1 | 15552 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15553 | PyObject *resultobj; |
15554 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15555 | int arg2 ; |
cfe5e918 | 15556 | PyObject * obj0 = 0 ; |
093d3ff1 | 15557 | PyObject * obj1 = 0 ; |
cfe5e918 | 15558 | char *kwnames[] = { |
093d3ff1 | 15559 | (char *) "self",(char *) "len", NULL |
cfe5e918 RD |
15560 | }; |
15561 | ||
093d3ff1 RD |
15562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; |
15563 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15564 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15565 | { | |
15566 | arg2 = (int)(SWIG_As_int(obj1)); | |
15567 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15568 | } | |
cfe5e918 RD |
15569 | { |
15570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15571 | (arg1)->SetLength(arg2); |
cfe5e918 RD |
15572 | |
15573 | wxPyEndAllowThreads(__tstate); | |
15574 | if (PyErr_Occurred()) SWIG_fail; | |
15575 | } | |
093d3ff1 | 15576 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15577 | return resultobj; |
15578 | fail: | |
15579 | return NULL; | |
15580 | } | |
15581 | ||
15582 | ||
093d3ff1 | 15583 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15584 | PyObject *resultobj; |
15585 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15586 | int arg2 ; |
cfe5e918 | 15587 | PyObject * obj0 = 0 ; |
093d3ff1 | 15588 | PyObject * obj1 = 0 ; |
cfe5e918 | 15589 | char *kwnames[] = { |
093d3ff1 | 15590 | (char *) "self",(char *) "num", NULL |
cfe5e918 RD |
15591 | }; |
15592 | ||
093d3ff1 RD |
15593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; |
15594 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15595 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15596 | { | |
15597 | arg2 = (int)(SWIG_As_int(obj1)); | |
15598 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15599 | } | |
cfe5e918 RD |
15600 | { |
15601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15602 | (arg1)->SetLinesAdded(arg2); |
cfe5e918 RD |
15603 | |
15604 | wxPyEndAllowThreads(__tstate); | |
15605 | if (PyErr_Occurred()) SWIG_fail; | |
15606 | } | |
093d3ff1 | 15607 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15608 | return resultobj; |
15609 | fail: | |
15610 | return NULL; | |
15611 | } | |
15612 | ||
15613 | ||
093d3ff1 | 15614 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15615 | PyObject *resultobj; |
15616 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15617 | int arg2 ; |
cfe5e918 | 15618 | PyObject * obj0 = 0 ; |
093d3ff1 | 15619 | PyObject * obj1 = 0 ; |
cfe5e918 | 15620 | char *kwnames[] = { |
093d3ff1 | 15621 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15622 | }; |
15623 | ||
093d3ff1 RD |
15624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; |
15625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15627 | { | |
15628 | arg2 = (int)(SWIG_As_int(obj1)); | |
15629 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15630 | } | |
cfe5e918 RD |
15631 | { |
15632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15633 | (arg1)->SetLine(arg2); |
cfe5e918 RD |
15634 | |
15635 | wxPyEndAllowThreads(__tstate); | |
15636 | if (PyErr_Occurred()) SWIG_fail; | |
15637 | } | |
093d3ff1 | 15638 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15639 | return resultobj; |
15640 | fail: | |
15641 | return NULL; | |
15642 | } | |
15643 | ||
15644 | ||
093d3ff1 | 15645 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15646 | PyObject *resultobj; |
15647 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15648 | int arg2 ; |
cfe5e918 | 15649 | PyObject * obj0 = 0 ; |
093d3ff1 | 15650 | PyObject * obj1 = 0 ; |
cfe5e918 | 15651 | char *kwnames[] = { |
093d3ff1 | 15652 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15653 | }; |
15654 | ||
093d3ff1 RD |
15655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; |
15656 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15657 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15658 | { | |
15659 | arg2 = (int)(SWIG_As_int(obj1)); | |
15660 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15661 | } | |
cfe5e918 RD |
15662 | { |
15663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15664 | (arg1)->SetFoldLevelNow(arg2); |
cfe5e918 RD |
15665 | |
15666 | wxPyEndAllowThreads(__tstate); | |
15667 | if (PyErr_Occurred()) SWIG_fail; | |
15668 | } | |
093d3ff1 | 15669 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15670 | return resultobj; |
15671 | fail: | |
15672 | return NULL; | |
15673 | } | |
15674 | ||
15675 | ||
093d3ff1 | 15676 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15677 | PyObject *resultobj; |
15678 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15679 | int arg2 ; |
cfe5e918 | 15680 | PyObject * obj0 = 0 ; |
093d3ff1 | 15681 | PyObject * obj1 = 0 ; |
cfe5e918 | 15682 | char *kwnames[] = { |
093d3ff1 | 15683 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15684 | }; |
15685 | ||
093d3ff1 RD |
15686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; |
15687 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15688 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15689 | { | |
15690 | arg2 = (int)(SWIG_As_int(obj1)); | |
15691 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15692 | } | |
cfe5e918 RD |
15693 | { |
15694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15695 | (arg1)->SetFoldLevelPrev(arg2); |
cfe5e918 RD |
15696 | |
15697 | wxPyEndAllowThreads(__tstate); | |
15698 | if (PyErr_Occurred()) SWIG_fail; | |
15699 | } | |
093d3ff1 | 15700 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15701 | return resultobj; |
15702 | fail: | |
15703 | return NULL; | |
15704 | } | |
15705 | ||
15706 | ||
093d3ff1 | 15707 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15708 | PyObject *resultobj; |
15709 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15710 | int arg2 ; |
cfe5e918 | 15711 | PyObject * obj0 = 0 ; |
093d3ff1 | 15712 | PyObject * obj1 = 0 ; |
cfe5e918 | 15713 | char *kwnames[] = { |
093d3ff1 | 15714 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15715 | }; |
15716 | ||
093d3ff1 RD |
15717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; |
15718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15720 | { | |
15721 | arg2 = (int)(SWIG_As_int(obj1)); | |
15722 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15723 | } | |
cfe5e918 RD |
15724 | { |
15725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15726 | (arg1)->SetMargin(arg2); |
cfe5e918 RD |
15727 | |
15728 | wxPyEndAllowThreads(__tstate); | |
15729 | if (PyErr_Occurred()) SWIG_fail; | |
15730 | } | |
093d3ff1 | 15731 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15732 | return resultobj; |
15733 | fail: | |
15734 | return NULL; | |
15735 | } | |
15736 | ||
15737 | ||
093d3ff1 | 15738 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15739 | PyObject *resultobj; |
15740 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15741 | int arg2 ; |
cfe5e918 | 15742 | PyObject * obj0 = 0 ; |
093d3ff1 | 15743 | PyObject * obj1 = 0 ; |
cfe5e918 | 15744 | char *kwnames[] = { |
093d3ff1 | 15745 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15746 | }; |
15747 | ||
093d3ff1 RD |
15748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; |
15749 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15750 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15751 | { | |
15752 | arg2 = (int)(SWIG_As_int(obj1)); | |
15753 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15754 | } | |
cfe5e918 RD |
15755 | { |
15756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15757 | (arg1)->SetMessage(arg2); |
cfe5e918 RD |
15758 | |
15759 | wxPyEndAllowThreads(__tstate); | |
15760 | if (PyErr_Occurred()) SWIG_fail; | |
15761 | } | |
093d3ff1 | 15762 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15763 | return resultobj; |
15764 | fail: | |
15765 | return NULL; | |
15766 | } | |
15767 | ||
15768 | ||
093d3ff1 | 15769 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15770 | PyObject *resultobj; |
15771 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15772 | int arg2 ; |
cfe5e918 | 15773 | PyObject * obj0 = 0 ; |
093d3ff1 | 15774 | PyObject * obj1 = 0 ; |
cfe5e918 | 15775 | char *kwnames[] = { |
093d3ff1 | 15776 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15777 | }; |
15778 | ||
093d3ff1 RD |
15779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; |
15780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15782 | { | |
15783 | arg2 = (int)(SWIG_As_int(obj1)); | |
15784 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15785 | } | |
cfe5e918 RD |
15786 | { |
15787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15788 | (arg1)->SetWParam(arg2); |
cfe5e918 RD |
15789 | |
15790 | wxPyEndAllowThreads(__tstate); | |
15791 | if (PyErr_Occurred()) SWIG_fail; | |
15792 | } | |
093d3ff1 | 15793 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15794 | return resultobj; |
15795 | fail: | |
15796 | return NULL; | |
15797 | } | |
15798 | ||
15799 | ||
093d3ff1 | 15800 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15801 | PyObject *resultobj; |
15802 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15803 | int arg2 ; |
cfe5e918 | 15804 | PyObject * obj0 = 0 ; |
093d3ff1 | 15805 | PyObject * obj1 = 0 ; |
cfe5e918 | 15806 | char *kwnames[] = { |
093d3ff1 | 15807 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15808 | }; |
15809 | ||
093d3ff1 RD |
15810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; |
15811 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15812 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15813 | { | |
15814 | arg2 = (int)(SWIG_As_int(obj1)); | |
15815 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15816 | } | |
cfe5e918 RD |
15817 | { |
15818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15819 | (arg1)->SetLParam(arg2); |
cfe5e918 RD |
15820 | |
15821 | wxPyEndAllowThreads(__tstate); | |
15822 | if (PyErr_Occurred()) SWIG_fail; | |
15823 | } | |
093d3ff1 | 15824 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15825 | return resultobj; |
15826 | fail: | |
15827 | return NULL; | |
15828 | } | |
15829 | ||
15830 | ||
093d3ff1 | 15831 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15832 | PyObject *resultobj; |
15833 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15834 | int arg2 ; |
cfe5e918 | 15835 | PyObject * obj0 = 0 ; |
093d3ff1 | 15836 | PyObject * obj1 = 0 ; |
cfe5e918 | 15837 | char *kwnames[] = { |
093d3ff1 | 15838 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15839 | }; |
15840 | ||
093d3ff1 RD |
15841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; |
15842 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15843 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15844 | { | |
15845 | arg2 = (int)(SWIG_As_int(obj1)); | |
15846 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15847 | } | |
cfe5e918 RD |
15848 | { |
15849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15850 | (arg1)->SetListType(arg2); |
cfe5e918 RD |
15851 | |
15852 | wxPyEndAllowThreads(__tstate); | |
15853 | if (PyErr_Occurred()) SWIG_fail; | |
15854 | } | |
093d3ff1 | 15855 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15856 | return resultobj; |
15857 | fail: | |
15858 | return NULL; | |
15859 | } | |
15860 | ||
15861 | ||
093d3ff1 | 15862 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15863 | PyObject *resultobj; |
15864 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15865 | int arg2 ; |
cfe5e918 | 15866 | PyObject * obj0 = 0 ; |
093d3ff1 | 15867 | PyObject * obj1 = 0 ; |
cfe5e918 | 15868 | char *kwnames[] = { |
093d3ff1 | 15869 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15870 | }; |
15871 | ||
093d3ff1 RD |
15872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; |
15873 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15875 | { | |
15876 | arg2 = (int)(SWIG_As_int(obj1)); | |
15877 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15878 | } | |
cfe5e918 RD |
15879 | { |
15880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15881 | (arg1)->SetX(arg2); |
cfe5e918 RD |
15882 | |
15883 | wxPyEndAllowThreads(__tstate); | |
15884 | if (PyErr_Occurred()) SWIG_fail; | |
15885 | } | |
093d3ff1 | 15886 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15887 | return resultobj; |
15888 | fail: | |
15889 | return NULL; | |
15890 | } | |
15891 | ||
15892 | ||
093d3ff1 | 15893 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15894 | PyObject *resultobj; |
15895 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15896 | int arg2 ; |
cfe5e918 | 15897 | PyObject * obj0 = 0 ; |
093d3ff1 | 15898 | PyObject * obj1 = 0 ; |
cfe5e918 | 15899 | char *kwnames[] = { |
093d3ff1 | 15900 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15901 | }; |
15902 | ||
093d3ff1 RD |
15903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; |
15904 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15905 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15906 | { | |
15907 | arg2 = (int)(SWIG_As_int(obj1)); | |
15908 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15909 | } | |
cfe5e918 RD |
15910 | { |
15911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15912 | (arg1)->SetY(arg2); |
cfe5e918 RD |
15913 | |
15914 | wxPyEndAllowThreads(__tstate); | |
15915 | if (PyErr_Occurred()) SWIG_fail; | |
15916 | } | |
093d3ff1 | 15917 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15918 | return resultobj; |
15919 | fail: | |
15920 | return NULL; | |
15921 | } | |
15922 | ||
15923 | ||
093d3ff1 | 15924 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15925 | PyObject *resultobj; |
15926 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 RD |
15927 | wxString *arg2 = 0 ; |
15928 | bool temp2 = false ; | |
cfe5e918 | 15929 | PyObject * obj0 = 0 ; |
093d3ff1 | 15930 | PyObject * obj1 = 0 ; |
cfe5e918 | 15931 | char *kwnames[] = { |
093d3ff1 | 15932 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15933 | }; |
15934 | ||
093d3ff1 RD |
15935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",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 = wxString_in_helper(obj1); | |
15940 | if (arg2 == NULL) SWIG_fail; | |
15941 | temp2 = true; | |
15942 | } | |
cfe5e918 RD |
15943 | { |
15944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15945 | (arg1)->SetDragText((wxString const &)*arg2); |
cfe5e918 RD |
15946 | |
15947 | wxPyEndAllowThreads(__tstate); | |
15948 | if (PyErr_Occurred()) SWIG_fail; | |
15949 | } | |
093d3ff1 RD |
15950 | Py_INCREF(Py_None); resultobj = Py_None; |
15951 | { | |
15952 | if (temp2) | |
15953 | delete arg2; | |
15954 | } | |
cfe5e918 RD |
15955 | return resultobj; |
15956 | fail: | |
093d3ff1 RD |
15957 | { |
15958 | if (temp2) | |
15959 | delete arg2; | |
15960 | } | |
cfe5e918 RD |
15961 | return NULL; |
15962 | } | |
15963 | ||
15964 | ||
093d3ff1 | 15965 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15966 | PyObject *resultobj; |
15967 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15968 | bool arg2 ; |
cfe5e918 | 15969 | PyObject * obj0 = 0 ; |
093d3ff1 | 15970 | PyObject * obj1 = 0 ; |
cfe5e918 | 15971 | char *kwnames[] = { |
093d3ff1 | 15972 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
15973 | }; |
15974 | ||
093d3ff1 RD |
15975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; |
15976 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15977 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15978 | { | |
15979 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15980 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15981 | } | |
cfe5e918 RD |
15982 | { |
15983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 15984 | (arg1)->SetDragAllowMove(arg2); |
cfe5e918 RD |
15985 | |
15986 | wxPyEndAllowThreads(__tstate); | |
15987 | if (PyErr_Occurred()) SWIG_fail; | |
15988 | } | |
093d3ff1 | 15989 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
15990 | return resultobj; |
15991 | fail: | |
15992 | return NULL; | |
15993 | } | |
15994 | ||
15995 | ||
093d3ff1 | 15996 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
15997 | PyObject *resultobj; |
15998 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 15999 | wxDragResult arg2 ; |
cfe5e918 | 16000 | PyObject * obj0 = 0 ; |
093d3ff1 | 16001 | PyObject * obj1 = 0 ; |
cfe5e918 | 16002 | char *kwnames[] = { |
093d3ff1 | 16003 | (char *) "self",(char *) "val", NULL |
cfe5e918 RD |
16004 | }; |
16005 | ||
093d3ff1 RD |
16006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; |
16007 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16008 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16009 | { | |
16010 | arg2 = (wxDragResult)(SWIG_As_int(obj1)); | |
16011 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16012 | } | |
cfe5e918 RD |
16013 | { |
16014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16015 | (arg1)->SetDragResult((wxDragResult )arg2); |
cfe5e918 RD |
16016 | |
16017 | wxPyEndAllowThreads(__tstate); | |
16018 | if (PyErr_Occurred()) SWIG_fail; | |
16019 | } | |
093d3ff1 | 16020 | Py_INCREF(Py_None); resultobj = Py_None; |
cfe5e918 RD |
16021 | return resultobj; |
16022 | fail: | |
16023 | return NULL; | |
16024 | } | |
16025 | ||
16026 | ||
093d3ff1 | 16027 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16028 | PyObject *resultobj; |
16029 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 16030 | int result; |
cfe5e918 RD |
16031 | PyObject * obj0 = 0 ; |
16032 | char *kwnames[] = { | |
16033 | (char *) "self", NULL | |
16034 | }; | |
16035 | ||
093d3ff1 RD |
16036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; |
16037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16039 | { |
16040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16041 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); |
cfe5e918 RD |
16042 | |
16043 | wxPyEndAllowThreads(__tstate); | |
16044 | if (PyErr_Occurred()) SWIG_fail; | |
16045 | } | |
16046 | { | |
093d3ff1 | 16047 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16048 | } |
16049 | return resultobj; | |
16050 | fail: | |
16051 | return NULL; | |
16052 | } | |
16053 | ||
16054 | ||
093d3ff1 | 16055 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16056 | PyObject *resultobj; |
16057 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 16058 | int result; |
cfe5e918 RD |
16059 | PyObject * obj0 = 0 ; |
16060 | char *kwnames[] = { | |
16061 | (char *) "self", NULL | |
16062 | }; | |
16063 | ||
093d3ff1 RD |
16064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; |
16065 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16066 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16067 | { |
16068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16069 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); |
cfe5e918 RD |
16070 | |
16071 | wxPyEndAllowThreads(__tstate); | |
16072 | if (PyErr_Occurred()) SWIG_fail; | |
16073 | } | |
16074 | { | |
093d3ff1 | 16075 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16076 | } |
16077 | return resultobj; | |
16078 | fail: | |
16079 | return NULL; | |
16080 | } | |
16081 | ||
16082 | ||
093d3ff1 | 16083 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16084 | PyObject *resultobj; |
16085 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16086 | int result; | |
16087 | PyObject * obj0 = 0 ; | |
16088 | char *kwnames[] = { | |
16089 | (char *) "self", NULL | |
16090 | }; | |
16091 | ||
093d3ff1 RD |
16092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; |
16093 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16094 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16095 | { |
16096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16097 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); |
cfe5e918 RD |
16098 | |
16099 | wxPyEndAllowThreads(__tstate); | |
16100 | if (PyErr_Occurred()) SWIG_fail; | |
16101 | } | |
093d3ff1 RD |
16102 | { |
16103 | resultobj = SWIG_From_int((int)(result)); | |
16104 | } | |
cfe5e918 RD |
16105 | return resultobj; |
16106 | fail: | |
16107 | return NULL; | |
16108 | } | |
16109 | ||
16110 | ||
093d3ff1 | 16111 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16112 | PyObject *resultobj; |
16113 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 16114 | int result; |
cfe5e918 RD |
16115 | PyObject * obj0 = 0 ; |
16116 | char *kwnames[] = { | |
16117 | (char *) "self", NULL | |
16118 | }; | |
16119 | ||
093d3ff1 RD |
16120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; |
16121 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16122 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16123 | { |
16124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16125 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); |
cfe5e918 RD |
16126 | |
16127 | wxPyEndAllowThreads(__tstate); | |
16128 | if (PyErr_Occurred()) SWIG_fail; | |
16129 | } | |
16130 | { | |
093d3ff1 | 16131 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16132 | } |
16133 | return resultobj; | |
16134 | fail: | |
16135 | return NULL; | |
16136 | } | |
16137 | ||
16138 | ||
093d3ff1 | 16139 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16140 | PyObject *resultobj; |
16141 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 16142 | wxString result; |
cfe5e918 RD |
16143 | PyObject * obj0 = 0 ; |
16144 | char *kwnames[] = { | |
16145 | (char *) "self", NULL | |
16146 | }; | |
16147 | ||
093d3ff1 RD |
16148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; |
16149 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16150 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16151 | { |
16152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16153 | result = ((wxStyledTextEvent const *)arg1)->GetText(); |
cfe5e918 RD |
16154 | |
16155 | wxPyEndAllowThreads(__tstate); | |
16156 | if (PyErr_Occurred()) SWIG_fail; | |
16157 | } | |
16158 | { | |
093d3ff1 RD |
16159 | #if wxUSE_UNICODE |
16160 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16161 | #else | |
16162 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16163 | #endif | |
cfe5e918 RD |
16164 | } |
16165 | return resultobj; | |
16166 | fail: | |
16167 | return NULL; | |
16168 | } | |
16169 | ||
16170 | ||
093d3ff1 | 16171 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16172 | PyObject *resultobj; |
16173 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 16174 | int result; |
cfe5e918 RD |
16175 | PyObject * obj0 = 0 ; |
16176 | char *kwnames[] = { | |
16177 | (char *) "self", NULL | |
16178 | }; | |
16179 | ||
093d3ff1 RD |
16180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; |
16181 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16182 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16183 | { |
16184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16185 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); |
cfe5e918 RD |
16186 | |
16187 | wxPyEndAllowThreads(__tstate); | |
16188 | if (PyErr_Occurred()) SWIG_fail; | |
16189 | } | |
16190 | { | |
093d3ff1 | 16191 | resultobj = SWIG_From_int((int)(result)); |
cfe5e918 RD |
16192 | } |
16193 | return resultobj; | |
16194 | fail: | |
16195 | return NULL; | |
16196 | } | |
16197 | ||
16198 | ||
093d3ff1 | 16199 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
cfe5e918 RD |
16200 | PyObject *resultobj; |
16201 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
093d3ff1 | 16202 | int result; |
cfe5e918 RD |
16203 | PyObject * obj0 = 0 ; |
16204 | char *kwnames[] = { | |
16205 | (char *) "self", NULL | |
16206 | }; | |
16207 | ||
093d3ff1 RD |
16208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; |
16209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
cfe5e918 RD |
16211 | { |
16212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 16213 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); |
cfe5e918 RD |
16214 | |
16215 | wxPyEndAllowThreads(__tstate); | |
16216 | if (PyErr_Occurred()) SWIG_fail; | |
16217 | } | |
093d3ff1 RD |
16218 | { |
16219 | resultobj = SWIG_From_int((int)(result)); | |
16220 | } | |
cfe5e918 RD |
16221 | return resultobj; |
16222 | fail: | |
16223 | return NULL; | |
16224 | } | |
16225 | ||
16226 | ||
093d3ff1 RD |
16227 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
16228 | PyObject *resultobj; | |
16229 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16230 | int result; | |
16231 | PyObject * obj0 = 0 ; | |
16232 | char *kwnames[] = { | |
16233 | (char *) "self", NULL | |
16234 | }; | |
16235 | ||
16236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
16237 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16238 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16239 | { | |
16240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16241 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
16242 | ||
16243 | wxPyEndAllowThreads(__tstate); | |
16244 | if (PyErr_Occurred()) SWIG_fail; | |
16245 | } | |
16246 | { | |
16247 | resultobj = SWIG_From_int((int)(result)); | |
16248 | } | |
16249 | return resultobj; | |
16250 | fail: | |
16251 | return NULL; | |
cfe5e918 | 16252 | } |
cfe5e918 RD |
16253 | |
16254 | ||
093d3ff1 RD |
16255 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
16256 | PyObject *resultobj; | |
16257 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16258 | int result; | |
16259 | PyObject * obj0 = 0 ; | |
16260 | char *kwnames[] = { | |
16261 | (char *) "self", NULL | |
16262 | }; | |
16263 | ||
16264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
16265 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16266 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16267 | { | |
16268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16269 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
16270 | ||
16271 | wxPyEndAllowThreads(__tstate); | |
16272 | if (PyErr_Occurred()) SWIG_fail; | |
16273 | } | |
16274 | { | |
16275 | resultobj = SWIG_From_int((int)(result)); | |
16276 | } | |
16277 | return resultobj; | |
16278 | fail: | |
16279 | return NULL; | |
cfe5e918 | 16280 | } |
093d3ff1 RD |
16281 | |
16282 | ||
16283 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
16284 | PyObject *resultobj; | |
16285 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16286 | int result; | |
16287 | PyObject * obj0 = 0 ; | |
16288 | char *kwnames[] = { | |
16289 | (char *) "self", NULL | |
16290 | }; | |
16291 | ||
16292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
16293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16295 | { | |
16296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16297 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
16298 | ||
16299 | wxPyEndAllowThreads(__tstate); | |
16300 | if (PyErr_Occurred()) SWIG_fail; | |
16301 | } | |
16302 | { | |
16303 | resultobj = SWIG_From_int((int)(result)); | |
16304 | } | |
16305 | return resultobj; | |
16306 | fail: | |
16307 | return NULL; | |
cfe5e918 | 16308 | } |
093d3ff1 RD |
16309 | |
16310 | ||
16311 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
16312 | PyObject *resultobj; | |
16313 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16314 | int result; | |
16315 | PyObject * obj0 = 0 ; | |
16316 | char *kwnames[] = { | |
16317 | (char *) "self", NULL | |
16318 | }; | |
16319 | ||
16320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
16321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16323 | { | |
16324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16325 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
16326 | ||
16327 | wxPyEndAllowThreads(__tstate); | |
16328 | if (PyErr_Occurred()) SWIG_fail; | |
16329 | } | |
16330 | { | |
16331 | resultobj = SWIG_From_int((int)(result)); | |
16332 | } | |
16333 | return resultobj; | |
16334 | fail: | |
16335 | return NULL; | |
cfe5e918 | 16336 | } |
093d3ff1 RD |
16337 | |
16338 | ||
16339 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
16340 | PyObject *resultobj; | |
16341 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16342 | int result; | |
16343 | PyObject * obj0 = 0 ; | |
16344 | char *kwnames[] = { | |
16345 | (char *) "self", NULL | |
16346 | }; | |
16347 | ||
16348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
16349 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16350 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16351 | { | |
16352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16353 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
16354 | ||
16355 | wxPyEndAllowThreads(__tstate); | |
16356 | if (PyErr_Occurred()) SWIG_fail; | |
16357 | } | |
16358 | { | |
16359 | resultobj = SWIG_From_int((int)(result)); | |
16360 | } | |
16361 | return resultobj; | |
16362 | fail: | |
16363 | return NULL; | |
cfe5e918 | 16364 | } |
093d3ff1 RD |
16365 | |
16366 | ||
16367 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16368 | PyObject *resultobj; | |
16369 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16370 | int result; | |
16371 | PyObject * obj0 = 0 ; | |
16372 | char *kwnames[] = { | |
16373 | (char *) "self", NULL | |
16374 | }; | |
16375 | ||
16376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
16377 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16378 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16379 | { | |
16380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16381 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
16382 | ||
16383 | wxPyEndAllowThreads(__tstate); | |
16384 | if (PyErr_Occurred()) SWIG_fail; | |
16385 | } | |
16386 | { | |
16387 | resultobj = SWIG_From_int((int)(result)); | |
16388 | } | |
16389 | return resultobj; | |
16390 | fail: | |
16391 | return NULL; | |
cfe5e918 | 16392 | } |
093d3ff1 RD |
16393 | |
16394 | ||
16395 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16396 | PyObject *resultobj; | |
16397 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16398 | int result; | |
16399 | PyObject * obj0 = 0 ; | |
16400 | char *kwnames[] = { | |
16401 | (char *) "self", NULL | |
16402 | }; | |
16403 | ||
16404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
16405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16407 | { | |
16408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16409 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
16410 | ||
16411 | wxPyEndAllowThreads(__tstate); | |
16412 | if (PyErr_Occurred()) SWIG_fail; | |
16413 | } | |
16414 | { | |
16415 | resultobj = SWIG_From_int((int)(result)); | |
16416 | } | |
16417 | return resultobj; | |
16418 | fail: | |
16419 | return NULL; | |
cfe5e918 | 16420 | } |
093d3ff1 RD |
16421 | |
16422 | ||
16423 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16424 | PyObject *resultobj; | |
16425 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16426 | int result; | |
16427 | PyObject * obj0 = 0 ; | |
16428 | char *kwnames[] = { | |
16429 | (char *) "self", NULL | |
16430 | }; | |
16431 | ||
16432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
16433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16435 | { | |
16436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16437 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
16438 | ||
16439 | wxPyEndAllowThreads(__tstate); | |
16440 | if (PyErr_Occurred()) SWIG_fail; | |
16441 | } | |
16442 | { | |
16443 | resultobj = SWIG_From_int((int)(result)); | |
16444 | } | |
16445 | return resultobj; | |
16446 | fail: | |
16447 | return NULL; | |
cfe5e918 | 16448 | } |
093d3ff1 RD |
16449 | |
16450 | ||
16451 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
16452 | PyObject *resultobj; | |
16453 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16454 | int result; | |
16455 | PyObject * obj0 = 0 ; | |
16456 | char *kwnames[] = { | |
16457 | (char *) "self", NULL | |
16458 | }; | |
16459 | ||
16460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
16461 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16462 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16463 | { | |
16464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16465 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
16466 | ||
16467 | wxPyEndAllowThreads(__tstate); | |
16468 | if (PyErr_Occurred()) SWIG_fail; | |
16469 | } | |
16470 | { | |
16471 | resultobj = SWIG_From_int((int)(result)); | |
16472 | } | |
16473 | return resultobj; | |
16474 | fail: | |
16475 | return NULL; | |
cfe5e918 | 16476 | } |
093d3ff1 RD |
16477 | |
16478 | ||
16479 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
16480 | PyObject *resultobj; | |
16481 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16482 | int result; | |
16483 | PyObject * obj0 = 0 ; | |
16484 | char *kwnames[] = { | |
16485 | (char *) "self", NULL | |
16486 | }; | |
16487 | ||
16488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
16489 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16490 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16491 | { | |
16492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16493 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
16494 | ||
16495 | wxPyEndAllowThreads(__tstate); | |
16496 | if (PyErr_Occurred()) SWIG_fail; | |
16497 | } | |
16498 | { | |
16499 | resultobj = SWIG_From_int((int)(result)); | |
16500 | } | |
16501 | return resultobj; | |
16502 | fail: | |
16503 | return NULL; | |
cfe5e918 | 16504 | } |
093d3ff1 RD |
16505 | |
16506 | ||
16507 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16508 | PyObject *resultobj; | |
16509 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16510 | wxString result; | |
16511 | PyObject * obj0 = 0 ; | |
16512 | char *kwnames[] = { | |
16513 | (char *) "self", NULL | |
16514 | }; | |
16515 | ||
16516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
16517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16519 | { | |
16520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16521 | result = (arg1)->GetDragText(); | |
16522 | ||
16523 | wxPyEndAllowThreads(__tstate); | |
16524 | if (PyErr_Occurred()) SWIG_fail; | |
16525 | } | |
16526 | { | |
16527 | #if wxUSE_UNICODE | |
16528 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16529 | #else | |
16530 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16531 | #endif | |
16532 | } | |
16533 | return resultobj; | |
16534 | fail: | |
16535 | return NULL; | |
cfe5e918 | 16536 | } |
093d3ff1 RD |
16537 | |
16538 | ||
16539 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
16540 | PyObject *resultobj; | |
16541 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16542 | bool result; | |
16543 | PyObject * obj0 = 0 ; | |
16544 | char *kwnames[] = { | |
16545 | (char *) "self", NULL | |
16546 | }; | |
16547 | ||
16548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
16549 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16550 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16551 | { | |
16552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16553 | result = (bool)(arg1)->GetDragAllowMove(); | |
16554 | ||
16555 | wxPyEndAllowThreads(__tstate); | |
16556 | if (PyErr_Occurred()) SWIG_fail; | |
16557 | } | |
16558 | { | |
16559 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16560 | } | |
16561 | return resultobj; | |
16562 | fail: | |
16563 | return NULL; | |
cfe5e918 | 16564 | } |
093d3ff1 RD |
16565 | |
16566 | ||
16567 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
16568 | PyObject *resultobj; | |
16569 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16570 | wxDragResult result; | |
16571 | PyObject * obj0 = 0 ; | |
16572 | char *kwnames[] = { | |
16573 | (char *) "self", NULL | |
16574 | }; | |
16575 | ||
16576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
16577 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16578 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16579 | { | |
16580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16581 | result = (wxDragResult)(arg1)->GetDragResult(); | |
16582 | ||
16583 | wxPyEndAllowThreads(__tstate); | |
16584 | if (PyErr_Occurred()) SWIG_fail; | |
16585 | } | |
16586 | resultobj = SWIG_From_int((result)); | |
16587 | return resultobj; | |
16588 | fail: | |
16589 | return NULL; | |
cfe5e918 | 16590 | } |
093d3ff1 RD |
16591 | |
16592 | ||
16593 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { | |
16594 | PyObject *resultobj; | |
16595 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16596 | bool result; | |
16597 | PyObject * obj0 = 0 ; | |
16598 | char *kwnames[] = { | |
16599 | (char *) "self", NULL | |
16600 | }; | |
16601 | ||
16602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
16603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16605 | { | |
16606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16607 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
16608 | ||
16609 | wxPyEndAllowThreads(__tstate); | |
16610 | if (PyErr_Occurred()) SWIG_fail; | |
16611 | } | |
16612 | { | |
16613 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16614 | } | |
16615 | return resultobj; | |
16616 | fail: | |
16617 | return NULL; | |
cfe5e918 | 16618 | } |
093d3ff1 RD |
16619 | |
16620 | ||
16621 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { | |
16622 | PyObject *resultobj; | |
16623 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16624 | bool result; | |
16625 | PyObject * obj0 = 0 ; | |
16626 | char *kwnames[] = { | |
16627 | (char *) "self", NULL | |
16628 | }; | |
16629 | ||
16630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
16631 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16632 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16633 | { | |
16634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16635 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
16636 | ||
16637 | wxPyEndAllowThreads(__tstate); | |
16638 | if (PyErr_Occurred()) SWIG_fail; | |
16639 | } | |
16640 | { | |
16641 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16642 | } | |
16643 | return resultobj; | |
16644 | fail: | |
16645 | return NULL; | |
cfe5e918 | 16646 | } |
093d3ff1 RD |
16647 | |
16648 | ||
16649 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { | |
16650 | PyObject *resultobj; | |
16651 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16652 | bool result; | |
16653 | PyObject * obj0 = 0 ; | |
16654 | char *kwnames[] = { | |
16655 | (char *) "self", NULL | |
16656 | }; | |
16657 | ||
16658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
16659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16661 | { | |
16662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16663 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
16664 | ||
16665 | wxPyEndAllowThreads(__tstate); | |
16666 | if (PyErr_Occurred()) SWIG_fail; | |
16667 | } | |
16668 | { | |
16669 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16670 | } | |
16671 | return resultobj; | |
16672 | fail: | |
16673 | return NULL; | |
cfe5e918 | 16674 | } |
093d3ff1 RD |
16675 | |
16676 | ||
16677 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { | |
16678 | PyObject *resultobj; | |
16679 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16680 | wxEvent *result; | |
16681 | PyObject * obj0 = 0 ; | |
16682 | char *kwnames[] = { | |
16683 | (char *) "self", NULL | |
16684 | }; | |
16685 | ||
16686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
16687 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16688 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16689 | { | |
16690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16691 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
16692 | ||
16693 | wxPyEndAllowThreads(__tstate); | |
16694 | if (PyErr_Occurred()) SWIG_fail; | |
16695 | } | |
16696 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); | |
16697 | return resultobj; | |
16698 | fail: | |
16699 | return NULL; | |
16700 | } | |
16701 | ||
16702 | ||
16703 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { | |
16704 | PyObject *obj; | |
16705 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16706 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
16707 | Py_INCREF(obj); | |
16708 | return Py_BuildValue((char *)""); | |
16709 | } | |
16710 | static PyMethodDef SwigMethods[] = { | |
16711 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16712 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16713 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16714 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16715 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16716 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16717 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16718 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16719 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16720 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16721 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16722 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16723 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16724 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16725 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16726 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16727 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16728 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16729 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16730 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16731 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16732 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16733 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16734 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16735 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16736 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16737 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16738 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16739 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16740 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16741 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16742 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16743 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16744 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16745 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16746 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16747 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16748 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16749 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16750 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16751 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16752 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16753 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16754 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16755 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16756 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16757 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16758 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16759 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16760 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16761 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16762 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16763 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16764 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16765 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16766 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16767 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16768 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16769 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16770 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16771 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16772 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16773 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16774 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16775 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16776 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16777 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16778 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16779 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16780 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16781 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16782 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16783 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16784 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16785 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16786 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16787 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16788 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16789 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16790 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16791 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16792 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16793 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16794 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16795 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16796 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16797 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16798 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16799 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16800 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16801 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16802 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16803 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16804 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16805 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16806 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16807 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16808 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16809 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16810 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16811 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16812 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16813 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16814 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16815 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16816 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16817 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16818 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16819 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16820 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16821 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16822 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16823 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16824 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16825 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16826 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16827 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16828 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16829 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16830 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16831 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16832 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16833 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16834 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16835 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16836 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16837 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16838 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16839 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16840 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16841 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16842 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16843 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16844 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16845 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16846 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16847 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16848 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16849 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16850 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16851 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16852 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16853 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16854 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16855 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16856 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16857 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16858 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16859 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16860 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16861 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16862 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16863 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16864 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16865 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16866 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16867 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16868 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16869 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16870 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16871 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16872 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16873 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16874 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16875 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16876 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16877 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16878 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16879 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16880 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16881 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16882 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16883 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16884 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16885 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16886 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16887 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16888 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16889 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16890 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16891 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16892 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16893 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16894 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16895 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16896 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16897 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16898 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16899 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16900 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16901 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16902 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16903 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16904 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16905 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16906 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16907 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16908 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16909 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16910 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16911 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16912 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16913 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16914 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16915 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16916 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16917 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16918 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16919 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16920 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16921 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16922 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16923 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16924 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16925 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16926 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16927 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16928 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16929 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16930 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16931 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16932 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16933 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16934 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16935 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16936 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16937 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16938 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16939 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16940 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16941 | { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16942 | { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16943 | { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16944 | { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16945 | { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16946 | { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16947 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16948 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16949 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16950 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16951 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16952 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16953 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16954 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16955 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16956 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16957 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16958 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16959 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16960 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16961 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16962 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16963 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16964 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16965 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16966 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16967 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16968 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16969 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16970 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16971 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16972 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16973 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16974 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16975 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16976 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16977 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16978 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16979 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16980 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16981 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16982 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16983 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16984 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16985 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16986 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16987 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16988 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16989 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16990 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16991 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16992 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16993 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16994 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16995 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16996 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16997 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16998 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
16999 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17000 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17001 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17002 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17003 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17004 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17005 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17006 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17007 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17008 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17009 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17010 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17011 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17012 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17013 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17014 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17015 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17016 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17017 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17018 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17019 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17020 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17021 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17022 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17023 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17024 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17025 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17026 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17027 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17028 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17029 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17030 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17031 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17032 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17033 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17034 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17035 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17036 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17037 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17038 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17039 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17040 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17041 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17042 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17043 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17044 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17045 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17046 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17047 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17048 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17049 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17050 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17051 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17052 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17053 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17054 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17055 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17056 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17057 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17058 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17059 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17060 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17061 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17062 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17063 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17064 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17065 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17066 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17067 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17068 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17069 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17070 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17071 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17072 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17073 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17074 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17075 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17076 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17077 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17078 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17079 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17080 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17081 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17082 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17083 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17084 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17085 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17086 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17087 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17088 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17089 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17090 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17091 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17092 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17093 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17094 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17095 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17096 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17097 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17098 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17099 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17100 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17101 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17102 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17103 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17104 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17105 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17106 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17107 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17108 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17109 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17110 | { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
e8d51145 | 17111 | { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
093d3ff1 RD |
17112 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
17113 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17114 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17115 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17116 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17117 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17118 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17119 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17120 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17121 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17122 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17123 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17124 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17125 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17126 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17127 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17128 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17129 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17130 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17131 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17132 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17133 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17134 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17135 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17136 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17137 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17138 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17139 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17140 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17141 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL}, | |
17142 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17143 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17144 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17145 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17146 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17147 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17148 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17149 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17150 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17151 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17152 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17153 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17154 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17155 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17156 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17157 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17158 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17159 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17160 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17161 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17162 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17163 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17164 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17165 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17166 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17167 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17168 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17169 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17170 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17171 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17172 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17173 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17174 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17175 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17176 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17177 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17178 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17179 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17180 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17181 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17182 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17183 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17184 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17185 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17186 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17187 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17188 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL}, | |
17189 | { NULL, NULL, 0, NULL } | |
17190 | }; | |
17191 | ||
17192 | ||
17193 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17194 | ||
17195 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
17196 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
17197 | } | |
17198 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
17199 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
17200 | } | |
17201 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
17202 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
17203 | } | |
17204 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
17205 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
17206 | } | |
17207 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
17208 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
17209 | } | |
17210 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
17211 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
17212 | } | |
17213 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
17214 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
17215 | } | |
17216 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
17217 | return (void *)((wxObject *) ((wxSizer *) x)); | |
17218 | } | |
17219 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
17220 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
17221 | } | |
17222 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { | |
17223 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
17224 | } | |
17225 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
17226 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17227 | } | |
17228 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
17229 | return (void *)((wxObject *) ((wxEvent *) x)); | |
17230 | } | |
17231 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17232 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17233 | } | |
17234 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17235 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17236 | } | |
17237 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17238 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17239 | } | |
17240 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17241 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17242 | } | |
17243 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17244 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17245 | } | |
17246 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { | |
17247 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17248 | } | |
17249 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17250 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17251 | } | |
17252 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17253 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17254 | } | |
17255 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17256 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17257 | } | |
17258 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17259 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17260 | } | |
17261 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17262 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17263 | } | |
17264 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17265 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17266 | } | |
17267 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { | |
17268 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
17269 | } | |
17270 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
cfe5e918 RD |
17271 | return (void *)((wxObject *) ((wxFSFile *) x)); |
17272 | } | |
17273 | static void *_p_wxClipboardTo_p_wxObject(void *x) { | |
17274 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
17275 | } | |
17276 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
17277 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17278 | } | |
17279 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
17280 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17281 | } | |
17282 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17283 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17284 | } | |
17285 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17286 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17287 | } | |
17288 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17289 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17290 | } | |
17291 | static void *_p_wxToolTipTo_p_wxObject(void *x) { | |
17292 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
17293 | } | |
17294 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17295 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17296 | } | |
17297 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
17298 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17299 | } | |
17300 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17301 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17302 | } | |
17303 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17304 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17305 | } | |
17306 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17307 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17308 | } | |
17309 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17310 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17311 | } | |
17312 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17313 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17314 | } | |
17315 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17316 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17317 | } | |
17318 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17319 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17320 | } | |
17321 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17322 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17323 | } | |
17324 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17325 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17326 | } | |
17327 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17328 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17329 | } | |
17330 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17331 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17332 | } | |
17333 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17334 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17335 | } | |
17336 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17337 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17338 | } | |
17339 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17340 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17341 | } | |
17342 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17343 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17344 | } | |
17345 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17346 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17347 | } | |
17348 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17349 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17350 | } | |
17351 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17352 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17353 | } | |
17354 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17355 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17356 | } | |
17357 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
17358 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17359 | } | |
51b83b37 RD |
17360 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17361 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17362 | } | |
cfe5e918 RD |
17363 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17364 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17365 | } | |
17366 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17367 | return (void *)((wxObject *) ((wxImage *) x)); | |
17368 | } | |
17369 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17370 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17371 | } | |
17372 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { | |
17373 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
17374 | } | |
17375 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
17376 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
17377 | } | |
17378 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
17379 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17380 | } | |
17381 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17382 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17383 | } | |
17384 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17385 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17386 | } | |
17387 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17388 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17389 | } | |
17390 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17391 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17392 | } | |
17393 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17394 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17395 | } | |
17396 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { | |
17397 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
17398 | } | |
17399 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17400 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17401 | } | |
17402 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17403 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17404 | } | |
17405 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17406 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17407 | } | |
17408 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17409 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17410 | } | |
17411 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17412 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17413 | } | |
17414 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17415 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17416 | } | |
17417 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17418 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17419 | } | |
17420 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { | |
17421 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
17422 | } | |
17423 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17424 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17425 | } | |
17426 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17427 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17428 | } | |
17429 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17430 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17431 | } | |
17432 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17433 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17434 | } | |
17435 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17436 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17437 | } | |
17438 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { | |
17439 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
17440 | } | |
17441 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17442 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17443 | } | |
17444 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17445 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17446 | } | |
17447 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17448 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17449 | } | |
17450 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { | |
17451 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
17452 | } | |
17453 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
17454 | return (void *)((wxWindow *) ((wxControl *) x)); | |
17455 | } | |
17456 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
17457 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
17458 | } | |
17459 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
17460 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
17461 | } | |
17462 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
17463 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
17464 | } | |
17465 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17466 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17467 | } | |
17468 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17469 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17470 | } | |
17471 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17472 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17473 | } | |
17474 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
17475 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17476 | } | |
17477 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
17478 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17479 | } | |
17480 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17481 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17482 | } | |
17483 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17484 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17485 | } | |
17486 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17487 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17488 | } | |
17489 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17490 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17491 | } | |
17492 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17493 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17494 | } | |
17495 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17496 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17497 | } | |
17498 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17499 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17500 | } | |
17501 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17502 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17503 | } | |
17504 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { | |
17505 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
17506 | } | |
17507 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { | |
17508 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17509 | } | |
17510 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17511 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17512 | } | |
17513 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17514 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17515 | } | |
17516 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17517 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17518 | } | |
17519 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17520 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17521 | } | |
17522 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { | |
17523 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
17524 | } | |
17525 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
17526 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
17527 | } | |
17528 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
17529 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
17530 | } | |
17531 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
17532 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17533 | } | |
17534 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
17535 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
17536 | } | |
17537 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
17538 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
17539 | } | |
17540 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
17541 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
17542 | } | |
17543 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
17544 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
17545 | } | |
17546 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
17547 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
17548 | } | |
17549 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { | |
17550 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
17551 | } | |
17552 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
17553 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
17554 | } | |
17555 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
17556 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
17557 | } | |
17558 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
17559 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
17560 | } | |
17561 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
17562 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17563 | } | |
17564 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { | |
17565 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
17566 | } | |
17567 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
17568 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
17569 | } | |
17570 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
17571 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17572 | } | |
17573 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
17574 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17575 | } | |
17576 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
17577 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
17578 | } | |
17579 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
17580 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
17581 | } | |
17582 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
17583 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
17584 | } | |
17585 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
17586 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
17587 | } | |
17588 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
17589 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
17590 | } | |
17591 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
17592 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
17593 | } | |
17594 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
17595 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
17596 | } | |
17597 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
17598 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17599 | } | |
17600 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
17601 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17602 | } | |
17603 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
17604 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17605 | } | |
17606 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
17607 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17608 | } | |
17609 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
17610 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17611 | } | |
17612 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
17613 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17614 | } | |
17615 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
17616 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
17617 | } | |
17618 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
17619 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
17620 | } | |
17621 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
17622 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17623 | } | |
17624 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { | |
17625 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
17626 | } | |
17627 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
17628 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
17629 | } | |
17630 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
17631 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
17632 | } | |
17633 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
17634 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17635 | } | |
17636 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
17637 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17638 | } | |
17639 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
17640 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17641 | } | |
17642 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
17643 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
17644 | } | |
17645 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
17646 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
17647 | } | |
17648 | 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 | 17649 | 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}}; |
093d3ff1 RD |
17650 | 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}}; |
17651 | 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 |
17652 | 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}}; |
17653 | 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}}; | |
17654 | 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}}; | |
17655 | 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}}; | |
093d3ff1 | 17656 | 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 | 17657 | 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}}; |
093d3ff1 RD |
17658 | 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}}; |
17659 | 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}}; | |
17660 | 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}}; | |
17661 | 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 | 17662 | 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}}; |
093d3ff1 | 17663 | 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 |
17664 | 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}}; |
17665 | 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 | 17666 | 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}}; |
093d3ff1 RD |
17667 | 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}}; |
17668 | 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 |
17669 | 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}}; |
17670 | 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}}; | |
17671 | 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}}; | |
17672 | 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}}; | |
093d3ff1 | 17673 | 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 |
17674 | 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}}; |
17675 | 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}}; | |
17676 | ||
17677 | static swig_type_info *swig_types_initial[] = { | |
17678 | _swigt__p_wxRect, | |
cfe5e918 | 17679 | _swigt__p_wxObject, |
093d3ff1 RD |
17680 | _swigt__p_unsigned_char, |
17681 | _swigt__p_wxColour, | |
cfe5e918 RD |
17682 | _swigt__p_wxScrollBar, |
17683 | _swigt__p_wxStyledTextEvent, | |
17684 | _swigt__p_wxWindow, | |
17685 | _swigt__p_wxCommandEvent, | |
093d3ff1 | 17686 | _swigt__p_unsigned_long, |
cfe5e918 | 17687 | _swigt__p_wxBitmap, |
093d3ff1 RD |
17688 | _swigt__p_unsigned_int, |
17689 | _swigt__unsigned_int, | |
17690 | _swigt__p_form_ops_t, | |
17691 | _swigt__p_wxDuplexMode, | |
cfe5e918 | 17692 | _swigt__p_void, |
093d3ff1 | 17693 | _swigt__p_char, |
cfe5e918 RD |
17694 | _swigt__p_wxPoint, |
17695 | _swigt__p_wxDC, | |
cfe5e918 | 17696 | _swigt__p_wxEvtHandler, |
093d3ff1 RD |
17697 | _swigt__std__ptrdiff_t, |
17698 | _swigt__ptrdiff_t, | |
cfe5e918 RD |
17699 | _swigt__p_wxStyledTextCtrl, |
17700 | _swigt__p_wxFont, | |
17701 | _swigt__p_wxControl, | |
17702 | _swigt__p_wxEvent, | |
093d3ff1 | 17703 | _swigt__p_wxPaperSize, |
cfe5e918 RD |
17704 | _swigt__p_int, |
17705 | _swigt__p_wxMemoryBuffer, | |
17706 | 0 | |
17707 | }; | |
17708 | ||
17709 | ||
17710 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
17711 | ||
17712 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 17713 | {0, 0, 0, 0.0, 0, 0}}; |
cfe5e918 RD |
17714 | |
17715 | #ifdef __cplusplus | |
17716 | } | |
17717 | #endif | |
17718 | ||
093d3ff1 RD |
17719 | |
17720 | #ifdef __cplusplus | |
17721 | extern "C" { | |
17722 | #endif | |
17723 | ||
17724 | /* Python-specific SWIG API */ | |
17725 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
17726 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
17727 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
17728 | ||
17729 | /* ----------------------------------------------------------------------------- | |
17730 | * global variable support code. | |
17731 | * ----------------------------------------------------------------------------- */ | |
17732 | ||
17733 | typedef struct swig_globalvar { | |
17734 | char *name; /* Name of global variable */ | |
17735 | PyObject *(*get_attr)(); /* Return the current value */ | |
17736 | int (*set_attr)(PyObject *); /* Set the value */ | |
17737 | struct swig_globalvar *next; | |
17738 | } swig_globalvar; | |
17739 | ||
17740 | typedef struct swig_varlinkobject { | |
17741 | PyObject_HEAD | |
17742 | swig_globalvar *vars; | |
17743 | } swig_varlinkobject; | |
17744 | ||
17745 | static PyObject * | |
17746 | swig_varlink_repr(swig_varlinkobject *v) { | |
17747 | v = v; | |
17748 | return PyString_FromString("<Swig global variables>"); | |
17749 | } | |
17750 | ||
17751 | static int | |
17752 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
17753 | swig_globalvar *var; | |
17754 | flags = flags; | |
17755 | fprintf(fp,"Swig global variables { "); | |
17756 | for (var = v->vars; var; var=var->next) { | |
17757 | fprintf(fp,"%s", var->name); | |
17758 | if (var->next) fprintf(fp,", "); | |
17759 | } | |
17760 | fprintf(fp," }\n"); | |
17761 | return 0; | |
17762 | } | |
17763 | ||
17764 | static PyObject * | |
17765 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
17766 | swig_globalvar *var = v->vars; | |
17767 | while (var) { | |
17768 | if (strcmp(var->name,n) == 0) { | |
17769 | return (*var->get_attr)(); | |
17770 | } | |
17771 | var = var->next; | |
17772 | } | |
17773 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17774 | return NULL; | |
17775 | } | |
17776 | ||
17777 | static int | |
17778 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
17779 | swig_globalvar *var = v->vars; | |
17780 | while (var) { | |
17781 | if (strcmp(var->name,n) == 0) { | |
17782 | return (*var->set_attr)(p); | |
17783 | } | |
17784 | var = var->next; | |
17785 | } | |
17786 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
17787 | return 1; | |
17788 | } | |
17789 | ||
17790 | static PyTypeObject varlinktype = { | |
17791 | PyObject_HEAD_INIT(0) | |
17792 | 0, /* Number of items in variable part (ob_size) */ | |
17793 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
17794 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
17795 | 0, /* Itemsize (tp_itemsize) */ | |
17796 | 0, /* Deallocator (tp_dealloc) */ | |
17797 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
17798 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
17799 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
17800 | 0, /* tp_compare */ | |
17801 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
17802 | 0, /* tp_as_number */ | |
17803 | 0, /* tp_as_sequence */ | |
17804 | 0, /* tp_as_mapping */ | |
17805 | 0, /* tp_hash */ | |
17806 | 0, /* tp_call */ | |
17807 | 0, /* tp_str */ | |
17808 | 0, /* tp_getattro */ | |
17809 | 0, /* tp_setattro */ | |
17810 | 0, /* tp_as_buffer */ | |
17811 | 0, /* tp_flags */ | |
17812 | 0, /* tp_doc */ | |
17813 | #if PY_VERSION_HEX >= 0x02000000 | |
17814 | 0, /* tp_traverse */ | |
17815 | 0, /* tp_clear */ | |
17816 | #endif | |
17817 | #if PY_VERSION_HEX >= 0x02010000 | |
17818 | 0, /* tp_richcompare */ | |
17819 | 0, /* tp_weaklistoffset */ | |
17820 | #endif | |
17821 | #if PY_VERSION_HEX >= 0x02020000 | |
17822 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
17823 | #endif | |
17824 | #if PY_VERSION_HEX >= 0x02030000 | |
17825 | 0, /* tp_del */ | |
17826 | #endif | |
17827 | #ifdef COUNT_ALLOCS | |
17828 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
17829 | #endif | |
17830 | }; | |
17831 | ||
17832 | /* Create a variable linking object for use later */ | |
17833 | static PyObject * | |
17834 | SWIG_Python_newvarlink(void) { | |
17835 | swig_varlinkobject *result = 0; | |
17836 | result = PyMem_NEW(swig_varlinkobject,1); | |
17837 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
17838 | result->ob_type = &varlinktype; | |
17839 | result->vars = 0; | |
17840 | result->ob_refcnt = 0; | |
17841 | Py_XINCREF((PyObject *) result); | |
17842 | return ((PyObject*) result); | |
17843 | } | |
17844 | ||
17845 | static void | |
17846 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
17847 | swig_varlinkobject *v; | |
17848 | swig_globalvar *gv; | |
17849 | v= (swig_varlinkobject *) p; | |
17850 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
17851 | gv->name = (char *) malloc(strlen(name)+1); | |
17852 | strcpy(gv->name,name); | |
17853 | gv->get_attr = get_attr; | |
17854 | gv->set_attr = set_attr; | |
17855 | gv->next = v->vars; | |
17856 | v->vars = gv; | |
17857 | } | |
17858 | ||
17859 | /* ----------------------------------------------------------------------------- | |
17860 | * constants/methods manipulation | |
17861 | * ----------------------------------------------------------------------------- */ | |
17862 | ||
17863 | /* Install Constants */ | |
17864 | static void | |
17865 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
17866 | PyObject *obj = 0; | |
17867 | size_t i; | |
17868 | for (i = 0; constants[i].type; i++) { | |
17869 | switch(constants[i].type) { | |
17870 | case SWIG_PY_INT: | |
17871 | obj = PyInt_FromLong(constants[i].lvalue); | |
17872 | break; | |
17873 | case SWIG_PY_FLOAT: | |
17874 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
17875 | break; | |
17876 | case SWIG_PY_STRING: | |
17877 | if (constants[i].pvalue) { | |
17878 | obj = PyString_FromString((char *) constants[i].pvalue); | |
17879 | } else { | |
17880 | Py_INCREF(Py_None); | |
17881 | obj = Py_None; | |
17882 | } | |
17883 | break; | |
17884 | case SWIG_PY_POINTER: | |
17885 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
17886 | break; | |
17887 | case SWIG_PY_BINARY: | |
17888 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
17889 | break; | |
17890 | default: | |
17891 | obj = 0; | |
17892 | break; | |
17893 | } | |
17894 | if (obj) { | |
17895 | PyDict_SetItemString(d,constants[i].name,obj); | |
17896 | Py_DECREF(obj); | |
17897 | } | |
17898 | } | |
17899 | } | |
17900 | ||
17901 | /* -----------------------------------------------------------------------------*/ | |
17902 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
17903 | /* -----------------------------------------------------------------------------*/ | |
17904 | ||
17905 | static void | |
17906 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
17907 | swig_const_info *const_table, | |
17908 | swig_type_info **types, | |
17909 | swig_type_info **types_initial) { | |
17910 | size_t i; | |
17911 | for (i = 0; methods[i].ml_name; ++i) { | |
17912 | char *c = methods[i].ml_doc; | |
17913 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
17914 | int j; | |
17915 | swig_const_info *ci = 0; | |
17916 | char *name = c + 10; | |
17917 | for (j = 0; const_table[j].type; j++) { | |
17918 | if (strncmp(const_table[j].name, name, | |
17919 | strlen(const_table[j].name)) == 0) { | |
17920 | ci = &(const_table[j]); | |
17921 | break; | |
17922 | } | |
17923 | } | |
17924 | if (ci) { | |
17925 | size_t shift = (ci->ptype) - types; | |
17926 | swig_type_info *ty = types_initial[shift]; | |
17927 | size_t ldoc = (c - methods[i].ml_doc); | |
17928 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
17929 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
17930 | char *buff = ndoc; | |
17931 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
17932 | strncpy(buff, methods[i].ml_doc, ldoc); | |
17933 | buff += ldoc; | |
17934 | strncpy(buff, "swig_ptr: ", 10); | |
17935 | buff += 10; | |
17936 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
17937 | methods[i].ml_doc = ndoc; | |
17938 | } | |
17939 | } | |
17940 | } | |
17941 | } | |
17942 | ||
17943 | /* -----------------------------------------------------------------------------* | |
17944 | * Initialize type list | |
17945 | * -----------------------------------------------------------------------------*/ | |
17946 | ||
17947 | #if PY_MAJOR_VERSION < 2 | |
17948 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
17949 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
17950 | static int | |
17951 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
17952 | { | |
17953 | PyObject *dict; | |
17954 | if (!PyModule_Check(m)) { | |
17955 | PyErr_SetString(PyExc_TypeError, | |
17956 | "PyModule_AddObject() needs module as first arg"); | |
17957 | return -1; | |
17958 | } | |
17959 | if (!o) { | |
17960 | PyErr_SetString(PyExc_TypeError, | |
17961 | "PyModule_AddObject() needs non-NULL value"); | |
17962 | return -1; | |
17963 | } | |
17964 | ||
17965 | dict = PyModule_GetDict(m); | |
17966 | if (dict == NULL) { | |
17967 | /* Internal error -- modules must have a dict! */ | |
17968 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
17969 | PyModule_GetName(m)); | |
17970 | return -1; | |
17971 | } | |
17972 | if (PyDict_SetItemString(dict, name, o)) | |
17973 | return -1; | |
17974 | Py_DECREF(o); | |
17975 | return 0; | |
17976 | } | |
17977 | #endif | |
17978 | ||
17979 | static swig_type_info ** | |
17980 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
17981 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
17982 | { | |
17983 | NULL, NULL, 0, NULL | |
17984 | } | |
17985 | };/* Sentinel */ | |
17986 | ||
17987 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
17988 | swig_empty_runtime_method_table); | |
17989 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
17990 | if (pointer && module) { | |
17991 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
17992 | } | |
17993 | return type_list_handle; | |
17994 | } | |
17995 | ||
17996 | static swig_type_info ** | |
17997 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
17998 | swig_type_info **type_pointer; | |
17999 | ||
18000 | /* first check if module already created */ | |
18001 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
18002 | if (type_pointer) { | |
18003 | return type_pointer; | |
18004 | } else { | |
18005 | /* create a new module and variable */ | |
18006 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
18007 | } | |
18008 | } | |
18009 | ||
18010 | #ifdef __cplusplus | |
18011 | } | |
18012 | #endif | |
18013 | ||
18014 | /* -----------------------------------------------------------------------------* | |
18015 | * Partial Init method | |
18016 | * -----------------------------------------------------------------------------*/ | |
18017 | ||
18018 | #ifdef SWIG_LINK_RUNTIME | |
18019 | #ifdef __cplusplus | |
18020 | extern "C" | |
18021 | #endif | |
18022 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
18023 | #endif | |
18024 | ||
cfe5e918 RD |
18025 | #ifdef __cplusplus |
18026 | extern "C" | |
18027 | #endif | |
18028 | SWIGEXPORT(void) SWIG_init(void) { | |
18029 | static PyObject *SWIG_globals = 0; | |
18030 | static int typeinit = 0; | |
18031 | PyObject *m, *d; | |
18032 | int i; | |
18033 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
093d3ff1 RD |
18034 | |
18035 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18036 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
18037 | ||
cfe5e918 RD |
18038 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
18039 | d = PyModule_GetDict(m); | |
18040 | ||
18041 | if (!typeinit) { | |
093d3ff1 RD |
18042 | #ifdef SWIG_LINK_RUNTIME |
18043 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
18044 | #else | |
18045 | # ifndef SWIG_STATIC_RUNTIME | |
18046 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
18047 | # endif | |
18048 | #endif | |
cfe5e918 RD |
18049 | for (i = 0; swig_types_initial[i]; i++) { |
18050 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
18051 | } | |
18052 | typeinit = 1; | |
18053 | } | |
18054 | SWIG_InstallConstants(d,swig_const_table); | |
18055 | ||
18056 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
18057 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
093d3ff1 RD |
18058 | { |
18059 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1))); | |
18060 | } | |
18061 | { | |
18062 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1))); | |
18063 | } | |
18064 | { | |
18065 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1))); | |
18066 | } | |
18067 | { | |
18068 | PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000))); | |
18069 | } | |
18070 | { | |
18071 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000))); | |
18072 | } | |
18073 | { | |
18074 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000))); | |
18075 | } | |
18076 | { | |
18077 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0))); | |
18078 | } | |
18079 | { | |
18080 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1))); | |
18081 | } | |
18082 | { | |
18083 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2))); | |
18084 | } | |
18085 | { | |
18086 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0))); | |
18087 | } | |
18088 | { | |
18089 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1))); | |
18090 | } | |
18091 | { | |
18092 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2))); | |
18093 | } | |
18094 | { | |
18095 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001))); | |
18096 | } | |
18097 | { | |
18098 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1))); | |
18099 | } | |
18100 | { | |
18101 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31))); | |
18102 | } | |
18103 | { | |
18104 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0))); | |
18105 | } | |
18106 | { | |
18107 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1))); | |
18108 | } | |
18109 | { | |
18110 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2))); | |
18111 | } | |
18112 | { | |
18113 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3))); | |
18114 | } | |
18115 | { | |
18116 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4))); | |
18117 | } | |
18118 | { | |
18119 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5))); | |
18120 | } | |
18121 | { | |
18122 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6))); | |
18123 | } | |
18124 | { | |
18125 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7))); | |
18126 | } | |
18127 | { | |
18128 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8))); | |
18129 | } | |
18130 | { | |
18131 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9))); | |
18132 | } | |
18133 | { | |
18134 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10))); | |
18135 | } | |
18136 | { | |
18137 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11))); | |
18138 | } | |
18139 | { | |
18140 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12))); | |
18141 | } | |
18142 | { | |
18143 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13))); | |
18144 | } | |
18145 | { | |
18146 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14))); | |
18147 | } | |
18148 | { | |
18149 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15))); | |
18150 | } | |
18151 | { | |
18152 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16))); | |
18153 | } | |
18154 | { | |
18155 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17))); | |
18156 | } | |
18157 | { | |
18158 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18))); | |
18159 | } | |
18160 | { | |
18161 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19))); | |
18162 | } | |
18163 | { | |
18164 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20))); | |
18165 | } | |
18166 | { | |
18167 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21))); | |
18168 | } | |
18169 | { | |
18170 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22))); | |
18171 | } | |
18172 | { | |
18173 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23))); | |
18174 | } | |
18175 | { | |
18176 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24))); | |
18177 | } | |
18178 | { | |
18179 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25))); | |
18180 | } | |
18181 | { | |
18182 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000))); | |
18183 | } | |
18184 | { | |
18185 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25))); | |
18186 | } | |
18187 | { | |
18188 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26))); | |
18189 | } | |
18190 | { | |
18191 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27))); | |
18192 | } | |
18193 | { | |
18194 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28))); | |
18195 | } | |
18196 | { | |
18197 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29))); | |
18198 | } | |
18199 | { | |
18200 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30))); | |
18201 | } | |
18202 | { | |
18203 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31))); | |
18204 | } | |
18205 | { | |
18206 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000))); | |
18207 | } | |
18208 | { | |
18209 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0))); | |
18210 | } | |
18211 | { | |
18212 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1))); | |
18213 | } | |
18214 | { | |
18215 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32))); | |
18216 | } | |
18217 | { | |
18218 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33))); | |
18219 | } | |
18220 | { | |
18221 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34))); | |
18222 | } | |
18223 | { | |
18224 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35))); | |
18225 | } | |
18226 | { | |
18227 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36))); | |
18228 | } | |
18229 | { | |
18230 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37))); | |
18231 | } | |
18232 | { | |
18233 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39))); | |
18234 | } | |
18235 | { | |
18236 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127))); | |
18237 | } | |
18238 | { | |
18239 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0))); | |
18240 | } | |
18241 | { | |
18242 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1))); | |
18243 | } | |
18244 | { | |
18245 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186))); | |
18246 | } | |
18247 | { | |
18248 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136))); | |
18249 | } | |
18250 | { | |
18251 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238))); | |
18252 | } | |
18253 | { | |
18254 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134))); | |
18255 | } | |
18256 | { | |
18257 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161))); | |
18258 | } | |
18259 | { | |
18260 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129))); | |
18261 | } | |
18262 | { | |
18263 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77))); | |
18264 | } | |
18265 | { | |
18266 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255))); | |
18267 | } | |
18268 | { | |
18269 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204))); | |
18270 | } | |
18271 | { | |
18272 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128))); | |
18273 | } | |
18274 | { | |
18275 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2))); | |
18276 | } | |
18277 | { | |
18278 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162))); | |
18279 | } | |
18280 | { | |
18281 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130))); | |
18282 | } | |
18283 | { | |
18284 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177))); | |
18285 | } | |
18286 | { | |
18287 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178))); | |
18288 | } | |
18289 | { | |
18290 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163))); | |
18291 | } | |
18292 | { | |
18293 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222))); | |
18294 | } | |
18295 | { | |
18296 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0))); | |
18297 | } | |
18298 | { | |
18299 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1))); | |
18300 | } | |
18301 | { | |
18302 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2))); | |
18303 | } | |
18304 | { | |
18305 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7))); | |
18306 | } | |
18307 | { | |
18308 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0))); | |
18309 | } | |
18310 | { | |
18311 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1))); | |
18312 | } | |
18313 | { | |
18314 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2))); | |
18315 | } | |
18316 | { | |
18317 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3))); | |
18318 | } | |
18319 | { | |
18320 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4))); | |
18321 | } | |
18322 | { | |
18323 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5))); | |
18324 | } | |
18325 | { | |
18326 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6))); | |
18327 | } | |
18328 | { | |
18329 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20))); | |
18330 | } | |
18331 | { | |
18332 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40))); | |
18333 | } | |
18334 | { | |
18335 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80))); | |
18336 | } | |
18337 | { | |
18338 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0))); | |
18339 | } | |
18340 | { | |
18341 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0))); | |
18342 | } | |
18343 | { | |
18344 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1))); | |
18345 | } | |
18346 | { | |
18347 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2))); | |
18348 | } | |
18349 | { | |
18350 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3))); | |
18351 | } | |
18352 | { | |
18353 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4))); | |
18354 | } | |
18355 | { | |
18356 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2))); | |
18357 | } | |
18358 | { | |
18359 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4))); | |
18360 | } | |
18361 | { | |
18362 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000))); | |
18363 | } | |
18364 | { | |
18365 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000))); | |
18366 | } | |
18367 | { | |
18368 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000))); | |
18369 | } | |
18370 | { | |
18371 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400))); | |
18372 | } | |
18373 | { | |
18374 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000))); | |
18375 | } | |
18376 | { | |
18377 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000))); | |
18378 | } | |
18379 | { | |
18380 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000))); | |
18381 | } | |
18382 | { | |
18383 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000))); | |
18384 | } | |
18385 | { | |
18386 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000))); | |
18387 | } | |
18388 | { | |
18389 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000))); | |
18390 | } | |
18391 | { | |
18392 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF))); | |
18393 | } | |
18394 | { | |
18395 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002))); | |
18396 | } | |
18397 | { | |
18398 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004))); | |
18399 | } | |
18400 | { | |
18401 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008))); | |
18402 | } | |
18403 | { | |
18404 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010))); | |
18405 | } | |
18406 | { | |
18407 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040))); | |
18408 | } | |
18409 | { | |
18410 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001))); | |
18411 | } | |
18412 | { | |
18413 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000))); | |
18414 | } | |
18415 | { | |
18416 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0))); | |
18417 | } | |
18418 | { | |
18419 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1))); | |
18420 | } | |
18421 | { | |
18422 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000))); | |
18423 | } | |
18424 | { | |
18425 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001))); | |
18426 | } | |
18427 | { | |
18428 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002))); | |
18429 | } | |
18430 | { | |
18431 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000))); | |
18432 | } | |
18433 | { | |
18434 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001))); | |
18435 | } | |
18436 | { | |
18437 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002))); | |
18438 | } | |
18439 | { | |
18440 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0))); | |
18441 | } | |
18442 | { | |
18443 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1))); | |
18444 | } | |
18445 | { | |
18446 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2))); | |
18447 | } | |
18448 | { | |
18449 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3))); | |
18450 | } | |
18451 | { | |
18452 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0))); | |
18453 | } | |
18454 | { | |
18455 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1))); | |
18456 | } | |
18457 | { | |
18458 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2))); | |
18459 | } | |
18460 | { | |
18461 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1))); | |
18462 | } | |
18463 | { | |
18464 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4))); | |
18465 | } | |
18466 | { | |
18467 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01))); | |
18468 | } | |
18469 | { | |
18470 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04))); | |
18471 | } | |
18472 | { | |
18473 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01))); | |
18474 | } | |
18475 | { | |
18476 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04))); | |
18477 | } | |
18478 | { | |
18479 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10))); | |
18480 | } | |
18481 | { | |
18482 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08))); | |
18483 | } | |
18484 | { | |
18485 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0))); | |
18486 | } | |
18487 | { | |
18488 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1))); | |
18489 | } | |
18490 | { | |
18491 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2))); | |
18492 | } | |
18493 | { | |
18494 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8))); | |
18495 | } | |
18496 | { | |
18497 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1))); | |
18498 | } | |
18499 | { | |
18500 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2))); | |
18501 | } | |
18502 | { | |
18503 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4))); | |
18504 | } | |
18505 | { | |
18506 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8))); | |
18507 | } | |
18508 | { | |
18509 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10))); | |
18510 | } | |
18511 | { | |
18512 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20))); | |
18513 | } | |
18514 | { | |
18515 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40))); | |
18516 | } | |
18517 | { | |
18518 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100))); | |
18519 | } | |
18520 | { | |
18521 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200))); | |
18522 | } | |
18523 | { | |
18524 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400))); | |
18525 | } | |
18526 | { | |
18527 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800))); | |
18528 | } | |
18529 | { | |
18530 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77))); | |
18531 | } | |
18532 | { | |
18533 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300))); | |
18534 | } | |
18535 | { | |
18536 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301))); | |
18537 | } | |
18538 | { | |
18539 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302))); | |
18540 | } | |
18541 | { | |
18542 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303))); | |
18543 | } | |
18544 | { | |
18545 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304))); | |
18546 | } | |
18547 | { | |
18548 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305))); | |
18549 | } | |
18550 | { | |
18551 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306))); | |
18552 | } | |
18553 | { | |
18554 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307))); | |
18555 | } | |
18556 | { | |
18557 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308))); | |
18558 | } | |
18559 | { | |
18560 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309))); | |
18561 | } | |
18562 | { | |
18563 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7))); | |
18564 | } | |
18565 | { | |
18566 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8))); | |
18567 | } | |
18568 | { | |
18569 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9))); | |
18570 | } | |
18571 | { | |
18572 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13))); | |
18573 | } | |
18574 | { | |
18575 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310))); | |
18576 | } | |
18577 | { | |
18578 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311))); | |
18579 | } | |
18580 | { | |
18581 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312))); | |
18582 | } | |
18583 | { | |
18584 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1))); | |
18585 | } | |
18586 | { | |
18587 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2))); | |
18588 | } | |
18589 | { | |
18590 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4))); | |
18591 | } | |
18592 | { | |
18593 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0))); | |
18594 | } | |
18595 | { | |
18596 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1))); | |
18597 | } | |
18598 | { | |
18599 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2))); | |
18600 | } | |
18601 | { | |
18602 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3))); | |
18603 | } | |
18604 | { | |
18605 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4))); | |
18606 | } | |
18607 | { | |
18608 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5))); | |
18609 | } | |
18610 | { | |
18611 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6))); | |
18612 | } | |
18613 | { | |
18614 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7))); | |
18615 | } | |
18616 | { | |
18617 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8))); | |
18618 | } | |
18619 | { | |
18620 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9))); | |
18621 | } | |
18622 | { | |
18623 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10))); | |
18624 | } | |
18625 | { | |
18626 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11))); | |
18627 | } | |
18628 | { | |
18629 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12))); | |
18630 | } | |
18631 | { | |
18632 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13))); | |
18633 | } | |
18634 | { | |
18635 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14))); | |
18636 | } | |
18637 | { | |
18638 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15))); | |
18639 | } | |
18640 | { | |
18641 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16))); | |
18642 | } | |
18643 | { | |
18644 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17))); | |
18645 | } | |
18646 | { | |
18647 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18))); | |
18648 | } | |
18649 | { | |
18650 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19))); | |
18651 | } | |
18652 | { | |
18653 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20))); | |
18654 | } | |
18655 | { | |
18656 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21))); | |
18657 | } | |
18658 | { | |
18659 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22))); | |
18660 | } | |
18661 | { | |
18662 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23))); | |
18663 | } | |
18664 | { | |
18665 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24))); | |
18666 | } | |
18667 | { | |
18668 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25))); | |
18669 | } | |
18670 | { | |
18671 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26))); | |
18672 | } | |
18673 | { | |
18674 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27))); | |
18675 | } | |
18676 | { | |
18677 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28))); | |
18678 | } | |
18679 | { | |
18680 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29))); | |
18681 | } | |
18682 | { | |
18683 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30))); | |
18684 | } | |
18685 | { | |
18686 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31))); | |
18687 | } | |
18688 | { | |
18689 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32))); | |
18690 | } | |
18691 | { | |
18692 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33))); | |
18693 | } | |
18694 | { | |
18695 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34))); | |
18696 | } | |
18697 | { | |
18698 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35))); | |
18699 | } | |
18700 | { | |
18701 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36))); | |
18702 | } | |
18703 | { | |
18704 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37))); | |
18705 | } | |
18706 | { | |
18707 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38))); | |
18708 | } | |
18709 | { | |
18710 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39))); | |
18711 | } | |
18712 | { | |
18713 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40))); | |
18714 | } | |
18715 | { | |
18716 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41))); | |
18717 | } | |
18718 | { | |
18719 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42))); | |
18720 | } | |
18721 | { | |
18722 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43))); | |
18723 | } | |
18724 | { | |
18725 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44))); | |
18726 | } | |
18727 | { | |
18728 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45))); | |
18729 | } | |
18730 | { | |
18731 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46))); | |
18732 | } | |
18733 | { | |
18734 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47))); | |
18735 | } | |
18736 | { | |
18737 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48))); | |
18738 | } | |
18739 | { | |
18740 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49))); | |
18741 | } | |
18742 | { | |
18743 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50))); | |
18744 | } | |
18745 | { | |
18746 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51))); | |
18747 | } | |
18748 | { | |
18749 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52))); | |
18750 | } | |
18751 | { | |
18752 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53))); | |
18753 | } | |
18754 | { | |
18755 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54))); | |
18756 | } | |
18757 | { | |
18758 | PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55))); | |
18759 | } | |
18760 | { | |
18761 | PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56))); | |
18762 | } | |
18763 | { | |
18764 | PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57))); | |
18765 | } | |
18766 | { | |
18767 | PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58))); | |
18768 | } | |
18769 | { | |
18770 | PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59))); | |
18771 | } | |
18772 | { | |
18773 | PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60))); | |
18774 | } | |
18775 | { | |
18776 | PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61))); | |
18777 | } | |
18778 | { | |
18779 | PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62))); | |
18780 | } | |
e8d51145 RD |
18781 | { |
18782 | PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63))); | |
18783 | } | |
18784 | { | |
18785 | PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64))); | |
18786 | } | |
093d3ff1 RD |
18787 | { |
18788 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000))); | |
18789 | } | |
18790 | { | |
18791 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0))); | |
18792 | } | |
18793 | { | |
18794 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1))); | |
18795 | } | |
18796 | { | |
18797 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2))); | |
18798 | } | |
18799 | { | |
18800 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3))); | |
18801 | } | |
18802 | { | |
18803 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4))); | |
18804 | } | |
18805 | { | |
18806 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5))); | |
18807 | } | |
18808 | { | |
18809 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6))); | |
18810 | } | |
18811 | { | |
18812 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7))); | |
18813 | } | |
18814 | { | |
18815 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8))); | |
18816 | } | |
18817 | { | |
18818 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9))); | |
18819 | } | |
18820 | { | |
18821 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10))); | |
18822 | } | |
18823 | { | |
18824 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11))); | |
18825 | } | |
18826 | { | |
18827 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12))); | |
18828 | } | |
18829 | { | |
18830 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13))); | |
18831 | } | |
18832 | { | |
18833 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0))); | |
18834 | } | |
18835 | { | |
18836 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1))); | |
18837 | } | |
18838 | { | |
18839 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2))); | |
18840 | } | |
18841 | { | |
18842 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3))); | |
18843 | } | |
18844 | { | |
18845 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4))); | |
18846 | } | |
18847 | { | |
18848 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5))); | |
18849 | } | |
18850 | { | |
18851 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6))); | |
18852 | } | |
18853 | { | |
18854 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7))); | |
18855 | } | |
18856 | { | |
18857 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8))); | |
18858 | } | |
18859 | { | |
18860 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9))); | |
18861 | } | |
18862 | { | |
18863 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10))); | |
18864 | } | |
18865 | { | |
18866 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11))); | |
18867 | } | |
18868 | { | |
18869 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12))); | |
18870 | } | |
18871 | { | |
18872 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13))); | |
18873 | } | |
18874 | { | |
18875 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14))); | |
18876 | } | |
18877 | { | |
18878 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15))); | |
18879 | } | |
18880 | { | |
18881 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16))); | |
18882 | } | |
18883 | { | |
18884 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17))); | |
18885 | } | |
18886 | { | |
18887 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18))); | |
18888 | } | |
18889 | { | |
18890 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19))); | |
18891 | } | |
18892 | { | |
18893 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0))); | |
18894 | } | |
18895 | { | |
18896 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1))); | |
18897 | } | |
18898 | { | |
18899 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2))); | |
18900 | } | |
18901 | { | |
18902 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3))); | |
18903 | } | |
18904 | { | |
18905 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4))); | |
18906 | } | |
18907 | { | |
18908 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5))); | |
18909 | } | |
18910 | { | |
18911 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6))); | |
18912 | } | |
18913 | { | |
18914 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7))); | |
18915 | } | |
18916 | { | |
18917 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8))); | |
18918 | } | |
18919 | { | |
18920 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9))); | |
18921 | } | |
18922 | { | |
18923 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10))); | |
18924 | } | |
18925 | { | |
18926 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11))); | |
18927 | } | |
18928 | { | |
18929 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12))); | |
18930 | } | |
18931 | { | |
18932 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13))); | |
18933 | } | |
18934 | { | |
18935 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14))); | |
18936 | } | |
18937 | { | |
18938 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15))); | |
18939 | } | |
18940 | { | |
18941 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16))); | |
18942 | } | |
18943 | { | |
18944 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17))); | |
18945 | } | |
18946 | { | |
18947 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18))); | |
18948 | } | |
18949 | { | |
18950 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19))); | |
18951 | } | |
18952 | { | |
18953 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20))); | |
18954 | } | |
18955 | { | |
18956 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21))); | |
18957 | } | |
18958 | { | |
18959 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22))); | |
18960 | } | |
18961 | { | |
18962 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23))); | |
18963 | } | |
18964 | { | |
18965 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24))); | |
18966 | } | |
18967 | { | |
18968 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25))); | |
18969 | } | |
18970 | { | |
18971 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26))); | |
18972 | } | |
18973 | { | |
18974 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27))); | |
18975 | } | |
18976 | { | |
18977 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28))); | |
18978 | } | |
18979 | { | |
18980 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29))); | |
18981 | } | |
18982 | { | |
18983 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30))); | |
18984 | } | |
18985 | { | |
18986 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31))); | |
18987 | } | |
18988 | { | |
18989 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40))); | |
18990 | } | |
18991 | { | |
18992 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41))); | |
18993 | } | |
18994 | { | |
18995 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42))); | |
18996 | } | |
18997 | { | |
18998 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43))); | |
18999 | } | |
19000 | { | |
19001 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44))); | |
19002 | } | |
19003 | { | |
19004 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45))); | |
19005 | } | |
19006 | { | |
19007 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46))); | |
19008 | } | |
19009 | { | |
19010 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47))); | |
19011 | } | |
19012 | { | |
19013 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48))); | |
19014 | } | |
19015 | { | |
19016 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49))); | |
19017 | } | |
19018 | { | |
19019 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50))); | |
19020 | } | |
19021 | { | |
19022 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51))); | |
19023 | } | |
19024 | { | |
19025 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52))); | |
19026 | } | |
19027 | { | |
19028 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55))); | |
19029 | } | |
19030 | { | |
19031 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56))); | |
19032 | } | |
19033 | { | |
19034 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57))); | |
19035 | } | |
19036 | { | |
19037 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58))); | |
19038 | } | |
19039 | { | |
19040 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59))); | |
19041 | } | |
19042 | { | |
19043 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60))); | |
19044 | } | |
19045 | { | |
19046 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61))); | |
19047 | } | |
19048 | { | |
19049 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62))); | |
19050 | } | |
19051 | { | |
19052 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63))); | |
19053 | } | |
19054 | { | |
19055 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64))); | |
19056 | } | |
19057 | { | |
19058 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65))); | |
19059 | } | |
19060 | { | |
19061 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66))); | |
19062 | } | |
19063 | { | |
19064 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67))); | |
19065 | } | |
19066 | { | |
19067 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70))); | |
19068 | } | |
19069 | { | |
19070 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71))); | |
19071 | } | |
19072 | { | |
19073 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72))); | |
19074 | } | |
19075 | { | |
19076 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73))); | |
19077 | } | |
19078 | { | |
19079 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74))); | |
19080 | } | |
19081 | { | |
19082 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75))); | |
19083 | } | |
19084 | { | |
19085 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76))); | |
19086 | } | |
19087 | { | |
19088 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77))); | |
19089 | } | |
19090 | { | |
19091 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80))); | |
19092 | } | |
19093 | { | |
19094 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81))); | |
19095 | } | |
19096 | { | |
19097 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82))); | |
19098 | } | |
19099 | { | |
19100 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83))); | |
19101 | } | |
19102 | { | |
19103 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84))); | |
19104 | } | |
19105 | { | |
19106 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85))); | |
19107 | } | |
19108 | { | |
19109 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86))); | |
19110 | } | |
19111 | { | |
19112 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87))); | |
19113 | } | |
19114 | { | |
19115 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90))); | |
19116 | } | |
19117 | { | |
19118 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91))); | |
19119 | } | |
19120 | { | |
19121 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92))); | |
19122 | } | |
19123 | { | |
19124 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93))); | |
19125 | } | |
19126 | { | |
19127 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94))); | |
19128 | } | |
19129 | { | |
19130 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95))); | |
19131 | } | |
19132 | { | |
19133 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96))); | |
19134 | } | |
19135 | { | |
19136 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97))); | |
19137 | } | |
19138 | { | |
19139 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98))); | |
19140 | } | |
19141 | { | |
19142 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99))); | |
19143 | } | |
19144 | { | |
19145 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100))); | |
19146 | } | |
19147 | { | |
19148 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101))); | |
19149 | } | |
19150 | { | |
19151 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102))); | |
19152 | } | |
19153 | { | |
19154 | PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104))); | |
19155 | } | |
19156 | { | |
19157 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105))); | |
19158 | } | |
19159 | { | |
19160 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106))); | |
19161 | } | |
19162 | { | |
19163 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107))); | |
19164 | } | |
19165 | { | |
19166 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108))); | |
19167 | } | |
19168 | { | |
19169 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109))); | |
19170 | } | |
19171 | { | |
19172 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110))); | |
19173 | } | |
19174 | { | |
19175 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111))); | |
19176 | } | |
19177 | { | |
19178 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112))); | |
19179 | } | |
19180 | { | |
19181 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113))); | |
19182 | } | |
19183 | { | |
19184 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114))); | |
19185 | } | |
19186 | { | |
19187 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115))); | |
19188 | } | |
19189 | { | |
19190 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116))); | |
19191 | } | |
19192 | { | |
19193 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117))); | |
19194 | } | |
19195 | { | |
19196 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118))); | |
19197 | } | |
19198 | { | |
19199 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119))); | |
19200 | } | |
19201 | { | |
19202 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120))); | |
19203 | } | |
19204 | { | |
19205 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121))); | |
19206 | } | |
19207 | { | |
19208 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122))); | |
19209 | } | |
19210 | { | |
19211 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123))); | |
19212 | } | |
19213 | { | |
19214 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124))); | |
19215 | } | |
19216 | { | |
19217 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125))); | |
19218 | } | |
19219 | { | |
19220 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126))); | |
19221 | } | |
19222 | { | |
19223 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127))); | |
19224 | } | |
19225 | { | |
19226 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0))); | |
19227 | } | |
19228 | { | |
19229 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1))); | |
19230 | } | |
19231 | { | |
19232 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2))); | |
19233 | } | |
19234 | { | |
19235 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3))); | |
19236 | } | |
19237 | { | |
19238 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4))); | |
19239 | } | |
19240 | { | |
19241 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5))); | |
19242 | } | |
19243 | { | |
19244 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6))); | |
19245 | } | |
19246 | { | |
19247 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7))); | |
19248 | } | |
19249 | { | |
19250 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8))); | |
19251 | } | |
19252 | { | |
19253 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19254 | } | |
19255 | { | |
19256 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10))); | |
19257 | } | |
19258 | { | |
19259 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11))); | |
19260 | } | |
19261 | { | |
19262 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12))); | |
19263 | } | |
19264 | { | |
19265 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13))); | |
19266 | } | |
19267 | { | |
19268 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14))); | |
19269 | } | |
19270 | { | |
19271 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15))); | |
19272 | } | |
19273 | { | |
19274 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17))); | |
19275 | } | |
19276 | { | |
19277 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18))); | |
19278 | } | |
19279 | { | |
19280 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19))); | |
19281 | } | |
19282 | { | |
19283 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20))); | |
19284 | } | |
19285 | { | |
19286 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21))); | |
19287 | } | |
19288 | { | |
19289 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22))); | |
19290 | } | |
19291 | { | |
19292 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23))); | |
19293 | } | |
19294 | { | |
19295 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24))); | |
19296 | } | |
19297 | { | |
19298 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25))); | |
19299 | } | |
19300 | { | |
19301 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26))); | |
19302 | } | |
19303 | { | |
19304 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27))); | |
19305 | } | |
19306 | { | |
19307 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28))); | |
19308 | } | |
19309 | { | |
19310 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29))); | |
19311 | } | |
19312 | { | |
19313 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30))); | |
19314 | } | |
19315 | { | |
19316 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0))); | |
19317 | } | |
19318 | { | |
19319 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1))); | |
19320 | } | |
19321 | { | |
19322 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2))); | |
19323 | } | |
19324 | { | |
19325 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3))); | |
19326 | } | |
19327 | { | |
19328 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4))); | |
19329 | } | |
19330 | { | |
19331 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5))); | |
19332 | } | |
19333 | { | |
19334 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6))); | |
19335 | } | |
19336 | { | |
19337 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7))); | |
19338 | } | |
19339 | { | |
19340 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8))); | |
19341 | } | |
19342 | { | |
19343 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9))); | |
19344 | } | |
19345 | { | |
19346 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10))); | |
19347 | } | |
19348 | { | |
19349 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11))); | |
19350 | } | |
19351 | { | |
19352 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12))); | |
19353 | } | |
19354 | { | |
19355 | PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13))); | |
19356 | } | |
19357 | { | |
19358 | PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14))); | |
19359 | } | |
19360 | { | |
19361 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0))); | |
19362 | } | |
19363 | { | |
19364 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1))); | |
19365 | } | |
19366 | { | |
19367 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2))); | |
19368 | } | |
19369 | { | |
19370 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3))); | |
19371 | } | |
19372 | { | |
19373 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4))); | |
19374 | } | |
19375 | { | |
19376 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0))); | |
19377 | } | |
19378 | { | |
19379 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1))); | |
19380 | } | |
19381 | { | |
19382 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2))); | |
19383 | } | |
19384 | { | |
19385 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3))); | |
19386 | } | |
19387 | { | |
19388 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4))); | |
19389 | } | |
19390 | { | |
19391 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0))); | |
19392 | } | |
19393 | { | |
19394 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1))); | |
19395 | } | |
19396 | { | |
19397 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2))); | |
19398 | } | |
19399 | { | |
19400 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3))); | |
19401 | } | |
19402 | { | |
19403 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4))); | |
19404 | } | |
19405 | { | |
19406 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5))); | |
19407 | } | |
19408 | { | |
19409 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6))); | |
19410 | } | |
19411 | { | |
19412 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7))); | |
19413 | } | |
19414 | { | |
19415 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8))); | |
19416 | } | |
19417 | { | |
19418 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19419 | } | |
19420 | { | |
19421 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10))); | |
19422 | } | |
19423 | { | |
19424 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11))); | |
19425 | } | |
19426 | { | |
19427 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12))); | |
19428 | } | |
19429 | { | |
19430 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13))); | |
19431 | } | |
19432 | { | |
19433 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14))); | |
19434 | } | |
19435 | { | |
19436 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15))); | |
19437 | } | |
19438 | { | |
19439 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16))); | |
19440 | } | |
19441 | { | |
19442 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17))); | |
19443 | } | |
19444 | { | |
19445 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18))); | |
19446 | } | |
19447 | { | |
19448 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19))); | |
19449 | } | |
19450 | { | |
19451 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0))); | |
19452 | } | |
19453 | { | |
19454 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1))); | |
19455 | } | |
19456 | { | |
19457 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2))); | |
19458 | } | |
19459 | { | |
19460 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3))); | |
19461 | } | |
19462 | { | |
19463 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4))); | |
19464 | } | |
19465 | { | |
19466 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5))); | |
19467 | } | |
19468 | { | |
19469 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6))); | |
19470 | } | |
19471 | { | |
19472 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7))); | |
19473 | } | |
19474 | { | |
19475 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8))); | |
19476 | } | |
19477 | { | |
19478 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9))); | |
19479 | } | |
19480 | { | |
19481 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10))); | |
19482 | } | |
19483 | { | |
19484 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11))); | |
19485 | } | |
19486 | { | |
19487 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12))); | |
19488 | } | |
19489 | { | |
19490 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13))); | |
19491 | } | |
19492 | { | |
19493 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14))); | |
19494 | } | |
19495 | { | |
19496 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15))); | |
19497 | } | |
19498 | { | |
19499 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16))); | |
19500 | } | |
19501 | { | |
19502 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17))); | |
19503 | } | |
19504 | { | |
19505 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18))); | |
19506 | } | |
19507 | { | |
19508 | PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19))); | |
19509 | } | |
e8d51145 RD |
19510 | { |
19511 | PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20))); | |
19512 | } | |
093d3ff1 RD |
19513 | { |
19514 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0))); | |
19515 | } | |
19516 | { | |
19517 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1))); | |
19518 | } | |
19519 | { | |
19520 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2))); | |
19521 | } | |
19522 | { | |
19523 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3))); | |
19524 | } | |
19525 | { | |
19526 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4))); | |
19527 | } | |
19528 | { | |
19529 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5))); | |
19530 | } | |
19531 | { | |
19532 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6))); | |
19533 | } | |
19534 | { | |
19535 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7))); | |
19536 | } | |
19537 | { | |
19538 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0))); | |
19539 | } | |
19540 | { | |
19541 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1))); | |
19542 | } | |
19543 | { | |
19544 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2))); | |
19545 | } | |
19546 | { | |
19547 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3))); | |
19548 | } | |
19549 | { | |
19550 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4))); | |
19551 | } | |
19552 | { | |
19553 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5))); | |
19554 | } | |
19555 | { | |
19556 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9))); | |
19557 | } | |
19558 | { | |
19559 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0))); | |
19560 | } | |
19561 | { | |
19562 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1))); | |
19563 | } | |
19564 | { | |
19565 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2))); | |
19566 | } | |
19567 | { | |
19568 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3))); | |
19569 | } | |
19570 | { | |
19571 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4))); | |
19572 | } | |
19573 | { | |
19574 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5))); | |
19575 | } | |
19576 | { | |
19577 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6))); | |
19578 | } | |
19579 | { | |
19580 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0))); | |
19581 | } | |
19582 | { | |
19583 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1))); | |
19584 | } | |
19585 | { | |
19586 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2))); | |
19587 | } | |
19588 | { | |
19589 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3))); | |
19590 | } | |
19591 | { | |
19592 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4))); | |
19593 | } | |
19594 | { | |
19595 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5))); | |
19596 | } | |
19597 | { | |
19598 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6))); | |
19599 | } | |
19600 | { | |
19601 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7))); | |
19602 | } | |
19603 | { | |
19604 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8))); | |
19605 | } | |
19606 | { | |
19607 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9))); | |
19608 | } | |
19609 | { | |
19610 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0))); | |
19611 | } | |
19612 | { | |
19613 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1))); | |
19614 | } | |
19615 | { | |
19616 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2))); | |
19617 | } | |
19618 | { | |
19619 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3))); | |
19620 | } | |
19621 | { | |
19622 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6))); | |
19623 | } | |
19624 | { | |
19625 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7))); | |
19626 | } | |
19627 | { | |
19628 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8))); | |
19629 | } | |
19630 | { | |
19631 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9))); | |
19632 | } | |
19633 | { | |
19634 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10))); | |
19635 | } | |
19636 | { | |
19637 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11))); | |
19638 | } | |
19639 | { | |
19640 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12))); | |
19641 | } | |
19642 | { | |
19643 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13))); | |
19644 | } | |
19645 | { | |
19646 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14))); | |
19647 | } | |
19648 | { | |
19649 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15))); | |
19650 | } | |
19651 | { | |
19652 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16))); | |
19653 | } | |
19654 | { | |
19655 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0))); | |
19656 | } | |
19657 | { | |
19658 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1))); | |
19659 | } | |
19660 | { | |
19661 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2))); | |
19662 | } | |
19663 | { | |
19664 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3))); | |
19665 | } | |
19666 | { | |
19667 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4))); | |
19668 | } | |
19669 | { | |
19670 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5))); | |
19671 | } | |
19672 | { | |
19673 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6))); | |
19674 | } | |
19675 | { | |
19676 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7))); | |
19677 | } | |
19678 | { | |
19679 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8))); | |
19680 | } | |
19681 | { | |
19682 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9))); | |
19683 | } | |
19684 | { | |
19685 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10))); | |
19686 | } | |
19687 | { | |
19688 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11))); | |
19689 | } | |
19690 | { | |
19691 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0))); | |
19692 | } | |
19693 | { | |
19694 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1))); | |
19695 | } | |
19696 | { | |
19697 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2))); | |
19698 | } | |
19699 | { | |
19700 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3))); | |
19701 | } | |
19702 | { | |
19703 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4))); | |
19704 | } | |
19705 | { | |
19706 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5))); | |
19707 | } | |
19708 | { | |
19709 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6))); | |
19710 | } | |
19711 | { | |
19712 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7))); | |
19713 | } | |
19714 | { | |
19715 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8))); | |
19716 | } | |
19717 | { | |
19718 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9))); | |
19719 | } | |
19720 | { | |
19721 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10))); | |
19722 | } | |
19723 | { | |
19724 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0))); | |
19725 | } | |
19726 | { | |
19727 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1))); | |
19728 | } | |
19729 | { | |
19730 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2))); | |
19731 | } | |
19732 | { | |
19733 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3))); | |
19734 | } | |
19735 | { | |
19736 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6))); | |
19737 | } | |
19738 | { | |
19739 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8))); | |
19740 | } | |
19741 | { | |
19742 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9))); | |
19743 | } | |
19744 | { | |
19745 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10))); | |
19746 | } | |
19747 | { | |
19748 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0))); | |
19749 | } | |
19750 | { | |
19751 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1))); | |
19752 | } | |
19753 | { | |
19754 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2))); | |
19755 | } | |
19756 | { | |
19757 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3))); | |
19758 | } | |
19759 | { | |
19760 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4))); | |
19761 | } | |
19762 | { | |
19763 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5))); | |
19764 | } | |
19765 | { | |
19766 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6))); | |
19767 | } | |
19768 | { | |
19769 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7))); | |
19770 | } | |
19771 | { | |
19772 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8))); | |
19773 | } | |
19774 | { | |
19775 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0))); | |
19776 | } | |
19777 | { | |
19778 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1))); | |
19779 | } | |
19780 | { | |
19781 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2))); | |
19782 | } | |
19783 | { | |
19784 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3))); | |
19785 | } | |
19786 | { | |
19787 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4))); | |
19788 | } | |
19789 | { | |
19790 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5))); | |
19791 | } | |
19792 | { | |
19793 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6))); | |
19794 | } | |
19795 | { | |
19796 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7))); | |
19797 | } | |
19798 | { | |
19799 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8))); | |
19800 | } | |
19801 | { | |
19802 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9))); | |
19803 | } | |
19804 | { | |
19805 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10))); | |
19806 | } | |
19807 | { | |
19808 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0))); | |
19809 | } | |
19810 | { | |
19811 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1))); | |
19812 | } | |
19813 | { | |
19814 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2))); | |
19815 | } | |
19816 | { | |
19817 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3))); | |
19818 | } | |
19819 | { | |
19820 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4))); | |
19821 | } | |
19822 | { | |
19823 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5))); | |
19824 | } | |
19825 | { | |
19826 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6))); | |
19827 | } | |
19828 | { | |
19829 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7))); | |
19830 | } | |
19831 | { | |
19832 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8))); | |
19833 | } | |
19834 | { | |
19835 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9))); | |
19836 | } | |
19837 | { | |
19838 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10))); | |
19839 | } | |
19840 | { | |
19841 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11))); | |
19842 | } | |
19843 | { | |
19844 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0))); | |
19845 | } | |
19846 | { | |
19847 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1))); | |
19848 | } | |
19849 | { | |
19850 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2))); | |
19851 | } | |
19852 | { | |
19853 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3))); | |
19854 | } | |
19855 | { | |
19856 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4))); | |
19857 | } | |
19858 | { | |
19859 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5))); | |
19860 | } | |
19861 | { | |
19862 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6))); | |
19863 | } | |
19864 | { | |
19865 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7))); | |
19866 | } | |
19867 | { | |
19868 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8))); | |
19869 | } | |
19870 | { | |
19871 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0))); | |
19872 | } | |
19873 | { | |
19874 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1))); | |
19875 | } | |
19876 | { | |
19877 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2))); | |
19878 | } | |
19879 | { | |
19880 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3))); | |
19881 | } | |
19882 | { | |
19883 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4))); | |
19884 | } | |
19885 | { | |
19886 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5))); | |
19887 | } | |
19888 | { | |
19889 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6))); | |
19890 | } | |
19891 | { | |
19892 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7))); | |
19893 | } | |
19894 | { | |
19895 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8))); | |
19896 | } | |
19897 | { | |
19898 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9))); | |
19899 | } | |
19900 | { | |
19901 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10))); | |
19902 | } | |
19903 | { | |
19904 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11))); | |
19905 | } | |
19906 | { | |
19907 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12))); | |
19908 | } | |
19909 | { | |
19910 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13))); | |
19911 | } | |
19912 | { | |
19913 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14))); | |
19914 | } | |
19915 | { | |
19916 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15))); | |
19917 | } | |
19918 | { | |
19919 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0))); | |
19920 | } | |
19921 | { | |
19922 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1))); | |
19923 | } | |
19924 | { | |
19925 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2))); | |
19926 | } | |
19927 | { | |
19928 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3))); | |
19929 | } | |
19930 | { | |
19931 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4))); | |
19932 | } | |
19933 | { | |
19934 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5))); | |
19935 | } | |
19936 | { | |
19937 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6))); | |
19938 | } | |
19939 | { | |
19940 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7))); | |
19941 | } | |
19942 | { | |
19943 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8))); | |
19944 | } | |
19945 | { | |
19946 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9))); | |
19947 | } | |
19948 | { | |
19949 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10))); | |
19950 | } | |
19951 | { | |
19952 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11))); | |
19953 | } | |
19954 | { | |
19955 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12))); | |
19956 | } | |
19957 | { | |
19958 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13))); | |
19959 | } | |
19960 | { | |
19961 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14))); | |
19962 | } | |
19963 | { | |
19964 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0))); | |
19965 | } | |
19966 | { | |
19967 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1))); | |
19968 | } | |
19969 | { | |
19970 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2))); | |
19971 | } | |
19972 | { | |
19973 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3))); | |
19974 | } | |
19975 | { | |
19976 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4))); | |
19977 | } | |
19978 | { | |
19979 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5))); | |
19980 | } | |
19981 | { | |
19982 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6))); | |
19983 | } | |
19984 | { | |
19985 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7))); | |
19986 | } | |
19987 | { | |
19988 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8))); | |
19989 | } | |
19990 | { | |
19991 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9))); | |
19992 | } | |
19993 | { | |
19994 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10))); | |
19995 | } | |
19996 | { | |
19997 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11))); | |
19998 | } | |
19999 | { | |
20000 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12))); | |
20001 | } | |
20002 | { | |
20003 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13))); | |
20004 | } | |
20005 | { | |
20006 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14))); | |
20007 | } | |
20008 | { | |
20009 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0))); | |
20010 | } | |
20011 | { | |
20012 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1))); | |
20013 | } | |
20014 | { | |
20015 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2))); | |
20016 | } | |
20017 | { | |
20018 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3))); | |
20019 | } | |
20020 | { | |
20021 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4))); | |
20022 | } | |
20023 | { | |
20024 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5))); | |
20025 | } | |
20026 | { | |
20027 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6))); | |
20028 | } | |
20029 | { | |
20030 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7))); | |
20031 | } | |
20032 | { | |
20033 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8))); | |
20034 | } | |
20035 | { | |
20036 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9))); | |
20037 | } | |
20038 | { | |
20039 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10))); | |
20040 | } | |
20041 | { | |
20042 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11))); | |
20043 | } | |
20044 | { | |
20045 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12))); | |
20046 | } | |
20047 | { | |
20048 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13))); | |
20049 | } | |
20050 | { | |
20051 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14))); | |
20052 | } | |
e8d51145 RD |
20053 | { |
20054 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15))); | |
20055 | } | |
093d3ff1 RD |
20056 | { |
20057 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0))); | |
20058 | } | |
20059 | { | |
20060 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1))); | |
20061 | } | |
20062 | { | |
20063 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2))); | |
20064 | } | |
20065 | { | |
20066 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3))); | |
20067 | } | |
20068 | { | |
20069 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4))); | |
20070 | } | |
20071 | { | |
20072 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5))); | |
20073 | } | |
20074 | { | |
20075 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6))); | |
20076 | } | |
20077 | { | |
20078 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7))); | |
20079 | } | |
20080 | { | |
20081 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8))); | |
20082 | } | |
20083 | { | |
20084 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9))); | |
20085 | } | |
20086 | { | |
20087 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10))); | |
20088 | } | |
20089 | { | |
20090 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11))); | |
20091 | } | |
20092 | { | |
20093 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12))); | |
20094 | } | |
20095 | { | |
20096 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13))); | |
20097 | } | |
20098 | { | |
20099 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14))); | |
20100 | } | |
20101 | { | |
20102 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15))); | |
20103 | } | |
20104 | { | |
20105 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16))); | |
20106 | } | |
20107 | { | |
20108 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0))); | |
20109 | } | |
20110 | { | |
20111 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1))); | |
20112 | } | |
20113 | { | |
20114 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2))); | |
20115 | } | |
20116 | { | |
20117 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3))); | |
20118 | } | |
20119 | { | |
20120 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4))); | |
20121 | } | |
20122 | { | |
20123 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5))); | |
20124 | } | |
20125 | { | |
20126 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6))); | |
20127 | } | |
20128 | { | |
20129 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7))); | |
20130 | } | |
20131 | { | |
20132 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8))); | |
20133 | } | |
20134 | { | |
20135 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9))); | |
20136 | } | |
20137 | { | |
20138 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10))); | |
20139 | } | |
20140 | { | |
20141 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0))); | |
20142 | } | |
20143 | { | |
20144 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1))); | |
20145 | } | |
20146 | { | |
20147 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2))); | |
20148 | } | |
20149 | { | |
20150 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3))); | |
20151 | } | |
20152 | { | |
20153 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4))); | |
20154 | } | |
20155 | { | |
20156 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5))); | |
20157 | } | |
20158 | { | |
20159 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6))); | |
20160 | } | |
20161 | { | |
20162 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7))); | |
20163 | } | |
20164 | { | |
20165 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8))); | |
20166 | } | |
20167 | { | |
20168 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9))); | |
20169 | } | |
20170 | { | |
20171 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10))); | |
20172 | } | |
20173 | { | |
20174 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11))); | |
20175 | } | |
20176 | { | |
20177 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0))); | |
20178 | } | |
20179 | { | |
20180 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1))); | |
20181 | } | |
20182 | { | |
20183 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2))); | |
20184 | } | |
20185 | { | |
20186 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3))); | |
20187 | } | |
20188 | { | |
20189 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4))); | |
20190 | } | |
20191 | { | |
20192 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5))); | |
20193 | } | |
20194 | { | |
20195 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6))); | |
20196 | } | |
20197 | { | |
20198 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7))); | |
20199 | } | |
20200 | { | |
20201 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8))); | |
20202 | } | |
20203 | { | |
20204 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9))); | |
20205 | } | |
20206 | { | |
20207 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10))); | |
20208 | } | |
20209 | { | |
20210 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11))); | |
20211 | } | |
20212 | { | |
20213 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12))); | |
20214 | } | |
20215 | { | |
20216 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13))); | |
20217 | } | |
20218 | { | |
20219 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14))); | |
20220 | } | |
20221 | { | |
20222 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15))); | |
20223 | } | |
20224 | { | |
20225 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0))); | |
20226 | } | |
20227 | { | |
20228 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1))); | |
20229 | } | |
20230 | { | |
20231 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2))); | |
20232 | } | |
20233 | { | |
20234 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3))); | |
20235 | } | |
20236 | { | |
20237 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4))); | |
20238 | } | |
20239 | { | |
20240 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5))); | |
20241 | } | |
20242 | { | |
20243 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6))); | |
20244 | } | |
20245 | { | |
20246 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7))); | |
20247 | } | |
20248 | { | |
20249 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8))); | |
20250 | } | |
20251 | { | |
20252 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9))); | |
20253 | } | |
20254 | { | |
20255 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10))); | |
20256 | } | |
20257 | { | |
20258 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11))); | |
20259 | } | |
20260 | { | |
20261 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12))); | |
20262 | } | |
20263 | { | |
20264 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13))); | |
20265 | } | |
20266 | { | |
20267 | PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14))); | |
20268 | } | |
20269 | { | |
20270 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0))); | |
20271 | } | |
20272 | { | |
20273 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1))); | |
20274 | } | |
20275 | { | |
20276 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2))); | |
20277 | } | |
20278 | { | |
20279 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3))); | |
20280 | } | |
20281 | { | |
20282 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4))); | |
20283 | } | |
20284 | { | |
20285 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5))); | |
20286 | } | |
20287 | { | |
20288 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6))); | |
20289 | } | |
20290 | { | |
20291 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7))); | |
20292 | } | |
20293 | { | |
20294 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8))); | |
20295 | } | |
20296 | { | |
20297 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9))); | |
20298 | } | |
20299 | { | |
20300 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10))); | |
20301 | } | |
20302 | { | |
20303 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11))); | |
20304 | } | |
20305 | { | |
20306 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12))); | |
20307 | } | |
20308 | { | |
20309 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13))); | |
20310 | } | |
20311 | { | |
20312 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14))); | |
20313 | } | |
20314 | { | |
20315 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15))); | |
20316 | } | |
20317 | { | |
20318 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16))); | |
20319 | } | |
20320 | { | |
20321 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17))); | |
20322 | } | |
20323 | { | |
20324 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0))); | |
20325 | } | |
20326 | { | |
20327 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1))); | |
20328 | } | |
20329 | { | |
20330 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2))); | |
20331 | } | |
20332 | { | |
20333 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3))); | |
20334 | } | |
20335 | { | |
20336 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4))); | |
20337 | } | |
20338 | { | |
20339 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5))); | |
20340 | } | |
20341 | { | |
20342 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6))); | |
20343 | } | |
20344 | { | |
20345 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7))); | |
20346 | } | |
20347 | { | |
20348 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8))); | |
20349 | } | |
20350 | { | |
20351 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9))); | |
20352 | } | |
20353 | { | |
20354 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10))); | |
20355 | } | |
20356 | { | |
20357 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11))); | |
20358 | } | |
20359 | { | |
20360 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12))); | |
20361 | } | |
20362 | { | |
20363 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13))); | |
20364 | } | |
20365 | { | |
20366 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14))); | |
20367 | } | |
20368 | { | |
20369 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0))); | |
20370 | } | |
20371 | { | |
20372 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1))); | |
20373 | } | |
20374 | { | |
20375 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2))); | |
20376 | } | |
20377 | { | |
20378 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3))); | |
20379 | } | |
20380 | { | |
20381 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4))); | |
20382 | } | |
20383 | { | |
20384 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5))); | |
20385 | } | |
20386 | { | |
20387 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6))); | |
20388 | } | |
20389 | { | |
20390 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0))); | |
20391 | } | |
20392 | { | |
20393 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1))); | |
20394 | } | |
20395 | { | |
20396 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2))); | |
20397 | } | |
20398 | { | |
20399 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3))); | |
20400 | } | |
20401 | { | |
20402 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4))); | |
20403 | } | |
20404 | { | |
20405 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5))); | |
20406 | } | |
20407 | { | |
20408 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6))); | |
20409 | } | |
20410 | { | |
20411 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7))); | |
20412 | } | |
20413 | { | |
20414 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8))); | |
20415 | } | |
20416 | { | |
20417 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0))); | |
20418 | } | |
20419 | { | |
20420 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1))); | |
20421 | } | |
20422 | { | |
20423 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2))); | |
20424 | } | |
20425 | { | |
20426 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3))); | |
20427 | } | |
20428 | { | |
20429 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4))); | |
20430 | } | |
20431 | { | |
20432 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5))); | |
20433 | } | |
20434 | { | |
20435 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0))); | |
20436 | } | |
20437 | { | |
20438 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1))); | |
20439 | } | |
20440 | { | |
20441 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2))); | |
20442 | } | |
20443 | { | |
20444 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3))); | |
20445 | } | |
20446 | { | |
20447 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4))); | |
20448 | } | |
20449 | { | |
20450 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5))); | |
20451 | } | |
20452 | { | |
20453 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6))); | |
20454 | } | |
20455 | { | |
20456 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0))); | |
20457 | } | |
20458 | { | |
20459 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1))); | |
20460 | } | |
20461 | { | |
20462 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2))); | |
20463 | } | |
20464 | { | |
20465 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3))); | |
20466 | } | |
20467 | { | |
20468 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4))); | |
20469 | } | |
20470 | { | |
20471 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5))); | |
20472 | } | |
20473 | { | |
20474 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6))); | |
20475 | } | |
20476 | { | |
20477 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7))); | |
20478 | } | |
20479 | { | |
20480 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8))); | |
20481 | } | |
20482 | { | |
20483 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9))); | |
20484 | } | |
20485 | { | |
20486 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10))); | |
20487 | } | |
20488 | { | |
20489 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11))); | |
20490 | } | |
20491 | { | |
20492 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12))); | |
20493 | } | |
20494 | { | |
20495 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13))); | |
20496 | } | |
20497 | { | |
20498 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31))); | |
20499 | } | |
20500 | { | |
20501 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0))); | |
20502 | } | |
20503 | { | |
20504 | PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1))); | |
20505 | } | |
20506 | { | |
20507 | PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2))); | |
20508 | } | |
20509 | { | |
20510 | PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3))); | |
20511 | } | |
20512 | { | |
20513 | PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4))); | |
20514 | } | |
20515 | { | |
20516 | PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5))); | |
20517 | } | |
20518 | { | |
20519 | PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6))); | |
20520 | } | |
20521 | { | |
20522 | PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7))); | |
20523 | } | |
20524 | { | |
20525 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8))); | |
20526 | } | |
20527 | { | |
20528 | PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9))); | |
20529 | } | |
20530 | { | |
20531 | PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10))); | |
20532 | } | |
20533 | { | |
20534 | PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11))); | |
20535 | } | |
20536 | { | |
20537 | PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12))); | |
20538 | } | |
20539 | { | |
20540 | PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13))); | |
20541 | } | |
20542 | { | |
20543 | PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14))); | |
20544 | } | |
20545 | { | |
20546 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15))); | |
20547 | } | |
20548 | { | |
20549 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16))); | |
20550 | } | |
20551 | { | |
20552 | PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0))); | |
20553 | } | |
20554 | { | |
20555 | PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1))); | |
20556 | } | |
20557 | { | |
20558 | PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2))); | |
20559 | } | |
20560 | { | |
20561 | PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20562 | } | |
20563 | { | |
20564 | PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4))); | |
20565 | } | |
20566 | { | |
20567 | PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5))); | |
20568 | } | |
20569 | { | |
20570 | PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6))); | |
20571 | } | |
20572 | { | |
20573 | PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7))); | |
20574 | } | |
20575 | { | |
20576 | PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8))); | |
20577 | } | |
20578 | { | |
20579 | PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9))); | |
20580 | } | |
20581 | { | |
20582 | PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10))); | |
20583 | } | |
20584 | { | |
20585 | PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11))); | |
20586 | } | |
20587 | { | |
20588 | PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12))); | |
20589 | } | |
20590 | { | |
20591 | PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19))); | |
20592 | } | |
20593 | { | |
20594 | PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0))); | |
20595 | } | |
20596 | { | |
20597 | PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1))); | |
20598 | } | |
20599 | { | |
20600 | PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2))); | |
20601 | } | |
20602 | { | |
20603 | PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3))); | |
20604 | } | |
20605 | { | |
20606 | PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4))); | |
20607 | } | |
20608 | { | |
20609 | PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5))); | |
20610 | } | |
20611 | { | |
20612 | PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6))); | |
20613 | } | |
20614 | { | |
20615 | PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7))); | |
20616 | } | |
20617 | { | |
20618 | PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8))); | |
20619 | } | |
20620 | { | |
20621 | PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9))); | |
20622 | } | |
20623 | { | |
20624 | PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31))); | |
20625 | } | |
20626 | { | |
20627 | PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0))); | |
20628 | } | |
20629 | { | |
20630 | PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1))); | |
20631 | } | |
20632 | { | |
20633 | PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20634 | } | |
20635 | { | |
20636 | PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3))); | |
20637 | } | |
20638 | { | |
20639 | PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4))); | |
20640 | } | |
20641 | { | |
20642 | PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5))); | |
20643 | } | |
20644 | { | |
20645 | PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6))); | |
20646 | } | |
20647 | { | |
20648 | PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7))); | |
20649 | } | |
20650 | { | |
20651 | PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8))); | |
20652 | } | |
20653 | { | |
20654 | PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9))); | |
20655 | } | |
20656 | { | |
20657 | PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0))); | |
20658 | } | |
20659 | { | |
20660 | PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1))); | |
20661 | } | |
20662 | { | |
20663 | PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2))); | |
20664 | } | |
20665 | { | |
20666 | PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20667 | } | |
20668 | { | |
20669 | PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4))); | |
20670 | } | |
20671 | { | |
20672 | PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5))); | |
20673 | } | |
20674 | { | |
20675 | PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6))); | |
20676 | } | |
20677 | { | |
20678 | PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7))); | |
20679 | } | |
20680 | { | |
20681 | PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8))); | |
20682 | } | |
20683 | { | |
20684 | PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9))); | |
20685 | } | |
20686 | { | |
20687 | PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10))); | |
20688 | } | |
20689 | { | |
20690 | PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11))); | |
20691 | } | |
20692 | { | |
20693 | PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12))); | |
20694 | } | |
20695 | { | |
20696 | PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13))); | |
20697 | } | |
20698 | { | |
20699 | PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14))); | |
20700 | } | |
20701 | { | |
20702 | PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19))); | |
20703 | } | |
20704 | { | |
20705 | PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0))); | |
20706 | } | |
20707 | { | |
20708 | PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1))); | |
20709 | } | |
20710 | { | |
20711 | PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20712 | } | |
20713 | { | |
20714 | PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3))); | |
20715 | } | |
20716 | { | |
20717 | PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4))); | |
20718 | } | |
20719 | { | |
20720 | PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5))); | |
20721 | } | |
20722 | { | |
20723 | PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6))); | |
20724 | } | |
20725 | { | |
20726 | PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7))); | |
20727 | } | |
20728 | { | |
20729 | PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8))); | |
20730 | } | |
20731 | { | |
20732 | PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9))); | |
20733 | } | |
20734 | { | |
20735 | PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10))); | |
20736 | } | |
20737 | { | |
20738 | PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11))); | |
20739 | } | |
e8d51145 RD |
20740 | { |
20741 | PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12))); | |
20742 | } | |
093d3ff1 RD |
20743 | { |
20744 | PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0))); | |
20745 | } | |
20746 | { | |
20747 | PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1))); | |
20748 | } | |
20749 | { | |
20750 | PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20751 | } | |
20752 | { | |
20753 | PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3))); | |
20754 | } | |
20755 | { | |
20756 | PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4))); | |
20757 | } | |
20758 | { | |
e8d51145 | 20759 | PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5))); |
093d3ff1 RD |
20760 | } |
20761 | { | |
e8d51145 | 20762 | PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6))); |
093d3ff1 RD |
20763 | } |
20764 | { | |
20765 | PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7))); | |
20766 | } | |
20767 | { | |
e8d51145 RD |
20768 | PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8))); |
20769 | } | |
20770 | { | |
20771 | PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9))); | |
20772 | } | |
20773 | { | |
20774 | PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10))); | |
20775 | } | |
20776 | { | |
20777 | PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11))); | |
20778 | } | |
20779 | { | |
20780 | PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12))); | |
093d3ff1 RD |
20781 | } |
20782 | { | |
20783 | PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0))); | |
20784 | } | |
20785 | { | |
20786 | PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1))); | |
20787 | } | |
20788 | { | |
20789 | PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2))); | |
20790 | } | |
20791 | { | |
20792 | PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3))); | |
20793 | } | |
20794 | { | |
20795 | PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4))); | |
20796 | } | |
20797 | { | |
20798 | PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5))); | |
20799 | } | |
20800 | { | |
20801 | PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6))); | |
20802 | } | |
20803 | { | |
20804 | PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7))); | |
20805 | } | |
20806 | { | |
20807 | PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8))); | |
20808 | } | |
20809 | { | |
20810 | PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9))); | |
20811 | } | |
20812 | { | |
20813 | PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10))); | |
20814 | } | |
20815 | { | |
20816 | PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11))); | |
20817 | } | |
20818 | { | |
20819 | PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12))); | |
20820 | } | |
20821 | { | |
20822 | PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13))); | |
20823 | } | |
e8d51145 RD |
20824 | { |
20825 | PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0))); | |
20826 | } | |
20827 | { | |
20828 | PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1))); | |
20829 | } | |
20830 | { | |
20831 | PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2))); | |
20832 | } | |
20833 | { | |
20834 | PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3))); | |
20835 | } | |
20836 | { | |
20837 | PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4))); | |
20838 | } | |
20839 | { | |
20840 | PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5))); | |
20841 | } | |
20842 | { | |
20843 | PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6))); | |
20844 | } | |
20845 | { | |
20846 | PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7))); | |
20847 | } | |
20848 | { | |
20849 | PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8))); | |
20850 | } | |
20851 | { | |
20852 | PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9))); | |
20853 | } | |
20854 | { | |
20855 | PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10))); | |
20856 | } | |
20857 | { | |
20858 | PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0))); | |
20859 | } | |
20860 | { | |
20861 | PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1))); | |
20862 | } | |
20863 | { | |
20864 | PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2))); | |
20865 | } | |
20866 | { | |
20867 | PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3))); | |
20868 | } | |
20869 | { | |
20870 | PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4))); | |
20871 | } | |
20872 | { | |
20873 | PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5))); | |
20874 | } | |
20875 | { | |
20876 | PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6))); | |
20877 | } | |
20878 | { | |
20879 | PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7))); | |
20880 | } | |
20881 | { | |
20882 | PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8))); | |
20883 | } | |
20884 | { | |
20885 | PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9))); | |
20886 | } | |
20887 | { | |
20888 | PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10))); | |
20889 | } | |
20890 | { | |
20891 | PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11))); | |
20892 | } | |
20893 | { | |
20894 | PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12))); | |
20895 | } | |
20896 | { | |
20897 | PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13))); | |
20898 | } | |
20899 | { | |
20900 | PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14))); | |
20901 | } | |
093d3ff1 RD |
20902 | { |
20903 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011))); | |
20904 | } | |
20905 | { | |
20906 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013))); | |
20907 | } | |
20908 | { | |
20909 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176))); | |
20910 | } | |
20911 | { | |
20912 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177))); | |
20913 | } | |
20914 | { | |
20915 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178))); | |
20916 | } | |
20917 | { | |
20918 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179))); | |
20919 | } | |
20920 | { | |
20921 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180))); | |
20922 | } | |
20923 | { | |
20924 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300))); | |
20925 | } | |
20926 | { | |
20927 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301))); | |
20928 | } | |
20929 | { | |
20930 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302))); | |
20931 | } | |
20932 | { | |
20933 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303))); | |
20934 | } | |
20935 | { | |
20936 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304))); | |
20937 | } | |
20938 | { | |
20939 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305))); | |
20940 | } | |
20941 | { | |
20942 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306))); | |
20943 | } | |
20944 | { | |
20945 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307))); | |
20946 | } | |
20947 | { | |
20948 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308))); | |
20949 | } | |
20950 | { | |
20951 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309))); | |
20952 | } | |
20953 | { | |
20954 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310))); | |
20955 | } | |
20956 | { | |
20957 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311))); | |
20958 | } | |
20959 | { | |
20960 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312))); | |
20961 | } | |
20962 | { | |
20963 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313))); | |
20964 | } | |
20965 | { | |
20966 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314))); | |
20967 | } | |
20968 | { | |
20969 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315))); | |
20970 | } | |
20971 | { | |
20972 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316))); | |
20973 | } | |
20974 | { | |
20975 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317))); | |
20976 | } | |
20977 | { | |
20978 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318))); | |
20979 | } | |
20980 | { | |
20981 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319))); | |
20982 | } | |
20983 | { | |
20984 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320))); | |
20985 | } | |
20986 | { | |
20987 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321))); | |
20988 | } | |
20989 | { | |
20990 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322))); | |
20991 | } | |
20992 | { | |
20993 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323))); | |
20994 | } | |
20995 | { | |
20996 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324))); | |
20997 | } | |
20998 | { | |
20999 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325))); | |
21000 | } | |
21001 | { | |
21002 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326))); | |
21003 | } | |
21004 | { | |
21005 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327))); | |
21006 | } | |
21007 | { | |
21008 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328))); | |
21009 | } | |
21010 | { | |
21011 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329))); | |
21012 | } | |
21013 | { | |
21014 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330))); | |
21015 | } | |
21016 | { | |
21017 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331))); | |
21018 | } | |
21019 | { | |
21020 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332))); | |
21021 | } | |
21022 | { | |
21023 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333))); | |
21024 | } | |
21025 | { | |
21026 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334))); | |
21027 | } | |
21028 | { | |
21029 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335))); | |
21030 | } | |
21031 | { | |
21032 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336))); | |
21033 | } | |
21034 | { | |
21035 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337))); | |
21036 | } | |
21037 | { | |
21038 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338))); | |
21039 | } | |
21040 | { | |
21041 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339))); | |
21042 | } | |
21043 | { | |
21044 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404))); | |
21045 | } | |
21046 | { | |
21047 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340))); | |
21048 | } | |
21049 | { | |
21050 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341))); | |
21051 | } | |
21052 | { | |
21053 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342))); | |
21054 | } | |
21055 | { | |
21056 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343))); | |
21057 | } | |
21058 | { | |
21059 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344))); | |
21060 | } | |
21061 | { | |
21062 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345))); | |
21063 | } | |
21064 | { | |
21065 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346))); | |
21066 | } | |
21067 | { | |
21068 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347))); | |
21069 | } | |
21070 | { | |
21071 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348))); | |
21072 | } | |
21073 | { | |
21074 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349))); | |
21075 | } | |
21076 | { | |
21077 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450))); | |
21078 | } | |
21079 | { | |
21080 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451))); | |
21081 | } | |
21082 | { | |
21083 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452))); | |
21084 | } | |
21085 | { | |
21086 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453))); | |
21087 | } | |
21088 | { | |
21089 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454))); | |
21090 | } | |
21091 | { | |
21092 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455))); | |
21093 | } | |
21094 | { | |
21095 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390))); | |
21096 | } | |
21097 | { | |
21098 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391))); | |
21099 | } | |
21100 | { | |
21101 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392))); | |
21102 | } | |
21103 | { | |
21104 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393))); | |
21105 | } | |
21106 | { | |
21107 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395))); | |
21108 | } | |
21109 | { | |
21110 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396))); | |
21111 | } | |
21112 | { | |
21113 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413))); | |
21114 | } | |
21115 | { | |
21116 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414))); | |
21117 | } | |
21118 | { | |
21119 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415))); | |
21120 | } | |
21121 | { | |
21122 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416))); | |
21123 | } | |
21124 | { | |
21125 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426))); | |
21126 | } | |
21127 | { | |
21128 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427))); | |
21129 | } | |
21130 | { | |
21131 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428))); | |
21132 | } | |
21133 | { | |
21134 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429))); | |
21135 | } | |
21136 | { | |
21137 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430))); | |
21138 | } | |
21139 | { | |
21140 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431))); | |
21141 | } | |
21142 | { | |
21143 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432))); | |
21144 | } | |
21145 | { | |
21146 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433))); | |
21147 | } | |
21148 | { | |
21149 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434))); | |
21150 | } | |
21151 | { | |
21152 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435))); | |
21153 | } | |
21154 | { | |
21155 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436))); | |
21156 | } | |
21157 | { | |
21158 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437))); | |
21159 | } | |
21160 | { | |
21161 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438))); | |
21162 | } | |
21163 | { | |
21164 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439))); | |
21165 | } | |
21166 | { | |
21167 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440))); | |
21168 | } | |
21169 | { | |
21170 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441))); | |
21171 | } | |
21172 | { | |
21173 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442))); | |
21174 | } | |
21175 | { | |
21176 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE))); | |
21177 | } | |
21178 | { | |
21179 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED))); | |
21180 | } | |
21181 | { | |
21182 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED))); | |
21183 | } | |
21184 | { | |
21185 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED))); | |
21186 | } | |
21187 | { | |
21188 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT))); | |
21189 | } | |
21190 | { | |
21191 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT))); | |
21192 | } | |
21193 | { | |
21194 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY))); | |
21195 | } | |
21196 | { | |
21197 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK))); | |
21198 | } | |
21199 | { | |
21200 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI))); | |
21201 | } | |
21202 | { | |
21203 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED))); | |
21204 | } | |
21205 | { | |
21206 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD))); | |
21207 | } | |
21208 | { | |
21209 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK))); | |
21210 | } | |
21211 | { | |
21212 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN))); | |
21213 | } | |
21214 | { | |
21215 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED))); | |
21216 | } | |
21217 | { | |
21218 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION))); | |
21219 | } | |
21220 | { | |
21221 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED))); | |
21222 | } | |
21223 | { | |
21224 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART))); | |
21225 | } | |
21226 | { | |
21227 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND))); | |
21228 | } | |
21229 | { | |
21230 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG))); | |
21231 | } | |
21232 | { | |
21233 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER))); | |
21234 | } | |
21235 | { | |
21236 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP))); | |
21237 | } | |
21238 | { | |
21239 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM))); | |
21240 | } | |
21241 | { | |
21242 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK))); | |
21243 | } | |
21244 | { | |
21245 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK))); | |
21246 | } | |
21247 | { | |
21248 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK))); | |
21249 | } | |
cfe5e918 RD |
21250 | |
21251 | ||
21252 | } | |
21253 |