]>
Commit | Line | Data |
---|---|---|
1 | /* ---------------------------------------------------------------------------- | |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.24 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | ||
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); | |
26 | }; | |
27 | #endif | |
28 | ||
29 | ||
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 | |
37 | ||
38 | ||
39 | #include <Python.h> | |
40 | ||
41 | /*********************************************************************** | |
42 | * swigrun.swg | |
43 | * | |
44 | * This file contains generic CAPI SWIG runtime support for pointer | |
45 | * type checking. | |
46 | * | |
47 | ************************************************************************/ | |
48 | ||
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" | |
52 | ||
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) | |
58 | #else | |
59 | #define SWIG_TYPE_TABLE_NAME | |
60 | #endif | |
61 | ||
62 | #include <string.h> | |
63 | ||
64 | #ifndef SWIGINLINE | |
65 | #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
66 | # define SWIGINLINE inline | |
67 | #else | |
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 | |
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 | ||
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 | } | |
375 | ||
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 | } | |
417 | ||
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 | } | |
430 | ||
431 | #ifdef __cplusplus | |
432 | } | |
433 | #endif | |
434 | ||
435 | /*********************************************************************** | |
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. | |
441 | * | |
442 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
443 | * | |
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. | |
448 | ************************************************************************/ | |
449 | ||
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 | ||
461 | #ifdef __cplusplus | |
462 | extern "C" { | |
463 | #endif | |
464 | ||
465 | ||
466 | /*************************************************************************/ | |
467 | ||
468 | ||
469 | /* The static type info list */ | |
470 | ||
471 | static swig_type_info *swig_type_list = 0; | |
472 | static swig_type_info **swig_type_list_handle = &swig_type_list; | |
473 | ||
474 | ||
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 | } | |
480 | ||
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 | } | |
486 | ||
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 | } | |
492 | ||
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 | } | |
502 | ||
503 | #ifdef __cplusplus | |
504 | } | |
505 | #endif | |
506 | ||
507 | /* ----------------------------------------------------------------------------- | |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
510 | ||
511 | #ifdef __cplusplus | |
512 | extern "C" { | |
513 | #endif | |
514 | ||
515 | /* ----------------------------------------------------------------------------- | |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
518 | ||
519 | #ifndef SWIGINTERN | |
520 | #define SWIGINTERN static | |
521 | #endif | |
522 | ||
523 | #ifndef SWIGINTERNSHORT | |
524 | #ifdef __cplusplus | |
525 | #define SWIGINTERNSHORT static inline | |
526 | #else /* C case */ | |
527 | #define SWIGINTERNSHORT static | |
528 | #endif /* __cplusplus */ | |
529 | #endif | |
530 | ||
531 | ||
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 | * ----------------------------------------------------------------------------- */ | |
551 | ||
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; | |
568 | ||
569 | ||
570 | /* ----------------------------------------------------------------------------- | |
571 | * Alloc. memory flags | |
572 | * ----------------------------------------------------------------------------- */ | |
573 | #define SWIG_OLDOBJ 1 | |
574 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
575 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
576 | ||
577 | #ifdef __cplusplus | |
578 | } | |
579 | #endif | |
580 | ||
581 | ||
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 | ************************************************************************/ | |
591 | ||
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 | ||
597 | ||
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) | |
601 | ||
602 | ||
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 | |
614 | ||
615 | /* Flags for pointer conversion */ | |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
618 | ||
619 | ||
620 | #ifdef __cplusplus | |
621 | extern "C" { | |
622 | #endif | |
623 | ||
624 | /* ----------------------------------------------------------------------------- | |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
627 | ||
628 | #ifndef SWIG_BUFFER_SIZE | |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
631 | ||
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 | * ----------------------------------------------------------------------------- */ | |
637 | ||
638 | typedef struct { | |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
643 | ||
644 | /* Declarations for objects of type PySwigObject */ | |
645 | ||
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; | |
653 | } else { | |
654 | return 1; | |
655 | } | |
656 | } | |
657 | ||
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
660 | { | |
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; | |
664 | } | |
665 | ||
666 | SWIGRUNTIME PyObject * | |
667 | PySwigObject_str(PySwigObject *v) | |
668 | { | |
669 | char result[SWIG_BUFFER_SIZE]; | |
670 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
671 | PyString_FromString(result) : 0; | |
672 | } | |
673 | ||
674 | SWIGRUNTIME PyObject * | |
675 | PySwigObject_long(PySwigObject *v) | |
676 | { | |
677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); | |
678 | } | |
679 | ||
680 | SWIGRUNTIME PyObject * | |
681 | PySwigObject_oct(PySwigObject *v) | |
682 | { | |
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); | |
690 | } | |
691 | ||
692 | SWIGRUNTIME PyObject * | |
693 | PySwigObject_hex(PySwigObject *v) | |
694 | { | |
695 | char buf[100]; | |
696 | PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); | |
697 | return PyString_FromString(buf); | |
698 | } | |
699 | ||
700 | SWIGRUNTIME int | |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
702 | { | |
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; | |
710 | } | |
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; | |
800 | } | |
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); | |
852 | } | |
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 | } | |
867 | } | |
868 | ||
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 | } | |
879 | ||
880 | SWIGRUNTIME int | |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
882 | { | |
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); | |
891 | } | |
892 | } | |
893 | ||
894 | SWIGRUNTIME void | |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
896 | { | |
897 | free(self->pack); | |
898 | PyObject_DEL(self); | |
899 | } | |
900 | ||
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 | }; | |
949 | ||
950 | PySwigPacked_Type = tmp; | |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
955 | ||
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; | |
972 | } | |
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 | } | |
995 | ||
996 | #else | |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
1000 | ||
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) | |
1005 | ||
1006 | #endif | |
1007 | ||
1008 | #endif | |
1009 | ||
1010 | /* ----------------------------------------------------------------------------- | |
1011 | * errors manipulation | |
1012 | * ----------------------------------------------------------------------------- */ | |
1013 | ||
1014 | SWIGRUNTIME void | |
1015 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1016 | { | |
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); | |
1039 | } | |
1040 | if (str) | |
1041 | Py_DECREF(str); | |
1042 | return; | |
1043 | } | |
1044 | } | |
1045 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1046 | } else { | |
1047 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1048 | } | |
1049 | } | |
1050 | ||
1051 | SWIGRUNTIMEINLINE void | |
1052 | SWIG_Python_NullRef(const char *type) | |
1053 | { | |
1054 | if (type) { | |
1055 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1056 | } else { | |
1057 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1058 | } | |
1059 | } | |
1060 | ||
1061 | SWIGRUNTIME int | |
1062 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1063 | { | |
1064 | if (PyErr_Occurred()) { | |
1065 | PyObject *type = 0; | |
1066 | PyObject *value = 0; | |
1067 | PyObject *traceback = 0; | |
1068 | PyErr_Fetch(&type, &value, &traceback); | |
1069 | if (value) { | |
1070 | PyObject *old_str = PyObject_Str(value); | |
1071 | Py_XINCREF(type); | |
1072 | PyErr_Clear(); | |
1073 | if (infront) { | |
1074 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1075 | } else { | |
1076 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1077 | } | |
1078 | Py_DECREF(old_str); | |
1079 | } | |
1080 | return 1; | |
1081 | } else { | |
1082 | return 0; | |
1083 | } | |
1084 | } | |
1085 | ||
1086 | SWIGRUNTIME int | |
1087 | SWIG_Python_ArgFail(int argnum) | |
1088 | { | |
1089 | if (PyErr_Occurred()) { | |
1090 | /* add information about failing argument */ | |
1091 | char mesg[256]; | |
1092 | sprintf(mesg, "argument number %d:", argnum); | |
1093 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1094 | } else { | |
1095 | return 0; | |
1096 | } | |
1097 | } | |
1098 | ||
1099 | ||
1100 | /* ----------------------------------------------------------------------------- | |
1101 | * pointers/data manipulation | |
1102 | * ----------------------------------------------------------------------------- */ | |
1103 | ||
1104 | /* Convert a pointer value */ | |
1105 | SWIGRUNTIME int | |
1106 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1107 | swig_type_info *tc; | |
1108 | const char *c = 0; | |
1109 | static PyObject *SWIG_this = 0; | |
1110 | int newref = 0; | |
1111 | PyObject *pyobj = 0; | |
1112 | void *vptr; | |
1113 | ||
1114 | if (!obj) return 0; | |
1115 | if (obj == Py_None) { | |
1116 | *ptr = 0; | |
1117 | return 0; | |
1118 | } | |
1119 | ||
1120 | #ifdef SWIG_COBJECT_TYPES | |
1121 | if (!(PySwigObject_Check(obj))) { | |
1122 | if (!SWIG_this) | |
1123 | SWIG_this = PyString_FromString("this"); | |
1124 | pyobj = obj; | |
1125 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1126 | newref = 1; | |
1127 | if (!obj) goto type_error; | |
1128 | if (!PySwigObject_Check(obj)) { | |
1129 | Py_DECREF(obj); | |
1130 | goto type_error; | |
1131 | } | |
1132 | } | |
1133 | vptr = PySwigObject_AsVoidPtr(obj); | |
1134 | c = (const char *) PySwigObject_GetDesc(obj); | |
1135 | if (newref) { Py_DECREF(obj); } | |
1136 | goto type_check; | |
1137 | #else | |
1138 | if (!(PyString_Check(obj))) { | |
1139 | if (!SWIG_this) | |
1140 | SWIG_this = PyString_FromString("this"); | |
1141 | pyobj = obj; | |
1142 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1143 | newref = 1; | |
1144 | if (!obj) goto type_error; | |
1145 | if (!PyString_Check(obj)) { | |
1146 | Py_DECREF(obj); | |
1147 | goto type_error; | |
1148 | } | |
1149 | } | |
1150 | c = PyString_AS_STRING(obj); | |
1151 | /* Pointer values must start with leading underscore */ | |
1152 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1153 | if (newref) { Py_DECREF(obj); } | |
1154 | if (!c) goto type_error; | |
1155 | #endif | |
1156 | ||
1157 | type_check: | |
1158 | ||
1159 | if (ty) { | |
1160 | tc = SWIG_TypeCheck(c,ty); | |
1161 | if (!tc) goto type_error; | |
1162 | *ptr = SWIG_TypeCast(tc,vptr); | |
1163 | } else { | |
1164 | *ptr = vptr; | |
1165 | } | |
1166 | ||
1167 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { | |
1168 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1169 | } | |
1170 | return 0; | |
1171 | ||
1172 | type_error: | |
1173 | PyErr_Clear(); | |
1174 | if (pyobj && !obj) { | |
1175 | obj = pyobj; | |
1176 | if (PyCFunction_Check(obj)) { | |
1177 | /* here we get the method pointer for callbacks */ | |
1178 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1179 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1180 | if (c) { | |
1181 | c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); | |
1182 | if (!c) goto type_error; | |
1183 | goto type_check; | |
1184 | } | |
1185 | } | |
1186 | } | |
1187 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1188 | if (ty) { | |
1189 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1190 | } else { | |
1191 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1192 | } | |
1193 | } | |
1194 | return -1; | |
1195 | } | |
1196 | ||
1197 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
1198 | SWIGRUNTIME void * | |
1199 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1200 | void *result; | |
1201 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1202 | PyErr_Clear(); | |
1203 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1204 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1205 | SWIG_Python_ArgFail(argnum); | |
1206 | } | |
1207 | } | |
1208 | return result; | |
1209 | } | |
1210 | ||
1211 | /* Convert a packed value value */ | |
1212 | SWIGRUNTIME int | |
1213 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1214 | swig_type_info *tc; | |
1215 | const char *c = 0; | |
1216 | ||
1217 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1218 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1219 | #else | |
1220 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1221 | c = PyString_AS_STRING(obj); | |
1222 | /* Pointer values must start with leading underscore */ | |
1223 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1224 | #endif | |
1225 | if (!c) goto type_error; | |
1226 | if (ty) { | |
1227 | tc = SWIG_TypeCheck(c,ty); | |
1228 | if (!tc) goto type_error; | |
1229 | } | |
1230 | return 0; | |
1231 | ||
1232 | type_error: | |
1233 | PyErr_Clear(); | |
1234 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1235 | if (ty) { | |
1236 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1237 | } else { | |
1238 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1239 | } | |
1240 | } | |
1241 | return -1; | |
1242 | } | |
1243 | ||
1244 | /* Create a new array object */ | |
1245 | SWIGRUNTIME PyObject * | |
1246 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1247 | PyObject *robj = 0; | |
1248 | if (!ptr) { | |
1249 | Py_INCREF(Py_None); | |
1250 | return Py_None; | |
1251 | } | |
1252 | #ifdef SWIG_COBJECT_TYPES | |
1253 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1254 | #else | |
1255 | { | |
1256 | char result[SWIG_BUFFER_SIZE]; | |
1257 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1258 | PyString_FromString(result) : 0; | |
1259 | } | |
1260 | #endif | |
1261 | if (!robj || (robj == Py_None)) return robj; | |
1262 | if (type->clientdata) { | |
1263 | PyObject *inst; | |
1264 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1265 | Py_DECREF(robj); | |
1266 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1267 | Py_DECREF(args); | |
1268 | if (inst) { | |
1269 | if (own) { | |
1270 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1271 | } | |
1272 | robj = inst; | |
1273 | } | |
1274 | } | |
1275 | return robj; | |
1276 | } | |
1277 | ||
1278 | SWIGRUNTIME PyObject * | |
1279 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1280 | PyObject *robj = 0; | |
1281 | if (!ptr) { | |
1282 | Py_INCREF(Py_None); | |
1283 | return Py_None; | |
1284 | } | |
1285 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1286 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1287 | #else | |
1288 | { | |
1289 | char result[SWIG_BUFFER_SIZE]; | |
1290 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1291 | PyString_FromString(result) : 0; | |
1292 | } | |
1293 | #endif | |
1294 | return robj; | |
1295 | } | |
1296 | ||
1297 | /* -----------------------------------------------------------------------------* | |
1298 | * Get type list | |
1299 | * -----------------------------------------------------------------------------*/ | |
1300 | ||
1301 | #ifdef SWIG_LINK_RUNTIME | |
1302 | void *SWIG_ReturnGlobalTypeList(void *); | |
1303 | #endif | |
1304 | ||
1305 | SWIGRUNTIME swig_type_info ** | |
1306 | SWIG_Python_GetTypeListHandle() { | |
1307 | static void *type_pointer = (void *)0; | |
1308 | /* first check if module already created */ | |
1309 | if (!type_pointer) { | |
1310 | #ifdef SWIG_LINK_RUNTIME | |
1311 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1312 | #else | |
1313 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1314 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1315 | if (PyErr_Occurred()) { | |
1316 | PyErr_Clear(); | |
1317 | type_pointer = (void *)0; | |
1318 | } | |
1319 | } | |
1320 | #endif | |
1321 | return (swig_type_info **) type_pointer; | |
1322 | } | |
1323 | ||
1324 | /* | |
1325 | Search for a swig_type_info structure | |
1326 | */ | |
1327 | SWIGRUNTIMEINLINE swig_type_info * | |
1328 | SWIG_Python_GetTypeList() { | |
1329 | swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); | |
1330 | return tlh ? *tlh : (swig_type_info*)0; | |
1331 | } | |
1332 | ||
1333 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList | |
1334 | ||
1335 | #ifdef __cplusplus | |
1336 | } | |
1337 | #endif | |
1338 | ||
1339 | ||
1340 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
1341 | ||
1342 | #define SWIGTYPE_p_wxRect swig_types[0] | |
1343 | #define SWIGTYPE_p_wxObject swig_types[1] | |
1344 | #define SWIGTYPE_p_unsigned_char swig_types[2] | |
1345 | #define SWIGTYPE_p_wxColour swig_types[3] | |
1346 | #define SWIGTYPE_p_wxScrollBar swig_types[4] | |
1347 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[5] | |
1348 | #define SWIGTYPE_p_wxWindow swig_types[6] | |
1349 | #define SWIGTYPE_p_wxCommandEvent swig_types[7] | |
1350 | #define SWIGTYPE_p_unsigned_long swig_types[8] | |
1351 | #define SWIGTYPE_p_wxBitmap swig_types[9] | |
1352 | #define SWIGTYPE_p_unsigned_int swig_types[10] | |
1353 | #define SWIGTYPE_unsigned_int swig_types[11] | |
1354 | #define SWIGTYPE_p_form_ops_t swig_types[12] | |
1355 | #define SWIGTYPE_p_wxDuplexMode swig_types[13] | |
1356 | #define SWIGTYPE_p_void swig_types[14] | |
1357 | #define SWIGTYPE_p_char swig_types[15] | |
1358 | #define SWIGTYPE_p_wxPoint swig_types[16] | |
1359 | #define SWIGTYPE_p_wxDC swig_types[17] | |
1360 | #define SWIGTYPE_p_wxEvtHandler swig_types[18] | |
1361 | #define SWIGTYPE_std__ptrdiff_t swig_types[19] | |
1362 | #define SWIGTYPE_ptrdiff_t swig_types[20] | |
1363 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[21] | |
1364 | #define SWIGTYPE_p_wxFont swig_types[22] | |
1365 | #define SWIGTYPE_p_wxControl swig_types[23] | |
1366 | #define SWIGTYPE_p_wxEvent swig_types[24] | |
1367 | #define SWIGTYPE_p_wxPaperSize swig_types[25] | |
1368 | #define SWIGTYPE_p_int swig_types[26] | |
1369 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[27] | |
1370 | static swig_type_info *swig_types[29]; | |
1371 | ||
1372 | /* -------- TYPES TABLE (END) -------- */ | |
1373 | ||
1374 | ||
1375 | /*----------------------------------------------- | |
1376 | @(target):= _stc.so | |
1377 | ------------------------------------------------*/ | |
1378 | #define SWIG_init init_stc | |
1379 | ||
1380 | #define SWIG_name "_stc" | |
1381 | ||
1382 | #include "wx/wxPython/wxPython.h" | |
1383 | #include "wx/wxPython/pyclasses.h" | |
1384 | #include <wx/stc/stc.h> | |
1385 | ||
1386 | ||
1387 | static const wxString wxPySTCNameStr(wxSTCNameStr); | |
1388 | ||
1389 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1390 | #define SWIG_From_int PyInt_FromLong | |
1391 | /*@@*/ | |
1392 | ||
1393 | ||
1394 | #include <limits.h> | |
1395 | ||
1396 | ||
1397 | SWIGINTERN int | |
1398 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1399 | const char *errmsg) | |
1400 | { | |
1401 | if (value < min_value) { | |
1402 | if (errmsg) { | |
1403 | PyErr_Format(PyExc_OverflowError, | |
1404 | "value %ld is less than '%s' minimum %ld", | |
1405 | value, errmsg, min_value); | |
1406 | } | |
1407 | return 0; | |
1408 | } else if (value > max_value) { | |
1409 | if (errmsg) { | |
1410 | PyErr_Format(PyExc_OverflowError, | |
1411 | "value %ld is greater than '%s' maximum %ld", | |
1412 | value, errmsg, max_value); | |
1413 | } | |
1414 | return 0; | |
1415 | } | |
1416 | return 1; | |
1417 | } | |
1418 | ||
1419 | ||
1420 | SWIGINTERN int | |
1421 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1422 | { | |
1423 | if (PyNumber_Check(obj)) { | |
1424 | if (val) *val = PyInt_AsLong(obj); | |
1425 | return 1; | |
1426 | } | |
1427 | else { | |
1428 | SWIG_type_error("number", obj); | |
1429 | } | |
1430 | return 0; | |
1431 | } | |
1432 | ||
1433 | ||
1434 | #if INT_MAX != LONG_MAX | |
1435 | SWIGINTERN int | |
1436 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1437 | { | |
1438 | const char* errmsg = val ? "int" : (char*)0; | |
1439 | long v; | |
1440 | if (SWIG_AsVal_long(obj, &v)) { | |
1441 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1442 | if (val) *val = (int)(v); | |
1443 | return 1; | |
1444 | } else { | |
1445 | return 0; | |
1446 | } | |
1447 | } else { | |
1448 | PyErr_Clear(); | |
1449 | } | |
1450 | if (val) { | |
1451 | SWIG_type_error(errmsg, obj); | |
1452 | } | |
1453 | return 0; | |
1454 | } | |
1455 | #else | |
1456 | SWIGINTERNSHORT int | |
1457 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1458 | { | |
1459 | return SWIG_AsVal_long(obj,(long*)val); | |
1460 | } | |
1461 | #endif | |
1462 | ||
1463 | ||
1464 | SWIGINTERNSHORT int | |
1465 | SWIG_As_int(PyObject* obj) | |
1466 | { | |
1467 | int v; | |
1468 | if (!SWIG_AsVal_int(obj, &v)) { | |
1469 | /* | |
1470 | this is needed to make valgrind/purify happier. | |
1471 | */ | |
1472 | memset((void*)&v, 0, sizeof(int)); | |
1473 | } | |
1474 | return v; | |
1475 | } | |
1476 | ||
1477 | ||
1478 | SWIGINTERNSHORT long | |
1479 | SWIG_As_long(PyObject* obj) | |
1480 | { | |
1481 | long v; | |
1482 | if (!SWIG_AsVal_long(obj, &v)) { | |
1483 | /* | |
1484 | this is needed to make valgrind/purify happier. | |
1485 | */ | |
1486 | memset((void*)&v, 0, sizeof(long)); | |
1487 | } | |
1488 | return v; | |
1489 | } | |
1490 | ||
1491 | ||
1492 | SWIGINTERNSHORT int | |
1493 | SWIG_Check_int(PyObject* obj) | |
1494 | { | |
1495 | return SWIG_AsVal_int(obj, (int*)0); | |
1496 | } | |
1497 | ||
1498 | ||
1499 | SWIGINTERNSHORT int | |
1500 | SWIG_Check_long(PyObject* obj) | |
1501 | { | |
1502 | return SWIG_AsVal_long(obj, (long*)0); | |
1503 | } | |
1504 | ||
1505 | ||
1506 | SWIGINTERN int | |
1507 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1508 | { | |
1509 | if (obj == Py_True) { | |
1510 | if (val) *val = true; | |
1511 | return 1; | |
1512 | } | |
1513 | if (obj == Py_False) { | |
1514 | if (val) *val = false; | |
1515 | return 1; | |
1516 | } | |
1517 | int res = 0; | |
1518 | if (SWIG_AsVal_int(obj, &res)) { | |
1519 | if (val) *val = res ? true : false; | |
1520 | return 1; | |
1521 | } else { | |
1522 | PyErr_Clear(); | |
1523 | } | |
1524 | if (val) { | |
1525 | SWIG_type_error("bool", obj); | |
1526 | } | |
1527 | return 0; | |
1528 | } | |
1529 | ||
1530 | ||
1531 | SWIGINTERNSHORT bool | |
1532 | SWIG_As_bool(PyObject* obj) | |
1533 | { | |
1534 | bool v; | |
1535 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1536 | /* | |
1537 | this is needed to make valgrind/purify happier. | |
1538 | */ | |
1539 | memset((void*)&v, 0, sizeof(bool)); | |
1540 | } | |
1541 | return v; | |
1542 | } | |
1543 | ||
1544 | ||
1545 | SWIGINTERNSHORT int | |
1546 | SWIG_Check_bool(PyObject* obj) | |
1547 | { | |
1548 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1549 | } | |
1550 | ||
1551 | ||
1552 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
1553 | PyObject* o2; | |
1554 | PyObject* o3; | |
1555 | ||
1556 | if (!target) { | |
1557 | target = o; | |
1558 | } else if (target == Py_None) { | |
1559 | Py_DECREF(Py_None); | |
1560 | target = o; | |
1561 | } else { | |
1562 | if (!PyTuple_Check(target)) { | |
1563 | o2 = target; | |
1564 | target = PyTuple_New(1); | |
1565 | PyTuple_SetItem(target, 0, o2); | |
1566 | } | |
1567 | o3 = PyTuple_New(1); | |
1568 | PyTuple_SetItem(o3, 0, o); | |
1569 | ||
1570 | o2 = target; | |
1571 | target = PySequence_Concat(o2, o3); | |
1572 | Py_DECREF(o2); | |
1573 | Py_DECREF(o3); | |
1574 | } | |
1575 | return target; | |
1576 | } | |
1577 | ||
1578 | ||
1579 | ||
1580 | /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ | |
1581 | SWIGINTERN int | |
1582 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) | |
1583 | { | |
1584 | static swig_type_info* pchar_info = 0; | |
1585 | char* vptr = 0; | |
1586 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); | |
1587 | if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { | |
1588 | if (cptr) *cptr = vptr; | |
1589 | if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; | |
1590 | return SWIG_OLDOBJ; | |
1591 | } else { | |
1592 | PyErr_Clear(); | |
1593 | if (PyString_Check(obj)) { | |
1594 | if (cptr) { | |
1595 | *cptr = PyString_AS_STRING(obj); | |
1596 | if (psize) { | |
1597 | *psize = PyString_GET_SIZE(obj) + 1; | |
1598 | } | |
1599 | } | |
1600 | return SWIG_PYSTR; | |
1601 | } | |
1602 | } | |
1603 | if (cptr) { | |
1604 | SWIG_type_error("char *", obj); | |
1605 | } | |
1606 | return 0; | |
1607 | } | |
1608 | ||
1609 | ||
1610 | SWIGINTERNSHORT int | |
1611 | SWIG_AsCharPtr(PyObject *obj, char **val) | |
1612 | { | |
1613 | if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { | |
1614 | return 1; | |
1615 | } | |
1616 | if (val) { | |
1617 | PyErr_Clear(); | |
1618 | SWIG_type_error("char *", obj); | |
1619 | } | |
1620 | return 0; | |
1621 | } | |
1622 | ||
1623 | ||
1624 | /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ | |
1625 | #define SWIG_From_long PyInt_FromLong | |
1626 | /*@@*/ | |
1627 | ||
1628 | #ifdef __cplusplus | |
1629 | extern "C" { | |
1630 | #endif | |
1631 | static int _wrap_STCNameStr_set(PyObject *) { | |
1632 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); | |
1633 | return 1; | |
1634 | } | |
1635 | ||
1636 | ||
1637 | static PyObject *_wrap_STCNameStr_get(void) { | |
1638 | PyObject *pyobj; | |
1639 | ||
1640 | { | |
1641 | #if wxUSE_UNICODE | |
1642 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1643 | #else | |
1644 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1645 | #endif | |
1646 | } | |
1647 | return pyobj; | |
1648 | } | |
1649 | ||
1650 | ||
1651 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
1652 | PyObject *resultobj; | |
1653 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1654 | int arg2 = (int) wxID_ANY ; | |
1655 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1656 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1657 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1658 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1659 | long arg5 = (long) 0 ; | |
1660 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
1661 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1662 | wxStyledTextCtrl *result; | |
1663 | wxPoint temp3 ; | |
1664 | wxSize temp4 ; | |
1665 | bool temp6 = false ; | |
1666 | PyObject * obj0 = 0 ; | |
1667 | PyObject * obj1 = 0 ; | |
1668 | PyObject * obj2 = 0 ; | |
1669 | PyObject * obj3 = 0 ; | |
1670 | PyObject * obj4 = 0 ; | |
1671 | PyObject * obj5 = 0 ; | |
1672 | char *kwnames[] = { | |
1673 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1674 | }; | |
1675 | ||
1676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
1677 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1678 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1679 | if (obj1) { | |
1680 | { | |
1681 | arg2 = (int)(SWIG_As_int(obj1)); | |
1682 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1683 | } | |
1684 | } | |
1685 | if (obj2) { | |
1686 | { | |
1687 | arg3 = &temp3; | |
1688 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1689 | } | |
1690 | } | |
1691 | if (obj3) { | |
1692 | { | |
1693 | arg4 = &temp4; | |
1694 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1695 | } | |
1696 | } | |
1697 | if (obj4) { | |
1698 | { | |
1699 | arg5 = (long)(SWIG_As_long(obj4)); | |
1700 | if (SWIG_arg_fail(5)) SWIG_fail; | |
1701 | } | |
1702 | } | |
1703 | if (obj5) { | |
1704 | { | |
1705 | arg6 = wxString_in_helper(obj5); | |
1706 | if (arg6 == NULL) SWIG_fail; | |
1707 | temp6 = true; | |
1708 | } | |
1709 | } | |
1710 | { | |
1711 | if (!wxPyCheckForApp()) SWIG_fail; | |
1712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1713 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1714 | ||
1715 | wxPyEndAllowThreads(__tstate); | |
1716 | if (PyErr_Occurred()) SWIG_fail; | |
1717 | } | |
1718 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); | |
1719 | { | |
1720 | if (temp6) | |
1721 | delete arg6; | |
1722 | } | |
1723 | return resultobj; | |
1724 | fail: | |
1725 | { | |
1726 | if (temp6) | |
1727 | delete arg6; | |
1728 | } | |
1729 | return NULL; | |
1730 | } | |
1731 | ||
1732 | ||
1733 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
1734 | PyObject *resultobj; | |
1735 | wxStyledTextCtrl *result; | |
1736 | char *kwnames[] = { | |
1737 | NULL | |
1738 | }; | |
1739 | ||
1740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; | |
1741 | { | |
1742 | if (!wxPyCheckForApp()) SWIG_fail; | |
1743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1744 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); | |
1745 | ||
1746 | wxPyEndAllowThreads(__tstate); | |
1747 | if (PyErr_Occurred()) SWIG_fail; | |
1748 | } | |
1749 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); | |
1750 | return resultobj; | |
1751 | fail: | |
1752 | return NULL; | |
1753 | } | |
1754 | ||
1755 | ||
1756 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
1757 | PyObject *resultobj; | |
1758 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1759 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1760 | int arg3 = (int) wxID_ANY ; | |
1761 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1762 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1763 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1764 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1765 | long arg6 = (long) 0 ; | |
1766 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
1767 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1768 | bool result; | |
1769 | wxPoint temp4 ; | |
1770 | wxSize temp5 ; | |
1771 | bool temp7 = false ; | |
1772 | PyObject * obj0 = 0 ; | |
1773 | PyObject * obj1 = 0 ; | |
1774 | PyObject * obj2 = 0 ; | |
1775 | PyObject * obj3 = 0 ; | |
1776 | PyObject * obj4 = 0 ; | |
1777 | PyObject * obj5 = 0 ; | |
1778 | PyObject * obj6 = 0 ; | |
1779 | char *kwnames[] = { | |
1780 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1781 | }; | |
1782 | ||
1783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
1784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1786 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1787 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1788 | if (obj2) { | |
1789 | { | |
1790 | arg3 = (int)(SWIG_As_int(obj2)); | |
1791 | if (SWIG_arg_fail(3)) SWIG_fail; | |
1792 | } | |
1793 | } | |
1794 | if (obj3) { | |
1795 | { | |
1796 | arg4 = &temp4; | |
1797 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1798 | } | |
1799 | } | |
1800 | if (obj4) { | |
1801 | { | |
1802 | arg5 = &temp5; | |
1803 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1804 | } | |
1805 | } | |
1806 | if (obj5) { | |
1807 | { | |
1808 | arg6 = (long)(SWIG_As_long(obj5)); | |
1809 | if (SWIG_arg_fail(6)) SWIG_fail; | |
1810 | } | |
1811 | } | |
1812 | if (obj6) { | |
1813 | { | |
1814 | arg7 = wxString_in_helper(obj6); | |
1815 | if (arg7 == NULL) SWIG_fail; | |
1816 | temp7 = true; | |
1817 | } | |
1818 | } | |
1819 | { | |
1820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1821 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1822 | ||
1823 | wxPyEndAllowThreads(__tstate); | |
1824 | if (PyErr_Occurred()) SWIG_fail; | |
1825 | } | |
1826 | { | |
1827 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1828 | } | |
1829 | { | |
1830 | if (temp7) | |
1831 | delete arg7; | |
1832 | } | |
1833 | return resultobj; | |
1834 | fail: | |
1835 | { | |
1836 | if (temp7) | |
1837 | delete arg7; | |
1838 | } | |
1839 | return NULL; | |
1840 | } | |
1841 | ||
1842 | ||
1843 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { | |
1844 | PyObject *resultobj; | |
1845 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1846 | wxString *arg2 = 0 ; | |
1847 | bool temp2 = false ; | |
1848 | PyObject * obj0 = 0 ; | |
1849 | PyObject * obj1 = 0 ; | |
1850 | char *kwnames[] = { | |
1851 | (char *) "self",(char *) "text", NULL | |
1852 | }; | |
1853 | ||
1854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; | |
1855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1857 | { | |
1858 | arg2 = wxString_in_helper(obj1); | |
1859 | if (arg2 == NULL) SWIG_fail; | |
1860 | temp2 = true; | |
1861 | } | |
1862 | { | |
1863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1864 | (arg1)->AddText((wxString const &)*arg2); | |
1865 | ||
1866 | wxPyEndAllowThreads(__tstate); | |
1867 | if (PyErr_Occurred()) SWIG_fail; | |
1868 | } | |
1869 | Py_INCREF(Py_None); resultobj = Py_None; | |
1870 | { | |
1871 | if (temp2) | |
1872 | delete arg2; | |
1873 | } | |
1874 | return resultobj; | |
1875 | fail: | |
1876 | { | |
1877 | if (temp2) | |
1878 | delete arg2; | |
1879 | } | |
1880 | return NULL; | |
1881 | } | |
1882 | ||
1883 | ||
1884 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { | |
1885 | PyObject *resultobj; | |
1886 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1887 | wxMemoryBuffer *arg2 = 0 ; | |
1888 | bool temp2 = false ; | |
1889 | PyObject * obj0 = 0 ; | |
1890 | PyObject * obj1 = 0 ; | |
1891 | char *kwnames[] = { | |
1892 | (char *) "self",(char *) "data", NULL | |
1893 | }; | |
1894 | ||
1895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; | |
1896 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1897 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1898 | { | |
1899 | if (!PyString_Check(obj1)) { | |
1900 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
1901 | SWIG_fail; | |
1902 | } | |
1903 | char* str = PyString_AS_STRING(obj1); | |
1904 | int len = PyString_GET_SIZE(obj1); | |
1905 | arg2 = new wxMemoryBuffer(len); | |
1906 | temp2 = true; | |
1907 | memcpy(arg2->GetData(), str, len); | |
1908 | arg2->SetDataLen(len); | |
1909 | } | |
1910 | { | |
1911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1912 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); | |
1913 | ||
1914 | wxPyEndAllowThreads(__tstate); | |
1915 | if (PyErr_Occurred()) SWIG_fail; | |
1916 | } | |
1917 | Py_INCREF(Py_None); resultobj = Py_None; | |
1918 | { | |
1919 | if (temp2) delete arg2; | |
1920 | } | |
1921 | return resultobj; | |
1922 | fail: | |
1923 | { | |
1924 | if (temp2) delete arg2; | |
1925 | } | |
1926 | return NULL; | |
1927 | } | |
1928 | ||
1929 | ||
1930 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { | |
1931 | PyObject *resultobj; | |
1932 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1933 | int arg2 ; | |
1934 | wxString *arg3 = 0 ; | |
1935 | bool temp3 = false ; | |
1936 | PyObject * obj0 = 0 ; | |
1937 | PyObject * obj1 = 0 ; | |
1938 | PyObject * obj2 = 0 ; | |
1939 | char *kwnames[] = { | |
1940 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
1941 | }; | |
1942 | ||
1943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1946 | { | |
1947 | arg2 = (int)(SWIG_As_int(obj1)); | |
1948 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1949 | } | |
1950 | { | |
1951 | arg3 = wxString_in_helper(obj2); | |
1952 | if (arg3 == NULL) SWIG_fail; | |
1953 | temp3 = true; | |
1954 | } | |
1955 | { | |
1956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1957 | (arg1)->InsertText(arg2,(wxString const &)*arg3); | |
1958 | ||
1959 | wxPyEndAllowThreads(__tstate); | |
1960 | if (PyErr_Occurred()) SWIG_fail; | |
1961 | } | |
1962 | Py_INCREF(Py_None); resultobj = Py_None; | |
1963 | { | |
1964 | if (temp3) | |
1965 | delete arg3; | |
1966 | } | |
1967 | return resultobj; | |
1968 | fail: | |
1969 | { | |
1970 | if (temp3) | |
1971 | delete arg3; | |
1972 | } | |
1973 | return NULL; | |
1974 | } | |
1975 | ||
1976 | ||
1977 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
1978 | PyObject *resultobj; | |
1979 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1980 | PyObject * obj0 = 0 ; | |
1981 | char *kwnames[] = { | |
1982 | (char *) "self", NULL | |
1983 | }; | |
1984 | ||
1985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; | |
1986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1988 | { | |
1989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1990 | (arg1)->ClearAll(); | |
1991 | ||
1992 | wxPyEndAllowThreads(__tstate); | |
1993 | if (PyErr_Occurred()) SWIG_fail; | |
1994 | } | |
1995 | Py_INCREF(Py_None); resultobj = Py_None; | |
1996 | return resultobj; | |
1997 | fail: | |
1998 | return NULL; | |
1999 | } | |
2000 | ||
2001 | ||
2002 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { | |
2003 | PyObject *resultobj; | |
2004 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2005 | PyObject * obj0 = 0 ; | |
2006 | char *kwnames[] = { | |
2007 | (char *) "self", NULL | |
2008 | }; | |
2009 | ||
2010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; | |
2011 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2012 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2013 | { | |
2014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2015 | (arg1)->ClearDocumentStyle(); | |
2016 | ||
2017 | wxPyEndAllowThreads(__tstate); | |
2018 | if (PyErr_Occurred()) SWIG_fail; | |
2019 | } | |
2020 | Py_INCREF(Py_None); resultobj = Py_None; | |
2021 | return resultobj; | |
2022 | fail: | |
2023 | return NULL; | |
2024 | } | |
2025 | ||
2026 | ||
2027 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
2028 | PyObject *resultobj; | |
2029 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2030 | int result; | |
2031 | PyObject * obj0 = 0 ; | |
2032 | char *kwnames[] = { | |
2033 | (char *) "self", NULL | |
2034 | }; | |
2035 | ||
2036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; | |
2037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2039 | { | |
2040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2041 | result = (int)(arg1)->GetLength(); | |
2042 | ||
2043 | wxPyEndAllowThreads(__tstate); | |
2044 | if (PyErr_Occurred()) SWIG_fail; | |
2045 | } | |
2046 | { | |
2047 | resultobj = SWIG_From_int((int)(result)); | |
2048 | } | |
2049 | return resultobj; | |
2050 | fail: | |
2051 | return NULL; | |
2052 | } | |
2053 | ||
2054 | ||
2055 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { | |
2056 | PyObject *resultobj; | |
2057 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2058 | int arg2 ; | |
2059 | int result; | |
2060 | PyObject * obj0 = 0 ; | |
2061 | PyObject * obj1 = 0 ; | |
2062 | char *kwnames[] = { | |
2063 | (char *) "self",(char *) "pos", NULL | |
2064 | }; | |
2065 | ||
2066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; | |
2067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2069 | { | |
2070 | arg2 = (int)(SWIG_As_int(obj1)); | |
2071 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2072 | } | |
2073 | { | |
2074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2075 | result = (int)(arg1)->GetCharAt(arg2); | |
2076 | ||
2077 | wxPyEndAllowThreads(__tstate); | |
2078 | if (PyErr_Occurred()) SWIG_fail; | |
2079 | } | |
2080 | { | |
2081 | resultobj = SWIG_From_int((int)(result)); | |
2082 | } | |
2083 | return resultobj; | |
2084 | fail: | |
2085 | return NULL; | |
2086 | } | |
2087 | ||
2088 | ||
2089 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { | |
2090 | PyObject *resultobj; | |
2091 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2092 | int result; | |
2093 | PyObject * obj0 = 0 ; | |
2094 | char *kwnames[] = { | |
2095 | (char *) "self", NULL | |
2096 | }; | |
2097 | ||
2098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; | |
2099 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2100 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2101 | { | |
2102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2103 | result = (int)(arg1)->GetCurrentPos(); | |
2104 | ||
2105 | wxPyEndAllowThreads(__tstate); | |
2106 | if (PyErr_Occurred()) SWIG_fail; | |
2107 | } | |
2108 | { | |
2109 | resultobj = SWIG_From_int((int)(result)); | |
2110 | } | |
2111 | return resultobj; | |
2112 | fail: | |
2113 | return NULL; | |
2114 | } | |
2115 | ||
2116 | ||
2117 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { | |
2118 | PyObject *resultobj; | |
2119 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2120 | int result; | |
2121 | PyObject * obj0 = 0 ; | |
2122 | char *kwnames[] = { | |
2123 | (char *) "self", NULL | |
2124 | }; | |
2125 | ||
2126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; | |
2127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2129 | { | |
2130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2131 | result = (int)(arg1)->GetAnchor(); | |
2132 | ||
2133 | wxPyEndAllowThreads(__tstate); | |
2134 | if (PyErr_Occurred()) SWIG_fail; | |
2135 | } | |
2136 | { | |
2137 | resultobj = SWIG_From_int((int)(result)); | |
2138 | } | |
2139 | return resultobj; | |
2140 | fail: | |
2141 | return NULL; | |
2142 | } | |
2143 | ||
2144 | ||
2145 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { | |
2146 | PyObject *resultobj; | |
2147 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2148 | int arg2 ; | |
2149 | int result; | |
2150 | PyObject * obj0 = 0 ; | |
2151 | PyObject * obj1 = 0 ; | |
2152 | char *kwnames[] = { | |
2153 | (char *) "self",(char *) "pos", NULL | |
2154 | }; | |
2155 | ||
2156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; | |
2157 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2158 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2159 | { | |
2160 | arg2 = (int)(SWIG_As_int(obj1)); | |
2161 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2162 | } | |
2163 | { | |
2164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2165 | result = (int)(arg1)->GetStyleAt(arg2); | |
2166 | ||
2167 | wxPyEndAllowThreads(__tstate); | |
2168 | if (PyErr_Occurred()) SWIG_fail; | |
2169 | } | |
2170 | { | |
2171 | resultobj = SWIG_From_int((int)(result)); | |
2172 | } | |
2173 | return resultobj; | |
2174 | fail: | |
2175 | return NULL; | |
2176 | } | |
2177 | ||
2178 | ||
2179 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { | |
2180 | PyObject *resultobj; | |
2181 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2182 | PyObject * obj0 = 0 ; | |
2183 | char *kwnames[] = { | |
2184 | (char *) "self", NULL | |
2185 | }; | |
2186 | ||
2187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; | |
2188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2190 | { | |
2191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2192 | (arg1)->Redo(); | |
2193 | ||
2194 | wxPyEndAllowThreads(__tstate); | |
2195 | if (PyErr_Occurred()) SWIG_fail; | |
2196 | } | |
2197 | Py_INCREF(Py_None); resultobj = Py_None; | |
2198 | return resultobj; | |
2199 | fail: | |
2200 | return NULL; | |
2201 | } | |
2202 | ||
2203 | ||
2204 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { | |
2205 | PyObject *resultobj; | |
2206 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2207 | bool arg2 ; | |
2208 | PyObject * obj0 = 0 ; | |
2209 | PyObject * obj1 = 0 ; | |
2210 | char *kwnames[] = { | |
2211 | (char *) "self",(char *) "collectUndo", NULL | |
2212 | }; | |
2213 | ||
2214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; | |
2215 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2216 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2217 | { | |
2218 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
2219 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2220 | } | |
2221 | { | |
2222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2223 | (arg1)->SetUndoCollection(arg2); | |
2224 | ||
2225 | wxPyEndAllowThreads(__tstate); | |
2226 | if (PyErr_Occurred()) SWIG_fail; | |
2227 | } | |
2228 | Py_INCREF(Py_None); resultobj = Py_None; | |
2229 | return resultobj; | |
2230 | fail: | |
2231 | return NULL; | |
2232 | } | |
2233 | ||
2234 | ||
2235 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
2236 | PyObject *resultobj; | |
2237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2238 | PyObject * obj0 = 0 ; | |
2239 | char *kwnames[] = { | |
2240 | (char *) "self", NULL | |
2241 | }; | |
2242 | ||
2243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; | |
2244 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2245 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2246 | { | |
2247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2248 | (arg1)->SelectAll(); | |
2249 | ||
2250 | wxPyEndAllowThreads(__tstate); | |
2251 | if (PyErr_Occurred()) SWIG_fail; | |
2252 | } | |
2253 | Py_INCREF(Py_None); resultobj = Py_None; | |
2254 | return resultobj; | |
2255 | fail: | |
2256 | return NULL; | |
2257 | } | |
2258 | ||
2259 | ||
2260 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { | |
2261 | PyObject *resultobj; | |
2262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2263 | PyObject * obj0 = 0 ; | |
2264 | char *kwnames[] = { | |
2265 | (char *) "self", NULL | |
2266 | }; | |
2267 | ||
2268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; | |
2269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2271 | { | |
2272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2273 | (arg1)->SetSavePoint(); | |
2274 | ||
2275 | wxPyEndAllowThreads(__tstate); | |
2276 | if (PyErr_Occurred()) SWIG_fail; | |
2277 | } | |
2278 | Py_INCREF(Py_None); resultobj = Py_None; | |
2279 | return resultobj; | |
2280 | fail: | |
2281 | return NULL; | |
2282 | } | |
2283 | ||
2284 | ||
2285 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { | |
2286 | PyObject *resultobj; | |
2287 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2288 | int arg2 ; | |
2289 | int arg3 ; | |
2290 | wxMemoryBuffer result; | |
2291 | PyObject * obj0 = 0 ; | |
2292 | PyObject * obj1 = 0 ; | |
2293 | PyObject * obj2 = 0 ; | |
2294 | char *kwnames[] = { | |
2295 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
2296 | }; | |
2297 | ||
2298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2301 | { | |
2302 | arg2 = (int)(SWIG_As_int(obj1)); | |
2303 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2304 | } | |
2305 | { | |
2306 | arg3 = (int)(SWIG_As_int(obj2)); | |
2307 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2308 | } | |
2309 | { | |
2310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2311 | result = (arg1)->GetStyledText(arg2,arg3); | |
2312 | ||
2313 | wxPyEndAllowThreads(__tstate); | |
2314 | if (PyErr_Occurred()) SWIG_fail; | |
2315 | } | |
2316 | { | |
2317 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); | |
2318 | } | |
2319 | return resultobj; | |
2320 | fail: | |
2321 | return NULL; | |
2322 | } | |
2323 | ||
2324 | ||
2325 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { | |
2326 | PyObject *resultobj; | |
2327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2328 | bool result; | |
2329 | PyObject * obj0 = 0 ; | |
2330 | char *kwnames[] = { | |
2331 | (char *) "self", NULL | |
2332 | }; | |
2333 | ||
2334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; | |
2335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2337 | { | |
2338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2339 | result = (bool)(arg1)->CanRedo(); | |
2340 | ||
2341 | wxPyEndAllowThreads(__tstate); | |
2342 | if (PyErr_Occurred()) SWIG_fail; | |
2343 | } | |
2344 | { | |
2345 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2346 | } | |
2347 | return resultobj; | |
2348 | fail: | |
2349 | return NULL; | |
2350 | } | |
2351 | ||
2352 | ||
2353 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { | |
2354 | PyObject *resultobj; | |
2355 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2356 | int arg2 ; | |
2357 | int result; | |
2358 | PyObject * obj0 = 0 ; | |
2359 | PyObject * obj1 = 0 ; | |
2360 | char *kwnames[] = { | |
2361 | (char *) "self",(char *) "handle", NULL | |
2362 | }; | |
2363 | ||
2364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; | |
2365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2367 | { | |
2368 | arg2 = (int)(SWIG_As_int(obj1)); | |
2369 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2370 | } | |
2371 | { | |
2372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2373 | result = (int)(arg1)->MarkerLineFromHandle(arg2); | |
2374 | ||
2375 | wxPyEndAllowThreads(__tstate); | |
2376 | if (PyErr_Occurred()) SWIG_fail; | |
2377 | } | |
2378 | { | |
2379 | resultobj = SWIG_From_int((int)(result)); | |
2380 | } | |
2381 | return resultobj; | |
2382 | fail: | |
2383 | return NULL; | |
2384 | } | |
2385 | ||
2386 | ||
2387 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { | |
2388 | PyObject *resultobj; | |
2389 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2390 | int arg2 ; | |
2391 | PyObject * obj0 = 0 ; | |
2392 | PyObject * obj1 = 0 ; | |
2393 | char *kwnames[] = { | |
2394 | (char *) "self",(char *) "handle", NULL | |
2395 | }; | |
2396 | ||
2397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; | |
2398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2400 | { | |
2401 | arg2 = (int)(SWIG_As_int(obj1)); | |
2402 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2403 | } | |
2404 | { | |
2405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2406 | (arg1)->MarkerDeleteHandle(arg2); | |
2407 | ||
2408 | wxPyEndAllowThreads(__tstate); | |
2409 | if (PyErr_Occurred()) SWIG_fail; | |
2410 | } | |
2411 | Py_INCREF(Py_None); resultobj = Py_None; | |
2412 | return resultobj; | |
2413 | fail: | |
2414 | return NULL; | |
2415 | } | |
2416 | ||
2417 | ||
2418 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { | |
2419 | PyObject *resultobj; | |
2420 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2421 | bool result; | |
2422 | PyObject * obj0 = 0 ; | |
2423 | char *kwnames[] = { | |
2424 | (char *) "self", NULL | |
2425 | }; | |
2426 | ||
2427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; | |
2428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2430 | { | |
2431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2432 | result = (bool)(arg1)->GetUndoCollection(); | |
2433 | ||
2434 | wxPyEndAllowThreads(__tstate); | |
2435 | if (PyErr_Occurred()) SWIG_fail; | |
2436 | } | |
2437 | { | |
2438 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2439 | } | |
2440 | return resultobj; | |
2441 | fail: | |
2442 | return NULL; | |
2443 | } | |
2444 | ||
2445 | ||
2446 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { | |
2447 | PyObject *resultobj; | |
2448 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2449 | int result; | |
2450 | PyObject * obj0 = 0 ; | |
2451 | char *kwnames[] = { | |
2452 | (char *) "self", NULL | |
2453 | }; | |
2454 | ||
2455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; | |
2456 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2457 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2458 | { | |
2459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2460 | result = (int)(arg1)->GetViewWhiteSpace(); | |
2461 | ||
2462 | wxPyEndAllowThreads(__tstate); | |
2463 | if (PyErr_Occurred()) SWIG_fail; | |
2464 | } | |
2465 | { | |
2466 | resultobj = SWIG_From_int((int)(result)); | |
2467 | } | |
2468 | return resultobj; | |
2469 | fail: | |
2470 | return NULL; | |
2471 | } | |
2472 | ||
2473 | ||
2474 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { | |
2475 | PyObject *resultobj; | |
2476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2477 | int arg2 ; | |
2478 | PyObject * obj0 = 0 ; | |
2479 | PyObject * obj1 = 0 ; | |
2480 | char *kwnames[] = { | |
2481 | (char *) "self",(char *) "viewWS", NULL | |
2482 | }; | |
2483 | ||
2484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; | |
2485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2487 | { | |
2488 | arg2 = (int)(SWIG_As_int(obj1)); | |
2489 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2490 | } | |
2491 | { | |
2492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2493 | (arg1)->SetViewWhiteSpace(arg2); | |
2494 | ||
2495 | wxPyEndAllowThreads(__tstate); | |
2496 | if (PyErr_Occurred()) SWIG_fail; | |
2497 | } | |
2498 | Py_INCREF(Py_None); resultobj = Py_None; | |
2499 | return resultobj; | |
2500 | fail: | |
2501 | return NULL; | |
2502 | } | |
2503 | ||
2504 | ||
2505 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { | |
2506 | PyObject *resultobj; | |
2507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2508 | wxPoint arg2 ; | |
2509 | int result; | |
2510 | PyObject * obj0 = 0 ; | |
2511 | PyObject * obj1 = 0 ; | |
2512 | char *kwnames[] = { | |
2513 | (char *) "self",(char *) "pt", NULL | |
2514 | }; | |
2515 | ||
2516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; | |
2517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2519 | { | |
2520 | wxPoint * argp; | |
2521 | SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION); | |
2522 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2523 | if (argp == NULL) { | |
2524 | SWIG_null_ref("wxPoint"); | |
2525 | } | |
2526 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2527 | arg2 = *argp; | |
2528 | } | |
2529 | { | |
2530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2531 | result = (int)(arg1)->PositionFromPoint(arg2); | |
2532 | ||
2533 | wxPyEndAllowThreads(__tstate); | |
2534 | if (PyErr_Occurred()) SWIG_fail; | |
2535 | } | |
2536 | { | |
2537 | resultobj = SWIG_From_int((int)(result)); | |
2538 | } | |
2539 | return resultobj; | |
2540 | fail: | |
2541 | return NULL; | |
2542 | } | |
2543 | ||
2544 | ||
2545 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { | |
2546 | PyObject *resultobj; | |
2547 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2548 | int arg2 ; | |
2549 | int arg3 ; | |
2550 | int result; | |
2551 | PyObject * obj0 = 0 ; | |
2552 | PyObject * obj1 = 0 ; | |
2553 | PyObject * obj2 = 0 ; | |
2554 | char *kwnames[] = { | |
2555 | (char *) "self",(char *) "x",(char *) "y", NULL | |
2556 | }; | |
2557 | ||
2558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2561 | { | |
2562 | arg2 = (int)(SWIG_As_int(obj1)); | |
2563 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2564 | } | |
2565 | { | |
2566 | arg3 = (int)(SWIG_As_int(obj2)); | |
2567 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2568 | } | |
2569 | { | |
2570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2571 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); | |
2572 | ||
2573 | wxPyEndAllowThreads(__tstate); | |
2574 | if (PyErr_Occurred()) SWIG_fail; | |
2575 | } | |
2576 | { | |
2577 | resultobj = SWIG_From_int((int)(result)); | |
2578 | } | |
2579 | return resultobj; | |
2580 | fail: | |
2581 | return NULL; | |
2582 | } | |
2583 | ||
2584 | ||
2585 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
2586 | PyObject *resultobj; | |
2587 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2588 | int arg2 ; | |
2589 | PyObject * obj0 = 0 ; | |
2590 | PyObject * obj1 = 0 ; | |
2591 | char *kwnames[] = { | |
2592 | (char *) "self",(char *) "line", NULL | |
2593 | }; | |
2594 | ||
2595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; | |
2596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2598 | { | |
2599 | arg2 = (int)(SWIG_As_int(obj1)); | |
2600 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2601 | } | |
2602 | { | |
2603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2604 | (arg1)->GotoLine(arg2); | |
2605 | ||
2606 | wxPyEndAllowThreads(__tstate); | |
2607 | if (PyErr_Occurred()) SWIG_fail; | |
2608 | } | |
2609 | Py_INCREF(Py_None); resultobj = Py_None; | |
2610 | return resultobj; | |
2611 | fail: | |
2612 | return NULL; | |
2613 | } | |
2614 | ||
2615 | ||
2616 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { | |
2617 | PyObject *resultobj; | |
2618 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2619 | int arg2 ; | |
2620 | PyObject * obj0 = 0 ; | |
2621 | PyObject * obj1 = 0 ; | |
2622 | char *kwnames[] = { | |
2623 | (char *) "self",(char *) "pos", NULL | |
2624 | }; | |
2625 | ||
2626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; | |
2627 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2628 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2629 | { | |
2630 | arg2 = (int)(SWIG_As_int(obj1)); | |
2631 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2632 | } | |
2633 | { | |
2634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2635 | (arg1)->GotoPos(arg2); | |
2636 | ||
2637 | wxPyEndAllowThreads(__tstate); | |
2638 | if (PyErr_Occurred()) SWIG_fail; | |
2639 | } | |
2640 | Py_INCREF(Py_None); resultobj = Py_None; | |
2641 | return resultobj; | |
2642 | fail: | |
2643 | return NULL; | |
2644 | } | |
2645 | ||
2646 | ||
2647 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { | |
2648 | PyObject *resultobj; | |
2649 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2650 | int arg2 ; | |
2651 | PyObject * obj0 = 0 ; | |
2652 | PyObject * obj1 = 0 ; | |
2653 | char *kwnames[] = { | |
2654 | (char *) "self",(char *) "posAnchor", NULL | |
2655 | }; | |
2656 | ||
2657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; | |
2658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2660 | { | |
2661 | arg2 = (int)(SWIG_As_int(obj1)); | |
2662 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2663 | } | |
2664 | { | |
2665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2666 | (arg1)->SetAnchor(arg2); | |
2667 | ||
2668 | wxPyEndAllowThreads(__tstate); | |
2669 | if (PyErr_Occurred()) SWIG_fail; | |
2670 | } | |
2671 | Py_INCREF(Py_None); resultobj = Py_None; | |
2672 | return resultobj; | |
2673 | fail: | |
2674 | return NULL; | |
2675 | } | |
2676 | ||
2677 | ||
2678 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
2679 | PyObject *resultobj; | |
2680 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2681 | int *arg2 = (int *) 0 ; | |
2682 | wxString result; | |
2683 | int temp2 ; | |
2684 | int res2 = 0 ; | |
2685 | PyObject * obj0 = 0 ; | |
2686 | char *kwnames[] = { | |
2687 | (char *) "self", NULL | |
2688 | }; | |
2689 | ||
2690 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
2691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
2692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2694 | { | |
2695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2696 | result = (arg1)->GetCurLine(arg2); | |
2697 | ||
2698 | wxPyEndAllowThreads(__tstate); | |
2699 | if (PyErr_Occurred()) SWIG_fail; | |
2700 | } | |
2701 | { | |
2702 | #if wxUSE_UNICODE | |
2703 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2704 | #else | |
2705 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2706 | #endif | |
2707 | } | |
2708 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
2709 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2710 | return resultobj; | |
2711 | fail: | |
2712 | return NULL; | |
2713 | } | |
2714 | ||
2715 | ||
2716 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { | |
2717 | PyObject *resultobj; | |
2718 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2719 | int result; | |
2720 | PyObject * obj0 = 0 ; | |
2721 | char *kwnames[] = { | |
2722 | (char *) "self", NULL | |
2723 | }; | |
2724 | ||
2725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; | |
2726 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2727 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2728 | { | |
2729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2730 | result = (int)(arg1)->GetEndStyled(); | |
2731 | ||
2732 | wxPyEndAllowThreads(__tstate); | |
2733 | if (PyErr_Occurred()) SWIG_fail; | |
2734 | } | |
2735 | { | |
2736 | resultobj = SWIG_From_int((int)(result)); | |
2737 | } | |
2738 | return resultobj; | |
2739 | fail: | |
2740 | return NULL; | |
2741 | } | |
2742 | ||
2743 | ||
2744 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { | |
2745 | PyObject *resultobj; | |
2746 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2747 | int arg2 ; | |
2748 | PyObject * obj0 = 0 ; | |
2749 | PyObject * obj1 = 0 ; | |
2750 | char *kwnames[] = { | |
2751 | (char *) "self",(char *) "eolMode", NULL | |
2752 | }; | |
2753 | ||
2754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; | |
2755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2757 | { | |
2758 | arg2 = (int)(SWIG_As_int(obj1)); | |
2759 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2760 | } | |
2761 | { | |
2762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2763 | (arg1)->ConvertEOLs(arg2); | |
2764 | ||
2765 | wxPyEndAllowThreads(__tstate); | |
2766 | if (PyErr_Occurred()) SWIG_fail; | |
2767 | } | |
2768 | Py_INCREF(Py_None); resultobj = Py_None; | |
2769 | return resultobj; | |
2770 | fail: | |
2771 | return NULL; | |
2772 | } | |
2773 | ||
2774 | ||
2775 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
2776 | PyObject *resultobj; | |
2777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2778 | int result; | |
2779 | PyObject * obj0 = 0 ; | |
2780 | char *kwnames[] = { | |
2781 | (char *) "self", NULL | |
2782 | }; | |
2783 | ||
2784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; | |
2785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2787 | { | |
2788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2789 | result = (int)(arg1)->GetEOLMode(); | |
2790 | ||
2791 | wxPyEndAllowThreads(__tstate); | |
2792 | if (PyErr_Occurred()) SWIG_fail; | |
2793 | } | |
2794 | { | |
2795 | resultobj = SWIG_From_int((int)(result)); | |
2796 | } | |
2797 | return resultobj; | |
2798 | fail: | |
2799 | return NULL; | |
2800 | } | |
2801 | ||
2802 | ||
2803 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
2804 | PyObject *resultobj; | |
2805 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2806 | int arg2 ; | |
2807 | PyObject * obj0 = 0 ; | |
2808 | PyObject * obj1 = 0 ; | |
2809 | char *kwnames[] = { | |
2810 | (char *) "self",(char *) "eolMode", NULL | |
2811 | }; | |
2812 | ||
2813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; | |
2814 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2815 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2816 | { | |
2817 | arg2 = (int)(SWIG_As_int(obj1)); | |
2818 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2819 | } | |
2820 | { | |
2821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2822 | (arg1)->SetEOLMode(arg2); | |
2823 | ||
2824 | wxPyEndAllowThreads(__tstate); | |
2825 | if (PyErr_Occurred()) SWIG_fail; | |
2826 | } | |
2827 | Py_INCREF(Py_None); resultobj = Py_None; | |
2828 | return resultobj; | |
2829 | fail: | |
2830 | return NULL; | |
2831 | } | |
2832 | ||
2833 | ||
2834 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { | |
2835 | PyObject *resultobj; | |
2836 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2837 | int arg2 ; | |
2838 | int arg3 ; | |
2839 | PyObject * obj0 = 0 ; | |
2840 | PyObject * obj1 = 0 ; | |
2841 | PyObject * obj2 = 0 ; | |
2842 | char *kwnames[] = { | |
2843 | (char *) "self",(char *) "pos",(char *) "mask", NULL | |
2844 | }; | |
2845 | ||
2846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2847 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2848 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2849 | { | |
2850 | arg2 = (int)(SWIG_As_int(obj1)); | |
2851 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2852 | } | |
2853 | { | |
2854 | arg3 = (int)(SWIG_As_int(obj2)); | |
2855 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2856 | } | |
2857 | { | |
2858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2859 | (arg1)->StartStyling(arg2,arg3); | |
2860 | ||
2861 | wxPyEndAllowThreads(__tstate); | |
2862 | if (PyErr_Occurred()) SWIG_fail; | |
2863 | } | |
2864 | Py_INCREF(Py_None); resultobj = Py_None; | |
2865 | return resultobj; | |
2866 | fail: | |
2867 | return NULL; | |
2868 | } | |
2869 | ||
2870 | ||
2871 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { | |
2872 | PyObject *resultobj; | |
2873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2874 | int arg2 ; | |
2875 | int arg3 ; | |
2876 | PyObject * obj0 = 0 ; | |
2877 | PyObject * obj1 = 0 ; | |
2878 | PyObject * obj2 = 0 ; | |
2879 | char *kwnames[] = { | |
2880 | (char *) "self",(char *) "length",(char *) "style", NULL | |
2881 | }; | |
2882 | ||
2883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2886 | { | |
2887 | arg2 = (int)(SWIG_As_int(obj1)); | |
2888 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2889 | } | |
2890 | { | |
2891 | arg3 = (int)(SWIG_As_int(obj2)); | |
2892 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2893 | } | |
2894 | { | |
2895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2896 | (arg1)->SetStyling(arg2,arg3); | |
2897 | ||
2898 | wxPyEndAllowThreads(__tstate); | |
2899 | if (PyErr_Occurred()) SWIG_fail; | |
2900 | } | |
2901 | Py_INCREF(Py_None); resultobj = Py_None; | |
2902 | return resultobj; | |
2903 | fail: | |
2904 | return NULL; | |
2905 | } | |
2906 | ||
2907 | ||
2908 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
2909 | PyObject *resultobj; | |
2910 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2911 | bool result; | |
2912 | PyObject * obj0 = 0 ; | |
2913 | char *kwnames[] = { | |
2914 | (char *) "self", NULL | |
2915 | }; | |
2916 | ||
2917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; | |
2918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2920 | { | |
2921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2922 | result = (bool)(arg1)->GetBufferedDraw(); | |
2923 | ||
2924 | wxPyEndAllowThreads(__tstate); | |
2925 | if (PyErr_Occurred()) SWIG_fail; | |
2926 | } | |
2927 | { | |
2928 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2929 | } | |
2930 | return resultobj; | |
2931 | fail: | |
2932 | return NULL; | |
2933 | } | |
2934 | ||
2935 | ||
2936 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
2937 | PyObject *resultobj; | |
2938 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2939 | bool arg2 ; | |
2940 | PyObject * obj0 = 0 ; | |
2941 | PyObject * obj1 = 0 ; | |
2942 | char *kwnames[] = { | |
2943 | (char *) "self",(char *) "buffered", NULL | |
2944 | }; | |
2945 | ||
2946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; | |
2947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2949 | { | |
2950 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
2951 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2952 | } | |
2953 | { | |
2954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2955 | (arg1)->SetBufferedDraw(arg2); | |
2956 | ||
2957 | wxPyEndAllowThreads(__tstate); | |
2958 | if (PyErr_Occurred()) SWIG_fail; | |
2959 | } | |
2960 | Py_INCREF(Py_None); resultobj = Py_None; | |
2961 | return resultobj; | |
2962 | fail: | |
2963 | return NULL; | |
2964 | } | |
2965 | ||
2966 | ||
2967 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
2968 | PyObject *resultobj; | |
2969 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2970 | int arg2 ; | |
2971 | PyObject * obj0 = 0 ; | |
2972 | PyObject * obj1 = 0 ; | |
2973 | char *kwnames[] = { | |
2974 | (char *) "self",(char *) "tabWidth", NULL | |
2975 | }; | |
2976 | ||
2977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; | |
2978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2980 | { | |
2981 | arg2 = (int)(SWIG_As_int(obj1)); | |
2982 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2983 | } | |
2984 | { | |
2985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2986 | (arg1)->SetTabWidth(arg2); | |
2987 | ||
2988 | wxPyEndAllowThreads(__tstate); | |
2989 | if (PyErr_Occurred()) SWIG_fail; | |
2990 | } | |
2991 | Py_INCREF(Py_None); resultobj = Py_None; | |
2992 | return resultobj; | |
2993 | fail: | |
2994 | return NULL; | |
2995 | } | |
2996 | ||
2997 | ||
2998 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
2999 | PyObject *resultobj; | |
3000 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3001 | int result; | |
3002 | PyObject * obj0 = 0 ; | |
3003 | char *kwnames[] = { | |
3004 | (char *) "self", NULL | |
3005 | }; | |
3006 | ||
3007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; | |
3008 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3009 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3010 | { | |
3011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3012 | result = (int)(arg1)->GetTabWidth(); | |
3013 | ||
3014 | wxPyEndAllowThreads(__tstate); | |
3015 | if (PyErr_Occurred()) SWIG_fail; | |
3016 | } | |
3017 | { | |
3018 | resultobj = SWIG_From_int((int)(result)); | |
3019 | } | |
3020 | return resultobj; | |
3021 | fail: | |
3022 | return NULL; | |
3023 | } | |
3024 | ||
3025 | ||
3026 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { | |
3027 | PyObject *resultobj; | |
3028 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3029 | int arg2 ; | |
3030 | PyObject * obj0 = 0 ; | |
3031 | PyObject * obj1 = 0 ; | |
3032 | char *kwnames[] = { | |
3033 | (char *) "self",(char *) "codePage", NULL | |
3034 | }; | |
3035 | ||
3036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; | |
3037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3039 | { | |
3040 | arg2 = (int)(SWIG_As_int(obj1)); | |
3041 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3042 | } | |
3043 | { | |
3044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3045 | (arg1)->SetCodePage(arg2); | |
3046 | ||
3047 | wxPyEndAllowThreads(__tstate); | |
3048 | if (PyErr_Occurred()) SWIG_fail; | |
3049 | } | |
3050 | Py_INCREF(Py_None); resultobj = Py_None; | |
3051 | return resultobj; | |
3052 | fail: | |
3053 | return NULL; | |
3054 | } | |
3055 | ||
3056 | ||
3057 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { | |
3058 | PyObject *resultobj; | |
3059 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3060 | int arg2 ; | |
3061 | int arg3 ; | |
3062 | wxColour const &arg4_defvalue = wxNullColour ; | |
3063 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
3064 | wxColour const &arg5_defvalue = wxNullColour ; | |
3065 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
3066 | wxColour temp4 ; | |
3067 | wxColour temp5 ; | |
3068 | PyObject * obj0 = 0 ; | |
3069 | PyObject * obj1 = 0 ; | |
3070 | PyObject * obj2 = 0 ; | |
3071 | PyObject * obj3 = 0 ; | |
3072 | PyObject * obj4 = 0 ; | |
3073 | char *kwnames[] = { | |
3074 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL | |
3075 | }; | |
3076 | ||
3077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3080 | { | |
3081 | arg2 = (int)(SWIG_As_int(obj1)); | |
3082 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3083 | } | |
3084 | { | |
3085 | arg3 = (int)(SWIG_As_int(obj2)); | |
3086 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3087 | } | |
3088 | if (obj3) { | |
3089 | { | |
3090 | arg4 = &temp4; | |
3091 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
3092 | } | |
3093 | } | |
3094 | if (obj4) { | |
3095 | { | |
3096 | arg5 = &temp5; | |
3097 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
3098 | } | |
3099 | } | |
3100 | { | |
3101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3102 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); | |
3103 | ||
3104 | wxPyEndAllowThreads(__tstate); | |
3105 | if (PyErr_Occurred()) SWIG_fail; | |
3106 | } | |
3107 | Py_INCREF(Py_None); resultobj = Py_None; | |
3108 | return resultobj; | |
3109 | fail: | |
3110 | return NULL; | |
3111 | } | |
3112 | ||
3113 | ||
3114 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3115 | PyObject *resultobj; | |
3116 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3117 | int arg2 ; | |
3118 | wxColour *arg3 = 0 ; | |
3119 | wxColour temp3 ; | |
3120 | PyObject * obj0 = 0 ; | |
3121 | PyObject * obj1 = 0 ; | |
3122 | PyObject * obj2 = 0 ; | |
3123 | char *kwnames[] = { | |
3124 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL | |
3125 | }; | |
3126 | ||
3127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3130 | { | |
3131 | arg2 = (int)(SWIG_As_int(obj1)); | |
3132 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3133 | } | |
3134 | { | |
3135 | arg3 = &temp3; | |
3136 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3137 | } | |
3138 | { | |
3139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3140 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); | |
3141 | ||
3142 | wxPyEndAllowThreads(__tstate); | |
3143 | if (PyErr_Occurred()) SWIG_fail; | |
3144 | } | |
3145 | Py_INCREF(Py_None); resultobj = Py_None; | |
3146 | return resultobj; | |
3147 | fail: | |
3148 | return NULL; | |
3149 | } | |
3150 | ||
3151 | ||
3152 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3153 | PyObject *resultobj; | |
3154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3155 | int arg2 ; | |
3156 | wxColour *arg3 = 0 ; | |
3157 | wxColour temp3 ; | |
3158 | PyObject * obj0 = 0 ; | |
3159 | PyObject * obj1 = 0 ; | |
3160 | PyObject * obj2 = 0 ; | |
3161 | char *kwnames[] = { | |
3162 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL | |
3163 | }; | |
3164 | ||
3165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3168 | { | |
3169 | arg2 = (int)(SWIG_As_int(obj1)); | |
3170 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3171 | } | |
3172 | { | |
3173 | arg3 = &temp3; | |
3174 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3175 | } | |
3176 | { | |
3177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3178 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); | |
3179 | ||
3180 | wxPyEndAllowThreads(__tstate); | |
3181 | if (PyErr_Occurred()) SWIG_fail; | |
3182 | } | |
3183 | Py_INCREF(Py_None); resultobj = Py_None; | |
3184 | return resultobj; | |
3185 | fail: | |
3186 | return NULL; | |
3187 | } | |
3188 | ||
3189 | ||
3190 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { | |
3191 | PyObject *resultobj; | |
3192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3193 | int arg2 ; | |
3194 | int arg3 ; | |
3195 | int result; | |
3196 | PyObject * obj0 = 0 ; | |
3197 | PyObject * obj1 = 0 ; | |
3198 | PyObject * obj2 = 0 ; | |
3199 | char *kwnames[] = { | |
3200 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
3201 | }; | |
3202 | ||
3203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3204 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3205 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3206 | { | |
3207 | arg2 = (int)(SWIG_As_int(obj1)); | |
3208 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3209 | } | |
3210 | { | |
3211 | arg3 = (int)(SWIG_As_int(obj2)); | |
3212 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3213 | } | |
3214 | { | |
3215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3216 | result = (int)(arg1)->MarkerAdd(arg2,arg3); | |
3217 | ||
3218 | wxPyEndAllowThreads(__tstate); | |
3219 | if (PyErr_Occurred()) SWIG_fail; | |
3220 | } | |
3221 | { | |
3222 | resultobj = SWIG_From_int((int)(result)); | |
3223 | } | |
3224 | return resultobj; | |
3225 | fail: | |
3226 | return NULL; | |
3227 | } | |
3228 | ||
3229 | ||
3230 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { | |
3231 | PyObject *resultobj; | |
3232 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3233 | int arg2 ; | |
3234 | int arg3 ; | |
3235 | PyObject * obj0 = 0 ; | |
3236 | PyObject * obj1 = 0 ; | |
3237 | PyObject * obj2 = 0 ; | |
3238 | char *kwnames[] = { | |
3239 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
3240 | }; | |
3241 | ||
3242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3243 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3244 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3245 | { | |
3246 | arg2 = (int)(SWIG_As_int(obj1)); | |
3247 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3248 | } | |
3249 | { | |
3250 | arg3 = (int)(SWIG_As_int(obj2)); | |
3251 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3252 | } | |
3253 | { | |
3254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3255 | (arg1)->MarkerDelete(arg2,arg3); | |
3256 | ||
3257 | wxPyEndAllowThreads(__tstate); | |
3258 | if (PyErr_Occurred()) SWIG_fail; | |
3259 | } | |
3260 | Py_INCREF(Py_None); resultobj = Py_None; | |
3261 | return resultobj; | |
3262 | fail: | |
3263 | return NULL; | |
3264 | } | |
3265 | ||
3266 | ||
3267 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
3268 | PyObject *resultobj; | |
3269 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3270 | int arg2 ; | |
3271 | PyObject * obj0 = 0 ; | |
3272 | PyObject * obj1 = 0 ; | |
3273 | char *kwnames[] = { | |
3274 | (char *) "self",(char *) "markerNumber", NULL | |
3275 | }; | |
3276 | ||
3277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; | |
3278 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3279 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3280 | { | |
3281 | arg2 = (int)(SWIG_As_int(obj1)); | |
3282 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3283 | } | |
3284 | { | |
3285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3286 | (arg1)->MarkerDeleteAll(arg2); | |
3287 | ||
3288 | wxPyEndAllowThreads(__tstate); | |
3289 | if (PyErr_Occurred()) SWIG_fail; | |
3290 | } | |
3291 | Py_INCREF(Py_None); resultobj = Py_None; | |
3292 | return resultobj; | |
3293 | fail: | |
3294 | return NULL; | |
3295 | } | |
3296 | ||
3297 | ||
3298 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { | |
3299 | PyObject *resultobj; | |
3300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3301 | int arg2 ; | |
3302 | int result; | |
3303 | PyObject * obj0 = 0 ; | |
3304 | PyObject * obj1 = 0 ; | |
3305 | char *kwnames[] = { | |
3306 | (char *) "self",(char *) "line", NULL | |
3307 | }; | |
3308 | ||
3309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; | |
3310 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3311 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3312 | { | |
3313 | arg2 = (int)(SWIG_As_int(obj1)); | |
3314 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3315 | } | |
3316 | { | |
3317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3318 | result = (int)(arg1)->MarkerGet(arg2); | |
3319 | ||
3320 | wxPyEndAllowThreads(__tstate); | |
3321 | if (PyErr_Occurred()) SWIG_fail; | |
3322 | } | |
3323 | { | |
3324 | resultobj = SWIG_From_int((int)(result)); | |
3325 | } | |
3326 | return resultobj; | |
3327 | fail: | |
3328 | return NULL; | |
3329 | } | |
3330 | ||
3331 | ||
3332 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { | |
3333 | PyObject *resultobj; | |
3334 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3335 | int arg2 ; | |
3336 | int arg3 ; | |
3337 | int result; | |
3338 | PyObject * obj0 = 0 ; | |
3339 | PyObject * obj1 = 0 ; | |
3340 | PyObject * obj2 = 0 ; | |
3341 | char *kwnames[] = { | |
3342 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
3343 | }; | |
3344 | ||
3345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3348 | { | |
3349 | arg2 = (int)(SWIG_As_int(obj1)); | |
3350 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3351 | } | |
3352 | { | |
3353 | arg3 = (int)(SWIG_As_int(obj2)); | |
3354 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3355 | } | |
3356 | { | |
3357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3358 | result = (int)(arg1)->MarkerNext(arg2,arg3); | |
3359 | ||
3360 | wxPyEndAllowThreads(__tstate); | |
3361 | if (PyErr_Occurred()) SWIG_fail; | |
3362 | } | |
3363 | { | |
3364 | resultobj = SWIG_From_int((int)(result)); | |
3365 | } | |
3366 | return resultobj; | |
3367 | fail: | |
3368 | return NULL; | |
3369 | } | |
3370 | ||
3371 | ||
3372 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { | |
3373 | PyObject *resultobj; | |
3374 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3375 | int arg2 ; | |
3376 | int arg3 ; | |
3377 | int result; | |
3378 | PyObject * obj0 = 0 ; | |
3379 | PyObject * obj1 = 0 ; | |
3380 | PyObject * obj2 = 0 ; | |
3381 | char *kwnames[] = { | |
3382 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
3383 | }; | |
3384 | ||
3385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3386 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3387 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3388 | { | |
3389 | arg2 = (int)(SWIG_As_int(obj1)); | |
3390 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3391 | } | |
3392 | { | |
3393 | arg3 = (int)(SWIG_As_int(obj2)); | |
3394 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3395 | } | |
3396 | { | |
3397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3398 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); | |
3399 | ||
3400 | wxPyEndAllowThreads(__tstate); | |
3401 | if (PyErr_Occurred()) SWIG_fail; | |
3402 | } | |
3403 | { | |
3404 | resultobj = SWIG_From_int((int)(result)); | |
3405 | } | |
3406 | return resultobj; | |
3407 | fail: | |
3408 | return NULL; | |
3409 | } | |
3410 | ||
3411 | ||
3412 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { | |
3413 | PyObject *resultobj; | |
3414 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3415 | int arg2 ; | |
3416 | wxBitmap *arg3 = 0 ; | |
3417 | PyObject * obj0 = 0 ; | |
3418 | PyObject * obj1 = 0 ; | |
3419 | PyObject * obj2 = 0 ; | |
3420 | char *kwnames[] = { | |
3421 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL | |
3422 | }; | |
3423 | ||
3424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3425 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3426 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3427 | { | |
3428 | arg2 = (int)(SWIG_As_int(obj1)); | |
3429 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3430 | } | |
3431 | { | |
3432 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
3433 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3434 | if (arg3 == NULL) { | |
3435 | SWIG_null_ref("wxBitmap"); | |
3436 | } | |
3437 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3438 | } | |
3439 | { | |
3440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3441 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); | |
3442 | ||
3443 | wxPyEndAllowThreads(__tstate); | |
3444 | if (PyErr_Occurred()) SWIG_fail; | |
3445 | } | |
3446 | Py_INCREF(Py_None); resultobj = Py_None; | |
3447 | return resultobj; | |
3448 | fail: | |
3449 | return NULL; | |
3450 | } | |
3451 | ||
3452 | ||
3453 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { | |
3454 | PyObject *resultobj; | |
3455 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3456 | int arg2 ; | |
3457 | int arg3 ; | |
3458 | PyObject * obj0 = 0 ; | |
3459 | PyObject * obj1 = 0 ; | |
3460 | PyObject * obj2 = 0 ; | |
3461 | char *kwnames[] = { | |
3462 | (char *) "self",(char *) "margin",(char *) "marginType", NULL | |
3463 | }; | |
3464 | ||
3465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3466 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3467 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3468 | { | |
3469 | arg2 = (int)(SWIG_As_int(obj1)); | |
3470 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3471 | } | |
3472 | { | |
3473 | arg3 = (int)(SWIG_As_int(obj2)); | |
3474 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3475 | } | |
3476 | { | |
3477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3478 | (arg1)->SetMarginType(arg2,arg3); | |
3479 | ||
3480 | wxPyEndAllowThreads(__tstate); | |
3481 | if (PyErr_Occurred()) SWIG_fail; | |
3482 | } | |
3483 | Py_INCREF(Py_None); resultobj = Py_None; | |
3484 | return resultobj; | |
3485 | fail: | |
3486 | return NULL; | |
3487 | } | |
3488 | ||
3489 | ||
3490 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { | |
3491 | PyObject *resultobj; | |
3492 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3493 | int arg2 ; | |
3494 | int result; | |
3495 | PyObject * obj0 = 0 ; | |
3496 | PyObject * obj1 = 0 ; | |
3497 | char *kwnames[] = { | |
3498 | (char *) "self",(char *) "margin", NULL | |
3499 | }; | |
3500 | ||
3501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; | |
3502 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3503 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3504 | { | |
3505 | arg2 = (int)(SWIG_As_int(obj1)); | |
3506 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3507 | } | |
3508 | { | |
3509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3510 | result = (int)(arg1)->GetMarginType(arg2); | |
3511 | ||
3512 | wxPyEndAllowThreads(__tstate); | |
3513 | if (PyErr_Occurred()) SWIG_fail; | |
3514 | } | |
3515 | { | |
3516 | resultobj = SWIG_From_int((int)(result)); | |
3517 | } | |
3518 | return resultobj; | |
3519 | fail: | |
3520 | return NULL; | |
3521 | } | |
3522 | ||
3523 | ||
3524 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
3525 | PyObject *resultobj; | |
3526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3527 | int arg2 ; | |
3528 | int arg3 ; | |
3529 | PyObject * obj0 = 0 ; | |
3530 | PyObject * obj1 = 0 ; | |
3531 | PyObject * obj2 = 0 ; | |
3532 | char *kwnames[] = { | |
3533 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL | |
3534 | }; | |
3535 | ||
3536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3539 | { | |
3540 | arg2 = (int)(SWIG_As_int(obj1)); | |
3541 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3542 | } | |
3543 | { | |
3544 | arg3 = (int)(SWIG_As_int(obj2)); | |
3545 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3546 | } | |
3547 | { | |
3548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3549 | (arg1)->SetMarginWidth(arg2,arg3); | |
3550 | ||
3551 | wxPyEndAllowThreads(__tstate); | |
3552 | if (PyErr_Occurred()) SWIG_fail; | |
3553 | } | |
3554 | Py_INCREF(Py_None); resultobj = Py_None; | |
3555 | return resultobj; | |
3556 | fail: | |
3557 | return NULL; | |
3558 | } | |
3559 | ||
3560 | ||
3561 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
3562 | PyObject *resultobj; | |
3563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3564 | int arg2 ; | |
3565 | int result; | |
3566 | PyObject * obj0 = 0 ; | |
3567 | PyObject * obj1 = 0 ; | |
3568 | char *kwnames[] = { | |
3569 | (char *) "self",(char *) "margin", NULL | |
3570 | }; | |
3571 | ||
3572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; | |
3573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3575 | { | |
3576 | arg2 = (int)(SWIG_As_int(obj1)); | |
3577 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3578 | } | |
3579 | { | |
3580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3581 | result = (int)(arg1)->GetMarginWidth(arg2); | |
3582 | ||
3583 | wxPyEndAllowThreads(__tstate); | |
3584 | if (PyErr_Occurred()) SWIG_fail; | |
3585 | } | |
3586 | { | |
3587 | resultobj = SWIG_From_int((int)(result)); | |
3588 | } | |
3589 | return resultobj; | |
3590 | fail: | |
3591 | return NULL; | |
3592 | } | |
3593 | ||
3594 | ||
3595 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
3596 | PyObject *resultobj; | |
3597 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3598 | int arg2 ; | |
3599 | int arg3 ; | |
3600 | PyObject * obj0 = 0 ; | |
3601 | PyObject * obj1 = 0 ; | |
3602 | PyObject * obj2 = 0 ; | |
3603 | char *kwnames[] = { | |
3604 | (char *) "self",(char *) "margin",(char *) "mask", NULL | |
3605 | }; | |
3606 | ||
3607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3610 | { | |
3611 | arg2 = (int)(SWIG_As_int(obj1)); | |
3612 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3613 | } | |
3614 | { | |
3615 | arg3 = (int)(SWIG_As_int(obj2)); | |
3616 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3617 | } | |
3618 | { | |
3619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3620 | (arg1)->SetMarginMask(arg2,arg3); | |
3621 | ||
3622 | wxPyEndAllowThreads(__tstate); | |
3623 | if (PyErr_Occurred()) SWIG_fail; | |
3624 | } | |
3625 | Py_INCREF(Py_None); resultobj = Py_None; | |
3626 | return resultobj; | |
3627 | fail: | |
3628 | return NULL; | |
3629 | } | |
3630 | ||
3631 | ||
3632 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
3633 | PyObject *resultobj; | |
3634 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3635 | int arg2 ; | |
3636 | int result; | |
3637 | PyObject * obj0 = 0 ; | |
3638 | PyObject * obj1 = 0 ; | |
3639 | char *kwnames[] = { | |
3640 | (char *) "self",(char *) "margin", NULL | |
3641 | }; | |
3642 | ||
3643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; | |
3644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3646 | { | |
3647 | arg2 = (int)(SWIG_As_int(obj1)); | |
3648 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3649 | } | |
3650 | { | |
3651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3652 | result = (int)(arg1)->GetMarginMask(arg2); | |
3653 | ||
3654 | wxPyEndAllowThreads(__tstate); | |
3655 | if (PyErr_Occurred()) SWIG_fail; | |
3656 | } | |
3657 | { | |
3658 | resultobj = SWIG_From_int((int)(result)); | |
3659 | } | |
3660 | return resultobj; | |
3661 | fail: | |
3662 | return NULL; | |
3663 | } | |
3664 | ||
3665 | ||
3666 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { | |
3667 | PyObject *resultobj; | |
3668 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3669 | int arg2 ; | |
3670 | bool arg3 ; | |
3671 | PyObject * obj0 = 0 ; | |
3672 | PyObject * obj1 = 0 ; | |
3673 | PyObject * obj2 = 0 ; | |
3674 | char *kwnames[] = { | |
3675 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL | |
3676 | }; | |
3677 | ||
3678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3679 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3680 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3681 | { | |
3682 | arg2 = (int)(SWIG_As_int(obj1)); | |
3683 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3684 | } | |
3685 | { | |
3686 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3687 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3688 | } | |
3689 | { | |
3690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3691 | (arg1)->SetMarginSensitive(arg2,arg3); | |
3692 | ||
3693 | wxPyEndAllowThreads(__tstate); | |
3694 | if (PyErr_Occurred()) SWIG_fail; | |
3695 | } | |
3696 | Py_INCREF(Py_None); resultobj = Py_None; | |
3697 | return resultobj; | |
3698 | fail: | |
3699 | return NULL; | |
3700 | } | |
3701 | ||
3702 | ||
3703 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { | |
3704 | PyObject *resultobj; | |
3705 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3706 | int arg2 ; | |
3707 | bool result; | |
3708 | PyObject * obj0 = 0 ; | |
3709 | PyObject * obj1 = 0 ; | |
3710 | char *kwnames[] = { | |
3711 | (char *) "self",(char *) "margin", NULL | |
3712 | }; | |
3713 | ||
3714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; | |
3715 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3716 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3717 | { | |
3718 | arg2 = (int)(SWIG_As_int(obj1)); | |
3719 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3720 | } | |
3721 | { | |
3722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3723 | result = (bool)(arg1)->GetMarginSensitive(arg2); | |
3724 | ||
3725 | wxPyEndAllowThreads(__tstate); | |
3726 | if (PyErr_Occurred()) SWIG_fail; | |
3727 | } | |
3728 | { | |
3729 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3730 | } | |
3731 | return resultobj; | |
3732 | fail: | |
3733 | return NULL; | |
3734 | } | |
3735 | ||
3736 | ||
3737 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
3738 | PyObject *resultobj; | |
3739 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3740 | PyObject * obj0 = 0 ; | |
3741 | char *kwnames[] = { | |
3742 | (char *) "self", NULL | |
3743 | }; | |
3744 | ||
3745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
3746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3748 | { | |
3749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3750 | (arg1)->StyleClearAll(); | |
3751 | ||
3752 | wxPyEndAllowThreads(__tstate); | |
3753 | if (PyErr_Occurred()) SWIG_fail; | |
3754 | } | |
3755 | Py_INCREF(Py_None); resultobj = Py_None; | |
3756 | return resultobj; | |
3757 | fail: | |
3758 | return NULL; | |
3759 | } | |
3760 | ||
3761 | ||
3762 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3763 | PyObject *resultobj; | |
3764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3765 | int arg2 ; | |
3766 | wxColour *arg3 = 0 ; | |
3767 | wxColour temp3 ; | |
3768 | PyObject * obj0 = 0 ; | |
3769 | PyObject * obj1 = 0 ; | |
3770 | PyObject * obj2 = 0 ; | |
3771 | char *kwnames[] = { | |
3772 | (char *) "self",(char *) "style",(char *) "fore", NULL | |
3773 | }; | |
3774 | ||
3775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3778 | { | |
3779 | arg2 = (int)(SWIG_As_int(obj1)); | |
3780 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3781 | } | |
3782 | { | |
3783 | arg3 = &temp3; | |
3784 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3785 | } | |
3786 | { | |
3787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3788 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); | |
3789 | ||
3790 | wxPyEndAllowThreads(__tstate); | |
3791 | if (PyErr_Occurred()) SWIG_fail; | |
3792 | } | |
3793 | Py_INCREF(Py_None); resultobj = Py_None; | |
3794 | return resultobj; | |
3795 | fail: | |
3796 | return NULL; | |
3797 | } | |
3798 | ||
3799 | ||
3800 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3801 | PyObject *resultobj; | |
3802 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3803 | int arg2 ; | |
3804 | wxColour *arg3 = 0 ; | |
3805 | wxColour temp3 ; | |
3806 | PyObject * obj0 = 0 ; | |
3807 | PyObject * obj1 = 0 ; | |
3808 | PyObject * obj2 = 0 ; | |
3809 | char *kwnames[] = { | |
3810 | (char *) "self",(char *) "style",(char *) "back", NULL | |
3811 | }; | |
3812 | ||
3813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3814 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3815 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3816 | { | |
3817 | arg2 = (int)(SWIG_As_int(obj1)); | |
3818 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3819 | } | |
3820 | { | |
3821 | arg3 = &temp3; | |
3822 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3823 | } | |
3824 | { | |
3825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3826 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); | |
3827 | ||
3828 | wxPyEndAllowThreads(__tstate); | |
3829 | if (PyErr_Occurred()) SWIG_fail; | |
3830 | } | |
3831 | Py_INCREF(Py_None); resultobj = Py_None; | |
3832 | return resultobj; | |
3833 | fail: | |
3834 | return NULL; | |
3835 | } | |
3836 | ||
3837 | ||
3838 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { | |
3839 | PyObject *resultobj; | |
3840 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3841 | int arg2 ; | |
3842 | bool arg3 ; | |
3843 | PyObject * obj0 = 0 ; | |
3844 | PyObject * obj1 = 0 ; | |
3845 | PyObject * obj2 = 0 ; | |
3846 | char *kwnames[] = { | |
3847 | (char *) "self",(char *) "style",(char *) "bold", NULL | |
3848 | }; | |
3849 | ||
3850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3853 | { | |
3854 | arg2 = (int)(SWIG_As_int(obj1)); | |
3855 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3856 | } | |
3857 | { | |
3858 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3859 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3860 | } | |
3861 | { | |
3862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3863 | (arg1)->StyleSetBold(arg2,arg3); | |
3864 | ||
3865 | wxPyEndAllowThreads(__tstate); | |
3866 | if (PyErr_Occurred()) SWIG_fail; | |
3867 | } | |
3868 | Py_INCREF(Py_None); resultobj = Py_None; | |
3869 | return resultobj; | |
3870 | fail: | |
3871 | return NULL; | |
3872 | } | |
3873 | ||
3874 | ||
3875 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { | |
3876 | PyObject *resultobj; | |
3877 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3878 | int arg2 ; | |
3879 | bool arg3 ; | |
3880 | PyObject * obj0 = 0 ; | |
3881 | PyObject * obj1 = 0 ; | |
3882 | PyObject * obj2 = 0 ; | |
3883 | char *kwnames[] = { | |
3884 | (char *) "self",(char *) "style",(char *) "italic", NULL | |
3885 | }; | |
3886 | ||
3887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3888 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3889 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3890 | { | |
3891 | arg2 = (int)(SWIG_As_int(obj1)); | |
3892 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3893 | } | |
3894 | { | |
3895 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3896 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3897 | } | |
3898 | { | |
3899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3900 | (arg1)->StyleSetItalic(arg2,arg3); | |
3901 | ||
3902 | wxPyEndAllowThreads(__tstate); | |
3903 | if (PyErr_Occurred()) SWIG_fail; | |
3904 | } | |
3905 | Py_INCREF(Py_None); resultobj = Py_None; | |
3906 | return resultobj; | |
3907 | fail: | |
3908 | return NULL; | |
3909 | } | |
3910 | ||
3911 | ||
3912 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { | |
3913 | PyObject *resultobj; | |
3914 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3915 | int arg2 ; | |
3916 | int arg3 ; | |
3917 | PyObject * obj0 = 0 ; | |
3918 | PyObject * obj1 = 0 ; | |
3919 | PyObject * obj2 = 0 ; | |
3920 | char *kwnames[] = { | |
3921 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL | |
3922 | }; | |
3923 | ||
3924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3925 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3926 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3927 | { | |
3928 | arg2 = (int)(SWIG_As_int(obj1)); | |
3929 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3930 | } | |
3931 | { | |
3932 | arg3 = (int)(SWIG_As_int(obj2)); | |
3933 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3934 | } | |
3935 | { | |
3936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3937 | (arg1)->StyleSetSize(arg2,arg3); | |
3938 | ||
3939 | wxPyEndAllowThreads(__tstate); | |
3940 | if (PyErr_Occurred()) SWIG_fail; | |
3941 | } | |
3942 | Py_INCREF(Py_None); resultobj = Py_None; | |
3943 | return resultobj; | |
3944 | fail: | |
3945 | return NULL; | |
3946 | } | |
3947 | ||
3948 | ||
3949 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { | |
3950 | PyObject *resultobj; | |
3951 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3952 | int arg2 ; | |
3953 | wxString *arg3 = 0 ; | |
3954 | bool temp3 = false ; | |
3955 | PyObject * obj0 = 0 ; | |
3956 | PyObject * obj1 = 0 ; | |
3957 | PyObject * obj2 = 0 ; | |
3958 | char *kwnames[] = { | |
3959 | (char *) "self",(char *) "style",(char *) "fontName", NULL | |
3960 | }; | |
3961 | ||
3962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3965 | { | |
3966 | arg2 = (int)(SWIG_As_int(obj1)); | |
3967 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3968 | } | |
3969 | { | |
3970 | arg3 = wxString_in_helper(obj2); | |
3971 | if (arg3 == NULL) SWIG_fail; | |
3972 | temp3 = true; | |
3973 | } | |
3974 | { | |
3975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3976 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); | |
3977 | ||
3978 | wxPyEndAllowThreads(__tstate); | |
3979 | if (PyErr_Occurred()) SWIG_fail; | |
3980 | } | |
3981 | Py_INCREF(Py_None); resultobj = Py_None; | |
3982 | { | |
3983 | if (temp3) | |
3984 | delete arg3; | |
3985 | } | |
3986 | return resultobj; | |
3987 | fail: | |
3988 | { | |
3989 | if (temp3) | |
3990 | delete arg3; | |
3991 | } | |
3992 | return NULL; | |
3993 | } | |
3994 | ||
3995 | ||
3996 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { | |
3997 | PyObject *resultobj; | |
3998 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3999 | int arg2 ; | |
4000 | bool arg3 ; | |
4001 | PyObject * obj0 = 0 ; | |
4002 | PyObject * obj1 = 0 ; | |
4003 | PyObject * obj2 = 0 ; | |
4004 | char *kwnames[] = { | |
4005 | (char *) "self",(char *) "style",(char *) "filled", NULL | |
4006 | }; | |
4007 | ||
4008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4011 | { | |
4012 | arg2 = (int)(SWIG_As_int(obj1)); | |
4013 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4014 | } | |
4015 | { | |
4016 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4017 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4018 | } | |
4019 | { | |
4020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4021 | (arg1)->StyleSetEOLFilled(arg2,arg3); | |
4022 | ||
4023 | wxPyEndAllowThreads(__tstate); | |
4024 | if (PyErr_Occurred()) SWIG_fail; | |
4025 | } | |
4026 | Py_INCREF(Py_None); resultobj = Py_None; | |
4027 | return resultobj; | |
4028 | fail: | |
4029 | return NULL; | |
4030 | } | |
4031 | ||
4032 | ||
4033 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { | |
4034 | PyObject *resultobj; | |
4035 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4036 | PyObject * obj0 = 0 ; | |
4037 | char *kwnames[] = { | |
4038 | (char *) "self", NULL | |
4039 | }; | |
4040 | ||
4041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; | |
4042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4044 | { | |
4045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4046 | (arg1)->StyleResetDefault(); | |
4047 | ||
4048 | wxPyEndAllowThreads(__tstate); | |
4049 | if (PyErr_Occurred()) SWIG_fail; | |
4050 | } | |
4051 | Py_INCREF(Py_None); resultobj = Py_None; | |
4052 | return resultobj; | |
4053 | fail: | |
4054 | return NULL; | |
4055 | } | |
4056 | ||
4057 | ||
4058 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { | |
4059 | PyObject *resultobj; | |
4060 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4061 | int arg2 ; | |
4062 | bool arg3 ; | |
4063 | PyObject * obj0 = 0 ; | |
4064 | PyObject * obj1 = 0 ; | |
4065 | PyObject * obj2 = 0 ; | |
4066 | char *kwnames[] = { | |
4067 | (char *) "self",(char *) "style",(char *) "underline", NULL | |
4068 | }; | |
4069 | ||
4070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4073 | { | |
4074 | arg2 = (int)(SWIG_As_int(obj1)); | |
4075 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4076 | } | |
4077 | { | |
4078 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4079 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4080 | } | |
4081 | { | |
4082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4083 | (arg1)->StyleSetUnderline(arg2,arg3); | |
4084 | ||
4085 | wxPyEndAllowThreads(__tstate); | |
4086 | if (PyErr_Occurred()) SWIG_fail; | |
4087 | } | |
4088 | Py_INCREF(Py_None); resultobj = Py_None; | |
4089 | return resultobj; | |
4090 | fail: | |
4091 | return NULL; | |
4092 | } | |
4093 | ||
4094 | ||
4095 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
4096 | PyObject *resultobj; | |
4097 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4098 | int arg2 ; | |
4099 | int arg3 ; | |
4100 | PyObject * obj0 = 0 ; | |
4101 | PyObject * obj1 = 0 ; | |
4102 | PyObject * obj2 = 0 ; | |
4103 | char *kwnames[] = { | |
4104 | (char *) "self",(char *) "style",(char *) "caseForce", NULL | |
4105 | }; | |
4106 | ||
4107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4110 | { | |
4111 | arg2 = (int)(SWIG_As_int(obj1)); | |
4112 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4113 | } | |
4114 | { | |
4115 | arg3 = (int)(SWIG_As_int(obj2)); | |
4116 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4117 | } | |
4118 | { | |
4119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4120 | (arg1)->StyleSetCase(arg2,arg3); | |
4121 | ||
4122 | wxPyEndAllowThreads(__tstate); | |
4123 | if (PyErr_Occurred()) SWIG_fail; | |
4124 | } | |
4125 | Py_INCREF(Py_None); resultobj = Py_None; | |
4126 | return resultobj; | |
4127 | fail: | |
4128 | return NULL; | |
4129 | } | |
4130 | ||
4131 | ||
4132 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { | |
4133 | PyObject *resultobj; | |
4134 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4135 | int arg2 ; | |
4136 | int arg3 ; | |
4137 | PyObject * obj0 = 0 ; | |
4138 | PyObject * obj1 = 0 ; | |
4139 | PyObject * obj2 = 0 ; | |
4140 | char *kwnames[] = { | |
4141 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
4142 | }; | |
4143 | ||
4144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4147 | { | |
4148 | arg2 = (int)(SWIG_As_int(obj1)); | |
4149 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4150 | } | |
4151 | { | |
4152 | arg3 = (int)(SWIG_As_int(obj2)); | |
4153 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4154 | } | |
4155 | { | |
4156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4157 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
4158 | ||
4159 | wxPyEndAllowThreads(__tstate); | |
4160 | if (PyErr_Occurred()) SWIG_fail; | |
4161 | } | |
4162 | Py_INCREF(Py_None); resultobj = Py_None; | |
4163 | return resultobj; | |
4164 | fail: | |
4165 | return NULL; | |
4166 | } | |
4167 | ||
4168 | ||
4169 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { | |
4170 | PyObject *resultobj; | |
4171 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4172 | int arg2 ; | |
4173 | bool arg3 ; | |
4174 | PyObject * obj0 = 0 ; | |
4175 | PyObject * obj1 = 0 ; | |
4176 | PyObject * obj2 = 0 ; | |
4177 | char *kwnames[] = { | |
4178 | (char *) "self",(char *) "style",(char *) "hotspot", NULL | |
4179 | }; | |
4180 | ||
4181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4184 | { | |
4185 | arg2 = (int)(SWIG_As_int(obj1)); | |
4186 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4187 | } | |
4188 | { | |
4189 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4190 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4191 | } | |
4192 | { | |
4193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4194 | (arg1)->StyleSetHotSpot(arg2,arg3); | |
4195 | ||
4196 | wxPyEndAllowThreads(__tstate); | |
4197 | if (PyErr_Occurred()) SWIG_fail; | |
4198 | } | |
4199 | Py_INCREF(Py_None); resultobj = Py_None; | |
4200 | return resultobj; | |
4201 | fail: | |
4202 | return NULL; | |
4203 | } | |
4204 | ||
4205 | ||
4206 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4207 | PyObject *resultobj; | |
4208 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4209 | bool arg2 ; | |
4210 | wxColour *arg3 = 0 ; | |
4211 | wxColour temp3 ; | |
4212 | PyObject * obj0 = 0 ; | |
4213 | PyObject * obj1 = 0 ; | |
4214 | PyObject * obj2 = 0 ; | |
4215 | char *kwnames[] = { | |
4216 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
4217 | }; | |
4218 | ||
4219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4222 | { | |
4223 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4224 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4225 | } | |
4226 | { | |
4227 | arg3 = &temp3; | |
4228 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4229 | } | |
4230 | { | |
4231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4232 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); | |
4233 | ||
4234 | wxPyEndAllowThreads(__tstate); | |
4235 | if (PyErr_Occurred()) SWIG_fail; | |
4236 | } | |
4237 | Py_INCREF(Py_None); resultobj = Py_None; | |
4238 | return resultobj; | |
4239 | fail: | |
4240 | return NULL; | |
4241 | } | |
4242 | ||
4243 | ||
4244 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4245 | PyObject *resultobj; | |
4246 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4247 | bool arg2 ; | |
4248 | wxColour *arg3 = 0 ; | |
4249 | wxColour temp3 ; | |
4250 | PyObject * obj0 = 0 ; | |
4251 | PyObject * obj1 = 0 ; | |
4252 | PyObject * obj2 = 0 ; | |
4253 | char *kwnames[] = { | |
4254 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
4255 | }; | |
4256 | ||
4257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4258 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4259 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4260 | { | |
4261 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4262 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4263 | } | |
4264 | { | |
4265 | arg3 = &temp3; | |
4266 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4267 | } | |
4268 | { | |
4269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4270 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); | |
4271 | ||
4272 | wxPyEndAllowThreads(__tstate); | |
4273 | if (PyErr_Occurred()) SWIG_fail; | |
4274 | } | |
4275 | Py_INCREF(Py_None); resultobj = Py_None; | |
4276 | return resultobj; | |
4277 | fail: | |
4278 | return NULL; | |
4279 | } | |
4280 | ||
4281 | ||
4282 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4283 | PyObject *resultobj; | |
4284 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4285 | wxColour *arg2 = 0 ; | |
4286 | wxColour temp2 ; | |
4287 | PyObject * obj0 = 0 ; | |
4288 | PyObject * obj1 = 0 ; | |
4289 | char *kwnames[] = { | |
4290 | (char *) "self",(char *) "fore", NULL | |
4291 | }; | |
4292 | ||
4293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; | |
4294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4296 | { | |
4297 | arg2 = &temp2; | |
4298 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4299 | } | |
4300 | { | |
4301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4302 | (arg1)->SetCaretForeground((wxColour const &)*arg2); | |
4303 | ||
4304 | wxPyEndAllowThreads(__tstate); | |
4305 | if (PyErr_Occurred()) SWIG_fail; | |
4306 | } | |
4307 | Py_INCREF(Py_None); resultobj = Py_None; | |
4308 | return resultobj; | |
4309 | fail: | |
4310 | return NULL; | |
4311 | } | |
4312 | ||
4313 | ||
4314 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { | |
4315 | PyObject *resultobj; | |
4316 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4317 | int arg2 ; | |
4318 | int arg3 ; | |
4319 | int arg4 ; | |
4320 | PyObject * obj0 = 0 ; | |
4321 | PyObject * obj1 = 0 ; | |
4322 | PyObject * obj2 = 0 ; | |
4323 | PyObject * obj3 = 0 ; | |
4324 | char *kwnames[] = { | |
4325 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL | |
4326 | }; | |
4327 | ||
4328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
4329 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4330 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4331 | { | |
4332 | arg2 = (int)(SWIG_As_int(obj1)); | |
4333 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4334 | } | |
4335 | { | |
4336 | arg3 = (int)(SWIG_As_int(obj2)); | |
4337 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4338 | } | |
4339 | { | |
4340 | arg4 = (int)(SWIG_As_int(obj3)); | |
4341 | if (SWIG_arg_fail(4)) SWIG_fail; | |
4342 | } | |
4343 | { | |
4344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4345 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); | |
4346 | ||
4347 | wxPyEndAllowThreads(__tstate); | |
4348 | if (PyErr_Occurred()) SWIG_fail; | |
4349 | } | |
4350 | Py_INCREF(Py_None); resultobj = Py_None; | |
4351 | return resultobj; | |
4352 | fail: | |
4353 | return NULL; | |
4354 | } | |
4355 | ||
4356 | ||
4357 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { | |
4358 | PyObject *resultobj; | |
4359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4360 | int arg2 ; | |
4361 | int arg3 ; | |
4362 | PyObject * obj0 = 0 ; | |
4363 | PyObject * obj1 = 0 ; | |
4364 | PyObject * obj2 = 0 ; | |
4365 | char *kwnames[] = { | |
4366 | (char *) "self",(char *) "key",(char *) "modifiers", NULL | |
4367 | }; | |
4368 | ||
4369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4372 | { | |
4373 | arg2 = (int)(SWIG_As_int(obj1)); | |
4374 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4375 | } | |
4376 | { | |
4377 | arg3 = (int)(SWIG_As_int(obj2)); | |
4378 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4379 | } | |
4380 | { | |
4381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4382 | (arg1)->CmdKeyClear(arg2,arg3); | |
4383 | ||
4384 | wxPyEndAllowThreads(__tstate); | |
4385 | if (PyErr_Occurred()) SWIG_fail; | |
4386 | } | |
4387 | Py_INCREF(Py_None); resultobj = Py_None; | |
4388 | return resultobj; | |
4389 | fail: | |
4390 | return NULL; | |
4391 | } | |
4392 | ||
4393 | ||
4394 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
4395 | PyObject *resultobj; | |
4396 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4397 | PyObject * obj0 = 0 ; | |
4398 | char *kwnames[] = { | |
4399 | (char *) "self", NULL | |
4400 | }; | |
4401 | ||
4402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; | |
4403 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4404 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4405 | { | |
4406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4407 | (arg1)->CmdKeyClearAll(); | |
4408 | ||
4409 | wxPyEndAllowThreads(__tstate); | |
4410 | if (PyErr_Occurred()) SWIG_fail; | |
4411 | } | |
4412 | Py_INCREF(Py_None); resultobj = Py_None; | |
4413 | return resultobj; | |
4414 | fail: | |
4415 | return NULL; | |
4416 | } | |
4417 | ||
4418 | ||
4419 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { | |
4420 | PyObject *resultobj; | |
4421 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4422 | int arg2 ; | |
4423 | char *arg3 = (char *) 0 ; | |
4424 | PyObject * obj0 = 0 ; | |
4425 | PyObject * obj1 = 0 ; | |
4426 | PyObject * obj2 = 0 ; | |
4427 | char *kwnames[] = { | |
4428 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL | |
4429 | }; | |
4430 | ||
4431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4432 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4433 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4434 | { | |
4435 | arg2 = (int)(SWIG_As_int(obj1)); | |
4436 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4437 | } | |
4438 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
4439 | SWIG_arg_fail(3);SWIG_fail; | |
4440 | } | |
4441 | { | |
4442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4443 | (arg1)->SetStyleBytes(arg2,arg3); | |
4444 | ||
4445 | wxPyEndAllowThreads(__tstate); | |
4446 | if (PyErr_Occurred()) SWIG_fail; | |
4447 | } | |
4448 | Py_INCREF(Py_None); resultobj = Py_None; | |
4449 | return resultobj; | |
4450 | fail: | |
4451 | return NULL; | |
4452 | } | |
4453 | ||
4454 | ||
4455 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
4456 | PyObject *resultobj; | |
4457 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4458 | int arg2 ; | |
4459 | bool arg3 ; | |
4460 | PyObject * obj0 = 0 ; | |
4461 | PyObject * obj1 = 0 ; | |
4462 | PyObject * obj2 = 0 ; | |
4463 | char *kwnames[] = { | |
4464 | (char *) "self",(char *) "style",(char *) "visible", NULL | |
4465 | }; | |
4466 | ||
4467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4468 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4469 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4470 | { | |
4471 | arg2 = (int)(SWIG_As_int(obj1)); | |
4472 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4473 | } | |
4474 | { | |
4475 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
4476 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4477 | } | |
4478 | { | |
4479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4480 | (arg1)->StyleSetVisible(arg2,arg3); | |
4481 | ||
4482 | wxPyEndAllowThreads(__tstate); | |
4483 | if (PyErr_Occurred()) SWIG_fail; | |
4484 | } | |
4485 | Py_INCREF(Py_None); resultobj = Py_None; | |
4486 | return resultobj; | |
4487 | fail: | |
4488 | return NULL; | |
4489 | } | |
4490 | ||
4491 | ||
4492 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { | |
4493 | PyObject *resultobj; | |
4494 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4495 | int result; | |
4496 | PyObject * obj0 = 0 ; | |
4497 | char *kwnames[] = { | |
4498 | (char *) "self", NULL | |
4499 | }; | |
4500 | ||
4501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; | |
4502 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4503 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4504 | { | |
4505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4506 | result = (int)(arg1)->GetCaretPeriod(); | |
4507 | ||
4508 | wxPyEndAllowThreads(__tstate); | |
4509 | if (PyErr_Occurred()) SWIG_fail; | |
4510 | } | |
4511 | { | |
4512 | resultobj = SWIG_From_int((int)(result)); | |
4513 | } | |
4514 | return resultobj; | |
4515 | fail: | |
4516 | return NULL; | |
4517 | } | |
4518 | ||
4519 | ||
4520 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { | |
4521 | PyObject *resultobj; | |
4522 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4523 | int arg2 ; | |
4524 | PyObject * obj0 = 0 ; | |
4525 | PyObject * obj1 = 0 ; | |
4526 | char *kwnames[] = { | |
4527 | (char *) "self",(char *) "periodMilliseconds", NULL | |
4528 | }; | |
4529 | ||
4530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; | |
4531 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4532 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4533 | { | |
4534 | arg2 = (int)(SWIG_As_int(obj1)); | |
4535 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4536 | } | |
4537 | { | |
4538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4539 | (arg1)->SetCaretPeriod(arg2); | |
4540 | ||
4541 | wxPyEndAllowThreads(__tstate); | |
4542 | if (PyErr_Occurred()) SWIG_fail; | |
4543 | } | |
4544 | Py_INCREF(Py_None); resultobj = Py_None; | |
4545 | return resultobj; | |
4546 | fail: | |
4547 | return NULL; | |
4548 | } | |
4549 | ||
4550 | ||
4551 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { | |
4552 | PyObject *resultobj; | |
4553 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4554 | wxString *arg2 = 0 ; | |
4555 | bool temp2 = false ; | |
4556 | PyObject * obj0 = 0 ; | |
4557 | PyObject * obj1 = 0 ; | |
4558 | char *kwnames[] = { | |
4559 | (char *) "self",(char *) "characters", NULL | |
4560 | }; | |
4561 | ||
4562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; | |
4563 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4564 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4565 | { | |
4566 | arg2 = wxString_in_helper(obj1); | |
4567 | if (arg2 == NULL) SWIG_fail; | |
4568 | temp2 = true; | |
4569 | } | |
4570 | { | |
4571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4572 | (arg1)->SetWordChars((wxString const &)*arg2); | |
4573 | ||
4574 | wxPyEndAllowThreads(__tstate); | |
4575 | if (PyErr_Occurred()) SWIG_fail; | |
4576 | } | |
4577 | Py_INCREF(Py_None); resultobj = Py_None; | |
4578 | { | |
4579 | if (temp2) | |
4580 | delete arg2; | |
4581 | } | |
4582 | return resultobj; | |
4583 | fail: | |
4584 | { | |
4585 | if (temp2) | |
4586 | delete arg2; | |
4587 | } | |
4588 | return NULL; | |
4589 | } | |
4590 | ||
4591 | ||
4592 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { | |
4593 | PyObject *resultobj; | |
4594 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4595 | PyObject * obj0 = 0 ; | |
4596 | char *kwnames[] = { | |
4597 | (char *) "self", NULL | |
4598 | }; | |
4599 | ||
4600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; | |
4601 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4602 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4603 | { | |
4604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4605 | (arg1)->BeginUndoAction(); | |
4606 | ||
4607 | wxPyEndAllowThreads(__tstate); | |
4608 | if (PyErr_Occurred()) SWIG_fail; | |
4609 | } | |
4610 | Py_INCREF(Py_None); resultobj = Py_None; | |
4611 | return resultobj; | |
4612 | fail: | |
4613 | return NULL; | |
4614 | } | |
4615 | ||
4616 | ||
4617 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { | |
4618 | PyObject *resultobj; | |
4619 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4620 | PyObject * obj0 = 0 ; | |
4621 | char *kwnames[] = { | |
4622 | (char *) "self", NULL | |
4623 | }; | |
4624 | ||
4625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; | |
4626 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4628 | { | |
4629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4630 | (arg1)->EndUndoAction(); | |
4631 | ||
4632 | wxPyEndAllowThreads(__tstate); | |
4633 | if (PyErr_Occurred()) SWIG_fail; | |
4634 | } | |
4635 | Py_INCREF(Py_None); resultobj = Py_None; | |
4636 | return resultobj; | |
4637 | fail: | |
4638 | return NULL; | |
4639 | } | |
4640 | ||
4641 | ||
4642 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { | |
4643 | PyObject *resultobj; | |
4644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4645 | int arg2 ; | |
4646 | int arg3 ; | |
4647 | PyObject * obj0 = 0 ; | |
4648 | PyObject * obj1 = 0 ; | |
4649 | PyObject * obj2 = 0 ; | |
4650 | char *kwnames[] = { | |
4651 | (char *) "self",(char *) "indic",(char *) "style", NULL | |
4652 | }; | |
4653 | ||
4654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4655 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4656 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4657 | { | |
4658 | arg2 = (int)(SWIG_As_int(obj1)); | |
4659 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4660 | } | |
4661 | { | |
4662 | arg3 = (int)(SWIG_As_int(obj2)); | |
4663 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4664 | } | |
4665 | { | |
4666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4667 | (arg1)->IndicatorSetStyle(arg2,arg3); | |
4668 | ||
4669 | wxPyEndAllowThreads(__tstate); | |
4670 | if (PyErr_Occurred()) SWIG_fail; | |
4671 | } | |
4672 | Py_INCREF(Py_None); resultobj = Py_None; | |
4673 | return resultobj; | |
4674 | fail: | |
4675 | return NULL; | |
4676 | } | |
4677 | ||
4678 | ||
4679 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { | |
4680 | PyObject *resultobj; | |
4681 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4682 | int arg2 ; | |
4683 | int result; | |
4684 | PyObject * obj0 = 0 ; | |
4685 | PyObject * obj1 = 0 ; | |
4686 | char *kwnames[] = { | |
4687 | (char *) "self",(char *) "indic", NULL | |
4688 | }; | |
4689 | ||
4690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; | |
4691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4693 | { | |
4694 | arg2 = (int)(SWIG_As_int(obj1)); | |
4695 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4696 | } | |
4697 | { | |
4698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4699 | result = (int)(arg1)->IndicatorGetStyle(arg2); | |
4700 | ||
4701 | wxPyEndAllowThreads(__tstate); | |
4702 | if (PyErr_Occurred()) SWIG_fail; | |
4703 | } | |
4704 | { | |
4705 | resultobj = SWIG_From_int((int)(result)); | |
4706 | } | |
4707 | return resultobj; | |
4708 | fail: | |
4709 | return NULL; | |
4710 | } | |
4711 | ||
4712 | ||
4713 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4714 | PyObject *resultobj; | |
4715 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4716 | int arg2 ; | |
4717 | wxColour *arg3 = 0 ; | |
4718 | wxColour temp3 ; | |
4719 | PyObject * obj0 = 0 ; | |
4720 | PyObject * obj1 = 0 ; | |
4721 | PyObject * obj2 = 0 ; | |
4722 | char *kwnames[] = { | |
4723 | (char *) "self",(char *) "indic",(char *) "fore", NULL | |
4724 | }; | |
4725 | ||
4726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4727 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4728 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4729 | { | |
4730 | arg2 = (int)(SWIG_As_int(obj1)); | |
4731 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4732 | } | |
4733 | { | |
4734 | arg3 = &temp3; | |
4735 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4736 | } | |
4737 | { | |
4738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4739 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); | |
4740 | ||
4741 | wxPyEndAllowThreads(__tstate); | |
4742 | if (PyErr_Occurred()) SWIG_fail; | |
4743 | } | |
4744 | Py_INCREF(Py_None); resultobj = Py_None; | |
4745 | return resultobj; | |
4746 | fail: | |
4747 | return NULL; | |
4748 | } | |
4749 | ||
4750 | ||
4751 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4752 | PyObject *resultobj; | |
4753 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4754 | int arg2 ; | |
4755 | wxColour result; | |
4756 | PyObject * obj0 = 0 ; | |
4757 | PyObject * obj1 = 0 ; | |
4758 | char *kwnames[] = { | |
4759 | (char *) "self",(char *) "indic", NULL | |
4760 | }; | |
4761 | ||
4762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; | |
4763 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4764 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4765 | { | |
4766 | arg2 = (int)(SWIG_As_int(obj1)); | |
4767 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4768 | } | |
4769 | { | |
4770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4771 | result = (arg1)->IndicatorGetForeground(arg2); | |
4772 | ||
4773 | wxPyEndAllowThreads(__tstate); | |
4774 | if (PyErr_Occurred()) SWIG_fail; | |
4775 | } | |
4776 | { | |
4777 | wxColour * resultptr; | |
4778 | resultptr = new wxColour((wxColour &)(result)); | |
4779 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
4780 | } | |
4781 | return resultobj; | |
4782 | fail: | |
4783 | return NULL; | |
4784 | } | |
4785 | ||
4786 | ||
4787 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4788 | PyObject *resultobj; | |
4789 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4790 | bool arg2 ; | |
4791 | wxColour *arg3 = 0 ; | |
4792 | wxColour temp3 ; | |
4793 | PyObject * obj0 = 0 ; | |
4794 | PyObject * obj1 = 0 ; | |
4795 | PyObject * obj2 = 0 ; | |
4796 | char *kwnames[] = { | |
4797 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
4798 | }; | |
4799 | ||
4800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4803 | { | |
4804 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4805 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4806 | } | |
4807 | { | |
4808 | arg3 = &temp3; | |
4809 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4810 | } | |
4811 | { | |
4812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4813 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); | |
4814 | ||
4815 | wxPyEndAllowThreads(__tstate); | |
4816 | if (PyErr_Occurred()) SWIG_fail; | |
4817 | } | |
4818 | Py_INCREF(Py_None); resultobj = Py_None; | |
4819 | return resultobj; | |
4820 | fail: | |
4821 | return NULL; | |
4822 | } | |
4823 | ||
4824 | ||
4825 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4826 | PyObject *resultobj; | |
4827 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4828 | bool arg2 ; | |
4829 | wxColour *arg3 = 0 ; | |
4830 | wxColour temp3 ; | |
4831 | PyObject * obj0 = 0 ; | |
4832 | PyObject * obj1 = 0 ; | |
4833 | PyObject * obj2 = 0 ; | |
4834 | char *kwnames[] = { | |
4835 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
4836 | }; | |
4837 | ||
4838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4839 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4840 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4841 | { | |
4842 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
4843 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4844 | } | |
4845 | { | |
4846 | arg3 = &temp3; | |
4847 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4848 | } | |
4849 | { | |
4850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4851 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); | |
4852 | ||
4853 | wxPyEndAllowThreads(__tstate); | |
4854 | if (PyErr_Occurred()) SWIG_fail; | |
4855 | } | |
4856 | Py_INCREF(Py_None); resultobj = Py_None; | |
4857 | return resultobj; | |
4858 | fail: | |
4859 | return NULL; | |
4860 | } | |
4861 | ||
4862 | ||
4863 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { | |
4864 | PyObject *resultobj; | |
4865 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4866 | int arg2 ; | |
4867 | PyObject * obj0 = 0 ; | |
4868 | PyObject * obj1 = 0 ; | |
4869 | char *kwnames[] = { | |
4870 | (char *) "self",(char *) "bits", NULL | |
4871 | }; | |
4872 | ||
4873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; | |
4874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4876 | { | |
4877 | arg2 = (int)(SWIG_As_int(obj1)); | |
4878 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4879 | } | |
4880 | { | |
4881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4882 | (arg1)->SetStyleBits(arg2); | |
4883 | ||
4884 | wxPyEndAllowThreads(__tstate); | |
4885 | if (PyErr_Occurred()) SWIG_fail; | |
4886 | } | |
4887 | Py_INCREF(Py_None); resultobj = Py_None; | |
4888 | return resultobj; | |
4889 | fail: | |
4890 | return NULL; | |
4891 | } | |
4892 | ||
4893 | ||
4894 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { | |
4895 | PyObject *resultobj; | |
4896 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4897 | int result; | |
4898 | PyObject * obj0 = 0 ; | |
4899 | char *kwnames[] = { | |
4900 | (char *) "self", NULL | |
4901 | }; | |
4902 | ||
4903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; | |
4904 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4905 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4906 | { | |
4907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4908 | result = (int)(arg1)->GetStyleBits(); | |
4909 | ||
4910 | wxPyEndAllowThreads(__tstate); | |
4911 | if (PyErr_Occurred()) SWIG_fail; | |
4912 | } | |
4913 | { | |
4914 | resultobj = SWIG_From_int((int)(result)); | |
4915 | } | |
4916 | return resultobj; | |
4917 | fail: | |
4918 | return NULL; | |
4919 | } | |
4920 | ||
4921 | ||
4922 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { | |
4923 | PyObject *resultobj; | |
4924 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4925 | int arg2 ; | |
4926 | int arg3 ; | |
4927 | PyObject * obj0 = 0 ; | |
4928 | PyObject * obj1 = 0 ; | |
4929 | PyObject * obj2 = 0 ; | |
4930 | char *kwnames[] = { | |
4931 | (char *) "self",(char *) "line",(char *) "state", NULL | |
4932 | }; | |
4933 | ||
4934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4935 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4936 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4937 | { | |
4938 | arg2 = (int)(SWIG_As_int(obj1)); | |
4939 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4940 | } | |
4941 | { | |
4942 | arg3 = (int)(SWIG_As_int(obj2)); | |
4943 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4944 | } | |
4945 | { | |
4946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4947 | (arg1)->SetLineState(arg2,arg3); | |
4948 | ||
4949 | wxPyEndAllowThreads(__tstate); | |
4950 | if (PyErr_Occurred()) SWIG_fail; | |
4951 | } | |
4952 | Py_INCREF(Py_None); resultobj = Py_None; | |
4953 | return resultobj; | |
4954 | fail: | |
4955 | return NULL; | |
4956 | } | |
4957 | ||
4958 | ||
4959 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { | |
4960 | PyObject *resultobj; | |
4961 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4962 | int arg2 ; | |
4963 | int result; | |
4964 | PyObject * obj0 = 0 ; | |
4965 | PyObject * obj1 = 0 ; | |
4966 | char *kwnames[] = { | |
4967 | (char *) "self",(char *) "line", NULL | |
4968 | }; | |
4969 | ||
4970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; | |
4971 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4972 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4973 | { | |
4974 | arg2 = (int)(SWIG_As_int(obj1)); | |
4975 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4976 | } | |
4977 | { | |
4978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4979 | result = (int)(arg1)->GetLineState(arg2); | |
4980 | ||
4981 | wxPyEndAllowThreads(__tstate); | |
4982 | if (PyErr_Occurred()) SWIG_fail; | |
4983 | } | |
4984 | { | |
4985 | resultobj = SWIG_From_int((int)(result)); | |
4986 | } | |
4987 | return resultobj; | |
4988 | fail: | |
4989 | return NULL; | |
4990 | } | |
4991 | ||
4992 | ||
4993 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { | |
4994 | PyObject *resultobj; | |
4995 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4996 | int result; | |
4997 | PyObject * obj0 = 0 ; | |
4998 | char *kwnames[] = { | |
4999 | (char *) "self", NULL | |
5000 | }; | |
5001 | ||
5002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; | |
5003 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5004 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5005 | { | |
5006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5007 | result = (int)(arg1)->GetMaxLineState(); | |
5008 | ||
5009 | wxPyEndAllowThreads(__tstate); | |
5010 | if (PyErr_Occurred()) SWIG_fail; | |
5011 | } | |
5012 | { | |
5013 | resultobj = SWIG_From_int((int)(result)); | |
5014 | } | |
5015 | return resultobj; | |
5016 | fail: | |
5017 | return NULL; | |
5018 | } | |
5019 | ||
5020 | ||
5021 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
5022 | PyObject *resultobj; | |
5023 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5024 | bool result; | |
5025 | PyObject * obj0 = 0 ; | |
5026 | char *kwnames[] = { | |
5027 | (char *) "self", NULL | |
5028 | }; | |
5029 | ||
5030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; | |
5031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5033 | { | |
5034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5035 | result = (bool)(arg1)->GetCaretLineVisible(); | |
5036 | ||
5037 | wxPyEndAllowThreads(__tstate); | |
5038 | if (PyErr_Occurred()) SWIG_fail; | |
5039 | } | |
5040 | { | |
5041 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5042 | } | |
5043 | return resultobj; | |
5044 | fail: | |
5045 | return NULL; | |
5046 | } | |
5047 | ||
5048 | ||
5049 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
5050 | PyObject *resultobj; | |
5051 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5052 | bool arg2 ; | |
5053 | PyObject * obj0 = 0 ; | |
5054 | PyObject * obj1 = 0 ; | |
5055 | char *kwnames[] = { | |
5056 | (char *) "self",(char *) "show", NULL | |
5057 | }; | |
5058 | ||
5059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
5060 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5061 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5062 | { | |
5063 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5064 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5065 | } | |
5066 | { | |
5067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5068 | (arg1)->SetCaretLineVisible(arg2); | |
5069 | ||
5070 | wxPyEndAllowThreads(__tstate); | |
5071 | if (PyErr_Occurred()) SWIG_fail; | |
5072 | } | |
5073 | Py_INCREF(Py_None); resultobj = Py_None; | |
5074 | return resultobj; | |
5075 | fail: | |
5076 | return NULL; | |
5077 | } | |
5078 | ||
5079 | ||
5080 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { | |
5081 | PyObject *resultobj; | |
5082 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5083 | wxColour result; | |
5084 | PyObject * obj0 = 0 ; | |
5085 | char *kwnames[] = { | |
5086 | (char *) "self", NULL | |
5087 | }; | |
5088 | ||
5089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; | |
5090 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5091 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5092 | { | |
5093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5094 | result = (arg1)->GetCaretLineBack(); | |
5095 | ||
5096 | wxPyEndAllowThreads(__tstate); | |
5097 | if (PyErr_Occurred()) SWIG_fail; | |
5098 | } | |
5099 | { | |
5100 | wxColour * resultptr; | |
5101 | resultptr = new wxColour((wxColour &)(result)); | |
5102 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
5103 | } | |
5104 | return resultobj; | |
5105 | fail: | |
5106 | return NULL; | |
5107 | } | |
5108 | ||
5109 | ||
5110 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { | |
5111 | PyObject *resultobj; | |
5112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5113 | wxColour *arg2 = 0 ; | |
5114 | wxColour temp2 ; | |
5115 | PyObject * obj0 = 0 ; | |
5116 | PyObject * obj1 = 0 ; | |
5117 | char *kwnames[] = { | |
5118 | (char *) "self",(char *) "back", NULL | |
5119 | }; | |
5120 | ||
5121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; | |
5122 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5123 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5124 | { | |
5125 | arg2 = &temp2; | |
5126 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5127 | } | |
5128 | { | |
5129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5130 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); | |
5131 | ||
5132 | wxPyEndAllowThreads(__tstate); | |
5133 | if (PyErr_Occurred()) SWIG_fail; | |
5134 | } | |
5135 | Py_INCREF(Py_None); resultobj = Py_None; | |
5136 | return resultobj; | |
5137 | fail: | |
5138 | return NULL; | |
5139 | } | |
5140 | ||
5141 | ||
5142 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { | |
5143 | PyObject *resultobj; | |
5144 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5145 | int arg2 ; | |
5146 | bool arg3 ; | |
5147 | PyObject * obj0 = 0 ; | |
5148 | PyObject * obj1 = 0 ; | |
5149 | PyObject * obj2 = 0 ; | |
5150 | char *kwnames[] = { | |
5151 | (char *) "self",(char *) "style",(char *) "changeable", NULL | |
5152 | }; | |
5153 | ||
5154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5155 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5156 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5157 | { | |
5158 | arg2 = (int)(SWIG_As_int(obj1)); | |
5159 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5160 | } | |
5161 | { | |
5162 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5163 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5164 | } | |
5165 | { | |
5166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5167 | (arg1)->StyleSetChangeable(arg2,arg3); | |
5168 | ||
5169 | wxPyEndAllowThreads(__tstate); | |
5170 | if (PyErr_Occurred()) SWIG_fail; | |
5171 | } | |
5172 | Py_INCREF(Py_None); resultobj = Py_None; | |
5173 | return resultobj; | |
5174 | fail: | |
5175 | return NULL; | |
5176 | } | |
5177 | ||
5178 | ||
5179 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { | |
5180 | PyObject *resultobj; | |
5181 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5182 | int arg2 ; | |
5183 | wxString *arg3 = 0 ; | |
5184 | bool temp3 = false ; | |
5185 | PyObject * obj0 = 0 ; | |
5186 | PyObject * obj1 = 0 ; | |
5187 | PyObject * obj2 = 0 ; | |
5188 | char *kwnames[] = { | |
5189 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL | |
5190 | }; | |
5191 | ||
5192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5193 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5194 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5195 | { | |
5196 | arg2 = (int)(SWIG_As_int(obj1)); | |
5197 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5198 | } | |
5199 | { | |
5200 | arg3 = wxString_in_helper(obj2); | |
5201 | if (arg3 == NULL) SWIG_fail; | |
5202 | temp3 = true; | |
5203 | } | |
5204 | { | |
5205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5206 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); | |
5207 | ||
5208 | wxPyEndAllowThreads(__tstate); | |
5209 | if (PyErr_Occurred()) SWIG_fail; | |
5210 | } | |
5211 | Py_INCREF(Py_None); resultobj = Py_None; | |
5212 | { | |
5213 | if (temp3) | |
5214 | delete arg3; | |
5215 | } | |
5216 | return resultobj; | |
5217 | fail: | |
5218 | { | |
5219 | if (temp3) | |
5220 | delete arg3; | |
5221 | } | |
5222 | return NULL; | |
5223 | } | |
5224 | ||
5225 | ||
5226 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { | |
5227 | PyObject *resultobj; | |
5228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5229 | PyObject * obj0 = 0 ; | |
5230 | char *kwnames[] = { | |
5231 | (char *) "self", NULL | |
5232 | }; | |
5233 | ||
5234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; | |
5235 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5236 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5237 | { | |
5238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5239 | (arg1)->AutoCompCancel(); | |
5240 | ||
5241 | wxPyEndAllowThreads(__tstate); | |
5242 | if (PyErr_Occurred()) SWIG_fail; | |
5243 | } | |
5244 | Py_INCREF(Py_None); resultobj = Py_None; | |
5245 | return resultobj; | |
5246 | fail: | |
5247 | return NULL; | |
5248 | } | |
5249 | ||
5250 | ||
5251 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { | |
5252 | PyObject *resultobj; | |
5253 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5254 | bool result; | |
5255 | PyObject * obj0 = 0 ; | |
5256 | char *kwnames[] = { | |
5257 | (char *) "self", NULL | |
5258 | }; | |
5259 | ||
5260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; | |
5261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5263 | { | |
5264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5265 | result = (bool)(arg1)->AutoCompActive(); | |
5266 | ||
5267 | wxPyEndAllowThreads(__tstate); | |
5268 | if (PyErr_Occurred()) SWIG_fail; | |
5269 | } | |
5270 | { | |
5271 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5272 | } | |
5273 | return resultobj; | |
5274 | fail: | |
5275 | return NULL; | |
5276 | } | |
5277 | ||
5278 | ||
5279 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
5280 | PyObject *resultobj; | |
5281 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5282 | int result; | |
5283 | PyObject * obj0 = 0 ; | |
5284 | char *kwnames[] = { | |
5285 | (char *) "self", NULL | |
5286 | }; | |
5287 | ||
5288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; | |
5289 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5290 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5291 | { | |
5292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5293 | result = (int)(arg1)->AutoCompPosStart(); | |
5294 | ||
5295 | wxPyEndAllowThreads(__tstate); | |
5296 | if (PyErr_Occurred()) SWIG_fail; | |
5297 | } | |
5298 | { | |
5299 | resultobj = SWIG_From_int((int)(result)); | |
5300 | } | |
5301 | return resultobj; | |
5302 | fail: | |
5303 | return NULL; | |
5304 | } | |
5305 | ||
5306 | ||
5307 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { | |
5308 | PyObject *resultobj; | |
5309 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5310 | PyObject * obj0 = 0 ; | |
5311 | char *kwnames[] = { | |
5312 | (char *) "self", NULL | |
5313 | }; | |
5314 | ||
5315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; | |
5316 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5317 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5318 | { | |
5319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5320 | (arg1)->AutoCompComplete(); | |
5321 | ||
5322 | wxPyEndAllowThreads(__tstate); | |
5323 | if (PyErr_Occurred()) SWIG_fail; | |
5324 | } | |
5325 | Py_INCREF(Py_None); resultobj = Py_None; | |
5326 | return resultobj; | |
5327 | fail: | |
5328 | return NULL; | |
5329 | } | |
5330 | ||
5331 | ||
5332 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { | |
5333 | PyObject *resultobj; | |
5334 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5335 | wxString *arg2 = 0 ; | |
5336 | bool temp2 = false ; | |
5337 | PyObject * obj0 = 0 ; | |
5338 | PyObject * obj1 = 0 ; | |
5339 | char *kwnames[] = { | |
5340 | (char *) "self",(char *) "characterSet", NULL | |
5341 | }; | |
5342 | ||
5343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; | |
5344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5346 | { | |
5347 | arg2 = wxString_in_helper(obj1); | |
5348 | if (arg2 == NULL) SWIG_fail; | |
5349 | temp2 = true; | |
5350 | } | |
5351 | { | |
5352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5353 | (arg1)->AutoCompStops((wxString const &)*arg2); | |
5354 | ||
5355 | wxPyEndAllowThreads(__tstate); | |
5356 | if (PyErr_Occurred()) SWIG_fail; | |
5357 | } | |
5358 | Py_INCREF(Py_None); resultobj = Py_None; | |
5359 | { | |
5360 | if (temp2) | |
5361 | delete arg2; | |
5362 | } | |
5363 | return resultobj; | |
5364 | fail: | |
5365 | { | |
5366 | if (temp2) | |
5367 | delete arg2; | |
5368 | } | |
5369 | return NULL; | |
5370 | } | |
5371 | ||
5372 | ||
5373 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
5374 | PyObject *resultobj; | |
5375 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5376 | int arg2 ; | |
5377 | PyObject * obj0 = 0 ; | |
5378 | PyObject * obj1 = 0 ; | |
5379 | char *kwnames[] = { | |
5380 | (char *) "self",(char *) "separatorCharacter", NULL | |
5381 | }; | |
5382 | ||
5383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; | |
5384 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5385 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5386 | { | |
5387 | arg2 = (int)(SWIG_As_int(obj1)); | |
5388 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5389 | } | |
5390 | { | |
5391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5392 | (arg1)->AutoCompSetSeparator(arg2); | |
5393 | ||
5394 | wxPyEndAllowThreads(__tstate); | |
5395 | if (PyErr_Occurred()) SWIG_fail; | |
5396 | } | |
5397 | Py_INCREF(Py_None); resultobj = Py_None; | |
5398 | return resultobj; | |
5399 | fail: | |
5400 | return NULL; | |
5401 | } | |
5402 | ||
5403 | ||
5404 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
5405 | PyObject *resultobj; | |
5406 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5407 | int result; | |
5408 | PyObject * obj0 = 0 ; | |
5409 | char *kwnames[] = { | |
5410 | (char *) "self", NULL | |
5411 | }; | |
5412 | ||
5413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; | |
5414 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5415 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5416 | { | |
5417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5418 | result = (int)(arg1)->AutoCompGetSeparator(); | |
5419 | ||
5420 | wxPyEndAllowThreads(__tstate); | |
5421 | if (PyErr_Occurred()) SWIG_fail; | |
5422 | } | |
5423 | { | |
5424 | resultobj = SWIG_From_int((int)(result)); | |
5425 | } | |
5426 | return resultobj; | |
5427 | fail: | |
5428 | return NULL; | |
5429 | } | |
5430 | ||
5431 | ||
5432 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { | |
5433 | PyObject *resultobj; | |
5434 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5435 | wxString *arg2 = 0 ; | |
5436 | bool temp2 = false ; | |
5437 | PyObject * obj0 = 0 ; | |
5438 | PyObject * obj1 = 0 ; | |
5439 | char *kwnames[] = { | |
5440 | (char *) "self",(char *) "text", NULL | |
5441 | }; | |
5442 | ||
5443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; | |
5444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5446 | { | |
5447 | arg2 = wxString_in_helper(obj1); | |
5448 | if (arg2 == NULL) SWIG_fail; | |
5449 | temp2 = true; | |
5450 | } | |
5451 | { | |
5452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5453 | (arg1)->AutoCompSelect((wxString const &)*arg2); | |
5454 | ||
5455 | wxPyEndAllowThreads(__tstate); | |
5456 | if (PyErr_Occurred()) SWIG_fail; | |
5457 | } | |
5458 | Py_INCREF(Py_None); resultobj = Py_None; | |
5459 | { | |
5460 | if (temp2) | |
5461 | delete arg2; | |
5462 | } | |
5463 | return resultobj; | |
5464 | fail: | |
5465 | { | |
5466 | if (temp2) | |
5467 | delete arg2; | |
5468 | } | |
5469 | return NULL; | |
5470 | } | |
5471 | ||
5472 | ||
5473 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
5474 | PyObject *resultobj; | |
5475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5476 | bool arg2 ; | |
5477 | PyObject * obj0 = 0 ; | |
5478 | PyObject * obj1 = 0 ; | |
5479 | char *kwnames[] = { | |
5480 | (char *) "self",(char *) "cancel", NULL | |
5481 | }; | |
5482 | ||
5483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; | |
5484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5486 | { | |
5487 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5488 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5489 | } | |
5490 | { | |
5491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5492 | (arg1)->AutoCompSetCancelAtStart(arg2); | |
5493 | ||
5494 | wxPyEndAllowThreads(__tstate); | |
5495 | if (PyErr_Occurred()) SWIG_fail; | |
5496 | } | |
5497 | Py_INCREF(Py_None); resultobj = Py_None; | |
5498 | return resultobj; | |
5499 | fail: | |
5500 | return NULL; | |
5501 | } | |
5502 | ||
5503 | ||
5504 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
5505 | PyObject *resultobj; | |
5506 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5507 | bool result; | |
5508 | PyObject * obj0 = 0 ; | |
5509 | char *kwnames[] = { | |
5510 | (char *) "self", NULL | |
5511 | }; | |
5512 | ||
5513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; | |
5514 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5515 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5516 | { | |
5517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5518 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); | |
5519 | ||
5520 | wxPyEndAllowThreads(__tstate); | |
5521 | if (PyErr_Occurred()) SWIG_fail; | |
5522 | } | |
5523 | { | |
5524 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5525 | } | |
5526 | return resultobj; | |
5527 | fail: | |
5528 | return NULL; | |
5529 | } | |
5530 | ||
5531 | ||
5532 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { | |
5533 | PyObject *resultobj; | |
5534 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5535 | wxString *arg2 = 0 ; | |
5536 | bool temp2 = false ; | |
5537 | PyObject * obj0 = 0 ; | |
5538 | PyObject * obj1 = 0 ; | |
5539 | char *kwnames[] = { | |
5540 | (char *) "self",(char *) "characterSet", NULL | |
5541 | }; | |
5542 | ||
5543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; | |
5544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5546 | { | |
5547 | arg2 = wxString_in_helper(obj1); | |
5548 | if (arg2 == NULL) SWIG_fail; | |
5549 | temp2 = true; | |
5550 | } | |
5551 | { | |
5552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5553 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); | |
5554 | ||
5555 | wxPyEndAllowThreads(__tstate); | |
5556 | if (PyErr_Occurred()) SWIG_fail; | |
5557 | } | |
5558 | Py_INCREF(Py_None); resultobj = Py_None; | |
5559 | { | |
5560 | if (temp2) | |
5561 | delete arg2; | |
5562 | } | |
5563 | return resultobj; | |
5564 | fail: | |
5565 | { | |
5566 | if (temp2) | |
5567 | delete arg2; | |
5568 | } | |
5569 | return NULL; | |
5570 | } | |
5571 | ||
5572 | ||
5573 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { | |
5574 | PyObject *resultobj; | |
5575 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5576 | bool arg2 ; | |
5577 | PyObject * obj0 = 0 ; | |
5578 | PyObject * obj1 = 0 ; | |
5579 | char *kwnames[] = { | |
5580 | (char *) "self",(char *) "chooseSingle", NULL | |
5581 | }; | |
5582 | ||
5583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; | |
5584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5586 | { | |
5587 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5588 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5589 | } | |
5590 | { | |
5591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5592 | (arg1)->AutoCompSetChooseSingle(arg2); | |
5593 | ||
5594 | wxPyEndAllowThreads(__tstate); | |
5595 | if (PyErr_Occurred()) SWIG_fail; | |
5596 | } | |
5597 | Py_INCREF(Py_None); resultobj = Py_None; | |
5598 | return resultobj; | |
5599 | fail: | |
5600 | return NULL; | |
5601 | } | |
5602 | ||
5603 | ||
5604 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { | |
5605 | PyObject *resultobj; | |
5606 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5607 | bool result; | |
5608 | PyObject * obj0 = 0 ; | |
5609 | char *kwnames[] = { | |
5610 | (char *) "self", NULL | |
5611 | }; | |
5612 | ||
5613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; | |
5614 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5615 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5616 | { | |
5617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5618 | result = (bool)(arg1)->AutoCompGetChooseSingle(); | |
5619 | ||
5620 | wxPyEndAllowThreads(__tstate); | |
5621 | if (PyErr_Occurred()) SWIG_fail; | |
5622 | } | |
5623 | { | |
5624 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5625 | } | |
5626 | return resultobj; | |
5627 | fail: | |
5628 | return NULL; | |
5629 | } | |
5630 | ||
5631 | ||
5632 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
5633 | PyObject *resultobj; | |
5634 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5635 | bool arg2 ; | |
5636 | PyObject * obj0 = 0 ; | |
5637 | PyObject * obj1 = 0 ; | |
5638 | char *kwnames[] = { | |
5639 | (char *) "self",(char *) "ignoreCase", NULL | |
5640 | }; | |
5641 | ||
5642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; | |
5643 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5644 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5645 | { | |
5646 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5647 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5648 | } | |
5649 | { | |
5650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5651 | (arg1)->AutoCompSetIgnoreCase(arg2); | |
5652 | ||
5653 | wxPyEndAllowThreads(__tstate); | |
5654 | if (PyErr_Occurred()) SWIG_fail; | |
5655 | } | |
5656 | Py_INCREF(Py_None); resultobj = Py_None; | |
5657 | return resultobj; | |
5658 | fail: | |
5659 | return NULL; | |
5660 | } | |
5661 | ||
5662 | ||
5663 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
5664 | PyObject *resultobj; | |
5665 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5666 | bool result; | |
5667 | PyObject * obj0 = 0 ; | |
5668 | char *kwnames[] = { | |
5669 | (char *) "self", NULL | |
5670 | }; | |
5671 | ||
5672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; | |
5673 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5674 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5675 | { | |
5676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5677 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); | |
5678 | ||
5679 | wxPyEndAllowThreads(__tstate); | |
5680 | if (PyErr_Occurred()) SWIG_fail; | |
5681 | } | |
5682 | { | |
5683 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5684 | } | |
5685 | return resultobj; | |
5686 | fail: | |
5687 | return NULL; | |
5688 | } | |
5689 | ||
5690 | ||
5691 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { | |
5692 | PyObject *resultobj; | |
5693 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5694 | int arg2 ; | |
5695 | wxString *arg3 = 0 ; | |
5696 | bool temp3 = false ; | |
5697 | PyObject * obj0 = 0 ; | |
5698 | PyObject * obj1 = 0 ; | |
5699 | PyObject * obj2 = 0 ; | |
5700 | char *kwnames[] = { | |
5701 | (char *) "self",(char *) "listType",(char *) "itemList", NULL | |
5702 | }; | |
5703 | ||
5704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5705 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5706 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5707 | { | |
5708 | arg2 = (int)(SWIG_As_int(obj1)); | |
5709 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5710 | } | |
5711 | { | |
5712 | arg3 = wxString_in_helper(obj2); | |
5713 | if (arg3 == NULL) SWIG_fail; | |
5714 | temp3 = true; | |
5715 | } | |
5716 | { | |
5717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5718 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); | |
5719 | ||
5720 | wxPyEndAllowThreads(__tstate); | |
5721 | if (PyErr_Occurred()) SWIG_fail; | |
5722 | } | |
5723 | Py_INCREF(Py_None); resultobj = Py_None; | |
5724 | { | |
5725 | if (temp3) | |
5726 | delete arg3; | |
5727 | } | |
5728 | return resultobj; | |
5729 | fail: | |
5730 | { | |
5731 | if (temp3) | |
5732 | delete arg3; | |
5733 | } | |
5734 | return NULL; | |
5735 | } | |
5736 | ||
5737 | ||
5738 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { | |
5739 | PyObject *resultobj; | |
5740 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5741 | bool arg2 ; | |
5742 | PyObject * obj0 = 0 ; | |
5743 | PyObject * obj1 = 0 ; | |
5744 | char *kwnames[] = { | |
5745 | (char *) "self",(char *) "autoHide", NULL | |
5746 | }; | |
5747 | ||
5748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; | |
5749 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5750 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5751 | { | |
5752 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5753 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5754 | } | |
5755 | { | |
5756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5757 | (arg1)->AutoCompSetAutoHide(arg2); | |
5758 | ||
5759 | wxPyEndAllowThreads(__tstate); | |
5760 | if (PyErr_Occurred()) SWIG_fail; | |
5761 | } | |
5762 | Py_INCREF(Py_None); resultobj = Py_None; | |
5763 | return resultobj; | |
5764 | fail: | |
5765 | return NULL; | |
5766 | } | |
5767 | ||
5768 | ||
5769 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { | |
5770 | PyObject *resultobj; | |
5771 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5772 | bool result; | |
5773 | PyObject * obj0 = 0 ; | |
5774 | char *kwnames[] = { | |
5775 | (char *) "self", NULL | |
5776 | }; | |
5777 | ||
5778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; | |
5779 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5780 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5781 | { | |
5782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5783 | result = (bool)(arg1)->AutoCompGetAutoHide(); | |
5784 | ||
5785 | wxPyEndAllowThreads(__tstate); | |
5786 | if (PyErr_Occurred()) SWIG_fail; | |
5787 | } | |
5788 | { | |
5789 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5790 | } | |
5791 | return resultobj; | |
5792 | fail: | |
5793 | return NULL; | |
5794 | } | |
5795 | ||
5796 | ||
5797 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { | |
5798 | PyObject *resultobj; | |
5799 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5800 | bool arg2 ; | |
5801 | PyObject * obj0 = 0 ; | |
5802 | PyObject * obj1 = 0 ; | |
5803 | char *kwnames[] = { | |
5804 | (char *) "self",(char *) "dropRestOfWord", NULL | |
5805 | }; | |
5806 | ||
5807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; | |
5808 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5809 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5810 | { | |
5811 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
5812 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5813 | } | |
5814 | { | |
5815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5816 | (arg1)->AutoCompSetDropRestOfWord(arg2); | |
5817 | ||
5818 | wxPyEndAllowThreads(__tstate); | |
5819 | if (PyErr_Occurred()) SWIG_fail; | |
5820 | } | |
5821 | Py_INCREF(Py_None); resultobj = Py_None; | |
5822 | return resultobj; | |
5823 | fail: | |
5824 | return NULL; | |
5825 | } | |
5826 | ||
5827 | ||
5828 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { | |
5829 | PyObject *resultobj; | |
5830 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5831 | bool result; | |
5832 | PyObject * obj0 = 0 ; | |
5833 | char *kwnames[] = { | |
5834 | (char *) "self", NULL | |
5835 | }; | |
5836 | ||
5837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; | |
5838 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5839 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5840 | { | |
5841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5842 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); | |
5843 | ||
5844 | wxPyEndAllowThreads(__tstate); | |
5845 | if (PyErr_Occurred()) SWIG_fail; | |
5846 | } | |
5847 | { | |
5848 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5849 | } | |
5850 | return resultobj; | |
5851 | fail: | |
5852 | return NULL; | |
5853 | } | |
5854 | ||
5855 | ||
5856 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
5857 | PyObject *resultobj; | |
5858 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5859 | int arg2 ; | |
5860 | wxBitmap *arg3 = 0 ; | |
5861 | PyObject * obj0 = 0 ; | |
5862 | PyObject * obj1 = 0 ; | |
5863 | PyObject * obj2 = 0 ; | |
5864 | char *kwnames[] = { | |
5865 | (char *) "self",(char *) "type",(char *) "bmp", NULL | |
5866 | }; | |
5867 | ||
5868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5869 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5870 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5871 | { | |
5872 | arg2 = (int)(SWIG_As_int(obj1)); | |
5873 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5874 | } | |
5875 | { | |
5876 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
5877 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5878 | if (arg3 == NULL) { | |
5879 | SWIG_null_ref("wxBitmap"); | |
5880 | } | |
5881 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5882 | } | |
5883 | { | |
5884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5885 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); | |
5886 | ||
5887 | wxPyEndAllowThreads(__tstate); | |
5888 | if (PyErr_Occurred()) SWIG_fail; | |
5889 | } | |
5890 | Py_INCREF(Py_None); resultobj = Py_None; | |
5891 | return resultobj; | |
5892 | fail: | |
5893 | return NULL; | |
5894 | } | |
5895 | ||
5896 | ||
5897 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { | |
5898 | PyObject *resultobj; | |
5899 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5900 | PyObject * obj0 = 0 ; | |
5901 | char *kwnames[] = { | |
5902 | (char *) "self", NULL | |
5903 | }; | |
5904 | ||
5905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; | |
5906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5908 | { | |
5909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5910 | (arg1)->ClearRegisteredImages(); | |
5911 | ||
5912 | wxPyEndAllowThreads(__tstate); | |
5913 | if (PyErr_Occurred()) SWIG_fail; | |
5914 | } | |
5915 | Py_INCREF(Py_None); resultobj = Py_None; | |
5916 | return resultobj; | |
5917 | fail: | |
5918 | return NULL; | |
5919 | } | |
5920 | ||
5921 | ||
5922 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
5923 | PyObject *resultobj; | |
5924 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5925 | int result; | |
5926 | PyObject * obj0 = 0 ; | |
5927 | char *kwnames[] = { | |
5928 | (char *) "self", NULL | |
5929 | }; | |
5930 | ||
5931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; | |
5932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5934 | { | |
5935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5936 | result = (int)(arg1)->AutoCompGetTypeSeparator(); | |
5937 | ||
5938 | wxPyEndAllowThreads(__tstate); | |
5939 | if (PyErr_Occurred()) SWIG_fail; | |
5940 | } | |
5941 | { | |
5942 | resultobj = SWIG_From_int((int)(result)); | |
5943 | } | |
5944 | return resultobj; | |
5945 | fail: | |
5946 | return NULL; | |
5947 | } | |
5948 | ||
5949 | ||
5950 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
5951 | PyObject *resultobj; | |
5952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5953 | int arg2 ; | |
5954 | PyObject * obj0 = 0 ; | |
5955 | PyObject * obj1 = 0 ; | |
5956 | char *kwnames[] = { | |
5957 | (char *) "self",(char *) "separatorCharacter", NULL | |
5958 | }; | |
5959 | ||
5960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; | |
5961 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5962 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5963 | { | |
5964 | arg2 = (int)(SWIG_As_int(obj1)); | |
5965 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5966 | } | |
5967 | { | |
5968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5969 | (arg1)->AutoCompSetTypeSeparator(arg2); | |
5970 | ||
5971 | wxPyEndAllowThreads(__tstate); | |
5972 | if (PyErr_Occurred()) SWIG_fail; | |
5973 | } | |
5974 | Py_INCREF(Py_None); resultobj = Py_None; | |
5975 | return resultobj; | |
5976 | fail: | |
5977 | return NULL; | |
5978 | } | |
5979 | ||
5980 | ||
5981 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
5982 | PyObject *resultobj; | |
5983 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5984 | int arg2 ; | |
5985 | PyObject * obj0 = 0 ; | |
5986 | PyObject * obj1 = 0 ; | |
5987 | char *kwnames[] = { | |
5988 | (char *) "self",(char *) "indentSize", NULL | |
5989 | }; | |
5990 | ||
5991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; | |
5992 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5993 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5994 | { | |
5995 | arg2 = (int)(SWIG_As_int(obj1)); | |
5996 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5997 | } | |
5998 | { | |
5999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6000 | (arg1)->SetIndent(arg2); | |
6001 | ||
6002 | wxPyEndAllowThreads(__tstate); | |
6003 | if (PyErr_Occurred()) SWIG_fail; | |
6004 | } | |
6005 | Py_INCREF(Py_None); resultobj = Py_None; | |
6006 | return resultobj; | |
6007 | fail: | |
6008 | return NULL; | |
6009 | } | |
6010 | ||
6011 | ||
6012 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
6013 | PyObject *resultobj; | |
6014 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6015 | int result; | |
6016 | PyObject * obj0 = 0 ; | |
6017 | char *kwnames[] = { | |
6018 | (char *) "self", NULL | |
6019 | }; | |
6020 | ||
6021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
6022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6024 | { | |
6025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6026 | result = (int)(arg1)->GetIndent(); | |
6027 | ||
6028 | wxPyEndAllowThreads(__tstate); | |
6029 | if (PyErr_Occurred()) SWIG_fail; | |
6030 | } | |
6031 | { | |
6032 | resultobj = SWIG_From_int((int)(result)); | |
6033 | } | |
6034 | return resultobj; | |
6035 | fail: | |
6036 | return NULL; | |
6037 | } | |
6038 | ||
6039 | ||
6040 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { | |
6041 | PyObject *resultobj; | |
6042 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6043 | bool arg2 ; | |
6044 | PyObject * obj0 = 0 ; | |
6045 | PyObject * obj1 = 0 ; | |
6046 | char *kwnames[] = { | |
6047 | (char *) "self",(char *) "useTabs", NULL | |
6048 | }; | |
6049 | ||
6050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; | |
6051 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6052 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6053 | { | |
6054 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6055 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6056 | } | |
6057 | { | |
6058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6059 | (arg1)->SetUseTabs(arg2); | |
6060 | ||
6061 | wxPyEndAllowThreads(__tstate); | |
6062 | if (PyErr_Occurred()) SWIG_fail; | |
6063 | } | |
6064 | Py_INCREF(Py_None); resultobj = Py_None; | |
6065 | return resultobj; | |
6066 | fail: | |
6067 | return NULL; | |
6068 | } | |
6069 | ||
6070 | ||
6071 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { | |
6072 | PyObject *resultobj; | |
6073 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6074 | bool result; | |
6075 | PyObject * obj0 = 0 ; | |
6076 | char *kwnames[] = { | |
6077 | (char *) "self", NULL | |
6078 | }; | |
6079 | ||
6080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; | |
6081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6083 | { | |
6084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6085 | result = (bool)(arg1)->GetUseTabs(); | |
6086 | ||
6087 | wxPyEndAllowThreads(__tstate); | |
6088 | if (PyErr_Occurred()) SWIG_fail; | |
6089 | } | |
6090 | { | |
6091 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6092 | } | |
6093 | return resultobj; | |
6094 | fail: | |
6095 | return NULL; | |
6096 | } | |
6097 | ||
6098 | ||
6099 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { | |
6100 | PyObject *resultobj; | |
6101 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6102 | int arg2 ; | |
6103 | int arg3 ; | |
6104 | PyObject * obj0 = 0 ; | |
6105 | PyObject * obj1 = 0 ; | |
6106 | PyObject * obj2 = 0 ; | |
6107 | char *kwnames[] = { | |
6108 | (char *) "self",(char *) "line",(char *) "indentSize", NULL | |
6109 | }; | |
6110 | ||
6111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6114 | { | |
6115 | arg2 = (int)(SWIG_As_int(obj1)); | |
6116 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6117 | } | |
6118 | { | |
6119 | arg3 = (int)(SWIG_As_int(obj2)); | |
6120 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6121 | } | |
6122 | { | |
6123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6124 | (arg1)->SetLineIndentation(arg2,arg3); | |
6125 | ||
6126 | wxPyEndAllowThreads(__tstate); | |
6127 | if (PyErr_Occurred()) SWIG_fail; | |
6128 | } | |
6129 | Py_INCREF(Py_None); resultobj = Py_None; | |
6130 | return resultobj; | |
6131 | fail: | |
6132 | return NULL; | |
6133 | } | |
6134 | ||
6135 | ||
6136 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { | |
6137 | PyObject *resultobj; | |
6138 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6139 | int arg2 ; | |
6140 | int result; | |
6141 | PyObject * obj0 = 0 ; | |
6142 | PyObject * obj1 = 0 ; | |
6143 | char *kwnames[] = { | |
6144 | (char *) "self",(char *) "line", NULL | |
6145 | }; | |
6146 | ||
6147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; | |
6148 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6149 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6150 | { | |
6151 | arg2 = (int)(SWIG_As_int(obj1)); | |
6152 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6153 | } | |
6154 | { | |
6155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6156 | result = (int)(arg1)->GetLineIndentation(arg2); | |
6157 | ||
6158 | wxPyEndAllowThreads(__tstate); | |
6159 | if (PyErr_Occurred()) SWIG_fail; | |
6160 | } | |
6161 | { | |
6162 | resultobj = SWIG_From_int((int)(result)); | |
6163 | } | |
6164 | return resultobj; | |
6165 | fail: | |
6166 | return NULL; | |
6167 | } | |
6168 | ||
6169 | ||
6170 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
6171 | PyObject *resultobj; | |
6172 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6173 | int arg2 ; | |
6174 | int result; | |
6175 | PyObject * obj0 = 0 ; | |
6176 | PyObject * obj1 = 0 ; | |
6177 | char *kwnames[] = { | |
6178 | (char *) "self",(char *) "line", NULL | |
6179 | }; | |
6180 | ||
6181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; | |
6182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6184 | { | |
6185 | arg2 = (int)(SWIG_As_int(obj1)); | |
6186 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6187 | } | |
6188 | { | |
6189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6190 | result = (int)(arg1)->GetLineIndentPosition(arg2); | |
6191 | ||
6192 | wxPyEndAllowThreads(__tstate); | |
6193 | if (PyErr_Occurred()) SWIG_fail; | |
6194 | } | |
6195 | { | |
6196 | resultobj = SWIG_From_int((int)(result)); | |
6197 | } | |
6198 | return resultobj; | |
6199 | fail: | |
6200 | return NULL; | |
6201 | } | |
6202 | ||
6203 | ||
6204 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
6205 | PyObject *resultobj; | |
6206 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6207 | int arg2 ; | |
6208 | int result; | |
6209 | PyObject * obj0 = 0 ; | |
6210 | PyObject * obj1 = 0 ; | |
6211 | char *kwnames[] = { | |
6212 | (char *) "self",(char *) "pos", NULL | |
6213 | }; | |
6214 | ||
6215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; | |
6216 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6217 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6218 | { | |
6219 | arg2 = (int)(SWIG_As_int(obj1)); | |
6220 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6221 | } | |
6222 | { | |
6223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6224 | result = (int)(arg1)->GetColumn(arg2); | |
6225 | ||
6226 | wxPyEndAllowThreads(__tstate); | |
6227 | if (PyErr_Occurred()) SWIG_fail; | |
6228 | } | |
6229 | { | |
6230 | resultobj = SWIG_From_int((int)(result)); | |
6231 | } | |
6232 | return resultobj; | |
6233 | fail: | |
6234 | return NULL; | |
6235 | } | |
6236 | ||
6237 | ||
6238 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
6239 | PyObject *resultobj; | |
6240 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6241 | bool arg2 ; | |
6242 | PyObject * obj0 = 0 ; | |
6243 | PyObject * obj1 = 0 ; | |
6244 | char *kwnames[] = { | |
6245 | (char *) "self",(char *) "show", NULL | |
6246 | }; | |
6247 | ||
6248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
6249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6251 | { | |
6252 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6253 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6254 | } | |
6255 | { | |
6256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6257 | (arg1)->SetUseHorizontalScrollBar(arg2); | |
6258 | ||
6259 | wxPyEndAllowThreads(__tstate); | |
6260 | if (PyErr_Occurred()) SWIG_fail; | |
6261 | } | |
6262 | Py_INCREF(Py_None); resultobj = Py_None; | |
6263 | return resultobj; | |
6264 | fail: | |
6265 | return NULL; | |
6266 | } | |
6267 | ||
6268 | ||
6269 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
6270 | PyObject *resultobj; | |
6271 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6272 | bool result; | |
6273 | PyObject * obj0 = 0 ; | |
6274 | char *kwnames[] = { | |
6275 | (char *) "self", NULL | |
6276 | }; | |
6277 | ||
6278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; | |
6279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6281 | { | |
6282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6283 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); | |
6284 | ||
6285 | wxPyEndAllowThreads(__tstate); | |
6286 | if (PyErr_Occurred()) SWIG_fail; | |
6287 | } | |
6288 | { | |
6289 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6290 | } | |
6291 | return resultobj; | |
6292 | fail: | |
6293 | return NULL; | |
6294 | } | |
6295 | ||
6296 | ||
6297 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { | |
6298 | PyObject *resultobj; | |
6299 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6300 | bool arg2 ; | |
6301 | PyObject * obj0 = 0 ; | |
6302 | PyObject * obj1 = 0 ; | |
6303 | char *kwnames[] = { | |
6304 | (char *) "self",(char *) "show", NULL | |
6305 | }; | |
6306 | ||
6307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; | |
6308 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6309 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6310 | { | |
6311 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6312 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6313 | } | |
6314 | { | |
6315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6316 | (arg1)->SetIndentationGuides(arg2); | |
6317 | ||
6318 | wxPyEndAllowThreads(__tstate); | |
6319 | if (PyErr_Occurred()) SWIG_fail; | |
6320 | } | |
6321 | Py_INCREF(Py_None); resultobj = Py_None; | |
6322 | return resultobj; | |
6323 | fail: | |
6324 | return NULL; | |
6325 | } | |
6326 | ||
6327 | ||
6328 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { | |
6329 | PyObject *resultobj; | |
6330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6331 | bool result; | |
6332 | PyObject * obj0 = 0 ; | |
6333 | char *kwnames[] = { | |
6334 | (char *) "self", NULL | |
6335 | }; | |
6336 | ||
6337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; | |
6338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6340 | { | |
6341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6342 | result = (bool)(arg1)->GetIndentationGuides(); | |
6343 | ||
6344 | wxPyEndAllowThreads(__tstate); | |
6345 | if (PyErr_Occurred()) SWIG_fail; | |
6346 | } | |
6347 | { | |
6348 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6349 | } | |
6350 | return resultobj; | |
6351 | fail: | |
6352 | return NULL; | |
6353 | } | |
6354 | ||
6355 | ||
6356 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { | |
6357 | PyObject *resultobj; | |
6358 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6359 | int arg2 ; | |
6360 | PyObject * obj0 = 0 ; | |
6361 | PyObject * obj1 = 0 ; | |
6362 | char *kwnames[] = { | |
6363 | (char *) "self",(char *) "column", NULL | |
6364 | }; | |
6365 | ||
6366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; | |
6367 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6368 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6369 | { | |
6370 | arg2 = (int)(SWIG_As_int(obj1)); | |
6371 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6372 | } | |
6373 | { | |
6374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6375 | (arg1)->SetHighlightGuide(arg2); | |
6376 | ||
6377 | wxPyEndAllowThreads(__tstate); | |
6378 | if (PyErr_Occurred()) SWIG_fail; | |
6379 | } | |
6380 | Py_INCREF(Py_None); resultobj = Py_None; | |
6381 | return resultobj; | |
6382 | fail: | |
6383 | return NULL; | |
6384 | } | |
6385 | ||
6386 | ||
6387 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { | |
6388 | PyObject *resultobj; | |
6389 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6390 | int result; | |
6391 | PyObject * obj0 = 0 ; | |
6392 | char *kwnames[] = { | |
6393 | (char *) "self", NULL | |
6394 | }; | |
6395 | ||
6396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; | |
6397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6399 | { | |
6400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6401 | result = (int)(arg1)->GetHighlightGuide(); | |
6402 | ||
6403 | wxPyEndAllowThreads(__tstate); | |
6404 | if (PyErr_Occurred()) SWIG_fail; | |
6405 | } | |
6406 | { | |
6407 | resultobj = SWIG_From_int((int)(result)); | |
6408 | } | |
6409 | return resultobj; | |
6410 | fail: | |
6411 | return NULL; | |
6412 | } | |
6413 | ||
6414 | ||
6415 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
6416 | PyObject *resultobj; | |
6417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6418 | int arg2 ; | |
6419 | int result; | |
6420 | PyObject * obj0 = 0 ; | |
6421 | PyObject * obj1 = 0 ; | |
6422 | char *kwnames[] = { | |
6423 | (char *) "self",(char *) "line", NULL | |
6424 | }; | |
6425 | ||
6426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
6427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6429 | { | |
6430 | arg2 = (int)(SWIG_As_int(obj1)); | |
6431 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6432 | } | |
6433 | { | |
6434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6435 | result = (int)(arg1)->GetLineEndPosition(arg2); | |
6436 | ||
6437 | wxPyEndAllowThreads(__tstate); | |
6438 | if (PyErr_Occurred()) SWIG_fail; | |
6439 | } | |
6440 | { | |
6441 | resultobj = SWIG_From_int((int)(result)); | |
6442 | } | |
6443 | return resultobj; | |
6444 | fail: | |
6445 | return NULL; | |
6446 | } | |
6447 | ||
6448 | ||
6449 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { | |
6450 | PyObject *resultobj; | |
6451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6452 | int result; | |
6453 | PyObject * obj0 = 0 ; | |
6454 | char *kwnames[] = { | |
6455 | (char *) "self", NULL | |
6456 | }; | |
6457 | ||
6458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; | |
6459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6461 | { | |
6462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6463 | result = (int)(arg1)->GetCodePage(); | |
6464 | ||
6465 | wxPyEndAllowThreads(__tstate); | |
6466 | if (PyErr_Occurred()) SWIG_fail; | |
6467 | } | |
6468 | { | |
6469 | resultobj = SWIG_From_int((int)(result)); | |
6470 | } | |
6471 | return resultobj; | |
6472 | fail: | |
6473 | return NULL; | |
6474 | } | |
6475 | ||
6476 | ||
6477 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
6478 | PyObject *resultobj; | |
6479 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6480 | wxColour result; | |
6481 | PyObject * obj0 = 0 ; | |
6482 | char *kwnames[] = { | |
6483 | (char *) "self", NULL | |
6484 | }; | |
6485 | ||
6486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; | |
6487 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6488 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6489 | { | |
6490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6491 | result = (arg1)->GetCaretForeground(); | |
6492 | ||
6493 | wxPyEndAllowThreads(__tstate); | |
6494 | if (PyErr_Occurred()) SWIG_fail; | |
6495 | } | |
6496 | { | |
6497 | wxColour * resultptr; | |
6498 | resultptr = new wxColour((wxColour &)(result)); | |
6499 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
6500 | } | |
6501 | return resultobj; | |
6502 | fail: | |
6503 | return NULL; | |
6504 | } | |
6505 | ||
6506 | ||
6507 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { | |
6508 | PyObject *resultobj; | |
6509 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6510 | bool result; | |
6511 | PyObject * obj0 = 0 ; | |
6512 | char *kwnames[] = { | |
6513 | (char *) "self", NULL | |
6514 | }; | |
6515 | ||
6516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; | |
6517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6519 | { | |
6520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6521 | result = (bool)(arg1)->GetReadOnly(); | |
6522 | ||
6523 | wxPyEndAllowThreads(__tstate); | |
6524 | if (PyErr_Occurred()) SWIG_fail; | |
6525 | } | |
6526 | { | |
6527 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6528 | } | |
6529 | return resultobj; | |
6530 | fail: | |
6531 | return NULL; | |
6532 | } | |
6533 | ||
6534 | ||
6535 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { | |
6536 | PyObject *resultobj; | |
6537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6538 | int arg2 ; | |
6539 | PyObject * obj0 = 0 ; | |
6540 | PyObject * obj1 = 0 ; | |
6541 | char *kwnames[] = { | |
6542 | (char *) "self",(char *) "pos", NULL | |
6543 | }; | |
6544 | ||
6545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; | |
6546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6548 | { | |
6549 | arg2 = (int)(SWIG_As_int(obj1)); | |
6550 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6551 | } | |
6552 | { | |
6553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6554 | (arg1)->SetCurrentPos(arg2); | |
6555 | ||
6556 | wxPyEndAllowThreads(__tstate); | |
6557 | if (PyErr_Occurred()) SWIG_fail; | |
6558 | } | |
6559 | Py_INCREF(Py_None); resultobj = Py_None; | |
6560 | return resultobj; | |
6561 | fail: | |
6562 | return NULL; | |
6563 | } | |
6564 | ||
6565 | ||
6566 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
6567 | PyObject *resultobj; | |
6568 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6569 | int arg2 ; | |
6570 | PyObject * obj0 = 0 ; | |
6571 | PyObject * obj1 = 0 ; | |
6572 | char *kwnames[] = { | |
6573 | (char *) "self",(char *) "pos", NULL | |
6574 | }; | |
6575 | ||
6576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; | |
6577 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6578 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6579 | { | |
6580 | arg2 = (int)(SWIG_As_int(obj1)); | |
6581 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6582 | } | |
6583 | { | |
6584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6585 | (arg1)->SetSelectionStart(arg2); | |
6586 | ||
6587 | wxPyEndAllowThreads(__tstate); | |
6588 | if (PyErr_Occurred()) SWIG_fail; | |
6589 | } | |
6590 | Py_INCREF(Py_None); resultobj = Py_None; | |
6591 | return resultobj; | |
6592 | fail: | |
6593 | return NULL; | |
6594 | } | |
6595 | ||
6596 | ||
6597 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
6598 | PyObject *resultobj; | |
6599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6600 | int result; | |
6601 | PyObject * obj0 = 0 ; | |
6602 | char *kwnames[] = { | |
6603 | (char *) "self", NULL | |
6604 | }; | |
6605 | ||
6606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; | |
6607 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6609 | { | |
6610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6611 | result = (int)(arg1)->GetSelectionStart(); | |
6612 | ||
6613 | wxPyEndAllowThreads(__tstate); | |
6614 | if (PyErr_Occurred()) SWIG_fail; | |
6615 | } | |
6616 | { | |
6617 | resultobj = SWIG_From_int((int)(result)); | |
6618 | } | |
6619 | return resultobj; | |
6620 | fail: | |
6621 | return NULL; | |
6622 | } | |
6623 | ||
6624 | ||
6625 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
6626 | PyObject *resultobj; | |
6627 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6628 | int arg2 ; | |
6629 | PyObject * obj0 = 0 ; | |
6630 | PyObject * obj1 = 0 ; | |
6631 | char *kwnames[] = { | |
6632 | (char *) "self",(char *) "pos", NULL | |
6633 | }; | |
6634 | ||
6635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; | |
6636 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6637 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6638 | { | |
6639 | arg2 = (int)(SWIG_As_int(obj1)); | |
6640 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6641 | } | |
6642 | { | |
6643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6644 | (arg1)->SetSelectionEnd(arg2); | |
6645 | ||
6646 | wxPyEndAllowThreads(__tstate); | |
6647 | if (PyErr_Occurred()) SWIG_fail; | |
6648 | } | |
6649 | Py_INCREF(Py_None); resultobj = Py_None; | |
6650 | return resultobj; | |
6651 | fail: | |
6652 | return NULL; | |
6653 | } | |
6654 | ||
6655 | ||
6656 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
6657 | PyObject *resultobj; | |
6658 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6659 | int result; | |
6660 | PyObject * obj0 = 0 ; | |
6661 | char *kwnames[] = { | |
6662 | (char *) "self", NULL | |
6663 | }; | |
6664 | ||
6665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; | |
6666 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6667 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6668 | { | |
6669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6670 | result = (int)(arg1)->GetSelectionEnd(); | |
6671 | ||
6672 | wxPyEndAllowThreads(__tstate); | |
6673 | if (PyErr_Occurred()) SWIG_fail; | |
6674 | } | |
6675 | { | |
6676 | resultobj = SWIG_From_int((int)(result)); | |
6677 | } | |
6678 | return resultobj; | |
6679 | fail: | |
6680 | return NULL; | |
6681 | } | |
6682 | ||
6683 | ||
6684 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { | |
6685 | PyObject *resultobj; | |
6686 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6687 | int arg2 ; | |
6688 | PyObject * obj0 = 0 ; | |
6689 | PyObject * obj1 = 0 ; | |
6690 | char *kwnames[] = { | |
6691 | (char *) "self",(char *) "magnification", NULL | |
6692 | }; | |
6693 | ||
6694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; | |
6695 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6696 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6697 | { | |
6698 | arg2 = (int)(SWIG_As_int(obj1)); | |
6699 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6700 | } | |
6701 | { | |
6702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6703 | (arg1)->SetPrintMagnification(arg2); | |
6704 | ||
6705 | wxPyEndAllowThreads(__tstate); | |
6706 | if (PyErr_Occurred()) SWIG_fail; | |
6707 | } | |
6708 | Py_INCREF(Py_None); resultobj = Py_None; | |
6709 | return resultobj; | |
6710 | fail: | |
6711 | return NULL; | |
6712 | } | |
6713 | ||
6714 | ||
6715 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { | |
6716 | PyObject *resultobj; | |
6717 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6718 | int result; | |
6719 | PyObject * obj0 = 0 ; | |
6720 | char *kwnames[] = { | |
6721 | (char *) "self", NULL | |
6722 | }; | |
6723 | ||
6724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; | |
6725 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6726 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6727 | { | |
6728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6729 | result = (int)(arg1)->GetPrintMagnification(); | |
6730 | ||
6731 | wxPyEndAllowThreads(__tstate); | |
6732 | if (PyErr_Occurred()) SWIG_fail; | |
6733 | } | |
6734 | { | |
6735 | resultobj = SWIG_From_int((int)(result)); | |
6736 | } | |
6737 | return resultobj; | |
6738 | fail: | |
6739 | return NULL; | |
6740 | } | |
6741 | ||
6742 | ||
6743 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
6744 | PyObject *resultobj; | |
6745 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6746 | int arg2 ; | |
6747 | PyObject * obj0 = 0 ; | |
6748 | PyObject * obj1 = 0 ; | |
6749 | char *kwnames[] = { | |
6750 | (char *) "self",(char *) "mode", NULL | |
6751 | }; | |
6752 | ||
6753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; | |
6754 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6755 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6756 | { | |
6757 | arg2 = (int)(SWIG_As_int(obj1)); | |
6758 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6759 | } | |
6760 | { | |
6761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6762 | (arg1)->SetPrintColourMode(arg2); | |
6763 | ||
6764 | wxPyEndAllowThreads(__tstate); | |
6765 | if (PyErr_Occurred()) SWIG_fail; | |
6766 | } | |
6767 | Py_INCREF(Py_None); resultobj = Py_None; | |
6768 | return resultobj; | |
6769 | fail: | |
6770 | return NULL; | |
6771 | } | |
6772 | ||
6773 | ||
6774 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
6775 | PyObject *resultobj; | |
6776 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6777 | int result; | |
6778 | PyObject * obj0 = 0 ; | |
6779 | char *kwnames[] = { | |
6780 | (char *) "self", NULL | |
6781 | }; | |
6782 | ||
6783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; | |
6784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6786 | { | |
6787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6788 | result = (int)(arg1)->GetPrintColourMode(); | |
6789 | ||
6790 | wxPyEndAllowThreads(__tstate); | |
6791 | if (PyErr_Occurred()) SWIG_fail; | |
6792 | } | |
6793 | { | |
6794 | resultobj = SWIG_From_int((int)(result)); | |
6795 | } | |
6796 | return resultobj; | |
6797 | fail: | |
6798 | return NULL; | |
6799 | } | |
6800 | ||
6801 | ||
6802 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { | |
6803 | PyObject *resultobj; | |
6804 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6805 | int arg2 ; | |
6806 | int arg3 ; | |
6807 | wxString *arg4 = 0 ; | |
6808 | int arg5 = (int) 0 ; | |
6809 | int result; | |
6810 | bool temp4 = false ; | |
6811 | PyObject * obj0 = 0 ; | |
6812 | PyObject * obj1 = 0 ; | |
6813 | PyObject * obj2 = 0 ; | |
6814 | PyObject * obj3 = 0 ; | |
6815 | PyObject * obj4 = 0 ; | |
6816 | char *kwnames[] = { | |
6817 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL | |
6818 | }; | |
6819 | ||
6820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
6821 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6822 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6823 | { | |
6824 | arg2 = (int)(SWIG_As_int(obj1)); | |
6825 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6826 | } | |
6827 | { | |
6828 | arg3 = (int)(SWIG_As_int(obj2)); | |
6829 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6830 | } | |
6831 | { | |
6832 | arg4 = wxString_in_helper(obj3); | |
6833 | if (arg4 == NULL) SWIG_fail; | |
6834 | temp4 = true; | |
6835 | } | |
6836 | if (obj4) { | |
6837 | { | |
6838 | arg5 = (int)(SWIG_As_int(obj4)); | |
6839 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6840 | } | |
6841 | } | |
6842 | { | |
6843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6844 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); | |
6845 | ||
6846 | wxPyEndAllowThreads(__tstate); | |
6847 | if (PyErr_Occurred()) SWIG_fail; | |
6848 | } | |
6849 | { | |
6850 | resultobj = SWIG_From_int((int)(result)); | |
6851 | } | |
6852 | { | |
6853 | if (temp4) | |
6854 | delete arg4; | |
6855 | } | |
6856 | return resultobj; | |
6857 | fail: | |
6858 | { | |
6859 | if (temp4) | |
6860 | delete arg4; | |
6861 | } | |
6862 | return NULL; | |
6863 | } | |
6864 | ||
6865 | ||
6866 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { | |
6867 | PyObject *resultobj; | |
6868 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6869 | bool arg2 ; | |
6870 | int arg3 ; | |
6871 | int arg4 ; | |
6872 | wxDC *arg5 = (wxDC *) 0 ; | |
6873 | wxDC *arg6 = (wxDC *) 0 ; | |
6874 | wxRect arg7 ; | |
6875 | wxRect arg8 ; | |
6876 | int result; | |
6877 | PyObject * obj0 = 0 ; | |
6878 | PyObject * obj1 = 0 ; | |
6879 | PyObject * obj2 = 0 ; | |
6880 | PyObject * obj3 = 0 ; | |
6881 | PyObject * obj4 = 0 ; | |
6882 | PyObject * obj5 = 0 ; | |
6883 | PyObject * obj6 = 0 ; | |
6884 | PyObject * obj7 = 0 ; | |
6885 | char *kwnames[] = { | |
6886 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL | |
6887 | }; | |
6888 | ||
6889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
6890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6892 | { | |
6893 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
6894 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6895 | } | |
6896 | { | |
6897 | arg3 = (int)(SWIG_As_int(obj2)); | |
6898 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6899 | } | |
6900 | { | |
6901 | arg4 = (int)(SWIG_As_int(obj3)); | |
6902 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6903 | } | |
6904 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6905 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6906 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
6907 | if (SWIG_arg_fail(6)) SWIG_fail; | |
6908 | { | |
6909 | wxRect * argp; | |
6910 | SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
6911 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6912 | if (argp == NULL) { | |
6913 | SWIG_null_ref("wxRect"); | |
6914 | } | |
6915 | if (SWIG_arg_fail(7)) SWIG_fail; | |
6916 | arg7 = *argp; | |
6917 | } | |
6918 | { | |
6919 | wxRect * argp; | |
6920 | SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
6921 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6922 | if (argp == NULL) { | |
6923 | SWIG_null_ref("wxRect"); | |
6924 | } | |
6925 | if (SWIG_arg_fail(8)) SWIG_fail; | |
6926 | arg8 = *argp; | |
6927 | } | |
6928 | { | |
6929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6930 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
6931 | ||
6932 | wxPyEndAllowThreads(__tstate); | |
6933 | if (PyErr_Occurred()) SWIG_fail; | |
6934 | } | |
6935 | { | |
6936 | resultobj = SWIG_From_int((int)(result)); | |
6937 | } | |
6938 | return resultobj; | |
6939 | fail: | |
6940 | return NULL; | |
6941 | } | |
6942 | ||
6943 | ||
6944 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
6945 | PyObject *resultobj; | |
6946 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6947 | int result; | |
6948 | PyObject * obj0 = 0 ; | |
6949 | char *kwnames[] = { | |
6950 | (char *) "self", NULL | |
6951 | }; | |
6952 | ||
6953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
6954 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6955 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6956 | { | |
6957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6958 | result = (int)(arg1)->GetFirstVisibleLine(); | |
6959 | ||
6960 | wxPyEndAllowThreads(__tstate); | |
6961 | if (PyErr_Occurred()) SWIG_fail; | |
6962 | } | |
6963 | { | |
6964 | resultobj = SWIG_From_int((int)(result)); | |
6965 | } | |
6966 | return resultobj; | |
6967 | fail: | |
6968 | return NULL; | |
6969 | } | |
6970 | ||
6971 | ||
6972 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
6973 | PyObject *resultobj; | |
6974 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6975 | int arg2 ; | |
6976 | wxString result; | |
6977 | PyObject * obj0 = 0 ; | |
6978 | PyObject * obj1 = 0 ; | |
6979 | char *kwnames[] = { | |
6980 | (char *) "self",(char *) "line", NULL | |
6981 | }; | |
6982 | ||
6983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; | |
6984 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6985 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6986 | { | |
6987 | arg2 = (int)(SWIG_As_int(obj1)); | |
6988 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6989 | } | |
6990 | { | |
6991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6992 | result = (arg1)->GetLine(arg2); | |
6993 | ||
6994 | wxPyEndAllowThreads(__tstate); | |
6995 | if (PyErr_Occurred()) SWIG_fail; | |
6996 | } | |
6997 | { | |
6998 | #if wxUSE_UNICODE | |
6999 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7000 | #else | |
7001 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7002 | #endif | |
7003 | } | |
7004 | return resultobj; | |
7005 | fail: | |
7006 | return NULL; | |
7007 | } | |
7008 | ||
7009 | ||
7010 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { | |
7011 | PyObject *resultobj; | |
7012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7013 | int result; | |
7014 | PyObject * obj0 = 0 ; | |
7015 | char *kwnames[] = { | |
7016 | (char *) "self", NULL | |
7017 | }; | |
7018 | ||
7019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; | |
7020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7022 | { | |
7023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7024 | result = (int)(arg1)->GetLineCount(); | |
7025 | ||
7026 | wxPyEndAllowThreads(__tstate); | |
7027 | if (PyErr_Occurred()) SWIG_fail; | |
7028 | } | |
7029 | { | |
7030 | resultobj = SWIG_From_int((int)(result)); | |
7031 | } | |
7032 | return resultobj; | |
7033 | fail: | |
7034 | return NULL; | |
7035 | } | |
7036 | ||
7037 | ||
7038 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
7039 | PyObject *resultobj; | |
7040 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7041 | int arg2 ; | |
7042 | PyObject * obj0 = 0 ; | |
7043 | PyObject * obj1 = 0 ; | |
7044 | char *kwnames[] = { | |
7045 | (char *) "self",(char *) "pixelWidth", NULL | |
7046 | }; | |
7047 | ||
7048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; | |
7049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7051 | { | |
7052 | arg2 = (int)(SWIG_As_int(obj1)); | |
7053 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7054 | } | |
7055 | { | |
7056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7057 | (arg1)->SetMarginLeft(arg2); | |
7058 | ||
7059 | wxPyEndAllowThreads(__tstate); | |
7060 | if (PyErr_Occurred()) SWIG_fail; | |
7061 | } | |
7062 | Py_INCREF(Py_None); resultobj = Py_None; | |
7063 | return resultobj; | |
7064 | fail: | |
7065 | return NULL; | |
7066 | } | |
7067 | ||
7068 | ||
7069 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
7070 | PyObject *resultobj; | |
7071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7072 | int result; | |
7073 | PyObject * obj0 = 0 ; | |
7074 | char *kwnames[] = { | |
7075 | (char *) "self", NULL | |
7076 | }; | |
7077 | ||
7078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; | |
7079 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7080 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7081 | { | |
7082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7083 | result = (int)(arg1)->GetMarginLeft(); | |
7084 | ||
7085 | wxPyEndAllowThreads(__tstate); | |
7086 | if (PyErr_Occurred()) SWIG_fail; | |
7087 | } | |
7088 | { | |
7089 | resultobj = SWIG_From_int((int)(result)); | |
7090 | } | |
7091 | return resultobj; | |
7092 | fail: | |
7093 | return NULL; | |
7094 | } | |
7095 | ||
7096 | ||
7097 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
7098 | PyObject *resultobj; | |
7099 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7100 | int arg2 ; | |
7101 | PyObject * obj0 = 0 ; | |
7102 | PyObject * obj1 = 0 ; | |
7103 | char *kwnames[] = { | |
7104 | (char *) "self",(char *) "pixelWidth", NULL | |
7105 | }; | |
7106 | ||
7107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; | |
7108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7110 | { | |
7111 | arg2 = (int)(SWIG_As_int(obj1)); | |
7112 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7113 | } | |
7114 | { | |
7115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7116 | (arg1)->SetMarginRight(arg2); | |
7117 | ||
7118 | wxPyEndAllowThreads(__tstate); | |
7119 | if (PyErr_Occurred()) SWIG_fail; | |
7120 | } | |
7121 | Py_INCREF(Py_None); resultobj = Py_None; | |
7122 | return resultobj; | |
7123 | fail: | |
7124 | return NULL; | |
7125 | } | |
7126 | ||
7127 | ||
7128 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
7129 | PyObject *resultobj; | |
7130 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7131 | int result; | |
7132 | PyObject * obj0 = 0 ; | |
7133 | char *kwnames[] = { | |
7134 | (char *) "self", NULL | |
7135 | }; | |
7136 | ||
7137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; | |
7138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7140 | { | |
7141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7142 | result = (int)(arg1)->GetMarginRight(); | |
7143 | ||
7144 | wxPyEndAllowThreads(__tstate); | |
7145 | if (PyErr_Occurred()) SWIG_fail; | |
7146 | } | |
7147 | { | |
7148 | resultobj = SWIG_From_int((int)(result)); | |
7149 | } | |
7150 | return resultobj; | |
7151 | fail: | |
7152 | return NULL; | |
7153 | } | |
7154 | ||
7155 | ||
7156 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { | |
7157 | PyObject *resultobj; | |
7158 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7159 | bool result; | |
7160 | PyObject * obj0 = 0 ; | |
7161 | char *kwnames[] = { | |
7162 | (char *) "self", NULL | |
7163 | }; | |
7164 | ||
7165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; | |
7166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7168 | { | |
7169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7170 | result = (bool)(arg1)->GetModify(); | |
7171 | ||
7172 | wxPyEndAllowThreads(__tstate); | |
7173 | if (PyErr_Occurred()) SWIG_fail; | |
7174 | } | |
7175 | { | |
7176 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7177 | } | |
7178 | return resultobj; | |
7179 | fail: | |
7180 | return NULL; | |
7181 | } | |
7182 | ||
7183 | ||
7184 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
7185 | PyObject *resultobj; | |
7186 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7187 | int arg2 ; | |
7188 | int arg3 ; | |
7189 | PyObject * obj0 = 0 ; | |
7190 | PyObject * obj1 = 0 ; | |
7191 | PyObject * obj2 = 0 ; | |
7192 | char *kwnames[] = { | |
7193 | (char *) "self",(char *) "start",(char *) "end", NULL | |
7194 | }; | |
7195 | ||
7196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7197 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7198 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7199 | { | |
7200 | arg2 = (int)(SWIG_As_int(obj1)); | |
7201 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7202 | } | |
7203 | { | |
7204 | arg3 = (int)(SWIG_As_int(obj2)); | |
7205 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7206 | } | |
7207 | { | |
7208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7209 | (arg1)->SetSelection(arg2,arg3); | |
7210 | ||
7211 | wxPyEndAllowThreads(__tstate); | |
7212 | if (PyErr_Occurred()) SWIG_fail; | |
7213 | } | |
7214 | Py_INCREF(Py_None); resultobj = Py_None; | |
7215 | return resultobj; | |
7216 | fail: | |
7217 | return NULL; | |
7218 | } | |
7219 | ||
7220 | ||
7221 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { | |
7222 | PyObject *resultobj; | |
7223 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7224 | wxString result; | |
7225 | PyObject * obj0 = 0 ; | |
7226 | char *kwnames[] = { | |
7227 | (char *) "self", NULL | |
7228 | }; | |
7229 | ||
7230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; | |
7231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7233 | { | |
7234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7235 | result = (arg1)->GetSelectedText(); | |
7236 | ||
7237 | wxPyEndAllowThreads(__tstate); | |
7238 | if (PyErr_Occurred()) SWIG_fail; | |
7239 | } | |
7240 | { | |
7241 | #if wxUSE_UNICODE | |
7242 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7243 | #else | |
7244 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7245 | #endif | |
7246 | } | |
7247 | return resultobj; | |
7248 | fail: | |
7249 | return NULL; | |
7250 | } | |
7251 | ||
7252 | ||
7253 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { | |
7254 | PyObject *resultobj; | |
7255 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7256 | int arg2 ; | |
7257 | int arg3 ; | |
7258 | wxString result; | |
7259 | PyObject * obj0 = 0 ; | |
7260 | PyObject * obj1 = 0 ; | |
7261 | PyObject * obj2 = 0 ; | |
7262 | char *kwnames[] = { | |
7263 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
7264 | }; | |
7265 | ||
7266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7267 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7269 | { | |
7270 | arg2 = (int)(SWIG_As_int(obj1)); | |
7271 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7272 | } | |
7273 | { | |
7274 | arg3 = (int)(SWIG_As_int(obj2)); | |
7275 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7276 | } | |
7277 | { | |
7278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7279 | result = (arg1)->GetTextRange(arg2,arg3); | |
7280 | ||
7281 | wxPyEndAllowThreads(__tstate); | |
7282 | if (PyErr_Occurred()) SWIG_fail; | |
7283 | } | |
7284 | { | |
7285 | #if wxUSE_UNICODE | |
7286 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7287 | #else | |
7288 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7289 | #endif | |
7290 | } | |
7291 | return resultobj; | |
7292 | fail: | |
7293 | return NULL; | |
7294 | } | |
7295 | ||
7296 | ||
7297 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
7298 | PyObject *resultobj; | |
7299 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7300 | bool arg2 ; | |
7301 | PyObject * obj0 = 0 ; | |
7302 | PyObject * obj1 = 0 ; | |
7303 | char *kwnames[] = { | |
7304 | (char *) "self",(char *) "normal", NULL | |
7305 | }; | |
7306 | ||
7307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; | |
7308 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7309 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7310 | { | |
7311 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7312 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7313 | } | |
7314 | { | |
7315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7316 | (arg1)->HideSelection(arg2); | |
7317 | ||
7318 | wxPyEndAllowThreads(__tstate); | |
7319 | if (PyErr_Occurred()) SWIG_fail; | |
7320 | } | |
7321 | Py_INCREF(Py_None); resultobj = Py_None; | |
7322 | return resultobj; | |
7323 | fail: | |
7324 | return NULL; | |
7325 | } | |
7326 | ||
7327 | ||
7328 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
7329 | PyObject *resultobj; | |
7330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7331 | int arg2 ; | |
7332 | int result; | |
7333 | PyObject * obj0 = 0 ; | |
7334 | PyObject * obj1 = 0 ; | |
7335 | char *kwnames[] = { | |
7336 | (char *) "self",(char *) "pos", NULL | |
7337 | }; | |
7338 | ||
7339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; | |
7340 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7341 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7342 | { | |
7343 | arg2 = (int)(SWIG_As_int(obj1)); | |
7344 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7345 | } | |
7346 | { | |
7347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7348 | result = (int)(arg1)->LineFromPosition(arg2); | |
7349 | ||
7350 | wxPyEndAllowThreads(__tstate); | |
7351 | if (PyErr_Occurred()) SWIG_fail; | |
7352 | } | |
7353 | { | |
7354 | resultobj = SWIG_From_int((int)(result)); | |
7355 | } | |
7356 | return resultobj; | |
7357 | fail: | |
7358 | return NULL; | |
7359 | } | |
7360 | ||
7361 | ||
7362 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
7363 | PyObject *resultobj; | |
7364 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7365 | int arg2 ; | |
7366 | int result; | |
7367 | PyObject * obj0 = 0 ; | |
7368 | PyObject * obj1 = 0 ; | |
7369 | char *kwnames[] = { | |
7370 | (char *) "self",(char *) "line", NULL | |
7371 | }; | |
7372 | ||
7373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; | |
7374 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7375 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7376 | { | |
7377 | arg2 = (int)(SWIG_As_int(obj1)); | |
7378 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7379 | } | |
7380 | { | |
7381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7382 | result = (int)(arg1)->PositionFromLine(arg2); | |
7383 | ||
7384 | wxPyEndAllowThreads(__tstate); | |
7385 | if (PyErr_Occurred()) SWIG_fail; | |
7386 | } | |
7387 | { | |
7388 | resultobj = SWIG_From_int((int)(result)); | |
7389 | } | |
7390 | return resultobj; | |
7391 | fail: | |
7392 | return NULL; | |
7393 | } | |
7394 | ||
7395 | ||
7396 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { | |
7397 | PyObject *resultobj; | |
7398 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7399 | int arg2 ; | |
7400 | int arg3 ; | |
7401 | PyObject * obj0 = 0 ; | |
7402 | PyObject * obj1 = 0 ; | |
7403 | PyObject * obj2 = 0 ; | |
7404 | char *kwnames[] = { | |
7405 | (char *) "self",(char *) "columns",(char *) "lines", NULL | |
7406 | }; | |
7407 | ||
7408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7411 | { | |
7412 | arg2 = (int)(SWIG_As_int(obj1)); | |
7413 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7414 | } | |
7415 | { | |
7416 | arg3 = (int)(SWIG_As_int(obj2)); | |
7417 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7418 | } | |
7419 | { | |
7420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7421 | (arg1)->LineScroll(arg2,arg3); | |
7422 | ||
7423 | wxPyEndAllowThreads(__tstate); | |
7424 | if (PyErr_Occurred()) SWIG_fail; | |
7425 | } | |
7426 | Py_INCREF(Py_None); resultobj = Py_None; | |
7427 | return resultobj; | |
7428 | fail: | |
7429 | return NULL; | |
7430 | } | |
7431 | ||
7432 | ||
7433 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
7434 | PyObject *resultobj; | |
7435 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7436 | PyObject * obj0 = 0 ; | |
7437 | char *kwnames[] = { | |
7438 | (char *) "self", NULL | |
7439 | }; | |
7440 | ||
7441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; | |
7442 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7443 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7444 | { | |
7445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7446 | (arg1)->EnsureCaretVisible(); | |
7447 | ||
7448 | wxPyEndAllowThreads(__tstate); | |
7449 | if (PyErr_Occurred()) SWIG_fail; | |
7450 | } | |
7451 | Py_INCREF(Py_None); resultobj = Py_None; | |
7452 | return resultobj; | |
7453 | fail: | |
7454 | return NULL; | |
7455 | } | |
7456 | ||
7457 | ||
7458 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
7459 | PyObject *resultobj; | |
7460 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7461 | wxString *arg2 = 0 ; | |
7462 | bool temp2 = false ; | |
7463 | PyObject * obj0 = 0 ; | |
7464 | PyObject * obj1 = 0 ; | |
7465 | char *kwnames[] = { | |
7466 | (char *) "self",(char *) "text", NULL | |
7467 | }; | |
7468 | ||
7469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; | |
7470 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7471 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7472 | { | |
7473 | arg2 = wxString_in_helper(obj1); | |
7474 | if (arg2 == NULL) SWIG_fail; | |
7475 | temp2 = true; | |
7476 | } | |
7477 | { | |
7478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7479 | (arg1)->ReplaceSelection((wxString const &)*arg2); | |
7480 | ||
7481 | wxPyEndAllowThreads(__tstate); | |
7482 | if (PyErr_Occurred()) SWIG_fail; | |
7483 | } | |
7484 | Py_INCREF(Py_None); resultobj = Py_None; | |
7485 | { | |
7486 | if (temp2) | |
7487 | delete arg2; | |
7488 | } | |
7489 | return resultobj; | |
7490 | fail: | |
7491 | { | |
7492 | if (temp2) | |
7493 | delete arg2; | |
7494 | } | |
7495 | return NULL; | |
7496 | } | |
7497 | ||
7498 | ||
7499 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { | |
7500 | PyObject *resultobj; | |
7501 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7502 | bool arg2 ; | |
7503 | PyObject * obj0 = 0 ; | |
7504 | PyObject * obj1 = 0 ; | |
7505 | char *kwnames[] = { | |
7506 | (char *) "self",(char *) "readOnly", NULL | |
7507 | }; | |
7508 | ||
7509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; | |
7510 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7511 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7512 | { | |
7513 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7514 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7515 | } | |
7516 | { | |
7517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7518 | (arg1)->SetReadOnly(arg2); | |
7519 | ||
7520 | wxPyEndAllowThreads(__tstate); | |
7521 | if (PyErr_Occurred()) SWIG_fail; | |
7522 | } | |
7523 | Py_INCREF(Py_None); resultobj = Py_None; | |
7524 | return resultobj; | |
7525 | fail: | |
7526 | return NULL; | |
7527 | } | |
7528 | ||
7529 | ||
7530 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { | |
7531 | PyObject *resultobj; | |
7532 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7533 | bool result; | |
7534 | PyObject * obj0 = 0 ; | |
7535 | char *kwnames[] = { | |
7536 | (char *) "self", NULL | |
7537 | }; | |
7538 | ||
7539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; | |
7540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7542 | { | |
7543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7544 | result = (bool)(arg1)->CanPaste(); | |
7545 | ||
7546 | wxPyEndAllowThreads(__tstate); | |
7547 | if (PyErr_Occurred()) SWIG_fail; | |
7548 | } | |
7549 | { | |
7550 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7551 | } | |
7552 | return resultobj; | |
7553 | fail: | |
7554 | return NULL; | |
7555 | } | |
7556 | ||
7557 | ||
7558 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { | |
7559 | PyObject *resultobj; | |
7560 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7561 | bool result; | |
7562 | PyObject * obj0 = 0 ; | |
7563 | char *kwnames[] = { | |
7564 | (char *) "self", NULL | |
7565 | }; | |
7566 | ||
7567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; | |
7568 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7569 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7570 | { | |
7571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7572 | result = (bool)(arg1)->CanUndo(); | |
7573 | ||
7574 | wxPyEndAllowThreads(__tstate); | |
7575 | if (PyErr_Occurred()) SWIG_fail; | |
7576 | } | |
7577 | { | |
7578 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7579 | } | |
7580 | return resultobj; | |
7581 | fail: | |
7582 | return NULL; | |
7583 | } | |
7584 | ||
7585 | ||
7586 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { | |
7587 | PyObject *resultobj; | |
7588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7589 | PyObject * obj0 = 0 ; | |
7590 | char *kwnames[] = { | |
7591 | (char *) "self", NULL | |
7592 | }; | |
7593 | ||
7594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; | |
7595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7597 | { | |
7598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7599 | (arg1)->EmptyUndoBuffer(); | |
7600 | ||
7601 | wxPyEndAllowThreads(__tstate); | |
7602 | if (PyErr_Occurred()) SWIG_fail; | |
7603 | } | |
7604 | Py_INCREF(Py_None); resultobj = Py_None; | |
7605 | return resultobj; | |
7606 | fail: | |
7607 | return NULL; | |
7608 | } | |
7609 | ||
7610 | ||
7611 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { | |
7612 | PyObject *resultobj; | |
7613 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7614 | PyObject * obj0 = 0 ; | |
7615 | char *kwnames[] = { | |
7616 | (char *) "self", NULL | |
7617 | }; | |
7618 | ||
7619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; | |
7620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7622 | { | |
7623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7624 | (arg1)->Undo(); | |
7625 | ||
7626 | wxPyEndAllowThreads(__tstate); | |
7627 | if (PyErr_Occurred()) SWIG_fail; | |
7628 | } | |
7629 | Py_INCREF(Py_None); resultobj = Py_None; | |
7630 | return resultobj; | |
7631 | fail: | |
7632 | return NULL; | |
7633 | } | |
7634 | ||
7635 | ||
7636 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { | |
7637 | PyObject *resultobj; | |
7638 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7639 | PyObject * obj0 = 0 ; | |
7640 | char *kwnames[] = { | |
7641 | (char *) "self", NULL | |
7642 | }; | |
7643 | ||
7644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; | |
7645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7647 | { | |
7648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7649 | (arg1)->Cut(); | |
7650 | ||
7651 | wxPyEndAllowThreads(__tstate); | |
7652 | if (PyErr_Occurred()) SWIG_fail; | |
7653 | } | |
7654 | Py_INCREF(Py_None); resultobj = Py_None; | |
7655 | return resultobj; | |
7656 | fail: | |
7657 | return NULL; | |
7658 | } | |
7659 | ||
7660 | ||
7661 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { | |
7662 | PyObject *resultobj; | |
7663 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7664 | PyObject * obj0 = 0 ; | |
7665 | char *kwnames[] = { | |
7666 | (char *) "self", NULL | |
7667 | }; | |
7668 | ||
7669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; | |
7670 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7671 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7672 | { | |
7673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7674 | (arg1)->Copy(); | |
7675 | ||
7676 | wxPyEndAllowThreads(__tstate); | |
7677 | if (PyErr_Occurred()) SWIG_fail; | |
7678 | } | |
7679 | Py_INCREF(Py_None); resultobj = Py_None; | |
7680 | return resultobj; | |
7681 | fail: | |
7682 | return NULL; | |
7683 | } | |
7684 | ||
7685 | ||
7686 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { | |
7687 | PyObject *resultobj; | |
7688 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7689 | PyObject * obj0 = 0 ; | |
7690 | char *kwnames[] = { | |
7691 | (char *) "self", NULL | |
7692 | }; | |
7693 | ||
7694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; | |
7695 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7696 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7697 | { | |
7698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7699 | (arg1)->Paste(); | |
7700 | ||
7701 | wxPyEndAllowThreads(__tstate); | |
7702 | if (PyErr_Occurred()) SWIG_fail; | |
7703 | } | |
7704 | Py_INCREF(Py_None); resultobj = Py_None; | |
7705 | return resultobj; | |
7706 | fail: | |
7707 | return NULL; | |
7708 | } | |
7709 | ||
7710 | ||
7711 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { | |
7712 | PyObject *resultobj; | |
7713 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7714 | PyObject * obj0 = 0 ; | |
7715 | char *kwnames[] = { | |
7716 | (char *) "self", NULL | |
7717 | }; | |
7718 | ||
7719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; | |
7720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7722 | { | |
7723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7724 | (arg1)->Clear(); | |
7725 | ||
7726 | wxPyEndAllowThreads(__tstate); | |
7727 | if (PyErr_Occurred()) SWIG_fail; | |
7728 | } | |
7729 | Py_INCREF(Py_None); resultobj = Py_None; | |
7730 | return resultobj; | |
7731 | fail: | |
7732 | return NULL; | |
7733 | } | |
7734 | ||
7735 | ||
7736 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
7737 | PyObject *resultobj; | |
7738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7739 | wxString *arg2 = 0 ; | |
7740 | bool temp2 = false ; | |
7741 | PyObject * obj0 = 0 ; | |
7742 | PyObject * obj1 = 0 ; | |
7743 | char *kwnames[] = { | |
7744 | (char *) "self",(char *) "text", NULL | |
7745 | }; | |
7746 | ||
7747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; | |
7748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7750 | { | |
7751 | arg2 = wxString_in_helper(obj1); | |
7752 | if (arg2 == NULL) SWIG_fail; | |
7753 | temp2 = true; | |
7754 | } | |
7755 | { | |
7756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7757 | (arg1)->SetText((wxString const &)*arg2); | |
7758 | ||
7759 | wxPyEndAllowThreads(__tstate); | |
7760 | if (PyErr_Occurred()) SWIG_fail; | |
7761 | } | |
7762 | Py_INCREF(Py_None); resultobj = Py_None; | |
7763 | { | |
7764 | if (temp2) | |
7765 | delete arg2; | |
7766 | } | |
7767 | return resultobj; | |
7768 | fail: | |
7769 | { | |
7770 | if (temp2) | |
7771 | delete arg2; | |
7772 | } | |
7773 | return NULL; | |
7774 | } | |
7775 | ||
7776 | ||
7777 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
7778 | PyObject *resultobj; | |
7779 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7780 | wxString result; | |
7781 | PyObject * obj0 = 0 ; | |
7782 | char *kwnames[] = { | |
7783 | (char *) "self", NULL | |
7784 | }; | |
7785 | ||
7786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; | |
7787 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7788 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7789 | { | |
7790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7791 | result = (arg1)->GetText(); | |
7792 | ||
7793 | wxPyEndAllowThreads(__tstate); | |
7794 | if (PyErr_Occurred()) SWIG_fail; | |
7795 | } | |
7796 | { | |
7797 | #if wxUSE_UNICODE | |
7798 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7799 | #else | |
7800 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7801 | #endif | |
7802 | } | |
7803 | return resultobj; | |
7804 | fail: | |
7805 | return NULL; | |
7806 | } | |
7807 | ||
7808 | ||
7809 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
7810 | PyObject *resultobj; | |
7811 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7812 | int result; | |
7813 | PyObject * obj0 = 0 ; | |
7814 | char *kwnames[] = { | |
7815 | (char *) "self", NULL | |
7816 | }; | |
7817 | ||
7818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; | |
7819 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7820 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7821 | { | |
7822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7823 | result = (int)(arg1)->GetTextLength(); | |
7824 | ||
7825 | wxPyEndAllowThreads(__tstate); | |
7826 | if (PyErr_Occurred()) SWIG_fail; | |
7827 | } | |
7828 | { | |
7829 | resultobj = SWIG_From_int((int)(result)); | |
7830 | } | |
7831 | return resultobj; | |
7832 | fail: | |
7833 | return NULL; | |
7834 | } | |
7835 | ||
7836 | ||
7837 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { | |
7838 | PyObject *resultobj; | |
7839 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7840 | bool arg2 ; | |
7841 | PyObject * obj0 = 0 ; | |
7842 | PyObject * obj1 = 0 ; | |
7843 | char *kwnames[] = { | |
7844 | (char *) "self",(char *) "overtype", NULL | |
7845 | }; | |
7846 | ||
7847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; | |
7848 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7849 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7850 | { | |
7851 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7852 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7853 | } | |
7854 | { | |
7855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7856 | (arg1)->SetOvertype(arg2); | |
7857 | ||
7858 | wxPyEndAllowThreads(__tstate); | |
7859 | if (PyErr_Occurred()) SWIG_fail; | |
7860 | } | |
7861 | Py_INCREF(Py_None); resultobj = Py_None; | |
7862 | return resultobj; | |
7863 | fail: | |
7864 | return NULL; | |
7865 | } | |
7866 | ||
7867 | ||
7868 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { | |
7869 | PyObject *resultobj; | |
7870 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7871 | bool result; | |
7872 | PyObject * obj0 = 0 ; | |
7873 | char *kwnames[] = { | |
7874 | (char *) "self", NULL | |
7875 | }; | |
7876 | ||
7877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; | |
7878 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7879 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7880 | { | |
7881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7882 | result = (bool)(arg1)->GetOvertype(); | |
7883 | ||
7884 | wxPyEndAllowThreads(__tstate); | |
7885 | if (PyErr_Occurred()) SWIG_fail; | |
7886 | } | |
7887 | { | |
7888 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7889 | } | |
7890 | return resultobj; | |
7891 | fail: | |
7892 | return NULL; | |
7893 | } | |
7894 | ||
7895 | ||
7896 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
7897 | PyObject *resultobj; | |
7898 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7899 | int arg2 ; | |
7900 | PyObject * obj0 = 0 ; | |
7901 | PyObject * obj1 = 0 ; | |
7902 | char *kwnames[] = { | |
7903 | (char *) "self",(char *) "pixelWidth", NULL | |
7904 | }; | |
7905 | ||
7906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; | |
7907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7909 | { | |
7910 | arg2 = (int)(SWIG_As_int(obj1)); | |
7911 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7912 | } | |
7913 | { | |
7914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7915 | (arg1)->SetCaretWidth(arg2); | |
7916 | ||
7917 | wxPyEndAllowThreads(__tstate); | |
7918 | if (PyErr_Occurred()) SWIG_fail; | |
7919 | } | |
7920 | Py_INCREF(Py_None); resultobj = Py_None; | |
7921 | return resultobj; | |
7922 | fail: | |
7923 | return NULL; | |
7924 | } | |
7925 | ||
7926 | ||
7927 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
7928 | PyObject *resultobj; | |
7929 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7930 | int result; | |
7931 | PyObject * obj0 = 0 ; | |
7932 | char *kwnames[] = { | |
7933 | (char *) "self", NULL | |
7934 | }; | |
7935 | ||
7936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; | |
7937 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7938 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7939 | { | |
7940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7941 | result = (int)(arg1)->GetCaretWidth(); | |
7942 | ||
7943 | wxPyEndAllowThreads(__tstate); | |
7944 | if (PyErr_Occurred()) SWIG_fail; | |
7945 | } | |
7946 | { | |
7947 | resultobj = SWIG_From_int((int)(result)); | |
7948 | } | |
7949 | return resultobj; | |
7950 | fail: | |
7951 | return NULL; | |
7952 | } | |
7953 | ||
7954 | ||
7955 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
7956 | PyObject *resultobj; | |
7957 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7958 | int arg2 ; | |
7959 | PyObject * obj0 = 0 ; | |
7960 | PyObject * obj1 = 0 ; | |
7961 | char *kwnames[] = { | |
7962 | (char *) "self",(char *) "pos", NULL | |
7963 | }; | |
7964 | ||
7965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; | |
7966 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7967 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7968 | { | |
7969 | arg2 = (int)(SWIG_As_int(obj1)); | |
7970 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7971 | } | |
7972 | { | |
7973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7974 | (arg1)->SetTargetStart(arg2); | |
7975 | ||
7976 | wxPyEndAllowThreads(__tstate); | |
7977 | if (PyErr_Occurred()) SWIG_fail; | |
7978 | } | |
7979 | Py_INCREF(Py_None); resultobj = Py_None; | |
7980 | return resultobj; | |
7981 | fail: | |
7982 | return NULL; | |
7983 | } | |
7984 | ||
7985 | ||
7986 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
7987 | PyObject *resultobj; | |
7988 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7989 | int result; | |
7990 | PyObject * obj0 = 0 ; | |
7991 | char *kwnames[] = { | |
7992 | (char *) "self", NULL | |
7993 | }; | |
7994 | ||
7995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; | |
7996 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7997 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7998 | { | |
7999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8000 | result = (int)(arg1)->GetTargetStart(); | |
8001 | ||
8002 | wxPyEndAllowThreads(__tstate); | |
8003 | if (PyErr_Occurred()) SWIG_fail; | |
8004 | } | |
8005 | { | |
8006 | resultobj = SWIG_From_int((int)(result)); | |
8007 | } | |
8008 | return resultobj; | |
8009 | fail: | |
8010 | return NULL; | |
8011 | } | |
8012 | ||
8013 | ||
8014 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
8015 | PyObject *resultobj; | |
8016 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8017 | int arg2 ; | |
8018 | PyObject * obj0 = 0 ; | |
8019 | PyObject * obj1 = 0 ; | |
8020 | char *kwnames[] = { | |
8021 | (char *) "self",(char *) "pos", NULL | |
8022 | }; | |
8023 | ||
8024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; | |
8025 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8026 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8027 | { | |
8028 | arg2 = (int)(SWIG_As_int(obj1)); | |
8029 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8030 | } | |
8031 | { | |
8032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8033 | (arg1)->SetTargetEnd(arg2); | |
8034 | ||
8035 | wxPyEndAllowThreads(__tstate); | |
8036 | if (PyErr_Occurred()) SWIG_fail; | |
8037 | } | |
8038 | Py_INCREF(Py_None); resultobj = Py_None; | |
8039 | return resultobj; | |
8040 | fail: | |
8041 | return NULL; | |
8042 | } | |
8043 | ||
8044 | ||
8045 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
8046 | PyObject *resultobj; | |
8047 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8048 | int result; | |
8049 | PyObject * obj0 = 0 ; | |
8050 | char *kwnames[] = { | |
8051 | (char *) "self", NULL | |
8052 | }; | |
8053 | ||
8054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; | |
8055 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8056 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8057 | { | |
8058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8059 | result = (int)(arg1)->GetTargetEnd(); | |
8060 | ||
8061 | wxPyEndAllowThreads(__tstate); | |
8062 | if (PyErr_Occurred()) SWIG_fail; | |
8063 | } | |
8064 | { | |
8065 | resultobj = SWIG_From_int((int)(result)); | |
8066 | } | |
8067 | return resultobj; | |
8068 | fail: | |
8069 | return NULL; | |
8070 | } | |
8071 | ||
8072 | ||
8073 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { | |
8074 | PyObject *resultobj; | |
8075 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8076 | wxString *arg2 = 0 ; | |
8077 | int result; | |
8078 | bool temp2 = false ; | |
8079 | PyObject * obj0 = 0 ; | |
8080 | PyObject * obj1 = 0 ; | |
8081 | char *kwnames[] = { | |
8082 | (char *) "self",(char *) "text", NULL | |
8083 | }; | |
8084 | ||
8085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; | |
8086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8088 | { | |
8089 | arg2 = wxString_in_helper(obj1); | |
8090 | if (arg2 == NULL) SWIG_fail; | |
8091 | temp2 = true; | |
8092 | } | |
8093 | { | |
8094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8095 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); | |
8096 | ||
8097 | wxPyEndAllowThreads(__tstate); | |
8098 | if (PyErr_Occurred()) SWIG_fail; | |
8099 | } | |
8100 | { | |
8101 | resultobj = SWIG_From_int((int)(result)); | |
8102 | } | |
8103 | { | |
8104 | if (temp2) | |
8105 | delete arg2; | |
8106 | } | |
8107 | return resultobj; | |
8108 | fail: | |
8109 | { | |
8110 | if (temp2) | |
8111 | delete arg2; | |
8112 | } | |
8113 | return NULL; | |
8114 | } | |
8115 | ||
8116 | ||
8117 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { | |
8118 | PyObject *resultobj; | |
8119 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8120 | wxString *arg2 = 0 ; | |
8121 | int result; | |
8122 | bool temp2 = false ; | |
8123 | PyObject * obj0 = 0 ; | |
8124 | PyObject * obj1 = 0 ; | |
8125 | char *kwnames[] = { | |
8126 | (char *) "self",(char *) "text", NULL | |
8127 | }; | |
8128 | ||
8129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; | |
8130 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8131 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8132 | { | |
8133 | arg2 = wxString_in_helper(obj1); | |
8134 | if (arg2 == NULL) SWIG_fail; | |
8135 | temp2 = true; | |
8136 | } | |
8137 | { | |
8138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8139 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); | |
8140 | ||
8141 | wxPyEndAllowThreads(__tstate); | |
8142 | if (PyErr_Occurred()) SWIG_fail; | |
8143 | } | |
8144 | { | |
8145 | resultobj = SWIG_From_int((int)(result)); | |
8146 | } | |
8147 | { | |
8148 | if (temp2) | |
8149 | delete arg2; | |
8150 | } | |
8151 | return resultobj; | |
8152 | fail: | |
8153 | { | |
8154 | if (temp2) | |
8155 | delete arg2; | |
8156 | } | |
8157 | return NULL; | |
8158 | } | |
8159 | ||
8160 | ||
8161 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { | |
8162 | PyObject *resultobj; | |
8163 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8164 | wxString *arg2 = 0 ; | |
8165 | int result; | |
8166 | bool temp2 = false ; | |
8167 | PyObject * obj0 = 0 ; | |
8168 | PyObject * obj1 = 0 ; | |
8169 | char *kwnames[] = { | |
8170 | (char *) "self",(char *) "text", NULL | |
8171 | }; | |
8172 | ||
8173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; | |
8174 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8175 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8176 | { | |
8177 | arg2 = wxString_in_helper(obj1); | |
8178 | if (arg2 == NULL) SWIG_fail; | |
8179 | temp2 = true; | |
8180 | } | |
8181 | { | |
8182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8183 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); | |
8184 | ||
8185 | wxPyEndAllowThreads(__tstate); | |
8186 | if (PyErr_Occurred()) SWIG_fail; | |
8187 | } | |
8188 | { | |
8189 | resultobj = SWIG_From_int((int)(result)); | |
8190 | } | |
8191 | { | |
8192 | if (temp2) | |
8193 | delete arg2; | |
8194 | } | |
8195 | return resultobj; | |
8196 | fail: | |
8197 | { | |
8198 | if (temp2) | |
8199 | delete arg2; | |
8200 | } | |
8201 | return NULL; | |
8202 | } | |
8203 | ||
8204 | ||
8205 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
8206 | PyObject *resultobj; | |
8207 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8208 | int arg2 ; | |
8209 | PyObject * obj0 = 0 ; | |
8210 | PyObject * obj1 = 0 ; | |
8211 | char *kwnames[] = { | |
8212 | (char *) "self",(char *) "flags", NULL | |
8213 | }; | |
8214 | ||
8215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; | |
8216 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8217 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8218 | { | |
8219 | arg2 = (int)(SWIG_As_int(obj1)); | |
8220 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8221 | } | |
8222 | { | |
8223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8224 | (arg1)->SetSearchFlags(arg2); | |
8225 | ||
8226 | wxPyEndAllowThreads(__tstate); | |
8227 | if (PyErr_Occurred()) SWIG_fail; | |
8228 | } | |
8229 | Py_INCREF(Py_None); resultobj = Py_None; | |
8230 | return resultobj; | |
8231 | fail: | |
8232 | return NULL; | |
8233 | } | |
8234 | ||
8235 | ||
8236 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
8237 | PyObject *resultobj; | |
8238 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8239 | int result; | |
8240 | PyObject * obj0 = 0 ; | |
8241 | char *kwnames[] = { | |
8242 | (char *) "self", NULL | |
8243 | }; | |
8244 | ||
8245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; | |
8246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8248 | { | |
8249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8250 | result = (int)(arg1)->GetSearchFlags(); | |
8251 | ||
8252 | wxPyEndAllowThreads(__tstate); | |
8253 | if (PyErr_Occurred()) SWIG_fail; | |
8254 | } | |
8255 | { | |
8256 | resultobj = SWIG_From_int((int)(result)); | |
8257 | } | |
8258 | return resultobj; | |
8259 | fail: | |
8260 | return NULL; | |
8261 | } | |
8262 | ||
8263 | ||
8264 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { | |
8265 | PyObject *resultobj; | |
8266 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8267 | int arg2 ; | |
8268 | wxString *arg3 = 0 ; | |
8269 | bool temp3 = false ; | |
8270 | PyObject * obj0 = 0 ; | |
8271 | PyObject * obj1 = 0 ; | |
8272 | PyObject * obj2 = 0 ; | |
8273 | char *kwnames[] = { | |
8274 | (char *) "self",(char *) "pos",(char *) "definition", NULL | |
8275 | }; | |
8276 | ||
8277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8278 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8279 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8280 | { | |
8281 | arg2 = (int)(SWIG_As_int(obj1)); | |
8282 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8283 | } | |
8284 | { | |
8285 | arg3 = wxString_in_helper(obj2); | |
8286 | if (arg3 == NULL) SWIG_fail; | |
8287 | temp3 = true; | |
8288 | } | |
8289 | { | |
8290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8291 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); | |
8292 | ||
8293 | wxPyEndAllowThreads(__tstate); | |
8294 | if (PyErr_Occurred()) SWIG_fail; | |
8295 | } | |
8296 | Py_INCREF(Py_None); resultobj = Py_None; | |
8297 | { | |
8298 | if (temp3) | |
8299 | delete arg3; | |
8300 | } | |
8301 | return resultobj; | |
8302 | fail: | |
8303 | { | |
8304 | if (temp3) | |
8305 | delete arg3; | |
8306 | } | |
8307 | return NULL; | |
8308 | } | |
8309 | ||
8310 | ||
8311 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { | |
8312 | PyObject *resultobj; | |
8313 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8314 | PyObject * obj0 = 0 ; | |
8315 | char *kwnames[] = { | |
8316 | (char *) "self", NULL | |
8317 | }; | |
8318 | ||
8319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; | |
8320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8322 | { | |
8323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8324 | (arg1)->CallTipCancel(); | |
8325 | ||
8326 | wxPyEndAllowThreads(__tstate); | |
8327 | if (PyErr_Occurred()) SWIG_fail; | |
8328 | } | |
8329 | Py_INCREF(Py_None); resultobj = Py_None; | |
8330 | return resultobj; | |
8331 | fail: | |
8332 | return NULL; | |
8333 | } | |
8334 | ||
8335 | ||
8336 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { | |
8337 | PyObject *resultobj; | |
8338 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8339 | bool result; | |
8340 | PyObject * obj0 = 0 ; | |
8341 | char *kwnames[] = { | |
8342 | (char *) "self", NULL | |
8343 | }; | |
8344 | ||
8345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; | |
8346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8348 | { | |
8349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8350 | result = (bool)(arg1)->CallTipActive(); | |
8351 | ||
8352 | wxPyEndAllowThreads(__tstate); | |
8353 | if (PyErr_Occurred()) SWIG_fail; | |
8354 | } | |
8355 | { | |
8356 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8357 | } | |
8358 | return resultobj; | |
8359 | fail: | |
8360 | return NULL; | |
8361 | } | |
8362 | ||
8363 | ||
8364 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
8365 | PyObject *resultobj; | |
8366 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8367 | int result; | |
8368 | PyObject * obj0 = 0 ; | |
8369 | char *kwnames[] = { | |
8370 | (char *) "self", NULL | |
8371 | }; | |
8372 | ||
8373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; | |
8374 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8375 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8376 | { | |
8377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8378 | result = (int)(arg1)->CallTipPosAtStart(); | |
8379 | ||
8380 | wxPyEndAllowThreads(__tstate); | |
8381 | if (PyErr_Occurred()) SWIG_fail; | |
8382 | } | |
8383 | { | |
8384 | resultobj = SWIG_From_int((int)(result)); | |
8385 | } | |
8386 | return resultobj; | |
8387 | fail: | |
8388 | return NULL; | |
8389 | } | |
8390 | ||
8391 | ||
8392 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { | |
8393 | PyObject *resultobj; | |
8394 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8395 | int arg2 ; | |
8396 | int arg3 ; | |
8397 | PyObject * obj0 = 0 ; | |
8398 | PyObject * obj1 = 0 ; | |
8399 | PyObject * obj2 = 0 ; | |
8400 | char *kwnames[] = { | |
8401 | (char *) "self",(char *) "start",(char *) "end", NULL | |
8402 | }; | |
8403 | ||
8404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8407 | { | |
8408 | arg2 = (int)(SWIG_As_int(obj1)); | |
8409 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8410 | } | |
8411 | { | |
8412 | arg3 = (int)(SWIG_As_int(obj2)); | |
8413 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8414 | } | |
8415 | { | |
8416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8417 | (arg1)->CallTipSetHighlight(arg2,arg3); | |
8418 | ||
8419 | wxPyEndAllowThreads(__tstate); | |
8420 | if (PyErr_Occurred()) SWIG_fail; | |
8421 | } | |
8422 | Py_INCREF(Py_None); resultobj = Py_None; | |
8423 | return resultobj; | |
8424 | fail: | |
8425 | return NULL; | |
8426 | } | |
8427 | ||
8428 | ||
8429 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
8430 | PyObject *resultobj; | |
8431 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8432 | wxColour *arg2 = 0 ; | |
8433 | wxColour temp2 ; | |
8434 | PyObject * obj0 = 0 ; | |
8435 | PyObject * obj1 = 0 ; | |
8436 | char *kwnames[] = { | |
8437 | (char *) "self",(char *) "back", NULL | |
8438 | }; | |
8439 | ||
8440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; | |
8441 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8442 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8443 | { | |
8444 | arg2 = &temp2; | |
8445 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8446 | } | |
8447 | { | |
8448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8449 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); | |
8450 | ||
8451 | wxPyEndAllowThreads(__tstate); | |
8452 | if (PyErr_Occurred()) SWIG_fail; | |
8453 | } | |
8454 | Py_INCREF(Py_None); resultobj = Py_None; | |
8455 | return resultobj; | |
8456 | fail: | |
8457 | return NULL; | |
8458 | } | |
8459 | ||
8460 | ||
8461 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
8462 | PyObject *resultobj; | |
8463 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8464 | wxColour *arg2 = 0 ; | |
8465 | wxColour temp2 ; | |
8466 | PyObject * obj0 = 0 ; | |
8467 | PyObject * obj1 = 0 ; | |
8468 | char *kwnames[] = { | |
8469 | (char *) "self",(char *) "fore", NULL | |
8470 | }; | |
8471 | ||
8472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; | |
8473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8475 | { | |
8476 | arg2 = &temp2; | |
8477 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8478 | } | |
8479 | { | |
8480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8481 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); | |
8482 | ||
8483 | wxPyEndAllowThreads(__tstate); | |
8484 | if (PyErr_Occurred()) SWIG_fail; | |
8485 | } | |
8486 | Py_INCREF(Py_None); resultobj = Py_None; | |
8487 | return resultobj; | |
8488 | fail: | |
8489 | return NULL; | |
8490 | } | |
8491 | ||
8492 | ||
8493 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { | |
8494 | PyObject *resultobj; | |
8495 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8496 | wxColour *arg2 = 0 ; | |
8497 | wxColour temp2 ; | |
8498 | PyObject * obj0 = 0 ; | |
8499 | PyObject * obj1 = 0 ; | |
8500 | char *kwnames[] = { | |
8501 | (char *) "self",(char *) "fore", NULL | |
8502 | }; | |
8503 | ||
8504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; | |
8505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8507 | { | |
8508 | arg2 = &temp2; | |
8509 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8510 | } | |
8511 | { | |
8512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8513 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); | |
8514 | ||
8515 | wxPyEndAllowThreads(__tstate); | |
8516 | if (PyErr_Occurred()) SWIG_fail; | |
8517 | } | |
8518 | Py_INCREF(Py_None); resultobj = Py_None; | |
8519 | return resultobj; | |
8520 | fail: | |
8521 | return NULL; | |
8522 | } | |
8523 | ||
8524 | ||
8525 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
8526 | PyObject *resultobj; | |
8527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8528 | int arg2 ; | |
8529 | int result; | |
8530 | PyObject * obj0 = 0 ; | |
8531 | PyObject * obj1 = 0 ; | |
8532 | char *kwnames[] = { | |
8533 | (char *) "self",(char *) "line", NULL | |
8534 | }; | |
8535 | ||
8536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; | |
8537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8539 | { | |
8540 | arg2 = (int)(SWIG_As_int(obj1)); | |
8541 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8542 | } | |
8543 | { | |
8544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8545 | result = (int)(arg1)->VisibleFromDocLine(arg2); | |
8546 | ||
8547 | wxPyEndAllowThreads(__tstate); | |
8548 | if (PyErr_Occurred()) SWIG_fail; | |
8549 | } | |
8550 | { | |
8551 | resultobj = SWIG_From_int((int)(result)); | |
8552 | } | |
8553 | return resultobj; | |
8554 | fail: | |
8555 | return NULL; | |
8556 | } | |
8557 | ||
8558 | ||
8559 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
8560 | PyObject *resultobj; | |
8561 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8562 | int arg2 ; | |
8563 | int result; | |
8564 | PyObject * obj0 = 0 ; | |
8565 | PyObject * obj1 = 0 ; | |
8566 | char *kwnames[] = { | |
8567 | (char *) "self",(char *) "lineDisplay", NULL | |
8568 | }; | |
8569 | ||
8570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; | |
8571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8573 | { | |
8574 | arg2 = (int)(SWIG_As_int(obj1)); | |
8575 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8576 | } | |
8577 | { | |
8578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8579 | result = (int)(arg1)->DocLineFromVisible(arg2); | |
8580 | ||
8581 | wxPyEndAllowThreads(__tstate); | |
8582 | if (PyErr_Occurred()) SWIG_fail; | |
8583 | } | |
8584 | { | |
8585 | resultobj = SWIG_From_int((int)(result)); | |
8586 | } | |
8587 | return resultobj; | |
8588 | fail: | |
8589 | return NULL; | |
8590 | } | |
8591 | ||
8592 | ||
8593 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { | |
8594 | PyObject *resultobj; | |
8595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8596 | int arg2 ; | |
8597 | int arg3 ; | |
8598 | PyObject * obj0 = 0 ; | |
8599 | PyObject * obj1 = 0 ; | |
8600 | PyObject * obj2 = 0 ; | |
8601 | char *kwnames[] = { | |
8602 | (char *) "self",(char *) "line",(char *) "level", NULL | |
8603 | }; | |
8604 | ||
8605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8606 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8607 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8608 | { | |
8609 | arg2 = (int)(SWIG_As_int(obj1)); | |
8610 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8611 | } | |
8612 | { | |
8613 | arg3 = (int)(SWIG_As_int(obj2)); | |
8614 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8615 | } | |
8616 | { | |
8617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8618 | (arg1)->SetFoldLevel(arg2,arg3); | |
8619 | ||
8620 | wxPyEndAllowThreads(__tstate); | |
8621 | if (PyErr_Occurred()) SWIG_fail; | |
8622 | } | |
8623 | Py_INCREF(Py_None); resultobj = Py_None; | |
8624 | return resultobj; | |
8625 | fail: | |
8626 | return NULL; | |
8627 | } | |
8628 | ||
8629 | ||
8630 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { | |
8631 | PyObject *resultobj; | |
8632 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8633 | int arg2 ; | |
8634 | int result; | |
8635 | PyObject * obj0 = 0 ; | |
8636 | PyObject * obj1 = 0 ; | |
8637 | char *kwnames[] = { | |
8638 | (char *) "self",(char *) "line", NULL | |
8639 | }; | |
8640 | ||
8641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; | |
8642 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8643 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8644 | { | |
8645 | arg2 = (int)(SWIG_As_int(obj1)); | |
8646 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8647 | } | |
8648 | { | |
8649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8650 | result = (int)(arg1)->GetFoldLevel(arg2); | |
8651 | ||
8652 | wxPyEndAllowThreads(__tstate); | |
8653 | if (PyErr_Occurred()) SWIG_fail; | |
8654 | } | |
8655 | { | |
8656 | resultobj = SWIG_From_int((int)(result)); | |
8657 | } | |
8658 | return resultobj; | |
8659 | fail: | |
8660 | return NULL; | |
8661 | } | |
8662 | ||
8663 | ||
8664 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { | |
8665 | PyObject *resultobj; | |
8666 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8667 | int arg2 ; | |
8668 | int arg3 ; | |
8669 | int result; | |
8670 | PyObject * obj0 = 0 ; | |
8671 | PyObject * obj1 = 0 ; | |
8672 | PyObject * obj2 = 0 ; | |
8673 | char *kwnames[] = { | |
8674 | (char *) "self",(char *) "line",(char *) "level", NULL | |
8675 | }; | |
8676 | ||
8677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8680 | { | |
8681 | arg2 = (int)(SWIG_As_int(obj1)); | |
8682 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8683 | } | |
8684 | { | |
8685 | arg3 = (int)(SWIG_As_int(obj2)); | |
8686 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8687 | } | |
8688 | { | |
8689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8690 | result = (int)(arg1)->GetLastChild(arg2,arg3); | |
8691 | ||
8692 | wxPyEndAllowThreads(__tstate); | |
8693 | if (PyErr_Occurred()) SWIG_fail; | |
8694 | } | |
8695 | { | |
8696 | resultobj = SWIG_From_int((int)(result)); | |
8697 | } | |
8698 | return resultobj; | |
8699 | fail: | |
8700 | return NULL; | |
8701 | } | |
8702 | ||
8703 | ||
8704 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { | |
8705 | PyObject *resultobj; | |
8706 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8707 | int arg2 ; | |
8708 | int result; | |
8709 | PyObject * obj0 = 0 ; | |
8710 | PyObject * obj1 = 0 ; | |
8711 | char *kwnames[] = { | |
8712 | (char *) "self",(char *) "line", NULL | |
8713 | }; | |
8714 | ||
8715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; | |
8716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8718 | { | |
8719 | arg2 = (int)(SWIG_As_int(obj1)); | |
8720 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8721 | } | |
8722 | { | |
8723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8724 | result = (int)(arg1)->GetFoldParent(arg2); | |
8725 | ||
8726 | wxPyEndAllowThreads(__tstate); | |
8727 | if (PyErr_Occurred()) SWIG_fail; | |
8728 | } | |
8729 | { | |
8730 | resultobj = SWIG_From_int((int)(result)); | |
8731 | } | |
8732 | return resultobj; | |
8733 | fail: | |
8734 | return NULL; | |
8735 | } | |
8736 | ||
8737 | ||
8738 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { | |
8739 | PyObject *resultobj; | |
8740 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8741 | int arg2 ; | |
8742 | int arg3 ; | |
8743 | PyObject * obj0 = 0 ; | |
8744 | PyObject * obj1 = 0 ; | |
8745 | PyObject * obj2 = 0 ; | |
8746 | char *kwnames[] = { | |
8747 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
8748 | }; | |
8749 | ||
8750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8751 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8752 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8753 | { | |
8754 | arg2 = (int)(SWIG_As_int(obj1)); | |
8755 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8756 | } | |
8757 | { | |
8758 | arg3 = (int)(SWIG_As_int(obj2)); | |
8759 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8760 | } | |
8761 | { | |
8762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8763 | (arg1)->ShowLines(arg2,arg3); | |
8764 | ||
8765 | wxPyEndAllowThreads(__tstate); | |
8766 | if (PyErr_Occurred()) SWIG_fail; | |
8767 | } | |
8768 | Py_INCREF(Py_None); resultobj = Py_None; | |
8769 | return resultobj; | |
8770 | fail: | |
8771 | return NULL; | |
8772 | } | |
8773 | ||
8774 | ||
8775 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { | |
8776 | PyObject *resultobj; | |
8777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8778 | int arg2 ; | |
8779 | int arg3 ; | |
8780 | PyObject * obj0 = 0 ; | |
8781 | PyObject * obj1 = 0 ; | |
8782 | PyObject * obj2 = 0 ; | |
8783 | char *kwnames[] = { | |
8784 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
8785 | }; | |
8786 | ||
8787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8788 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8789 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8790 | { | |
8791 | arg2 = (int)(SWIG_As_int(obj1)); | |
8792 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8793 | } | |
8794 | { | |
8795 | arg3 = (int)(SWIG_As_int(obj2)); | |
8796 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8797 | } | |
8798 | { | |
8799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8800 | (arg1)->HideLines(arg2,arg3); | |
8801 | ||
8802 | wxPyEndAllowThreads(__tstate); | |
8803 | if (PyErr_Occurred()) SWIG_fail; | |
8804 | } | |
8805 | Py_INCREF(Py_None); resultobj = Py_None; | |
8806 | return resultobj; | |
8807 | fail: | |
8808 | return NULL; | |
8809 | } | |
8810 | ||
8811 | ||
8812 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
8813 | PyObject *resultobj; | |
8814 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8815 | int arg2 ; | |
8816 | bool result; | |
8817 | PyObject * obj0 = 0 ; | |
8818 | PyObject * obj1 = 0 ; | |
8819 | char *kwnames[] = { | |
8820 | (char *) "self",(char *) "line", NULL | |
8821 | }; | |
8822 | ||
8823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
8824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8826 | { | |
8827 | arg2 = (int)(SWIG_As_int(obj1)); | |
8828 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8829 | } | |
8830 | { | |
8831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8832 | result = (bool)(arg1)->GetLineVisible(arg2); | |
8833 | ||
8834 | wxPyEndAllowThreads(__tstate); | |
8835 | if (PyErr_Occurred()) SWIG_fail; | |
8836 | } | |
8837 | { | |
8838 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8839 | } | |
8840 | return resultobj; | |
8841 | fail: | |
8842 | return NULL; | |
8843 | } | |
8844 | ||
8845 | ||
8846 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { | |
8847 | PyObject *resultobj; | |
8848 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8849 | int arg2 ; | |
8850 | bool arg3 ; | |
8851 | PyObject * obj0 = 0 ; | |
8852 | PyObject * obj1 = 0 ; | |
8853 | PyObject * obj2 = 0 ; | |
8854 | char *kwnames[] = { | |
8855 | (char *) "self",(char *) "line",(char *) "expanded", NULL | |
8856 | }; | |
8857 | ||
8858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8859 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8860 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8861 | { | |
8862 | arg2 = (int)(SWIG_As_int(obj1)); | |
8863 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8864 | } | |
8865 | { | |
8866 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
8867 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8868 | } | |
8869 | { | |
8870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8871 | (arg1)->SetFoldExpanded(arg2,arg3); | |
8872 | ||
8873 | wxPyEndAllowThreads(__tstate); | |
8874 | if (PyErr_Occurred()) SWIG_fail; | |
8875 | } | |
8876 | Py_INCREF(Py_None); resultobj = Py_None; | |
8877 | return resultobj; | |
8878 | fail: | |
8879 | return NULL; | |
8880 | } | |
8881 | ||
8882 | ||
8883 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { | |
8884 | PyObject *resultobj; | |
8885 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8886 | int arg2 ; | |
8887 | bool result; | |
8888 | PyObject * obj0 = 0 ; | |
8889 | PyObject * obj1 = 0 ; | |
8890 | char *kwnames[] = { | |
8891 | (char *) "self",(char *) "line", NULL | |
8892 | }; | |
8893 | ||
8894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; | |
8895 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8896 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8897 | { | |
8898 | arg2 = (int)(SWIG_As_int(obj1)); | |
8899 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8900 | } | |
8901 | { | |
8902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8903 | result = (bool)(arg1)->GetFoldExpanded(arg2); | |
8904 | ||
8905 | wxPyEndAllowThreads(__tstate); | |
8906 | if (PyErr_Occurred()) SWIG_fail; | |
8907 | } | |
8908 | { | |
8909 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8910 | } | |
8911 | return resultobj; | |
8912 | fail: | |
8913 | return NULL; | |
8914 | } | |
8915 | ||
8916 | ||
8917 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { | |
8918 | PyObject *resultobj; | |
8919 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8920 | int arg2 ; | |
8921 | PyObject * obj0 = 0 ; | |
8922 | PyObject * obj1 = 0 ; | |
8923 | char *kwnames[] = { | |
8924 | (char *) "self",(char *) "line", NULL | |
8925 | }; | |
8926 | ||
8927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; | |
8928 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8929 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8930 | { | |
8931 | arg2 = (int)(SWIG_As_int(obj1)); | |
8932 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8933 | } | |
8934 | { | |
8935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8936 | (arg1)->ToggleFold(arg2); | |
8937 | ||
8938 | wxPyEndAllowThreads(__tstate); | |
8939 | if (PyErr_Occurred()) SWIG_fail; | |
8940 | } | |
8941 | Py_INCREF(Py_None); resultobj = Py_None; | |
8942 | return resultobj; | |
8943 | fail: | |
8944 | return NULL; | |
8945 | } | |
8946 | ||
8947 | ||
8948 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
8949 | PyObject *resultobj; | |
8950 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8951 | int arg2 ; | |
8952 | PyObject * obj0 = 0 ; | |
8953 | PyObject * obj1 = 0 ; | |
8954 | char *kwnames[] = { | |
8955 | (char *) "self",(char *) "line", NULL | |
8956 | }; | |
8957 | ||
8958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; | |
8959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8961 | { | |
8962 | arg2 = (int)(SWIG_As_int(obj1)); | |
8963 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8964 | } | |
8965 | { | |
8966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8967 | (arg1)->EnsureVisible(arg2); | |
8968 | ||
8969 | wxPyEndAllowThreads(__tstate); | |
8970 | if (PyErr_Occurred()) SWIG_fail; | |
8971 | } | |
8972 | Py_INCREF(Py_None); resultobj = Py_None; | |
8973 | return resultobj; | |
8974 | fail: | |
8975 | return NULL; | |
8976 | } | |
8977 | ||
8978 | ||
8979 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
8980 | PyObject *resultobj; | |
8981 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8982 | int arg2 ; | |
8983 | PyObject * obj0 = 0 ; | |
8984 | PyObject * obj1 = 0 ; | |
8985 | char *kwnames[] = { | |
8986 | (char *) "self",(char *) "flags", NULL | |
8987 | }; | |
8988 | ||
8989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; | |
8990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8992 | { | |
8993 | arg2 = (int)(SWIG_As_int(obj1)); | |
8994 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8995 | } | |
8996 | { | |
8997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8998 | (arg1)->SetFoldFlags(arg2); | |
8999 | ||
9000 | wxPyEndAllowThreads(__tstate); | |
9001 | if (PyErr_Occurred()) SWIG_fail; | |
9002 | } | |
9003 | Py_INCREF(Py_None); resultobj = Py_None; | |
9004 | return resultobj; | |
9005 | fail: | |
9006 | return NULL; | |
9007 | } | |
9008 | ||
9009 | ||
9010 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
9011 | PyObject *resultobj; | |
9012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9013 | int arg2 ; | |
9014 | PyObject * obj0 = 0 ; | |
9015 | PyObject * obj1 = 0 ; | |
9016 | char *kwnames[] = { | |
9017 | (char *) "self",(char *) "line", NULL | |
9018 | }; | |
9019 | ||
9020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; | |
9021 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9022 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9023 | { | |
9024 | arg2 = (int)(SWIG_As_int(obj1)); | |
9025 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9026 | } | |
9027 | { | |
9028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9029 | (arg1)->EnsureVisibleEnforcePolicy(arg2); | |
9030 | ||
9031 | wxPyEndAllowThreads(__tstate); | |
9032 | if (PyErr_Occurred()) SWIG_fail; | |
9033 | } | |
9034 | Py_INCREF(Py_None); resultobj = Py_None; | |
9035 | return resultobj; | |
9036 | fail: | |
9037 | return NULL; | |
9038 | } | |
9039 | ||
9040 | ||
9041 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9042 | PyObject *resultobj; | |
9043 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9044 | bool arg2 ; | |
9045 | PyObject * obj0 = 0 ; | |
9046 | PyObject * obj1 = 0 ; | |
9047 | char *kwnames[] = { | |
9048 | (char *) "self",(char *) "tabIndents", NULL | |
9049 | }; | |
9050 | ||
9051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; | |
9052 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9053 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9054 | { | |
9055 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9056 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9057 | } | |
9058 | { | |
9059 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9060 | (arg1)->SetTabIndents(arg2); | |
9061 | ||
9062 | wxPyEndAllowThreads(__tstate); | |
9063 | if (PyErr_Occurred()) SWIG_fail; | |
9064 | } | |
9065 | Py_INCREF(Py_None); resultobj = Py_None; | |
9066 | return resultobj; | |
9067 | fail: | |
9068 | return NULL; | |
9069 | } | |
9070 | ||
9071 | ||
9072 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9073 | PyObject *resultobj; | |
9074 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9075 | bool result; | |
9076 | PyObject * obj0 = 0 ; | |
9077 | char *kwnames[] = { | |
9078 | (char *) "self", NULL | |
9079 | }; | |
9080 | ||
9081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; | |
9082 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9083 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9084 | { | |
9085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9086 | result = (bool)(arg1)->GetTabIndents(); | |
9087 | ||
9088 | wxPyEndAllowThreads(__tstate); | |
9089 | if (PyErr_Occurred()) SWIG_fail; | |
9090 | } | |
9091 | { | |
9092 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9093 | } | |
9094 | return resultobj; | |
9095 | fail: | |
9096 | return NULL; | |
9097 | } | |
9098 | ||
9099 | ||
9100 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9101 | PyObject *resultobj; | |
9102 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9103 | bool arg2 ; | |
9104 | PyObject * obj0 = 0 ; | |
9105 | PyObject * obj1 = 0 ; | |
9106 | char *kwnames[] = { | |
9107 | (char *) "self",(char *) "bsUnIndents", NULL | |
9108 | }; | |
9109 | ||
9110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; | |
9111 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9112 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9113 | { | |
9114 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9115 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9116 | } | |
9117 | { | |
9118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9119 | (arg1)->SetBackSpaceUnIndents(arg2); | |
9120 | ||
9121 | wxPyEndAllowThreads(__tstate); | |
9122 | if (PyErr_Occurred()) SWIG_fail; | |
9123 | } | |
9124 | Py_INCREF(Py_None); resultobj = Py_None; | |
9125 | return resultobj; | |
9126 | fail: | |
9127 | return NULL; | |
9128 | } | |
9129 | ||
9130 | ||
9131 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9132 | PyObject *resultobj; | |
9133 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9134 | bool result; | |
9135 | PyObject * obj0 = 0 ; | |
9136 | char *kwnames[] = { | |
9137 | (char *) "self", NULL | |
9138 | }; | |
9139 | ||
9140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; | |
9141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9143 | { | |
9144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9145 | result = (bool)(arg1)->GetBackSpaceUnIndents(); | |
9146 | ||
9147 | wxPyEndAllowThreads(__tstate); | |
9148 | if (PyErr_Occurred()) SWIG_fail; | |
9149 | } | |
9150 | { | |
9151 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9152 | } | |
9153 | return resultobj; | |
9154 | fail: | |
9155 | return NULL; | |
9156 | } | |
9157 | ||
9158 | ||
9159 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { | |
9160 | PyObject *resultobj; | |
9161 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9162 | int arg2 ; | |
9163 | PyObject * obj0 = 0 ; | |
9164 | PyObject * obj1 = 0 ; | |
9165 | char *kwnames[] = { | |
9166 | (char *) "self",(char *) "periodMilliseconds", NULL | |
9167 | }; | |
9168 | ||
9169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; | |
9170 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9171 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9172 | { | |
9173 | arg2 = (int)(SWIG_As_int(obj1)); | |
9174 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9175 | } | |
9176 | { | |
9177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9178 | (arg1)->SetMouseDwellTime(arg2); | |
9179 | ||
9180 | wxPyEndAllowThreads(__tstate); | |
9181 | if (PyErr_Occurred()) SWIG_fail; | |
9182 | } | |
9183 | Py_INCREF(Py_None); resultobj = Py_None; | |
9184 | return resultobj; | |
9185 | fail: | |
9186 | return NULL; | |
9187 | } | |
9188 | ||
9189 | ||
9190 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { | |
9191 | PyObject *resultobj; | |
9192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9193 | int result; | |
9194 | PyObject * obj0 = 0 ; | |
9195 | char *kwnames[] = { | |
9196 | (char *) "self", NULL | |
9197 | }; | |
9198 | ||
9199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; | |
9200 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9201 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9202 | { | |
9203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9204 | result = (int)(arg1)->GetMouseDwellTime(); | |
9205 | ||
9206 | wxPyEndAllowThreads(__tstate); | |
9207 | if (PyErr_Occurred()) SWIG_fail; | |
9208 | } | |
9209 | { | |
9210 | resultobj = SWIG_From_int((int)(result)); | |
9211 | } | |
9212 | return resultobj; | |
9213 | fail: | |
9214 | return NULL; | |
9215 | } | |
9216 | ||
9217 | ||
9218 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
9219 | PyObject *resultobj; | |
9220 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9221 | int arg2 ; | |
9222 | bool arg3 ; | |
9223 | int result; | |
9224 | PyObject * obj0 = 0 ; | |
9225 | PyObject * obj1 = 0 ; | |
9226 | PyObject * obj2 = 0 ; | |
9227 | char *kwnames[] = { | |
9228 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
9229 | }; | |
9230 | ||
9231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9232 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9233 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9234 | { | |
9235 | arg2 = (int)(SWIG_As_int(obj1)); | |
9236 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9237 | } | |
9238 | { | |
9239 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
9240 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9241 | } | |
9242 | { | |
9243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9244 | result = (int)(arg1)->WordStartPosition(arg2,arg3); | |
9245 | ||
9246 | wxPyEndAllowThreads(__tstate); | |
9247 | if (PyErr_Occurred()) SWIG_fail; | |
9248 | } | |
9249 | { | |
9250 | resultobj = SWIG_From_int((int)(result)); | |
9251 | } | |
9252 | return resultobj; | |
9253 | fail: | |
9254 | return NULL; | |
9255 | } | |
9256 | ||
9257 | ||
9258 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
9259 | PyObject *resultobj; | |
9260 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9261 | int arg2 ; | |
9262 | bool arg3 ; | |
9263 | int result; | |
9264 | PyObject * obj0 = 0 ; | |
9265 | PyObject * obj1 = 0 ; | |
9266 | PyObject * obj2 = 0 ; | |
9267 | char *kwnames[] = { | |
9268 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
9269 | }; | |
9270 | ||
9271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9272 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9273 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9274 | { | |
9275 | arg2 = (int)(SWIG_As_int(obj1)); | |
9276 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9277 | } | |
9278 | { | |
9279 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
9280 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9281 | } | |
9282 | { | |
9283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9284 | result = (int)(arg1)->WordEndPosition(arg2,arg3); | |
9285 | ||
9286 | wxPyEndAllowThreads(__tstate); | |
9287 | if (PyErr_Occurred()) SWIG_fail; | |
9288 | } | |
9289 | { | |
9290 | resultobj = SWIG_From_int((int)(result)); | |
9291 | } | |
9292 | return resultobj; | |
9293 | fail: | |
9294 | return NULL; | |
9295 | } | |
9296 | ||
9297 | ||
9298 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
9299 | PyObject *resultobj; | |
9300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9301 | int arg2 ; | |
9302 | PyObject * obj0 = 0 ; | |
9303 | PyObject * obj1 = 0 ; | |
9304 | char *kwnames[] = { | |
9305 | (char *) "self",(char *) "mode", NULL | |
9306 | }; | |
9307 | ||
9308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
9309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9311 | { | |
9312 | arg2 = (int)(SWIG_As_int(obj1)); | |
9313 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9314 | } | |
9315 | { | |
9316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9317 | (arg1)->SetWrapMode(arg2); | |
9318 | ||
9319 | wxPyEndAllowThreads(__tstate); | |
9320 | if (PyErr_Occurred()) SWIG_fail; | |
9321 | } | |
9322 | Py_INCREF(Py_None); resultobj = Py_None; | |
9323 | return resultobj; | |
9324 | fail: | |
9325 | return NULL; | |
9326 | } | |
9327 | ||
9328 | ||
9329 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
9330 | PyObject *resultobj; | |
9331 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9332 | int result; | |
9333 | PyObject * obj0 = 0 ; | |
9334 | char *kwnames[] = { | |
9335 | (char *) "self", NULL | |
9336 | }; | |
9337 | ||
9338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; | |
9339 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9340 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9341 | { | |
9342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9343 | result = (int)(arg1)->GetWrapMode(); | |
9344 | ||
9345 | wxPyEndAllowThreads(__tstate); | |
9346 | if (PyErr_Occurred()) SWIG_fail; | |
9347 | } | |
9348 | { | |
9349 | resultobj = SWIG_From_int((int)(result)); | |
9350 | } | |
9351 | return resultobj; | |
9352 | fail: | |
9353 | return NULL; | |
9354 | } | |
9355 | ||
9356 | ||
9357 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
9358 | PyObject *resultobj; | |
9359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9360 | int arg2 ; | |
9361 | PyObject * obj0 = 0 ; | |
9362 | PyObject * obj1 = 0 ; | |
9363 | char *kwnames[] = { | |
9364 | (char *) "self",(char *) "wrapVisualFlags", NULL | |
9365 | }; | |
9366 | ||
9367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail; | |
9368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9370 | { | |
9371 | arg2 = (int)(SWIG_As_int(obj1)); | |
9372 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9373 | } | |
9374 | { | |
9375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9376 | (arg1)->SetWrapVisualFlags(arg2); | |
9377 | ||
9378 | wxPyEndAllowThreads(__tstate); | |
9379 | if (PyErr_Occurred()) SWIG_fail; | |
9380 | } | |
9381 | Py_INCREF(Py_None); resultobj = Py_None; | |
9382 | return resultobj; | |
9383 | fail: | |
9384 | return NULL; | |
9385 | } | |
9386 | ||
9387 | ||
9388 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
9389 | PyObject *resultobj; | |
9390 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9391 | int result; | |
9392 | PyObject * obj0 = 0 ; | |
9393 | char *kwnames[] = { | |
9394 | (char *) "self", NULL | |
9395 | }; | |
9396 | ||
9397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail; | |
9398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9400 | { | |
9401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9402 | result = (int)(arg1)->GetWrapVisualFlags(); | |
9403 | ||
9404 | wxPyEndAllowThreads(__tstate); | |
9405 | if (PyErr_Occurred()) SWIG_fail; | |
9406 | } | |
9407 | { | |
9408 | resultobj = SWIG_From_int((int)(result)); | |
9409 | } | |
9410 | return resultobj; | |
9411 | fail: | |
9412 | return NULL; | |
9413 | } | |
9414 | ||
9415 | ||
9416 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { | |
9417 | PyObject *resultobj; | |
9418 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9419 | int arg2 ; | |
9420 | PyObject * obj0 = 0 ; | |
9421 | PyObject * obj1 = 0 ; | |
9422 | char *kwnames[] = { | |
9423 | (char *) "self",(char *) "wrapVisualFlagsLocation", NULL | |
9424 | }; | |
9425 | ||
9426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail; | |
9427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9429 | { | |
9430 | arg2 = (int)(SWIG_As_int(obj1)); | |
9431 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9432 | } | |
9433 | { | |
9434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9435 | (arg1)->SetWrapVisualFlagsLocation(arg2); | |
9436 | ||
9437 | wxPyEndAllowThreads(__tstate); | |
9438 | if (PyErr_Occurred()) SWIG_fail; | |
9439 | } | |
9440 | Py_INCREF(Py_None); resultobj = Py_None; | |
9441 | return resultobj; | |
9442 | fail: | |
9443 | return NULL; | |
9444 | } | |
9445 | ||
9446 | ||
9447 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { | |
9448 | PyObject *resultobj; | |
9449 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9450 | int result; | |
9451 | PyObject * obj0 = 0 ; | |
9452 | char *kwnames[] = { | |
9453 | (char *) "self", NULL | |
9454 | }; | |
9455 | ||
9456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail; | |
9457 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9458 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9459 | { | |
9460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9461 | result = (int)(arg1)->GetWrapVisualFlagsLocation(); | |
9462 | ||
9463 | wxPyEndAllowThreads(__tstate); | |
9464 | if (PyErr_Occurred()) SWIG_fail; | |
9465 | } | |
9466 | { | |
9467 | resultobj = SWIG_From_int((int)(result)); | |
9468 | } | |
9469 | return resultobj; | |
9470 | fail: | |
9471 | return NULL; | |
9472 | } | |
9473 | ||
9474 | ||
9475 | static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
9476 | PyObject *resultobj; | |
9477 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9478 | int arg2 ; | |
9479 | PyObject * obj0 = 0 ; | |
9480 | PyObject * obj1 = 0 ; | |
9481 | char *kwnames[] = { | |
9482 | (char *) "self",(char *) "indent", NULL | |
9483 | }; | |
9484 | ||
9485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail; | |
9486 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9487 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9488 | { | |
9489 | arg2 = (int)(SWIG_As_int(obj1)); | |
9490 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9491 | } | |
9492 | { | |
9493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9494 | (arg1)->SetWrapStartIndent(arg2); | |
9495 | ||
9496 | wxPyEndAllowThreads(__tstate); | |
9497 | if (PyErr_Occurred()) SWIG_fail; | |
9498 | } | |
9499 | Py_INCREF(Py_None); resultobj = Py_None; | |
9500 | return resultobj; | |
9501 | fail: | |
9502 | return NULL; | |
9503 | } | |
9504 | ||
9505 | ||
9506 | static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
9507 | PyObject *resultobj; | |
9508 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9509 | int result; | |
9510 | PyObject * obj0 = 0 ; | |
9511 | char *kwnames[] = { | |
9512 | (char *) "self", NULL | |
9513 | }; | |
9514 | ||
9515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail; | |
9516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9518 | { | |
9519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9520 | result = (int)(arg1)->GetWrapStartIndent(); | |
9521 | ||
9522 | wxPyEndAllowThreads(__tstate); | |
9523 | if (PyErr_Occurred()) SWIG_fail; | |
9524 | } | |
9525 | { | |
9526 | resultobj = SWIG_From_int((int)(result)); | |
9527 | } | |
9528 | return resultobj; | |
9529 | fail: | |
9530 | return NULL; | |
9531 | } | |
9532 | ||
9533 | ||
9534 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { | |
9535 | PyObject *resultobj; | |
9536 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9537 | int arg2 ; | |
9538 | PyObject * obj0 = 0 ; | |
9539 | PyObject * obj1 = 0 ; | |
9540 | char *kwnames[] = { | |
9541 | (char *) "self",(char *) "mode", NULL | |
9542 | }; | |
9543 | ||
9544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; | |
9545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9547 | { | |
9548 | arg2 = (int)(SWIG_As_int(obj1)); | |
9549 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9550 | } | |
9551 | { | |
9552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9553 | (arg1)->SetLayoutCache(arg2); | |
9554 | ||
9555 | wxPyEndAllowThreads(__tstate); | |
9556 | if (PyErr_Occurred()) SWIG_fail; | |
9557 | } | |
9558 | Py_INCREF(Py_None); resultobj = Py_None; | |
9559 | return resultobj; | |
9560 | fail: | |
9561 | return NULL; | |
9562 | } | |
9563 | ||
9564 | ||
9565 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { | |
9566 | PyObject *resultobj; | |
9567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9568 | int result; | |
9569 | PyObject * obj0 = 0 ; | |
9570 | char *kwnames[] = { | |
9571 | (char *) "self", NULL | |
9572 | }; | |
9573 | ||
9574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; | |
9575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9577 | { | |
9578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9579 | result = (int)(arg1)->GetLayoutCache(); | |
9580 | ||
9581 | wxPyEndAllowThreads(__tstate); | |
9582 | if (PyErr_Occurred()) SWIG_fail; | |
9583 | } | |
9584 | { | |
9585 | resultobj = SWIG_From_int((int)(result)); | |
9586 | } | |
9587 | return resultobj; | |
9588 | fail: | |
9589 | return NULL; | |
9590 | } | |
9591 | ||
9592 | ||
9593 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
9594 | PyObject *resultobj; | |
9595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9596 | int arg2 ; | |
9597 | PyObject * obj0 = 0 ; | |
9598 | PyObject * obj1 = 0 ; | |
9599 | char *kwnames[] = { | |
9600 | (char *) "self",(char *) "pixelWidth", NULL | |
9601 | }; | |
9602 | ||
9603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; | |
9604 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9605 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9606 | { | |
9607 | arg2 = (int)(SWIG_As_int(obj1)); | |
9608 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9609 | } | |
9610 | { | |
9611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9612 | (arg1)->SetScrollWidth(arg2); | |
9613 | ||
9614 | wxPyEndAllowThreads(__tstate); | |
9615 | if (PyErr_Occurred()) SWIG_fail; | |
9616 | } | |
9617 | Py_INCREF(Py_None); resultobj = Py_None; | |
9618 | return resultobj; | |
9619 | fail: | |
9620 | return NULL; | |
9621 | } | |
9622 | ||
9623 | ||
9624 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
9625 | PyObject *resultobj; | |
9626 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9627 | int result; | |
9628 | PyObject * obj0 = 0 ; | |
9629 | char *kwnames[] = { | |
9630 | (char *) "self", NULL | |
9631 | }; | |
9632 | ||
9633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; | |
9634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9636 | { | |
9637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9638 | result = (int)(arg1)->GetScrollWidth(); | |
9639 | ||
9640 | wxPyEndAllowThreads(__tstate); | |
9641 | if (PyErr_Occurred()) SWIG_fail; | |
9642 | } | |
9643 | { | |
9644 | resultobj = SWIG_From_int((int)(result)); | |
9645 | } | |
9646 | return resultobj; | |
9647 | fail: | |
9648 | return NULL; | |
9649 | } | |
9650 | ||
9651 | ||
9652 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
9653 | PyObject *resultobj; | |
9654 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9655 | int arg2 ; | |
9656 | wxString *arg3 = 0 ; | |
9657 | int result; | |
9658 | bool temp3 = false ; | |
9659 | PyObject * obj0 = 0 ; | |
9660 | PyObject * obj1 = 0 ; | |
9661 | PyObject * obj2 = 0 ; | |
9662 | char *kwnames[] = { | |
9663 | (char *) "self",(char *) "style",(char *) "text", NULL | |
9664 | }; | |
9665 | ||
9666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9667 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9668 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9669 | { | |
9670 | arg2 = (int)(SWIG_As_int(obj1)); | |
9671 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9672 | } | |
9673 | { | |
9674 | arg3 = wxString_in_helper(obj2); | |
9675 | if (arg3 == NULL) SWIG_fail; | |
9676 | temp3 = true; | |
9677 | } | |
9678 | { | |
9679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9680 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); | |
9681 | ||
9682 | wxPyEndAllowThreads(__tstate); | |
9683 | if (PyErr_Occurred()) SWIG_fail; | |
9684 | } | |
9685 | { | |
9686 | resultobj = SWIG_From_int((int)(result)); | |
9687 | } | |
9688 | { | |
9689 | if (temp3) | |
9690 | delete arg3; | |
9691 | } | |
9692 | return resultobj; | |
9693 | fail: | |
9694 | { | |
9695 | if (temp3) | |
9696 | delete arg3; | |
9697 | } | |
9698 | return NULL; | |
9699 | } | |
9700 | ||
9701 | ||
9702 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
9703 | PyObject *resultobj; | |
9704 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9705 | bool arg2 ; | |
9706 | PyObject * obj0 = 0 ; | |
9707 | PyObject * obj1 = 0 ; | |
9708 | char *kwnames[] = { | |
9709 | (char *) "self",(char *) "endAtLastLine", NULL | |
9710 | }; | |
9711 | ||
9712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; | |
9713 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9714 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9715 | { | |
9716 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9717 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9718 | } | |
9719 | { | |
9720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9721 | (arg1)->SetEndAtLastLine(arg2); | |
9722 | ||
9723 | wxPyEndAllowThreads(__tstate); | |
9724 | if (PyErr_Occurred()) SWIG_fail; | |
9725 | } | |
9726 | Py_INCREF(Py_None); resultobj = Py_None; | |
9727 | return resultobj; | |
9728 | fail: | |
9729 | return NULL; | |
9730 | } | |
9731 | ||
9732 | ||
9733 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
9734 | PyObject *resultobj; | |
9735 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9736 | int result; | |
9737 | PyObject * obj0 = 0 ; | |
9738 | char *kwnames[] = { | |
9739 | (char *) "self", NULL | |
9740 | }; | |
9741 | ||
9742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; | |
9743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9745 | { | |
9746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9747 | result = (int)(arg1)->GetEndAtLastLine(); | |
9748 | ||
9749 | wxPyEndAllowThreads(__tstate); | |
9750 | if (PyErr_Occurred()) SWIG_fail; | |
9751 | } | |
9752 | { | |
9753 | resultobj = SWIG_From_int((int)(result)); | |
9754 | } | |
9755 | return resultobj; | |
9756 | fail: | |
9757 | return NULL; | |
9758 | } | |
9759 | ||
9760 | ||
9761 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { | |
9762 | PyObject *resultobj; | |
9763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9764 | int arg2 ; | |
9765 | int result; | |
9766 | PyObject * obj0 = 0 ; | |
9767 | PyObject * obj1 = 0 ; | |
9768 | char *kwnames[] = { | |
9769 | (char *) "self",(char *) "line", NULL | |
9770 | }; | |
9771 | ||
9772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; | |
9773 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9774 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9775 | { | |
9776 | arg2 = (int)(SWIG_As_int(obj1)); | |
9777 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9778 | } | |
9779 | { | |
9780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9781 | result = (int)(arg1)->TextHeight(arg2); | |
9782 | ||
9783 | wxPyEndAllowThreads(__tstate); | |
9784 | if (PyErr_Occurred()) SWIG_fail; | |
9785 | } | |
9786 | { | |
9787 | resultobj = SWIG_From_int((int)(result)); | |
9788 | } | |
9789 | return resultobj; | |
9790 | fail: | |
9791 | return NULL; | |
9792 | } | |
9793 | ||
9794 | ||
9795 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
9796 | PyObject *resultobj; | |
9797 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9798 | bool arg2 ; | |
9799 | PyObject * obj0 = 0 ; | |
9800 | PyObject * obj1 = 0 ; | |
9801 | char *kwnames[] = { | |
9802 | (char *) "self",(char *) "show", NULL | |
9803 | }; | |
9804 | ||
9805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
9806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9808 | { | |
9809 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9810 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9811 | } | |
9812 | { | |
9813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9814 | (arg1)->SetUseVerticalScrollBar(arg2); | |
9815 | ||
9816 | wxPyEndAllowThreads(__tstate); | |
9817 | if (PyErr_Occurred()) SWIG_fail; | |
9818 | } | |
9819 | Py_INCREF(Py_None); resultobj = Py_None; | |
9820 | return resultobj; | |
9821 | fail: | |
9822 | return NULL; | |
9823 | } | |
9824 | ||
9825 | ||
9826 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
9827 | PyObject *resultobj; | |
9828 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9829 | bool result; | |
9830 | PyObject * obj0 = 0 ; | |
9831 | char *kwnames[] = { | |
9832 | (char *) "self", NULL | |
9833 | }; | |
9834 | ||
9835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; | |
9836 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9837 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9838 | { | |
9839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9840 | result = (bool)(arg1)->GetUseVerticalScrollBar(); | |
9841 | ||
9842 | wxPyEndAllowThreads(__tstate); | |
9843 | if (PyErr_Occurred()) SWIG_fail; | |
9844 | } | |
9845 | { | |
9846 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9847 | } | |
9848 | return resultobj; | |
9849 | fail: | |
9850 | return NULL; | |
9851 | } | |
9852 | ||
9853 | ||
9854 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { | |
9855 | PyObject *resultobj; | |
9856 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9857 | wxString *arg2 = 0 ; | |
9858 | bool temp2 = false ; | |
9859 | PyObject * obj0 = 0 ; | |
9860 | PyObject * obj1 = 0 ; | |
9861 | char *kwnames[] = { | |
9862 | (char *) "self",(char *) "text", NULL | |
9863 | }; | |
9864 | ||
9865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail; | |
9866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9868 | { | |
9869 | arg2 = wxString_in_helper(obj1); | |
9870 | if (arg2 == NULL) SWIG_fail; | |
9871 | temp2 = true; | |
9872 | } | |
9873 | { | |
9874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9875 | (arg1)->AppendText((wxString const &)*arg2); | |
9876 | ||
9877 | wxPyEndAllowThreads(__tstate); | |
9878 | if (PyErr_Occurred()) SWIG_fail; | |
9879 | } | |
9880 | Py_INCREF(Py_None); resultobj = Py_None; | |
9881 | { | |
9882 | if (temp2) | |
9883 | delete arg2; | |
9884 | } | |
9885 | return resultobj; | |
9886 | fail: | |
9887 | { | |
9888 | if (temp2) | |
9889 | delete arg2; | |
9890 | } | |
9891 | return NULL; | |
9892 | } | |
9893 | ||
9894 | ||
9895 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
9896 | PyObject *resultobj; | |
9897 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9898 | bool result; | |
9899 | PyObject * obj0 = 0 ; | |
9900 | char *kwnames[] = { | |
9901 | (char *) "self", NULL | |
9902 | }; | |
9903 | ||
9904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; | |
9905 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9906 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9907 | { | |
9908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9909 | result = (bool)(arg1)->GetTwoPhaseDraw(); | |
9910 | ||
9911 | wxPyEndAllowThreads(__tstate); | |
9912 | if (PyErr_Occurred()) SWIG_fail; | |
9913 | } | |
9914 | { | |
9915 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9916 | } | |
9917 | return resultobj; | |
9918 | fail: | |
9919 | return NULL; | |
9920 | } | |
9921 | ||
9922 | ||
9923 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
9924 | PyObject *resultobj; | |
9925 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9926 | bool arg2 ; | |
9927 | PyObject * obj0 = 0 ; | |
9928 | PyObject * obj1 = 0 ; | |
9929 | char *kwnames[] = { | |
9930 | (char *) "self",(char *) "twoPhase", NULL | |
9931 | }; | |
9932 | ||
9933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; | |
9934 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9935 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9936 | { | |
9937 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
9938 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9939 | } | |
9940 | { | |
9941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9942 | (arg1)->SetTwoPhaseDraw(arg2); | |
9943 | ||
9944 | wxPyEndAllowThreads(__tstate); | |
9945 | if (PyErr_Occurred()) SWIG_fail; | |
9946 | } | |
9947 | Py_INCREF(Py_None); resultobj = Py_None; | |
9948 | return resultobj; | |
9949 | fail: | |
9950 | return NULL; | |
9951 | } | |
9952 | ||
9953 | ||
9954 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
9955 | PyObject *resultobj; | |
9956 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9957 | PyObject * obj0 = 0 ; | |
9958 | char *kwnames[] = { | |
9959 | (char *) "self", NULL | |
9960 | }; | |
9961 | ||
9962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; | |
9963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9965 | { | |
9966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9967 | (arg1)->TargetFromSelection(); | |
9968 | ||
9969 | wxPyEndAllowThreads(__tstate); | |
9970 | if (PyErr_Occurred()) SWIG_fail; | |
9971 | } | |
9972 | Py_INCREF(Py_None); resultobj = Py_None; | |
9973 | return resultobj; | |
9974 | fail: | |
9975 | return NULL; | |
9976 | } | |
9977 | ||
9978 | ||
9979 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { | |
9980 | PyObject *resultobj; | |
9981 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9982 | PyObject * obj0 = 0 ; | |
9983 | char *kwnames[] = { | |
9984 | (char *) "self", NULL | |
9985 | }; | |
9986 | ||
9987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; | |
9988 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9989 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9990 | { | |
9991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9992 | (arg1)->LinesJoin(); | |
9993 | ||
9994 | wxPyEndAllowThreads(__tstate); | |
9995 | if (PyErr_Occurred()) SWIG_fail; | |
9996 | } | |
9997 | Py_INCREF(Py_None); resultobj = Py_None; | |
9998 | return resultobj; | |
9999 | fail: | |
10000 | return NULL; | |
10001 | } | |
10002 | ||
10003 | ||
10004 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { | |
10005 | PyObject *resultobj; | |
10006 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10007 | int arg2 ; | |
10008 | PyObject * obj0 = 0 ; | |
10009 | PyObject * obj1 = 0 ; | |
10010 | char *kwnames[] = { | |
10011 | (char *) "self",(char *) "pixelWidth", NULL | |
10012 | }; | |
10013 | ||
10014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; | |
10015 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10016 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10017 | { | |
10018 | arg2 = (int)(SWIG_As_int(obj1)); | |
10019 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10020 | } | |
10021 | { | |
10022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10023 | (arg1)->LinesSplit(arg2); | |
10024 | ||
10025 | wxPyEndAllowThreads(__tstate); | |
10026 | if (PyErr_Occurred()) SWIG_fail; | |
10027 | } | |
10028 | Py_INCREF(Py_None); resultobj = Py_None; | |
10029 | return resultobj; | |
10030 | fail: | |
10031 | return NULL; | |
10032 | } | |
10033 | ||
10034 | ||
10035 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
10036 | PyObject *resultobj; | |
10037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10038 | bool arg2 ; | |
10039 | wxColour *arg3 = 0 ; | |
10040 | wxColour temp3 ; | |
10041 | PyObject * obj0 = 0 ; | |
10042 | PyObject * obj1 = 0 ; | |
10043 | PyObject * obj2 = 0 ; | |
10044 | char *kwnames[] = { | |
10045 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
10046 | }; | |
10047 | ||
10048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10049 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10050 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10051 | { | |
10052 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
10053 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10054 | } | |
10055 | { | |
10056 | arg3 = &temp3; | |
10057 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10058 | } | |
10059 | { | |
10060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10061 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); | |
10062 | ||
10063 | wxPyEndAllowThreads(__tstate); | |
10064 | if (PyErr_Occurred()) SWIG_fail; | |
10065 | } | |
10066 | Py_INCREF(Py_None); resultobj = Py_None; | |
10067 | return resultobj; | |
10068 | fail: | |
10069 | return NULL; | |
10070 | } | |
10071 | ||
10072 | ||
10073 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
10074 | PyObject *resultobj; | |
10075 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10076 | bool arg2 ; | |
10077 | wxColour *arg3 = 0 ; | |
10078 | wxColour temp3 ; | |
10079 | PyObject * obj0 = 0 ; | |
10080 | PyObject * obj1 = 0 ; | |
10081 | PyObject * obj2 = 0 ; | |
10082 | char *kwnames[] = { | |
10083 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
10084 | }; | |
10085 | ||
10086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10089 | { | |
10090 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
10091 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10092 | } | |
10093 | { | |
10094 | arg3 = &temp3; | |
10095 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10096 | } | |
10097 | { | |
10098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10099 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); | |
10100 | ||
10101 | wxPyEndAllowThreads(__tstate); | |
10102 | if (PyErr_Occurred()) SWIG_fail; | |
10103 | } | |
10104 | Py_INCREF(Py_None); resultobj = Py_None; | |
10105 | return resultobj; | |
10106 | fail: | |
10107 | return NULL; | |
10108 | } | |
10109 | ||
10110 | ||
10111 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
10112 | PyObject *resultobj; | |
10113 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10114 | PyObject * obj0 = 0 ; | |
10115 | char *kwnames[] = { | |
10116 | (char *) "self", NULL | |
10117 | }; | |
10118 | ||
10119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; | |
10120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10122 | { | |
10123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10124 | (arg1)->LineDown(); | |
10125 | ||
10126 | wxPyEndAllowThreads(__tstate); | |
10127 | if (PyErr_Occurred()) SWIG_fail; | |
10128 | } | |
10129 | Py_INCREF(Py_None); resultobj = Py_None; | |
10130 | return resultobj; | |
10131 | fail: | |
10132 | return NULL; | |
10133 | } | |
10134 | ||
10135 | ||
10136 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10137 | PyObject *resultobj; | |
10138 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10139 | PyObject * obj0 = 0 ; | |
10140 | char *kwnames[] = { | |
10141 | (char *) "self", NULL | |
10142 | }; | |
10143 | ||
10144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; | |
10145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10147 | { | |
10148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10149 | (arg1)->LineDownExtend(); | |
10150 | ||
10151 | wxPyEndAllowThreads(__tstate); | |
10152 | if (PyErr_Occurred()) SWIG_fail; | |
10153 | } | |
10154 | Py_INCREF(Py_None); resultobj = Py_None; | |
10155 | return resultobj; | |
10156 | fail: | |
10157 | return NULL; | |
10158 | } | |
10159 | ||
10160 | ||
10161 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
10162 | PyObject *resultobj; | |
10163 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10164 | PyObject * obj0 = 0 ; | |
10165 | char *kwnames[] = { | |
10166 | (char *) "self", NULL | |
10167 | }; | |
10168 | ||
10169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; | |
10170 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10171 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10172 | { | |
10173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10174 | (arg1)->LineUp(); | |
10175 | ||
10176 | wxPyEndAllowThreads(__tstate); | |
10177 | if (PyErr_Occurred()) SWIG_fail; | |
10178 | } | |
10179 | Py_INCREF(Py_None); resultobj = Py_None; | |
10180 | return resultobj; | |
10181 | fail: | |
10182 | return NULL; | |
10183 | } | |
10184 | ||
10185 | ||
10186 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10187 | PyObject *resultobj; | |
10188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10189 | PyObject * obj0 = 0 ; | |
10190 | char *kwnames[] = { | |
10191 | (char *) "self", NULL | |
10192 | }; | |
10193 | ||
10194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; | |
10195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10197 | { | |
10198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10199 | (arg1)->LineUpExtend(); | |
10200 | ||
10201 | wxPyEndAllowThreads(__tstate); | |
10202 | if (PyErr_Occurred()) SWIG_fail; | |
10203 | } | |
10204 | Py_INCREF(Py_None); resultobj = Py_None; | |
10205 | return resultobj; | |
10206 | fail: | |
10207 | return NULL; | |
10208 | } | |
10209 | ||
10210 | ||
10211 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
10212 | PyObject *resultobj; | |
10213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10214 | PyObject * obj0 = 0 ; | |
10215 | char *kwnames[] = { | |
10216 | (char *) "self", NULL | |
10217 | }; | |
10218 | ||
10219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; | |
10220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10222 | { | |
10223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10224 | (arg1)->CharLeft(); | |
10225 | ||
10226 | wxPyEndAllowThreads(__tstate); | |
10227 | if (PyErr_Occurred()) SWIG_fail; | |
10228 | } | |
10229 | Py_INCREF(Py_None); resultobj = Py_None; | |
10230 | return resultobj; | |
10231 | fail: | |
10232 | return NULL; | |
10233 | } | |
10234 | ||
10235 | ||
10236 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10237 | PyObject *resultobj; | |
10238 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10239 | PyObject * obj0 = 0 ; | |
10240 | char *kwnames[] = { | |
10241 | (char *) "self", NULL | |
10242 | }; | |
10243 | ||
10244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; | |
10245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10247 | { | |
10248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10249 | (arg1)->CharLeftExtend(); | |
10250 | ||
10251 | wxPyEndAllowThreads(__tstate); | |
10252 | if (PyErr_Occurred()) SWIG_fail; | |
10253 | } | |
10254 | Py_INCREF(Py_None); resultobj = Py_None; | |
10255 | return resultobj; | |
10256 | fail: | |
10257 | return NULL; | |
10258 | } | |
10259 | ||
10260 | ||
10261 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
10262 | PyObject *resultobj; | |
10263 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10264 | PyObject * obj0 = 0 ; | |
10265 | char *kwnames[] = { | |
10266 | (char *) "self", NULL | |
10267 | }; | |
10268 | ||
10269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; | |
10270 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10271 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10272 | { | |
10273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10274 | (arg1)->CharRight(); | |
10275 | ||
10276 | wxPyEndAllowThreads(__tstate); | |
10277 | if (PyErr_Occurred()) SWIG_fail; | |
10278 | } | |
10279 | Py_INCREF(Py_None); resultobj = Py_None; | |
10280 | return resultobj; | |
10281 | fail: | |
10282 | return NULL; | |
10283 | } | |
10284 | ||
10285 | ||
10286 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10287 | PyObject *resultobj; | |
10288 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10289 | PyObject * obj0 = 0 ; | |
10290 | char *kwnames[] = { | |
10291 | (char *) "self", NULL | |
10292 | }; | |
10293 | ||
10294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; | |
10295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10297 | { | |
10298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10299 | (arg1)->CharRightExtend(); | |
10300 | ||
10301 | wxPyEndAllowThreads(__tstate); | |
10302 | if (PyErr_Occurred()) SWIG_fail; | |
10303 | } | |
10304 | Py_INCREF(Py_None); resultobj = Py_None; | |
10305 | return resultobj; | |
10306 | fail: | |
10307 | return NULL; | |
10308 | } | |
10309 | ||
10310 | ||
10311 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
10312 | PyObject *resultobj; | |
10313 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10314 | PyObject * obj0 = 0 ; | |
10315 | char *kwnames[] = { | |
10316 | (char *) "self", NULL | |
10317 | }; | |
10318 | ||
10319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; | |
10320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10322 | { | |
10323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10324 | (arg1)->WordLeft(); | |
10325 | ||
10326 | wxPyEndAllowThreads(__tstate); | |
10327 | if (PyErr_Occurred()) SWIG_fail; | |
10328 | } | |
10329 | Py_INCREF(Py_None); resultobj = Py_None; | |
10330 | return resultobj; | |
10331 | fail: | |
10332 | return NULL; | |
10333 | } | |
10334 | ||
10335 | ||
10336 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10337 | PyObject *resultobj; | |
10338 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10339 | PyObject * obj0 = 0 ; | |
10340 | char *kwnames[] = { | |
10341 | (char *) "self", NULL | |
10342 | }; | |
10343 | ||
10344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; | |
10345 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10346 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10347 | { | |
10348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10349 | (arg1)->WordLeftExtend(); | |
10350 | ||
10351 | wxPyEndAllowThreads(__tstate); | |
10352 | if (PyErr_Occurred()) SWIG_fail; | |
10353 | } | |
10354 | Py_INCREF(Py_None); resultobj = Py_None; | |
10355 | return resultobj; | |
10356 | fail: | |
10357 | return NULL; | |
10358 | } | |
10359 | ||
10360 | ||
10361 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
10362 | PyObject *resultobj; | |
10363 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10364 | PyObject * obj0 = 0 ; | |
10365 | char *kwnames[] = { | |
10366 | (char *) "self", NULL | |
10367 | }; | |
10368 | ||
10369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; | |
10370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10372 | { | |
10373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10374 | (arg1)->WordRight(); | |
10375 | ||
10376 | wxPyEndAllowThreads(__tstate); | |
10377 | if (PyErr_Occurred()) SWIG_fail; | |
10378 | } | |
10379 | Py_INCREF(Py_None); resultobj = Py_None; | |
10380 | return resultobj; | |
10381 | fail: | |
10382 | return NULL; | |
10383 | } | |
10384 | ||
10385 | ||
10386 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10387 | PyObject *resultobj; | |
10388 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10389 | PyObject * obj0 = 0 ; | |
10390 | char *kwnames[] = { | |
10391 | (char *) "self", NULL | |
10392 | }; | |
10393 | ||
10394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; | |
10395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10397 | { | |
10398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10399 | (arg1)->WordRightExtend(); | |
10400 | ||
10401 | wxPyEndAllowThreads(__tstate); | |
10402 | if (PyErr_Occurred()) SWIG_fail; | |
10403 | } | |
10404 | Py_INCREF(Py_None); resultobj = Py_None; | |
10405 | return resultobj; | |
10406 | fail: | |
10407 | return NULL; | |
10408 | } | |
10409 | ||
10410 | ||
10411 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { | |
10412 | PyObject *resultobj; | |
10413 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10414 | PyObject * obj0 = 0 ; | |
10415 | char *kwnames[] = { | |
10416 | (char *) "self", NULL | |
10417 | }; | |
10418 | ||
10419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; | |
10420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10422 | { | |
10423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10424 | (arg1)->Home(); | |
10425 | ||
10426 | wxPyEndAllowThreads(__tstate); | |
10427 | if (PyErr_Occurred()) SWIG_fail; | |
10428 | } | |
10429 | Py_INCREF(Py_None); resultobj = Py_None; | |
10430 | return resultobj; | |
10431 | fail: | |
10432 | return NULL; | |
10433 | } | |
10434 | ||
10435 | ||
10436 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10437 | PyObject *resultobj; | |
10438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10439 | PyObject * obj0 = 0 ; | |
10440 | char *kwnames[] = { | |
10441 | (char *) "self", NULL | |
10442 | }; | |
10443 | ||
10444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; | |
10445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10447 | { | |
10448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10449 | (arg1)->HomeExtend(); | |
10450 | ||
10451 | wxPyEndAllowThreads(__tstate); | |
10452 | if (PyErr_Occurred()) SWIG_fail; | |
10453 | } | |
10454 | Py_INCREF(Py_None); resultobj = Py_None; | |
10455 | return resultobj; | |
10456 | fail: | |
10457 | return NULL; | |
10458 | } | |
10459 | ||
10460 | ||
10461 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
10462 | PyObject *resultobj; | |
10463 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10464 | PyObject * obj0 = 0 ; | |
10465 | char *kwnames[] = { | |
10466 | (char *) "self", NULL | |
10467 | }; | |
10468 | ||
10469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; | |
10470 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10471 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10472 | { | |
10473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10474 | (arg1)->LineEnd(); | |
10475 | ||
10476 | wxPyEndAllowThreads(__tstate); | |
10477 | if (PyErr_Occurred()) SWIG_fail; | |
10478 | } | |
10479 | Py_INCREF(Py_None); resultobj = Py_None; | |
10480 | return resultobj; | |
10481 | fail: | |
10482 | return NULL; | |
10483 | } | |
10484 | ||
10485 | ||
10486 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10487 | PyObject *resultobj; | |
10488 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10489 | PyObject * obj0 = 0 ; | |
10490 | char *kwnames[] = { | |
10491 | (char *) "self", NULL | |
10492 | }; | |
10493 | ||
10494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; | |
10495 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10496 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10497 | { | |
10498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10499 | (arg1)->LineEndExtend(); | |
10500 | ||
10501 | wxPyEndAllowThreads(__tstate); | |
10502 | if (PyErr_Occurred()) SWIG_fail; | |
10503 | } | |
10504 | Py_INCREF(Py_None); resultobj = Py_None; | |
10505 | return resultobj; | |
10506 | fail: | |
10507 | return NULL; | |
10508 | } | |
10509 | ||
10510 | ||
10511 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
10512 | PyObject *resultobj; | |
10513 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10514 | PyObject * obj0 = 0 ; | |
10515 | char *kwnames[] = { | |
10516 | (char *) "self", NULL | |
10517 | }; | |
10518 | ||
10519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; | |
10520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10522 | { | |
10523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10524 | (arg1)->DocumentStart(); | |
10525 | ||
10526 | wxPyEndAllowThreads(__tstate); | |
10527 | if (PyErr_Occurred()) SWIG_fail; | |
10528 | } | |
10529 | Py_INCREF(Py_None); resultobj = Py_None; | |
10530 | return resultobj; | |
10531 | fail: | |
10532 | return NULL; | |
10533 | } | |
10534 | ||
10535 | ||
10536 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10537 | PyObject *resultobj; | |
10538 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10539 | PyObject * obj0 = 0 ; | |
10540 | char *kwnames[] = { | |
10541 | (char *) "self", NULL | |
10542 | }; | |
10543 | ||
10544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; | |
10545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10547 | { | |
10548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10549 | (arg1)->DocumentStartExtend(); | |
10550 | ||
10551 | wxPyEndAllowThreads(__tstate); | |
10552 | if (PyErr_Occurred()) SWIG_fail; | |
10553 | } | |
10554 | Py_INCREF(Py_None); resultobj = Py_None; | |
10555 | return resultobj; | |
10556 | fail: | |
10557 | return NULL; | |
10558 | } | |
10559 | ||
10560 | ||
10561 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
10562 | PyObject *resultobj; | |
10563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10564 | PyObject * obj0 = 0 ; | |
10565 | char *kwnames[] = { | |
10566 | (char *) "self", NULL | |
10567 | }; | |
10568 | ||
10569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; | |
10570 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10571 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10572 | { | |
10573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10574 | (arg1)->DocumentEnd(); | |
10575 | ||
10576 | wxPyEndAllowThreads(__tstate); | |
10577 | if (PyErr_Occurred()) SWIG_fail; | |
10578 | } | |
10579 | Py_INCREF(Py_None); resultobj = Py_None; | |
10580 | return resultobj; | |
10581 | fail: | |
10582 | return NULL; | |
10583 | } | |
10584 | ||
10585 | ||
10586 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10587 | PyObject *resultobj; | |
10588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10589 | PyObject * obj0 = 0 ; | |
10590 | char *kwnames[] = { | |
10591 | (char *) "self", NULL | |
10592 | }; | |
10593 | ||
10594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; | |
10595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10597 | { | |
10598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10599 | (arg1)->DocumentEndExtend(); | |
10600 | ||
10601 | wxPyEndAllowThreads(__tstate); | |
10602 | if (PyErr_Occurred()) SWIG_fail; | |
10603 | } | |
10604 | Py_INCREF(Py_None); resultobj = Py_None; | |
10605 | return resultobj; | |
10606 | fail: | |
10607 | return NULL; | |
10608 | } | |
10609 | ||
10610 | ||
10611 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
10612 | PyObject *resultobj; | |
10613 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10614 | PyObject * obj0 = 0 ; | |
10615 | char *kwnames[] = { | |
10616 | (char *) "self", NULL | |
10617 | }; | |
10618 | ||
10619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; | |
10620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10622 | { | |
10623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10624 | (arg1)->PageUp(); | |
10625 | ||
10626 | wxPyEndAllowThreads(__tstate); | |
10627 | if (PyErr_Occurred()) SWIG_fail; | |
10628 | } | |
10629 | Py_INCREF(Py_None); resultobj = Py_None; | |
10630 | return resultobj; | |
10631 | fail: | |
10632 | return NULL; | |
10633 | } | |
10634 | ||
10635 | ||
10636 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10637 | PyObject *resultobj; | |
10638 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10639 | PyObject * obj0 = 0 ; | |
10640 | char *kwnames[] = { | |
10641 | (char *) "self", NULL | |
10642 | }; | |
10643 | ||
10644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; | |
10645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10647 | { | |
10648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10649 | (arg1)->PageUpExtend(); | |
10650 | ||
10651 | wxPyEndAllowThreads(__tstate); | |
10652 | if (PyErr_Occurred()) SWIG_fail; | |
10653 | } | |
10654 | Py_INCREF(Py_None); resultobj = Py_None; | |
10655 | return resultobj; | |
10656 | fail: | |
10657 | return NULL; | |
10658 | } | |
10659 | ||
10660 | ||
10661 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
10662 | PyObject *resultobj; | |
10663 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10664 | PyObject * obj0 = 0 ; | |
10665 | char *kwnames[] = { | |
10666 | (char *) "self", NULL | |
10667 | }; | |
10668 | ||
10669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; | |
10670 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10671 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10672 | { | |
10673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10674 | (arg1)->PageDown(); | |
10675 | ||
10676 | wxPyEndAllowThreads(__tstate); | |
10677 | if (PyErr_Occurred()) SWIG_fail; | |
10678 | } | |
10679 | Py_INCREF(Py_None); resultobj = Py_None; | |
10680 | return resultobj; | |
10681 | fail: | |
10682 | return NULL; | |
10683 | } | |
10684 | ||
10685 | ||
10686 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10687 | PyObject *resultobj; | |
10688 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10689 | PyObject * obj0 = 0 ; | |
10690 | char *kwnames[] = { | |
10691 | (char *) "self", NULL | |
10692 | }; | |
10693 | ||
10694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; | |
10695 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10696 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10697 | { | |
10698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10699 | (arg1)->PageDownExtend(); | |
10700 | ||
10701 | wxPyEndAllowThreads(__tstate); | |
10702 | if (PyErr_Occurred()) SWIG_fail; | |
10703 | } | |
10704 | Py_INCREF(Py_None); resultobj = Py_None; | |
10705 | return resultobj; | |
10706 | fail: | |
10707 | return NULL; | |
10708 | } | |
10709 | ||
10710 | ||
10711 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { | |
10712 | PyObject *resultobj; | |
10713 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10714 | PyObject * obj0 = 0 ; | |
10715 | char *kwnames[] = { | |
10716 | (char *) "self", NULL | |
10717 | }; | |
10718 | ||
10719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; | |
10720 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10721 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10722 | { | |
10723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10724 | (arg1)->EditToggleOvertype(); | |
10725 | ||
10726 | wxPyEndAllowThreads(__tstate); | |
10727 | if (PyErr_Occurred()) SWIG_fail; | |
10728 | } | |
10729 | Py_INCREF(Py_None); resultobj = Py_None; | |
10730 | return resultobj; | |
10731 | fail: | |
10732 | return NULL; | |
10733 | } | |
10734 | ||
10735 | ||
10736 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { | |
10737 | PyObject *resultobj; | |
10738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10739 | PyObject * obj0 = 0 ; | |
10740 | char *kwnames[] = { | |
10741 | (char *) "self", NULL | |
10742 | }; | |
10743 | ||
10744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; | |
10745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10747 | { | |
10748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10749 | (arg1)->Cancel(); | |
10750 | ||
10751 | wxPyEndAllowThreads(__tstate); | |
10752 | if (PyErr_Occurred()) SWIG_fail; | |
10753 | } | |
10754 | Py_INCREF(Py_None); resultobj = Py_None; | |
10755 | return resultobj; | |
10756 | fail: | |
10757 | return NULL; | |
10758 | } | |
10759 | ||
10760 | ||
10761 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { | |
10762 | PyObject *resultobj; | |
10763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10764 | PyObject * obj0 = 0 ; | |
10765 | char *kwnames[] = { | |
10766 | (char *) "self", NULL | |
10767 | }; | |
10768 | ||
10769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; | |
10770 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10771 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10772 | { | |
10773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10774 | (arg1)->DeleteBack(); | |
10775 | ||
10776 | wxPyEndAllowThreads(__tstate); | |
10777 | if (PyErr_Occurred()) SWIG_fail; | |
10778 | } | |
10779 | Py_INCREF(Py_None); resultobj = Py_None; | |
10780 | return resultobj; | |
10781 | fail: | |
10782 | return NULL; | |
10783 | } | |
10784 | ||
10785 | ||
10786 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { | |
10787 | PyObject *resultobj; | |
10788 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10789 | PyObject * obj0 = 0 ; | |
10790 | char *kwnames[] = { | |
10791 | (char *) "self", NULL | |
10792 | }; | |
10793 | ||
10794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; | |
10795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10797 | { | |
10798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10799 | (arg1)->Tab(); | |
10800 | ||
10801 | wxPyEndAllowThreads(__tstate); | |
10802 | if (PyErr_Occurred()) SWIG_fail; | |
10803 | } | |
10804 | Py_INCREF(Py_None); resultobj = Py_None; | |
10805 | return resultobj; | |
10806 | fail: | |
10807 | return NULL; | |
10808 | } | |
10809 | ||
10810 | ||
10811 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { | |
10812 | PyObject *resultobj; | |
10813 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10814 | PyObject * obj0 = 0 ; | |
10815 | char *kwnames[] = { | |
10816 | (char *) "self", NULL | |
10817 | }; | |
10818 | ||
10819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; | |
10820 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10821 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10822 | { | |
10823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10824 | (arg1)->BackTab(); | |
10825 | ||
10826 | wxPyEndAllowThreads(__tstate); | |
10827 | if (PyErr_Occurred()) SWIG_fail; | |
10828 | } | |
10829 | Py_INCREF(Py_None); resultobj = Py_None; | |
10830 | return resultobj; | |
10831 | fail: | |
10832 | return NULL; | |
10833 | } | |
10834 | ||
10835 | ||
10836 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
10837 | PyObject *resultobj; | |
10838 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10839 | PyObject * obj0 = 0 ; | |
10840 | char *kwnames[] = { | |
10841 | (char *) "self", NULL | |
10842 | }; | |
10843 | ||
10844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; | |
10845 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10846 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10847 | { | |
10848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10849 | (arg1)->NewLine(); | |
10850 | ||
10851 | wxPyEndAllowThreads(__tstate); | |
10852 | if (PyErr_Occurred()) SWIG_fail; | |
10853 | } | |
10854 | Py_INCREF(Py_None); resultobj = Py_None; | |
10855 | return resultobj; | |
10856 | fail: | |
10857 | return NULL; | |
10858 | } | |
10859 | ||
10860 | ||
10861 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { | |
10862 | PyObject *resultobj; | |
10863 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10864 | PyObject * obj0 = 0 ; | |
10865 | char *kwnames[] = { | |
10866 | (char *) "self", NULL | |
10867 | }; | |
10868 | ||
10869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; | |
10870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10872 | { | |
10873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10874 | (arg1)->FormFeed(); | |
10875 | ||
10876 | wxPyEndAllowThreads(__tstate); | |
10877 | if (PyErr_Occurred()) SWIG_fail; | |
10878 | } | |
10879 | Py_INCREF(Py_None); resultobj = Py_None; | |
10880 | return resultobj; | |
10881 | fail: | |
10882 | return NULL; | |
10883 | } | |
10884 | ||
10885 | ||
10886 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { | |
10887 | PyObject *resultobj; | |
10888 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10889 | PyObject * obj0 = 0 ; | |
10890 | char *kwnames[] = { | |
10891 | (char *) "self", NULL | |
10892 | }; | |
10893 | ||
10894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; | |
10895 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10896 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10897 | { | |
10898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10899 | (arg1)->VCHome(); | |
10900 | ||
10901 | wxPyEndAllowThreads(__tstate); | |
10902 | if (PyErr_Occurred()) SWIG_fail; | |
10903 | } | |
10904 | Py_INCREF(Py_None); resultobj = Py_None; | |
10905 | return resultobj; | |
10906 | fail: | |
10907 | return NULL; | |
10908 | } | |
10909 | ||
10910 | ||
10911 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10912 | PyObject *resultobj; | |
10913 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10914 | PyObject * obj0 = 0 ; | |
10915 | char *kwnames[] = { | |
10916 | (char *) "self", NULL | |
10917 | }; | |
10918 | ||
10919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; | |
10920 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10921 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10922 | { | |
10923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10924 | (arg1)->VCHomeExtend(); | |
10925 | ||
10926 | wxPyEndAllowThreads(__tstate); | |
10927 | if (PyErr_Occurred()) SWIG_fail; | |
10928 | } | |
10929 | Py_INCREF(Py_None); resultobj = Py_None; | |
10930 | return resultobj; | |
10931 | fail: | |
10932 | return NULL; | |
10933 | } | |
10934 | ||
10935 | ||
10936 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { | |
10937 | PyObject *resultobj; | |
10938 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10939 | PyObject * obj0 = 0 ; | |
10940 | char *kwnames[] = { | |
10941 | (char *) "self", NULL | |
10942 | }; | |
10943 | ||
10944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; | |
10945 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10946 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10947 | { | |
10948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10949 | (arg1)->ZoomIn(); | |
10950 | ||
10951 | wxPyEndAllowThreads(__tstate); | |
10952 | if (PyErr_Occurred()) SWIG_fail; | |
10953 | } | |
10954 | Py_INCREF(Py_None); resultobj = Py_None; | |
10955 | return resultobj; | |
10956 | fail: | |
10957 | return NULL; | |
10958 | } | |
10959 | ||
10960 | ||
10961 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { | |
10962 | PyObject *resultobj; | |
10963 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10964 | PyObject * obj0 = 0 ; | |
10965 | char *kwnames[] = { | |
10966 | (char *) "self", NULL | |
10967 | }; | |
10968 | ||
10969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; | |
10970 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10971 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10972 | { | |
10973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10974 | (arg1)->ZoomOut(); | |
10975 | ||
10976 | wxPyEndAllowThreads(__tstate); | |
10977 | if (PyErr_Occurred()) SWIG_fail; | |
10978 | } | |
10979 | Py_INCREF(Py_None); resultobj = Py_None; | |
10980 | return resultobj; | |
10981 | fail: | |
10982 | return NULL; | |
10983 | } | |
10984 | ||
10985 | ||
10986 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
10987 | PyObject *resultobj; | |
10988 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10989 | PyObject * obj0 = 0 ; | |
10990 | char *kwnames[] = { | |
10991 | (char *) "self", NULL | |
10992 | }; | |
10993 | ||
10994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; | |
10995 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10996 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10997 | { | |
10998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10999 | (arg1)->DelWordLeft(); | |
11000 | ||
11001 | wxPyEndAllowThreads(__tstate); | |
11002 | if (PyErr_Occurred()) SWIG_fail; | |
11003 | } | |
11004 | Py_INCREF(Py_None); resultobj = Py_None; | |
11005 | return resultobj; | |
11006 | fail: | |
11007 | return NULL; | |
11008 | } | |
11009 | ||
11010 | ||
11011 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
11012 | PyObject *resultobj; | |
11013 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11014 | PyObject * obj0 = 0 ; | |
11015 | char *kwnames[] = { | |
11016 | (char *) "self", NULL | |
11017 | }; | |
11018 | ||
11019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; | |
11020 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11021 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11022 | { | |
11023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11024 | (arg1)->DelWordRight(); | |
11025 | ||
11026 | wxPyEndAllowThreads(__tstate); | |
11027 | if (PyErr_Occurred()) SWIG_fail; | |
11028 | } | |
11029 | Py_INCREF(Py_None); resultobj = Py_None; | |
11030 | return resultobj; | |
11031 | fail: | |
11032 | return NULL; | |
11033 | } | |
11034 | ||
11035 | ||
11036 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { | |
11037 | PyObject *resultobj; | |
11038 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11039 | PyObject * obj0 = 0 ; | |
11040 | char *kwnames[] = { | |
11041 | (char *) "self", NULL | |
11042 | }; | |
11043 | ||
11044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; | |
11045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11047 | { | |
11048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11049 | (arg1)->LineCut(); | |
11050 | ||
11051 | wxPyEndAllowThreads(__tstate); | |
11052 | if (PyErr_Occurred()) SWIG_fail; | |
11053 | } | |
11054 | Py_INCREF(Py_None); resultobj = Py_None; | |
11055 | return resultobj; | |
11056 | fail: | |
11057 | return NULL; | |
11058 | } | |
11059 | ||
11060 | ||
11061 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { | |
11062 | PyObject *resultobj; | |
11063 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11064 | PyObject * obj0 = 0 ; | |
11065 | char *kwnames[] = { | |
11066 | (char *) "self", NULL | |
11067 | }; | |
11068 | ||
11069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; | |
11070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11072 | { | |
11073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11074 | (arg1)->LineDelete(); | |
11075 | ||
11076 | wxPyEndAllowThreads(__tstate); | |
11077 | if (PyErr_Occurred()) SWIG_fail; | |
11078 | } | |
11079 | Py_INCREF(Py_None); resultobj = Py_None; | |
11080 | return resultobj; | |
11081 | fail: | |
11082 | return NULL; | |
11083 | } | |
11084 | ||
11085 | ||
11086 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { | |
11087 | PyObject *resultobj; | |
11088 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11089 | PyObject * obj0 = 0 ; | |
11090 | char *kwnames[] = { | |
11091 | (char *) "self", NULL | |
11092 | }; | |
11093 | ||
11094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; | |
11095 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11096 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11097 | { | |
11098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11099 | (arg1)->LineTranspose(); | |
11100 | ||
11101 | wxPyEndAllowThreads(__tstate); | |
11102 | if (PyErr_Occurred()) SWIG_fail; | |
11103 | } | |
11104 | Py_INCREF(Py_None); resultobj = Py_None; | |
11105 | return resultobj; | |
11106 | fail: | |
11107 | return NULL; | |
11108 | } | |
11109 | ||
11110 | ||
11111 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { | |
11112 | PyObject *resultobj; | |
11113 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11114 | PyObject * obj0 = 0 ; | |
11115 | char *kwnames[] = { | |
11116 | (char *) "self", NULL | |
11117 | }; | |
11118 | ||
11119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; | |
11120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11122 | { | |
11123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11124 | (arg1)->LineDuplicate(); | |
11125 | ||
11126 | wxPyEndAllowThreads(__tstate); | |
11127 | if (PyErr_Occurred()) SWIG_fail; | |
11128 | } | |
11129 | Py_INCREF(Py_None); resultobj = Py_None; | |
11130 | return resultobj; | |
11131 | fail: | |
11132 | return NULL; | |
11133 | } | |
11134 | ||
11135 | ||
11136 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
11137 | PyObject *resultobj; | |
11138 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11139 | PyObject * obj0 = 0 ; | |
11140 | char *kwnames[] = { | |
11141 | (char *) "self", NULL | |
11142 | }; | |
11143 | ||
11144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; | |
11145 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11146 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11147 | { | |
11148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11149 | (arg1)->LowerCase(); | |
11150 | ||
11151 | wxPyEndAllowThreads(__tstate); | |
11152 | if (PyErr_Occurred()) SWIG_fail; | |
11153 | } | |
11154 | Py_INCREF(Py_None); resultobj = Py_None; | |
11155 | return resultobj; | |
11156 | fail: | |
11157 | return NULL; | |
11158 | } | |
11159 | ||
11160 | ||
11161 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
11162 | PyObject *resultobj; | |
11163 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11164 | PyObject * obj0 = 0 ; | |
11165 | char *kwnames[] = { | |
11166 | (char *) "self", NULL | |
11167 | }; | |
11168 | ||
11169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; | |
11170 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11171 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11172 | { | |
11173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11174 | (arg1)->UpperCase(); | |
11175 | ||
11176 | wxPyEndAllowThreads(__tstate); | |
11177 | if (PyErr_Occurred()) SWIG_fail; | |
11178 | } | |
11179 | Py_INCREF(Py_None); resultobj = Py_None; | |
11180 | return resultobj; | |
11181 | fail: | |
11182 | return NULL; | |
11183 | } | |
11184 | ||
11185 | ||
11186 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
11187 | PyObject *resultobj; | |
11188 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11189 | PyObject * obj0 = 0 ; | |
11190 | char *kwnames[] = { | |
11191 | (char *) "self", NULL | |
11192 | }; | |
11193 | ||
11194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; | |
11195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11197 | { | |
11198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11199 | (arg1)->LineScrollDown(); | |
11200 | ||
11201 | wxPyEndAllowThreads(__tstate); | |
11202 | if (PyErr_Occurred()) SWIG_fail; | |
11203 | } | |
11204 | Py_INCREF(Py_None); resultobj = Py_None; | |
11205 | return resultobj; | |
11206 | fail: | |
11207 | return NULL; | |
11208 | } | |
11209 | ||
11210 | ||
11211 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
11212 | PyObject *resultobj; | |
11213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11214 | PyObject * obj0 = 0 ; | |
11215 | char *kwnames[] = { | |
11216 | (char *) "self", NULL | |
11217 | }; | |
11218 | ||
11219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; | |
11220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11222 | { | |
11223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11224 | (arg1)->LineScrollUp(); | |
11225 | ||
11226 | wxPyEndAllowThreads(__tstate); | |
11227 | if (PyErr_Occurred()) SWIG_fail; | |
11228 | } | |
11229 | Py_INCREF(Py_None); resultobj = Py_None; | |
11230 | return resultobj; | |
11231 | fail: | |
11232 | return NULL; | |
11233 | } | |
11234 | ||
11235 | ||
11236 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
11237 | PyObject *resultobj; | |
11238 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11239 | PyObject * obj0 = 0 ; | |
11240 | char *kwnames[] = { | |
11241 | (char *) "self", NULL | |
11242 | }; | |
11243 | ||
11244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; | |
11245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11247 | { | |
11248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11249 | (arg1)->DeleteBackNotLine(); | |
11250 | ||
11251 | wxPyEndAllowThreads(__tstate); | |
11252 | if (PyErr_Occurred()) SWIG_fail; | |
11253 | } | |
11254 | Py_INCREF(Py_None); resultobj = Py_None; | |
11255 | return resultobj; | |
11256 | fail: | |
11257 | return NULL; | |
11258 | } | |
11259 | ||
11260 | ||
11261 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { | |
11262 | PyObject *resultobj; | |
11263 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11264 | PyObject * obj0 = 0 ; | |
11265 | char *kwnames[] = { | |
11266 | (char *) "self", NULL | |
11267 | }; | |
11268 | ||
11269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; | |
11270 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11271 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11272 | { | |
11273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11274 | (arg1)->HomeDisplay(); | |
11275 | ||
11276 | wxPyEndAllowThreads(__tstate); | |
11277 | if (PyErr_Occurred()) SWIG_fail; | |
11278 | } | |
11279 | Py_INCREF(Py_None); resultobj = Py_None; | |
11280 | return resultobj; | |
11281 | fail: | |
11282 | return NULL; | |
11283 | } | |
11284 | ||
11285 | ||
11286 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11287 | PyObject *resultobj; | |
11288 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11289 | PyObject * obj0 = 0 ; | |
11290 | char *kwnames[] = { | |
11291 | (char *) "self", NULL | |
11292 | }; | |
11293 | ||
11294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; | |
11295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11297 | { | |
11298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11299 | (arg1)->HomeDisplayExtend(); | |
11300 | ||
11301 | wxPyEndAllowThreads(__tstate); | |
11302 | if (PyErr_Occurred()) SWIG_fail; | |
11303 | } | |
11304 | Py_INCREF(Py_None); resultobj = Py_None; | |
11305 | return resultobj; | |
11306 | fail: | |
11307 | return NULL; | |
11308 | } | |
11309 | ||
11310 | ||
11311 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { | |
11312 | PyObject *resultobj; | |
11313 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11314 | PyObject * obj0 = 0 ; | |
11315 | char *kwnames[] = { | |
11316 | (char *) "self", NULL | |
11317 | }; | |
11318 | ||
11319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; | |
11320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11322 | { | |
11323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11324 | (arg1)->LineEndDisplay(); | |
11325 | ||
11326 | wxPyEndAllowThreads(__tstate); | |
11327 | if (PyErr_Occurred()) SWIG_fail; | |
11328 | } | |
11329 | Py_INCREF(Py_None); resultobj = Py_None; | |
11330 | return resultobj; | |
11331 | fail: | |
11332 | return NULL; | |
11333 | } | |
11334 | ||
11335 | ||
11336 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11337 | PyObject *resultobj; | |
11338 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11339 | PyObject * obj0 = 0 ; | |
11340 | char *kwnames[] = { | |
11341 | (char *) "self", NULL | |
11342 | }; | |
11343 | ||
11344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; | |
11345 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11346 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11347 | { | |
11348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11349 | (arg1)->LineEndDisplayExtend(); | |
11350 | ||
11351 | wxPyEndAllowThreads(__tstate); | |
11352 | if (PyErr_Occurred()) SWIG_fail; | |
11353 | } | |
11354 | Py_INCREF(Py_None); resultobj = Py_None; | |
11355 | return resultobj; | |
11356 | fail: | |
11357 | return NULL; | |
11358 | } | |
11359 | ||
11360 | ||
11361 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { | |
11362 | PyObject *resultobj; | |
11363 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11364 | PyObject * obj0 = 0 ; | |
11365 | char *kwnames[] = { | |
11366 | (char *) "self", NULL | |
11367 | }; | |
11368 | ||
11369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; | |
11370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11372 | { | |
11373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11374 | (arg1)->HomeWrap(); | |
11375 | ||
11376 | wxPyEndAllowThreads(__tstate); | |
11377 | if (PyErr_Occurred()) SWIG_fail; | |
11378 | } | |
11379 | Py_INCREF(Py_None); resultobj = Py_None; | |
11380 | return resultobj; | |
11381 | fail: | |
11382 | return NULL; | |
11383 | } | |
11384 | ||
11385 | ||
11386 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11387 | PyObject *resultobj; | |
11388 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11389 | PyObject * obj0 = 0 ; | |
11390 | char *kwnames[] = { | |
11391 | (char *) "self", NULL | |
11392 | }; | |
11393 | ||
11394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; | |
11395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11397 | { | |
11398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11399 | (arg1)->HomeWrapExtend(); | |
11400 | ||
11401 | wxPyEndAllowThreads(__tstate); | |
11402 | if (PyErr_Occurred()) SWIG_fail; | |
11403 | } | |
11404 | Py_INCREF(Py_None); resultobj = Py_None; | |
11405 | return resultobj; | |
11406 | fail: | |
11407 | return NULL; | |
11408 | } | |
11409 | ||
11410 | ||
11411 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { | |
11412 | PyObject *resultobj; | |
11413 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11414 | PyObject * obj0 = 0 ; | |
11415 | char *kwnames[] = { | |
11416 | (char *) "self", NULL | |
11417 | }; | |
11418 | ||
11419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; | |
11420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11422 | { | |
11423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11424 | (arg1)->LineEndWrap(); | |
11425 | ||
11426 | wxPyEndAllowThreads(__tstate); | |
11427 | if (PyErr_Occurred()) SWIG_fail; | |
11428 | } | |
11429 | Py_INCREF(Py_None); resultobj = Py_None; | |
11430 | return resultobj; | |
11431 | fail: | |
11432 | return NULL; | |
11433 | } | |
11434 | ||
11435 | ||
11436 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11437 | PyObject *resultobj; | |
11438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11439 | PyObject * obj0 = 0 ; | |
11440 | char *kwnames[] = { | |
11441 | (char *) "self", NULL | |
11442 | }; | |
11443 | ||
11444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; | |
11445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11447 | { | |
11448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11449 | (arg1)->LineEndWrapExtend(); | |
11450 | ||
11451 | wxPyEndAllowThreads(__tstate); | |
11452 | if (PyErr_Occurred()) SWIG_fail; | |
11453 | } | |
11454 | Py_INCREF(Py_None); resultobj = Py_None; | |
11455 | return resultobj; | |
11456 | fail: | |
11457 | return NULL; | |
11458 | } | |
11459 | ||
11460 | ||
11461 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { | |
11462 | PyObject *resultobj; | |
11463 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11464 | PyObject * obj0 = 0 ; | |
11465 | char *kwnames[] = { | |
11466 | (char *) "self", NULL | |
11467 | }; | |
11468 | ||
11469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; | |
11470 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11471 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11472 | { | |
11473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11474 | (arg1)->VCHomeWrap(); | |
11475 | ||
11476 | wxPyEndAllowThreads(__tstate); | |
11477 | if (PyErr_Occurred()) SWIG_fail; | |
11478 | } | |
11479 | Py_INCREF(Py_None); resultobj = Py_None; | |
11480 | return resultobj; | |
11481 | fail: | |
11482 | return NULL; | |
11483 | } | |
11484 | ||
11485 | ||
11486 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11487 | PyObject *resultobj; | |
11488 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11489 | PyObject * obj0 = 0 ; | |
11490 | char *kwnames[] = { | |
11491 | (char *) "self", NULL | |
11492 | }; | |
11493 | ||
11494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; | |
11495 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11496 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11497 | { | |
11498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11499 | (arg1)->VCHomeWrapExtend(); | |
11500 | ||
11501 | wxPyEndAllowThreads(__tstate); | |
11502 | if (PyErr_Occurred()) SWIG_fail; | |
11503 | } | |
11504 | Py_INCREF(Py_None); resultobj = Py_None; | |
11505 | return resultobj; | |
11506 | fail: | |
11507 | return NULL; | |
11508 | } | |
11509 | ||
11510 | ||
11511 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { | |
11512 | PyObject *resultobj; | |
11513 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11514 | PyObject * obj0 = 0 ; | |
11515 | char *kwnames[] = { | |
11516 | (char *) "self", NULL | |
11517 | }; | |
11518 | ||
11519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; | |
11520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11522 | { | |
11523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11524 | (arg1)->LineCopy(); | |
11525 | ||
11526 | wxPyEndAllowThreads(__tstate); | |
11527 | if (PyErr_Occurred()) SWIG_fail; | |
11528 | } | |
11529 | Py_INCREF(Py_None); resultobj = Py_None; | |
11530 | return resultobj; | |
11531 | fail: | |
11532 | return NULL; | |
11533 | } | |
11534 | ||
11535 | ||
11536 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { | |
11537 | PyObject *resultobj; | |
11538 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11539 | PyObject * obj0 = 0 ; | |
11540 | char *kwnames[] = { | |
11541 | (char *) "self", NULL | |
11542 | }; | |
11543 | ||
11544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; | |
11545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11547 | { | |
11548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11549 | (arg1)->MoveCaretInsideView(); | |
11550 | ||
11551 | wxPyEndAllowThreads(__tstate); | |
11552 | if (PyErr_Occurred()) SWIG_fail; | |
11553 | } | |
11554 | Py_INCREF(Py_None); resultobj = Py_None; | |
11555 | return resultobj; | |
11556 | fail: | |
11557 | return NULL; | |
11558 | } | |
11559 | ||
11560 | ||
11561 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
11562 | PyObject *resultobj; | |
11563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11564 | int arg2 ; | |
11565 | int result; | |
11566 | PyObject * obj0 = 0 ; | |
11567 | PyObject * obj1 = 0 ; | |
11568 | char *kwnames[] = { | |
11569 | (char *) "self",(char *) "line", NULL | |
11570 | }; | |
11571 | ||
11572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; | |
11573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11575 | { | |
11576 | arg2 = (int)(SWIG_As_int(obj1)); | |
11577 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11578 | } | |
11579 | { | |
11580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11581 | result = (int)(arg1)->LineLength(arg2); | |
11582 | ||
11583 | wxPyEndAllowThreads(__tstate); | |
11584 | if (PyErr_Occurred()) SWIG_fail; | |
11585 | } | |
11586 | { | |
11587 | resultobj = SWIG_From_int((int)(result)); | |
11588 | } | |
11589 | return resultobj; | |
11590 | fail: | |
11591 | return NULL; | |
11592 | } | |
11593 | ||
11594 | ||
11595 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { | |
11596 | PyObject *resultobj; | |
11597 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11598 | int arg2 ; | |
11599 | int arg3 ; | |
11600 | PyObject * obj0 = 0 ; | |
11601 | PyObject * obj1 = 0 ; | |
11602 | PyObject * obj2 = 0 ; | |
11603 | char *kwnames[] = { | |
11604 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL | |
11605 | }; | |
11606 | ||
11607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11610 | { | |
11611 | arg2 = (int)(SWIG_As_int(obj1)); | |
11612 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11613 | } | |
11614 | { | |
11615 | arg3 = (int)(SWIG_As_int(obj2)); | |
11616 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11617 | } | |
11618 | { | |
11619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11620 | (arg1)->BraceHighlight(arg2,arg3); | |
11621 | ||
11622 | wxPyEndAllowThreads(__tstate); | |
11623 | if (PyErr_Occurred()) SWIG_fail; | |
11624 | } | |
11625 | Py_INCREF(Py_None); resultobj = Py_None; | |
11626 | return resultobj; | |
11627 | fail: | |
11628 | return NULL; | |
11629 | } | |
11630 | ||
11631 | ||
11632 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { | |
11633 | PyObject *resultobj; | |
11634 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11635 | int arg2 ; | |
11636 | PyObject * obj0 = 0 ; | |
11637 | PyObject * obj1 = 0 ; | |
11638 | char *kwnames[] = { | |
11639 | (char *) "self",(char *) "pos", NULL | |
11640 | }; | |
11641 | ||
11642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; | |
11643 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11644 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11645 | { | |
11646 | arg2 = (int)(SWIG_As_int(obj1)); | |
11647 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11648 | } | |
11649 | { | |
11650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11651 | (arg1)->BraceBadLight(arg2); | |
11652 | ||
11653 | wxPyEndAllowThreads(__tstate); | |
11654 | if (PyErr_Occurred()) SWIG_fail; | |
11655 | } | |
11656 | Py_INCREF(Py_None); resultobj = Py_None; | |
11657 | return resultobj; | |
11658 | fail: | |
11659 | return NULL; | |
11660 | } | |
11661 | ||
11662 | ||
11663 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { | |
11664 | PyObject *resultobj; | |
11665 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11666 | int arg2 ; | |
11667 | int result; | |
11668 | PyObject * obj0 = 0 ; | |
11669 | PyObject * obj1 = 0 ; | |
11670 | char *kwnames[] = { | |
11671 | (char *) "self",(char *) "pos", NULL | |
11672 | }; | |
11673 | ||
11674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; | |
11675 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11676 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11677 | { | |
11678 | arg2 = (int)(SWIG_As_int(obj1)); | |
11679 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11680 | } | |
11681 | { | |
11682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11683 | result = (int)(arg1)->BraceMatch(arg2); | |
11684 | ||
11685 | wxPyEndAllowThreads(__tstate); | |
11686 | if (PyErr_Occurred()) SWIG_fail; | |
11687 | } | |
11688 | { | |
11689 | resultobj = SWIG_From_int((int)(result)); | |
11690 | } | |
11691 | return resultobj; | |
11692 | fail: | |
11693 | return NULL; | |
11694 | } | |
11695 | ||
11696 | ||
11697 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { | |
11698 | PyObject *resultobj; | |
11699 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11700 | bool result; | |
11701 | PyObject * obj0 = 0 ; | |
11702 | char *kwnames[] = { | |
11703 | (char *) "self", NULL | |
11704 | }; | |
11705 | ||
11706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; | |
11707 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11708 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11709 | { | |
11710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11711 | result = (bool)(arg1)->GetViewEOL(); | |
11712 | ||
11713 | wxPyEndAllowThreads(__tstate); | |
11714 | if (PyErr_Occurred()) SWIG_fail; | |
11715 | } | |
11716 | { | |
11717 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11718 | } | |
11719 | return resultobj; | |
11720 | fail: | |
11721 | return NULL; | |
11722 | } | |
11723 | ||
11724 | ||
11725 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { | |
11726 | PyObject *resultobj; | |
11727 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11728 | bool arg2 ; | |
11729 | PyObject * obj0 = 0 ; | |
11730 | PyObject * obj1 = 0 ; | |
11731 | char *kwnames[] = { | |
11732 | (char *) "self",(char *) "visible", NULL | |
11733 | }; | |
11734 | ||
11735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; | |
11736 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11737 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11738 | { | |
11739 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
11740 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11741 | } | |
11742 | { | |
11743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11744 | (arg1)->SetViewEOL(arg2); | |
11745 | ||
11746 | wxPyEndAllowThreads(__tstate); | |
11747 | if (PyErr_Occurred()) SWIG_fail; | |
11748 | } | |
11749 | Py_INCREF(Py_None); resultobj = Py_None; | |
11750 | return resultobj; | |
11751 | fail: | |
11752 | return NULL; | |
11753 | } | |
11754 | ||
11755 | ||
11756 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { | |
11757 | PyObject *resultobj; | |
11758 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11759 | void *result; | |
11760 | PyObject * obj0 = 0 ; | |
11761 | char *kwnames[] = { | |
11762 | (char *) "self", NULL | |
11763 | }; | |
11764 | ||
11765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; | |
11766 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11767 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11768 | { | |
11769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11770 | result = (void *)(arg1)->GetDocPointer(); | |
11771 | ||
11772 | wxPyEndAllowThreads(__tstate); | |
11773 | if (PyErr_Occurred()) SWIG_fail; | |
11774 | } | |
11775 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
11776 | return resultobj; | |
11777 | fail: | |
11778 | return NULL; | |
11779 | } | |
11780 | ||
11781 | ||
11782 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { | |
11783 | PyObject *resultobj; | |
11784 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11785 | void *arg2 = (void *) 0 ; | |
11786 | PyObject * obj0 = 0 ; | |
11787 | PyObject * obj1 = 0 ; | |
11788 | char *kwnames[] = { | |
11789 | (char *) "self",(char *) "docPointer", NULL | |
11790 | }; | |
11791 | ||
11792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; | |
11793 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11794 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11795 | { | |
11796 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
11797 | SWIG_arg_fail(2);SWIG_fail; | |
11798 | } | |
11799 | } | |
11800 | { | |
11801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11802 | (arg1)->SetDocPointer(arg2); | |
11803 | ||
11804 | wxPyEndAllowThreads(__tstate); | |
11805 | if (PyErr_Occurred()) SWIG_fail; | |
11806 | } | |
11807 | Py_INCREF(Py_None); resultobj = Py_None; | |
11808 | return resultobj; | |
11809 | fail: | |
11810 | return NULL; | |
11811 | } | |
11812 | ||
11813 | ||
11814 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
11815 | PyObject *resultobj; | |
11816 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11817 | int arg2 ; | |
11818 | PyObject * obj0 = 0 ; | |
11819 | PyObject * obj1 = 0 ; | |
11820 | char *kwnames[] = { | |
11821 | (char *) "self",(char *) "mask", NULL | |
11822 | }; | |
11823 | ||
11824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; | |
11825 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11826 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11827 | { | |
11828 | arg2 = (int)(SWIG_As_int(obj1)); | |
11829 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11830 | } | |
11831 | { | |
11832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11833 | (arg1)->SetModEventMask(arg2); | |
11834 | ||
11835 | wxPyEndAllowThreads(__tstate); | |
11836 | if (PyErr_Occurred()) SWIG_fail; | |
11837 | } | |
11838 | Py_INCREF(Py_None); resultobj = Py_None; | |
11839 | return resultobj; | |
11840 | fail: | |
11841 | return NULL; | |
11842 | } | |
11843 | ||
11844 | ||
11845 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
11846 | PyObject *resultobj; | |
11847 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11848 | int result; | |
11849 | PyObject * obj0 = 0 ; | |
11850 | char *kwnames[] = { | |
11851 | (char *) "self", NULL | |
11852 | }; | |
11853 | ||
11854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; | |
11855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11857 | { | |
11858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11859 | result = (int)(arg1)->GetEdgeColumn(); | |
11860 | ||
11861 | wxPyEndAllowThreads(__tstate); | |
11862 | if (PyErr_Occurred()) SWIG_fail; | |
11863 | } | |
11864 | { | |
11865 | resultobj = SWIG_From_int((int)(result)); | |
11866 | } | |
11867 | return resultobj; | |
11868 | fail: | |
11869 | return NULL; | |
11870 | } | |
11871 | ||
11872 | ||
11873 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
11874 | PyObject *resultobj; | |
11875 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11876 | int arg2 ; | |
11877 | PyObject * obj0 = 0 ; | |
11878 | PyObject * obj1 = 0 ; | |
11879 | char *kwnames[] = { | |
11880 | (char *) "self",(char *) "column", NULL | |
11881 | }; | |
11882 | ||
11883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; | |
11884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11886 | { | |
11887 | arg2 = (int)(SWIG_As_int(obj1)); | |
11888 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11889 | } | |
11890 | { | |
11891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11892 | (arg1)->SetEdgeColumn(arg2); | |
11893 | ||
11894 | wxPyEndAllowThreads(__tstate); | |
11895 | if (PyErr_Occurred()) SWIG_fail; | |
11896 | } | |
11897 | Py_INCREF(Py_None); resultobj = Py_None; | |
11898 | return resultobj; | |
11899 | fail: | |
11900 | return NULL; | |
11901 | } | |
11902 | ||
11903 | ||
11904 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
11905 | PyObject *resultobj; | |
11906 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11907 | int result; | |
11908 | PyObject * obj0 = 0 ; | |
11909 | char *kwnames[] = { | |
11910 | (char *) "self", NULL | |
11911 | }; | |
11912 | ||
11913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; | |
11914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11916 | { | |
11917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11918 | result = (int)(arg1)->GetEdgeMode(); | |
11919 | ||
11920 | wxPyEndAllowThreads(__tstate); | |
11921 | if (PyErr_Occurred()) SWIG_fail; | |
11922 | } | |
11923 | { | |
11924 | resultobj = SWIG_From_int((int)(result)); | |
11925 | } | |
11926 | return resultobj; | |
11927 | fail: | |
11928 | return NULL; | |
11929 | } | |
11930 | ||
11931 | ||
11932 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
11933 | PyObject *resultobj; | |
11934 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11935 | int arg2 ; | |
11936 | PyObject * obj0 = 0 ; | |
11937 | PyObject * obj1 = 0 ; | |
11938 | char *kwnames[] = { | |
11939 | (char *) "self",(char *) "mode", NULL | |
11940 | }; | |
11941 | ||
11942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; | |
11943 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11944 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11945 | { | |
11946 | arg2 = (int)(SWIG_As_int(obj1)); | |
11947 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11948 | } | |
11949 | { | |
11950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11951 | (arg1)->SetEdgeMode(arg2); | |
11952 | ||
11953 | wxPyEndAllowThreads(__tstate); | |
11954 | if (PyErr_Occurred()) SWIG_fail; | |
11955 | } | |
11956 | Py_INCREF(Py_None); resultobj = Py_None; | |
11957 | return resultobj; | |
11958 | fail: | |
11959 | return NULL; | |
11960 | } | |
11961 | ||
11962 | ||
11963 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
11964 | PyObject *resultobj; | |
11965 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11966 | wxColour result; | |
11967 | PyObject * obj0 = 0 ; | |
11968 | char *kwnames[] = { | |
11969 | (char *) "self", NULL | |
11970 | }; | |
11971 | ||
11972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; | |
11973 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11974 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11975 | { | |
11976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11977 | result = (arg1)->GetEdgeColour(); | |
11978 | ||
11979 | wxPyEndAllowThreads(__tstate); | |
11980 | if (PyErr_Occurred()) SWIG_fail; | |
11981 | } | |
11982 | { | |
11983 | wxColour * resultptr; | |
11984 | resultptr = new wxColour((wxColour &)(result)); | |
11985 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
11986 | } | |
11987 | return resultobj; | |
11988 | fail: | |
11989 | return NULL; | |
11990 | } | |
11991 | ||
11992 | ||
11993 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
11994 | PyObject *resultobj; | |
11995 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11996 | wxColour *arg2 = 0 ; | |
11997 | wxColour temp2 ; | |
11998 | PyObject * obj0 = 0 ; | |
11999 | PyObject * obj1 = 0 ; | |
12000 | char *kwnames[] = { | |
12001 | (char *) "self",(char *) "edgeColour", NULL | |
12002 | }; | |
12003 | ||
12004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; | |
12005 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12006 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12007 | { | |
12008 | arg2 = &temp2; | |
12009 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12010 | } | |
12011 | { | |
12012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12013 | (arg1)->SetEdgeColour((wxColour const &)*arg2); | |
12014 | ||
12015 | wxPyEndAllowThreads(__tstate); | |
12016 | if (PyErr_Occurred()) SWIG_fail; | |
12017 | } | |
12018 | Py_INCREF(Py_None); resultobj = Py_None; | |
12019 | return resultobj; | |
12020 | fail: | |
12021 | return NULL; | |
12022 | } | |
12023 | ||
12024 | ||
12025 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { | |
12026 | PyObject *resultobj; | |
12027 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12028 | PyObject * obj0 = 0 ; | |
12029 | char *kwnames[] = { | |
12030 | (char *) "self", NULL | |
12031 | }; | |
12032 | ||
12033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; | |
12034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12036 | { | |
12037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12038 | (arg1)->SearchAnchor(); | |
12039 | ||
12040 | wxPyEndAllowThreads(__tstate); | |
12041 | if (PyErr_Occurred()) SWIG_fail; | |
12042 | } | |
12043 | Py_INCREF(Py_None); resultobj = Py_None; | |
12044 | return resultobj; | |
12045 | fail: | |
12046 | return NULL; | |
12047 | } | |
12048 | ||
12049 | ||
12050 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { | |
12051 | PyObject *resultobj; | |
12052 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12053 | int arg2 ; | |
12054 | wxString *arg3 = 0 ; | |
12055 | int result; | |
12056 | bool temp3 = false ; | |
12057 | PyObject * obj0 = 0 ; | |
12058 | PyObject * obj1 = 0 ; | |
12059 | PyObject * obj2 = 0 ; | |
12060 | char *kwnames[] = { | |
12061 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
12062 | }; | |
12063 | ||
12064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12065 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12066 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12067 | { | |
12068 | arg2 = (int)(SWIG_As_int(obj1)); | |
12069 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12070 | } | |
12071 | { | |
12072 | arg3 = wxString_in_helper(obj2); | |
12073 | if (arg3 == NULL) SWIG_fail; | |
12074 | temp3 = true; | |
12075 | } | |
12076 | { | |
12077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12078 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); | |
12079 | ||
12080 | wxPyEndAllowThreads(__tstate); | |
12081 | if (PyErr_Occurred()) SWIG_fail; | |
12082 | } | |
12083 | { | |
12084 | resultobj = SWIG_From_int((int)(result)); | |
12085 | } | |
12086 | { | |
12087 | if (temp3) | |
12088 | delete arg3; | |
12089 | } | |
12090 | return resultobj; | |
12091 | fail: | |
12092 | { | |
12093 | if (temp3) | |
12094 | delete arg3; | |
12095 | } | |
12096 | return NULL; | |
12097 | } | |
12098 | ||
12099 | ||
12100 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
12101 | PyObject *resultobj; | |
12102 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12103 | int arg2 ; | |
12104 | wxString *arg3 = 0 ; | |
12105 | int result; | |
12106 | bool temp3 = false ; | |
12107 | PyObject * obj0 = 0 ; | |
12108 | PyObject * obj1 = 0 ; | |
12109 | PyObject * obj2 = 0 ; | |
12110 | char *kwnames[] = { | |
12111 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
12112 | }; | |
12113 | ||
12114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12115 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12116 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12117 | { | |
12118 | arg2 = (int)(SWIG_As_int(obj1)); | |
12119 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12120 | } | |
12121 | { | |
12122 | arg3 = wxString_in_helper(obj2); | |
12123 | if (arg3 == NULL) SWIG_fail; | |
12124 | temp3 = true; | |
12125 | } | |
12126 | { | |
12127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12128 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); | |
12129 | ||
12130 | wxPyEndAllowThreads(__tstate); | |
12131 | if (PyErr_Occurred()) SWIG_fail; | |
12132 | } | |
12133 | { | |
12134 | resultobj = SWIG_From_int((int)(result)); | |
12135 | } | |
12136 | { | |
12137 | if (temp3) | |
12138 | delete arg3; | |
12139 | } | |
12140 | return resultobj; | |
12141 | fail: | |
12142 | { | |
12143 | if (temp3) | |
12144 | delete arg3; | |
12145 | } | |
12146 | return NULL; | |
12147 | } | |
12148 | ||
12149 | ||
12150 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { | |
12151 | PyObject *resultobj; | |
12152 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12153 | int result; | |
12154 | PyObject * obj0 = 0 ; | |
12155 | char *kwnames[] = { | |
12156 | (char *) "self", NULL | |
12157 | }; | |
12158 | ||
12159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; | |
12160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12162 | { | |
12163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12164 | result = (int)(arg1)->LinesOnScreen(); | |
12165 | ||
12166 | wxPyEndAllowThreads(__tstate); | |
12167 | if (PyErr_Occurred()) SWIG_fail; | |
12168 | } | |
12169 | { | |
12170 | resultobj = SWIG_From_int((int)(result)); | |
12171 | } | |
12172 | return resultobj; | |
12173 | fail: | |
12174 | return NULL; | |
12175 | } | |
12176 | ||
12177 | ||
12178 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
12179 | PyObject *resultobj; | |
12180 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12181 | bool arg2 ; | |
12182 | PyObject * obj0 = 0 ; | |
12183 | PyObject * obj1 = 0 ; | |
12184 | char *kwnames[] = { | |
12185 | (char *) "self",(char *) "allowPopUp", NULL | |
12186 | }; | |
12187 | ||
12188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; | |
12189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12191 | { | |
12192 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12193 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12194 | } | |
12195 | { | |
12196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12197 | (arg1)->UsePopUp(arg2); | |
12198 | ||
12199 | wxPyEndAllowThreads(__tstate); | |
12200 | if (PyErr_Occurred()) SWIG_fail; | |
12201 | } | |
12202 | Py_INCREF(Py_None); resultobj = Py_None; | |
12203 | return resultobj; | |
12204 | fail: | |
12205 | return NULL; | |
12206 | } | |
12207 | ||
12208 | ||
12209 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { | |
12210 | PyObject *resultobj; | |
12211 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12212 | bool result; | |
12213 | PyObject * obj0 = 0 ; | |
12214 | char *kwnames[] = { | |
12215 | (char *) "self", NULL | |
12216 | }; | |
12217 | ||
12218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; | |
12219 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12220 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12221 | { | |
12222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12223 | result = (bool)(arg1)->SelectionIsRectangle(); | |
12224 | ||
12225 | wxPyEndAllowThreads(__tstate); | |
12226 | if (PyErr_Occurred()) SWIG_fail; | |
12227 | } | |
12228 | { | |
12229 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12230 | } | |
12231 | return resultobj; | |
12232 | fail: | |
12233 | return NULL; | |
12234 | } | |
12235 | ||
12236 | ||
12237 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { | |
12238 | PyObject *resultobj; | |
12239 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12240 | int arg2 ; | |
12241 | PyObject * obj0 = 0 ; | |
12242 | PyObject * obj1 = 0 ; | |
12243 | char *kwnames[] = { | |
12244 | (char *) "self",(char *) "zoom", NULL | |
12245 | }; | |
12246 | ||
12247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
12248 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12249 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12250 | { | |
12251 | arg2 = (int)(SWIG_As_int(obj1)); | |
12252 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12253 | } | |
12254 | { | |
12255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12256 | (arg1)->SetZoom(arg2); | |
12257 | ||
12258 | wxPyEndAllowThreads(__tstate); | |
12259 | if (PyErr_Occurred()) SWIG_fail; | |
12260 | } | |
12261 | Py_INCREF(Py_None); resultobj = Py_None; | |
12262 | return resultobj; | |
12263 | fail: | |
12264 | return NULL; | |
12265 | } | |
12266 | ||
12267 | ||
12268 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { | |
12269 | PyObject *resultobj; | |
12270 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12271 | int result; | |
12272 | PyObject * obj0 = 0 ; | |
12273 | char *kwnames[] = { | |
12274 | (char *) "self", NULL | |
12275 | }; | |
12276 | ||
12277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; | |
12278 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12279 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12280 | { | |
12281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12282 | result = (int)(arg1)->GetZoom(); | |
12283 | ||
12284 | wxPyEndAllowThreads(__tstate); | |
12285 | if (PyErr_Occurred()) SWIG_fail; | |
12286 | } | |
12287 | { | |
12288 | resultobj = SWIG_From_int((int)(result)); | |
12289 | } | |
12290 | return resultobj; | |
12291 | fail: | |
12292 | return NULL; | |
12293 | } | |
12294 | ||
12295 | ||
12296 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { | |
12297 | PyObject *resultobj; | |
12298 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12299 | void *result; | |
12300 | PyObject * obj0 = 0 ; | |
12301 | char *kwnames[] = { | |
12302 | (char *) "self", NULL | |
12303 | }; | |
12304 | ||
12305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; | |
12306 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12307 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12308 | { | |
12309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12310 | result = (void *)(arg1)->CreateDocument(); | |
12311 | ||
12312 | wxPyEndAllowThreads(__tstate); | |
12313 | if (PyErr_Occurred()) SWIG_fail; | |
12314 | } | |
12315 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
12316 | return resultobj; | |
12317 | fail: | |
12318 | return NULL; | |
12319 | } | |
12320 | ||
12321 | ||
12322 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { | |
12323 | PyObject *resultobj; | |
12324 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12325 | void *arg2 = (void *) 0 ; | |
12326 | PyObject * obj0 = 0 ; | |
12327 | PyObject * obj1 = 0 ; | |
12328 | char *kwnames[] = { | |
12329 | (char *) "self",(char *) "docPointer", NULL | |
12330 | }; | |
12331 | ||
12332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; | |
12333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12335 | { | |
12336 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12337 | SWIG_arg_fail(2);SWIG_fail; | |
12338 | } | |
12339 | } | |
12340 | { | |
12341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12342 | (arg1)->AddRefDocument(arg2); | |
12343 | ||
12344 | wxPyEndAllowThreads(__tstate); | |
12345 | if (PyErr_Occurred()) SWIG_fail; | |
12346 | } | |
12347 | Py_INCREF(Py_None); resultobj = Py_None; | |
12348 | return resultobj; | |
12349 | fail: | |
12350 | return NULL; | |
12351 | } | |
12352 | ||
12353 | ||
12354 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { | |
12355 | PyObject *resultobj; | |
12356 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12357 | void *arg2 = (void *) 0 ; | |
12358 | PyObject * obj0 = 0 ; | |
12359 | PyObject * obj1 = 0 ; | |
12360 | char *kwnames[] = { | |
12361 | (char *) "self",(char *) "docPointer", NULL | |
12362 | }; | |
12363 | ||
12364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; | |
12365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12367 | { | |
12368 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12369 | SWIG_arg_fail(2);SWIG_fail; | |
12370 | } | |
12371 | } | |
12372 | { | |
12373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12374 | (arg1)->ReleaseDocument(arg2); | |
12375 | ||
12376 | wxPyEndAllowThreads(__tstate); | |
12377 | if (PyErr_Occurred()) SWIG_fail; | |
12378 | } | |
12379 | Py_INCREF(Py_None); resultobj = Py_None; | |
12380 | return resultobj; | |
12381 | fail: | |
12382 | return NULL; | |
12383 | } | |
12384 | ||
12385 | ||
12386 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
12387 | PyObject *resultobj; | |
12388 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12389 | int result; | |
12390 | PyObject * obj0 = 0 ; | |
12391 | char *kwnames[] = { | |
12392 | (char *) "self", NULL | |
12393 | }; | |
12394 | ||
12395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; | |
12396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12398 | { | |
12399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12400 | result = (int)(arg1)->GetModEventMask(); | |
12401 | ||
12402 | wxPyEndAllowThreads(__tstate); | |
12403 | if (PyErr_Occurred()) SWIG_fail; | |
12404 | } | |
12405 | { | |
12406 | resultobj = SWIG_From_int((int)(result)); | |
12407 | } | |
12408 | return resultobj; | |
12409 | fail: | |
12410 | return NULL; | |
12411 | } | |
12412 | ||
12413 | ||
12414 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12415 | PyObject *resultobj; | |
12416 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12417 | bool arg2 ; | |
12418 | PyObject * obj0 = 0 ; | |
12419 | PyObject * obj1 = 0 ; | |
12420 | char *kwnames[] = { | |
12421 | (char *) "self",(char *) "focus", NULL | |
12422 | }; | |
12423 | ||
12424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; | |
12425 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12426 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12427 | { | |
12428 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12429 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12430 | } | |
12431 | { | |
12432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12433 | (arg1)->SetSTCFocus(arg2); | |
12434 | ||
12435 | wxPyEndAllowThreads(__tstate); | |
12436 | if (PyErr_Occurred()) SWIG_fail; | |
12437 | } | |
12438 | Py_INCREF(Py_None); resultobj = Py_None; | |
12439 | return resultobj; | |
12440 | fail: | |
12441 | return NULL; | |
12442 | } | |
12443 | ||
12444 | ||
12445 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12446 | PyObject *resultobj; | |
12447 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12448 | bool result; | |
12449 | PyObject * obj0 = 0 ; | |
12450 | char *kwnames[] = { | |
12451 | (char *) "self", NULL | |
12452 | }; | |
12453 | ||
12454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; | |
12455 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12456 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12457 | { | |
12458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12459 | result = (bool)(arg1)->GetSTCFocus(); | |
12460 | ||
12461 | wxPyEndAllowThreads(__tstate); | |
12462 | if (PyErr_Occurred()) SWIG_fail; | |
12463 | } | |
12464 | { | |
12465 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12466 | } | |
12467 | return resultobj; | |
12468 | fail: | |
12469 | return NULL; | |
12470 | } | |
12471 | ||
12472 | ||
12473 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12474 | PyObject *resultobj; | |
12475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12476 | int arg2 ; | |
12477 | PyObject * obj0 = 0 ; | |
12478 | PyObject * obj1 = 0 ; | |
12479 | char *kwnames[] = { | |
12480 | (char *) "self",(char *) "statusCode", NULL | |
12481 | }; | |
12482 | ||
12483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; | |
12484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12486 | { | |
12487 | arg2 = (int)(SWIG_As_int(obj1)); | |
12488 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12489 | } | |
12490 | { | |
12491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12492 | (arg1)->SetStatus(arg2); | |
12493 | ||
12494 | wxPyEndAllowThreads(__tstate); | |
12495 | if (PyErr_Occurred()) SWIG_fail; | |
12496 | } | |
12497 | Py_INCREF(Py_None); resultobj = Py_None; | |
12498 | return resultobj; | |
12499 | fail: | |
12500 | return NULL; | |
12501 | } | |
12502 | ||
12503 | ||
12504 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12505 | PyObject *resultobj; | |
12506 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12507 | int result; | |
12508 | PyObject * obj0 = 0 ; | |
12509 | char *kwnames[] = { | |
12510 | (char *) "self", NULL | |
12511 | }; | |
12512 | ||
12513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; | |
12514 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12515 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12516 | { | |
12517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12518 | result = (int)(arg1)->GetStatus(); | |
12519 | ||
12520 | wxPyEndAllowThreads(__tstate); | |
12521 | if (PyErr_Occurred()) SWIG_fail; | |
12522 | } | |
12523 | { | |
12524 | resultobj = SWIG_From_int((int)(result)); | |
12525 | } | |
12526 | return resultobj; | |
12527 | fail: | |
12528 | return NULL; | |
12529 | } | |
12530 | ||
12531 | ||
12532 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { | |
12533 | PyObject *resultobj; | |
12534 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12535 | bool arg2 ; | |
12536 | PyObject * obj0 = 0 ; | |
12537 | PyObject * obj1 = 0 ; | |
12538 | char *kwnames[] = { | |
12539 | (char *) "self",(char *) "captures", NULL | |
12540 | }; | |
12541 | ||
12542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; | |
12543 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12544 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12545 | { | |
12546 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
12547 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12548 | } | |
12549 | { | |
12550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12551 | (arg1)->SetMouseDownCaptures(arg2); | |
12552 | ||
12553 | wxPyEndAllowThreads(__tstate); | |
12554 | if (PyErr_Occurred()) SWIG_fail; | |
12555 | } | |
12556 | Py_INCREF(Py_None); resultobj = Py_None; | |
12557 | return resultobj; | |
12558 | fail: | |
12559 | return NULL; | |
12560 | } | |
12561 | ||
12562 | ||
12563 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { | |
12564 | PyObject *resultobj; | |
12565 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12566 | bool result; | |
12567 | PyObject * obj0 = 0 ; | |
12568 | char *kwnames[] = { | |
12569 | (char *) "self", NULL | |
12570 | }; | |
12571 | ||
12572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; | |
12573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12575 | { | |
12576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12577 | result = (bool)(arg1)->GetMouseDownCaptures(); | |
12578 | ||
12579 | wxPyEndAllowThreads(__tstate); | |
12580 | if (PyErr_Occurred()) SWIG_fail; | |
12581 | } | |
12582 | { | |
12583 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12584 | } | |
12585 | return resultobj; | |
12586 | fail: | |
12587 | return NULL; | |
12588 | } | |
12589 | ||
12590 | ||
12591 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { | |
12592 | PyObject *resultobj; | |
12593 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12594 | int arg2 ; | |
12595 | PyObject * obj0 = 0 ; | |
12596 | PyObject * obj1 = 0 ; | |
12597 | char *kwnames[] = { | |
12598 | (char *) "self",(char *) "cursorType", NULL | |
12599 | }; | |
12600 | ||
12601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; | |
12602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12604 | { | |
12605 | arg2 = (int)(SWIG_As_int(obj1)); | |
12606 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12607 | } | |
12608 | { | |
12609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12610 | (arg1)->SetSTCCursor(arg2); | |
12611 | ||
12612 | wxPyEndAllowThreads(__tstate); | |
12613 | if (PyErr_Occurred()) SWIG_fail; | |
12614 | } | |
12615 | Py_INCREF(Py_None); resultobj = Py_None; | |
12616 | return resultobj; | |
12617 | fail: | |
12618 | return NULL; | |
12619 | } | |
12620 | ||
12621 | ||
12622 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { | |
12623 | PyObject *resultobj; | |
12624 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12625 | int result; | |
12626 | PyObject * obj0 = 0 ; | |
12627 | char *kwnames[] = { | |
12628 | (char *) "self", NULL | |
12629 | }; | |
12630 | ||
12631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; | |
12632 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12633 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12634 | { | |
12635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12636 | result = (int)(arg1)->GetSTCCursor(); | |
12637 | ||
12638 | wxPyEndAllowThreads(__tstate); | |
12639 | if (PyErr_Occurred()) SWIG_fail; | |
12640 | } | |
12641 | { | |
12642 | resultobj = SWIG_From_int((int)(result)); | |
12643 | } | |
12644 | return resultobj; | |
12645 | fail: | |
12646 | return NULL; | |
12647 | } | |
12648 | ||
12649 | ||
12650 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { | |
12651 | PyObject *resultobj; | |
12652 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12653 | int arg2 ; | |
12654 | PyObject * obj0 = 0 ; | |
12655 | PyObject * obj1 = 0 ; | |
12656 | char *kwnames[] = { | |
12657 | (char *) "self",(char *) "symbol", NULL | |
12658 | }; | |
12659 | ||
12660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; | |
12661 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12662 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12663 | { | |
12664 | arg2 = (int)(SWIG_As_int(obj1)); | |
12665 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12666 | } | |
12667 | { | |
12668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12669 | (arg1)->SetControlCharSymbol(arg2); | |
12670 | ||
12671 | wxPyEndAllowThreads(__tstate); | |
12672 | if (PyErr_Occurred()) SWIG_fail; | |
12673 | } | |
12674 | Py_INCREF(Py_None); resultobj = Py_None; | |
12675 | return resultobj; | |
12676 | fail: | |
12677 | return NULL; | |
12678 | } | |
12679 | ||
12680 | ||
12681 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { | |
12682 | PyObject *resultobj; | |
12683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12684 | int result; | |
12685 | PyObject * obj0 = 0 ; | |
12686 | char *kwnames[] = { | |
12687 | (char *) "self", NULL | |
12688 | }; | |
12689 | ||
12690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; | |
12691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12693 | { | |
12694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12695 | result = (int)(arg1)->GetControlCharSymbol(); | |
12696 | ||
12697 | wxPyEndAllowThreads(__tstate); | |
12698 | if (PyErr_Occurred()) SWIG_fail; | |
12699 | } | |
12700 | { | |
12701 | resultobj = SWIG_From_int((int)(result)); | |
12702 | } | |
12703 | return resultobj; | |
12704 | fail: | |
12705 | return NULL; | |
12706 | } | |
12707 | ||
12708 | ||
12709 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
12710 | PyObject *resultobj; | |
12711 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12712 | PyObject * obj0 = 0 ; | |
12713 | char *kwnames[] = { | |
12714 | (char *) "self", NULL | |
12715 | }; | |
12716 | ||
12717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; | |
12718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12720 | { | |
12721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12722 | (arg1)->WordPartLeft(); | |
12723 | ||
12724 | wxPyEndAllowThreads(__tstate); | |
12725 | if (PyErr_Occurred()) SWIG_fail; | |
12726 | } | |
12727 | Py_INCREF(Py_None); resultobj = Py_None; | |
12728 | return resultobj; | |
12729 | fail: | |
12730 | return NULL; | |
12731 | } | |
12732 | ||
12733 | ||
12734 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
12735 | PyObject *resultobj; | |
12736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12737 | PyObject * obj0 = 0 ; | |
12738 | char *kwnames[] = { | |
12739 | (char *) "self", NULL | |
12740 | }; | |
12741 | ||
12742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; | |
12743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12745 | { | |
12746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12747 | (arg1)->WordPartLeftExtend(); | |
12748 | ||
12749 | wxPyEndAllowThreads(__tstate); | |
12750 | if (PyErr_Occurred()) SWIG_fail; | |
12751 | } | |
12752 | Py_INCREF(Py_None); resultobj = Py_None; | |
12753 | return resultobj; | |
12754 | fail: | |
12755 | return NULL; | |
12756 | } | |
12757 | ||
12758 | ||
12759 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
12760 | PyObject *resultobj; | |
12761 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12762 | PyObject * obj0 = 0 ; | |
12763 | char *kwnames[] = { | |
12764 | (char *) "self", NULL | |
12765 | }; | |
12766 | ||
12767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; | |
12768 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12769 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12770 | { | |
12771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12772 | (arg1)->WordPartRight(); | |
12773 | ||
12774 | wxPyEndAllowThreads(__tstate); | |
12775 | if (PyErr_Occurred()) SWIG_fail; | |
12776 | } | |
12777 | Py_INCREF(Py_None); resultobj = Py_None; | |
12778 | return resultobj; | |
12779 | fail: | |
12780 | return NULL; | |
12781 | } | |
12782 | ||
12783 | ||
12784 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
12785 | PyObject *resultobj; | |
12786 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12787 | PyObject * obj0 = 0 ; | |
12788 | char *kwnames[] = { | |
12789 | (char *) "self", NULL | |
12790 | }; | |
12791 | ||
12792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; | |
12793 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12794 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12795 | { | |
12796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12797 | (arg1)->WordPartRightExtend(); | |
12798 | ||
12799 | wxPyEndAllowThreads(__tstate); | |
12800 | if (PyErr_Occurred()) SWIG_fail; | |
12801 | } | |
12802 | Py_INCREF(Py_None); resultobj = Py_None; | |
12803 | return resultobj; | |
12804 | fail: | |
12805 | return NULL; | |
12806 | } | |
12807 | ||
12808 | ||
12809 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
12810 | PyObject *resultobj; | |
12811 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12812 | int arg2 ; | |
12813 | int arg3 ; | |
12814 | PyObject * obj0 = 0 ; | |
12815 | PyObject * obj1 = 0 ; | |
12816 | PyObject * obj2 = 0 ; | |
12817 | char *kwnames[] = { | |
12818 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL | |
12819 | }; | |
12820 | ||
12821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12822 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12823 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12824 | { | |
12825 | arg2 = (int)(SWIG_As_int(obj1)); | |
12826 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12827 | } | |
12828 | { | |
12829 | arg3 = (int)(SWIG_As_int(obj2)); | |
12830 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12831 | } | |
12832 | { | |
12833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12834 | (arg1)->SetVisiblePolicy(arg2,arg3); | |
12835 | ||
12836 | wxPyEndAllowThreads(__tstate); | |
12837 | if (PyErr_Occurred()) SWIG_fail; | |
12838 | } | |
12839 | Py_INCREF(Py_None); resultobj = Py_None; | |
12840 | return resultobj; | |
12841 | fail: | |
12842 | return NULL; | |
12843 | } | |
12844 | ||
12845 | ||
12846 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
12847 | PyObject *resultobj; | |
12848 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12849 | PyObject * obj0 = 0 ; | |
12850 | char *kwnames[] = { | |
12851 | (char *) "self", NULL | |
12852 | }; | |
12853 | ||
12854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; | |
12855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12857 | { | |
12858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12859 | (arg1)->DelLineLeft(); | |
12860 | ||
12861 | wxPyEndAllowThreads(__tstate); | |
12862 | if (PyErr_Occurred()) SWIG_fail; | |
12863 | } | |
12864 | Py_INCREF(Py_None); resultobj = Py_None; | |
12865 | return resultobj; | |
12866 | fail: | |
12867 | return NULL; | |
12868 | } | |
12869 | ||
12870 | ||
12871 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
12872 | PyObject *resultobj; | |
12873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12874 | PyObject * obj0 = 0 ; | |
12875 | char *kwnames[] = { | |
12876 | (char *) "self", NULL | |
12877 | }; | |
12878 | ||
12879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; | |
12880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12882 | { | |
12883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12884 | (arg1)->DelLineRight(); | |
12885 | ||
12886 | wxPyEndAllowThreads(__tstate); | |
12887 | if (PyErr_Occurred()) SWIG_fail; | |
12888 | } | |
12889 | Py_INCREF(Py_None); resultobj = Py_None; | |
12890 | return resultobj; | |
12891 | fail: | |
12892 | return NULL; | |
12893 | } | |
12894 | ||
12895 | ||
12896 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { | |
12897 | PyObject *resultobj; | |
12898 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12899 | int arg2 ; | |
12900 | PyObject * obj0 = 0 ; | |
12901 | PyObject * obj1 = 0 ; | |
12902 | char *kwnames[] = { | |
12903 | (char *) "self",(char *) "newOffset", NULL | |
12904 | }; | |
12905 | ||
12906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; | |
12907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12909 | { | |
12910 | arg2 = (int)(SWIG_As_int(obj1)); | |
12911 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12912 | } | |
12913 | { | |
12914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12915 | (arg1)->SetXOffset(arg2); | |
12916 | ||
12917 | wxPyEndAllowThreads(__tstate); | |
12918 | if (PyErr_Occurred()) SWIG_fail; | |
12919 | } | |
12920 | Py_INCREF(Py_None); resultobj = Py_None; | |
12921 | return resultobj; | |
12922 | fail: | |
12923 | return NULL; | |
12924 | } | |
12925 | ||
12926 | ||
12927 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { | |
12928 | PyObject *resultobj; | |
12929 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12930 | int result; | |
12931 | PyObject * obj0 = 0 ; | |
12932 | char *kwnames[] = { | |
12933 | (char *) "self", NULL | |
12934 | }; | |
12935 | ||
12936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; | |
12937 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12938 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12939 | { | |
12940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12941 | result = (int)(arg1)->GetXOffset(); | |
12942 | ||
12943 | wxPyEndAllowThreads(__tstate); | |
12944 | if (PyErr_Occurred()) SWIG_fail; | |
12945 | } | |
12946 | { | |
12947 | resultobj = SWIG_From_int((int)(result)); | |
12948 | } | |
12949 | return resultobj; | |
12950 | fail: | |
12951 | return NULL; | |
12952 | } | |
12953 | ||
12954 | ||
12955 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { | |
12956 | PyObject *resultobj; | |
12957 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12958 | PyObject * obj0 = 0 ; | |
12959 | char *kwnames[] = { | |
12960 | (char *) "self", NULL | |
12961 | }; | |
12962 | ||
12963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; | |
12964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12966 | { | |
12967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12968 | (arg1)->ChooseCaretX(); | |
12969 | ||
12970 | wxPyEndAllowThreads(__tstate); | |
12971 | if (PyErr_Occurred()) SWIG_fail; | |
12972 | } | |
12973 | Py_INCREF(Py_None); resultobj = Py_None; | |
12974 | return resultobj; | |
12975 | fail: | |
12976 | return NULL; | |
12977 | } | |
12978 | ||
12979 | ||
12980 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
12981 | PyObject *resultobj; | |
12982 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12983 | int arg2 ; | |
12984 | int arg3 ; | |
12985 | PyObject * obj0 = 0 ; | |
12986 | PyObject * obj1 = 0 ; | |
12987 | PyObject * obj2 = 0 ; | |
12988 | char *kwnames[] = { | |
12989 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
12990 | }; | |
12991 | ||
12992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12995 | { | |
12996 | arg2 = (int)(SWIG_As_int(obj1)); | |
12997 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12998 | } | |
12999 | { | |
13000 | arg3 = (int)(SWIG_As_int(obj2)); | |
13001 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13002 | } | |
13003 | { | |
13004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13005 | (arg1)->SetXCaretPolicy(arg2,arg3); | |
13006 | ||
13007 | wxPyEndAllowThreads(__tstate); | |
13008 | if (PyErr_Occurred()) SWIG_fail; | |
13009 | } | |
13010 | Py_INCREF(Py_None); resultobj = Py_None; | |
13011 | return resultobj; | |
13012 | fail: | |
13013 | return NULL; | |
13014 | } | |
13015 | ||
13016 | ||
13017 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
13018 | PyObject *resultobj; | |
13019 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13020 | int arg2 ; | |
13021 | int arg3 ; | |
13022 | PyObject * obj0 = 0 ; | |
13023 | PyObject * obj1 = 0 ; | |
13024 | PyObject * obj2 = 0 ; | |
13025 | char *kwnames[] = { | |
13026 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
13027 | }; | |
13028 | ||
13029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13030 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13031 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13032 | { | |
13033 | arg2 = (int)(SWIG_As_int(obj1)); | |
13034 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13035 | } | |
13036 | { | |
13037 | arg3 = (int)(SWIG_As_int(obj2)); | |
13038 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13039 | } | |
13040 | { | |
13041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13042 | (arg1)->SetYCaretPolicy(arg2,arg3); | |
13043 | ||
13044 | wxPyEndAllowThreads(__tstate); | |
13045 | if (PyErr_Occurred()) SWIG_fail; | |
13046 | } | |
13047 | Py_INCREF(Py_None); resultobj = Py_None; | |
13048 | return resultobj; | |
13049 | fail: | |
13050 | return NULL; | |
13051 | } | |
13052 | ||
13053 | ||
13054 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13055 | PyObject *resultobj; | |
13056 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13057 | int arg2 ; | |
13058 | PyObject * obj0 = 0 ; | |
13059 | PyObject * obj1 = 0 ; | |
13060 | char *kwnames[] = { | |
13061 | (char *) "self",(char *) "mode", NULL | |
13062 | }; | |
13063 | ||
13064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
13065 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13066 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13067 | { | |
13068 | arg2 = (int)(SWIG_As_int(obj1)); | |
13069 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13070 | } | |
13071 | { | |
13072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13073 | (arg1)->SetPrintWrapMode(arg2); | |
13074 | ||
13075 | wxPyEndAllowThreads(__tstate); | |
13076 | if (PyErr_Occurred()) SWIG_fail; | |
13077 | } | |
13078 | Py_INCREF(Py_None); resultobj = Py_None; | |
13079 | return resultobj; | |
13080 | fail: | |
13081 | return NULL; | |
13082 | } | |
13083 | ||
13084 | ||
13085 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13086 | PyObject *resultobj; | |
13087 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13088 | int result; | |
13089 | PyObject * obj0 = 0 ; | |
13090 | char *kwnames[] = { | |
13091 | (char *) "self", NULL | |
13092 | }; | |
13093 | ||
13094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; | |
13095 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13096 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13097 | { | |
13098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13099 | result = (int)(arg1)->GetPrintWrapMode(); | |
13100 | ||
13101 | wxPyEndAllowThreads(__tstate); | |
13102 | if (PyErr_Occurred()) SWIG_fail; | |
13103 | } | |
13104 | { | |
13105 | resultobj = SWIG_From_int((int)(result)); | |
13106 | } | |
13107 | return resultobj; | |
13108 | fail: | |
13109 | return NULL; | |
13110 | } | |
13111 | ||
13112 | ||
13113 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
13114 | PyObject *resultobj; | |
13115 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13116 | bool arg2 ; | |
13117 | wxColour *arg3 = 0 ; | |
13118 | wxColour temp3 ; | |
13119 | PyObject * obj0 = 0 ; | |
13120 | PyObject * obj1 = 0 ; | |
13121 | PyObject * obj2 = 0 ; | |
13122 | char *kwnames[] = { | |
13123 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
13124 | }; | |
13125 | ||
13126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13129 | { | |
13130 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13131 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13132 | } | |
13133 | { | |
13134 | arg3 = &temp3; | |
13135 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13136 | } | |
13137 | { | |
13138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13139 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); | |
13140 | ||
13141 | wxPyEndAllowThreads(__tstate); | |
13142 | if (PyErr_Occurred()) SWIG_fail; | |
13143 | } | |
13144 | Py_INCREF(Py_None); resultobj = Py_None; | |
13145 | return resultobj; | |
13146 | fail: | |
13147 | return NULL; | |
13148 | } | |
13149 | ||
13150 | ||
13151 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
13152 | PyObject *resultobj; | |
13153 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13154 | bool arg2 ; | |
13155 | wxColour *arg3 = 0 ; | |
13156 | wxColour temp3 ; | |
13157 | PyObject * obj0 = 0 ; | |
13158 | PyObject * obj1 = 0 ; | |
13159 | PyObject * obj2 = 0 ; | |
13160 | char *kwnames[] = { | |
13161 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
13162 | }; | |
13163 | ||
13164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13165 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13166 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13167 | { | |
13168 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13169 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13170 | } | |
13171 | { | |
13172 | arg3 = &temp3; | |
13173 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13174 | } | |
13175 | { | |
13176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13177 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); | |
13178 | ||
13179 | wxPyEndAllowThreads(__tstate); | |
13180 | if (PyErr_Occurred()) SWIG_fail; | |
13181 | } | |
13182 | Py_INCREF(Py_None); resultobj = Py_None; | |
13183 | return resultobj; | |
13184 | fail: | |
13185 | return NULL; | |
13186 | } | |
13187 | ||
13188 | ||
13189 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { | |
13190 | PyObject *resultobj; | |
13191 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13192 | bool arg2 ; | |
13193 | PyObject * obj0 = 0 ; | |
13194 | PyObject * obj1 = 0 ; | |
13195 | char *kwnames[] = { | |
13196 | (char *) "self",(char *) "underline", NULL | |
13197 | }; | |
13198 | ||
13199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; | |
13200 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13201 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13202 | { | |
13203 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13204 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13205 | } | |
13206 | { | |
13207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13208 | (arg1)->SetHotspotActiveUnderline(arg2); | |
13209 | ||
13210 | wxPyEndAllowThreads(__tstate); | |
13211 | if (PyErr_Occurred()) SWIG_fail; | |
13212 | } | |
13213 | Py_INCREF(Py_None); resultobj = Py_None; | |
13214 | return resultobj; | |
13215 | fail: | |
13216 | return NULL; | |
13217 | } | |
13218 | ||
13219 | ||
13220 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
13221 | PyObject *resultobj; | |
13222 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13223 | bool arg2 ; | |
13224 | PyObject * obj0 = 0 ; | |
13225 | PyObject * obj1 = 0 ; | |
13226 | char *kwnames[] = { | |
13227 | (char *) "self",(char *) "singleLine", NULL | |
13228 | }; | |
13229 | ||
13230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; | |
13231 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13232 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13233 | { | |
13234 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
13235 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13236 | } | |
13237 | { | |
13238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13239 | (arg1)->SetHotspotSingleLine(arg2); | |
13240 | ||
13241 | wxPyEndAllowThreads(__tstate); | |
13242 | if (PyErr_Occurred()) SWIG_fail; | |
13243 | } | |
13244 | Py_INCREF(Py_None); resultobj = Py_None; | |
13245 | return resultobj; | |
13246 | fail: | |
13247 | return NULL; | |
13248 | } | |
13249 | ||
13250 | ||
13251 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
13252 | PyObject *resultobj; | |
13253 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13254 | PyObject * obj0 = 0 ; | |
13255 | char *kwnames[] = { | |
13256 | (char *) "self", NULL | |
13257 | }; | |
13258 | ||
13259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; | |
13260 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13261 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13262 | { | |
13263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13264 | (arg1)->ParaDown(); | |
13265 | ||
13266 | wxPyEndAllowThreads(__tstate); | |
13267 | if (PyErr_Occurred()) SWIG_fail; | |
13268 | } | |
13269 | Py_INCREF(Py_None); resultobj = Py_None; | |
13270 | return resultobj; | |
13271 | fail: | |
13272 | return NULL; | |
13273 | } | |
13274 | ||
13275 | ||
13276 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13277 | PyObject *resultobj; | |
13278 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13279 | PyObject * obj0 = 0 ; | |
13280 | char *kwnames[] = { | |
13281 | (char *) "self", NULL | |
13282 | }; | |
13283 | ||
13284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; | |
13285 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13286 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13287 | { | |
13288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13289 | (arg1)->ParaDownExtend(); | |
13290 | ||
13291 | wxPyEndAllowThreads(__tstate); | |
13292 | if (PyErr_Occurred()) SWIG_fail; | |
13293 | } | |
13294 | Py_INCREF(Py_None); resultobj = Py_None; | |
13295 | return resultobj; | |
13296 | fail: | |
13297 | return NULL; | |
13298 | } | |
13299 | ||
13300 | ||
13301 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
13302 | PyObject *resultobj; | |
13303 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13304 | PyObject * obj0 = 0 ; | |
13305 | char *kwnames[] = { | |
13306 | (char *) "self", NULL | |
13307 | }; | |
13308 | ||
13309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; | |
13310 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13311 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13312 | { | |
13313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13314 | (arg1)->ParaUp(); | |
13315 | ||
13316 | wxPyEndAllowThreads(__tstate); | |
13317 | if (PyErr_Occurred()) SWIG_fail; | |
13318 | } | |
13319 | Py_INCREF(Py_None); resultobj = Py_None; | |
13320 | return resultobj; | |
13321 | fail: | |
13322 | return NULL; | |
13323 | } | |
13324 | ||
13325 | ||
13326 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13327 | PyObject *resultobj; | |
13328 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13329 | PyObject * obj0 = 0 ; | |
13330 | char *kwnames[] = { | |
13331 | (char *) "self", NULL | |
13332 | }; | |
13333 | ||
13334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; | |
13335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13337 | { | |
13338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13339 | (arg1)->ParaUpExtend(); | |
13340 | ||
13341 | wxPyEndAllowThreads(__tstate); | |
13342 | if (PyErr_Occurred()) SWIG_fail; | |
13343 | } | |
13344 | Py_INCREF(Py_None); resultobj = Py_None; | |
13345 | return resultobj; | |
13346 | fail: | |
13347 | return NULL; | |
13348 | } | |
13349 | ||
13350 | ||
13351 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { | |
13352 | PyObject *resultobj; | |
13353 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13354 | int arg2 ; | |
13355 | int result; | |
13356 | PyObject * obj0 = 0 ; | |
13357 | PyObject * obj1 = 0 ; | |
13358 | char *kwnames[] = { | |
13359 | (char *) "self",(char *) "pos", NULL | |
13360 | }; | |
13361 | ||
13362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; | |
13363 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13364 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13365 | { | |
13366 | arg2 = (int)(SWIG_As_int(obj1)); | |
13367 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13368 | } | |
13369 | { | |
13370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13371 | result = (int)(arg1)->PositionBefore(arg2); | |
13372 | ||
13373 | wxPyEndAllowThreads(__tstate); | |
13374 | if (PyErr_Occurred()) SWIG_fail; | |
13375 | } | |
13376 | { | |
13377 | resultobj = SWIG_From_int((int)(result)); | |
13378 | } | |
13379 | return resultobj; | |
13380 | fail: | |
13381 | return NULL; | |
13382 | } | |
13383 | ||
13384 | ||
13385 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { | |
13386 | PyObject *resultobj; | |
13387 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13388 | int arg2 ; | |
13389 | int result; | |
13390 | PyObject * obj0 = 0 ; | |
13391 | PyObject * obj1 = 0 ; | |
13392 | char *kwnames[] = { | |
13393 | (char *) "self",(char *) "pos", NULL | |
13394 | }; | |
13395 | ||
13396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; | |
13397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13399 | { | |
13400 | arg2 = (int)(SWIG_As_int(obj1)); | |
13401 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13402 | } | |
13403 | { | |
13404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13405 | result = (int)(arg1)->PositionAfter(arg2); | |
13406 | ||
13407 | wxPyEndAllowThreads(__tstate); | |
13408 | if (PyErr_Occurred()) SWIG_fail; | |
13409 | } | |
13410 | { | |
13411 | resultobj = SWIG_From_int((int)(result)); | |
13412 | } | |
13413 | return resultobj; | |
13414 | fail: | |
13415 | return NULL; | |
13416 | } | |
13417 | ||
13418 | ||
13419 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { | |
13420 | PyObject *resultobj; | |
13421 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13422 | int arg2 ; | |
13423 | int arg3 ; | |
13424 | PyObject * obj0 = 0 ; | |
13425 | PyObject * obj1 = 0 ; | |
13426 | PyObject * obj2 = 0 ; | |
13427 | char *kwnames[] = { | |
13428 | (char *) "self",(char *) "start",(char *) "end", NULL | |
13429 | }; | |
13430 | ||
13431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13432 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13433 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13434 | { | |
13435 | arg2 = (int)(SWIG_As_int(obj1)); | |
13436 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13437 | } | |
13438 | { | |
13439 | arg3 = (int)(SWIG_As_int(obj2)); | |
13440 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13441 | } | |
13442 | { | |
13443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13444 | (arg1)->CopyRange(arg2,arg3); | |
13445 | ||
13446 | wxPyEndAllowThreads(__tstate); | |
13447 | if (PyErr_Occurred()) SWIG_fail; | |
13448 | } | |
13449 | Py_INCREF(Py_None); resultobj = Py_None; | |
13450 | return resultobj; | |
13451 | fail: | |
13452 | return NULL; | |
13453 | } | |
13454 | ||
13455 | ||
13456 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { | |
13457 | PyObject *resultobj; | |
13458 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13459 | int arg2 ; | |
13460 | wxString *arg3 = 0 ; | |
13461 | bool temp3 = false ; | |
13462 | PyObject * obj0 = 0 ; | |
13463 | PyObject * obj1 = 0 ; | |
13464 | PyObject * obj2 = 0 ; | |
13465 | char *kwnames[] = { | |
13466 | (char *) "self",(char *) "length",(char *) "text", NULL | |
13467 | }; | |
13468 | ||
13469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13470 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13471 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13472 | { | |
13473 | arg2 = (int)(SWIG_As_int(obj1)); | |
13474 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13475 | } | |
13476 | { | |
13477 | arg3 = wxString_in_helper(obj2); | |
13478 | if (arg3 == NULL) SWIG_fail; | |
13479 | temp3 = true; | |
13480 | } | |
13481 | { | |
13482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13483 | (arg1)->CopyText(arg2,(wxString const &)*arg3); | |
13484 | ||
13485 | wxPyEndAllowThreads(__tstate); | |
13486 | if (PyErr_Occurred()) SWIG_fail; | |
13487 | } | |
13488 | Py_INCREF(Py_None); resultobj = Py_None; | |
13489 | { | |
13490 | if (temp3) | |
13491 | delete arg3; | |
13492 | } | |
13493 | return resultobj; | |
13494 | fail: | |
13495 | { | |
13496 | if (temp3) | |
13497 | delete arg3; | |
13498 | } | |
13499 | return NULL; | |
13500 | } | |
13501 | ||
13502 | ||
13503 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13504 | PyObject *resultobj; | |
13505 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13506 | int arg2 ; | |
13507 | PyObject * obj0 = 0 ; | |
13508 | PyObject * obj1 = 0 ; | |
13509 | char *kwnames[] = { | |
13510 | (char *) "self",(char *) "mode", NULL | |
13511 | }; | |
13512 | ||
13513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; | |
13514 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13515 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13516 | { | |
13517 | arg2 = (int)(SWIG_As_int(obj1)); | |
13518 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13519 | } | |
13520 | { | |
13521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13522 | (arg1)->SetSelectionMode(arg2); | |
13523 | ||
13524 | wxPyEndAllowThreads(__tstate); | |
13525 | if (PyErr_Occurred()) SWIG_fail; | |
13526 | } | |
13527 | Py_INCREF(Py_None); resultobj = Py_None; | |
13528 | return resultobj; | |
13529 | fail: | |
13530 | return NULL; | |
13531 | } | |
13532 | ||
13533 | ||
13534 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13535 | PyObject *resultobj; | |
13536 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13537 | int result; | |
13538 | PyObject * obj0 = 0 ; | |
13539 | char *kwnames[] = { | |
13540 | (char *) "self", NULL | |
13541 | }; | |
13542 | ||
13543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; | |
13544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13546 | { | |
13547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13548 | result = (int)(arg1)->GetSelectionMode(); | |
13549 | ||
13550 | wxPyEndAllowThreads(__tstate); | |
13551 | if (PyErr_Occurred()) SWIG_fail; | |
13552 | } | |
13553 | { | |
13554 | resultobj = SWIG_From_int((int)(result)); | |
13555 | } | |
13556 | return resultobj; | |
13557 | fail: | |
13558 | return NULL; | |
13559 | } | |
13560 | ||
13561 | ||
13562 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
13563 | PyObject *resultobj; | |
13564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13565 | int arg2 ; | |
13566 | int result; | |
13567 | PyObject * obj0 = 0 ; | |
13568 | PyObject * obj1 = 0 ; | |
13569 | char *kwnames[] = { | |
13570 | (char *) "self",(char *) "line", NULL | |
13571 | }; | |
13572 | ||
13573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; | |
13574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13576 | { | |
13577 | arg2 = (int)(SWIG_As_int(obj1)); | |
13578 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13579 | } | |
13580 | { | |
13581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13582 | result = (int)(arg1)->GetLineSelStartPosition(arg2); | |
13583 | ||
13584 | wxPyEndAllowThreads(__tstate); | |
13585 | if (PyErr_Occurred()) SWIG_fail; | |
13586 | } | |
13587 | { | |
13588 | resultobj = SWIG_From_int((int)(result)); | |
13589 | } | |
13590 | return resultobj; | |
13591 | fail: | |
13592 | return NULL; | |
13593 | } | |
13594 | ||
13595 | ||
13596 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
13597 | PyObject *resultobj; | |
13598 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13599 | int arg2 ; | |
13600 | int result; | |
13601 | PyObject * obj0 = 0 ; | |
13602 | PyObject * obj1 = 0 ; | |
13603 | char *kwnames[] = { | |
13604 | (char *) "self",(char *) "line", NULL | |
13605 | }; | |
13606 | ||
13607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
13608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13610 | { | |
13611 | arg2 = (int)(SWIG_As_int(obj1)); | |
13612 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13613 | } | |
13614 | { | |
13615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13616 | result = (int)(arg1)->GetLineSelEndPosition(arg2); | |
13617 | ||
13618 | wxPyEndAllowThreads(__tstate); | |
13619 | if (PyErr_Occurred()) SWIG_fail; | |
13620 | } | |
13621 | { | |
13622 | resultobj = SWIG_From_int((int)(result)); | |
13623 | } | |
13624 | return resultobj; | |
13625 | fail: | |
13626 | return NULL; | |
13627 | } | |
13628 | ||
13629 | ||
13630 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13631 | PyObject *resultobj; | |
13632 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13633 | PyObject * obj0 = 0 ; | |
13634 | char *kwnames[] = { | |
13635 | (char *) "self", NULL | |
13636 | }; | |
13637 | ||
13638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; | |
13639 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13640 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13641 | { | |
13642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13643 | (arg1)->LineDownRectExtend(); | |
13644 | ||
13645 | wxPyEndAllowThreads(__tstate); | |
13646 | if (PyErr_Occurred()) SWIG_fail; | |
13647 | } | |
13648 | Py_INCREF(Py_None); resultobj = Py_None; | |
13649 | return resultobj; | |
13650 | fail: | |
13651 | return NULL; | |
13652 | } | |
13653 | ||
13654 | ||
13655 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13656 | PyObject *resultobj; | |
13657 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13658 | PyObject * obj0 = 0 ; | |
13659 | char *kwnames[] = { | |
13660 | (char *) "self", NULL | |
13661 | }; | |
13662 | ||
13663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; | |
13664 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13665 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13666 | { | |
13667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13668 | (arg1)->LineUpRectExtend(); | |
13669 | ||
13670 | wxPyEndAllowThreads(__tstate); | |
13671 | if (PyErr_Occurred()) SWIG_fail; | |
13672 | } | |
13673 | Py_INCREF(Py_None); resultobj = Py_None; | |
13674 | return resultobj; | |
13675 | fail: | |
13676 | return NULL; | |
13677 | } | |
13678 | ||
13679 | ||
13680 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13681 | PyObject *resultobj; | |
13682 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13683 | PyObject * obj0 = 0 ; | |
13684 | char *kwnames[] = { | |
13685 | (char *) "self", NULL | |
13686 | }; | |
13687 | ||
13688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; | |
13689 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13690 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13691 | { | |
13692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13693 | (arg1)->CharLeftRectExtend(); | |
13694 | ||
13695 | wxPyEndAllowThreads(__tstate); | |
13696 | if (PyErr_Occurred()) SWIG_fail; | |
13697 | } | |
13698 | Py_INCREF(Py_None); resultobj = Py_None; | |
13699 | return resultobj; | |
13700 | fail: | |
13701 | return NULL; | |
13702 | } | |
13703 | ||
13704 | ||
13705 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13706 | PyObject *resultobj; | |
13707 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13708 | PyObject * obj0 = 0 ; | |
13709 | char *kwnames[] = { | |
13710 | (char *) "self", NULL | |
13711 | }; | |
13712 | ||
13713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; | |
13714 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13715 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13716 | { | |
13717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13718 | (arg1)->CharRightRectExtend(); | |
13719 | ||
13720 | wxPyEndAllowThreads(__tstate); | |
13721 | if (PyErr_Occurred()) SWIG_fail; | |
13722 | } | |
13723 | Py_INCREF(Py_None); resultobj = Py_None; | |
13724 | return resultobj; | |
13725 | fail: | |
13726 | return NULL; | |
13727 | } | |
13728 | ||
13729 | ||
13730 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13731 | PyObject *resultobj; | |
13732 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13733 | PyObject * obj0 = 0 ; | |
13734 | char *kwnames[] = { | |
13735 | (char *) "self", NULL | |
13736 | }; | |
13737 | ||
13738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; | |
13739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13741 | { | |
13742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13743 | (arg1)->HomeRectExtend(); | |
13744 | ||
13745 | wxPyEndAllowThreads(__tstate); | |
13746 | if (PyErr_Occurred()) SWIG_fail; | |
13747 | } | |
13748 | Py_INCREF(Py_None); resultobj = Py_None; | |
13749 | return resultobj; | |
13750 | fail: | |
13751 | return NULL; | |
13752 | } | |
13753 | ||
13754 | ||
13755 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13756 | PyObject *resultobj; | |
13757 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13758 | PyObject * obj0 = 0 ; | |
13759 | char *kwnames[] = { | |
13760 | (char *) "self", NULL | |
13761 | }; | |
13762 | ||
13763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; | |
13764 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13765 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13766 | { | |
13767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13768 | (arg1)->VCHomeRectExtend(); | |
13769 | ||
13770 | wxPyEndAllowThreads(__tstate); | |
13771 | if (PyErr_Occurred()) SWIG_fail; | |
13772 | } | |
13773 | Py_INCREF(Py_None); resultobj = Py_None; | |
13774 | return resultobj; | |
13775 | fail: | |
13776 | return NULL; | |
13777 | } | |
13778 | ||
13779 | ||
13780 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13781 | PyObject *resultobj; | |
13782 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13783 | PyObject * obj0 = 0 ; | |
13784 | char *kwnames[] = { | |
13785 | (char *) "self", NULL | |
13786 | }; | |
13787 | ||
13788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; | |
13789 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13790 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13791 | { | |
13792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13793 | (arg1)->LineEndRectExtend(); | |
13794 | ||
13795 | wxPyEndAllowThreads(__tstate); | |
13796 | if (PyErr_Occurred()) SWIG_fail; | |
13797 | } | |
13798 | Py_INCREF(Py_None); resultobj = Py_None; | |
13799 | return resultobj; | |
13800 | fail: | |
13801 | return NULL; | |
13802 | } | |
13803 | ||
13804 | ||
13805 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13806 | PyObject *resultobj; | |
13807 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13808 | PyObject * obj0 = 0 ; | |
13809 | char *kwnames[] = { | |
13810 | (char *) "self", NULL | |
13811 | }; | |
13812 | ||
13813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; | |
13814 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13815 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13816 | { | |
13817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13818 | (arg1)->PageUpRectExtend(); | |
13819 | ||
13820 | wxPyEndAllowThreads(__tstate); | |
13821 | if (PyErr_Occurred()) SWIG_fail; | |
13822 | } | |
13823 | Py_INCREF(Py_None); resultobj = Py_None; | |
13824 | return resultobj; | |
13825 | fail: | |
13826 | return NULL; | |
13827 | } | |
13828 | ||
13829 | ||
13830 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13831 | PyObject *resultobj; | |
13832 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13833 | PyObject * obj0 = 0 ; | |
13834 | char *kwnames[] = { | |
13835 | (char *) "self", NULL | |
13836 | }; | |
13837 | ||
13838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; | |
13839 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13840 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13841 | { | |
13842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13843 | (arg1)->PageDownRectExtend(); | |
13844 | ||
13845 | wxPyEndAllowThreads(__tstate); | |
13846 | if (PyErr_Occurred()) SWIG_fail; | |
13847 | } | |
13848 | Py_INCREF(Py_None); resultobj = Py_None; | |
13849 | return resultobj; | |
13850 | fail: | |
13851 | return NULL; | |
13852 | } | |
13853 | ||
13854 | ||
13855 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
13856 | PyObject *resultobj; | |
13857 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13858 | PyObject * obj0 = 0 ; | |
13859 | char *kwnames[] = { | |
13860 | (char *) "self", NULL | |
13861 | }; | |
13862 | ||
13863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; | |
13864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13866 | { | |
13867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13868 | (arg1)->StutteredPageUp(); | |
13869 | ||
13870 | wxPyEndAllowThreads(__tstate); | |
13871 | if (PyErr_Occurred()) SWIG_fail; | |
13872 | } | |
13873 | Py_INCREF(Py_None); resultobj = Py_None; | |
13874 | return resultobj; | |
13875 | fail: | |
13876 | return NULL; | |
13877 | } | |
13878 | ||
13879 | ||
13880 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13881 | PyObject *resultobj; | |
13882 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13883 | PyObject * obj0 = 0 ; | |
13884 | char *kwnames[] = { | |
13885 | (char *) "self", NULL | |
13886 | }; | |
13887 | ||
13888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; | |
13889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13891 | { | |
13892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13893 | (arg1)->StutteredPageUpExtend(); | |
13894 | ||
13895 | wxPyEndAllowThreads(__tstate); | |
13896 | if (PyErr_Occurred()) SWIG_fail; | |
13897 | } | |
13898 | Py_INCREF(Py_None); resultobj = Py_None; | |
13899 | return resultobj; | |
13900 | fail: | |
13901 | return NULL; | |
13902 | } | |
13903 | ||
13904 | ||
13905 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
13906 | PyObject *resultobj; | |
13907 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13908 | PyObject * obj0 = 0 ; | |
13909 | char *kwnames[] = { | |
13910 | (char *) "self", NULL | |
13911 | }; | |
13912 | ||
13913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; | |
13914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13916 | { | |
13917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13918 | (arg1)->StutteredPageDown(); | |
13919 | ||
13920 | wxPyEndAllowThreads(__tstate); | |
13921 | if (PyErr_Occurred()) SWIG_fail; | |
13922 | } | |
13923 | Py_INCREF(Py_None); resultobj = Py_None; | |
13924 | return resultobj; | |
13925 | fail: | |
13926 | return NULL; | |
13927 | } | |
13928 | ||
13929 | ||
13930 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13931 | PyObject *resultobj; | |
13932 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13933 | PyObject * obj0 = 0 ; | |
13934 | char *kwnames[] = { | |
13935 | (char *) "self", NULL | |
13936 | }; | |
13937 | ||
13938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; | |
13939 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13940 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13941 | { | |
13942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13943 | (arg1)->StutteredPageDownExtend(); | |
13944 | ||
13945 | wxPyEndAllowThreads(__tstate); | |
13946 | if (PyErr_Occurred()) SWIG_fail; | |
13947 | } | |
13948 | Py_INCREF(Py_None); resultobj = Py_None; | |
13949 | return resultobj; | |
13950 | fail: | |
13951 | return NULL; | |
13952 | } | |
13953 | ||
13954 | ||
13955 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
13956 | PyObject *resultobj; | |
13957 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13958 | PyObject * obj0 = 0 ; | |
13959 | char *kwnames[] = { | |
13960 | (char *) "self", NULL | |
13961 | }; | |
13962 | ||
13963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; | |
13964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13966 | { | |
13967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13968 | (arg1)->WordLeftEnd(); | |
13969 | ||
13970 | wxPyEndAllowThreads(__tstate); | |
13971 | if (PyErr_Occurred()) SWIG_fail; | |
13972 | } | |
13973 | Py_INCREF(Py_None); resultobj = Py_None; | |
13974 | return resultobj; | |
13975 | fail: | |
13976 | return NULL; | |
13977 | } | |
13978 | ||
13979 | ||
13980 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13981 | PyObject *resultobj; | |
13982 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13983 | PyObject * obj0 = 0 ; | |
13984 | char *kwnames[] = { | |
13985 | (char *) "self", NULL | |
13986 | }; | |
13987 | ||
13988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; | |
13989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13990 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13991 | { | |
13992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13993 | (arg1)->WordLeftEndExtend(); | |
13994 | ||
13995 | wxPyEndAllowThreads(__tstate); | |
13996 | if (PyErr_Occurred()) SWIG_fail; | |
13997 | } | |
13998 | Py_INCREF(Py_None); resultobj = Py_None; | |
13999 | return resultobj; | |
14000 | fail: | |
14001 | return NULL; | |
14002 | } | |
14003 | ||
14004 | ||
14005 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
14006 | PyObject *resultobj; | |
14007 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14008 | PyObject * obj0 = 0 ; | |
14009 | char *kwnames[] = { | |
14010 | (char *) "self", NULL | |
14011 | }; | |
14012 | ||
14013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; | |
14014 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14015 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14016 | { | |
14017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14018 | (arg1)->WordRightEnd(); | |
14019 | ||
14020 | wxPyEndAllowThreads(__tstate); | |
14021 | if (PyErr_Occurred()) SWIG_fail; | |
14022 | } | |
14023 | Py_INCREF(Py_None); resultobj = Py_None; | |
14024 | return resultobj; | |
14025 | fail: | |
14026 | return NULL; | |
14027 | } | |
14028 | ||
14029 | ||
14030 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
14031 | PyObject *resultobj; | |
14032 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14033 | PyObject * obj0 = 0 ; | |
14034 | char *kwnames[] = { | |
14035 | (char *) "self", NULL | |
14036 | }; | |
14037 | ||
14038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; | |
14039 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14040 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14041 | { | |
14042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14043 | (arg1)->WordRightEndExtend(); | |
14044 | ||
14045 | wxPyEndAllowThreads(__tstate); | |
14046 | if (PyErr_Occurred()) SWIG_fail; | |
14047 | } | |
14048 | Py_INCREF(Py_None); resultobj = Py_None; | |
14049 | return resultobj; | |
14050 | fail: | |
14051 | return NULL; | |
14052 | } | |
14053 | ||
14054 | ||
14055 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { | |
14056 | PyObject *resultobj; | |
14057 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14058 | wxString *arg2 = 0 ; | |
14059 | bool temp2 = false ; | |
14060 | PyObject * obj0 = 0 ; | |
14061 | PyObject * obj1 = 0 ; | |
14062 | char *kwnames[] = { | |
14063 | (char *) "self",(char *) "characters", NULL | |
14064 | }; | |
14065 | ||
14066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; | |
14067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14069 | { | |
14070 | arg2 = wxString_in_helper(obj1); | |
14071 | if (arg2 == NULL) SWIG_fail; | |
14072 | temp2 = true; | |
14073 | } | |
14074 | { | |
14075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14076 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); | |
14077 | ||
14078 | wxPyEndAllowThreads(__tstate); | |
14079 | if (PyErr_Occurred()) SWIG_fail; | |
14080 | } | |
14081 | Py_INCREF(Py_None); resultobj = Py_None; | |
14082 | { | |
14083 | if (temp2) | |
14084 | delete arg2; | |
14085 | } | |
14086 | return resultobj; | |
14087 | fail: | |
14088 | { | |
14089 | if (temp2) | |
14090 | delete arg2; | |
14091 | } | |
14092 | return NULL; | |
14093 | } | |
14094 | ||
14095 | ||
14096 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { | |
14097 | PyObject *resultobj; | |
14098 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14099 | PyObject * obj0 = 0 ; | |
14100 | char *kwnames[] = { | |
14101 | (char *) "self", NULL | |
14102 | }; | |
14103 | ||
14104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; | |
14105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14107 | { | |
14108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14109 | (arg1)->SetCharsDefault(); | |
14110 | ||
14111 | wxPyEndAllowThreads(__tstate); | |
14112 | if (PyErr_Occurred()) SWIG_fail; | |
14113 | } | |
14114 | Py_INCREF(Py_None); resultobj = Py_None; | |
14115 | return resultobj; | |
14116 | fail: | |
14117 | return NULL; | |
14118 | } | |
14119 | ||
14120 | ||
14121 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { | |
14122 | PyObject *resultobj; | |
14123 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14124 | int result; | |
14125 | PyObject * obj0 = 0 ; | |
14126 | char *kwnames[] = { | |
14127 | (char *) "self", NULL | |
14128 | }; | |
14129 | ||
14130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; | |
14131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14133 | { | |
14134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14135 | result = (int)(arg1)->AutoCompGetCurrent(); | |
14136 | ||
14137 | wxPyEndAllowThreads(__tstate); | |
14138 | if (PyErr_Occurred()) SWIG_fail; | |
14139 | } | |
14140 | { | |
14141 | resultobj = SWIG_From_int((int)(result)); | |
14142 | } | |
14143 | return resultobj; | |
14144 | fail: | |
14145 | return NULL; | |
14146 | } | |
14147 | ||
14148 | ||
14149 | static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { | |
14150 | PyObject *resultobj; | |
14151 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14152 | int arg2 ; | |
14153 | PyObject * obj0 = 0 ; | |
14154 | PyObject * obj1 = 0 ; | |
14155 | char *kwnames[] = { | |
14156 | (char *) "self",(char *) "bytes", NULL | |
14157 | }; | |
14158 | ||
14159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail; | |
14160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14162 | { | |
14163 | arg2 = (int)(SWIG_As_int(obj1)); | |
14164 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14165 | } | |
14166 | { | |
14167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14168 | (arg1)->Allocate(arg2); | |
14169 | ||
14170 | wxPyEndAllowThreads(__tstate); | |
14171 | if (PyErr_Occurred()) SWIG_fail; | |
14172 | } | |
14173 | Py_INCREF(Py_None); resultobj = Py_None; | |
14174 | return resultobj; | |
14175 | fail: | |
14176 | return NULL; | |
14177 | } | |
14178 | ||
14179 | ||
14180 | static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
14181 | PyObject *resultobj; | |
14182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14183 | int arg2 ; | |
14184 | int arg3 ; | |
14185 | int result; | |
14186 | PyObject * obj0 = 0 ; | |
14187 | PyObject * obj1 = 0 ; | |
14188 | PyObject * obj2 = 0 ; | |
14189 | char *kwnames[] = { | |
14190 | (char *) "self",(char *) "line",(char *) "column", NULL | |
14191 | }; | |
14192 | ||
14193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14196 | { | |
14197 | arg2 = (int)(SWIG_As_int(obj1)); | |
14198 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14199 | } | |
14200 | { | |
14201 | arg3 = (int)(SWIG_As_int(obj2)); | |
14202 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14203 | } | |
14204 | { | |
14205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14206 | result = (int)(arg1)->FindColumn(arg2,arg3); | |
14207 | ||
14208 | wxPyEndAllowThreads(__tstate); | |
14209 | if (PyErr_Occurred()) SWIG_fail; | |
14210 | } | |
14211 | { | |
14212 | resultobj = SWIG_From_int((int)(result)); | |
14213 | } | |
14214 | return resultobj; | |
14215 | fail: | |
14216 | return NULL; | |
14217 | } | |
14218 | ||
14219 | ||
14220 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { | |
14221 | PyObject *resultobj; | |
14222 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14223 | PyObject * obj0 = 0 ; | |
14224 | char *kwnames[] = { | |
14225 | (char *) "self", NULL | |
14226 | }; | |
14227 | ||
14228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; | |
14229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14231 | { | |
14232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14233 | (arg1)->StartRecord(); | |
14234 | ||
14235 | wxPyEndAllowThreads(__tstate); | |
14236 | if (PyErr_Occurred()) SWIG_fail; | |
14237 | } | |
14238 | Py_INCREF(Py_None); resultobj = Py_None; | |
14239 | return resultobj; | |
14240 | fail: | |
14241 | return NULL; | |
14242 | } | |
14243 | ||
14244 | ||
14245 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { | |
14246 | PyObject *resultobj; | |
14247 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14248 | PyObject * obj0 = 0 ; | |
14249 | char *kwnames[] = { | |
14250 | (char *) "self", NULL | |
14251 | }; | |
14252 | ||
14253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; | |
14254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14256 | { | |
14257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14258 | (arg1)->StopRecord(); | |
14259 | ||
14260 | wxPyEndAllowThreads(__tstate); | |
14261 | if (PyErr_Occurred()) SWIG_fail; | |
14262 | } | |
14263 | Py_INCREF(Py_None); resultobj = Py_None; | |
14264 | return resultobj; | |
14265 | fail: | |
14266 | return NULL; | |
14267 | } | |
14268 | ||
14269 | ||
14270 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { | |
14271 | PyObject *resultobj; | |
14272 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14273 | int arg2 ; | |
14274 | PyObject * obj0 = 0 ; | |
14275 | PyObject * obj1 = 0 ; | |
14276 | char *kwnames[] = { | |
14277 | (char *) "self",(char *) "lexer", NULL | |
14278 | }; | |
14279 | ||
14280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; | |
14281 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14282 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14283 | { | |
14284 | arg2 = (int)(SWIG_As_int(obj1)); | |
14285 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14286 | } | |
14287 | { | |
14288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14289 | (arg1)->SetLexer(arg2); | |
14290 | ||
14291 | wxPyEndAllowThreads(__tstate); | |
14292 | if (PyErr_Occurred()) SWIG_fail; | |
14293 | } | |
14294 | Py_INCREF(Py_None); resultobj = Py_None; | |
14295 | return resultobj; | |
14296 | fail: | |
14297 | return NULL; | |
14298 | } | |
14299 | ||
14300 | ||
14301 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { | |
14302 | PyObject *resultobj; | |
14303 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14304 | int result; | |
14305 | PyObject * obj0 = 0 ; | |
14306 | char *kwnames[] = { | |
14307 | (char *) "self", NULL | |
14308 | }; | |
14309 | ||
14310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; | |
14311 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14312 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14313 | { | |
14314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14315 | result = (int)(arg1)->GetLexer(); | |
14316 | ||
14317 | wxPyEndAllowThreads(__tstate); | |
14318 | if (PyErr_Occurred()) SWIG_fail; | |
14319 | } | |
14320 | { | |
14321 | resultobj = SWIG_From_int((int)(result)); | |
14322 | } | |
14323 | return resultobj; | |
14324 | fail: | |
14325 | return NULL; | |
14326 | } | |
14327 | ||
14328 | ||
14329 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { | |
14330 | PyObject *resultobj; | |
14331 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14332 | int arg2 ; | |
14333 | int arg3 ; | |
14334 | PyObject * obj0 = 0 ; | |
14335 | PyObject * obj1 = 0 ; | |
14336 | PyObject * obj2 = 0 ; | |
14337 | char *kwnames[] = { | |
14338 | (char *) "self",(char *) "start",(char *) "end", NULL | |
14339 | }; | |
14340 | ||
14341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14344 | { | |
14345 | arg2 = (int)(SWIG_As_int(obj1)); | |
14346 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14347 | } | |
14348 | { | |
14349 | arg3 = (int)(SWIG_As_int(obj2)); | |
14350 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14351 | } | |
14352 | { | |
14353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14354 | (arg1)->Colourise(arg2,arg3); | |
14355 | ||
14356 | wxPyEndAllowThreads(__tstate); | |
14357 | if (PyErr_Occurred()) SWIG_fail; | |
14358 | } | |
14359 | Py_INCREF(Py_None); resultobj = Py_None; | |
14360 | return resultobj; | |
14361 | fail: | |
14362 | return NULL; | |
14363 | } | |
14364 | ||
14365 | ||
14366 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { | |
14367 | PyObject *resultobj; | |
14368 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14369 | wxString *arg2 = 0 ; | |
14370 | wxString *arg3 = 0 ; | |
14371 | bool temp2 = false ; | |
14372 | bool temp3 = false ; | |
14373 | PyObject * obj0 = 0 ; | |
14374 | PyObject * obj1 = 0 ; | |
14375 | PyObject * obj2 = 0 ; | |
14376 | char *kwnames[] = { | |
14377 | (char *) "self",(char *) "key",(char *) "value", NULL | |
14378 | }; | |
14379 | ||
14380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14383 | { | |
14384 | arg2 = wxString_in_helper(obj1); | |
14385 | if (arg2 == NULL) SWIG_fail; | |
14386 | temp2 = true; | |
14387 | } | |
14388 | { | |
14389 | arg3 = wxString_in_helper(obj2); | |
14390 | if (arg3 == NULL) SWIG_fail; | |
14391 | temp3 = true; | |
14392 | } | |
14393 | { | |
14394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14395 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); | |
14396 | ||
14397 | wxPyEndAllowThreads(__tstate); | |
14398 | if (PyErr_Occurred()) SWIG_fail; | |
14399 | } | |
14400 | Py_INCREF(Py_None); resultobj = Py_None; | |
14401 | { | |
14402 | if (temp2) | |
14403 | delete arg2; | |
14404 | } | |
14405 | { | |
14406 | if (temp3) | |
14407 | delete arg3; | |
14408 | } | |
14409 | return resultobj; | |
14410 | fail: | |
14411 | { | |
14412 | if (temp2) | |
14413 | delete arg2; | |
14414 | } | |
14415 | { | |
14416 | if (temp3) | |
14417 | delete arg3; | |
14418 | } | |
14419 | return NULL; | |
14420 | } | |
14421 | ||
14422 | ||
14423 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { | |
14424 | PyObject *resultobj; | |
14425 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14426 | int arg2 ; | |
14427 | wxString *arg3 = 0 ; | |
14428 | bool temp3 = false ; | |
14429 | PyObject * obj0 = 0 ; | |
14430 | PyObject * obj1 = 0 ; | |
14431 | PyObject * obj2 = 0 ; | |
14432 | char *kwnames[] = { | |
14433 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL | |
14434 | }; | |
14435 | ||
14436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14439 | { | |
14440 | arg2 = (int)(SWIG_As_int(obj1)); | |
14441 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14442 | } | |
14443 | { | |
14444 | arg3 = wxString_in_helper(obj2); | |
14445 | if (arg3 == NULL) SWIG_fail; | |
14446 | temp3 = true; | |
14447 | } | |
14448 | { | |
14449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14450 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); | |
14451 | ||
14452 | wxPyEndAllowThreads(__tstate); | |
14453 | if (PyErr_Occurred()) SWIG_fail; | |
14454 | } | |
14455 | Py_INCREF(Py_None); resultobj = Py_None; | |
14456 | { | |
14457 | if (temp3) | |
14458 | delete arg3; | |
14459 | } | |
14460 | return resultobj; | |
14461 | fail: | |
14462 | { | |
14463 | if (temp3) | |
14464 | delete arg3; | |
14465 | } | |
14466 | return NULL; | |
14467 | } | |
14468 | ||
14469 | ||
14470 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { | |
14471 | PyObject *resultobj; | |
14472 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14473 | wxString *arg2 = 0 ; | |
14474 | bool temp2 = false ; | |
14475 | PyObject * obj0 = 0 ; | |
14476 | PyObject * obj1 = 0 ; | |
14477 | char *kwnames[] = { | |
14478 | (char *) "self",(char *) "language", NULL | |
14479 | }; | |
14480 | ||
14481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; | |
14482 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14483 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14484 | { | |
14485 | arg2 = wxString_in_helper(obj1); | |
14486 | if (arg2 == NULL) SWIG_fail; | |
14487 | temp2 = true; | |
14488 | } | |
14489 | { | |
14490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14491 | (arg1)->SetLexerLanguage((wxString const &)*arg2); | |
14492 | ||
14493 | wxPyEndAllowThreads(__tstate); | |
14494 | if (PyErr_Occurred()) SWIG_fail; | |
14495 | } | |
14496 | Py_INCREF(Py_None); resultobj = Py_None; | |
14497 | { | |
14498 | if (temp2) | |
14499 | delete arg2; | |
14500 | } | |
14501 | return resultobj; | |
14502 | fail: | |
14503 | { | |
14504 | if (temp2) | |
14505 | delete arg2; | |
14506 | } | |
14507 | return NULL; | |
14508 | } | |
14509 | ||
14510 | ||
14511 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
14512 | PyObject *resultobj; | |
14513 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14514 | int result; | |
14515 | PyObject * obj0 = 0 ; | |
14516 | char *kwnames[] = { | |
14517 | (char *) "self", NULL | |
14518 | }; | |
14519 | ||
14520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; | |
14521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14523 | { | |
14524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14525 | result = (int)(arg1)->GetCurrentLine(); | |
14526 | ||
14527 | wxPyEndAllowThreads(__tstate); | |
14528 | if (PyErr_Occurred()) SWIG_fail; | |
14529 | } | |
14530 | { | |
14531 | resultobj = SWIG_From_int((int)(result)); | |
14532 | } | |
14533 | return resultobj; | |
14534 | fail: | |
14535 | return NULL; | |
14536 | } | |
14537 | ||
14538 | ||
14539 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { | |
14540 | PyObject *resultobj; | |
14541 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14542 | int arg2 ; | |
14543 | wxString *arg3 = 0 ; | |
14544 | bool temp3 = false ; | |
14545 | PyObject * obj0 = 0 ; | |
14546 | PyObject * obj1 = 0 ; | |
14547 | PyObject * obj2 = 0 ; | |
14548 | char *kwnames[] = { | |
14549 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL | |
14550 | }; | |
14551 | ||
14552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14553 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14554 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14555 | { | |
14556 | arg2 = (int)(SWIG_As_int(obj1)); | |
14557 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14558 | } | |
14559 | { | |
14560 | arg3 = wxString_in_helper(obj2); | |
14561 | if (arg3 == NULL) SWIG_fail; | |
14562 | temp3 = true; | |
14563 | } | |
14564 | { | |
14565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14566 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); | |
14567 | ||
14568 | wxPyEndAllowThreads(__tstate); | |
14569 | if (PyErr_Occurred()) SWIG_fail; | |
14570 | } | |
14571 | Py_INCREF(Py_None); resultobj = Py_None; | |
14572 | { | |
14573 | if (temp3) | |
14574 | delete arg3; | |
14575 | } | |
14576 | return resultobj; | |
14577 | fail: | |
14578 | { | |
14579 | if (temp3) | |
14580 | delete arg3; | |
14581 | } | |
14582 | return NULL; | |
14583 | } | |
14584 | ||
14585 | ||
14586 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { | |
14587 | PyObject *resultobj; | |
14588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14589 | int arg2 ; | |
14590 | wxFont *arg3 = 0 ; | |
14591 | PyObject * obj0 = 0 ; | |
14592 | PyObject * obj1 = 0 ; | |
14593 | PyObject * obj2 = 0 ; | |
14594 | char *kwnames[] = { | |
14595 | (char *) "self",(char *) "styleNum",(char *) "font", NULL | |
14596 | }; | |
14597 | ||
14598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14599 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14600 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14601 | { | |
14602 | arg2 = (int)(SWIG_As_int(obj1)); | |
14603 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14604 | } | |
14605 | { | |
14606 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
14607 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14608 | if (arg3 == NULL) { | |
14609 | SWIG_null_ref("wxFont"); | |
14610 | } | |
14611 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14612 | } | |
14613 | { | |
14614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14615 | (arg1)->StyleSetFont(arg2,*arg3); | |
14616 | ||
14617 | wxPyEndAllowThreads(__tstate); | |
14618 | if (PyErr_Occurred()) SWIG_fail; | |
14619 | } | |
14620 | Py_INCREF(Py_None); resultobj = Py_None; | |
14621 | return resultobj; | |
14622 | fail: | |
14623 | return NULL; | |
14624 | } | |
14625 | ||
14626 | ||
14627 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { | |
14628 | PyObject *resultobj; | |
14629 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14630 | int arg2 ; | |
14631 | int arg3 ; | |
14632 | wxString *arg4 = 0 ; | |
14633 | bool arg5 ; | |
14634 | bool arg6 ; | |
14635 | bool arg7 ; | |
14636 | bool temp4 = false ; | |
14637 | PyObject * obj0 = 0 ; | |
14638 | PyObject * obj1 = 0 ; | |
14639 | PyObject * obj2 = 0 ; | |
14640 | PyObject * obj3 = 0 ; | |
14641 | PyObject * obj4 = 0 ; | |
14642 | PyObject * obj5 = 0 ; | |
14643 | PyObject * obj6 = 0 ; | |
14644 | char *kwnames[] = { | |
14645 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL | |
14646 | }; | |
14647 | ||
14648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
14649 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14650 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14651 | { | |
14652 | arg2 = (int)(SWIG_As_int(obj1)); | |
14653 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14654 | } | |
14655 | { | |
14656 | arg3 = (int)(SWIG_As_int(obj2)); | |
14657 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14658 | } | |
14659 | { | |
14660 | arg4 = wxString_in_helper(obj3); | |
14661 | if (arg4 == NULL) SWIG_fail; | |
14662 | temp4 = true; | |
14663 | } | |
14664 | { | |
14665 | arg5 = (bool)(SWIG_As_bool(obj4)); | |
14666 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14667 | } | |
14668 | { | |
14669 | arg6 = (bool)(SWIG_As_bool(obj5)); | |
14670 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14671 | } | |
14672 | { | |
14673 | arg7 = (bool)(SWIG_As_bool(obj6)); | |
14674 | if (SWIG_arg_fail(7)) SWIG_fail; | |
14675 | } | |
14676 | { | |
14677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14678 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
14679 | ||
14680 | wxPyEndAllowThreads(__tstate); | |
14681 | if (PyErr_Occurred()) SWIG_fail; | |
14682 | } | |
14683 | Py_INCREF(Py_None); resultobj = Py_None; | |
14684 | { | |
14685 | if (temp4) | |
14686 | delete arg4; | |
14687 | } | |
14688 | return resultobj; | |
14689 | fail: | |
14690 | { | |
14691 | if (temp4) | |
14692 | delete arg4; | |
14693 | } | |
14694 | return NULL; | |
14695 | } | |
14696 | ||
14697 | ||
14698 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { | |
14699 | PyObject *resultobj; | |
14700 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14701 | int arg2 ; | |
14702 | PyObject * obj0 = 0 ; | |
14703 | PyObject * obj1 = 0 ; | |
14704 | char *kwnames[] = { | |
14705 | (char *) "self",(char *) "cmd", NULL | |
14706 | }; | |
14707 | ||
14708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; | |
14709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14711 | { | |
14712 | arg2 = (int)(SWIG_As_int(obj1)); | |
14713 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14714 | } | |
14715 | { | |
14716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14717 | (arg1)->CmdKeyExecute(arg2); | |
14718 | ||
14719 | wxPyEndAllowThreads(__tstate); | |
14720 | if (PyErr_Occurred()) SWIG_fail; | |
14721 | } | |
14722 | Py_INCREF(Py_None); resultobj = Py_None; | |
14723 | return resultobj; | |
14724 | fail: | |
14725 | return NULL; | |
14726 | } | |
14727 | ||
14728 | ||
14729 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { | |
14730 | PyObject *resultobj; | |
14731 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14732 | int arg2 ; | |
14733 | int arg3 ; | |
14734 | PyObject * obj0 = 0 ; | |
14735 | PyObject * obj1 = 0 ; | |
14736 | PyObject * obj2 = 0 ; | |
14737 | char *kwnames[] = { | |
14738 | (char *) "self",(char *) "left",(char *) "right", NULL | |
14739 | }; | |
14740 | ||
14741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14742 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14743 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14744 | { | |
14745 | arg2 = (int)(SWIG_As_int(obj1)); | |
14746 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14747 | } | |
14748 | { | |
14749 | arg3 = (int)(SWIG_As_int(obj2)); | |
14750 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14751 | } | |
14752 | { | |
14753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14754 | (arg1)->SetMargins(arg2,arg3); | |
14755 | ||
14756 | wxPyEndAllowThreads(__tstate); | |
14757 | if (PyErr_Occurred()) SWIG_fail; | |
14758 | } | |
14759 | Py_INCREF(Py_None); resultobj = Py_None; | |
14760 | return resultobj; | |
14761 | fail: | |
14762 | return NULL; | |
14763 | } | |
14764 | ||
14765 | ||
14766 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
14767 | PyObject *resultobj; | |
14768 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14769 | int *arg2 = (int *) 0 ; | |
14770 | int *arg3 = (int *) 0 ; | |
14771 | int temp2 ; | |
14772 | int res2 = 0 ; | |
14773 | int temp3 ; | |
14774 | int res3 = 0 ; | |
14775 | PyObject * obj0 = 0 ; | |
14776 | char *kwnames[] = { | |
14777 | (char *) "self", NULL | |
14778 | }; | |
14779 | ||
14780 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
14781 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
14782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
14783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14785 | { | |
14786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14787 | (arg1)->GetSelection(arg2,arg3); | |
14788 | ||
14789 | wxPyEndAllowThreads(__tstate); | |
14790 | if (PyErr_Occurred()) SWIG_fail; | |
14791 | } | |
14792 | Py_INCREF(Py_None); resultobj = Py_None; | |
14793 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
14794 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
14795 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
14796 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
14797 | return resultobj; | |
14798 | fail: | |
14799 | return NULL; | |
14800 | } | |
14801 | ||
14802 | ||
14803 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
14804 | PyObject *resultobj; | |
14805 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14806 | int arg2 ; | |
14807 | wxPoint result; | |
14808 | PyObject * obj0 = 0 ; | |
14809 | PyObject * obj1 = 0 ; | |
14810 | char *kwnames[] = { | |
14811 | (char *) "self",(char *) "pos", NULL | |
14812 | }; | |
14813 | ||
14814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; | |
14815 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14816 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14817 | { | |
14818 | arg2 = (int)(SWIG_As_int(obj1)); | |
14819 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14820 | } | |
14821 | { | |
14822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14823 | result = (arg1)->PointFromPosition(arg2); | |
14824 | ||
14825 | wxPyEndAllowThreads(__tstate); | |
14826 | if (PyErr_Occurred()) SWIG_fail; | |
14827 | } | |
14828 | { | |
14829 | wxPoint * resultptr; | |
14830 | resultptr = new wxPoint((wxPoint &)(result)); | |
14831 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
14832 | } | |
14833 | return resultobj; | |
14834 | fail: | |
14835 | return NULL; | |
14836 | } | |
14837 | ||
14838 | ||
14839 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
14840 | PyObject *resultobj; | |
14841 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14842 | int arg2 ; | |
14843 | PyObject * obj0 = 0 ; | |
14844 | PyObject * obj1 = 0 ; | |
14845 | char *kwnames[] = { | |
14846 | (char *) "self",(char *) "line", NULL | |
14847 | }; | |
14848 | ||
14849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
14850 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14851 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14852 | { | |
14853 | arg2 = (int)(SWIG_As_int(obj1)); | |
14854 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14855 | } | |
14856 | { | |
14857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14858 | (arg1)->ScrollToLine(arg2); | |
14859 | ||
14860 | wxPyEndAllowThreads(__tstate); | |
14861 | if (PyErr_Occurred()) SWIG_fail; | |
14862 | } | |
14863 | Py_INCREF(Py_None); resultobj = Py_None; | |
14864 | return resultobj; | |
14865 | fail: | |
14866 | return NULL; | |
14867 | } | |
14868 | ||
14869 | ||
14870 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
14871 | PyObject *resultobj; | |
14872 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14873 | int arg2 ; | |
14874 | PyObject * obj0 = 0 ; | |
14875 | PyObject * obj1 = 0 ; | |
14876 | char *kwnames[] = { | |
14877 | (char *) "self",(char *) "column", NULL | |
14878 | }; | |
14879 | ||
14880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; | |
14881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14883 | { | |
14884 | arg2 = (int)(SWIG_As_int(obj1)); | |
14885 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14886 | } | |
14887 | { | |
14888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14889 | (arg1)->ScrollToColumn(arg2); | |
14890 | ||
14891 | wxPyEndAllowThreads(__tstate); | |
14892 | if (PyErr_Occurred()) SWIG_fail; | |
14893 | } | |
14894 | Py_INCREF(Py_None); resultobj = Py_None; | |
14895 | return resultobj; | |
14896 | fail: | |
14897 | return NULL; | |
14898 | } | |
14899 | ||
14900 | ||
14901 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { | |
14902 | PyObject *resultobj; | |
14903 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14904 | int arg2 ; | |
14905 | long arg3 = (long) 0 ; | |
14906 | long arg4 = (long) 0 ; | |
14907 | long result; | |
14908 | PyObject * obj0 = 0 ; | |
14909 | PyObject * obj1 = 0 ; | |
14910 | PyObject * obj2 = 0 ; | |
14911 | PyObject * obj3 = 0 ; | |
14912 | char *kwnames[] = { | |
14913 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL | |
14914 | }; | |
14915 | ||
14916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
14917 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14918 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14919 | { | |
14920 | arg2 = (int)(SWIG_As_int(obj1)); | |
14921 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14922 | } | |
14923 | if (obj2) { | |
14924 | { | |
14925 | arg3 = (long)(SWIG_As_long(obj2)); | |
14926 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14927 | } | |
14928 | } | |
14929 | if (obj3) { | |
14930 | { | |
14931 | arg4 = (long)(SWIG_As_long(obj3)); | |
14932 | if (SWIG_arg_fail(4)) SWIG_fail; | |
14933 | } | |
14934 | } | |
14935 | { | |
14936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14937 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); | |
14938 | ||
14939 | wxPyEndAllowThreads(__tstate); | |
14940 | if (PyErr_Occurred()) SWIG_fail; | |
14941 | } | |
14942 | { | |
14943 | resultobj = SWIG_From_long((long)(result)); | |
14944 | } | |
14945 | return resultobj; | |
14946 | fail: | |
14947 | return NULL; | |
14948 | } | |
14949 | ||
14950 | ||
14951 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
14952 | PyObject *resultobj; | |
14953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14954 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
14955 | PyObject * obj0 = 0 ; | |
14956 | PyObject * obj1 = 0 ; | |
14957 | char *kwnames[] = { | |
14958 | (char *) "self",(char *) "bar", NULL | |
14959 | }; | |
14960 | ||
14961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
14962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14964 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14965 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14966 | { | |
14967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14968 | (arg1)->SetVScrollBar(arg2); | |
14969 | ||
14970 | wxPyEndAllowThreads(__tstate); | |
14971 | if (PyErr_Occurred()) SWIG_fail; | |
14972 | } | |
14973 | Py_INCREF(Py_None); resultobj = Py_None; | |
14974 | return resultobj; | |
14975 | fail: | |
14976 | return NULL; | |
14977 | } | |
14978 | ||
14979 | ||
14980 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
14981 | PyObject *resultobj; | |
14982 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14983 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
14984 | PyObject * obj0 = 0 ; | |
14985 | PyObject * obj1 = 0 ; | |
14986 | char *kwnames[] = { | |
14987 | (char *) "self",(char *) "bar", NULL | |
14988 | }; | |
14989 | ||
14990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
14991 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14992 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14993 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
14994 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14995 | { | |
14996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14997 | (arg1)->SetHScrollBar(arg2); | |
14998 | ||
14999 | wxPyEndAllowThreads(__tstate); | |
15000 | if (PyErr_Occurred()) SWIG_fail; | |
15001 | } | |
15002 | Py_INCREF(Py_None); resultobj = Py_None; | |
15003 | return resultobj; | |
15004 | fail: | |
15005 | return NULL; | |
15006 | } | |
15007 | ||
15008 | ||
15009 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { | |
15010 | PyObject *resultobj; | |
15011 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15012 | bool result; | |
15013 | PyObject * obj0 = 0 ; | |
15014 | char *kwnames[] = { | |
15015 | (char *) "self", NULL | |
15016 | }; | |
15017 | ||
15018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; | |
15019 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15020 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15021 | { | |
15022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15023 | result = (bool)(arg1)->GetLastKeydownProcessed(); | |
15024 | ||
15025 | wxPyEndAllowThreads(__tstate); | |
15026 | if (PyErr_Occurred()) SWIG_fail; | |
15027 | } | |
15028 | { | |
15029 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15030 | } | |
15031 | return resultobj; | |
15032 | fail: | |
15033 | return NULL; | |
15034 | } | |
15035 | ||
15036 | ||
15037 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { | |
15038 | PyObject *resultobj; | |
15039 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15040 | bool arg2 ; | |
15041 | PyObject * obj0 = 0 ; | |
15042 | PyObject * obj1 = 0 ; | |
15043 | char *kwnames[] = { | |
15044 | (char *) "self",(char *) "val", NULL | |
15045 | }; | |
15046 | ||
15047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; | |
15048 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15049 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15050 | { | |
15051 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15052 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15053 | } | |
15054 | { | |
15055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15056 | (arg1)->SetLastKeydownProcessed(arg2); | |
15057 | ||
15058 | wxPyEndAllowThreads(__tstate); | |
15059 | if (PyErr_Occurred()) SWIG_fail; | |
15060 | } | |
15061 | Py_INCREF(Py_None); resultobj = Py_None; | |
15062 | return resultobj; | |
15063 | fail: | |
15064 | return NULL; | |
15065 | } | |
15066 | ||
15067 | ||
15068 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { | |
15069 | PyObject *resultobj; | |
15070 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15071 | wxString *arg2 = 0 ; | |
15072 | bool result; | |
15073 | bool temp2 = false ; | |
15074 | PyObject * obj0 = 0 ; | |
15075 | PyObject * obj1 = 0 ; | |
15076 | char *kwnames[] = { | |
15077 | (char *) "self",(char *) "filename", NULL | |
15078 | }; | |
15079 | ||
15080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; | |
15081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15083 | { | |
15084 | arg2 = wxString_in_helper(obj1); | |
15085 | if (arg2 == NULL) SWIG_fail; | |
15086 | temp2 = true; | |
15087 | } | |
15088 | { | |
15089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15090 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); | |
15091 | ||
15092 | wxPyEndAllowThreads(__tstate); | |
15093 | if (PyErr_Occurred()) SWIG_fail; | |
15094 | } | |
15095 | { | |
15096 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15097 | } | |
15098 | { | |
15099 | if (temp2) | |
15100 | delete arg2; | |
15101 | } | |
15102 | return resultobj; | |
15103 | fail: | |
15104 | { | |
15105 | if (temp2) | |
15106 | delete arg2; | |
15107 | } | |
15108 | return NULL; | |
15109 | } | |
15110 | ||
15111 | ||
15112 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { | |
15113 | PyObject *resultobj; | |
15114 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15115 | wxString *arg2 = 0 ; | |
15116 | bool result; | |
15117 | bool temp2 = false ; | |
15118 | PyObject * obj0 = 0 ; | |
15119 | PyObject * obj1 = 0 ; | |
15120 | char *kwnames[] = { | |
15121 | (char *) "self",(char *) "filename", NULL | |
15122 | }; | |
15123 | ||
15124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
15125 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15126 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15127 | { | |
15128 | arg2 = wxString_in_helper(obj1); | |
15129 | if (arg2 == NULL) SWIG_fail; | |
15130 | temp2 = true; | |
15131 | } | |
15132 | { | |
15133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15134 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
15135 | ||
15136 | wxPyEndAllowThreads(__tstate); | |
15137 | if (PyErr_Occurred()) SWIG_fail; | |
15138 | } | |
15139 | { | |
15140 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15141 | } | |
15142 | { | |
15143 | if (temp2) | |
15144 | delete arg2; | |
15145 | } | |
15146 | return resultobj; | |
15147 | fail: | |
15148 | { | |
15149 | if (temp2) | |
15150 | delete arg2; | |
15151 | } | |
15152 | return NULL; | |
15153 | } | |
15154 | ||
15155 | ||
15156 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { | |
15157 | PyObject *resultobj; | |
15158 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15159 | int arg2 ; | |
15160 | int arg3 ; | |
15161 | wxDragResult arg4 ; | |
15162 | wxDragResult result; | |
15163 | PyObject * obj0 = 0 ; | |
15164 | PyObject * obj1 = 0 ; | |
15165 | PyObject * obj2 = 0 ; | |
15166 | PyObject * obj3 = 0 ; | |
15167 | char *kwnames[] = { | |
15168 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL | |
15169 | }; | |
15170 | ||
15171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15174 | { | |
15175 | arg2 = (int)(SWIG_As_int(obj1)); | |
15176 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15177 | } | |
15178 | { | |
15179 | arg3 = (int)(SWIG_As_int(obj2)); | |
15180 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15181 | } | |
15182 | { | |
15183 | arg4 = (wxDragResult)(SWIG_As_int(obj3)); | |
15184 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15185 | } | |
15186 | { | |
15187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15188 | result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); | |
15189 | ||
15190 | wxPyEndAllowThreads(__tstate); | |
15191 | if (PyErr_Occurred()) SWIG_fail; | |
15192 | } | |
15193 | resultobj = SWIG_From_int((result)); | |
15194 | return resultobj; | |
15195 | fail: | |
15196 | return NULL; | |
15197 | } | |
15198 | ||
15199 | ||
15200 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { | |
15201 | PyObject *resultobj; | |
15202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15203 | long arg2 ; | |
15204 | long arg3 ; | |
15205 | wxString *arg4 = 0 ; | |
15206 | bool result; | |
15207 | bool temp4 = false ; | |
15208 | PyObject * obj0 = 0 ; | |
15209 | PyObject * obj1 = 0 ; | |
15210 | PyObject * obj2 = 0 ; | |
15211 | PyObject * obj3 = 0 ; | |
15212 | char *kwnames[] = { | |
15213 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL | |
15214 | }; | |
15215 | ||
15216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15219 | { | |
15220 | arg2 = (long)(SWIG_As_long(obj1)); | |
15221 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15222 | } | |
15223 | { | |
15224 | arg3 = (long)(SWIG_As_long(obj2)); | |
15225 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15226 | } | |
15227 | { | |
15228 | arg4 = wxString_in_helper(obj3); | |
15229 | if (arg4 == NULL) SWIG_fail; | |
15230 | temp4 = true; | |
15231 | } | |
15232 | { | |
15233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15234 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); | |
15235 | ||
15236 | wxPyEndAllowThreads(__tstate); | |
15237 | if (PyErr_Occurred()) SWIG_fail; | |
15238 | } | |
15239 | { | |
15240 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15241 | } | |
15242 | { | |
15243 | if (temp4) | |
15244 | delete arg4; | |
15245 | } | |
15246 | return resultobj; | |
15247 | fail: | |
15248 | { | |
15249 | if (temp4) | |
15250 | delete arg4; | |
15251 | } | |
15252 | return NULL; | |
15253 | } | |
15254 | ||
15255 | ||
15256 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { | |
15257 | PyObject *resultobj; | |
15258 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15259 | bool arg2 ; | |
15260 | PyObject * obj0 = 0 ; | |
15261 | PyObject * obj1 = 0 ; | |
15262 | char *kwnames[] = { | |
15263 | (char *) "self",(char *) "useAA", NULL | |
15264 | }; | |
15265 | ||
15266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; | |
15267 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15268 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15269 | { | |
15270 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
15271 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15272 | } | |
15273 | { | |
15274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15275 | (arg1)->SetUseAntiAliasing(arg2); | |
15276 | ||
15277 | wxPyEndAllowThreads(__tstate); | |
15278 | if (PyErr_Occurred()) SWIG_fail; | |
15279 | } | |
15280 | Py_INCREF(Py_None); resultobj = Py_None; | |
15281 | return resultobj; | |
15282 | fail: | |
15283 | return NULL; | |
15284 | } | |
15285 | ||
15286 | ||
15287 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { | |
15288 | PyObject *resultobj; | |
15289 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15290 | bool result; | |
15291 | PyObject * obj0 = 0 ; | |
15292 | char *kwnames[] = { | |
15293 | (char *) "self", NULL | |
15294 | }; | |
15295 | ||
15296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; | |
15297 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15298 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15299 | { | |
15300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15301 | result = (bool)(arg1)->GetUseAntiAliasing(); | |
15302 | ||
15303 | wxPyEndAllowThreads(__tstate); | |
15304 | if (PyErr_Occurred()) SWIG_fail; | |
15305 | } | |
15306 | { | |
15307 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15308 | } | |
15309 | return resultobj; | |
15310 | fail: | |
15311 | return NULL; | |
15312 | } | |
15313 | ||
15314 | ||
15315 | static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15316 | PyObject *resultobj; | |
15317 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15318 | char *arg2 = (char *) 0 ; | |
15319 | PyObject * obj0 = 0 ; | |
15320 | PyObject * obj1 = 0 ; | |
15321 | char *kwnames[] = { | |
15322 | (char *) "self",(char *) "text", NULL | |
15323 | }; | |
15324 | ||
15325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15326 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15327 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15328 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15329 | SWIG_arg_fail(2);SWIG_fail; | |
15330 | } | |
15331 | { | |
15332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15333 | (arg1)->AddTextRaw((char const *)arg2); | |
15334 | ||
15335 | wxPyEndAllowThreads(__tstate); | |
15336 | if (PyErr_Occurred()) SWIG_fail; | |
15337 | } | |
15338 | Py_INCREF(Py_None); resultobj = Py_None; | |
15339 | return resultobj; | |
15340 | fail: | |
15341 | return NULL; | |
15342 | } | |
15343 | ||
15344 | ||
15345 | static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15346 | PyObject *resultobj; | |
15347 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15348 | int arg2 ; | |
15349 | char *arg3 = (char *) 0 ; | |
15350 | PyObject * obj0 = 0 ; | |
15351 | PyObject * obj1 = 0 ; | |
15352 | PyObject * obj2 = 0 ; | |
15353 | char *kwnames[] = { | |
15354 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
15355 | }; | |
15356 | ||
15357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15360 | { | |
15361 | arg2 = (int)(SWIG_As_int(obj1)); | |
15362 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15363 | } | |
15364 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
15365 | SWIG_arg_fail(3);SWIG_fail; | |
15366 | } | |
15367 | { | |
15368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15369 | (arg1)->InsertTextRaw(arg2,(char const *)arg3); | |
15370 | ||
15371 | wxPyEndAllowThreads(__tstate); | |
15372 | if (PyErr_Occurred()) SWIG_fail; | |
15373 | } | |
15374 | Py_INCREF(Py_None); resultobj = Py_None; | |
15375 | return resultobj; | |
15376 | fail: | |
15377 | return NULL; | |
15378 | } | |
15379 | ||
15380 | ||
15381 | static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15382 | PyObject *resultobj; | |
15383 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15384 | int *arg2 = (int *) 0 ; | |
15385 | wxCharBuffer result; | |
15386 | int temp2 ; | |
15387 | int res2 = 0 ; | |
15388 | PyObject * obj0 = 0 ; | |
15389 | char *kwnames[] = { | |
15390 | (char *) "self", NULL | |
15391 | }; | |
15392 | ||
15393 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
15394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail; | |
15395 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15396 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15397 | { | |
15398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15399 | result = (arg1)->GetCurLineRaw(arg2); | |
15400 | ||
15401 | wxPyEndAllowThreads(__tstate); | |
15402 | if (PyErr_Occurred()) SWIG_fail; | |
15403 | } | |
15404 | { | |
15405 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15406 | } | |
15407 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
15408 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
15409 | return resultobj; | |
15410 | fail: | |
15411 | return NULL; | |
15412 | } | |
15413 | ||
15414 | ||
15415 | static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15416 | PyObject *resultobj; | |
15417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15418 | int arg2 ; | |
15419 | wxCharBuffer result; | |
15420 | PyObject * obj0 = 0 ; | |
15421 | PyObject * obj1 = 0 ; | |
15422 | char *kwnames[] = { | |
15423 | (char *) "self",(char *) "line", NULL | |
15424 | }; | |
15425 | ||
15426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail; | |
15427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15429 | { | |
15430 | arg2 = (int)(SWIG_As_int(obj1)); | |
15431 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15432 | } | |
15433 | { | |
15434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15435 | result = (arg1)->GetLineRaw(arg2); | |
15436 | ||
15437 | wxPyEndAllowThreads(__tstate); | |
15438 | if (PyErr_Occurred()) SWIG_fail; | |
15439 | } | |
15440 | { | |
15441 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15442 | } | |
15443 | return resultobj; | |
15444 | fail: | |
15445 | return NULL; | |
15446 | } | |
15447 | ||
15448 | ||
15449 | static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15450 | PyObject *resultobj; | |
15451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15452 | wxCharBuffer result; | |
15453 | PyObject * obj0 = 0 ; | |
15454 | char *kwnames[] = { | |
15455 | (char *) "self", NULL | |
15456 | }; | |
15457 | ||
15458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail; | |
15459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15461 | { | |
15462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15463 | result = (arg1)->GetSelectedTextRaw(); | |
15464 | ||
15465 | wxPyEndAllowThreads(__tstate); | |
15466 | if (PyErr_Occurred()) SWIG_fail; | |
15467 | } | |
15468 | { | |
15469 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15470 | } | |
15471 | return resultobj; | |
15472 | fail: | |
15473 | return NULL; | |
15474 | } | |
15475 | ||
15476 | ||
15477 | static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15478 | PyObject *resultobj; | |
15479 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15480 | int arg2 ; | |
15481 | int arg3 ; | |
15482 | wxCharBuffer result; | |
15483 | PyObject * obj0 = 0 ; | |
15484 | PyObject * obj1 = 0 ; | |
15485 | PyObject * obj2 = 0 ; | |
15486 | char *kwnames[] = { | |
15487 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
15488 | }; | |
15489 | ||
15490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15491 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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 | } | |
15497 | { | |
15498 | arg3 = (int)(SWIG_As_int(obj2)); | |
15499 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15500 | } | |
15501 | { | |
15502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15503 | result = (arg1)->GetTextRangeRaw(arg2,arg3); | |
15504 | ||
15505 | wxPyEndAllowThreads(__tstate); | |
15506 | if (PyErr_Occurred()) SWIG_fail; | |
15507 | } | |
15508 | { | |
15509 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15510 | } | |
15511 | return resultobj; | |
15512 | fail: | |
15513 | return NULL; | |
15514 | } | |
15515 | ||
15516 | ||
15517 | static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15518 | PyObject *resultobj; | |
15519 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15520 | char *arg2 = (char *) 0 ; | |
15521 | PyObject * obj0 = 0 ; | |
15522 | PyObject * obj1 = 0 ; | |
15523 | char *kwnames[] = { | |
15524 | (char *) "self",(char *) "text", NULL | |
15525 | }; | |
15526 | ||
15527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15530 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15531 | SWIG_arg_fail(2);SWIG_fail; | |
15532 | } | |
15533 | { | |
15534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15535 | (arg1)->SetTextRaw((char const *)arg2); | |
15536 | ||
15537 | wxPyEndAllowThreads(__tstate); | |
15538 | if (PyErr_Occurred()) SWIG_fail; | |
15539 | } | |
15540 | Py_INCREF(Py_None); resultobj = Py_None; | |
15541 | return resultobj; | |
15542 | fail: | |
15543 | return NULL; | |
15544 | } | |
15545 | ||
15546 | ||
15547 | static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15548 | PyObject *resultobj; | |
15549 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15550 | wxCharBuffer result; | |
15551 | PyObject * obj0 = 0 ; | |
15552 | char *kwnames[] = { | |
15553 | (char *) "self", NULL | |
15554 | }; | |
15555 | ||
15556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail; | |
15557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15559 | { | |
15560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15561 | result = (arg1)->GetTextRaw(); | |
15562 | ||
15563 | wxPyEndAllowThreads(__tstate); | |
15564 | if (PyErr_Occurred()) SWIG_fail; | |
15565 | } | |
15566 | { | |
15567 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15568 | } | |
15569 | return resultobj; | |
15570 | fail: | |
15571 | return NULL; | |
15572 | } | |
15573 | ||
15574 | ||
15575 | static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15576 | PyObject *resultobj; | |
15577 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15578 | char *arg2 = (char *) 0 ; | |
15579 | PyObject * obj0 = 0 ; | |
15580 | PyObject * obj1 = 0 ; | |
15581 | char *kwnames[] = { | |
15582 | (char *) "self",(char *) "text", NULL | |
15583 | }; | |
15584 | ||
15585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15586 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15587 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15588 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15589 | SWIG_arg_fail(2);SWIG_fail; | |
15590 | } | |
15591 | { | |
15592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15593 | (arg1)->AppendTextRaw((char const *)arg2); | |
15594 | ||
15595 | wxPyEndAllowThreads(__tstate); | |
15596 | if (PyErr_Occurred()) SWIG_fail; | |
15597 | } | |
15598 | Py_INCREF(Py_None); resultobj = Py_None; | |
15599 | return resultobj; | |
15600 | fail: | |
15601 | return NULL; | |
15602 | } | |
15603 | ||
15604 | ||
15605 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { | |
15606 | PyObject *obj; | |
15607 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15608 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
15609 | Py_INCREF(obj); | |
15610 | return Py_BuildValue((char *)""); | |
15611 | } | |
15612 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
15613 | PyObject *resultobj; | |
15614 | wxEventType arg1 = (wxEventType) 0 ; | |
15615 | int arg2 = (int) 0 ; | |
15616 | wxStyledTextEvent *result; | |
15617 | PyObject * obj0 = 0 ; | |
15618 | PyObject * obj1 = 0 ; | |
15619 | char *kwnames[] = { | |
15620 | (char *) "commandType",(char *) "id", NULL | |
15621 | }; | |
15622 | ||
15623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; | |
15624 | if (obj0) { | |
15625 | { | |
15626 | arg1 = (wxEventType)(SWIG_As_int(obj0)); | |
15627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15628 | } | |
15629 | } | |
15630 | if (obj1) { | |
15631 | { | |
15632 | arg2 = (int)(SWIG_As_int(obj1)); | |
15633 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15634 | } | |
15635 | } | |
15636 | { | |
15637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15638 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); | |
15639 | ||
15640 | wxPyEndAllowThreads(__tstate); | |
15641 | if (PyErr_Occurred()) SWIG_fail; | |
15642 | } | |
15643 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); | |
15644 | return resultobj; | |
15645 | fail: | |
15646 | return NULL; | |
15647 | } | |
15648 | ||
15649 | ||
15650 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
15651 | PyObject *resultobj; | |
15652 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15653 | PyObject * obj0 = 0 ; | |
15654 | char *kwnames[] = { | |
15655 | (char *) "self", NULL | |
15656 | }; | |
15657 | ||
15658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; | |
15659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15661 | { | |
15662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15663 | delete arg1; | |
15664 | ||
15665 | wxPyEndAllowThreads(__tstate); | |
15666 | if (PyErr_Occurred()) SWIG_fail; | |
15667 | } | |
15668 | Py_INCREF(Py_None); resultobj = Py_None; | |
15669 | return resultobj; | |
15670 | fail: | |
15671 | return NULL; | |
15672 | } | |
15673 | ||
15674 | ||
15675 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
15676 | PyObject *resultobj; | |
15677 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15678 | int arg2 ; | |
15679 | PyObject * obj0 = 0 ; | |
15680 | PyObject * obj1 = 0 ; | |
15681 | char *kwnames[] = { | |
15682 | (char *) "self",(char *) "pos", NULL | |
15683 | }; | |
15684 | ||
15685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; | |
15686 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15687 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15688 | { | |
15689 | arg2 = (int)(SWIG_As_int(obj1)); | |
15690 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15691 | } | |
15692 | { | |
15693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15694 | (arg1)->SetPosition(arg2); | |
15695 | ||
15696 | wxPyEndAllowThreads(__tstate); | |
15697 | if (PyErr_Occurred()) SWIG_fail; | |
15698 | } | |
15699 | Py_INCREF(Py_None); resultobj = Py_None; | |
15700 | return resultobj; | |
15701 | fail: | |
15702 | return NULL; | |
15703 | } | |
15704 | ||
15705 | ||
15706 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { | |
15707 | PyObject *resultobj; | |
15708 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15709 | int arg2 ; | |
15710 | PyObject * obj0 = 0 ; | |
15711 | PyObject * obj1 = 0 ; | |
15712 | char *kwnames[] = { | |
15713 | (char *) "self",(char *) "k", NULL | |
15714 | }; | |
15715 | ||
15716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; | |
15717 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15718 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15719 | { | |
15720 | arg2 = (int)(SWIG_As_int(obj1)); | |
15721 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15722 | } | |
15723 | { | |
15724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15725 | (arg1)->SetKey(arg2); | |
15726 | ||
15727 | wxPyEndAllowThreads(__tstate); | |
15728 | if (PyErr_Occurred()) SWIG_fail; | |
15729 | } | |
15730 | Py_INCREF(Py_None); resultobj = Py_None; | |
15731 | return resultobj; | |
15732 | fail: | |
15733 | return NULL; | |
15734 | } | |
15735 | ||
15736 | ||
15737 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { | |
15738 | PyObject *resultobj; | |
15739 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15740 | int arg2 ; | |
15741 | PyObject * obj0 = 0 ; | |
15742 | PyObject * obj1 = 0 ; | |
15743 | char *kwnames[] = { | |
15744 | (char *) "self",(char *) "m", NULL | |
15745 | }; | |
15746 | ||
15747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; | |
15748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15750 | { | |
15751 | arg2 = (int)(SWIG_As_int(obj1)); | |
15752 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15753 | } | |
15754 | { | |
15755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15756 | (arg1)->SetModifiers(arg2); | |
15757 | ||
15758 | wxPyEndAllowThreads(__tstate); | |
15759 | if (PyErr_Occurred()) SWIG_fail; | |
15760 | } | |
15761 | Py_INCREF(Py_None); resultobj = Py_None; | |
15762 | return resultobj; | |
15763 | fail: | |
15764 | return NULL; | |
15765 | } | |
15766 | ||
15767 | ||
15768 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { | |
15769 | PyObject *resultobj; | |
15770 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15771 | int arg2 ; | |
15772 | PyObject * obj0 = 0 ; | |
15773 | PyObject * obj1 = 0 ; | |
15774 | char *kwnames[] = { | |
15775 | (char *) "self",(char *) "t", NULL | |
15776 | }; | |
15777 | ||
15778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; | |
15779 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15780 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15781 | { | |
15782 | arg2 = (int)(SWIG_As_int(obj1)); | |
15783 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15784 | } | |
15785 | { | |
15786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15787 | (arg1)->SetModificationType(arg2); | |
15788 | ||
15789 | wxPyEndAllowThreads(__tstate); | |
15790 | if (PyErr_Occurred()) SWIG_fail; | |
15791 | } | |
15792 | Py_INCREF(Py_None); resultobj = Py_None; | |
15793 | return resultobj; | |
15794 | fail: | |
15795 | return NULL; | |
15796 | } | |
15797 | ||
15798 | ||
15799 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
15800 | PyObject *resultobj; | |
15801 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15802 | wxString *arg2 = 0 ; | |
15803 | bool temp2 = false ; | |
15804 | PyObject * obj0 = 0 ; | |
15805 | PyObject * obj1 = 0 ; | |
15806 | char *kwnames[] = { | |
15807 | (char *) "self",(char *) "t", NULL | |
15808 | }; | |
15809 | ||
15810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",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 = wxString_in_helper(obj1); | |
15815 | if (arg2 == NULL) SWIG_fail; | |
15816 | temp2 = true; | |
15817 | } | |
15818 | { | |
15819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15820 | (arg1)->SetText((wxString const &)*arg2); | |
15821 | ||
15822 | wxPyEndAllowThreads(__tstate); | |
15823 | if (PyErr_Occurred()) SWIG_fail; | |
15824 | } | |
15825 | Py_INCREF(Py_None); resultobj = Py_None; | |
15826 | { | |
15827 | if (temp2) | |
15828 | delete arg2; | |
15829 | } | |
15830 | return resultobj; | |
15831 | fail: | |
15832 | { | |
15833 | if (temp2) | |
15834 | delete arg2; | |
15835 | } | |
15836 | return NULL; | |
15837 | } | |
15838 | ||
15839 | ||
15840 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
15841 | PyObject *resultobj; | |
15842 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15843 | int arg2 ; | |
15844 | PyObject * obj0 = 0 ; | |
15845 | PyObject * obj1 = 0 ; | |
15846 | char *kwnames[] = { | |
15847 | (char *) "self",(char *) "len", NULL | |
15848 | }; | |
15849 | ||
15850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; | |
15851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15853 | { | |
15854 | arg2 = (int)(SWIG_As_int(obj1)); | |
15855 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15856 | } | |
15857 | { | |
15858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15859 | (arg1)->SetLength(arg2); | |
15860 | ||
15861 | wxPyEndAllowThreads(__tstate); | |
15862 | if (PyErr_Occurred()) SWIG_fail; | |
15863 | } | |
15864 | Py_INCREF(Py_None); resultobj = Py_None; | |
15865 | return resultobj; | |
15866 | fail: | |
15867 | return NULL; | |
15868 | } | |
15869 | ||
15870 | ||
15871 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { | |
15872 | PyObject *resultobj; | |
15873 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15874 | int arg2 ; | |
15875 | PyObject * obj0 = 0 ; | |
15876 | PyObject * obj1 = 0 ; | |
15877 | char *kwnames[] = { | |
15878 | (char *) "self",(char *) "num", NULL | |
15879 | }; | |
15880 | ||
15881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; | |
15882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15884 | { | |
15885 | arg2 = (int)(SWIG_As_int(obj1)); | |
15886 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15887 | } | |
15888 | { | |
15889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15890 | (arg1)->SetLinesAdded(arg2); | |
15891 | ||
15892 | wxPyEndAllowThreads(__tstate); | |
15893 | if (PyErr_Occurred()) SWIG_fail; | |
15894 | } | |
15895 | Py_INCREF(Py_None); resultobj = Py_None; | |
15896 | return resultobj; | |
15897 | fail: | |
15898 | return NULL; | |
15899 | } | |
15900 | ||
15901 | ||
15902 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
15903 | PyObject *resultobj; | |
15904 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15905 | int arg2 ; | |
15906 | PyObject * obj0 = 0 ; | |
15907 | PyObject * obj1 = 0 ; | |
15908 | char *kwnames[] = { | |
15909 | (char *) "self",(char *) "val", NULL | |
15910 | }; | |
15911 | ||
15912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; | |
15913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15915 | { | |
15916 | arg2 = (int)(SWIG_As_int(obj1)); | |
15917 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15918 | } | |
15919 | { | |
15920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15921 | (arg1)->SetLine(arg2); | |
15922 | ||
15923 | wxPyEndAllowThreads(__tstate); | |
15924 | if (PyErr_Occurred()) SWIG_fail; | |
15925 | } | |
15926 | Py_INCREF(Py_None); resultobj = Py_None; | |
15927 | return resultobj; | |
15928 | fail: | |
15929 | return NULL; | |
15930 | } | |
15931 | ||
15932 | ||
15933 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { | |
15934 | PyObject *resultobj; | |
15935 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15936 | int arg2 ; | |
15937 | PyObject * obj0 = 0 ; | |
15938 | PyObject * obj1 = 0 ; | |
15939 | char *kwnames[] = { | |
15940 | (char *) "self",(char *) "val", NULL | |
15941 | }; | |
15942 | ||
15943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; | |
15944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15946 | { | |
15947 | arg2 = (int)(SWIG_As_int(obj1)); | |
15948 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15949 | } | |
15950 | { | |
15951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15952 | (arg1)->SetFoldLevelNow(arg2); | |
15953 | ||
15954 | wxPyEndAllowThreads(__tstate); | |
15955 | if (PyErr_Occurred()) SWIG_fail; | |
15956 | } | |
15957 | Py_INCREF(Py_None); resultobj = Py_None; | |
15958 | return resultobj; | |
15959 | fail: | |
15960 | return NULL; | |
15961 | } | |
15962 | ||
15963 | ||
15964 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
15965 | PyObject *resultobj; | |
15966 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15967 | int arg2 ; | |
15968 | PyObject * obj0 = 0 ; | |
15969 | PyObject * obj1 = 0 ; | |
15970 | char *kwnames[] = { | |
15971 | (char *) "self",(char *) "val", NULL | |
15972 | }; | |
15973 | ||
15974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; | |
15975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15977 | { | |
15978 | arg2 = (int)(SWIG_As_int(obj1)); | |
15979 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15980 | } | |
15981 | { | |
15982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15983 | (arg1)->SetFoldLevelPrev(arg2); | |
15984 | ||
15985 | wxPyEndAllowThreads(__tstate); | |
15986 | if (PyErr_Occurred()) SWIG_fail; | |
15987 | } | |
15988 | Py_INCREF(Py_None); resultobj = Py_None; | |
15989 | return resultobj; | |
15990 | fail: | |
15991 | return NULL; | |
15992 | } | |
15993 | ||
15994 | ||
15995 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
15996 | PyObject *resultobj; | |
15997 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15998 | int arg2 ; | |
15999 | PyObject * obj0 = 0 ; | |
16000 | PyObject * obj1 = 0 ; | |
16001 | char *kwnames[] = { | |
16002 | (char *) "self",(char *) "val", NULL | |
16003 | }; | |
16004 | ||
16005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; | |
16006 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16007 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16008 | { | |
16009 | arg2 = (int)(SWIG_As_int(obj1)); | |
16010 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16011 | } | |
16012 | { | |
16013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16014 | (arg1)->SetMargin(arg2); | |
16015 | ||
16016 | wxPyEndAllowThreads(__tstate); | |
16017 | if (PyErr_Occurred()) SWIG_fail; | |
16018 | } | |
16019 | Py_INCREF(Py_None); resultobj = Py_None; | |
16020 | return resultobj; | |
16021 | fail: | |
16022 | return NULL; | |
16023 | } | |
16024 | ||
16025 | ||
16026 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
16027 | PyObject *resultobj; | |
16028 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16029 | int arg2 ; | |
16030 | PyObject * obj0 = 0 ; | |
16031 | PyObject * obj1 = 0 ; | |
16032 | char *kwnames[] = { | |
16033 | (char *) "self",(char *) "val", NULL | |
16034 | }; | |
16035 | ||
16036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
16037 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16038 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16039 | { | |
16040 | arg2 = (int)(SWIG_As_int(obj1)); | |
16041 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16042 | } | |
16043 | { | |
16044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16045 | (arg1)->SetMessage(arg2); | |
16046 | ||
16047 | wxPyEndAllowThreads(__tstate); | |
16048 | if (PyErr_Occurred()) SWIG_fail; | |
16049 | } | |
16050 | Py_INCREF(Py_None); resultobj = Py_None; | |
16051 | return resultobj; | |
16052 | fail: | |
16053 | return NULL; | |
16054 | } | |
16055 | ||
16056 | ||
16057 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16058 | PyObject *resultobj; | |
16059 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16060 | int arg2 ; | |
16061 | PyObject * obj0 = 0 ; | |
16062 | PyObject * obj1 = 0 ; | |
16063 | char *kwnames[] = { | |
16064 | (char *) "self",(char *) "val", NULL | |
16065 | }; | |
16066 | ||
16067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; | |
16068 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16069 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16070 | { | |
16071 | arg2 = (int)(SWIG_As_int(obj1)); | |
16072 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16073 | } | |
16074 | { | |
16075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16076 | (arg1)->SetWParam(arg2); | |
16077 | ||
16078 | wxPyEndAllowThreads(__tstate); | |
16079 | if (PyErr_Occurred()) SWIG_fail; | |
16080 | } | |
16081 | Py_INCREF(Py_None); resultobj = Py_None; | |
16082 | return resultobj; | |
16083 | fail: | |
16084 | return NULL; | |
16085 | } | |
16086 | ||
16087 | ||
16088 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16089 | PyObject *resultobj; | |
16090 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16091 | int arg2 ; | |
16092 | PyObject * obj0 = 0 ; | |
16093 | PyObject * obj1 = 0 ; | |
16094 | char *kwnames[] = { | |
16095 | (char *) "self",(char *) "val", NULL | |
16096 | }; | |
16097 | ||
16098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; | |
16099 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16100 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16101 | { | |
16102 | arg2 = (int)(SWIG_As_int(obj1)); | |
16103 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16104 | } | |
16105 | { | |
16106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16107 | (arg1)->SetLParam(arg2); | |
16108 | ||
16109 | wxPyEndAllowThreads(__tstate); | |
16110 | if (PyErr_Occurred()) SWIG_fail; | |
16111 | } | |
16112 | Py_INCREF(Py_None); resultobj = Py_None; | |
16113 | return resultobj; | |
16114 | fail: | |
16115 | return NULL; | |
16116 | } | |
16117 | ||
16118 | ||
16119 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16120 | PyObject *resultobj; | |
16121 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16122 | int arg2 ; | |
16123 | PyObject * obj0 = 0 ; | |
16124 | PyObject * obj1 = 0 ; | |
16125 | char *kwnames[] = { | |
16126 | (char *) "self",(char *) "val", NULL | |
16127 | }; | |
16128 | ||
16129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; | |
16130 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16131 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16132 | { | |
16133 | arg2 = (int)(SWIG_As_int(obj1)); | |
16134 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16135 | } | |
16136 | { | |
16137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16138 | (arg1)->SetListType(arg2); | |
16139 | ||
16140 | wxPyEndAllowThreads(__tstate); | |
16141 | if (PyErr_Occurred()) SWIG_fail; | |
16142 | } | |
16143 | Py_INCREF(Py_None); resultobj = Py_None; | |
16144 | return resultobj; | |
16145 | fail: | |
16146 | return NULL; | |
16147 | } | |
16148 | ||
16149 | ||
16150 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
16151 | PyObject *resultobj; | |
16152 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16153 | int arg2 ; | |
16154 | PyObject * obj0 = 0 ; | |
16155 | PyObject * obj1 = 0 ; | |
16156 | char *kwnames[] = { | |
16157 | (char *) "self",(char *) "val", NULL | |
16158 | }; | |
16159 | ||
16160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; | |
16161 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16162 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16163 | { | |
16164 | arg2 = (int)(SWIG_As_int(obj1)); | |
16165 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16166 | } | |
16167 | { | |
16168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16169 | (arg1)->SetX(arg2); | |
16170 | ||
16171 | wxPyEndAllowThreads(__tstate); | |
16172 | if (PyErr_Occurred()) SWIG_fail; | |
16173 | } | |
16174 | Py_INCREF(Py_None); resultobj = Py_None; | |
16175 | return resultobj; | |
16176 | fail: | |
16177 | return NULL; | |
16178 | } | |
16179 | ||
16180 | ||
16181 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
16182 | PyObject *resultobj; | |
16183 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16184 | int arg2 ; | |
16185 | PyObject * obj0 = 0 ; | |
16186 | PyObject * obj1 = 0 ; | |
16187 | char *kwnames[] = { | |
16188 | (char *) "self",(char *) "val", NULL | |
16189 | }; | |
16190 | ||
16191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; | |
16192 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16193 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16194 | { | |
16195 | arg2 = (int)(SWIG_As_int(obj1)); | |
16196 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16197 | } | |
16198 | { | |
16199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16200 | (arg1)->SetY(arg2); | |
16201 | ||
16202 | wxPyEndAllowThreads(__tstate); | |
16203 | if (PyErr_Occurred()) SWIG_fail; | |
16204 | } | |
16205 | Py_INCREF(Py_None); resultobj = Py_None; | |
16206 | return resultobj; | |
16207 | fail: | |
16208 | return NULL; | |
16209 | } | |
16210 | ||
16211 | ||
16212 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16213 | PyObject *resultobj; | |
16214 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16215 | wxString *arg2 = 0 ; | |
16216 | bool temp2 = false ; | |
16217 | PyObject * obj0 = 0 ; | |
16218 | PyObject * obj1 = 0 ; | |
16219 | char *kwnames[] = { | |
16220 | (char *) "self",(char *) "val", NULL | |
16221 | }; | |
16222 | ||
16223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; | |
16224 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16225 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16226 | { | |
16227 | arg2 = wxString_in_helper(obj1); | |
16228 | if (arg2 == NULL) SWIG_fail; | |
16229 | temp2 = true; | |
16230 | } | |
16231 | { | |
16232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16233 | (arg1)->SetDragText((wxString const &)*arg2); | |
16234 | ||
16235 | wxPyEndAllowThreads(__tstate); | |
16236 | if (PyErr_Occurred()) SWIG_fail; | |
16237 | } | |
16238 | Py_INCREF(Py_None); resultobj = Py_None; | |
16239 | { | |
16240 | if (temp2) | |
16241 | delete arg2; | |
16242 | } | |
16243 | return resultobj; | |
16244 | fail: | |
16245 | { | |
16246 | if (temp2) | |
16247 | delete arg2; | |
16248 | } | |
16249 | return NULL; | |
16250 | } | |
16251 | ||
16252 | ||
16253 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
16254 | PyObject *resultobj; | |
16255 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16256 | bool arg2 ; | |
16257 | PyObject * obj0 = 0 ; | |
16258 | PyObject * obj1 = 0 ; | |
16259 | char *kwnames[] = { | |
16260 | (char *) "self",(char *) "val", NULL | |
16261 | }; | |
16262 | ||
16263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; | |
16264 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16265 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16266 | { | |
16267 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
16268 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16269 | } | |
16270 | { | |
16271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16272 | (arg1)->SetDragAllowMove(arg2); | |
16273 | ||
16274 | wxPyEndAllowThreads(__tstate); | |
16275 | if (PyErr_Occurred()) SWIG_fail; | |
16276 | } | |
16277 | Py_INCREF(Py_None); resultobj = Py_None; | |
16278 | return resultobj; | |
16279 | fail: | |
16280 | return NULL; | |
16281 | } | |
16282 | ||
16283 | ||
16284 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
16285 | PyObject *resultobj; | |
16286 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16287 | wxDragResult arg2 ; | |
16288 | PyObject * obj0 = 0 ; | |
16289 | PyObject * obj1 = 0 ; | |
16290 | char *kwnames[] = { | |
16291 | (char *) "self",(char *) "val", NULL | |
16292 | }; | |
16293 | ||
16294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; | |
16295 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16296 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16297 | { | |
16298 | arg2 = (wxDragResult)(SWIG_As_int(obj1)); | |
16299 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16300 | } | |
16301 | { | |
16302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16303 | (arg1)->SetDragResult((wxDragResult )arg2); | |
16304 | ||
16305 | wxPyEndAllowThreads(__tstate); | |
16306 | if (PyErr_Occurred()) SWIG_fail; | |
16307 | } | |
16308 | Py_INCREF(Py_None); resultobj = Py_None; | |
16309 | return resultobj; | |
16310 | fail: | |
16311 | return NULL; | |
16312 | } | |
16313 | ||
16314 | ||
16315 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
16316 | PyObject *resultobj; | |
16317 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16318 | int result; | |
16319 | PyObject * obj0 = 0 ; | |
16320 | char *kwnames[] = { | |
16321 | (char *) "self", NULL | |
16322 | }; | |
16323 | ||
16324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; | |
16325 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16326 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16327 | { | |
16328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16329 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); | |
16330 | ||
16331 | wxPyEndAllowThreads(__tstate); | |
16332 | if (PyErr_Occurred()) SWIG_fail; | |
16333 | } | |
16334 | { | |
16335 | resultobj = SWIG_From_int((int)(result)); | |
16336 | } | |
16337 | return resultobj; | |
16338 | fail: | |
16339 | return NULL; | |
16340 | } | |
16341 | ||
16342 | ||
16343 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { | |
16344 | PyObject *resultobj; | |
16345 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16346 | int result; | |
16347 | PyObject * obj0 = 0 ; | |
16348 | char *kwnames[] = { | |
16349 | (char *) "self", NULL | |
16350 | }; | |
16351 | ||
16352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; | |
16353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16355 | { | |
16356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16357 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); | |
16358 | ||
16359 | wxPyEndAllowThreads(__tstate); | |
16360 | if (PyErr_Occurred()) SWIG_fail; | |
16361 | } | |
16362 | { | |
16363 | resultobj = SWIG_From_int((int)(result)); | |
16364 | } | |
16365 | return resultobj; | |
16366 | fail: | |
16367 | return NULL; | |
16368 | } | |
16369 | ||
16370 | ||
16371 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { | |
16372 | PyObject *resultobj; | |
16373 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16374 | int result; | |
16375 | PyObject * obj0 = 0 ; | |
16376 | char *kwnames[] = { | |
16377 | (char *) "self", NULL | |
16378 | }; | |
16379 | ||
16380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; | |
16381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16383 | { | |
16384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16385 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); | |
16386 | ||
16387 | wxPyEndAllowThreads(__tstate); | |
16388 | if (PyErr_Occurred()) SWIG_fail; | |
16389 | } | |
16390 | { | |
16391 | resultobj = SWIG_From_int((int)(result)); | |
16392 | } | |
16393 | return resultobj; | |
16394 | fail: | |
16395 | return NULL; | |
16396 | } | |
16397 | ||
16398 | ||
16399 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16400 | PyObject *resultobj; | |
16401 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16402 | int result; | |
16403 | PyObject * obj0 = 0 ; | |
16404 | char *kwnames[] = { | |
16405 | (char *) "self", NULL | |
16406 | }; | |
16407 | ||
16408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; | |
16409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16411 | { | |
16412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16413 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); | |
16414 | ||
16415 | wxPyEndAllowThreads(__tstate); | |
16416 | if (PyErr_Occurred()) SWIG_fail; | |
16417 | } | |
16418 | { | |
16419 | resultobj = SWIG_From_int((int)(result)); | |
16420 | } | |
16421 | return resultobj; | |
16422 | fail: | |
16423 | return NULL; | |
16424 | } | |
16425 | ||
16426 | ||
16427 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16428 | PyObject *resultobj; | |
16429 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16430 | wxString result; | |
16431 | PyObject * obj0 = 0 ; | |
16432 | char *kwnames[] = { | |
16433 | (char *) "self", NULL | |
16434 | }; | |
16435 | ||
16436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; | |
16437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16439 | { | |
16440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16441 | result = ((wxStyledTextEvent const *)arg1)->GetText(); | |
16442 | ||
16443 | wxPyEndAllowThreads(__tstate); | |
16444 | if (PyErr_Occurred()) SWIG_fail; | |
16445 | } | |
16446 | { | |
16447 | #if wxUSE_UNICODE | |
16448 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16449 | #else | |
16450 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16451 | #endif | |
16452 | } | |
16453 | return resultobj; | |
16454 | fail: | |
16455 | return NULL; | |
16456 | } | |
16457 | ||
16458 | ||
16459 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
16460 | PyObject *resultobj; | |
16461 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16462 | int result; | |
16463 | PyObject * obj0 = 0 ; | |
16464 | char *kwnames[] = { | |
16465 | (char *) "self", NULL | |
16466 | }; | |
16467 | ||
16468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; | |
16469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16471 | { | |
16472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16473 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); | |
16474 | ||
16475 | wxPyEndAllowThreads(__tstate); | |
16476 | if (PyErr_Occurred()) SWIG_fail; | |
16477 | } | |
16478 | { | |
16479 | resultobj = SWIG_From_int((int)(result)); | |
16480 | } | |
16481 | return resultobj; | |
16482 | fail: | |
16483 | return NULL; | |
16484 | } | |
16485 | ||
16486 | ||
16487 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { | |
16488 | PyObject *resultobj; | |
16489 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16490 | int result; | |
16491 | PyObject * obj0 = 0 ; | |
16492 | char *kwnames[] = { | |
16493 | (char *) "self", NULL | |
16494 | }; | |
16495 | ||
16496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; | |
16497 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16498 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16499 | { | |
16500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16501 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); | |
16502 | ||
16503 | wxPyEndAllowThreads(__tstate); | |
16504 | if (PyErr_Occurred()) SWIG_fail; | |
16505 | } | |
16506 | { | |
16507 | resultobj = SWIG_From_int((int)(result)); | |
16508 | } | |
16509 | return resultobj; | |
16510 | fail: | |
16511 | return NULL; | |
16512 | } | |
16513 | ||
16514 | ||
16515 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
16516 | PyObject *resultobj; | |
16517 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16518 | int result; | |
16519 | PyObject * obj0 = 0 ; | |
16520 | char *kwnames[] = { | |
16521 | (char *) "self", NULL | |
16522 | }; | |
16523 | ||
16524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
16525 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16526 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16527 | { | |
16528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16529 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
16530 | ||
16531 | wxPyEndAllowThreads(__tstate); | |
16532 | if (PyErr_Occurred()) SWIG_fail; | |
16533 | } | |
16534 | { | |
16535 | resultobj = SWIG_From_int((int)(result)); | |
16536 | } | |
16537 | return resultobj; | |
16538 | fail: | |
16539 | return NULL; | |
16540 | } | |
16541 | ||
16542 | ||
16543 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { | |
16544 | PyObject *resultobj; | |
16545 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16546 | int result; | |
16547 | PyObject * obj0 = 0 ; | |
16548 | char *kwnames[] = { | |
16549 | (char *) "self", NULL | |
16550 | }; | |
16551 | ||
16552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
16553 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16554 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16555 | { | |
16556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16557 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
16558 | ||
16559 | wxPyEndAllowThreads(__tstate); | |
16560 | if (PyErr_Occurred()) SWIG_fail; | |
16561 | } | |
16562 | { | |
16563 | resultobj = SWIG_From_int((int)(result)); | |
16564 | } | |
16565 | return resultobj; | |
16566 | fail: | |
16567 | return NULL; | |
16568 | } | |
16569 | ||
16570 | ||
16571 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
16572 | PyObject *resultobj; | |
16573 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16574 | int result; | |
16575 | PyObject * obj0 = 0 ; | |
16576 | char *kwnames[] = { | |
16577 | (char *) "self", NULL | |
16578 | }; | |
16579 | ||
16580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
16581 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16582 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16583 | { | |
16584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16585 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
16586 | ||
16587 | wxPyEndAllowThreads(__tstate); | |
16588 | if (PyErr_Occurred()) SWIG_fail; | |
16589 | } | |
16590 | { | |
16591 | resultobj = SWIG_From_int((int)(result)); | |
16592 | } | |
16593 | return resultobj; | |
16594 | fail: | |
16595 | return NULL; | |
16596 | } | |
16597 | ||
16598 | ||
16599 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
16600 | PyObject *resultobj; | |
16601 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16602 | int result; | |
16603 | PyObject * obj0 = 0 ; | |
16604 | char *kwnames[] = { | |
16605 | (char *) "self", NULL | |
16606 | }; | |
16607 | ||
16608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
16609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16611 | { | |
16612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16613 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
16614 | ||
16615 | wxPyEndAllowThreads(__tstate); | |
16616 | if (PyErr_Occurred()) SWIG_fail; | |
16617 | } | |
16618 | { | |
16619 | resultobj = SWIG_From_int((int)(result)); | |
16620 | } | |
16621 | return resultobj; | |
16622 | fail: | |
16623 | return NULL; | |
16624 | } | |
16625 | ||
16626 | ||
16627 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
16628 | PyObject *resultobj; | |
16629 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16630 | int result; | |
16631 | PyObject * obj0 = 0 ; | |
16632 | char *kwnames[] = { | |
16633 | (char *) "self", NULL | |
16634 | }; | |
16635 | ||
16636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
16637 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16638 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16639 | { | |
16640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16641 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
16642 | ||
16643 | wxPyEndAllowThreads(__tstate); | |
16644 | if (PyErr_Occurred()) SWIG_fail; | |
16645 | } | |
16646 | { | |
16647 | resultobj = SWIG_From_int((int)(result)); | |
16648 | } | |
16649 | return resultobj; | |
16650 | fail: | |
16651 | return NULL; | |
16652 | } | |
16653 | ||
16654 | ||
16655 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16656 | PyObject *resultobj; | |
16657 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16658 | int result; | |
16659 | PyObject * obj0 = 0 ; | |
16660 | char *kwnames[] = { | |
16661 | (char *) "self", NULL | |
16662 | }; | |
16663 | ||
16664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
16665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16667 | { | |
16668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16669 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
16670 | ||
16671 | wxPyEndAllowThreads(__tstate); | |
16672 | if (PyErr_Occurred()) SWIG_fail; | |
16673 | } | |
16674 | { | |
16675 | resultobj = SWIG_From_int((int)(result)); | |
16676 | } | |
16677 | return resultobj; | |
16678 | fail: | |
16679 | return NULL; | |
16680 | } | |
16681 | ||
16682 | ||
16683 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16684 | PyObject *resultobj; | |
16685 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16686 | int result; | |
16687 | PyObject * obj0 = 0 ; | |
16688 | char *kwnames[] = { | |
16689 | (char *) "self", NULL | |
16690 | }; | |
16691 | ||
16692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
16693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16695 | { | |
16696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16697 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
16698 | ||
16699 | wxPyEndAllowThreads(__tstate); | |
16700 | if (PyErr_Occurred()) SWIG_fail; | |
16701 | } | |
16702 | { | |
16703 | resultobj = SWIG_From_int((int)(result)); | |
16704 | } | |
16705 | return resultobj; | |
16706 | fail: | |
16707 | return NULL; | |
16708 | } | |
16709 | ||
16710 | ||
16711 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16712 | PyObject *resultobj; | |
16713 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16714 | int result; | |
16715 | PyObject * obj0 = 0 ; | |
16716 | char *kwnames[] = { | |
16717 | (char *) "self", NULL | |
16718 | }; | |
16719 | ||
16720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
16721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16723 | { | |
16724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16725 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
16726 | ||
16727 | wxPyEndAllowThreads(__tstate); | |
16728 | if (PyErr_Occurred()) SWIG_fail; | |
16729 | } | |
16730 | { | |
16731 | resultobj = SWIG_From_int((int)(result)); | |
16732 | } | |
16733 | return resultobj; | |
16734 | fail: | |
16735 | return NULL; | |
16736 | } | |
16737 | ||
16738 | ||
16739 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
16740 | PyObject *resultobj; | |
16741 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16742 | int result; | |
16743 | PyObject * obj0 = 0 ; | |
16744 | char *kwnames[] = { | |
16745 | (char *) "self", NULL | |
16746 | }; | |
16747 | ||
16748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
16749 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16750 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16751 | { | |
16752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16753 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
16754 | ||
16755 | wxPyEndAllowThreads(__tstate); | |
16756 | if (PyErr_Occurred()) SWIG_fail; | |
16757 | } | |
16758 | { | |
16759 | resultobj = SWIG_From_int((int)(result)); | |
16760 | } | |
16761 | return resultobj; | |
16762 | fail: | |
16763 | return NULL; | |
16764 | } | |
16765 | ||
16766 | ||
16767 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
16768 | PyObject *resultobj; | |
16769 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16770 | int result; | |
16771 | PyObject * obj0 = 0 ; | |
16772 | char *kwnames[] = { | |
16773 | (char *) "self", NULL | |
16774 | }; | |
16775 | ||
16776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
16777 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16778 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16779 | { | |
16780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16781 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
16782 | ||
16783 | wxPyEndAllowThreads(__tstate); | |
16784 | if (PyErr_Occurred()) SWIG_fail; | |
16785 | } | |
16786 | { | |
16787 | resultobj = SWIG_From_int((int)(result)); | |
16788 | } | |
16789 | return resultobj; | |
16790 | fail: | |
16791 | return NULL; | |
16792 | } | |
16793 | ||
16794 | ||
16795 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16796 | PyObject *resultobj; | |
16797 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16798 | wxString result; | |
16799 | PyObject * obj0 = 0 ; | |
16800 | char *kwnames[] = { | |
16801 | (char *) "self", NULL | |
16802 | }; | |
16803 | ||
16804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
16805 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16806 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16807 | { | |
16808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16809 | result = (arg1)->GetDragText(); | |
16810 | ||
16811 | wxPyEndAllowThreads(__tstate); | |
16812 | if (PyErr_Occurred()) SWIG_fail; | |
16813 | } | |
16814 | { | |
16815 | #if wxUSE_UNICODE | |
16816 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16817 | #else | |
16818 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16819 | #endif | |
16820 | } | |
16821 | return resultobj; | |
16822 | fail: | |
16823 | return NULL; | |
16824 | } | |
16825 | ||
16826 | ||
16827 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
16828 | PyObject *resultobj; | |
16829 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16830 | bool result; | |
16831 | PyObject * obj0 = 0 ; | |
16832 | char *kwnames[] = { | |
16833 | (char *) "self", NULL | |
16834 | }; | |
16835 | ||
16836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
16837 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16838 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16839 | { | |
16840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16841 | result = (bool)(arg1)->GetDragAllowMove(); | |
16842 | ||
16843 | wxPyEndAllowThreads(__tstate); | |
16844 | if (PyErr_Occurred()) SWIG_fail; | |
16845 | } | |
16846 | { | |
16847 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16848 | } | |
16849 | return resultobj; | |
16850 | fail: | |
16851 | return NULL; | |
16852 | } | |
16853 | ||
16854 | ||
16855 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
16856 | PyObject *resultobj; | |
16857 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16858 | wxDragResult result; | |
16859 | PyObject * obj0 = 0 ; | |
16860 | char *kwnames[] = { | |
16861 | (char *) "self", NULL | |
16862 | }; | |
16863 | ||
16864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
16865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16867 | { | |
16868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16869 | result = (wxDragResult)(arg1)->GetDragResult(); | |
16870 | ||
16871 | wxPyEndAllowThreads(__tstate); | |
16872 | if (PyErr_Occurred()) SWIG_fail; | |
16873 | } | |
16874 | resultobj = SWIG_From_int((result)); | |
16875 | return resultobj; | |
16876 | fail: | |
16877 | return NULL; | |
16878 | } | |
16879 | ||
16880 | ||
16881 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { | |
16882 | PyObject *resultobj; | |
16883 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16884 | bool result; | |
16885 | PyObject * obj0 = 0 ; | |
16886 | char *kwnames[] = { | |
16887 | (char *) "self", NULL | |
16888 | }; | |
16889 | ||
16890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
16891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16893 | { | |
16894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16895 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
16896 | ||
16897 | wxPyEndAllowThreads(__tstate); | |
16898 | if (PyErr_Occurred()) SWIG_fail; | |
16899 | } | |
16900 | { | |
16901 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16902 | } | |
16903 | return resultobj; | |
16904 | fail: | |
16905 | return NULL; | |
16906 | } | |
16907 | ||
16908 | ||
16909 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { | |
16910 | PyObject *resultobj; | |
16911 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16912 | bool result; | |
16913 | PyObject * obj0 = 0 ; | |
16914 | char *kwnames[] = { | |
16915 | (char *) "self", NULL | |
16916 | }; | |
16917 | ||
16918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
16919 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16920 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16921 | { | |
16922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16923 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
16924 | ||
16925 | wxPyEndAllowThreads(__tstate); | |
16926 | if (PyErr_Occurred()) SWIG_fail; | |
16927 | } | |
16928 | { | |
16929 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16930 | } | |
16931 | return resultobj; | |
16932 | fail: | |
16933 | return NULL; | |
16934 | } | |
16935 | ||
16936 | ||
16937 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { | |
16938 | PyObject *resultobj; | |
16939 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16940 | bool result; | |
16941 | PyObject * obj0 = 0 ; | |
16942 | char *kwnames[] = { | |
16943 | (char *) "self", NULL | |
16944 | }; | |
16945 | ||
16946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
16947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16949 | { | |
16950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16951 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
16952 | ||
16953 | wxPyEndAllowThreads(__tstate); | |
16954 | if (PyErr_Occurred()) SWIG_fail; | |
16955 | } | |
16956 | { | |
16957 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16958 | } | |
16959 | return resultobj; | |
16960 | fail: | |
16961 | return NULL; | |
16962 | } | |
16963 | ||
16964 | ||
16965 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { | |
16966 | PyObject *resultobj; | |
16967 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16968 | wxEvent *result; | |
16969 | PyObject * obj0 = 0 ; | |
16970 | char *kwnames[] = { | |
16971 | (char *) "self", NULL | |
16972 | }; | |
16973 | ||
16974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
16975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16977 | { | |
16978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16979 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
16980 | ||
16981 | wxPyEndAllowThreads(__tstate); | |
16982 | if (PyErr_Occurred()) SWIG_fail; | |
16983 | } | |
16984 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); | |
16985 | return resultobj; | |
16986 | fail: | |
16987 | return NULL; | |
16988 | } | |
16989 | ||
16990 | ||
16991 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { | |
16992 | PyObject *obj; | |
16993 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16994 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
16995 | Py_INCREF(obj); | |
16996 | return Py_BuildValue((char *)""); | |
16997 | } | |
16998 | static PyMethodDef SwigMethods[] = { | |
16999 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17000 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17001 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17002 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17003 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17004 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17005 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17006 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17007 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17008 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17009 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17010 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17011 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17012 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17013 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17014 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17015 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17016 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17017 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17018 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17019 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17020 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17021 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17022 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17023 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17024 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17025 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17026 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17027 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17028 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17029 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17030 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17031 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17032 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17033 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17034 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17035 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17036 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17037 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17038 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17039 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17040 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17041 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17042 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17043 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17044 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17045 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17046 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17047 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17048 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17049 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17050 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17051 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17052 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17053 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17054 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17055 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17056 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17057 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17058 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17059 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17060 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17061 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17062 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17063 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17064 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17065 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17066 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17067 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17068 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17069 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17070 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17071 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17072 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17073 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17074 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17075 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17076 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17077 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17078 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17079 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17080 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17081 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17082 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17083 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17084 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17085 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17086 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17087 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17088 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17089 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17090 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17091 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17092 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17093 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17094 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17095 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17096 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17097 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17098 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17099 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17100 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17101 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17102 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17103 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17104 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17105 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17106 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17107 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17108 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17109 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17110 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17111 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17112 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17113 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17114 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17115 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17116 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17117 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17118 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17119 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17120 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17121 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17122 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17123 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17124 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17125 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17126 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17127 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17128 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17129 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17130 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17131 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17132 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17133 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17134 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17135 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17136 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17137 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17138 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17139 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17140 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17141 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17142 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17143 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17144 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17145 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17146 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17147 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17148 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17149 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17150 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17151 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17152 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17153 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17154 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17155 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17156 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17157 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17158 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17159 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17160 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17161 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17162 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17163 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17164 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17165 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17166 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17167 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17168 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17169 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17170 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17171 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17172 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17173 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17174 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17175 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17176 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17177 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17178 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17179 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17180 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17181 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17182 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17183 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17184 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17185 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17186 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17187 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17188 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17189 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17190 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17191 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17192 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17193 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17194 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17195 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17196 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17197 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17198 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17199 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17200 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17201 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17202 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17203 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17204 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17205 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17206 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17207 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17208 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17209 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17210 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17211 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17212 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17213 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17214 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17215 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17216 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17217 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17218 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17219 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17220 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17221 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17222 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17223 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17224 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17225 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17226 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17227 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17228 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17229 | { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17230 | { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17231 | { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17232 | { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17233 | { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17234 | { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17235 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17236 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17237 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17238 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17239 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17240 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17241 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17242 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17243 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17244 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17245 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17246 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17247 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17248 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17249 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17250 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17251 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17252 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17253 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17254 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17255 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17256 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17257 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17258 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17259 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17260 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17261 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17262 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17263 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17264 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17265 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17266 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17267 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17268 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17269 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17270 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17271 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17272 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17273 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17274 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17275 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17276 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17277 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17278 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17279 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17280 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17281 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17282 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17283 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17284 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17285 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17286 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17287 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17288 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17289 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17290 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17291 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17292 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17293 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17294 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17295 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17296 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17297 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17298 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17299 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17300 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17301 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17302 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17303 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17304 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17305 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17306 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17307 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17308 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17309 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17310 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17311 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17312 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17313 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17314 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17315 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17316 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17317 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17318 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17319 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17320 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17321 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17322 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17323 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17324 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17325 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17326 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17327 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17328 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17329 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17330 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17331 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17332 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17333 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17334 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17335 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17336 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17337 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17338 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17339 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17340 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17341 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17342 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17343 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17344 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17345 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17346 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17347 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17348 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17349 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17350 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17351 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17352 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17353 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17354 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17355 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17356 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17357 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17358 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17359 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17360 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17361 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17362 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17363 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17364 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17365 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17366 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17367 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17368 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17369 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17370 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17371 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17372 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17373 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17374 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17375 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17376 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17377 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17378 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17379 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17380 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17381 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17382 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17383 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17384 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17385 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17386 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17387 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17388 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17389 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17390 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17391 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17392 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17393 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17394 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17395 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17396 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17397 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17398 | { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17399 | { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17400 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17401 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17402 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17403 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17404 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17405 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17406 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17407 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17408 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17409 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17410 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17411 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17412 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17413 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17414 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17415 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17416 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17417 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17418 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17419 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17420 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17421 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17422 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17423 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17424 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17425 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17426 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17427 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17428 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17429 | { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17430 | { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17431 | { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17432 | { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17433 | { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17434 | { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17435 | { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17436 | { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17437 | { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17438 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL}, | |
17439 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17440 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17441 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17442 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17443 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17444 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17445 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17446 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17447 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17448 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17449 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17450 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17451 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17452 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17453 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17454 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17455 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17456 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17457 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17458 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17459 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17460 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17461 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17462 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17463 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17464 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17465 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17466 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17467 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17468 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17469 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17470 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17471 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17472 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17473 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17474 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17475 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17476 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17477 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17478 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17479 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17480 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17481 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17482 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17483 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17484 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17485 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL}, | |
17486 | { NULL, NULL, 0, NULL } | |
17487 | }; | |
17488 | ||
17489 | ||
17490 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17491 | ||
17492 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
17493 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
17494 | } | |
17495 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
17496 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
17497 | } | |
17498 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
17499 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
17500 | } | |
17501 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
17502 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
17503 | } | |
17504 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
17505 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
17506 | } | |
17507 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
17508 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
17509 | } | |
17510 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
17511 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
17512 | } | |
17513 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
17514 | return (void *)((wxObject *) ((wxSizer *) x)); | |
17515 | } | |
17516 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
17517 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
17518 | } | |
17519 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { | |
17520 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
17521 | } | |
17522 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
17523 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17524 | } | |
17525 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
17526 | return (void *)((wxObject *) ((wxEvent *) x)); | |
17527 | } | |
17528 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17529 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17530 | } | |
17531 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17532 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17533 | } | |
17534 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17535 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17536 | } | |
17537 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17538 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17539 | } | |
17540 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17541 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17542 | } | |
17543 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { | |
17544 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17545 | } | |
17546 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17547 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17548 | } | |
17549 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17550 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17551 | } | |
17552 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17553 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17554 | } | |
17555 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17556 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17557 | } | |
17558 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17559 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17560 | } | |
17561 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17562 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17563 | } | |
17564 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { | |
17565 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
17566 | } | |
17567 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
17568 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
17569 | } | |
17570 | static void *_p_wxClipboardTo_p_wxObject(void *x) { | |
17571 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
17572 | } | |
17573 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
17574 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17575 | } | |
17576 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
17577 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17578 | } | |
17579 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17580 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17581 | } | |
17582 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17583 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17584 | } | |
17585 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17586 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17587 | } | |
17588 | static void *_p_wxToolTipTo_p_wxObject(void *x) { | |
17589 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
17590 | } | |
17591 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17592 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17593 | } | |
17594 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
17595 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
17596 | } | |
17597 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
17598 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17599 | } | |
17600 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17601 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17602 | } | |
17603 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17604 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17605 | } | |
17606 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17607 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17608 | } | |
17609 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17610 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17611 | } | |
17612 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17613 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17614 | } | |
17615 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17616 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17617 | } | |
17618 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17619 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17620 | } | |
17621 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17622 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17623 | } | |
17624 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17625 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17626 | } | |
17627 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17628 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17629 | } | |
17630 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17631 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17632 | } | |
17633 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17634 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17635 | } | |
17636 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17637 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17638 | } | |
17639 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17640 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17641 | } | |
17642 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17643 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17644 | } | |
17645 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17646 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17647 | } | |
17648 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17649 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17650 | } | |
17651 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17652 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17653 | } | |
17654 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17655 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17656 | } | |
17657 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
17658 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17659 | } | |
17660 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { | |
17661 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17662 | } | |
17663 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
17664 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17665 | } | |
17666 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17667 | return (void *)((wxObject *) ((wxImage *) x)); | |
17668 | } | |
17669 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17670 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17671 | } | |
17672 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { | |
17673 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
17674 | } | |
17675 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
17676 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
17677 | } | |
17678 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
17679 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17680 | } | |
17681 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17682 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17683 | } | |
17684 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17685 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17686 | } | |
17687 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17688 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17689 | } | |
17690 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17691 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17692 | } | |
17693 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17694 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17695 | } | |
17696 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { | |
17697 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
17698 | } | |
17699 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17700 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17701 | } | |
17702 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17703 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17704 | } | |
17705 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17706 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17707 | } | |
17708 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17709 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17710 | } | |
17711 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17712 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17713 | } | |
17714 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17715 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17716 | } | |
17717 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17718 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17719 | } | |
17720 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { | |
17721 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
17722 | } | |
17723 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17724 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17725 | } | |
17726 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17727 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17728 | } | |
17729 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17730 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17731 | } | |
17732 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17733 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17734 | } | |
17735 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17736 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17737 | } | |
17738 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { | |
17739 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
17740 | } | |
17741 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17742 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17743 | } | |
17744 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17745 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17746 | } | |
17747 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17748 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17749 | } | |
17750 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { | |
17751 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
17752 | } | |
17753 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
17754 | return (void *)((wxWindow *) ((wxControl *) x)); | |
17755 | } | |
17756 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
17757 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
17758 | } | |
17759 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
17760 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
17761 | } | |
17762 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
17763 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
17764 | } | |
17765 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17766 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17767 | } | |
17768 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17769 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17770 | } | |
17771 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17772 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17773 | } | |
17774 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
17775 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
17776 | } | |
17777 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
17778 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17779 | } | |
17780 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
17781 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17782 | } | |
17783 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
17784 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17785 | } | |
17786 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
17787 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17788 | } | |
17789 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
17790 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17791 | } | |
17792 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
17793 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17794 | } | |
17795 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
17796 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
17797 | } | |
17798 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
17799 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
17800 | } | |
17801 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
17802 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17803 | } | |
17804 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
17805 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
17806 | } | |
17807 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { | |
17808 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
17809 | } | |
17810 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { | |
17811 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17812 | } | |
17813 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
17814 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
17815 | } | |
17816 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
17817 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
17818 | } | |
17819 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
17820 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
17821 | } | |
17822 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
17823 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
17824 | } | |
17825 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { | |
17826 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
17827 | } | |
17828 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
17829 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
17830 | } | |
17831 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
17832 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
17833 | } | |
17834 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
17835 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17836 | } | |
17837 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
17838 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
17839 | } | |
17840 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
17841 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
17842 | } | |
17843 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
17844 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
17845 | } | |
17846 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
17847 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
17848 | } | |
17849 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
17850 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
17851 | } | |
17852 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { | |
17853 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
17854 | } | |
17855 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
17856 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
17857 | } | |
17858 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
17859 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
17860 | } | |
17861 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
17862 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
17863 | } | |
17864 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
17865 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17866 | } | |
17867 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { | |
17868 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
17869 | } | |
17870 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
17871 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
17872 | } | |
17873 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
17874 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17875 | } | |
17876 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
17877 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17878 | } | |
17879 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
17880 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
17881 | } | |
17882 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
17883 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
17884 | } | |
17885 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
17886 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
17887 | } | |
17888 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
17889 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
17890 | } | |
17891 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
17892 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
17893 | } | |
17894 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
17895 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
17896 | } | |
17897 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
17898 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
17899 | } | |
17900 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
17901 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
17902 | } | |
17903 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
17904 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17905 | } | |
17906 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
17907 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17908 | } | |
17909 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
17910 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17911 | } | |
17912 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
17913 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17914 | } | |
17915 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
17916 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17917 | } | |
17918 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
17919 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17920 | } | |
17921 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
17922 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
17923 | } | |
17924 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
17925 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
17926 | } | |
17927 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
17928 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17929 | } | |
17930 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { | |
17931 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
17932 | } | |
17933 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
17934 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
17935 | } | |
17936 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
17937 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
17938 | } | |
17939 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
17940 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17941 | } | |
17942 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
17943 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17944 | } | |
17945 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
17946 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17947 | } | |
17948 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
17949 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
17950 | } | |
17951 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
17952 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
17953 | } | |
17954 | 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}}; | |
17955 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
17956 | 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}}; | |
17957 | 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}}; | |
17958 | 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}}; | |
17959 | 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}}; | |
17960 | 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}}; | |
17961 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
17962 | 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}}; | |
17963 | 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}}; | |
17964 | 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}}; | |
17965 | 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}}; | |
17966 | 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}}; | |
17967 | 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}}; | |
17968 | 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}}; | |
17969 | 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}}; | |
17970 | 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}}; | |
17971 | 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}}; | |
17972 | 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}}; | |
17973 | 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}}; | |
17974 | 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}}; | |
17975 | 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}}; | |
17976 | 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}}; | |
17977 | 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}}; | |
17978 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
17979 | 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}}; | |
17980 | 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}}; | |
17981 | 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}}; | |
17982 | ||
17983 | static swig_type_info *swig_types_initial[] = { | |
17984 | _swigt__p_wxRect, | |
17985 | _swigt__p_wxObject, | |
17986 | _swigt__p_unsigned_char, | |
17987 | _swigt__p_wxColour, | |
17988 | _swigt__p_wxScrollBar, | |
17989 | _swigt__p_wxStyledTextEvent, | |
17990 | _swigt__p_wxWindow, | |
17991 | _swigt__p_wxCommandEvent, | |
17992 | _swigt__p_unsigned_long, | |
17993 | _swigt__p_wxBitmap, | |
17994 | _swigt__p_unsigned_int, | |
17995 | _swigt__unsigned_int, | |
17996 | _swigt__p_form_ops_t, | |
17997 | _swigt__p_wxDuplexMode, | |
17998 | _swigt__p_void, | |
17999 | _swigt__p_char, | |
18000 | _swigt__p_wxPoint, | |
18001 | _swigt__p_wxDC, | |
18002 | _swigt__p_wxEvtHandler, | |
18003 | _swigt__std__ptrdiff_t, | |
18004 | _swigt__ptrdiff_t, | |
18005 | _swigt__p_wxStyledTextCtrl, | |
18006 | _swigt__p_wxFont, | |
18007 | _swigt__p_wxControl, | |
18008 | _swigt__p_wxEvent, | |
18009 | _swigt__p_wxPaperSize, | |
18010 | _swigt__p_int, | |
18011 | _swigt__p_wxMemoryBuffer, | |
18012 | 0 | |
18013 | }; | |
18014 | ||
18015 | ||
18016 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18017 | ||
18018 | static swig_const_info swig_const_table[] = { | |
18019 | {0, 0, 0, 0.0, 0, 0}}; | |
18020 | ||
18021 | #ifdef __cplusplus | |
18022 | } | |
18023 | #endif | |
18024 | ||
18025 | ||
18026 | #ifdef __cplusplus | |
18027 | extern "C" { | |
18028 | #endif | |
18029 | ||
18030 | /* Python-specific SWIG API */ | |
18031 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18032 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18033 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18034 | ||
18035 | /* ----------------------------------------------------------------------------- | |
18036 | * global variable support code. | |
18037 | * ----------------------------------------------------------------------------- */ | |
18038 | ||
18039 | typedef struct swig_globalvar { | |
18040 | char *name; /* Name of global variable */ | |
18041 | PyObject *(*get_attr)(); /* Return the current value */ | |
18042 | int (*set_attr)(PyObject *); /* Set the value */ | |
18043 | struct swig_globalvar *next; | |
18044 | } swig_globalvar; | |
18045 | ||
18046 | typedef struct swig_varlinkobject { | |
18047 | PyObject_HEAD | |
18048 | swig_globalvar *vars; | |
18049 | } swig_varlinkobject; | |
18050 | ||
18051 | static PyObject * | |
18052 | swig_varlink_repr(swig_varlinkobject *v) { | |
18053 | v = v; | |
18054 | return PyString_FromString("<Swig global variables>"); | |
18055 | } | |
18056 | ||
18057 | static int | |
18058 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
18059 | swig_globalvar *var; | |
18060 | flags = flags; | |
18061 | fprintf(fp,"Swig global variables { "); | |
18062 | for (var = v->vars; var; var=var->next) { | |
18063 | fprintf(fp,"%s", var->name); | |
18064 | if (var->next) fprintf(fp,", "); | |
18065 | } | |
18066 | fprintf(fp," }\n"); | |
18067 | return 0; | |
18068 | } | |
18069 | ||
18070 | static PyObject * | |
18071 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
18072 | swig_globalvar *var = v->vars; | |
18073 | while (var) { | |
18074 | if (strcmp(var->name,n) == 0) { | |
18075 | return (*var->get_attr)(); | |
18076 | } | |
18077 | var = var->next; | |
18078 | } | |
18079 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18080 | return NULL; | |
18081 | } | |
18082 | ||
18083 | static int | |
18084 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
18085 | swig_globalvar *var = v->vars; | |
18086 | while (var) { | |
18087 | if (strcmp(var->name,n) == 0) { | |
18088 | return (*var->set_attr)(p); | |
18089 | } | |
18090 | var = var->next; | |
18091 | } | |
18092 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18093 | return 1; | |
18094 | } | |
18095 | ||
18096 | static PyTypeObject varlinktype = { | |
18097 | PyObject_HEAD_INIT(0) | |
18098 | 0, /* Number of items in variable part (ob_size) */ | |
18099 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18100 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18101 | 0, /* Itemsize (tp_itemsize) */ | |
18102 | 0, /* Deallocator (tp_dealloc) */ | |
18103 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18104 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18105 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18106 | 0, /* tp_compare */ | |
18107 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18108 | 0, /* tp_as_number */ | |
18109 | 0, /* tp_as_sequence */ | |
18110 | 0, /* tp_as_mapping */ | |
18111 | 0, /* tp_hash */ | |
18112 | 0, /* tp_call */ | |
18113 | 0, /* tp_str */ | |
18114 | 0, /* tp_getattro */ | |
18115 | 0, /* tp_setattro */ | |
18116 | 0, /* tp_as_buffer */ | |
18117 | 0, /* tp_flags */ | |
18118 | 0, /* tp_doc */ | |
18119 | #if PY_VERSION_HEX >= 0x02000000 | |
18120 | 0, /* tp_traverse */ | |
18121 | 0, /* tp_clear */ | |
18122 | #endif | |
18123 | #if PY_VERSION_HEX >= 0x02010000 | |
18124 | 0, /* tp_richcompare */ | |
18125 | 0, /* tp_weaklistoffset */ | |
18126 | #endif | |
18127 | #if PY_VERSION_HEX >= 0x02020000 | |
18128 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18129 | #endif | |
18130 | #if PY_VERSION_HEX >= 0x02030000 | |
18131 | 0, /* tp_del */ | |
18132 | #endif | |
18133 | #ifdef COUNT_ALLOCS | |
18134 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18135 | #endif | |
18136 | }; | |
18137 | ||
18138 | /* Create a variable linking object for use later */ | |
18139 | static PyObject * | |
18140 | SWIG_Python_newvarlink(void) { | |
18141 | swig_varlinkobject *result = 0; | |
18142 | result = PyMem_NEW(swig_varlinkobject,1); | |
18143 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
18144 | result->ob_type = &varlinktype; | |
18145 | result->vars = 0; | |
18146 | result->ob_refcnt = 0; | |
18147 | Py_XINCREF((PyObject *) result); | |
18148 | return ((PyObject*) result); | |
18149 | } | |
18150 | ||
18151 | static void | |
18152 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18153 | swig_varlinkobject *v; | |
18154 | swig_globalvar *gv; | |
18155 | v= (swig_varlinkobject *) p; | |
18156 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18157 | gv->name = (char *) malloc(strlen(name)+1); | |
18158 | strcpy(gv->name,name); | |
18159 | gv->get_attr = get_attr; | |
18160 | gv->set_attr = set_attr; | |
18161 | gv->next = v->vars; | |
18162 | v->vars = gv; | |
18163 | } | |
18164 | ||
18165 | /* ----------------------------------------------------------------------------- | |
18166 | * constants/methods manipulation | |
18167 | * ----------------------------------------------------------------------------- */ | |
18168 | ||
18169 | /* Install Constants */ | |
18170 | static void | |
18171 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
18172 | PyObject *obj = 0; | |
18173 | size_t i; | |
18174 | for (i = 0; constants[i].type; i++) { | |
18175 | switch(constants[i].type) { | |
18176 | case SWIG_PY_INT: | |
18177 | obj = PyInt_FromLong(constants[i].lvalue); | |
18178 | break; | |
18179 | case SWIG_PY_FLOAT: | |
18180 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
18181 | break; | |
18182 | case SWIG_PY_STRING: | |
18183 | if (constants[i].pvalue) { | |
18184 | obj = PyString_FromString((char *) constants[i].pvalue); | |
18185 | } else { | |
18186 | Py_INCREF(Py_None); | |
18187 | obj = Py_None; | |
18188 | } | |
18189 | break; | |
18190 | case SWIG_PY_POINTER: | |
18191 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
18192 | break; | |
18193 | case SWIG_PY_BINARY: | |
18194 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
18195 | break; | |
18196 | default: | |
18197 | obj = 0; | |
18198 | break; | |
18199 | } | |
18200 | if (obj) { | |
18201 | PyDict_SetItemString(d,constants[i].name,obj); | |
18202 | Py_DECREF(obj); | |
18203 | } | |
18204 | } | |
18205 | } | |
18206 | ||
18207 | /* -----------------------------------------------------------------------------*/ | |
18208 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18209 | /* -----------------------------------------------------------------------------*/ | |
18210 | ||
18211 | static void | |
18212 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
18213 | swig_const_info *const_table, | |
18214 | swig_type_info **types, | |
18215 | swig_type_info **types_initial) { | |
18216 | size_t i; | |
18217 | for (i = 0; methods[i].ml_name; ++i) { | |
18218 | char *c = methods[i].ml_doc; | |
18219 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
18220 | int j; | |
18221 | swig_const_info *ci = 0; | |
18222 | char *name = c + 10; | |
18223 | for (j = 0; const_table[j].type; j++) { | |
18224 | if (strncmp(const_table[j].name, name, | |
18225 | strlen(const_table[j].name)) == 0) { | |
18226 | ci = &(const_table[j]); | |
18227 | break; | |
18228 | } | |
18229 | } | |
18230 | if (ci) { | |
18231 | size_t shift = (ci->ptype) - types; | |
18232 | swig_type_info *ty = types_initial[shift]; | |
18233 | size_t ldoc = (c - methods[i].ml_doc); | |
18234 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
18235 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
18236 | char *buff = ndoc; | |
18237 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
18238 | strncpy(buff, methods[i].ml_doc, ldoc); | |
18239 | buff += ldoc; | |
18240 | strncpy(buff, "swig_ptr: ", 10); | |
18241 | buff += 10; | |
18242 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
18243 | methods[i].ml_doc = ndoc; | |
18244 | } | |
18245 | } | |
18246 | } | |
18247 | } | |
18248 | ||
18249 | /* -----------------------------------------------------------------------------* | |
18250 | * Initialize type list | |
18251 | * -----------------------------------------------------------------------------*/ | |
18252 | ||
18253 | #if PY_MAJOR_VERSION < 2 | |
18254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
18255 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
18256 | static int | |
18257 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
18258 | { | |
18259 | PyObject *dict; | |
18260 | if (!PyModule_Check(m)) { | |
18261 | PyErr_SetString(PyExc_TypeError, | |
18262 | "PyModule_AddObject() needs module as first arg"); | |
18263 | return -1; | |
18264 | } | |
18265 | if (!o) { | |
18266 | PyErr_SetString(PyExc_TypeError, | |
18267 | "PyModule_AddObject() needs non-NULL value"); | |
18268 | return -1; | |
18269 | } | |
18270 | ||
18271 | dict = PyModule_GetDict(m); | |
18272 | if (dict == NULL) { | |
18273 | /* Internal error -- modules must have a dict! */ | |
18274 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
18275 | PyModule_GetName(m)); | |
18276 | return -1; | |
18277 | } | |
18278 | if (PyDict_SetItemString(dict, name, o)) | |
18279 | return -1; | |
18280 | Py_DECREF(o); | |
18281 | return 0; | |
18282 | } | |
18283 | #endif | |
18284 | ||
18285 | static swig_type_info ** | |
18286 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
18287 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
18288 | { | |
18289 | NULL, NULL, 0, NULL | |
18290 | } | |
18291 | };/* Sentinel */ | |
18292 | ||
18293 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
18294 | swig_empty_runtime_method_table); | |
18295 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
18296 | if (pointer && module) { | |
18297 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
18298 | } | |
18299 | return type_list_handle; | |
18300 | } | |
18301 | ||
18302 | static swig_type_info ** | |
18303 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
18304 | swig_type_info **type_pointer; | |
18305 | ||
18306 | /* first check if module already created */ | |
18307 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
18308 | if (type_pointer) { | |
18309 | return type_pointer; | |
18310 | } else { | |
18311 | /* create a new module and variable */ | |
18312 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
18313 | } | |
18314 | } | |
18315 | ||
18316 | #ifdef __cplusplus | |
18317 | } | |
18318 | #endif | |
18319 | ||
18320 | /* -----------------------------------------------------------------------------* | |
18321 | * Partial Init method | |
18322 | * -----------------------------------------------------------------------------*/ | |
18323 | ||
18324 | #ifdef SWIG_LINK_RUNTIME | |
18325 | #ifdef __cplusplus | |
18326 | extern "C" | |
18327 | #endif | |
18328 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
18329 | #endif | |
18330 | ||
18331 | #ifdef __cplusplus | |
18332 | extern "C" | |
18333 | #endif | |
18334 | SWIGEXPORT(void) SWIG_init(void) { | |
18335 | static PyObject *SWIG_globals = 0; | |
18336 | static int typeinit = 0; | |
18337 | PyObject *m, *d; | |
18338 | int i; | |
18339 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
18340 | ||
18341 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
18342 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
18343 | ||
18344 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
18345 | d = PyModule_GetDict(m); | |
18346 | ||
18347 | if (!typeinit) { | |
18348 | #ifdef SWIG_LINK_RUNTIME | |
18349 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
18350 | #else | |
18351 | # ifndef SWIG_STATIC_RUNTIME | |
18352 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
18353 | # endif | |
18354 | #endif | |
18355 | for (i = 0; swig_types_initial[i]; i++) { | |
18356 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
18357 | } | |
18358 | typeinit = 1; | |
18359 | } | |
18360 | SWIG_InstallConstants(d,swig_const_table); | |
18361 | ||
18362 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
18363 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
18364 | { | |
18365 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1))); | |
18366 | } | |
18367 | { | |
18368 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1))); | |
18369 | } | |
18370 | { | |
18371 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1))); | |
18372 | } | |
18373 | { | |
18374 | PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000))); | |
18375 | } | |
18376 | { | |
18377 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000))); | |
18378 | } | |
18379 | { | |
18380 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000))); | |
18381 | } | |
18382 | { | |
18383 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0))); | |
18384 | } | |
18385 | { | |
18386 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1))); | |
18387 | } | |
18388 | { | |
18389 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2))); | |
18390 | } | |
18391 | { | |
18392 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0))); | |
18393 | } | |
18394 | { | |
18395 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1))); | |
18396 | } | |
18397 | { | |
18398 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2))); | |
18399 | } | |
18400 | { | |
18401 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001))); | |
18402 | } | |
18403 | { | |
18404 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1))); | |
18405 | } | |
18406 | { | |
18407 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31))); | |
18408 | } | |
18409 | { | |
18410 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0))); | |
18411 | } | |
18412 | { | |
18413 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1))); | |
18414 | } | |
18415 | { | |
18416 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2))); | |
18417 | } | |
18418 | { | |
18419 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3))); | |
18420 | } | |
18421 | { | |
18422 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4))); | |
18423 | } | |
18424 | { | |
18425 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5))); | |
18426 | } | |
18427 | { | |
18428 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6))); | |
18429 | } | |
18430 | { | |
18431 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7))); | |
18432 | } | |
18433 | { | |
18434 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8))); | |
18435 | } | |
18436 | { | |
18437 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9))); | |
18438 | } | |
18439 | { | |
18440 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10))); | |
18441 | } | |
18442 | { | |
18443 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11))); | |
18444 | } | |
18445 | { | |
18446 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12))); | |
18447 | } | |
18448 | { | |
18449 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13))); | |
18450 | } | |
18451 | { | |
18452 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14))); | |
18453 | } | |
18454 | { | |
18455 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15))); | |
18456 | } | |
18457 | { | |
18458 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16))); | |
18459 | } | |
18460 | { | |
18461 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17))); | |
18462 | } | |
18463 | { | |
18464 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18))); | |
18465 | } | |
18466 | { | |
18467 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19))); | |
18468 | } | |
18469 | { | |
18470 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20))); | |
18471 | } | |
18472 | { | |
18473 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21))); | |
18474 | } | |
18475 | { | |
18476 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22))); | |
18477 | } | |
18478 | { | |
18479 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23))); | |
18480 | } | |
18481 | { | |
18482 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24))); | |
18483 | } | |
18484 | { | |
18485 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25))); | |
18486 | } | |
18487 | { | |
18488 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000))); | |
18489 | } | |
18490 | { | |
18491 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25))); | |
18492 | } | |
18493 | { | |
18494 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26))); | |
18495 | } | |
18496 | { | |
18497 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27))); | |
18498 | } | |
18499 | { | |
18500 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28))); | |
18501 | } | |
18502 | { | |
18503 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29))); | |
18504 | } | |
18505 | { | |
18506 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30))); | |
18507 | } | |
18508 | { | |
18509 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31))); | |
18510 | } | |
18511 | { | |
18512 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000))); | |
18513 | } | |
18514 | { | |
18515 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0))); | |
18516 | } | |
18517 | { | |
18518 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1))); | |
18519 | } | |
18520 | { | |
18521 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32))); | |
18522 | } | |
18523 | { | |
18524 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33))); | |
18525 | } | |
18526 | { | |
18527 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34))); | |
18528 | } | |
18529 | { | |
18530 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35))); | |
18531 | } | |
18532 | { | |
18533 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36))); | |
18534 | } | |
18535 | { | |
18536 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37))); | |
18537 | } | |
18538 | { | |
18539 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39))); | |
18540 | } | |
18541 | { | |
18542 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127))); | |
18543 | } | |
18544 | { | |
18545 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0))); | |
18546 | } | |
18547 | { | |
18548 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1))); | |
18549 | } | |
18550 | { | |
18551 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186))); | |
18552 | } | |
18553 | { | |
18554 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136))); | |
18555 | } | |
18556 | { | |
18557 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238))); | |
18558 | } | |
18559 | { | |
18560 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134))); | |
18561 | } | |
18562 | { | |
18563 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161))); | |
18564 | } | |
18565 | { | |
18566 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129))); | |
18567 | } | |
18568 | { | |
18569 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77))); | |
18570 | } | |
18571 | { | |
18572 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255))); | |
18573 | } | |
18574 | { | |
18575 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204))); | |
18576 | } | |
18577 | { | |
18578 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128))); | |
18579 | } | |
18580 | { | |
18581 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2))); | |
18582 | } | |
18583 | { | |
18584 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162))); | |
18585 | } | |
18586 | { | |
18587 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130))); | |
18588 | } | |
18589 | { | |
18590 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177))); | |
18591 | } | |
18592 | { | |
18593 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178))); | |
18594 | } | |
18595 | { | |
18596 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163))); | |
18597 | } | |
18598 | { | |
18599 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222))); | |
18600 | } | |
18601 | { | |
18602 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0))); | |
18603 | } | |
18604 | { | |
18605 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1))); | |
18606 | } | |
18607 | { | |
18608 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2))); | |
18609 | } | |
18610 | { | |
18611 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7))); | |
18612 | } | |
18613 | { | |
18614 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0))); | |
18615 | } | |
18616 | { | |
18617 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1))); | |
18618 | } | |
18619 | { | |
18620 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2))); | |
18621 | } | |
18622 | { | |
18623 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3))); | |
18624 | } | |
18625 | { | |
18626 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4))); | |
18627 | } | |
18628 | { | |
18629 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5))); | |
18630 | } | |
18631 | { | |
18632 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6))); | |
18633 | } | |
18634 | { | |
18635 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20))); | |
18636 | } | |
18637 | { | |
18638 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40))); | |
18639 | } | |
18640 | { | |
18641 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80))); | |
18642 | } | |
18643 | { | |
18644 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0))); | |
18645 | } | |
18646 | { | |
18647 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0))); | |
18648 | } | |
18649 | { | |
18650 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1))); | |
18651 | } | |
18652 | { | |
18653 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2))); | |
18654 | } | |
18655 | { | |
18656 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3))); | |
18657 | } | |
18658 | { | |
18659 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4))); | |
18660 | } | |
18661 | { | |
18662 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2))); | |
18663 | } | |
18664 | { | |
18665 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4))); | |
18666 | } | |
18667 | { | |
18668 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000))); | |
18669 | } | |
18670 | { | |
18671 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000))); | |
18672 | } | |
18673 | { | |
18674 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000))); | |
18675 | } | |
18676 | { | |
18677 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400))); | |
18678 | } | |
18679 | { | |
18680 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000))); | |
18681 | } | |
18682 | { | |
18683 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000))); | |
18684 | } | |
18685 | { | |
18686 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000))); | |
18687 | } | |
18688 | { | |
18689 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000))); | |
18690 | } | |
18691 | { | |
18692 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000))); | |
18693 | } | |
18694 | { | |
18695 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000))); | |
18696 | } | |
18697 | { | |
18698 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF))); | |
18699 | } | |
18700 | { | |
18701 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002))); | |
18702 | } | |
18703 | { | |
18704 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004))); | |
18705 | } | |
18706 | { | |
18707 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008))); | |
18708 | } | |
18709 | { | |
18710 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010))); | |
18711 | } | |
18712 | { | |
18713 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040))); | |
18714 | } | |
18715 | { | |
18716 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001))); | |
18717 | } | |
18718 | { | |
18719 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000))); | |
18720 | } | |
18721 | { | |
18722 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0))); | |
18723 | } | |
18724 | { | |
18725 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1))); | |
18726 | } | |
18727 | { | |
18728 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000))); | |
18729 | } | |
18730 | { | |
18731 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001))); | |
18732 | } | |
18733 | { | |
18734 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002))); | |
18735 | } | |
18736 | { | |
18737 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000))); | |
18738 | } | |
18739 | { | |
18740 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001))); | |
18741 | } | |
18742 | { | |
18743 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002))); | |
18744 | } | |
18745 | { | |
18746 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0))); | |
18747 | } | |
18748 | { | |
18749 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1))); | |
18750 | } | |
18751 | { | |
18752 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2))); | |
18753 | } | |
18754 | { | |
18755 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3))); | |
18756 | } | |
18757 | { | |
18758 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0))); | |
18759 | } | |
18760 | { | |
18761 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1))); | |
18762 | } | |
18763 | { | |
18764 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2))); | |
18765 | } | |
18766 | { | |
18767 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1))); | |
18768 | } | |
18769 | { | |
18770 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4))); | |
18771 | } | |
18772 | { | |
18773 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01))); | |
18774 | } | |
18775 | { | |
18776 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04))); | |
18777 | } | |
18778 | { | |
18779 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01))); | |
18780 | } | |
18781 | { | |
18782 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04))); | |
18783 | } | |
18784 | { | |
18785 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10))); | |
18786 | } | |
18787 | { | |
18788 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08))); | |
18789 | } | |
18790 | { | |
18791 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0))); | |
18792 | } | |
18793 | { | |
18794 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1))); | |
18795 | } | |
18796 | { | |
18797 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2))); | |
18798 | } | |
18799 | { | |
18800 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8))); | |
18801 | } | |
18802 | { | |
18803 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1))); | |
18804 | } | |
18805 | { | |
18806 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2))); | |
18807 | } | |
18808 | { | |
18809 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4))); | |
18810 | } | |
18811 | { | |
18812 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8))); | |
18813 | } | |
18814 | { | |
18815 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10))); | |
18816 | } | |
18817 | { | |
18818 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20))); | |
18819 | } | |
18820 | { | |
18821 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40))); | |
18822 | } | |
18823 | { | |
18824 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100))); | |
18825 | } | |
18826 | { | |
18827 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200))); | |
18828 | } | |
18829 | { | |
18830 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400))); | |
18831 | } | |
18832 | { | |
18833 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800))); | |
18834 | } | |
18835 | { | |
18836 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77))); | |
18837 | } | |
18838 | { | |
18839 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300))); | |
18840 | } | |
18841 | { | |
18842 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301))); | |
18843 | } | |
18844 | { | |
18845 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302))); | |
18846 | } | |
18847 | { | |
18848 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303))); | |
18849 | } | |
18850 | { | |
18851 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304))); | |
18852 | } | |
18853 | { | |
18854 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305))); | |
18855 | } | |
18856 | { | |
18857 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306))); | |
18858 | } | |
18859 | { | |
18860 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307))); | |
18861 | } | |
18862 | { | |
18863 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308))); | |
18864 | } | |
18865 | { | |
18866 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309))); | |
18867 | } | |
18868 | { | |
18869 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7))); | |
18870 | } | |
18871 | { | |
18872 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8))); | |
18873 | } | |
18874 | { | |
18875 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9))); | |
18876 | } | |
18877 | { | |
18878 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13))); | |
18879 | } | |
18880 | { | |
18881 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310))); | |
18882 | } | |
18883 | { | |
18884 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311))); | |
18885 | } | |
18886 | { | |
18887 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312))); | |
18888 | } | |
18889 | { | |
18890 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1))); | |
18891 | } | |
18892 | { | |
18893 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2))); | |
18894 | } | |
18895 | { | |
18896 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4))); | |
18897 | } | |
18898 | { | |
18899 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0))); | |
18900 | } | |
18901 | { | |
18902 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1))); | |
18903 | } | |
18904 | { | |
18905 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2))); | |
18906 | } | |
18907 | { | |
18908 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3))); | |
18909 | } | |
18910 | { | |
18911 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4))); | |
18912 | } | |
18913 | { | |
18914 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5))); | |
18915 | } | |
18916 | { | |
18917 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6))); | |
18918 | } | |
18919 | { | |
18920 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7))); | |
18921 | } | |
18922 | { | |
18923 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8))); | |
18924 | } | |
18925 | { | |
18926 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9))); | |
18927 | } | |
18928 | { | |
18929 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10))); | |
18930 | } | |
18931 | { | |
18932 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11))); | |
18933 | } | |
18934 | { | |
18935 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12))); | |
18936 | } | |
18937 | { | |
18938 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13))); | |
18939 | } | |
18940 | { | |
18941 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14))); | |
18942 | } | |
18943 | { | |
18944 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15))); | |
18945 | } | |
18946 | { | |
18947 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16))); | |
18948 | } | |
18949 | { | |
18950 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17))); | |
18951 | } | |
18952 | { | |
18953 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18))); | |
18954 | } | |
18955 | { | |
18956 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19))); | |
18957 | } | |
18958 | { | |
18959 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20))); | |
18960 | } | |
18961 | { | |
18962 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21))); | |
18963 | } | |
18964 | { | |
18965 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22))); | |
18966 | } | |
18967 | { | |
18968 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23))); | |
18969 | } | |
18970 | { | |
18971 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24))); | |
18972 | } | |
18973 | { | |
18974 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25))); | |
18975 | } | |
18976 | { | |
18977 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26))); | |
18978 | } | |
18979 | { | |
18980 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27))); | |
18981 | } | |
18982 | { | |
18983 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28))); | |
18984 | } | |
18985 | { | |
18986 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29))); | |
18987 | } | |
18988 | { | |
18989 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30))); | |
18990 | } | |
18991 | { | |
18992 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31))); | |
18993 | } | |
18994 | { | |
18995 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32))); | |
18996 | } | |
18997 | { | |
18998 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33))); | |
18999 | } | |
19000 | { | |
19001 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34))); | |
19002 | } | |
19003 | { | |
19004 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35))); | |
19005 | } | |
19006 | { | |
19007 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36))); | |
19008 | } | |
19009 | { | |
19010 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37))); | |
19011 | } | |
19012 | { | |
19013 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38))); | |
19014 | } | |
19015 | { | |
19016 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39))); | |
19017 | } | |
19018 | { | |
19019 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40))); | |
19020 | } | |
19021 | { | |
19022 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41))); | |
19023 | } | |
19024 | { | |
19025 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42))); | |
19026 | } | |
19027 | { | |
19028 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43))); | |
19029 | } | |
19030 | { | |
19031 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44))); | |
19032 | } | |
19033 | { | |
19034 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45))); | |
19035 | } | |
19036 | { | |
19037 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46))); | |
19038 | } | |
19039 | { | |
19040 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47))); | |
19041 | } | |
19042 | { | |
19043 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48))); | |
19044 | } | |
19045 | { | |
19046 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49))); | |
19047 | } | |
19048 | { | |
19049 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50))); | |
19050 | } | |
19051 | { | |
19052 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51))); | |
19053 | } | |
19054 | { | |
19055 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52))); | |
19056 | } | |
19057 | { | |
19058 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53))); | |
19059 | } | |
19060 | { | |
19061 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54))); | |
19062 | } | |
19063 | { | |
19064 | PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55))); | |
19065 | } | |
19066 | { | |
19067 | PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56))); | |
19068 | } | |
19069 | { | |
19070 | PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57))); | |
19071 | } | |
19072 | { | |
19073 | PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58))); | |
19074 | } | |
19075 | { | |
19076 | PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59))); | |
19077 | } | |
19078 | { | |
19079 | PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60))); | |
19080 | } | |
19081 | { | |
19082 | PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61))); | |
19083 | } | |
19084 | { | |
19085 | PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62))); | |
19086 | } | |
19087 | { | |
19088 | PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63))); | |
19089 | } | |
19090 | { | |
19091 | PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64))); | |
19092 | } | |
19093 | { | |
19094 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000))); | |
19095 | } | |
19096 | { | |
19097 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0))); | |
19098 | } | |
19099 | { | |
19100 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1))); | |
19101 | } | |
19102 | { | |
19103 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2))); | |
19104 | } | |
19105 | { | |
19106 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3))); | |
19107 | } | |
19108 | { | |
19109 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4))); | |
19110 | } | |
19111 | { | |
19112 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5))); | |
19113 | } | |
19114 | { | |
19115 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6))); | |
19116 | } | |
19117 | { | |
19118 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7))); | |
19119 | } | |
19120 | { | |
19121 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8))); | |
19122 | } | |
19123 | { | |
19124 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9))); | |
19125 | } | |
19126 | { | |
19127 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10))); | |
19128 | } | |
19129 | { | |
19130 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11))); | |
19131 | } | |
19132 | { | |
19133 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12))); | |
19134 | } | |
19135 | { | |
19136 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13))); | |
19137 | } | |
19138 | { | |
19139 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0))); | |
19140 | } | |
19141 | { | |
19142 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1))); | |
19143 | } | |
19144 | { | |
19145 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2))); | |
19146 | } | |
19147 | { | |
19148 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3))); | |
19149 | } | |
19150 | { | |
19151 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4))); | |
19152 | } | |
19153 | { | |
19154 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5))); | |
19155 | } | |
19156 | { | |
19157 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6))); | |
19158 | } | |
19159 | { | |
19160 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7))); | |
19161 | } | |
19162 | { | |
19163 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8))); | |
19164 | } | |
19165 | { | |
19166 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19167 | } | |
19168 | { | |
19169 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10))); | |
19170 | } | |
19171 | { | |
19172 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11))); | |
19173 | } | |
19174 | { | |
19175 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12))); | |
19176 | } | |
19177 | { | |
19178 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13))); | |
19179 | } | |
19180 | { | |
19181 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14))); | |
19182 | } | |
19183 | { | |
19184 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15))); | |
19185 | } | |
19186 | { | |
19187 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16))); | |
19188 | } | |
19189 | { | |
19190 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17))); | |
19191 | } | |
19192 | { | |
19193 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18))); | |
19194 | } | |
19195 | { | |
19196 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19))); | |
19197 | } | |
19198 | { | |
19199 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0))); | |
19200 | } | |
19201 | { | |
19202 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1))); | |
19203 | } | |
19204 | { | |
19205 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2))); | |
19206 | } | |
19207 | { | |
19208 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3))); | |
19209 | } | |
19210 | { | |
19211 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4))); | |
19212 | } | |
19213 | { | |
19214 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5))); | |
19215 | } | |
19216 | { | |
19217 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6))); | |
19218 | } | |
19219 | { | |
19220 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7))); | |
19221 | } | |
19222 | { | |
19223 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8))); | |
19224 | } | |
19225 | { | |
19226 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9))); | |
19227 | } | |
19228 | { | |
19229 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10))); | |
19230 | } | |
19231 | { | |
19232 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11))); | |
19233 | } | |
19234 | { | |
19235 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12))); | |
19236 | } | |
19237 | { | |
19238 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13))); | |
19239 | } | |
19240 | { | |
19241 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14))); | |
19242 | } | |
19243 | { | |
19244 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15))); | |
19245 | } | |
19246 | { | |
19247 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16))); | |
19248 | } | |
19249 | { | |
19250 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17))); | |
19251 | } | |
19252 | { | |
19253 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18))); | |
19254 | } | |
19255 | { | |
19256 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19))); | |
19257 | } | |
19258 | { | |
19259 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20))); | |
19260 | } | |
19261 | { | |
19262 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21))); | |
19263 | } | |
19264 | { | |
19265 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22))); | |
19266 | } | |
19267 | { | |
19268 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23))); | |
19269 | } | |
19270 | { | |
19271 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24))); | |
19272 | } | |
19273 | { | |
19274 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25))); | |
19275 | } | |
19276 | { | |
19277 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26))); | |
19278 | } | |
19279 | { | |
19280 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27))); | |
19281 | } | |
19282 | { | |
19283 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28))); | |
19284 | } | |
19285 | { | |
19286 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29))); | |
19287 | } | |
19288 | { | |
19289 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30))); | |
19290 | } | |
19291 | { | |
19292 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31))); | |
19293 | } | |
19294 | { | |
19295 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40))); | |
19296 | } | |
19297 | { | |
19298 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41))); | |
19299 | } | |
19300 | { | |
19301 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42))); | |
19302 | } | |
19303 | { | |
19304 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43))); | |
19305 | } | |
19306 | { | |
19307 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44))); | |
19308 | } | |
19309 | { | |
19310 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45))); | |
19311 | } | |
19312 | { | |
19313 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46))); | |
19314 | } | |
19315 | { | |
19316 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47))); | |
19317 | } | |
19318 | { | |
19319 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48))); | |
19320 | } | |
19321 | { | |
19322 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49))); | |
19323 | } | |
19324 | { | |
19325 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50))); | |
19326 | } | |
19327 | { | |
19328 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51))); | |
19329 | } | |
19330 | { | |
19331 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52))); | |
19332 | } | |
19333 | { | |
19334 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55))); | |
19335 | } | |
19336 | { | |
19337 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56))); | |
19338 | } | |
19339 | { | |
19340 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57))); | |
19341 | } | |
19342 | { | |
19343 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58))); | |
19344 | } | |
19345 | { | |
19346 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59))); | |
19347 | } | |
19348 | { | |
19349 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60))); | |
19350 | } | |
19351 | { | |
19352 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61))); | |
19353 | } | |
19354 | { | |
19355 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62))); | |
19356 | } | |
19357 | { | |
19358 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63))); | |
19359 | } | |
19360 | { | |
19361 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64))); | |
19362 | } | |
19363 | { | |
19364 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65))); | |
19365 | } | |
19366 | { | |
19367 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66))); | |
19368 | } | |
19369 | { | |
19370 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67))); | |
19371 | } | |
19372 | { | |
19373 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70))); | |
19374 | } | |
19375 | { | |
19376 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71))); | |
19377 | } | |
19378 | { | |
19379 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72))); | |
19380 | } | |
19381 | { | |
19382 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73))); | |
19383 | } | |
19384 | { | |
19385 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74))); | |
19386 | } | |
19387 | { | |
19388 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75))); | |
19389 | } | |
19390 | { | |
19391 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76))); | |
19392 | } | |
19393 | { | |
19394 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77))); | |
19395 | } | |
19396 | { | |
19397 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80))); | |
19398 | } | |
19399 | { | |
19400 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81))); | |
19401 | } | |
19402 | { | |
19403 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82))); | |
19404 | } | |
19405 | { | |
19406 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83))); | |
19407 | } | |
19408 | { | |
19409 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84))); | |
19410 | } | |
19411 | { | |
19412 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85))); | |
19413 | } | |
19414 | { | |
19415 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86))); | |
19416 | } | |
19417 | { | |
19418 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87))); | |
19419 | } | |
19420 | { | |
19421 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90))); | |
19422 | } | |
19423 | { | |
19424 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91))); | |
19425 | } | |
19426 | { | |
19427 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92))); | |
19428 | } | |
19429 | { | |
19430 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93))); | |
19431 | } | |
19432 | { | |
19433 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94))); | |
19434 | } | |
19435 | { | |
19436 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95))); | |
19437 | } | |
19438 | { | |
19439 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96))); | |
19440 | } | |
19441 | { | |
19442 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97))); | |
19443 | } | |
19444 | { | |
19445 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98))); | |
19446 | } | |
19447 | { | |
19448 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99))); | |
19449 | } | |
19450 | { | |
19451 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100))); | |
19452 | } | |
19453 | { | |
19454 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101))); | |
19455 | } | |
19456 | { | |
19457 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102))); | |
19458 | } | |
19459 | { | |
19460 | PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104))); | |
19461 | } | |
19462 | { | |
19463 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105))); | |
19464 | } | |
19465 | { | |
19466 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106))); | |
19467 | } | |
19468 | { | |
19469 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107))); | |
19470 | } | |
19471 | { | |
19472 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108))); | |
19473 | } | |
19474 | { | |
19475 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109))); | |
19476 | } | |
19477 | { | |
19478 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110))); | |
19479 | } | |
19480 | { | |
19481 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111))); | |
19482 | } | |
19483 | { | |
19484 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112))); | |
19485 | } | |
19486 | { | |
19487 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113))); | |
19488 | } | |
19489 | { | |
19490 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114))); | |
19491 | } | |
19492 | { | |
19493 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115))); | |
19494 | } | |
19495 | { | |
19496 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116))); | |
19497 | } | |
19498 | { | |
19499 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117))); | |
19500 | } | |
19501 | { | |
19502 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118))); | |
19503 | } | |
19504 | { | |
19505 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119))); | |
19506 | } | |
19507 | { | |
19508 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120))); | |
19509 | } | |
19510 | { | |
19511 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121))); | |
19512 | } | |
19513 | { | |
19514 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122))); | |
19515 | } | |
19516 | { | |
19517 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123))); | |
19518 | } | |
19519 | { | |
19520 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124))); | |
19521 | } | |
19522 | { | |
19523 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125))); | |
19524 | } | |
19525 | { | |
19526 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126))); | |
19527 | } | |
19528 | { | |
19529 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127))); | |
19530 | } | |
19531 | { | |
19532 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0))); | |
19533 | } | |
19534 | { | |
19535 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1))); | |
19536 | } | |
19537 | { | |
19538 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2))); | |
19539 | } | |
19540 | { | |
19541 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3))); | |
19542 | } | |
19543 | { | |
19544 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4))); | |
19545 | } | |
19546 | { | |
19547 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5))); | |
19548 | } | |
19549 | { | |
19550 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6))); | |
19551 | } | |
19552 | { | |
19553 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7))); | |
19554 | } | |
19555 | { | |
19556 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8))); | |
19557 | } | |
19558 | { | |
19559 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19560 | } | |
19561 | { | |
19562 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10))); | |
19563 | } | |
19564 | { | |
19565 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11))); | |
19566 | } | |
19567 | { | |
19568 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12))); | |
19569 | } | |
19570 | { | |
19571 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13))); | |
19572 | } | |
19573 | { | |
19574 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14))); | |
19575 | } | |
19576 | { | |
19577 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15))); | |
19578 | } | |
19579 | { | |
19580 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17))); | |
19581 | } | |
19582 | { | |
19583 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18))); | |
19584 | } | |
19585 | { | |
19586 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19))); | |
19587 | } | |
19588 | { | |
19589 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20))); | |
19590 | } | |
19591 | { | |
19592 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21))); | |
19593 | } | |
19594 | { | |
19595 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22))); | |
19596 | } | |
19597 | { | |
19598 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23))); | |
19599 | } | |
19600 | { | |
19601 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24))); | |
19602 | } | |
19603 | { | |
19604 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25))); | |
19605 | } | |
19606 | { | |
19607 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26))); | |
19608 | } | |
19609 | { | |
19610 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27))); | |
19611 | } | |
19612 | { | |
19613 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28))); | |
19614 | } | |
19615 | { | |
19616 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29))); | |
19617 | } | |
19618 | { | |
19619 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30))); | |
19620 | } | |
19621 | { | |
19622 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0))); | |
19623 | } | |
19624 | { | |
19625 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1))); | |
19626 | } | |
19627 | { | |
19628 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2))); | |
19629 | } | |
19630 | { | |
19631 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3))); | |
19632 | } | |
19633 | { | |
19634 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4))); | |
19635 | } | |
19636 | { | |
19637 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5))); | |
19638 | } | |
19639 | { | |
19640 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6))); | |
19641 | } | |
19642 | { | |
19643 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7))); | |
19644 | } | |
19645 | { | |
19646 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8))); | |
19647 | } | |
19648 | { | |
19649 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9))); | |
19650 | } | |
19651 | { | |
19652 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10))); | |
19653 | } | |
19654 | { | |
19655 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11))); | |
19656 | } | |
19657 | { | |
19658 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12))); | |
19659 | } | |
19660 | { | |
19661 | PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13))); | |
19662 | } | |
19663 | { | |
19664 | PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14))); | |
19665 | } | |
19666 | { | |
19667 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0))); | |
19668 | } | |
19669 | { | |
19670 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1))); | |
19671 | } | |
19672 | { | |
19673 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2))); | |
19674 | } | |
19675 | { | |
19676 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3))); | |
19677 | } | |
19678 | { | |
19679 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4))); | |
19680 | } | |
19681 | { | |
19682 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0))); | |
19683 | } | |
19684 | { | |
19685 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1))); | |
19686 | } | |
19687 | { | |
19688 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2))); | |
19689 | } | |
19690 | { | |
19691 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3))); | |
19692 | } | |
19693 | { | |
19694 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4))); | |
19695 | } | |
19696 | { | |
19697 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0))); | |
19698 | } | |
19699 | { | |
19700 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1))); | |
19701 | } | |
19702 | { | |
19703 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2))); | |
19704 | } | |
19705 | { | |
19706 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3))); | |
19707 | } | |
19708 | { | |
19709 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4))); | |
19710 | } | |
19711 | { | |
19712 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5))); | |
19713 | } | |
19714 | { | |
19715 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6))); | |
19716 | } | |
19717 | { | |
19718 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7))); | |
19719 | } | |
19720 | { | |
19721 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8))); | |
19722 | } | |
19723 | { | |
19724 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9))); | |
19725 | } | |
19726 | { | |
19727 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10))); | |
19728 | } | |
19729 | { | |
19730 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11))); | |
19731 | } | |
19732 | { | |
19733 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12))); | |
19734 | } | |
19735 | { | |
19736 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13))); | |
19737 | } | |
19738 | { | |
19739 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14))); | |
19740 | } | |
19741 | { | |
19742 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15))); | |
19743 | } | |
19744 | { | |
19745 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16))); | |
19746 | } | |
19747 | { | |
19748 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17))); | |
19749 | } | |
19750 | { | |
19751 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18))); | |
19752 | } | |
19753 | { | |
19754 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19))); | |
19755 | } | |
19756 | { | |
19757 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0))); | |
19758 | } | |
19759 | { | |
19760 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1))); | |
19761 | } | |
19762 | { | |
19763 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2))); | |
19764 | } | |
19765 | { | |
19766 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3))); | |
19767 | } | |
19768 | { | |
19769 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4))); | |
19770 | } | |
19771 | { | |
19772 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5))); | |
19773 | } | |
19774 | { | |
19775 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6))); | |
19776 | } | |
19777 | { | |
19778 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7))); | |
19779 | } | |
19780 | { | |
19781 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8))); | |
19782 | } | |
19783 | { | |
19784 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9))); | |
19785 | } | |
19786 | { | |
19787 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10))); | |
19788 | } | |
19789 | { | |
19790 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11))); | |
19791 | } | |
19792 | { | |
19793 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12))); | |
19794 | } | |
19795 | { | |
19796 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13))); | |
19797 | } | |
19798 | { | |
19799 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14))); | |
19800 | } | |
19801 | { | |
19802 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15))); | |
19803 | } | |
19804 | { | |
19805 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16))); | |
19806 | } | |
19807 | { | |
19808 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17))); | |
19809 | } | |
19810 | { | |
19811 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18))); | |
19812 | } | |
19813 | { | |
19814 | PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19))); | |
19815 | } | |
19816 | { | |
19817 | PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20))); | |
19818 | } | |
19819 | { | |
19820 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0))); | |
19821 | } | |
19822 | { | |
19823 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1))); | |
19824 | } | |
19825 | { | |
19826 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2))); | |
19827 | } | |
19828 | { | |
19829 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3))); | |
19830 | } | |
19831 | { | |
19832 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4))); | |
19833 | } | |
19834 | { | |
19835 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5))); | |
19836 | } | |
19837 | { | |
19838 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6))); | |
19839 | } | |
19840 | { | |
19841 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7))); | |
19842 | } | |
19843 | { | |
19844 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0))); | |
19845 | } | |
19846 | { | |
19847 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1))); | |
19848 | } | |
19849 | { | |
19850 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2))); | |
19851 | } | |
19852 | { | |
19853 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3))); | |
19854 | } | |
19855 | { | |
19856 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4))); | |
19857 | } | |
19858 | { | |
19859 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5))); | |
19860 | } | |
19861 | { | |
19862 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9))); | |
19863 | } | |
19864 | { | |
19865 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0))); | |
19866 | } | |
19867 | { | |
19868 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1))); | |
19869 | } | |
19870 | { | |
19871 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2))); | |
19872 | } | |
19873 | { | |
19874 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3))); | |
19875 | } | |
19876 | { | |
19877 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4))); | |
19878 | } | |
19879 | { | |
19880 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5))); | |
19881 | } | |
19882 | { | |
19883 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6))); | |
19884 | } | |
19885 | { | |
19886 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0))); | |
19887 | } | |
19888 | { | |
19889 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1))); | |
19890 | } | |
19891 | { | |
19892 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2))); | |
19893 | } | |
19894 | { | |
19895 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3))); | |
19896 | } | |
19897 | { | |
19898 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4))); | |
19899 | } | |
19900 | { | |
19901 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5))); | |
19902 | } | |
19903 | { | |
19904 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6))); | |
19905 | } | |
19906 | { | |
19907 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7))); | |
19908 | } | |
19909 | { | |
19910 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8))); | |
19911 | } | |
19912 | { | |
19913 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9))); | |
19914 | } | |
19915 | { | |
19916 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0))); | |
19917 | } | |
19918 | { | |
19919 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1))); | |
19920 | } | |
19921 | { | |
19922 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2))); | |
19923 | } | |
19924 | { | |
19925 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3))); | |
19926 | } | |
19927 | { | |
19928 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6))); | |
19929 | } | |
19930 | { | |
19931 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7))); | |
19932 | } | |
19933 | { | |
19934 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8))); | |
19935 | } | |
19936 | { | |
19937 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9))); | |
19938 | } | |
19939 | { | |
19940 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10))); | |
19941 | } | |
19942 | { | |
19943 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11))); | |
19944 | } | |
19945 | { | |
19946 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12))); | |
19947 | } | |
19948 | { | |
19949 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13))); | |
19950 | } | |
19951 | { | |
19952 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14))); | |
19953 | } | |
19954 | { | |
19955 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15))); | |
19956 | } | |
19957 | { | |
19958 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16))); | |
19959 | } | |
19960 | { | |
19961 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0))); | |
19962 | } | |
19963 | { | |
19964 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1))); | |
19965 | } | |
19966 | { | |
19967 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2))); | |
19968 | } | |
19969 | { | |
19970 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3))); | |
19971 | } | |
19972 | { | |
19973 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4))); | |
19974 | } | |
19975 | { | |
19976 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5))); | |
19977 | } | |
19978 | { | |
19979 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6))); | |
19980 | } | |
19981 | { | |
19982 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7))); | |
19983 | } | |
19984 | { | |
19985 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8))); | |
19986 | } | |
19987 | { | |
19988 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9))); | |
19989 | } | |
19990 | { | |
19991 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10))); | |
19992 | } | |
19993 | { | |
19994 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11))); | |
19995 | } | |
19996 | { | |
19997 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0))); | |
19998 | } | |
19999 | { | |
20000 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1))); | |
20001 | } | |
20002 | { | |
20003 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2))); | |
20004 | } | |
20005 | { | |
20006 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3))); | |
20007 | } | |
20008 | { | |
20009 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4))); | |
20010 | } | |
20011 | { | |
20012 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5))); | |
20013 | } | |
20014 | { | |
20015 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6))); | |
20016 | } | |
20017 | { | |
20018 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7))); | |
20019 | } | |
20020 | { | |
20021 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8))); | |
20022 | } | |
20023 | { | |
20024 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9))); | |
20025 | } | |
20026 | { | |
20027 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10))); | |
20028 | } | |
20029 | { | |
20030 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0))); | |
20031 | } | |
20032 | { | |
20033 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1))); | |
20034 | } | |
20035 | { | |
20036 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2))); | |
20037 | } | |
20038 | { | |
20039 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3))); | |
20040 | } | |
20041 | { | |
20042 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6))); | |
20043 | } | |
20044 | { | |
20045 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8))); | |
20046 | } | |
20047 | { | |
20048 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9))); | |
20049 | } | |
20050 | { | |
20051 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10))); | |
20052 | } | |
20053 | { | |
20054 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0))); | |
20055 | } | |
20056 | { | |
20057 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1))); | |
20058 | } | |
20059 | { | |
20060 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2))); | |
20061 | } | |
20062 | { | |
20063 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3))); | |
20064 | } | |
20065 | { | |
20066 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4))); | |
20067 | } | |
20068 | { | |
20069 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5))); | |
20070 | } | |
20071 | { | |
20072 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6))); | |
20073 | } | |
20074 | { | |
20075 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7))); | |
20076 | } | |
20077 | { | |
20078 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8))); | |
20079 | } | |
20080 | { | |
20081 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0))); | |
20082 | } | |
20083 | { | |
20084 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1))); | |
20085 | } | |
20086 | { | |
20087 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2))); | |
20088 | } | |
20089 | { | |
20090 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3))); | |
20091 | } | |
20092 | { | |
20093 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4))); | |
20094 | } | |
20095 | { | |
20096 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5))); | |
20097 | } | |
20098 | { | |
20099 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6))); | |
20100 | } | |
20101 | { | |
20102 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7))); | |
20103 | } | |
20104 | { | |
20105 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8))); | |
20106 | } | |
20107 | { | |
20108 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9))); | |
20109 | } | |
20110 | { | |
20111 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10))); | |
20112 | } | |
20113 | { | |
20114 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0))); | |
20115 | } | |
20116 | { | |
20117 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1))); | |
20118 | } | |
20119 | { | |
20120 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2))); | |
20121 | } | |
20122 | { | |
20123 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3))); | |
20124 | } | |
20125 | { | |
20126 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4))); | |
20127 | } | |
20128 | { | |
20129 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5))); | |
20130 | } | |
20131 | { | |
20132 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6))); | |
20133 | } | |
20134 | { | |
20135 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7))); | |
20136 | } | |
20137 | { | |
20138 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8))); | |
20139 | } | |
20140 | { | |
20141 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9))); | |
20142 | } | |
20143 | { | |
20144 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10))); | |
20145 | } | |
20146 | { | |
20147 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11))); | |
20148 | } | |
20149 | { | |
20150 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0))); | |
20151 | } | |
20152 | { | |
20153 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1))); | |
20154 | } | |
20155 | { | |
20156 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2))); | |
20157 | } | |
20158 | { | |
20159 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3))); | |
20160 | } | |
20161 | { | |
20162 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4))); | |
20163 | } | |
20164 | { | |
20165 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5))); | |
20166 | } | |
20167 | { | |
20168 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6))); | |
20169 | } | |
20170 | { | |
20171 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7))); | |
20172 | } | |
20173 | { | |
20174 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8))); | |
20175 | } | |
20176 | { | |
20177 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0))); | |
20178 | } | |
20179 | { | |
20180 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1))); | |
20181 | } | |
20182 | { | |
20183 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2))); | |
20184 | } | |
20185 | { | |
20186 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3))); | |
20187 | } | |
20188 | { | |
20189 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4))); | |
20190 | } | |
20191 | { | |
20192 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5))); | |
20193 | } | |
20194 | { | |
20195 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6))); | |
20196 | } | |
20197 | { | |
20198 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7))); | |
20199 | } | |
20200 | { | |
20201 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8))); | |
20202 | } | |
20203 | { | |
20204 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9))); | |
20205 | } | |
20206 | { | |
20207 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10))); | |
20208 | } | |
20209 | { | |
20210 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11))); | |
20211 | } | |
20212 | { | |
20213 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12))); | |
20214 | } | |
20215 | { | |
20216 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13))); | |
20217 | } | |
20218 | { | |
20219 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14))); | |
20220 | } | |
20221 | { | |
20222 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15))); | |
20223 | } | |
20224 | { | |
20225 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0))); | |
20226 | } | |
20227 | { | |
20228 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1))); | |
20229 | } | |
20230 | { | |
20231 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2))); | |
20232 | } | |
20233 | { | |
20234 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3))); | |
20235 | } | |
20236 | { | |
20237 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4))); | |
20238 | } | |
20239 | { | |
20240 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5))); | |
20241 | } | |
20242 | { | |
20243 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6))); | |
20244 | } | |
20245 | { | |
20246 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7))); | |
20247 | } | |
20248 | { | |
20249 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8))); | |
20250 | } | |
20251 | { | |
20252 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9))); | |
20253 | } | |
20254 | { | |
20255 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10))); | |
20256 | } | |
20257 | { | |
20258 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11))); | |
20259 | } | |
20260 | { | |
20261 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12))); | |
20262 | } | |
20263 | { | |
20264 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13))); | |
20265 | } | |
20266 | { | |
20267 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14))); | |
20268 | } | |
20269 | { | |
20270 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0))); | |
20271 | } | |
20272 | { | |
20273 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1))); | |
20274 | } | |
20275 | { | |
20276 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2))); | |
20277 | } | |
20278 | { | |
20279 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3))); | |
20280 | } | |
20281 | { | |
20282 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4))); | |
20283 | } | |
20284 | { | |
20285 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5))); | |
20286 | } | |
20287 | { | |
20288 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6))); | |
20289 | } | |
20290 | { | |
20291 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7))); | |
20292 | } | |
20293 | { | |
20294 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8))); | |
20295 | } | |
20296 | { | |
20297 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9))); | |
20298 | } | |
20299 | { | |
20300 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10))); | |
20301 | } | |
20302 | { | |
20303 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11))); | |
20304 | } | |
20305 | { | |
20306 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12))); | |
20307 | } | |
20308 | { | |
20309 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13))); | |
20310 | } | |
20311 | { | |
20312 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14))); | |
20313 | } | |
20314 | { | |
20315 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0))); | |
20316 | } | |
20317 | { | |
20318 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1))); | |
20319 | } | |
20320 | { | |
20321 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2))); | |
20322 | } | |
20323 | { | |
20324 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3))); | |
20325 | } | |
20326 | { | |
20327 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4))); | |
20328 | } | |
20329 | { | |
20330 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5))); | |
20331 | } | |
20332 | { | |
20333 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6))); | |
20334 | } | |
20335 | { | |
20336 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7))); | |
20337 | } | |
20338 | { | |
20339 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8))); | |
20340 | } | |
20341 | { | |
20342 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9))); | |
20343 | } | |
20344 | { | |
20345 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10))); | |
20346 | } | |
20347 | { | |
20348 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11))); | |
20349 | } | |
20350 | { | |
20351 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12))); | |
20352 | } | |
20353 | { | |
20354 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13))); | |
20355 | } | |
20356 | { | |
20357 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14))); | |
20358 | } | |
20359 | { | |
20360 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15))); | |
20361 | } | |
20362 | { | |
20363 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0))); | |
20364 | } | |
20365 | { | |
20366 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1))); | |
20367 | } | |
20368 | { | |
20369 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2))); | |
20370 | } | |
20371 | { | |
20372 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3))); | |
20373 | } | |
20374 | { | |
20375 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4))); | |
20376 | } | |
20377 | { | |
20378 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5))); | |
20379 | } | |
20380 | { | |
20381 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6))); | |
20382 | } | |
20383 | { | |
20384 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7))); | |
20385 | } | |
20386 | { | |
20387 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8))); | |
20388 | } | |
20389 | { | |
20390 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9))); | |
20391 | } | |
20392 | { | |
20393 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10))); | |
20394 | } | |
20395 | { | |
20396 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11))); | |
20397 | } | |
20398 | { | |
20399 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12))); | |
20400 | } | |
20401 | { | |
20402 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13))); | |
20403 | } | |
20404 | { | |
20405 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14))); | |
20406 | } | |
20407 | { | |
20408 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15))); | |
20409 | } | |
20410 | { | |
20411 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16))); | |
20412 | } | |
20413 | { | |
20414 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0))); | |
20415 | } | |
20416 | { | |
20417 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1))); | |
20418 | } | |
20419 | { | |
20420 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2))); | |
20421 | } | |
20422 | { | |
20423 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3))); | |
20424 | } | |
20425 | { | |
20426 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4))); | |
20427 | } | |
20428 | { | |
20429 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5))); | |
20430 | } | |
20431 | { | |
20432 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6))); | |
20433 | } | |
20434 | { | |
20435 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7))); | |
20436 | } | |
20437 | { | |
20438 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8))); | |
20439 | } | |
20440 | { | |
20441 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9))); | |
20442 | } | |
20443 | { | |
20444 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10))); | |
20445 | } | |
20446 | { | |
20447 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0))); | |
20448 | } | |
20449 | { | |
20450 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1))); | |
20451 | } | |
20452 | { | |
20453 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2))); | |
20454 | } | |
20455 | { | |
20456 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3))); | |
20457 | } | |
20458 | { | |
20459 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4))); | |
20460 | } | |
20461 | { | |
20462 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5))); | |
20463 | } | |
20464 | { | |
20465 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6))); | |
20466 | } | |
20467 | { | |
20468 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7))); | |
20469 | } | |
20470 | { | |
20471 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8))); | |
20472 | } | |
20473 | { | |
20474 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9))); | |
20475 | } | |
20476 | { | |
20477 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10))); | |
20478 | } | |
20479 | { | |
20480 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11))); | |
20481 | } | |
20482 | { | |
20483 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0))); | |
20484 | } | |
20485 | { | |
20486 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1))); | |
20487 | } | |
20488 | { | |
20489 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2))); | |
20490 | } | |
20491 | { | |
20492 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3))); | |
20493 | } | |
20494 | { | |
20495 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4))); | |
20496 | } | |
20497 | { | |
20498 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5))); | |
20499 | } | |
20500 | { | |
20501 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6))); | |
20502 | } | |
20503 | { | |
20504 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7))); | |
20505 | } | |
20506 | { | |
20507 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8))); | |
20508 | } | |
20509 | { | |
20510 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9))); | |
20511 | } | |
20512 | { | |
20513 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10))); | |
20514 | } | |
20515 | { | |
20516 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11))); | |
20517 | } | |
20518 | { | |
20519 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12))); | |
20520 | } | |
20521 | { | |
20522 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13))); | |
20523 | } | |
20524 | { | |
20525 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14))); | |
20526 | } | |
20527 | { | |
20528 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15))); | |
20529 | } | |
20530 | { | |
20531 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0))); | |
20532 | } | |
20533 | { | |
20534 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1))); | |
20535 | } | |
20536 | { | |
20537 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2))); | |
20538 | } | |
20539 | { | |
20540 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3))); | |
20541 | } | |
20542 | { | |
20543 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4))); | |
20544 | } | |
20545 | { | |
20546 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5))); | |
20547 | } | |
20548 | { | |
20549 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6))); | |
20550 | } | |
20551 | { | |
20552 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7))); | |
20553 | } | |
20554 | { | |
20555 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8))); | |
20556 | } | |
20557 | { | |
20558 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9))); | |
20559 | } | |
20560 | { | |
20561 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10))); | |
20562 | } | |
20563 | { | |
20564 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11))); | |
20565 | } | |
20566 | { | |
20567 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12))); | |
20568 | } | |
20569 | { | |
20570 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13))); | |
20571 | } | |
20572 | { | |
20573 | PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14))); | |
20574 | } | |
20575 | { | |
20576 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0))); | |
20577 | } | |
20578 | { | |
20579 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1))); | |
20580 | } | |
20581 | { | |
20582 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2))); | |
20583 | } | |
20584 | { | |
20585 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3))); | |
20586 | } | |
20587 | { | |
20588 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4))); | |
20589 | } | |
20590 | { | |
20591 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5))); | |
20592 | } | |
20593 | { | |
20594 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6))); | |
20595 | } | |
20596 | { | |
20597 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7))); | |
20598 | } | |
20599 | { | |
20600 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8))); | |
20601 | } | |
20602 | { | |
20603 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9))); | |
20604 | } | |
20605 | { | |
20606 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10))); | |
20607 | } | |
20608 | { | |
20609 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11))); | |
20610 | } | |
20611 | { | |
20612 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12))); | |
20613 | } | |
20614 | { | |
20615 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13))); | |
20616 | } | |
20617 | { | |
20618 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14))); | |
20619 | } | |
20620 | { | |
20621 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15))); | |
20622 | } | |
20623 | { | |
20624 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16))); | |
20625 | } | |
20626 | { | |
20627 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17))); | |
20628 | } | |
20629 | { | |
20630 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0))); | |
20631 | } | |
20632 | { | |
20633 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1))); | |
20634 | } | |
20635 | { | |
20636 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2))); | |
20637 | } | |
20638 | { | |
20639 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3))); | |
20640 | } | |
20641 | { | |
20642 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4))); | |
20643 | } | |
20644 | { | |
20645 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5))); | |
20646 | } | |
20647 | { | |
20648 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6))); | |
20649 | } | |
20650 | { | |
20651 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7))); | |
20652 | } | |
20653 | { | |
20654 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8))); | |
20655 | } | |
20656 | { | |
20657 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9))); | |
20658 | } | |
20659 | { | |
20660 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10))); | |
20661 | } | |
20662 | { | |
20663 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11))); | |
20664 | } | |
20665 | { | |
20666 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12))); | |
20667 | } | |
20668 | { | |
20669 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13))); | |
20670 | } | |
20671 | { | |
20672 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14))); | |
20673 | } | |
20674 | { | |
20675 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0))); | |
20676 | } | |
20677 | { | |
20678 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1))); | |
20679 | } | |
20680 | { | |
20681 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2))); | |
20682 | } | |
20683 | { | |
20684 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3))); | |
20685 | } | |
20686 | { | |
20687 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4))); | |
20688 | } | |
20689 | { | |
20690 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5))); | |
20691 | } | |
20692 | { | |
20693 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6))); | |
20694 | } | |
20695 | { | |
20696 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0))); | |
20697 | } | |
20698 | { | |
20699 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1))); | |
20700 | } | |
20701 | { | |
20702 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2))); | |
20703 | } | |
20704 | { | |
20705 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3))); | |
20706 | } | |
20707 | { | |
20708 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4))); | |
20709 | } | |
20710 | { | |
20711 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5))); | |
20712 | } | |
20713 | { | |
20714 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6))); | |
20715 | } | |
20716 | { | |
20717 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7))); | |
20718 | } | |
20719 | { | |
20720 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8))); | |
20721 | } | |
20722 | { | |
20723 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0))); | |
20724 | } | |
20725 | { | |
20726 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1))); | |
20727 | } | |
20728 | { | |
20729 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2))); | |
20730 | } | |
20731 | { | |
20732 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3))); | |
20733 | } | |
20734 | { | |
20735 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4))); | |
20736 | } | |
20737 | { | |
20738 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5))); | |
20739 | } | |
20740 | { | |
20741 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0))); | |
20742 | } | |
20743 | { | |
20744 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1))); | |
20745 | } | |
20746 | { | |
20747 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2))); | |
20748 | } | |
20749 | { | |
20750 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3))); | |
20751 | } | |
20752 | { | |
20753 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4))); | |
20754 | } | |
20755 | { | |
20756 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5))); | |
20757 | } | |
20758 | { | |
20759 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6))); | |
20760 | } | |
20761 | { | |
20762 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0))); | |
20763 | } | |
20764 | { | |
20765 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1))); | |
20766 | } | |
20767 | { | |
20768 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2))); | |
20769 | } | |
20770 | { | |
20771 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3))); | |
20772 | } | |
20773 | { | |
20774 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4))); | |
20775 | } | |
20776 | { | |
20777 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5))); | |
20778 | } | |
20779 | { | |
20780 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6))); | |
20781 | } | |
20782 | { | |
20783 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7))); | |
20784 | } | |
20785 | { | |
20786 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8))); | |
20787 | } | |
20788 | { | |
20789 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9))); | |
20790 | } | |
20791 | { | |
20792 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10))); | |
20793 | } | |
20794 | { | |
20795 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11))); | |
20796 | } | |
20797 | { | |
20798 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12))); | |
20799 | } | |
20800 | { | |
20801 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13))); | |
20802 | } | |
20803 | { | |
20804 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31))); | |
20805 | } | |
20806 | { | |
20807 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0))); | |
20808 | } | |
20809 | { | |
20810 | PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1))); | |
20811 | } | |
20812 | { | |
20813 | PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2))); | |
20814 | } | |
20815 | { | |
20816 | PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3))); | |
20817 | } | |
20818 | { | |
20819 | PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4))); | |
20820 | } | |
20821 | { | |
20822 | PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5))); | |
20823 | } | |
20824 | { | |
20825 | PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6))); | |
20826 | } | |
20827 | { | |
20828 | PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7))); | |
20829 | } | |
20830 | { | |
20831 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8))); | |
20832 | } | |
20833 | { | |
20834 | PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9))); | |
20835 | } | |
20836 | { | |
20837 | PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10))); | |
20838 | } | |
20839 | { | |
20840 | PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11))); | |
20841 | } | |
20842 | { | |
20843 | PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12))); | |
20844 | } | |
20845 | { | |
20846 | PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13))); | |
20847 | } | |
20848 | { | |
20849 | PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14))); | |
20850 | } | |
20851 | { | |
20852 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15))); | |
20853 | } | |
20854 | { | |
20855 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16))); | |
20856 | } | |
20857 | { | |
20858 | PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0))); | |
20859 | } | |
20860 | { | |
20861 | PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1))); | |
20862 | } | |
20863 | { | |
20864 | PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2))); | |
20865 | } | |
20866 | { | |
20867 | PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20868 | } | |
20869 | { | |
20870 | PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4))); | |
20871 | } | |
20872 | { | |
20873 | PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5))); | |
20874 | } | |
20875 | { | |
20876 | PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6))); | |
20877 | } | |
20878 | { | |
20879 | PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7))); | |
20880 | } | |
20881 | { | |
20882 | PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8))); | |
20883 | } | |
20884 | { | |
20885 | PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9))); | |
20886 | } | |
20887 | { | |
20888 | PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10))); | |
20889 | } | |
20890 | { | |
20891 | PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11))); | |
20892 | } | |
20893 | { | |
20894 | PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12))); | |
20895 | } | |
20896 | { | |
20897 | PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19))); | |
20898 | } | |
20899 | { | |
20900 | PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0))); | |
20901 | } | |
20902 | { | |
20903 | PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1))); | |
20904 | } | |
20905 | { | |
20906 | PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2))); | |
20907 | } | |
20908 | { | |
20909 | PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3))); | |
20910 | } | |
20911 | { | |
20912 | PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4))); | |
20913 | } | |
20914 | { | |
20915 | PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5))); | |
20916 | } | |
20917 | { | |
20918 | PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6))); | |
20919 | } | |
20920 | { | |
20921 | PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7))); | |
20922 | } | |
20923 | { | |
20924 | PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8))); | |
20925 | } | |
20926 | { | |
20927 | PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9))); | |
20928 | } | |
20929 | { | |
20930 | PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31))); | |
20931 | } | |
20932 | { | |
20933 | PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0))); | |
20934 | } | |
20935 | { | |
20936 | PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1))); | |
20937 | } | |
20938 | { | |
20939 | PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
20940 | } | |
20941 | { | |
20942 | PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3))); | |
20943 | } | |
20944 | { | |
20945 | PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4))); | |
20946 | } | |
20947 | { | |
20948 | PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5))); | |
20949 | } | |
20950 | { | |
20951 | PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6))); | |
20952 | } | |
20953 | { | |
20954 | PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7))); | |
20955 | } | |
20956 | { | |
20957 | PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8))); | |
20958 | } | |
20959 | { | |
20960 | PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9))); | |
20961 | } | |
20962 | { | |
20963 | PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0))); | |
20964 | } | |
20965 | { | |
20966 | PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1))); | |
20967 | } | |
20968 | { | |
20969 | PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2))); | |
20970 | } | |
20971 | { | |
20972 | PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3))); | |
20973 | } | |
20974 | { | |
20975 | PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4))); | |
20976 | } | |
20977 | { | |
20978 | PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5))); | |
20979 | } | |
20980 | { | |
20981 | PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6))); | |
20982 | } | |
20983 | { | |
20984 | PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7))); | |
20985 | } | |
20986 | { | |
20987 | PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8))); | |
20988 | } | |
20989 | { | |
20990 | PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9))); | |
20991 | } | |
20992 | { | |
20993 | PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10))); | |
20994 | } | |
20995 | { | |
20996 | PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11))); | |
20997 | } | |
20998 | { | |
20999 | PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12))); | |
21000 | } | |
21001 | { | |
21002 | PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13))); | |
21003 | } | |
21004 | { | |
21005 | PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14))); | |
21006 | } | |
21007 | { | |
21008 | PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19))); | |
21009 | } | |
21010 | { | |
21011 | PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0))); | |
21012 | } | |
21013 | { | |
21014 | PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1))); | |
21015 | } | |
21016 | { | |
21017 | PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
21018 | } | |
21019 | { | |
21020 | PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3))); | |
21021 | } | |
21022 | { | |
21023 | PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4))); | |
21024 | } | |
21025 | { | |
21026 | PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5))); | |
21027 | } | |
21028 | { | |
21029 | PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6))); | |
21030 | } | |
21031 | { | |
21032 | PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7))); | |
21033 | } | |
21034 | { | |
21035 | PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8))); | |
21036 | } | |
21037 | { | |
21038 | PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9))); | |
21039 | } | |
21040 | { | |
21041 | PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10))); | |
21042 | } | |
21043 | { | |
21044 | PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11))); | |
21045 | } | |
21046 | { | |
21047 | PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12))); | |
21048 | } | |
21049 | { | |
21050 | PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0))); | |
21051 | } | |
21052 | { | |
21053 | PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1))); | |
21054 | } | |
21055 | { | |
21056 | PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2))); | |
21057 | } | |
21058 | { | |
21059 | PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3))); | |
21060 | } | |
21061 | { | |
21062 | PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4))); | |
21063 | } | |
21064 | { | |
21065 | PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5))); | |
21066 | } | |
21067 | { | |
21068 | PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6))); | |
21069 | } | |
21070 | { | |
21071 | PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7))); | |
21072 | } | |
21073 | { | |
21074 | PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8))); | |
21075 | } | |
21076 | { | |
21077 | PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9))); | |
21078 | } | |
21079 | { | |
21080 | PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10))); | |
21081 | } | |
21082 | { | |
21083 | PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11))); | |
21084 | } | |
21085 | { | |
21086 | PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12))); | |
21087 | } | |
21088 | { | |
21089 | PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0))); | |
21090 | } | |
21091 | { | |
21092 | PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1))); | |
21093 | } | |
21094 | { | |
21095 | PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2))); | |
21096 | } | |
21097 | { | |
21098 | PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3))); | |
21099 | } | |
21100 | { | |
21101 | PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4))); | |
21102 | } | |
21103 | { | |
21104 | PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5))); | |
21105 | } | |
21106 | { | |
21107 | PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6))); | |
21108 | } | |
21109 | { | |
21110 | PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7))); | |
21111 | } | |
21112 | { | |
21113 | PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8))); | |
21114 | } | |
21115 | { | |
21116 | PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9))); | |
21117 | } | |
21118 | { | |
21119 | PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10))); | |
21120 | } | |
21121 | { | |
21122 | PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11))); | |
21123 | } | |
21124 | { | |
21125 | PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12))); | |
21126 | } | |
21127 | { | |
21128 | PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13))); | |
21129 | } | |
21130 | { | |
21131 | PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0))); | |
21132 | } | |
21133 | { | |
21134 | PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1))); | |
21135 | } | |
21136 | { | |
21137 | PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2))); | |
21138 | } | |
21139 | { | |
21140 | PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3))); | |
21141 | } | |
21142 | { | |
21143 | PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4))); | |
21144 | } | |
21145 | { | |
21146 | PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5))); | |
21147 | } | |
21148 | { | |
21149 | PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6))); | |
21150 | } | |
21151 | { | |
21152 | PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7))); | |
21153 | } | |
21154 | { | |
21155 | PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8))); | |
21156 | } | |
21157 | { | |
21158 | PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9))); | |
21159 | } | |
21160 | { | |
21161 | PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10))); | |
21162 | } | |
21163 | { | |
21164 | PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0))); | |
21165 | } | |
21166 | { | |
21167 | PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1))); | |
21168 | } | |
21169 | { | |
21170 | PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2))); | |
21171 | } | |
21172 | { | |
21173 | PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3))); | |
21174 | } | |
21175 | { | |
21176 | PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4))); | |
21177 | } | |
21178 | { | |
21179 | PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5))); | |
21180 | } | |
21181 | { | |
21182 | PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6))); | |
21183 | } | |
21184 | { | |
21185 | PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7))); | |
21186 | } | |
21187 | { | |
21188 | PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8))); | |
21189 | } | |
21190 | { | |
21191 | PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9))); | |
21192 | } | |
21193 | { | |
21194 | PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10))); | |
21195 | } | |
21196 | { | |
21197 | PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11))); | |
21198 | } | |
21199 | { | |
21200 | PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12))); | |
21201 | } | |
21202 | { | |
21203 | PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13))); | |
21204 | } | |
21205 | { | |
21206 | PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14))); | |
21207 | } | |
21208 | { | |
21209 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011))); | |
21210 | } | |
21211 | { | |
21212 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013))); | |
21213 | } | |
21214 | { | |
21215 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176))); | |
21216 | } | |
21217 | { | |
21218 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177))); | |
21219 | } | |
21220 | { | |
21221 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178))); | |
21222 | } | |
21223 | { | |
21224 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179))); | |
21225 | } | |
21226 | { | |
21227 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180))); | |
21228 | } | |
21229 | { | |
21230 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300))); | |
21231 | } | |
21232 | { | |
21233 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301))); | |
21234 | } | |
21235 | { | |
21236 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302))); | |
21237 | } | |
21238 | { | |
21239 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303))); | |
21240 | } | |
21241 | { | |
21242 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304))); | |
21243 | } | |
21244 | { | |
21245 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305))); | |
21246 | } | |
21247 | { | |
21248 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306))); | |
21249 | } | |
21250 | { | |
21251 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307))); | |
21252 | } | |
21253 | { | |
21254 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308))); | |
21255 | } | |
21256 | { | |
21257 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309))); | |
21258 | } | |
21259 | { | |
21260 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310))); | |
21261 | } | |
21262 | { | |
21263 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311))); | |
21264 | } | |
21265 | { | |
21266 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312))); | |
21267 | } | |
21268 | { | |
21269 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313))); | |
21270 | } | |
21271 | { | |
21272 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314))); | |
21273 | } | |
21274 | { | |
21275 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315))); | |
21276 | } | |
21277 | { | |
21278 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316))); | |
21279 | } | |
21280 | { | |
21281 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317))); | |
21282 | } | |
21283 | { | |
21284 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318))); | |
21285 | } | |
21286 | { | |
21287 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319))); | |
21288 | } | |
21289 | { | |
21290 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320))); | |
21291 | } | |
21292 | { | |
21293 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321))); | |
21294 | } | |
21295 | { | |
21296 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322))); | |
21297 | } | |
21298 | { | |
21299 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323))); | |
21300 | } | |
21301 | { | |
21302 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324))); | |
21303 | } | |
21304 | { | |
21305 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325))); | |
21306 | } | |
21307 | { | |
21308 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326))); | |
21309 | } | |
21310 | { | |
21311 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327))); | |
21312 | } | |
21313 | { | |
21314 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328))); | |
21315 | } | |
21316 | { | |
21317 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329))); | |
21318 | } | |
21319 | { | |
21320 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330))); | |
21321 | } | |
21322 | { | |
21323 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331))); | |
21324 | } | |
21325 | { | |
21326 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332))); | |
21327 | } | |
21328 | { | |
21329 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333))); | |
21330 | } | |
21331 | { | |
21332 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334))); | |
21333 | } | |
21334 | { | |
21335 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335))); | |
21336 | } | |
21337 | { | |
21338 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336))); | |
21339 | } | |
21340 | { | |
21341 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337))); | |
21342 | } | |
21343 | { | |
21344 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338))); | |
21345 | } | |
21346 | { | |
21347 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339))); | |
21348 | } | |
21349 | { | |
21350 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404))); | |
21351 | } | |
21352 | { | |
21353 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340))); | |
21354 | } | |
21355 | { | |
21356 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341))); | |
21357 | } | |
21358 | { | |
21359 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342))); | |
21360 | } | |
21361 | { | |
21362 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343))); | |
21363 | } | |
21364 | { | |
21365 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344))); | |
21366 | } | |
21367 | { | |
21368 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345))); | |
21369 | } | |
21370 | { | |
21371 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346))); | |
21372 | } | |
21373 | { | |
21374 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347))); | |
21375 | } | |
21376 | { | |
21377 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348))); | |
21378 | } | |
21379 | { | |
21380 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349))); | |
21381 | } | |
21382 | { | |
21383 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450))); | |
21384 | } | |
21385 | { | |
21386 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451))); | |
21387 | } | |
21388 | { | |
21389 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452))); | |
21390 | } | |
21391 | { | |
21392 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453))); | |
21393 | } | |
21394 | { | |
21395 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454))); | |
21396 | } | |
21397 | { | |
21398 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455))); | |
21399 | } | |
21400 | { | |
21401 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390))); | |
21402 | } | |
21403 | { | |
21404 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391))); | |
21405 | } | |
21406 | { | |
21407 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392))); | |
21408 | } | |
21409 | { | |
21410 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393))); | |
21411 | } | |
21412 | { | |
21413 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395))); | |
21414 | } | |
21415 | { | |
21416 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396))); | |
21417 | } | |
21418 | { | |
21419 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413))); | |
21420 | } | |
21421 | { | |
21422 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414))); | |
21423 | } | |
21424 | { | |
21425 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415))); | |
21426 | } | |
21427 | { | |
21428 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416))); | |
21429 | } | |
21430 | { | |
21431 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426))); | |
21432 | } | |
21433 | { | |
21434 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427))); | |
21435 | } | |
21436 | { | |
21437 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428))); | |
21438 | } | |
21439 | { | |
21440 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429))); | |
21441 | } | |
21442 | { | |
21443 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430))); | |
21444 | } | |
21445 | { | |
21446 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431))); | |
21447 | } | |
21448 | { | |
21449 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432))); | |
21450 | } | |
21451 | { | |
21452 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433))); | |
21453 | } | |
21454 | { | |
21455 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434))); | |
21456 | } | |
21457 | { | |
21458 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435))); | |
21459 | } | |
21460 | { | |
21461 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436))); | |
21462 | } | |
21463 | { | |
21464 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437))); | |
21465 | } | |
21466 | { | |
21467 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438))); | |
21468 | } | |
21469 | { | |
21470 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439))); | |
21471 | } | |
21472 | { | |
21473 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440))); | |
21474 | } | |
21475 | { | |
21476 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441))); | |
21477 | } | |
21478 | { | |
21479 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442))); | |
21480 | } | |
21481 | { | |
21482 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE))); | |
21483 | } | |
21484 | { | |
21485 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED))); | |
21486 | } | |
21487 | { | |
21488 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED))); | |
21489 | } | |
21490 | { | |
21491 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED))); | |
21492 | } | |
21493 | { | |
21494 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT))); | |
21495 | } | |
21496 | { | |
21497 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT))); | |
21498 | } | |
21499 | { | |
21500 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY))); | |
21501 | } | |
21502 | { | |
21503 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK))); | |
21504 | } | |
21505 | { | |
21506 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI))); | |
21507 | } | |
21508 | { | |
21509 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED))); | |
21510 | } | |
21511 | { | |
21512 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD))); | |
21513 | } | |
21514 | { | |
21515 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK))); | |
21516 | } | |
21517 | { | |
21518 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN))); | |
21519 | } | |
21520 | { | |
21521 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED))); | |
21522 | } | |
21523 | { | |
21524 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION))); | |
21525 | } | |
21526 | { | |
21527 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED))); | |
21528 | } | |
21529 | { | |
21530 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART))); | |
21531 | } | |
21532 | { | |
21533 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND))); | |
21534 | } | |
21535 | { | |
21536 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG))); | |
21537 | } | |
21538 | { | |
21539 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER))); | |
21540 | } | |
21541 | { | |
21542 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP))); | |
21543 | } | |
21544 | { | |
21545 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM))); | |
21546 | } | |
21547 | { | |
21548 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK))); | |
21549 | } | |
21550 | { | |
21551 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK))); | |
21552 | } | |
21553 | { | |
21554 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK))); | |
21555 | } | |
21556 | ||
21557 | ||
21558 | } | |
21559 |