]>
Commit | Line | Data |
---|---|---|
1 | /* ---------------------------------------------------------------------------- | |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.27 | |
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 | * | |
31 | * This section contains generic SWIG labels for method/variable | |
32 | * declarations/attributes, and other compiler dependent labels. | |
33 | * | |
34 | ************************************************************************/ | |
35 | ||
36 | /* template workaround for compilers that cannot correctly implement the C++ standard */ | |
37 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
38 | # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
40 | # else | |
41 | # define SWIGTEMPLATEDISAMBIGUATOR | |
42 | # endif | |
43 | #endif | |
44 | ||
45 | /* inline attribute */ | |
46 | #ifndef SWIGINLINE | |
47 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
48 | # define SWIGINLINE inline | |
49 | # else | |
50 | # define SWIGINLINE | |
51 | # endif | |
52 | #endif | |
53 | ||
54 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
55 | #ifndef SWIGUNUSED | |
56 | # if defined(__GNUC__) || defined(__ICC) | |
57 | # define SWIGUNUSED __attribute__ ((unused)) | |
58 | # else | |
59 | # define SWIGUNUSED | |
60 | # endif | |
61 | #endif | |
62 | ||
63 | /* internal SWIG method */ | |
64 | #ifndef SWIGINTERN | |
65 | # define SWIGINTERN static SWIGUNUSED | |
66 | #endif | |
67 | ||
68 | /* internal inline SWIG method */ | |
69 | #ifndef SWIGINTERNINLINE | |
70 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
71 | #endif | |
72 | ||
73 | /* exporting methods for Windows DLLs */ | |
74 | #ifndef SWIGEXPORT | |
75 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
76 | # if defined(STATIC_LINKED) | |
77 | # define SWIGEXPORT | |
78 | # else | |
79 | # define SWIGEXPORT __declspec(dllexport) | |
80 | # endif | |
81 | # else | |
82 | # define SWIGEXPORT | |
83 | # endif | |
84 | #endif | |
85 | ||
86 | /* calling conventions for Windows */ | |
87 | #ifndef SWIGSTDCALL | |
88 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
89 | # define SWIGSTDCALL __stdcall | |
90 | # else | |
91 | # define SWIGSTDCALL | |
92 | # endif | |
93 | #endif | |
94 | ||
95 | ||
96 | ||
97 | #include <Python.h> | |
98 | ||
99 | /*********************************************************************** | |
100 | * swigrun.swg | |
101 | * | |
102 | * This file contains generic CAPI SWIG runtime support for pointer | |
103 | * type checking. | |
104 | * | |
105 | ************************************************************************/ | |
106 | ||
107 | /* This should only be incremented when either the layout of swig_type_info changes, | |
108 | or for whatever reason, the runtime changes incompatibly */ | |
109 | #define SWIG_RUNTIME_VERSION "2" | |
110 | ||
111 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ | |
112 | #ifdef SWIG_TYPE_TABLE | |
113 | # define SWIG_QUOTE_STRING(x) #x | |
114 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
115 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
116 | #else | |
117 | # define SWIG_TYPE_TABLE_NAME | |
118 | #endif | |
119 | ||
120 | /* | |
121 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
122 | creating a static or dynamic library from the swig runtime code. | |
123 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
124 | ||
125 | But only do this if is strictly necessary, ie, if you have problems | |
126 | with your compiler or so. | |
127 | */ | |
128 | ||
129 | #ifndef SWIGRUNTIME | |
130 | # define SWIGRUNTIME SWIGINTERN | |
131 | #endif | |
132 | ||
133 | #ifndef SWIGRUNTIMEINLINE | |
134 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
135 | #endif | |
136 | ||
137 | #include <string.h> | |
138 | ||
139 | #ifdef __cplusplus | |
140 | extern "C" { | |
141 | #endif | |
142 | ||
143 | typedef void *(*swig_converter_func)(void *); | |
144 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
145 | ||
146 | /* Structure to store inforomation on one type */ | |
147 | typedef struct swig_type_info { | |
148 | const char *name; /* mangled name of this type */ | |
149 | const char *str; /* human readable name of this type */ | |
150 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
151 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
152 | void *clientdata; /* language specific type data */ | |
153 | } swig_type_info; | |
154 | ||
155 | /* Structure to store a type and conversion function used for casting */ | |
156 | typedef struct swig_cast_info { | |
157 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
158 | swig_converter_func converter; /* function to cast the void pointers */ | |
159 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
160 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
161 | } swig_cast_info; | |
162 | ||
163 | /* Structure used to store module information | |
164 | * Each module generates one structure like this, and the runtime collects | |
165 | * all of these structures and stores them in a circularly linked list.*/ | |
166 | typedef struct swig_module_info { | |
167 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
168 | size_t size; /* Number of types in this module */ | |
169 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
170 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
171 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
172 | void *clientdata; /* Language specific module data */ | |
173 | } swig_module_info; | |
174 | ||
175 | ||
176 | /* | |
177 | Compare two type names skipping the space characters, therefore | |
178 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
179 | ||
180 | Return 0 when the two name types are equivalent, as in | |
181 | strncmp, but skipping ' '. | |
182 | */ | |
183 | SWIGRUNTIME int | |
184 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
185 | const char *f2, const char *l2) { | |
186 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
187 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
188 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
189 | if (*f1 != *f2) return (int)(*f1 - *f2); | |
190 | } | |
191 | return (l1 - f1) - (l2 - f2); | |
192 | } | |
193 | ||
194 | /* | |
195 | Check type equivalence in a name list like <name1>|<name2>|... | |
196 | Return 0 if not equal, 1 if equal | |
197 | */ | |
198 | SWIGRUNTIME int | |
199 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
200 | int equiv = 0; | |
201 | const char* te = tb + strlen(tb); | |
202 | const char* ne = nb; | |
203 | while (!equiv && *ne) { | |
204 | for (nb = ne; *ne; ++ne) { | |
205 | if (*ne == '|') break; | |
206 | } | |
207 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
208 | if (*ne) ++ne; | |
209 | } | |
210 | return equiv; | |
211 | } | |
212 | ||
213 | /* | |
214 | Check type equivalence in a name list like <name1>|<name2>|... | |
215 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
216 | */ | |
217 | SWIGRUNTIME int | |
218 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
219 | int equiv = 0; | |
220 | const char* te = tb + strlen(tb); | |
221 | const char* ne = nb; | |
222 | while (!equiv && *ne) { | |
223 | for (nb = ne; *ne; ++ne) { | |
224 | if (*ne == '|') break; | |
225 | } | |
226 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; | |
227 | if (*ne) ++ne; | |
228 | } | |
229 | return equiv; | |
230 | } | |
231 | ||
232 | ||
233 | /* think of this as a c++ template<> or a scheme macro */ | |
234 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
235 | if (ty) { \ | |
236 | swig_cast_info *iter = ty->cast; \ | |
237 | while (iter) { \ | |
238 | if (comparison) { \ | |
239 | if (iter == ty->cast) return iter; \ | |
240 | /* Move iter to the top of the linked list */ \ | |
241 | iter->prev->next = iter->next; \ | |
242 | if (iter->next) \ | |
243 | iter->next->prev = iter->prev; \ | |
244 | iter->next = ty->cast; \ | |
245 | iter->prev = 0; \ | |
246 | if (ty->cast) ty->cast->prev = iter; \ | |
247 | ty->cast = iter; \ | |
248 | return iter; \ | |
249 | } \ | |
250 | iter = iter->next; \ | |
251 | } \ | |
252 | } \ | |
253 | return 0 | |
254 | ||
255 | /* | |
256 | Check the typename | |
257 | */ | |
258 | SWIGRUNTIME swig_cast_info * | |
259 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
260 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); | |
261 | } | |
262 | ||
263 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
264 | SWIGRUNTIME swig_cast_info * | |
265 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
266 | SWIG_TypeCheck_Template(iter->type == from, into); | |
267 | } | |
268 | ||
269 | /* | |
270 | Cast a pointer up an inheritance hierarchy | |
271 | */ | |
272 | SWIGRUNTIMEINLINE void * | |
273 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { | |
274 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
275 | } | |
276 | ||
277 | /* | |
278 | Dynamic pointer casting. Down an inheritance hierarchy | |
279 | */ | |
280 | SWIGRUNTIME swig_type_info * | |
281 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
282 | swig_type_info *lastty = ty; | |
283 | if (!ty || !ty->dcast) return ty; | |
284 | while (ty && (ty->dcast)) { | |
285 | ty = (*ty->dcast)(ptr); | |
286 | if (ty) lastty = ty; | |
287 | } | |
288 | return lastty; | |
289 | } | |
290 | ||
291 | /* | |
292 | Return the name associated with this type | |
293 | */ | |
294 | SWIGRUNTIMEINLINE const char * | |
295 | SWIG_TypeName(const swig_type_info *ty) { | |
296 | return ty->name; | |
297 | } | |
298 | ||
299 | /* | |
300 | Return the pretty name associated with this type, | |
301 | that is an unmangled type name in a form presentable to the user. | |
302 | */ | |
303 | SWIGRUNTIME const char * | |
304 | SWIG_TypePrettyName(const swig_type_info *type) { | |
305 | /* The "str" field contains the equivalent pretty names of the | |
306 | type, separated by vertical-bar characters. We choose | |
307 | to print the last name, as it is often (?) the most | |
308 | specific. */ | |
309 | if (type->str != NULL) { | |
310 | const char *last_name = type->str; | |
311 | const char *s; | |
312 | for (s = type->str; *s; s++) | |
313 | if (*s == '|') last_name = s+1; | |
314 | return last_name; | |
315 | } | |
316 | else | |
317 | return type->name; | |
318 | } | |
319 | ||
320 | /* | |
321 | Set the clientdata field for a type | |
322 | */ | |
323 | SWIGRUNTIME void | |
324 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
325 | swig_cast_info *cast = ti->cast; | |
326 | /* if (ti->clientdata == clientdata) return; */ | |
327 | ti->clientdata = clientdata; | |
328 | ||
329 | while (cast) { | |
330 | if (!cast->converter) { | |
331 | swig_type_info *tc = cast->type; | |
332 | if (!tc->clientdata) { | |
333 | SWIG_TypeClientData(tc, clientdata); | |
334 | } | |
335 | } | |
336 | cast = cast->next; | |
337 | } | |
338 | } | |
339 | ||
340 | /* | |
341 | Search for a swig_type_info structure only by mangled name | |
342 | Search is a O(log #types) | |
343 | ||
344 | We start searching at module start, and finish searching when start == end. | |
345 | Note: if start == end at the beginning of the function, we go all the way around | |
346 | the circular list. | |
347 | */ | |
348 | SWIGRUNTIME swig_type_info * | |
349 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
350 | swig_module_info *end, | |
351 | const char *name) { | |
352 | swig_module_info *iter = start; | |
353 | do { | |
354 | if (iter->size) { | |
355 | register size_t l = 0; | |
356 | register size_t r = iter->size - 1; | |
357 | do { | |
358 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
359 | register size_t i = (l + r) >> 1; | |
360 | const char *iname = iter->types[i]->name; | |
361 | if (iname) { | |
362 | register int compare = strcmp(name, iname); | |
363 | if (compare == 0) { | |
364 | return iter->types[i]; | |
365 | } else if (compare < 0) { | |
366 | if (i) { | |
367 | r = i - 1; | |
368 | } else { | |
369 | break; | |
370 | } | |
371 | } else if (compare > 0) { | |
372 | l = i + 1; | |
373 | } | |
374 | } else { | |
375 | break; /* should never happen */ | |
376 | } | |
377 | } while (l <= r); | |
378 | } | |
379 | iter = iter->next; | |
380 | } while (iter != end); | |
381 | return 0; | |
382 | } | |
383 | ||
384 | /* | |
385 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
386 | It first searches the mangled names of the types, which is a O(log #types) | |
387 | If a type is not found it then searches the human readable names, which is O(#types). | |
388 | ||
389 | We start searching at module start, and finish searching when start == end. | |
390 | Note: if start == end at the beginning of the function, we go all the way around | |
391 | the circular list. | |
392 | */ | |
393 | SWIGRUNTIME swig_type_info * | |
394 | SWIG_TypeQueryModule(swig_module_info *start, | |
395 | swig_module_info *end, | |
396 | const char *name) { | |
397 | /* STEP 1: Search the name field using binary search */ | |
398 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
399 | if (ret) { | |
400 | return ret; | |
401 | } else { | |
402 | /* STEP 2: If the type hasn't been found, do a complete search | |
403 | of the str field (the human readable name) */ | |
404 | swig_module_info *iter = start; | |
405 | do { | |
406 | register size_t i = 0; | |
407 | for (; i < iter->size; ++i) { | |
408 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
409 | return iter->types[i]; | |
410 | } | |
411 | iter = iter->next; | |
412 | } while (iter != end); | |
413 | } | |
414 | ||
415 | /* neither found a match */ | |
416 | return 0; | |
417 | } | |
418 | ||
419 | ||
420 | /* | |
421 | Pack binary data into a string | |
422 | */ | |
423 | SWIGRUNTIME char * | |
424 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
425 | static const char hex[17] = "0123456789abcdef"; | |
426 | register const unsigned char *u = (unsigned char *) ptr; | |
427 | register const unsigned char *eu = u + sz; | |
428 | for (; u != eu; ++u) { | |
429 | register unsigned char uu = *u; | |
430 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
431 | *(c++) = hex[uu & 0xf]; | |
432 | } | |
433 | return c; | |
434 | } | |
435 | ||
436 | /* | |
437 | Unpack binary data from a string | |
438 | */ | |
439 | SWIGRUNTIME const char * | |
440 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
441 | register unsigned char *u = (unsigned char *) ptr; | |
442 | register const unsigned char *eu = u + sz; | |
443 | for (; u != eu; ++u) { | |
444 | register char d = *(c++); | |
445 | register unsigned char uu = 0; | |
446 | if ((d >= '0') && (d <= '9')) | |
447 | uu = ((d - '0') << 4); | |
448 | else if ((d >= 'a') && (d <= 'f')) | |
449 | uu = ((d - ('a'-10)) << 4); | |
450 | else | |
451 | return (char *) 0; | |
452 | d = *(c++); | |
453 | if ((d >= '0') && (d <= '9')) | |
454 | uu |= (d - '0'); | |
455 | else if ((d >= 'a') && (d <= 'f')) | |
456 | uu |= (d - ('a'-10)); | |
457 | else | |
458 | return (char *) 0; | |
459 | *u = uu; | |
460 | } | |
461 | return c; | |
462 | } | |
463 | ||
464 | /* | |
465 | Pack 'void *' into a string buffer. | |
466 | */ | |
467 | SWIGRUNTIME char * | |
468 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
469 | char *r = buff; | |
470 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
471 | *(r++) = '_'; | |
472 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
473 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
474 | strcpy(r,name); | |
475 | return buff; | |
476 | } | |
477 | ||
478 | SWIGRUNTIME const char * | |
479 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
480 | if (*c != '_') { | |
481 | if (strcmp(c,"NULL") == 0) { | |
482 | *ptr = (void *) 0; | |
483 | return name; | |
484 | } else { | |
485 | return 0; | |
486 | } | |
487 | } | |
488 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
489 | } | |
490 | ||
491 | SWIGRUNTIME char * | |
492 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
493 | char *r = buff; | |
494 | size_t lname = (name ? strlen(name) : 0); | |
495 | if ((2*sz + 2 + lname) > bsz) return 0; | |
496 | *(r++) = '_'; | |
497 | r = SWIG_PackData(r,ptr,sz); | |
498 | if (lname) { | |
499 | strncpy(r,name,lname+1); | |
500 | } else { | |
501 | *r = 0; | |
502 | } | |
503 | return buff; | |
504 | } | |
505 | ||
506 | SWIGRUNTIME const char * | |
507 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
508 | if (*c != '_') { | |
509 | if (strcmp(c,"NULL") == 0) { | |
510 | memset(ptr,0,sz); | |
511 | return name; | |
512 | } else { | |
513 | return 0; | |
514 | } | |
515 | } | |
516 | return SWIG_UnpackData(++c,ptr,sz); | |
517 | } | |
518 | ||
519 | #ifdef __cplusplus | |
520 | } | |
521 | #endif | |
522 | ||
523 | /* ----------------------------------------------------------------------------- | |
524 | * SWIG API. Portion that goes into the runtime | |
525 | * ----------------------------------------------------------------------------- */ | |
526 | ||
527 | #ifdef __cplusplus | |
528 | extern "C" { | |
529 | #endif | |
530 | ||
531 | /* ----------------------------------------------------------------------------- | |
532 | * for internal method declarations | |
533 | * ----------------------------------------------------------------------------- */ | |
534 | ||
535 | #ifndef SWIGINTERN | |
536 | # define SWIGINTERN static SWIGUNUSED | |
537 | #endif | |
538 | ||
539 | #ifndef SWIGINTERNINLINE | |
540 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
541 | #endif | |
542 | ||
543 | /* | |
544 | Exception handling in wrappers | |
545 | */ | |
546 | #define SWIG_fail goto fail | |
547 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
548 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
549 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
550 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
551 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
552 | ||
553 | /* | |
554 | Contract support | |
555 | */ | |
556 | #define SWIG_contract_assert(expr, msg) \ | |
557 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
558 | ||
559 | /* ----------------------------------------------------------------------------- | |
560 | * Constant declarations | |
561 | * ----------------------------------------------------------------------------- */ | |
562 | ||
563 | /* Constant Types */ | |
564 | #define SWIG_PY_INT 1 | |
565 | #define SWIG_PY_FLOAT 2 | |
566 | #define SWIG_PY_STRING 3 | |
567 | #define SWIG_PY_POINTER 4 | |
568 | #define SWIG_PY_BINARY 5 | |
569 | ||
570 | /* Constant information structure */ | |
571 | typedef struct swig_const_info { | |
572 | int type; | |
573 | char *name; | |
574 | long lvalue; | |
575 | double dvalue; | |
576 | void *pvalue; | |
577 | swig_type_info **ptype; | |
578 | } swig_const_info; | |
579 | ||
580 | ||
581 | /* ----------------------------------------------------------------------------- | |
582 | * Alloc. memory flags | |
583 | * ----------------------------------------------------------------------------- */ | |
584 | #define SWIG_OLDOBJ 1 | |
585 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
586 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
587 | ||
588 | #ifdef __cplusplus | |
589 | } | |
590 | #endif | |
591 | ||
592 | ||
593 | /*********************************************************************** | |
594 | * pyrun.swg | |
595 | * | |
596 | * This file contains the runtime support for Python modules | |
597 | * and includes code for managing global variables and pointer | |
598 | * type checking. | |
599 | * | |
600 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
601 | ************************************************************************/ | |
602 | ||
603 | /* Common SWIG API */ | |
604 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
605 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
606 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
607 | ||
608 | ||
609 | /* Python-specific SWIG API */ | |
610 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
611 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
612 | ||
613 | /* Runtime API */ | |
614 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
615 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
616 | ||
617 | /* ----------------------------------------------------------------------------- | |
618 | * Pointer declarations | |
619 | * ----------------------------------------------------------------------------- */ | |
620 | /* | |
621 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
622 | C/C++ pointers in the python side. Very useful for debugging, but | |
623 | not always safe. | |
624 | */ | |
625 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
626 | # define SWIG_COBJECT_TYPES | |
627 | #endif | |
628 | ||
629 | /* Flags for pointer conversion */ | |
630 | #define SWIG_POINTER_EXCEPTION 0x1 | |
631 | #define SWIG_POINTER_DISOWN 0x2 | |
632 | ||
633 | ||
634 | /* Add PyOS_snprintf for old Pythons */ | |
635 | #if PY_VERSION_HEX < 0x02020000 | |
636 | #define PyOS_snprintf snprintf | |
637 | #endif | |
638 | ||
639 | #ifdef __cplusplus | |
640 | extern "C" { | |
641 | #endif | |
642 | ||
643 | /* ----------------------------------------------------------------------------- | |
644 | * Create a new pointer string | |
645 | * ----------------------------------------------------------------------------- */ | |
646 | #ifndef SWIG_BUFFER_SIZE | |
647 | #define SWIG_BUFFER_SIZE 1024 | |
648 | #endif | |
649 | ||
650 | /* A crude PyString_FromFormat implementation for old Pythons */ | |
651 | #if PY_VERSION_HEX < 0x02020000 | |
652 | static PyObject * | |
653 | PyString_FromFormat(const char *fmt, ...) { | |
654 | va_list ap; | |
655 | char buf[SWIG_BUFFER_SIZE * 2]; | |
656 | int res; | |
657 | va_start(ap, fmt); | |
658 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
659 | va_end(ap); | |
660 | return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); | |
661 | } | |
662 | #endif | |
663 | ||
664 | #if PY_VERSION_HEX < 0x01060000 | |
665 | #define PyObject_Del(op) PyMem_DEL((op)) | |
666 | #endif | |
667 | ||
668 | #if defined(SWIG_COBJECT_TYPES) | |
669 | #if !defined(SWIG_COBJECT_PYTHON) | |
670 | /* ----------------------------------------------------------------------------- | |
671 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
672 | * ----------------------------------------------------------------------------- */ | |
673 | ||
674 | typedef struct { | |
675 | PyObject_HEAD | |
676 | void *ptr; | |
677 | const char *desc; | |
678 | } PySwigObject; | |
679 | ||
680 | /* Declarations for objects of type PySwigObject */ | |
681 | ||
682 | SWIGRUNTIME int | |
683 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
684 | { | |
685 | char result[SWIG_BUFFER_SIZE]; | |
686 | flags = flags; | |
687 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { | |
688 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
689 | return 0; | |
690 | } else { | |
691 | return 1; | |
692 | } | |
693 | } | |
694 | ||
695 | SWIGRUNTIME PyObject * | |
696 | PySwigObject_repr(PySwigObject *v) | |
697 | { | |
698 | char result[SWIG_BUFFER_SIZE]; | |
699 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
700 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
701 | } | |
702 | ||
703 | SWIGRUNTIME PyObject * | |
704 | PySwigObject_str(PySwigObject *v) | |
705 | { | |
706 | char result[SWIG_BUFFER_SIZE]; | |
707 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
708 | PyString_FromString(result) : 0; | |
709 | } | |
710 | ||
711 | SWIGRUNTIME PyObject * | |
712 | PySwigObject_long(PySwigObject *v) | |
713 | { | |
714 | return PyLong_FromVoidPtr(v->ptr); | |
715 | } | |
716 | ||
717 | SWIGRUNTIME PyObject * | |
718 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
719 | { | |
720 | PyObject *res = NULL; | |
721 | PyObject *args = PyTuple_New(1); | |
722 | if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { | |
723 | PyObject *ofmt = PyString_FromString(fmt); | |
724 | if (ofmt) { | |
725 | res = PyString_Format(ofmt,args); | |
726 | Py_DECREF(ofmt); | |
727 | } | |
728 | Py_DECREF(args); | |
729 | } | |
730 | return res; | |
731 | } | |
732 | ||
733 | SWIGRUNTIME PyObject * | |
734 | PySwigObject_oct(PySwigObject *v) | |
735 | { | |
736 | return PySwigObject_format("%o",v); | |
737 | } | |
738 | ||
739 | SWIGRUNTIME PyObject * | |
740 | PySwigObject_hex(PySwigObject *v) | |
741 | { | |
742 | return PySwigObject_format("%x",v); | |
743 | } | |
744 | ||
745 | SWIGRUNTIME int | |
746 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
747 | { | |
748 | int c = strcmp(v->desc, w->desc); | |
749 | if (c) { | |
750 | return (c > 0) ? 1 : -1; | |
751 | } else { | |
752 | void *i = v->ptr; | |
753 | void *j = w->ptr; | |
754 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
755 | } | |
756 | } | |
757 | ||
758 | SWIGRUNTIME void | |
759 | PySwigObject_dealloc(PySwigObject *self) | |
760 | { | |
761 | PyObject_Del(self); | |
762 | } | |
763 | ||
764 | SWIGRUNTIME PyTypeObject* | |
765 | PySwigObject_type(void) { | |
766 | static char pyswigobject_type__doc__[] = | |
767 | "Swig object carries a C/C++ instance pointer"; | |
768 | ||
769 | static PyNumberMethods PySwigObject_as_number = { | |
770 | (binaryfunc)0, /*nb_add*/ | |
771 | (binaryfunc)0, /*nb_subtract*/ | |
772 | (binaryfunc)0, /*nb_multiply*/ | |
773 | (binaryfunc)0, /*nb_divide*/ | |
774 | (binaryfunc)0, /*nb_remainder*/ | |
775 | (binaryfunc)0, /*nb_divmod*/ | |
776 | (ternaryfunc)0,/*nb_power*/ | |
777 | (unaryfunc)0, /*nb_negative*/ | |
778 | (unaryfunc)0, /*nb_positive*/ | |
779 | (unaryfunc)0, /*nb_absolute*/ | |
780 | (inquiry)0, /*nb_nonzero*/ | |
781 | 0, /*nb_invert*/ | |
782 | 0, /*nb_lshift*/ | |
783 | 0, /*nb_rshift*/ | |
784 | 0, /*nb_and*/ | |
785 | 0, /*nb_xor*/ | |
786 | 0, /*nb_or*/ | |
787 | (coercion)0, /*nb_coerce*/ | |
788 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
789 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
790 | (unaryfunc)0, /*nb_float*/ | |
791 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
792 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
793 | #if PY_VERSION_HEX >= 0x02020000 | |
794 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
795 | #elif PY_VERSION_HEX >= 0x02000000 | |
796 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
797 | #endif | |
798 | }; | |
799 | ||
800 | static PyTypeObject pyswigobject_type | |
801 | #if !defined(__cplusplus) | |
802 | ; | |
803 | static int type_init = 0; | |
804 | if (!type_init) { | |
805 | PyTypeObject tmp | |
806 | #endif | |
807 | = { | |
808 | PyObject_HEAD_INIT(&PyType_Type) | |
809 | 0, /*ob_size*/ | |
810 | (char *)"PySwigObject", /*tp_name*/ | |
811 | sizeof(PySwigObject), /*tp_basicsize*/ | |
812 | 0, /*tp_itemsize*/ | |
813 | /* methods */ | |
814 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
815 | (printfunc)PySwigObject_print, /*tp_print*/ | |
816 | (getattrfunc)0, /*tp_getattr*/ | |
817 | (setattrfunc)0, /*tp_setattr*/ | |
818 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
819 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
820 | &PySwigObject_as_number, /*tp_as_number*/ | |
821 | 0, /*tp_as_sequence*/ | |
822 | 0, /*tp_as_mapping*/ | |
823 | (hashfunc)0, /*tp_hash*/ | |
824 | (ternaryfunc)0, /*tp_call*/ | |
825 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
826 | /* Space for future expansion */ | |
827 | 0,0,0,0, | |
828 | pyswigobject_type__doc__, /* Documentation string */ | |
829 | #if PY_VERSION_HEX >= 0x02000000 | |
830 | 0, /* tp_traverse */ | |
831 | 0, /* tp_clear */ | |
832 | #endif | |
833 | #if PY_VERSION_HEX >= 0x02010000 | |
834 | 0, /* tp_richcompare */ | |
835 | 0, /* tp_weaklistoffset */ | |
836 | #endif | |
837 | #if PY_VERSION_HEX >= 0x02020000 | |
838 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
839 | #endif | |
840 | #if PY_VERSION_HEX >= 0x02030000 | |
841 | 0, /* tp_del */ | |
842 | #endif | |
843 | #ifdef COUNT_ALLOCS | |
844 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
845 | #endif | |
846 | }; | |
847 | #if !defined(__cplusplus) | |
848 | pyswigobject_type = tmp; | |
849 | type_init = 1; | |
850 | } | |
851 | #endif | |
852 | return &pyswigobject_type; | |
853 | } | |
854 | ||
855 | SWIGRUNTIME PyObject * | |
856 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
857 | { | |
858 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); | |
859 | if (self) { | |
860 | self->ptr = ptr; | |
861 | self->desc = desc; | |
862 | } | |
863 | return (PyObject *)self; | |
864 | } | |
865 | ||
866 | SWIGRUNTIMEINLINE void * | |
867 | PySwigObject_AsVoidPtr(PyObject *self) | |
868 | { | |
869 | return ((PySwigObject *)self)->ptr; | |
870 | } | |
871 | ||
872 | SWIGRUNTIMEINLINE const char * | |
873 | PySwigObject_GetDesc(PyObject *self) | |
874 | { | |
875 | return ((PySwigObject *)self)->desc; | |
876 | } | |
877 | ||
878 | SWIGRUNTIMEINLINE int | |
879 | PySwigObject_Check(PyObject *op) { | |
880 | return ((op)->ob_type == PySwigObject_type()) | |
881 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
882 | } | |
883 | ||
884 | /* ----------------------------------------------------------------------------- | |
885 | * Implements a simple Swig Packed type, and use it instead of string | |
886 | * ----------------------------------------------------------------------------- */ | |
887 | ||
888 | typedef struct { | |
889 | PyObject_HEAD | |
890 | void *pack; | |
891 | const char *desc; | |
892 | size_t size; | |
893 | } PySwigPacked; | |
894 | ||
895 | SWIGRUNTIME int | |
896 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
897 | { | |
898 | char result[SWIG_BUFFER_SIZE]; | |
899 | flags = flags; | |
900 | fputs("<Swig Packed ", fp); | |
901 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
902 | fputs("at ", fp); | |
903 | fputs(result, fp); | |
904 | } | |
905 | fputs(v->desc,fp); | |
906 | fputs(">", fp); | |
907 | return 0; | |
908 | } | |
909 | ||
910 | SWIGRUNTIME PyObject * | |
911 | PySwigPacked_repr(PySwigPacked *v) | |
912 | { | |
913 | char result[SWIG_BUFFER_SIZE]; | |
914 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
915 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
916 | } else { | |
917 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
918 | } | |
919 | } | |
920 | ||
921 | SWIGRUNTIME PyObject * | |
922 | PySwigPacked_str(PySwigPacked *v) | |
923 | { | |
924 | char result[SWIG_BUFFER_SIZE]; | |
925 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
926 | return PyString_FromFormat("%s%s", result, v->desc); | |
927 | } else { | |
928 | return PyString_FromString(v->desc); | |
929 | } | |
930 | } | |
931 | ||
932 | SWIGRUNTIME int | |
933 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
934 | { | |
935 | int c = strcmp(v->desc, w->desc); | |
936 | if (c) { | |
937 | return (c > 0) ? 1 : -1; | |
938 | } else { | |
939 | size_t i = v->size; | |
940 | size_t j = w->size; | |
941 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
942 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
943 | } | |
944 | } | |
945 | ||
946 | SWIGRUNTIME void | |
947 | PySwigPacked_dealloc(PySwigPacked *self) | |
948 | { | |
949 | free(self->pack); | |
950 | PyObject_Del(self); | |
951 | } | |
952 | ||
953 | SWIGRUNTIME PyTypeObject* | |
954 | PySwigPacked_type(void) { | |
955 | static char pyswigpacked_type__doc__[] = | |
956 | "Swig object carries a C/C++ instance pointer"; | |
957 | static PyTypeObject pyswigpacked_type | |
958 | #if !defined(__cplusplus) | |
959 | ; | |
960 | static int type_init = 0; | |
961 | if (!type_init) { | |
962 | PyTypeObject tmp | |
963 | #endif | |
964 | = { | |
965 | PyObject_HEAD_INIT(&PyType_Type) | |
966 | 0, /*ob_size*/ | |
967 | (char *)"PySwigPacked", /*tp_name*/ | |
968 | sizeof(PySwigPacked), /*tp_basicsize*/ | |
969 | 0, /*tp_itemsize*/ | |
970 | /* methods */ | |
971 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
972 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
973 | (getattrfunc)0, /*tp_getattr*/ | |
974 | (setattrfunc)0, /*tp_setattr*/ | |
975 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
976 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
977 | 0, /*tp_as_number*/ | |
978 | 0, /*tp_as_sequence*/ | |
979 | 0, /*tp_as_mapping*/ | |
980 | (hashfunc)0, /*tp_hash*/ | |
981 | (ternaryfunc)0, /*tp_call*/ | |
982 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
983 | /* Space for future expansion */ | |
984 | 0,0,0,0, | |
985 | pyswigpacked_type__doc__, /* Documentation string */ | |
986 | #if PY_VERSION_HEX >= 0x02000000 | |
987 | 0, /* tp_traverse */ | |
988 | 0, /* tp_clear */ | |
989 | #endif | |
990 | #if PY_VERSION_HEX >= 0x02010000 | |
991 | 0, /* tp_richcompare */ | |
992 | 0, /* tp_weaklistoffset */ | |
993 | #endif | |
994 | #if PY_VERSION_HEX >= 0x02020000 | |
995 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
996 | #endif | |
997 | #if PY_VERSION_HEX >= 0x02030000 | |
998 | 0, /* tp_del */ | |
999 | #endif | |
1000 | #ifdef COUNT_ALLOCS | |
1001 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1002 | #endif | |
1003 | }; | |
1004 | #if !defined(__cplusplus) | |
1005 | pyswigpacked_type = tmp; | |
1006 | type_init = 1; | |
1007 | } | |
1008 | #endif | |
1009 | return &pyswigpacked_type; | |
1010 | } | |
1011 | ||
1012 | SWIGRUNTIME PyObject * | |
1013 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
1014 | { | |
1015 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); | |
1016 | if (self == NULL) { | |
1017 | return NULL; | |
1018 | } else { | |
1019 | void *pack = malloc(size); | |
1020 | if (pack) { | |
1021 | memcpy(pack, ptr, size); | |
1022 | self->pack = pack; | |
1023 | self->desc = desc; | |
1024 | self->size = size; | |
1025 | return (PyObject *) self; | |
1026 | } | |
1027 | return NULL; | |
1028 | } | |
1029 | } | |
1030 | ||
1031 | SWIGRUNTIMEINLINE const char * | |
1032 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
1033 | { | |
1034 | PySwigPacked *self = (PySwigPacked *)obj; | |
1035 | if (self->size != size) return 0; | |
1036 | memcpy(ptr, self->pack, size); | |
1037 | return self->desc; | |
1038 | } | |
1039 | ||
1040 | SWIGRUNTIMEINLINE const char * | |
1041 | PySwigPacked_GetDesc(PyObject *self) | |
1042 | { | |
1043 | return ((PySwigPacked *)self)->desc; | |
1044 | } | |
1045 | ||
1046 | SWIGRUNTIMEINLINE int | |
1047 | PySwigPacked_Check(PyObject *op) { | |
1048 | return ((op)->ob_type == PySwigPacked_type()) | |
1049 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1050 | } | |
1051 | ||
1052 | #else | |
1053 | /* ----------------------------------------------------------------------------- | |
1054 | * Use the old Python PyCObject instead of PySwigObject | |
1055 | * ----------------------------------------------------------------------------- */ | |
1056 | ||
1057 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) | |
1058 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1059 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1060 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
1061 | ||
1062 | #endif | |
1063 | ||
1064 | #endif | |
1065 | ||
1066 | /* ----------------------------------------------------------------------------- | |
1067 | * errors manipulation | |
1068 | * ----------------------------------------------------------------------------- */ | |
1069 | ||
1070 | SWIGRUNTIME void | |
1071 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1072 | { | |
1073 | if (type) { | |
1074 | #if defined(SWIG_COBJECT_TYPES) | |
1075 | if (obj && PySwigObject_Check(obj)) { | |
1076 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
1077 | if (otype) { | |
1078 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1079 | type, otype); | |
1080 | return; | |
1081 | } | |
1082 | } else | |
1083 | #endif | |
1084 | { | |
1085 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1086 | if (otype) { | |
1087 | PyObject *str = PyObject_Str(obj); | |
1088 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1089 | if (cstr) { | |
1090 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1091 | type, otype, cstr); | |
1092 | } else { | |
1093 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1094 | type, otype); | |
1095 | } | |
1096 | Py_XDECREF(str); | |
1097 | return; | |
1098 | } | |
1099 | } | |
1100 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1101 | } else { | |
1102 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1103 | } | |
1104 | } | |
1105 | ||
1106 | SWIGRUNTIMEINLINE void | |
1107 | SWIG_Python_NullRef(const char *type) | |
1108 | { | |
1109 | if (type) { | |
1110 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1111 | } else { | |
1112 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1113 | } | |
1114 | } | |
1115 | ||
1116 | SWIGRUNTIME int | |
1117 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1118 | { | |
1119 | if (PyErr_Occurred()) { | |
1120 | PyObject *type = 0; | |
1121 | PyObject *value = 0; | |
1122 | PyObject *traceback = 0; | |
1123 | PyErr_Fetch(&type, &value, &traceback); | |
1124 | if (value) { | |
1125 | PyObject *old_str = PyObject_Str(value); | |
1126 | Py_XINCREF(type); | |
1127 | PyErr_Clear(); | |
1128 | if (infront) { | |
1129 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1130 | } else { | |
1131 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1132 | } | |
1133 | Py_DECREF(old_str); | |
1134 | } | |
1135 | return 1; | |
1136 | } else { | |
1137 | return 0; | |
1138 | } | |
1139 | } | |
1140 | ||
1141 | SWIGRUNTIME int | |
1142 | SWIG_Python_ArgFail(int argnum) | |
1143 | { | |
1144 | if (PyErr_Occurred()) { | |
1145 | /* add information about failing argument */ | |
1146 | char mesg[256]; | |
1147 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
1148 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1149 | } else { | |
1150 | return 0; | |
1151 | } | |
1152 | } | |
1153 | ||
1154 | ||
1155 | /* ----------------------------------------------------------------------------- | |
1156 | * pointers/data manipulation | |
1157 | * ----------------------------------------------------------------------------- */ | |
1158 | ||
1159 | /* Convert a pointer value */ | |
1160 | SWIGRUNTIME int | |
1161 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1162 | swig_cast_info *tc; | |
1163 | const char *c = 0; | |
1164 | static PyObject *SWIG_this = 0; | |
1165 | int newref = 0; | |
1166 | PyObject *pyobj = 0; | |
1167 | void *vptr; | |
1168 | ||
1169 | if (!obj) return 0; | |
1170 | if (obj == Py_None) { | |
1171 | *ptr = 0; | |
1172 | return 0; | |
1173 | } | |
1174 | ||
1175 | #ifdef SWIG_COBJECT_TYPES | |
1176 | if (!(PySwigObject_Check(obj))) { | |
1177 | if (!SWIG_this) | |
1178 | SWIG_this = PyString_FromString("this"); | |
1179 | pyobj = obj; | |
1180 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1181 | newref = 1; | |
1182 | if (!obj) goto type_error; | |
1183 | if (!PySwigObject_Check(obj)) { | |
1184 | Py_DECREF(obj); | |
1185 | goto type_error; | |
1186 | } | |
1187 | } | |
1188 | vptr = PySwigObject_AsVoidPtr(obj); | |
1189 | c = (const char *) PySwigObject_GetDesc(obj); | |
1190 | if (newref) { Py_DECREF(obj); } | |
1191 | goto type_check; | |
1192 | #else | |
1193 | if (!(PyString_Check(obj))) { | |
1194 | if (!SWIG_this) | |
1195 | SWIG_this = PyString_FromString("this"); | |
1196 | pyobj = obj; | |
1197 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1198 | newref = 1; | |
1199 | if (!obj) goto type_error; | |
1200 | if (!PyString_Check(obj)) { | |
1201 | Py_DECREF(obj); | |
1202 | goto type_error; | |
1203 | } | |
1204 | } | |
1205 | c = PyString_AsString(obj); | |
1206 | /* Pointer values must start with leading underscore */ | |
1207 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1208 | if (newref) { Py_DECREF(obj); } | |
1209 | if (!c) goto type_error; | |
1210 | #endif | |
1211 | ||
1212 | type_check: | |
1213 | if (ty) { | |
1214 | tc = SWIG_TypeCheck(c,ty); | |
1215 | if (!tc) goto type_error; | |
1216 | *ptr = SWIG_TypeCast(tc,vptr); | |
1217 | } else { | |
1218 | *ptr = vptr; | |
1219 | } | |
1220 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { | |
1221 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1222 | } | |
1223 | return 0; | |
1224 | ||
1225 | type_error: | |
1226 | PyErr_Clear(); | |
1227 | if (pyobj && !obj) { | |
1228 | obj = pyobj; | |
1229 | if (PyCFunction_Check(obj)) { | |
1230 | /* here we get the method pointer for callbacks */ | |
1231 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1232 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1233 | if (c) { | |
1234 | c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; | |
1235 | if (!c) goto type_error; | |
1236 | goto type_check; | |
1237 | } | |
1238 | } | |
1239 | } | |
1240 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1241 | if (ty) { | |
1242 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1243 | } else { | |
1244 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1245 | } | |
1246 | } | |
1247 | return -1; | |
1248 | } | |
1249 | ||
1250 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
1251 | SWIGRUNTIME void * | |
1252 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1253 | void *result; | |
1254 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1255 | PyErr_Clear(); | |
1256 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1257 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1258 | SWIG_Python_ArgFail(argnum); | |
1259 | } | |
1260 | } | |
1261 | return result; | |
1262 | } | |
1263 | ||
1264 | /* Convert a packed value value */ | |
1265 | SWIGRUNTIME int | |
1266 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1267 | swig_cast_info *tc; | |
1268 | const char *c = 0; | |
1269 | ||
1270 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1271 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1272 | #else | |
1273 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1274 | c = PyString_AsString(obj); | |
1275 | /* Pointer values must start with leading underscore */ | |
1276 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1277 | #endif | |
1278 | if (!c) goto type_error; | |
1279 | if (ty) { | |
1280 | tc = SWIG_TypeCheck(c,ty); | |
1281 | if (!tc) goto type_error; | |
1282 | } | |
1283 | return 0; | |
1284 | ||
1285 | type_error: | |
1286 | PyErr_Clear(); | |
1287 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1288 | if (ty) { | |
1289 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1290 | } else { | |
1291 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1292 | } | |
1293 | } | |
1294 | return -1; | |
1295 | } | |
1296 | ||
1297 | /* Create a new array object */ | |
1298 | SWIGRUNTIME PyObject * | |
1299 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1300 | PyObject *robj = 0; | |
1301 | if (!type) { | |
1302 | if (!PyErr_Occurred()) { | |
1303 | PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); | |
1304 | } | |
1305 | return robj; | |
1306 | } | |
1307 | if (!ptr) { | |
1308 | Py_INCREF(Py_None); | |
1309 | return Py_None; | |
1310 | } | |
1311 | #ifdef SWIG_COBJECT_TYPES | |
1312 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1313 | #else | |
1314 | { | |
1315 | char result[SWIG_BUFFER_SIZE]; | |
1316 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1317 | PyString_FromString(result) : 0; | |
1318 | } | |
1319 | #endif | |
1320 | if (!robj || (robj == Py_None)) return robj; | |
1321 | if (type->clientdata) { | |
1322 | PyObject *inst; | |
1323 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1324 | Py_DECREF(robj); | |
1325 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1326 | Py_DECREF(args); | |
1327 | if (inst) { | |
1328 | if (own) { | |
1329 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1330 | } | |
1331 | robj = inst; | |
1332 | } | |
1333 | } | |
1334 | return robj; | |
1335 | } | |
1336 | ||
1337 | SWIGRUNTIME PyObject * | |
1338 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1339 | PyObject *robj = 0; | |
1340 | if (!ptr) { | |
1341 | Py_INCREF(Py_None); | |
1342 | return Py_None; | |
1343 | } | |
1344 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1345 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1346 | #else | |
1347 | { | |
1348 | char result[SWIG_BUFFER_SIZE]; | |
1349 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1350 | PyString_FromString(result) : 0; | |
1351 | } | |
1352 | #endif | |
1353 | return robj; | |
1354 | } | |
1355 | ||
1356 | /* -----------------------------------------------------------------------------* | |
1357 | * Get type list | |
1358 | * -----------------------------------------------------------------------------*/ | |
1359 | ||
1360 | #ifdef SWIG_LINK_RUNTIME | |
1361 | void *SWIG_ReturnGlobalTypeList(void *); | |
1362 | #endif | |
1363 | ||
1364 | SWIGRUNTIME swig_module_info * | |
1365 | SWIG_Python_GetModule(void) { | |
1366 | static void *type_pointer = (void *)0; | |
1367 | /* first check if module already created */ | |
1368 | if (!type_pointer) { | |
1369 | #ifdef SWIG_LINK_RUNTIME | |
1370 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1371 | #else | |
1372 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1373 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1374 | if (PyErr_Occurred()) { | |
1375 | PyErr_Clear(); | |
1376 | type_pointer = (void *)0; | |
1377 | } | |
1378 | #endif | |
1379 | } | |
1380 | return (swig_module_info *) type_pointer; | |
1381 | } | |
1382 | ||
1383 | #if PY_MAJOR_VERSION < 2 | |
1384 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
1385 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
1386 | SWIGINTERN int | |
1387 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
1388 | { | |
1389 | PyObject *dict; | |
1390 | if (!PyModule_Check(m)) { | |
1391 | PyErr_SetString(PyExc_TypeError, | |
1392 | "PyModule_AddObject() needs module as first arg"); | |
1393 | return -1; | |
1394 | } | |
1395 | if (!o) { | |
1396 | PyErr_SetString(PyExc_TypeError, | |
1397 | "PyModule_AddObject() needs non-NULL value"); | |
1398 | return -1; | |
1399 | } | |
1400 | ||
1401 | dict = PyModule_GetDict(m); | |
1402 | if (dict == NULL) { | |
1403 | /* Internal error -- modules must have a dict! */ | |
1404 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
1405 | PyModule_GetName(m)); | |
1406 | return -1; | |
1407 | } | |
1408 | if (PyDict_SetItemString(dict, name, o)) | |
1409 | return -1; | |
1410 | Py_DECREF(o); | |
1411 | return 0; | |
1412 | } | |
1413 | #endif | |
1414 | ||
1415 | SWIGRUNTIME void | |
1416 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
1417 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
1418 | ||
1419 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1420 | swig_empty_runtime_method_table); | |
1421 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); | |
1422 | if (pointer && module) { | |
1423 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
1424 | } | |
1425 | } | |
1426 | ||
1427 | #ifdef __cplusplus | |
1428 | } | |
1429 | #endif | |
1430 | ||
1431 | ||
1432 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
1433 | ||
1434 | #define SWIGTYPE_p_char swig_types[0] | |
1435 | #define SWIGTYPE_p_form_ops_t swig_types[1] | |
1436 | #define SWIGTYPE_p_int swig_types[2] | |
1437 | #define SWIGTYPE_p_unsigned_char swig_types[3] | |
1438 | #define SWIGTYPE_p_unsigned_int swig_types[4] | |
1439 | #define SWIGTYPE_p_unsigned_long swig_types[5] | |
1440 | #define SWIGTYPE_p_void swig_types[6] | |
1441 | #define SWIGTYPE_p_wxANIHandler swig_types[7] | |
1442 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] | |
1443 | #define SWIGTYPE_p_wxActivateEvent swig_types[9] | |
1444 | #define SWIGTYPE_p_wxBMPHandler swig_types[10] | |
1445 | #define SWIGTYPE_p_wxBitmap swig_types[11] | |
1446 | #define SWIGTYPE_p_wxBoxSizer swig_types[12] | |
1447 | #define SWIGTYPE_p_wxBusyInfo swig_types[13] | |
1448 | #define SWIGTYPE_p_wxCURHandler swig_types[14] | |
1449 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] | |
1450 | #define SWIGTYPE_p_wxClipboard swig_types[16] | |
1451 | #define SWIGTYPE_p_wxCloseEvent swig_types[17] | |
1452 | #define SWIGTYPE_p_wxColour swig_types[18] | |
1453 | #define SWIGTYPE_p_wxCommandEvent swig_types[19] | |
1454 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[20] | |
1455 | #define SWIGTYPE_p_wxControl swig_types[21] | |
1456 | #define SWIGTYPE_p_wxControlWithItems swig_types[22] | |
1457 | #define SWIGTYPE_p_wxDC swig_types[23] | |
1458 | #define SWIGTYPE_p_wxDateEvent swig_types[24] | |
1459 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25] | |
1460 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[26] | |
1461 | #define SWIGTYPE_p_wxDuplexMode swig_types[27] | |
1462 | #define SWIGTYPE_p_wxEraseEvent swig_types[28] | |
1463 | #define SWIGTYPE_p_wxEvent swig_types[29] | |
1464 | #define SWIGTYPE_p_wxEvtHandler swig_types[30] | |
1465 | #define SWIGTYPE_p_wxFSFile swig_types[31] | |
1466 | #define SWIGTYPE_p_wxFileHistory swig_types[32] | |
1467 | #define SWIGTYPE_p_wxFileSystem swig_types[33] | |
1468 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[34] | |
1469 | #define SWIGTYPE_p_wxFocusEvent swig_types[35] | |
1470 | #define SWIGTYPE_p_wxFont swig_types[36] | |
1471 | #define SWIGTYPE_p_wxGBSizerItem swig_types[37] | |
1472 | #define SWIGTYPE_p_wxGIFHandler swig_types[38] | |
1473 | #define SWIGTYPE_p_wxGridBagSizer swig_types[39] | |
1474 | #define SWIGTYPE_p_wxGridSizer swig_types[40] | |
1475 | #define SWIGTYPE_p_wxICOHandler swig_types[41] | |
1476 | #define SWIGTYPE_p_wxIconizeEvent swig_types[42] | |
1477 | #define SWIGTYPE_p_wxIdleEvent swig_types[43] | |
1478 | #define SWIGTYPE_p_wxImage swig_types[44] | |
1479 | #define SWIGTYPE_p_wxImageHandler swig_types[45] | |
1480 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46] | |
1481 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[47] | |
1482 | #define SWIGTYPE_p_wxJPEGHandler swig_types[48] | |
1483 | #define SWIGTYPE_p_wxJoystickEvent swig_types[49] | |
1484 | #define SWIGTYPE_p_wxKeyEvent swig_types[50] | |
1485 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[51] | |
1486 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[52] | |
1487 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[53] | |
1488 | #define SWIGTYPE_p_wxMenu swig_types[54] | |
1489 | #define SWIGTYPE_p_wxMenuBar swig_types[55] | |
1490 | #define SWIGTYPE_p_wxMenuEvent swig_types[56] | |
1491 | #define SWIGTYPE_p_wxMenuItem swig_types[57] | |
1492 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58] | |
1493 | #define SWIGTYPE_p_wxMouseEvent swig_types[59] | |
1494 | #define SWIGTYPE_p_wxMoveEvent swig_types[60] | |
1495 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61] | |
1496 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[62] | |
1497 | #define SWIGTYPE_p_wxNotifyEvent swig_types[63] | |
1498 | #define SWIGTYPE_p_wxObject swig_types[64] | |
1499 | #define SWIGTYPE_p_wxPCXHandler swig_types[65] | |
1500 | #define SWIGTYPE_p_wxPNGHandler swig_types[66] | |
1501 | #define SWIGTYPE_p_wxPNMHandler swig_types[67] | |
1502 | #define SWIGTYPE_p_wxPaintEvent swig_types[68] | |
1503 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69] | |
1504 | #define SWIGTYPE_p_wxPaperSize swig_types[70] | |
1505 | #define SWIGTYPE_p_wxPoint swig_types[71] | |
1506 | #define SWIGTYPE_p_wxProcessEvent swig_types[72] | |
1507 | #define SWIGTYPE_p_wxPyApp swig_types[73] | |
1508 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[74] | |
1509 | #define SWIGTYPE_p_wxPyEvent swig_types[75] | |
1510 | #define SWIGTYPE_p_wxPyImageHandler swig_types[76] | |
1511 | #define SWIGTYPE_p_wxPyProcess swig_types[77] | |
1512 | #define SWIGTYPE_p_wxPySizer swig_types[78] | |
1513 | #define SWIGTYPE_p_wxPyTimer swig_types[79] | |
1514 | #define SWIGTYPE_p_wxPyValidator swig_types[80] | |
1515 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81] | |
1516 | #define SWIGTYPE_p_wxRect swig_types[82] | |
1517 | #define SWIGTYPE_p_wxScrollBar swig_types[83] | |
1518 | #define SWIGTYPE_p_wxScrollEvent swig_types[84] | |
1519 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[85] | |
1520 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[86] | |
1521 | #define SWIGTYPE_p_wxShowEvent swig_types[87] | |
1522 | #define SWIGTYPE_p_wxSizeEvent swig_types[88] | |
1523 | #define SWIGTYPE_p_wxSizer swig_types[89] | |
1524 | #define SWIGTYPE_p_wxSizerItem swig_types[90] | |
1525 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[91] | |
1526 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[92] | |
1527 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[93] | |
1528 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[94] | |
1529 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[95] | |
1530 | #define SWIGTYPE_p_wxSystemOptions swig_types[96] | |
1531 | #define SWIGTYPE_p_wxTIFFHandler swig_types[97] | |
1532 | #define SWIGTYPE_p_wxTimerEvent swig_types[98] | |
1533 | #define SWIGTYPE_p_wxToolTip swig_types[99] | |
1534 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[100] | |
1535 | #define SWIGTYPE_p_wxValidator swig_types[101] | |
1536 | #define SWIGTYPE_p_wxWindow swig_types[102] | |
1537 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[103] | |
1538 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104] | |
1539 | #define SWIGTYPE_p_wxXPMHandler swig_types[105] | |
1540 | #define SWIGTYPE_ptrdiff_t swig_types[106] | |
1541 | #define SWIGTYPE_std__ptrdiff_t swig_types[107] | |
1542 | #define SWIGTYPE_unsigned_int swig_types[108] | |
1543 | static swig_type_info *swig_types[110]; | |
1544 | static swig_module_info swig_module = {swig_types, 109, 0, 0, 0, 0}; | |
1545 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) | |
1546 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
1547 | ||
1548 | /* -------- TYPES TABLE (END) -------- */ | |
1549 | ||
1550 | ||
1551 | /*----------------------------------------------- | |
1552 | @(target):= _stc.so | |
1553 | ------------------------------------------------*/ | |
1554 | #define SWIG_init init_stc | |
1555 | ||
1556 | #define SWIG_name "_stc" | |
1557 | ||
1558 | #include "wx/wxPython/wxPython.h" | |
1559 | #include "wx/wxPython/pyclasses.h" | |
1560 | #include <wx/stc/stc.h> | |
1561 | ||
1562 | ||
1563 | static const wxString wxPySTCNameStr(wxSTCNameStr); | |
1564 | ||
1565 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ | |
1566 | #define SWIG_From_int PyInt_FromLong | |
1567 | /*@@*/ | |
1568 | ||
1569 | ||
1570 | #include <limits.h> | |
1571 | ||
1572 | ||
1573 | SWIGINTERN int | |
1574 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1575 | const char *errmsg) | |
1576 | { | |
1577 | if (value < min_value) { | |
1578 | if (errmsg) { | |
1579 | PyErr_Format(PyExc_OverflowError, | |
1580 | "value %ld is less than '%s' minimum %ld", | |
1581 | value, errmsg, min_value); | |
1582 | } | |
1583 | return 0; | |
1584 | } else if (value > max_value) { | |
1585 | if (errmsg) { | |
1586 | PyErr_Format(PyExc_OverflowError, | |
1587 | "value %ld is greater than '%s' maximum %ld", | |
1588 | value, errmsg, max_value); | |
1589 | } | |
1590 | return 0; | |
1591 | } | |
1592 | return 1; | |
1593 | } | |
1594 | ||
1595 | ||
1596 | SWIGINTERN int | |
1597 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1598 | { | |
1599 | if (PyNumber_Check(obj)) { | |
1600 | if (val) *val = PyInt_AsLong(obj); | |
1601 | return 1; | |
1602 | } | |
1603 | else { | |
1604 | SWIG_Python_TypeError("number", obj); | |
1605 | } | |
1606 | return 0; | |
1607 | } | |
1608 | ||
1609 | ||
1610 | #if INT_MAX != LONG_MAX | |
1611 | SWIGINTERN int | |
1612 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1613 | { | |
1614 | const char* errmsg = val ? "int" : (char*)0; | |
1615 | long v; | |
1616 | if (SWIG_AsVal_long(obj, &v)) { | |
1617 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1618 | if (val) *val = static_cast<int >(v); | |
1619 | return 1; | |
1620 | } else { | |
1621 | return 0; | |
1622 | } | |
1623 | } else { | |
1624 | PyErr_Clear(); | |
1625 | } | |
1626 | if (val) { | |
1627 | SWIG_type_error(errmsg, obj); | |
1628 | } | |
1629 | return 0; | |
1630 | } | |
1631 | #else | |
1632 | SWIGINTERNINLINE int | |
1633 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1634 | { | |
1635 | return SWIG_AsVal_long(obj,(long*)val); | |
1636 | } | |
1637 | #endif | |
1638 | ||
1639 | ||
1640 | SWIGINTERNINLINE int | |
1641 | SWIG_As_int(PyObject* obj) | |
1642 | { | |
1643 | int v; | |
1644 | if (!SWIG_AsVal_int(obj, &v)) { | |
1645 | /* | |
1646 | this is needed to make valgrind/purify happier. | |
1647 | */ | |
1648 | memset((void*)&v, 0, sizeof(int)); | |
1649 | } | |
1650 | return v; | |
1651 | } | |
1652 | ||
1653 | ||
1654 | SWIGINTERNINLINE long | |
1655 | SWIG_As_long(PyObject* obj) | |
1656 | { | |
1657 | long v; | |
1658 | if (!SWIG_AsVal_long(obj, &v)) { | |
1659 | /* | |
1660 | this is needed to make valgrind/purify happier. | |
1661 | */ | |
1662 | memset((void*)&v, 0, sizeof(long)); | |
1663 | } | |
1664 | return v; | |
1665 | } | |
1666 | ||
1667 | ||
1668 | SWIGINTERNINLINE int | |
1669 | SWIG_Check_int(PyObject* obj) | |
1670 | { | |
1671 | return SWIG_AsVal_int(obj, (int*)0); | |
1672 | } | |
1673 | ||
1674 | ||
1675 | SWIGINTERNINLINE int | |
1676 | SWIG_Check_long(PyObject* obj) | |
1677 | { | |
1678 | return SWIG_AsVal_long(obj, (long*)0); | |
1679 | } | |
1680 | ||
1681 | ||
1682 | SWIGINTERN int | |
1683 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1684 | { | |
1685 | if (obj == Py_True) { | |
1686 | if (val) *val = true; | |
1687 | return 1; | |
1688 | } | |
1689 | if (obj == Py_False) { | |
1690 | if (val) *val = false; | |
1691 | return 1; | |
1692 | } | |
1693 | int res = 0; | |
1694 | if (SWIG_AsVal_int(obj, &res)) { | |
1695 | if (val) *val = res ? true : false; | |
1696 | return 1; | |
1697 | } else { | |
1698 | PyErr_Clear(); | |
1699 | } | |
1700 | if (val) { | |
1701 | SWIG_type_error("bool", obj); | |
1702 | } | |
1703 | return 0; | |
1704 | } | |
1705 | ||
1706 | ||
1707 | SWIGINTERNINLINE bool | |
1708 | SWIG_As_bool(PyObject* obj) | |
1709 | { | |
1710 | bool v; | |
1711 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1712 | /* | |
1713 | this is needed to make valgrind/purify happier. | |
1714 | */ | |
1715 | memset((void*)&v, 0, sizeof(bool)); | |
1716 | } | |
1717 | return v; | |
1718 | } | |
1719 | ||
1720 | ||
1721 | SWIGINTERNINLINE int | |
1722 | SWIG_Check_bool(PyObject* obj) | |
1723 | { | |
1724 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1725 | } | |
1726 | ||
1727 | ||
1728 | static PyObject* t_output_helper(PyObject* result, PyObject* obj) | |
1729 | { | |
1730 | PyObject* o2; | |
1731 | PyObject* o3; | |
1732 | if (!result) { | |
1733 | result = obj; | |
1734 | } else if (result == Py_None) { | |
1735 | Py_DECREF(result); | |
1736 | result = obj; | |
1737 | } else { | |
1738 | if (!PyTuple_Check(result)) { | |
1739 | o2 = result; | |
1740 | result = PyTuple_New(1); | |
1741 | PyTuple_SET_ITEM(result, 0, o2); | |
1742 | } | |
1743 | o3 = PyTuple_New(1); | |
1744 | PyTuple_SetItem(o3, 0, obj); | |
1745 | o2 = result; | |
1746 | result = PySequence_Concat(o2, o3); | |
1747 | Py_DECREF(o2); | |
1748 | Py_DECREF(o3); | |
1749 | } | |
1750 | return result; | |
1751 | } | |
1752 | ||
1753 | ||
1754 | ||
1755 | /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ | |
1756 | SWIGINTERN int | |
1757 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) | |
1758 | { | |
1759 | static swig_type_info* pchar_info = 0; | |
1760 | char* vptr = 0; | |
1761 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); | |
1762 | if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { | |
1763 | if (cptr) *cptr = vptr; | |
1764 | if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; | |
1765 | return SWIG_OLDOBJ; | |
1766 | } else { | |
1767 | PyErr_Clear(); | |
1768 | if (PyString_Check(obj)) { | |
1769 | if (cptr) { | |
1770 | *cptr = PyString_AS_STRING(obj); | |
1771 | if (psize) { | |
1772 | *psize = PyString_GET_SIZE(obj) + 1; | |
1773 | } | |
1774 | } | |
1775 | return SWIG_PYSTR; | |
1776 | } | |
1777 | } | |
1778 | if (cptr) { | |
1779 | SWIG_type_error("char *", obj); | |
1780 | } | |
1781 | return 0; | |
1782 | } | |
1783 | ||
1784 | ||
1785 | SWIGINTERNINLINE int | |
1786 | SWIG_AsCharPtr(PyObject *obj, char **val) | |
1787 | { | |
1788 | if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { | |
1789 | return 1; | |
1790 | } | |
1791 | if (val) { | |
1792 | PyErr_Clear(); | |
1793 | SWIG_type_error("char *", obj); | |
1794 | } | |
1795 | return 0; | |
1796 | } | |
1797 | ||
1798 | ||
1799 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ | |
1800 | #define SWIG_From_long PyInt_FromLong | |
1801 | /*@@*/ | |
1802 | ||
1803 | #ifdef __cplusplus | |
1804 | extern "C" { | |
1805 | #endif | |
1806 | static int _wrap_STCNameStr_set(PyObject *) { | |
1807 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); | |
1808 | return 1; | |
1809 | } | |
1810 | ||
1811 | ||
1812 | static PyObject *_wrap_STCNameStr_get(void) { | |
1813 | PyObject *pyobj = NULL; | |
1814 | ||
1815 | { | |
1816 | #if wxUSE_UNICODE | |
1817 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1818 | #else | |
1819 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1820 | #endif | |
1821 | } | |
1822 | return pyobj; | |
1823 | } | |
1824 | ||
1825 | ||
1826 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
1827 | PyObject *resultobj = NULL; | |
1828 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1829 | int arg2 = (int) wxID_ANY ; | |
1830 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1831 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1832 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1833 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1834 | long arg5 = (long) 0 ; | |
1835 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
1836 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1837 | wxStyledTextCtrl *result; | |
1838 | wxPoint temp3 ; | |
1839 | wxSize temp4 ; | |
1840 | bool temp6 = false ; | |
1841 | PyObject * obj0 = 0 ; | |
1842 | PyObject * obj1 = 0 ; | |
1843 | PyObject * obj2 = 0 ; | |
1844 | PyObject * obj3 = 0 ; | |
1845 | PyObject * obj4 = 0 ; | |
1846 | PyObject * obj5 = 0 ; | |
1847 | char *kwnames[] = { | |
1848 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1849 | }; | |
1850 | ||
1851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
1852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1854 | if (obj1) { | |
1855 | { | |
1856 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
1857 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1858 | } | |
1859 | } | |
1860 | if (obj2) { | |
1861 | { | |
1862 | arg3 = &temp3; | |
1863 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1864 | } | |
1865 | } | |
1866 | if (obj3) { | |
1867 | { | |
1868 | arg4 = &temp4; | |
1869 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1870 | } | |
1871 | } | |
1872 | if (obj4) { | |
1873 | { | |
1874 | arg5 = static_cast<long >(SWIG_As_long(obj4)); | |
1875 | if (SWIG_arg_fail(5)) SWIG_fail; | |
1876 | } | |
1877 | } | |
1878 | if (obj5) { | |
1879 | { | |
1880 | arg6 = wxString_in_helper(obj5); | |
1881 | if (arg6 == NULL) SWIG_fail; | |
1882 | temp6 = true; | |
1883 | } | |
1884 | } | |
1885 | { | |
1886 | if (!wxPyCheckForApp()) SWIG_fail; | |
1887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1888 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1889 | ||
1890 | wxPyEndAllowThreads(__tstate); | |
1891 | if (PyErr_Occurred()) SWIG_fail; | |
1892 | } | |
1893 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); | |
1894 | { | |
1895 | if (temp6) | |
1896 | delete arg6; | |
1897 | } | |
1898 | return resultobj; | |
1899 | fail: | |
1900 | { | |
1901 | if (temp6) | |
1902 | delete arg6; | |
1903 | } | |
1904 | return NULL; | |
1905 | } | |
1906 | ||
1907 | ||
1908 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
1909 | PyObject *resultobj = NULL; | |
1910 | wxStyledTextCtrl *result; | |
1911 | char *kwnames[] = { | |
1912 | NULL | |
1913 | }; | |
1914 | ||
1915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; | |
1916 | { | |
1917 | if (!wxPyCheckForApp()) SWIG_fail; | |
1918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1919 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); | |
1920 | ||
1921 | wxPyEndAllowThreads(__tstate); | |
1922 | if (PyErr_Occurred()) SWIG_fail; | |
1923 | } | |
1924 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); | |
1925 | return resultobj; | |
1926 | fail: | |
1927 | return NULL; | |
1928 | } | |
1929 | ||
1930 | ||
1931 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
1932 | PyObject *resultobj = NULL; | |
1933 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1934 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1935 | int arg3 = (int) wxID_ANY ; | |
1936 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1937 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1938 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1939 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1940 | long arg6 = (long) 0 ; | |
1941 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
1942 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1943 | bool result; | |
1944 | wxPoint temp4 ; | |
1945 | wxSize temp5 ; | |
1946 | bool temp7 = false ; | |
1947 | PyObject * obj0 = 0 ; | |
1948 | PyObject * obj1 = 0 ; | |
1949 | PyObject * obj2 = 0 ; | |
1950 | PyObject * obj3 = 0 ; | |
1951 | PyObject * obj4 = 0 ; | |
1952 | PyObject * obj5 = 0 ; | |
1953 | PyObject * obj6 = 0 ; | |
1954 | char *kwnames[] = { | |
1955 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1956 | }; | |
1957 | ||
1958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
1959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1961 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1962 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1963 | if (obj2) { | |
1964 | { | |
1965 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
1966 | if (SWIG_arg_fail(3)) SWIG_fail; | |
1967 | } | |
1968 | } | |
1969 | if (obj3) { | |
1970 | { | |
1971 | arg4 = &temp4; | |
1972 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1973 | } | |
1974 | } | |
1975 | if (obj4) { | |
1976 | { | |
1977 | arg5 = &temp5; | |
1978 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1979 | } | |
1980 | } | |
1981 | if (obj5) { | |
1982 | { | |
1983 | arg6 = static_cast<long >(SWIG_As_long(obj5)); | |
1984 | if (SWIG_arg_fail(6)) SWIG_fail; | |
1985 | } | |
1986 | } | |
1987 | if (obj6) { | |
1988 | { | |
1989 | arg7 = wxString_in_helper(obj6); | |
1990 | if (arg7 == NULL) SWIG_fail; | |
1991 | temp7 = true; | |
1992 | } | |
1993 | } | |
1994 | { | |
1995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1996 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1997 | ||
1998 | wxPyEndAllowThreads(__tstate); | |
1999 | if (PyErr_Occurred()) SWIG_fail; | |
2000 | } | |
2001 | { | |
2002 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2003 | } | |
2004 | { | |
2005 | if (temp7) | |
2006 | delete arg7; | |
2007 | } | |
2008 | return resultobj; | |
2009 | fail: | |
2010 | { | |
2011 | if (temp7) | |
2012 | delete arg7; | |
2013 | } | |
2014 | return NULL; | |
2015 | } | |
2016 | ||
2017 | ||
2018 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { | |
2019 | PyObject *resultobj = NULL; | |
2020 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2021 | wxString *arg2 = 0 ; | |
2022 | bool temp2 = false ; | |
2023 | PyObject * obj0 = 0 ; | |
2024 | PyObject * obj1 = 0 ; | |
2025 | char *kwnames[] = { | |
2026 | (char *) "self",(char *) "text", NULL | |
2027 | }; | |
2028 | ||
2029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; | |
2030 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2031 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2032 | { | |
2033 | arg2 = wxString_in_helper(obj1); | |
2034 | if (arg2 == NULL) SWIG_fail; | |
2035 | temp2 = true; | |
2036 | } | |
2037 | { | |
2038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2039 | (arg1)->AddText((wxString const &)*arg2); | |
2040 | ||
2041 | wxPyEndAllowThreads(__tstate); | |
2042 | if (PyErr_Occurred()) SWIG_fail; | |
2043 | } | |
2044 | Py_INCREF(Py_None); resultobj = Py_None; | |
2045 | { | |
2046 | if (temp2) | |
2047 | delete arg2; | |
2048 | } | |
2049 | return resultobj; | |
2050 | fail: | |
2051 | { | |
2052 | if (temp2) | |
2053 | delete arg2; | |
2054 | } | |
2055 | return NULL; | |
2056 | } | |
2057 | ||
2058 | ||
2059 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { | |
2060 | PyObject *resultobj = NULL; | |
2061 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2062 | wxMemoryBuffer *arg2 = 0 ; | |
2063 | bool temp2 = false ; | |
2064 | PyObject * obj0 = 0 ; | |
2065 | PyObject * obj1 = 0 ; | |
2066 | char *kwnames[] = { | |
2067 | (char *) "self",(char *) "data", NULL | |
2068 | }; | |
2069 | ||
2070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; | |
2071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2073 | { | |
2074 | if (!PyString_Check(obj1)) { | |
2075 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
2076 | SWIG_fail; | |
2077 | } | |
2078 | char* str = PyString_AS_STRING(obj1); | |
2079 | int len = PyString_GET_SIZE(obj1); | |
2080 | arg2 = new wxMemoryBuffer(len); | |
2081 | temp2 = true; | |
2082 | memcpy(arg2->GetData(), str, len); | |
2083 | arg2->SetDataLen(len); | |
2084 | } | |
2085 | { | |
2086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2087 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); | |
2088 | ||
2089 | wxPyEndAllowThreads(__tstate); | |
2090 | if (PyErr_Occurred()) SWIG_fail; | |
2091 | } | |
2092 | Py_INCREF(Py_None); resultobj = Py_None; | |
2093 | { | |
2094 | if (temp2) delete arg2; | |
2095 | } | |
2096 | return resultobj; | |
2097 | fail: | |
2098 | { | |
2099 | if (temp2) delete arg2; | |
2100 | } | |
2101 | return NULL; | |
2102 | } | |
2103 | ||
2104 | ||
2105 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { | |
2106 | PyObject *resultobj = NULL; | |
2107 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2108 | int arg2 ; | |
2109 | wxString *arg3 = 0 ; | |
2110 | bool temp3 = false ; | |
2111 | PyObject * obj0 = 0 ; | |
2112 | PyObject * obj1 = 0 ; | |
2113 | PyObject * obj2 = 0 ; | |
2114 | char *kwnames[] = { | |
2115 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
2116 | }; | |
2117 | ||
2118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2119 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2120 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2121 | { | |
2122 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2123 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2124 | } | |
2125 | { | |
2126 | arg3 = wxString_in_helper(obj2); | |
2127 | if (arg3 == NULL) SWIG_fail; | |
2128 | temp3 = true; | |
2129 | } | |
2130 | { | |
2131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2132 | (arg1)->InsertText(arg2,(wxString const &)*arg3); | |
2133 | ||
2134 | wxPyEndAllowThreads(__tstate); | |
2135 | if (PyErr_Occurred()) SWIG_fail; | |
2136 | } | |
2137 | Py_INCREF(Py_None); resultobj = Py_None; | |
2138 | { | |
2139 | if (temp3) | |
2140 | delete arg3; | |
2141 | } | |
2142 | return resultobj; | |
2143 | fail: | |
2144 | { | |
2145 | if (temp3) | |
2146 | delete arg3; | |
2147 | } | |
2148 | return NULL; | |
2149 | } | |
2150 | ||
2151 | ||
2152 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
2153 | PyObject *resultobj = NULL; | |
2154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2155 | PyObject * obj0 = 0 ; | |
2156 | char *kwnames[] = { | |
2157 | (char *) "self", NULL | |
2158 | }; | |
2159 | ||
2160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; | |
2161 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2162 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2163 | { | |
2164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2165 | (arg1)->ClearAll(); | |
2166 | ||
2167 | wxPyEndAllowThreads(__tstate); | |
2168 | if (PyErr_Occurred()) SWIG_fail; | |
2169 | } | |
2170 | Py_INCREF(Py_None); resultobj = Py_None; | |
2171 | return resultobj; | |
2172 | fail: | |
2173 | return NULL; | |
2174 | } | |
2175 | ||
2176 | ||
2177 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { | |
2178 | PyObject *resultobj = NULL; | |
2179 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2180 | PyObject * obj0 = 0 ; | |
2181 | char *kwnames[] = { | |
2182 | (char *) "self", NULL | |
2183 | }; | |
2184 | ||
2185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; | |
2186 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2187 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2188 | { | |
2189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2190 | (arg1)->ClearDocumentStyle(); | |
2191 | ||
2192 | wxPyEndAllowThreads(__tstate); | |
2193 | if (PyErr_Occurred()) SWIG_fail; | |
2194 | } | |
2195 | Py_INCREF(Py_None); resultobj = Py_None; | |
2196 | return resultobj; | |
2197 | fail: | |
2198 | return NULL; | |
2199 | } | |
2200 | ||
2201 | ||
2202 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
2203 | PyObject *resultobj = NULL; | |
2204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2205 | int result; | |
2206 | PyObject * obj0 = 0 ; | |
2207 | char *kwnames[] = { | |
2208 | (char *) "self", NULL | |
2209 | }; | |
2210 | ||
2211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; | |
2212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2214 | { | |
2215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2216 | result = (int)(arg1)->GetLength(); | |
2217 | ||
2218 | wxPyEndAllowThreads(__tstate); | |
2219 | if (PyErr_Occurred()) SWIG_fail; | |
2220 | } | |
2221 | { | |
2222 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2223 | } | |
2224 | return resultobj; | |
2225 | fail: | |
2226 | return NULL; | |
2227 | } | |
2228 | ||
2229 | ||
2230 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { | |
2231 | PyObject *resultobj = NULL; | |
2232 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2233 | int arg2 ; | |
2234 | int result; | |
2235 | PyObject * obj0 = 0 ; | |
2236 | PyObject * obj1 = 0 ; | |
2237 | char *kwnames[] = { | |
2238 | (char *) "self",(char *) "pos", NULL | |
2239 | }; | |
2240 | ||
2241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; | |
2242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2244 | { | |
2245 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2246 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2247 | } | |
2248 | { | |
2249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2250 | result = (int)(arg1)->GetCharAt(arg2); | |
2251 | ||
2252 | wxPyEndAllowThreads(__tstate); | |
2253 | if (PyErr_Occurred()) SWIG_fail; | |
2254 | } | |
2255 | { | |
2256 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2257 | } | |
2258 | return resultobj; | |
2259 | fail: | |
2260 | return NULL; | |
2261 | } | |
2262 | ||
2263 | ||
2264 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { | |
2265 | PyObject *resultobj = NULL; | |
2266 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2267 | int result; | |
2268 | PyObject * obj0 = 0 ; | |
2269 | char *kwnames[] = { | |
2270 | (char *) "self", NULL | |
2271 | }; | |
2272 | ||
2273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; | |
2274 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2275 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2276 | { | |
2277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2278 | result = (int)(arg1)->GetCurrentPos(); | |
2279 | ||
2280 | wxPyEndAllowThreads(__tstate); | |
2281 | if (PyErr_Occurred()) SWIG_fail; | |
2282 | } | |
2283 | { | |
2284 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2285 | } | |
2286 | return resultobj; | |
2287 | fail: | |
2288 | return NULL; | |
2289 | } | |
2290 | ||
2291 | ||
2292 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { | |
2293 | PyObject *resultobj = NULL; | |
2294 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2295 | int result; | |
2296 | PyObject * obj0 = 0 ; | |
2297 | char *kwnames[] = { | |
2298 | (char *) "self", NULL | |
2299 | }; | |
2300 | ||
2301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; | |
2302 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2303 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2304 | { | |
2305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2306 | result = (int)(arg1)->GetAnchor(); | |
2307 | ||
2308 | wxPyEndAllowThreads(__tstate); | |
2309 | if (PyErr_Occurred()) SWIG_fail; | |
2310 | } | |
2311 | { | |
2312 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2313 | } | |
2314 | return resultobj; | |
2315 | fail: | |
2316 | return NULL; | |
2317 | } | |
2318 | ||
2319 | ||
2320 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { | |
2321 | PyObject *resultobj = NULL; | |
2322 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2323 | int arg2 ; | |
2324 | int result; | |
2325 | PyObject * obj0 = 0 ; | |
2326 | PyObject * obj1 = 0 ; | |
2327 | char *kwnames[] = { | |
2328 | (char *) "self",(char *) "pos", NULL | |
2329 | }; | |
2330 | ||
2331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; | |
2332 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2333 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2334 | { | |
2335 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2336 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2337 | } | |
2338 | { | |
2339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2340 | result = (int)(arg1)->GetStyleAt(arg2); | |
2341 | ||
2342 | wxPyEndAllowThreads(__tstate); | |
2343 | if (PyErr_Occurred()) SWIG_fail; | |
2344 | } | |
2345 | { | |
2346 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2347 | } | |
2348 | return resultobj; | |
2349 | fail: | |
2350 | return NULL; | |
2351 | } | |
2352 | ||
2353 | ||
2354 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { | |
2355 | PyObject *resultobj = NULL; | |
2356 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2357 | PyObject * obj0 = 0 ; | |
2358 | char *kwnames[] = { | |
2359 | (char *) "self", NULL | |
2360 | }; | |
2361 | ||
2362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; | |
2363 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2364 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2365 | { | |
2366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2367 | (arg1)->Redo(); | |
2368 | ||
2369 | wxPyEndAllowThreads(__tstate); | |
2370 | if (PyErr_Occurred()) SWIG_fail; | |
2371 | } | |
2372 | Py_INCREF(Py_None); resultobj = Py_None; | |
2373 | return resultobj; | |
2374 | fail: | |
2375 | return NULL; | |
2376 | } | |
2377 | ||
2378 | ||
2379 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { | |
2380 | PyObject *resultobj = NULL; | |
2381 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2382 | bool arg2 ; | |
2383 | PyObject * obj0 = 0 ; | |
2384 | PyObject * obj1 = 0 ; | |
2385 | char *kwnames[] = { | |
2386 | (char *) "self",(char *) "collectUndo", NULL | |
2387 | }; | |
2388 | ||
2389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; | |
2390 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2391 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2392 | { | |
2393 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
2394 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2395 | } | |
2396 | { | |
2397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2398 | (arg1)->SetUndoCollection(arg2); | |
2399 | ||
2400 | wxPyEndAllowThreads(__tstate); | |
2401 | if (PyErr_Occurred()) SWIG_fail; | |
2402 | } | |
2403 | Py_INCREF(Py_None); resultobj = Py_None; | |
2404 | return resultobj; | |
2405 | fail: | |
2406 | return NULL; | |
2407 | } | |
2408 | ||
2409 | ||
2410 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
2411 | PyObject *resultobj = NULL; | |
2412 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2413 | PyObject * obj0 = 0 ; | |
2414 | char *kwnames[] = { | |
2415 | (char *) "self", NULL | |
2416 | }; | |
2417 | ||
2418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; | |
2419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2421 | { | |
2422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2423 | (arg1)->SelectAll(); | |
2424 | ||
2425 | wxPyEndAllowThreads(__tstate); | |
2426 | if (PyErr_Occurred()) SWIG_fail; | |
2427 | } | |
2428 | Py_INCREF(Py_None); resultobj = Py_None; | |
2429 | return resultobj; | |
2430 | fail: | |
2431 | return NULL; | |
2432 | } | |
2433 | ||
2434 | ||
2435 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { | |
2436 | PyObject *resultobj = NULL; | |
2437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2438 | PyObject * obj0 = 0 ; | |
2439 | char *kwnames[] = { | |
2440 | (char *) "self", NULL | |
2441 | }; | |
2442 | ||
2443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; | |
2444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2446 | { | |
2447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2448 | (arg1)->SetSavePoint(); | |
2449 | ||
2450 | wxPyEndAllowThreads(__tstate); | |
2451 | if (PyErr_Occurred()) SWIG_fail; | |
2452 | } | |
2453 | Py_INCREF(Py_None); resultobj = Py_None; | |
2454 | return resultobj; | |
2455 | fail: | |
2456 | return NULL; | |
2457 | } | |
2458 | ||
2459 | ||
2460 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { | |
2461 | PyObject *resultobj = NULL; | |
2462 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2463 | int arg2 ; | |
2464 | int arg3 ; | |
2465 | wxMemoryBuffer result; | |
2466 | PyObject * obj0 = 0 ; | |
2467 | PyObject * obj1 = 0 ; | |
2468 | PyObject * obj2 = 0 ; | |
2469 | char *kwnames[] = { | |
2470 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
2471 | }; | |
2472 | ||
2473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2476 | { | |
2477 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2478 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2479 | } | |
2480 | { | |
2481 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
2482 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2483 | } | |
2484 | { | |
2485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2486 | result = (arg1)->GetStyledText(arg2,arg3); | |
2487 | ||
2488 | wxPyEndAllowThreads(__tstate); | |
2489 | if (PyErr_Occurred()) SWIG_fail; | |
2490 | } | |
2491 | { | |
2492 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); | |
2493 | } | |
2494 | return resultobj; | |
2495 | fail: | |
2496 | return NULL; | |
2497 | } | |
2498 | ||
2499 | ||
2500 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { | |
2501 | PyObject *resultobj = NULL; | |
2502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2503 | bool result; | |
2504 | PyObject * obj0 = 0 ; | |
2505 | char *kwnames[] = { | |
2506 | (char *) "self", NULL | |
2507 | }; | |
2508 | ||
2509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; | |
2510 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2511 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2512 | { | |
2513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2514 | result = (bool)(arg1)->CanRedo(); | |
2515 | ||
2516 | wxPyEndAllowThreads(__tstate); | |
2517 | if (PyErr_Occurred()) SWIG_fail; | |
2518 | } | |
2519 | { | |
2520 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2521 | } | |
2522 | return resultobj; | |
2523 | fail: | |
2524 | return NULL; | |
2525 | } | |
2526 | ||
2527 | ||
2528 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { | |
2529 | PyObject *resultobj = NULL; | |
2530 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2531 | int arg2 ; | |
2532 | int result; | |
2533 | PyObject * obj0 = 0 ; | |
2534 | PyObject * obj1 = 0 ; | |
2535 | char *kwnames[] = { | |
2536 | (char *) "self",(char *) "handle", NULL | |
2537 | }; | |
2538 | ||
2539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; | |
2540 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2541 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2542 | { | |
2543 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2544 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2545 | } | |
2546 | { | |
2547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2548 | result = (int)(arg1)->MarkerLineFromHandle(arg2); | |
2549 | ||
2550 | wxPyEndAllowThreads(__tstate); | |
2551 | if (PyErr_Occurred()) SWIG_fail; | |
2552 | } | |
2553 | { | |
2554 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2555 | } | |
2556 | return resultobj; | |
2557 | fail: | |
2558 | return NULL; | |
2559 | } | |
2560 | ||
2561 | ||
2562 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { | |
2563 | PyObject *resultobj = NULL; | |
2564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2565 | int arg2 ; | |
2566 | PyObject * obj0 = 0 ; | |
2567 | PyObject * obj1 = 0 ; | |
2568 | char *kwnames[] = { | |
2569 | (char *) "self",(char *) "handle", NULL | |
2570 | }; | |
2571 | ||
2572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; | |
2573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2575 | { | |
2576 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2577 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2578 | } | |
2579 | { | |
2580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2581 | (arg1)->MarkerDeleteHandle(arg2); | |
2582 | ||
2583 | wxPyEndAllowThreads(__tstate); | |
2584 | if (PyErr_Occurred()) SWIG_fail; | |
2585 | } | |
2586 | Py_INCREF(Py_None); resultobj = Py_None; | |
2587 | return resultobj; | |
2588 | fail: | |
2589 | return NULL; | |
2590 | } | |
2591 | ||
2592 | ||
2593 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { | |
2594 | PyObject *resultobj = NULL; | |
2595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2596 | bool result; | |
2597 | PyObject * obj0 = 0 ; | |
2598 | char *kwnames[] = { | |
2599 | (char *) "self", NULL | |
2600 | }; | |
2601 | ||
2602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; | |
2603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2605 | { | |
2606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2607 | result = (bool)(arg1)->GetUndoCollection(); | |
2608 | ||
2609 | wxPyEndAllowThreads(__tstate); | |
2610 | if (PyErr_Occurred()) SWIG_fail; | |
2611 | } | |
2612 | { | |
2613 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2614 | } | |
2615 | return resultobj; | |
2616 | fail: | |
2617 | return NULL; | |
2618 | } | |
2619 | ||
2620 | ||
2621 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { | |
2622 | PyObject *resultobj = NULL; | |
2623 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2624 | int result; | |
2625 | PyObject * obj0 = 0 ; | |
2626 | char *kwnames[] = { | |
2627 | (char *) "self", NULL | |
2628 | }; | |
2629 | ||
2630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; | |
2631 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2632 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2633 | { | |
2634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2635 | result = (int)(arg1)->GetViewWhiteSpace(); | |
2636 | ||
2637 | wxPyEndAllowThreads(__tstate); | |
2638 | if (PyErr_Occurred()) SWIG_fail; | |
2639 | } | |
2640 | { | |
2641 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2642 | } | |
2643 | return resultobj; | |
2644 | fail: | |
2645 | return NULL; | |
2646 | } | |
2647 | ||
2648 | ||
2649 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { | |
2650 | PyObject *resultobj = NULL; | |
2651 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2652 | int arg2 ; | |
2653 | PyObject * obj0 = 0 ; | |
2654 | PyObject * obj1 = 0 ; | |
2655 | char *kwnames[] = { | |
2656 | (char *) "self",(char *) "viewWS", NULL | |
2657 | }; | |
2658 | ||
2659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; | |
2660 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2661 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2662 | { | |
2663 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2664 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2665 | } | |
2666 | { | |
2667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2668 | (arg1)->SetViewWhiteSpace(arg2); | |
2669 | ||
2670 | wxPyEndAllowThreads(__tstate); | |
2671 | if (PyErr_Occurred()) SWIG_fail; | |
2672 | } | |
2673 | Py_INCREF(Py_None); resultobj = Py_None; | |
2674 | return resultobj; | |
2675 | fail: | |
2676 | return NULL; | |
2677 | } | |
2678 | ||
2679 | ||
2680 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { | |
2681 | PyObject *resultobj = NULL; | |
2682 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2683 | wxPoint arg2 ; | |
2684 | int result; | |
2685 | PyObject * obj0 = 0 ; | |
2686 | PyObject * obj1 = 0 ; | |
2687 | char *kwnames[] = { | |
2688 | (char *) "self",(char *) "pt", NULL | |
2689 | }; | |
2690 | ||
2691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) 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 | wxPoint * argp; | |
2696 | SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION); | |
2697 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2698 | if (argp == NULL) { | |
2699 | SWIG_null_ref("wxPoint"); | |
2700 | } | |
2701 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2702 | arg2 = *argp; | |
2703 | } | |
2704 | { | |
2705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2706 | result = (int)(arg1)->PositionFromPoint(arg2); | |
2707 | ||
2708 | wxPyEndAllowThreads(__tstate); | |
2709 | if (PyErr_Occurred()) SWIG_fail; | |
2710 | } | |
2711 | { | |
2712 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2713 | } | |
2714 | return resultobj; | |
2715 | fail: | |
2716 | return NULL; | |
2717 | } | |
2718 | ||
2719 | ||
2720 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { | |
2721 | PyObject *resultobj = NULL; | |
2722 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2723 | int arg2 ; | |
2724 | int arg3 ; | |
2725 | int result; | |
2726 | PyObject * obj0 = 0 ; | |
2727 | PyObject * obj1 = 0 ; | |
2728 | PyObject * obj2 = 0 ; | |
2729 | char *kwnames[] = { | |
2730 | (char *) "self",(char *) "x",(char *) "y", NULL | |
2731 | }; | |
2732 | ||
2733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2736 | { | |
2737 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2738 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2739 | } | |
2740 | { | |
2741 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
2742 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2743 | } | |
2744 | { | |
2745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2746 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); | |
2747 | ||
2748 | wxPyEndAllowThreads(__tstate); | |
2749 | if (PyErr_Occurred()) SWIG_fail; | |
2750 | } | |
2751 | { | |
2752 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2753 | } | |
2754 | return resultobj; | |
2755 | fail: | |
2756 | return NULL; | |
2757 | } | |
2758 | ||
2759 | ||
2760 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
2761 | PyObject *resultobj = NULL; | |
2762 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2763 | int arg2 ; | |
2764 | PyObject * obj0 = 0 ; | |
2765 | PyObject * obj1 = 0 ; | |
2766 | char *kwnames[] = { | |
2767 | (char *) "self",(char *) "line", NULL | |
2768 | }; | |
2769 | ||
2770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; | |
2771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2773 | { | |
2774 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2775 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2776 | } | |
2777 | { | |
2778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2779 | (arg1)->GotoLine(arg2); | |
2780 | ||
2781 | wxPyEndAllowThreads(__tstate); | |
2782 | if (PyErr_Occurred()) SWIG_fail; | |
2783 | } | |
2784 | Py_INCREF(Py_None); resultobj = Py_None; | |
2785 | return resultobj; | |
2786 | fail: | |
2787 | return NULL; | |
2788 | } | |
2789 | ||
2790 | ||
2791 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { | |
2792 | PyObject *resultobj = NULL; | |
2793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2794 | int arg2 ; | |
2795 | PyObject * obj0 = 0 ; | |
2796 | PyObject * obj1 = 0 ; | |
2797 | char *kwnames[] = { | |
2798 | (char *) "self",(char *) "pos", NULL | |
2799 | }; | |
2800 | ||
2801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; | |
2802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2804 | { | |
2805 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2806 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2807 | } | |
2808 | { | |
2809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2810 | (arg1)->GotoPos(arg2); | |
2811 | ||
2812 | wxPyEndAllowThreads(__tstate); | |
2813 | if (PyErr_Occurred()) SWIG_fail; | |
2814 | } | |
2815 | Py_INCREF(Py_None); resultobj = Py_None; | |
2816 | return resultobj; | |
2817 | fail: | |
2818 | return NULL; | |
2819 | } | |
2820 | ||
2821 | ||
2822 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { | |
2823 | PyObject *resultobj = NULL; | |
2824 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2825 | int arg2 ; | |
2826 | PyObject * obj0 = 0 ; | |
2827 | PyObject * obj1 = 0 ; | |
2828 | char *kwnames[] = { | |
2829 | (char *) "self",(char *) "posAnchor", NULL | |
2830 | }; | |
2831 | ||
2832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; | |
2833 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2834 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2835 | { | |
2836 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2837 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2838 | } | |
2839 | { | |
2840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2841 | (arg1)->SetAnchor(arg2); | |
2842 | ||
2843 | wxPyEndAllowThreads(__tstate); | |
2844 | if (PyErr_Occurred()) SWIG_fail; | |
2845 | } | |
2846 | Py_INCREF(Py_None); resultobj = Py_None; | |
2847 | return resultobj; | |
2848 | fail: | |
2849 | return NULL; | |
2850 | } | |
2851 | ||
2852 | ||
2853 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
2854 | PyObject *resultobj = NULL; | |
2855 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2856 | int *arg2 = (int *) 0 ; | |
2857 | wxString result; | |
2858 | int temp2 ; | |
2859 | int res2 = 0 ; | |
2860 | PyObject * obj0 = 0 ; | |
2861 | char *kwnames[] = { | |
2862 | (char *) "self", NULL | |
2863 | }; | |
2864 | ||
2865 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
2866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
2867 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2868 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2869 | { | |
2870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2871 | result = (arg1)->GetCurLine(arg2); | |
2872 | ||
2873 | wxPyEndAllowThreads(__tstate); | |
2874 | if (PyErr_Occurred()) SWIG_fail; | |
2875 | } | |
2876 | { | |
2877 | #if wxUSE_UNICODE | |
2878 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2879 | #else | |
2880 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2881 | #endif | |
2882 | } | |
2883 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
2884 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2885 | return resultobj; | |
2886 | fail: | |
2887 | return NULL; | |
2888 | } | |
2889 | ||
2890 | ||
2891 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { | |
2892 | PyObject *resultobj = NULL; | |
2893 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2894 | int result; | |
2895 | PyObject * obj0 = 0 ; | |
2896 | char *kwnames[] = { | |
2897 | (char *) "self", NULL | |
2898 | }; | |
2899 | ||
2900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; | |
2901 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2902 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2903 | { | |
2904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2905 | result = (int)(arg1)->GetEndStyled(); | |
2906 | ||
2907 | wxPyEndAllowThreads(__tstate); | |
2908 | if (PyErr_Occurred()) SWIG_fail; | |
2909 | } | |
2910 | { | |
2911 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2912 | } | |
2913 | return resultobj; | |
2914 | fail: | |
2915 | return NULL; | |
2916 | } | |
2917 | ||
2918 | ||
2919 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { | |
2920 | PyObject *resultobj = NULL; | |
2921 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2922 | int arg2 ; | |
2923 | PyObject * obj0 = 0 ; | |
2924 | PyObject * obj1 = 0 ; | |
2925 | char *kwnames[] = { | |
2926 | (char *) "self",(char *) "eolMode", NULL | |
2927 | }; | |
2928 | ||
2929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; | |
2930 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2931 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2932 | { | |
2933 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2934 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2935 | } | |
2936 | { | |
2937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2938 | (arg1)->ConvertEOLs(arg2); | |
2939 | ||
2940 | wxPyEndAllowThreads(__tstate); | |
2941 | if (PyErr_Occurred()) SWIG_fail; | |
2942 | } | |
2943 | Py_INCREF(Py_None); resultobj = Py_None; | |
2944 | return resultobj; | |
2945 | fail: | |
2946 | return NULL; | |
2947 | } | |
2948 | ||
2949 | ||
2950 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
2951 | PyObject *resultobj = NULL; | |
2952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2953 | int result; | |
2954 | PyObject * obj0 = 0 ; | |
2955 | char *kwnames[] = { | |
2956 | (char *) "self", NULL | |
2957 | }; | |
2958 | ||
2959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; | |
2960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2962 | { | |
2963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2964 | result = (int)(arg1)->GetEOLMode(); | |
2965 | ||
2966 | wxPyEndAllowThreads(__tstate); | |
2967 | if (PyErr_Occurred()) SWIG_fail; | |
2968 | } | |
2969 | { | |
2970 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
2971 | } | |
2972 | return resultobj; | |
2973 | fail: | |
2974 | return NULL; | |
2975 | } | |
2976 | ||
2977 | ||
2978 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
2979 | PyObject *resultobj = NULL; | |
2980 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2981 | int arg2 ; | |
2982 | PyObject * obj0 = 0 ; | |
2983 | PyObject * obj1 = 0 ; | |
2984 | char *kwnames[] = { | |
2985 | (char *) "self",(char *) "eolMode", NULL | |
2986 | }; | |
2987 | ||
2988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; | |
2989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2990 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2991 | { | |
2992 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
2993 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2994 | } | |
2995 | { | |
2996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2997 | (arg1)->SetEOLMode(arg2); | |
2998 | ||
2999 | wxPyEndAllowThreads(__tstate); | |
3000 | if (PyErr_Occurred()) SWIG_fail; | |
3001 | } | |
3002 | Py_INCREF(Py_None); resultobj = Py_None; | |
3003 | return resultobj; | |
3004 | fail: | |
3005 | return NULL; | |
3006 | } | |
3007 | ||
3008 | ||
3009 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { | |
3010 | PyObject *resultobj = NULL; | |
3011 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3012 | int arg2 ; | |
3013 | int arg3 ; | |
3014 | PyObject * obj0 = 0 ; | |
3015 | PyObject * obj1 = 0 ; | |
3016 | PyObject * obj2 = 0 ; | |
3017 | char *kwnames[] = { | |
3018 | (char *) "self",(char *) "pos",(char *) "mask", NULL | |
3019 | }; | |
3020 | ||
3021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3024 | { | |
3025 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3026 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3027 | } | |
3028 | { | |
3029 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3030 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3031 | } | |
3032 | { | |
3033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3034 | (arg1)->StartStyling(arg2,arg3); | |
3035 | ||
3036 | wxPyEndAllowThreads(__tstate); | |
3037 | if (PyErr_Occurred()) SWIG_fail; | |
3038 | } | |
3039 | Py_INCREF(Py_None); resultobj = Py_None; | |
3040 | return resultobj; | |
3041 | fail: | |
3042 | return NULL; | |
3043 | } | |
3044 | ||
3045 | ||
3046 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { | |
3047 | PyObject *resultobj = NULL; | |
3048 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3049 | int arg2 ; | |
3050 | int arg3 ; | |
3051 | PyObject * obj0 = 0 ; | |
3052 | PyObject * obj1 = 0 ; | |
3053 | PyObject * obj2 = 0 ; | |
3054 | char *kwnames[] = { | |
3055 | (char *) "self",(char *) "length",(char *) "style", NULL | |
3056 | }; | |
3057 | ||
3058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3059 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3060 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3061 | { | |
3062 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3063 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3064 | } | |
3065 | { | |
3066 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3067 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3068 | } | |
3069 | { | |
3070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3071 | (arg1)->SetStyling(arg2,arg3); | |
3072 | ||
3073 | wxPyEndAllowThreads(__tstate); | |
3074 | if (PyErr_Occurred()) SWIG_fail; | |
3075 | } | |
3076 | Py_INCREF(Py_None); resultobj = Py_None; | |
3077 | return resultobj; | |
3078 | fail: | |
3079 | return NULL; | |
3080 | } | |
3081 | ||
3082 | ||
3083 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
3084 | PyObject *resultobj = NULL; | |
3085 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3086 | bool result; | |
3087 | PyObject * obj0 = 0 ; | |
3088 | char *kwnames[] = { | |
3089 | (char *) "self", NULL | |
3090 | }; | |
3091 | ||
3092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; | |
3093 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3094 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3095 | { | |
3096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3097 | result = (bool)(arg1)->GetBufferedDraw(); | |
3098 | ||
3099 | wxPyEndAllowThreads(__tstate); | |
3100 | if (PyErr_Occurred()) SWIG_fail; | |
3101 | } | |
3102 | { | |
3103 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3104 | } | |
3105 | return resultobj; | |
3106 | fail: | |
3107 | return NULL; | |
3108 | } | |
3109 | ||
3110 | ||
3111 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
3112 | PyObject *resultobj = NULL; | |
3113 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3114 | bool arg2 ; | |
3115 | PyObject * obj0 = 0 ; | |
3116 | PyObject * obj1 = 0 ; | |
3117 | char *kwnames[] = { | |
3118 | (char *) "self",(char *) "buffered", NULL | |
3119 | }; | |
3120 | ||
3121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; | |
3122 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3123 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3124 | { | |
3125 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
3126 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3127 | } | |
3128 | { | |
3129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3130 | (arg1)->SetBufferedDraw(arg2); | |
3131 | ||
3132 | wxPyEndAllowThreads(__tstate); | |
3133 | if (PyErr_Occurred()) SWIG_fail; | |
3134 | } | |
3135 | Py_INCREF(Py_None); resultobj = Py_None; | |
3136 | return resultobj; | |
3137 | fail: | |
3138 | return NULL; | |
3139 | } | |
3140 | ||
3141 | ||
3142 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
3143 | PyObject *resultobj = NULL; | |
3144 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3145 | int arg2 ; | |
3146 | PyObject * obj0 = 0 ; | |
3147 | PyObject * obj1 = 0 ; | |
3148 | char *kwnames[] = { | |
3149 | (char *) "self",(char *) "tabWidth", NULL | |
3150 | }; | |
3151 | ||
3152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; | |
3153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3155 | { | |
3156 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3157 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3158 | } | |
3159 | { | |
3160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3161 | (arg1)->SetTabWidth(arg2); | |
3162 | ||
3163 | wxPyEndAllowThreads(__tstate); | |
3164 | if (PyErr_Occurred()) SWIG_fail; | |
3165 | } | |
3166 | Py_INCREF(Py_None); resultobj = Py_None; | |
3167 | return resultobj; | |
3168 | fail: | |
3169 | return NULL; | |
3170 | } | |
3171 | ||
3172 | ||
3173 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
3174 | PyObject *resultobj = NULL; | |
3175 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3176 | int result; | |
3177 | PyObject * obj0 = 0 ; | |
3178 | char *kwnames[] = { | |
3179 | (char *) "self", NULL | |
3180 | }; | |
3181 | ||
3182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; | |
3183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3185 | { | |
3186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3187 | result = (int)(arg1)->GetTabWidth(); | |
3188 | ||
3189 | wxPyEndAllowThreads(__tstate); | |
3190 | if (PyErr_Occurred()) SWIG_fail; | |
3191 | } | |
3192 | { | |
3193 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3194 | } | |
3195 | return resultobj; | |
3196 | fail: | |
3197 | return NULL; | |
3198 | } | |
3199 | ||
3200 | ||
3201 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { | |
3202 | PyObject *resultobj = NULL; | |
3203 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3204 | int arg2 ; | |
3205 | PyObject * obj0 = 0 ; | |
3206 | PyObject * obj1 = 0 ; | |
3207 | char *kwnames[] = { | |
3208 | (char *) "self",(char *) "codePage", NULL | |
3209 | }; | |
3210 | ||
3211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; | |
3212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3214 | { | |
3215 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3216 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3217 | } | |
3218 | { | |
3219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3220 | (arg1)->SetCodePage(arg2); | |
3221 | ||
3222 | wxPyEndAllowThreads(__tstate); | |
3223 | if (PyErr_Occurred()) SWIG_fail; | |
3224 | } | |
3225 | Py_INCREF(Py_None); resultobj = Py_None; | |
3226 | return resultobj; | |
3227 | fail: | |
3228 | return NULL; | |
3229 | } | |
3230 | ||
3231 | ||
3232 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { | |
3233 | PyObject *resultobj = NULL; | |
3234 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3235 | int arg2 ; | |
3236 | int arg3 ; | |
3237 | wxColour const &arg4_defvalue = wxNullColour ; | |
3238 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
3239 | wxColour const &arg5_defvalue = wxNullColour ; | |
3240 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
3241 | wxColour temp4 ; | |
3242 | wxColour temp5 ; | |
3243 | PyObject * obj0 = 0 ; | |
3244 | PyObject * obj1 = 0 ; | |
3245 | PyObject * obj2 = 0 ; | |
3246 | PyObject * obj3 = 0 ; | |
3247 | PyObject * obj4 = 0 ; | |
3248 | char *kwnames[] = { | |
3249 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL | |
3250 | }; | |
3251 | ||
3252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3253 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3254 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3255 | { | |
3256 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3257 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3258 | } | |
3259 | { | |
3260 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3261 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3262 | } | |
3263 | if (obj3) { | |
3264 | { | |
3265 | arg4 = &temp4; | |
3266 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
3267 | } | |
3268 | } | |
3269 | if (obj4) { | |
3270 | { | |
3271 | arg5 = &temp5; | |
3272 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
3273 | } | |
3274 | } | |
3275 | { | |
3276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3277 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); | |
3278 | ||
3279 | wxPyEndAllowThreads(__tstate); | |
3280 | if (PyErr_Occurred()) SWIG_fail; | |
3281 | } | |
3282 | Py_INCREF(Py_None); resultobj = Py_None; | |
3283 | return resultobj; | |
3284 | fail: | |
3285 | return NULL; | |
3286 | } | |
3287 | ||
3288 | ||
3289 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3290 | PyObject *resultobj = NULL; | |
3291 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3292 | int arg2 ; | |
3293 | wxColour *arg3 = 0 ; | |
3294 | wxColour temp3 ; | |
3295 | PyObject * obj0 = 0 ; | |
3296 | PyObject * obj1 = 0 ; | |
3297 | PyObject * obj2 = 0 ; | |
3298 | char *kwnames[] = { | |
3299 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL | |
3300 | }; | |
3301 | ||
3302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3305 | { | |
3306 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3307 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3308 | } | |
3309 | { | |
3310 | arg3 = &temp3; | |
3311 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3312 | } | |
3313 | { | |
3314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3315 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); | |
3316 | ||
3317 | wxPyEndAllowThreads(__tstate); | |
3318 | if (PyErr_Occurred()) SWIG_fail; | |
3319 | } | |
3320 | Py_INCREF(Py_None); resultobj = Py_None; | |
3321 | return resultobj; | |
3322 | fail: | |
3323 | return NULL; | |
3324 | } | |
3325 | ||
3326 | ||
3327 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3328 | PyObject *resultobj = NULL; | |
3329 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3330 | int arg2 ; | |
3331 | wxColour *arg3 = 0 ; | |
3332 | wxColour temp3 ; | |
3333 | PyObject * obj0 = 0 ; | |
3334 | PyObject * obj1 = 0 ; | |
3335 | PyObject * obj2 = 0 ; | |
3336 | char *kwnames[] = { | |
3337 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL | |
3338 | }; | |
3339 | ||
3340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3341 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3342 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3343 | { | |
3344 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3345 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3346 | } | |
3347 | { | |
3348 | arg3 = &temp3; | |
3349 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3350 | } | |
3351 | { | |
3352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3353 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); | |
3354 | ||
3355 | wxPyEndAllowThreads(__tstate); | |
3356 | if (PyErr_Occurred()) SWIG_fail; | |
3357 | } | |
3358 | Py_INCREF(Py_None); resultobj = Py_None; | |
3359 | return resultobj; | |
3360 | fail: | |
3361 | return NULL; | |
3362 | } | |
3363 | ||
3364 | ||
3365 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { | |
3366 | PyObject *resultobj = NULL; | |
3367 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3368 | int arg2 ; | |
3369 | int arg3 ; | |
3370 | int result; | |
3371 | PyObject * obj0 = 0 ; | |
3372 | PyObject * obj1 = 0 ; | |
3373 | PyObject * obj2 = 0 ; | |
3374 | char *kwnames[] = { | |
3375 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
3376 | }; | |
3377 | ||
3378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3379 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3380 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3381 | { | |
3382 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3383 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3384 | } | |
3385 | { | |
3386 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3387 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3388 | } | |
3389 | { | |
3390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3391 | result = (int)(arg1)->MarkerAdd(arg2,arg3); | |
3392 | ||
3393 | wxPyEndAllowThreads(__tstate); | |
3394 | if (PyErr_Occurred()) SWIG_fail; | |
3395 | } | |
3396 | { | |
3397 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3398 | } | |
3399 | return resultobj; | |
3400 | fail: | |
3401 | return NULL; | |
3402 | } | |
3403 | ||
3404 | ||
3405 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { | |
3406 | PyObject *resultobj = NULL; | |
3407 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3408 | int arg2 ; | |
3409 | int arg3 ; | |
3410 | PyObject * obj0 = 0 ; | |
3411 | PyObject * obj1 = 0 ; | |
3412 | PyObject * obj2 = 0 ; | |
3413 | char *kwnames[] = { | |
3414 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
3415 | }; | |
3416 | ||
3417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3418 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3419 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3420 | { | |
3421 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3422 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3423 | } | |
3424 | { | |
3425 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3426 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3427 | } | |
3428 | { | |
3429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3430 | (arg1)->MarkerDelete(arg2,arg3); | |
3431 | ||
3432 | wxPyEndAllowThreads(__tstate); | |
3433 | if (PyErr_Occurred()) SWIG_fail; | |
3434 | } | |
3435 | Py_INCREF(Py_None); resultobj = Py_None; | |
3436 | return resultobj; | |
3437 | fail: | |
3438 | return NULL; | |
3439 | } | |
3440 | ||
3441 | ||
3442 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
3443 | PyObject *resultobj = NULL; | |
3444 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3445 | int arg2 ; | |
3446 | PyObject * obj0 = 0 ; | |
3447 | PyObject * obj1 = 0 ; | |
3448 | char *kwnames[] = { | |
3449 | (char *) "self",(char *) "markerNumber", NULL | |
3450 | }; | |
3451 | ||
3452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; | |
3453 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3454 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3455 | { | |
3456 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3457 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3458 | } | |
3459 | { | |
3460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3461 | (arg1)->MarkerDeleteAll(arg2); | |
3462 | ||
3463 | wxPyEndAllowThreads(__tstate); | |
3464 | if (PyErr_Occurred()) SWIG_fail; | |
3465 | } | |
3466 | Py_INCREF(Py_None); resultobj = Py_None; | |
3467 | return resultobj; | |
3468 | fail: | |
3469 | return NULL; | |
3470 | } | |
3471 | ||
3472 | ||
3473 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { | |
3474 | PyObject *resultobj = NULL; | |
3475 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3476 | int arg2 ; | |
3477 | int result; | |
3478 | PyObject * obj0 = 0 ; | |
3479 | PyObject * obj1 = 0 ; | |
3480 | char *kwnames[] = { | |
3481 | (char *) "self",(char *) "line", NULL | |
3482 | }; | |
3483 | ||
3484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; | |
3485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3487 | { | |
3488 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3489 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3490 | } | |
3491 | { | |
3492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3493 | result = (int)(arg1)->MarkerGet(arg2); | |
3494 | ||
3495 | wxPyEndAllowThreads(__tstate); | |
3496 | if (PyErr_Occurred()) SWIG_fail; | |
3497 | } | |
3498 | { | |
3499 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3500 | } | |
3501 | return resultobj; | |
3502 | fail: | |
3503 | return NULL; | |
3504 | } | |
3505 | ||
3506 | ||
3507 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { | |
3508 | PyObject *resultobj = NULL; | |
3509 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3510 | int arg2 ; | |
3511 | int arg3 ; | |
3512 | int result; | |
3513 | PyObject * obj0 = 0 ; | |
3514 | PyObject * obj1 = 0 ; | |
3515 | PyObject * obj2 = 0 ; | |
3516 | char *kwnames[] = { | |
3517 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
3518 | }; | |
3519 | ||
3520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3521 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3522 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3523 | { | |
3524 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3525 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3526 | } | |
3527 | { | |
3528 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3529 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3530 | } | |
3531 | { | |
3532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3533 | result = (int)(arg1)->MarkerNext(arg2,arg3); | |
3534 | ||
3535 | wxPyEndAllowThreads(__tstate); | |
3536 | if (PyErr_Occurred()) SWIG_fail; | |
3537 | } | |
3538 | { | |
3539 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3540 | } | |
3541 | return resultobj; | |
3542 | fail: | |
3543 | return NULL; | |
3544 | } | |
3545 | ||
3546 | ||
3547 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { | |
3548 | PyObject *resultobj = NULL; | |
3549 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3550 | int arg2 ; | |
3551 | int arg3 ; | |
3552 | int result; | |
3553 | PyObject * obj0 = 0 ; | |
3554 | PyObject * obj1 = 0 ; | |
3555 | PyObject * obj2 = 0 ; | |
3556 | char *kwnames[] = { | |
3557 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
3558 | }; | |
3559 | ||
3560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3561 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3562 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3563 | { | |
3564 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3565 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3566 | } | |
3567 | { | |
3568 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3569 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3570 | } | |
3571 | { | |
3572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3573 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); | |
3574 | ||
3575 | wxPyEndAllowThreads(__tstate); | |
3576 | if (PyErr_Occurred()) SWIG_fail; | |
3577 | } | |
3578 | { | |
3579 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3580 | } | |
3581 | return resultobj; | |
3582 | fail: | |
3583 | return NULL; | |
3584 | } | |
3585 | ||
3586 | ||
3587 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { | |
3588 | PyObject *resultobj = NULL; | |
3589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3590 | int arg2 ; | |
3591 | wxBitmap *arg3 = 0 ; | |
3592 | PyObject * obj0 = 0 ; | |
3593 | PyObject * obj1 = 0 ; | |
3594 | PyObject * obj2 = 0 ; | |
3595 | char *kwnames[] = { | |
3596 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL | |
3597 | }; | |
3598 | ||
3599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3600 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3601 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3602 | { | |
3603 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3604 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3605 | } | |
3606 | { | |
3607 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
3608 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3609 | if (arg3 == NULL) { | |
3610 | SWIG_null_ref("wxBitmap"); | |
3611 | } | |
3612 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3613 | } | |
3614 | { | |
3615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3616 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); | |
3617 | ||
3618 | wxPyEndAllowThreads(__tstate); | |
3619 | if (PyErr_Occurred()) SWIG_fail; | |
3620 | } | |
3621 | Py_INCREF(Py_None); resultobj = Py_None; | |
3622 | return resultobj; | |
3623 | fail: | |
3624 | return NULL; | |
3625 | } | |
3626 | ||
3627 | ||
3628 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { | |
3629 | PyObject *resultobj = NULL; | |
3630 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3631 | int arg2 ; | |
3632 | int arg3 ; | |
3633 | PyObject * obj0 = 0 ; | |
3634 | PyObject * obj1 = 0 ; | |
3635 | PyObject * obj2 = 0 ; | |
3636 | char *kwnames[] = { | |
3637 | (char *) "self",(char *) "margin",(char *) "marginType", NULL | |
3638 | }; | |
3639 | ||
3640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3643 | { | |
3644 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3645 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3646 | } | |
3647 | { | |
3648 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3649 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3650 | } | |
3651 | { | |
3652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3653 | (arg1)->SetMarginType(arg2,arg3); | |
3654 | ||
3655 | wxPyEndAllowThreads(__tstate); | |
3656 | if (PyErr_Occurred()) SWIG_fail; | |
3657 | } | |
3658 | Py_INCREF(Py_None); resultobj = Py_None; | |
3659 | return resultobj; | |
3660 | fail: | |
3661 | return NULL; | |
3662 | } | |
3663 | ||
3664 | ||
3665 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { | |
3666 | PyObject *resultobj = NULL; | |
3667 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3668 | int arg2 ; | |
3669 | int result; | |
3670 | PyObject * obj0 = 0 ; | |
3671 | PyObject * obj1 = 0 ; | |
3672 | char *kwnames[] = { | |
3673 | (char *) "self",(char *) "margin", NULL | |
3674 | }; | |
3675 | ||
3676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; | |
3677 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3678 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3679 | { | |
3680 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3681 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3682 | } | |
3683 | { | |
3684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3685 | result = (int)(arg1)->GetMarginType(arg2); | |
3686 | ||
3687 | wxPyEndAllowThreads(__tstate); | |
3688 | if (PyErr_Occurred()) SWIG_fail; | |
3689 | } | |
3690 | { | |
3691 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3692 | } | |
3693 | return resultobj; | |
3694 | fail: | |
3695 | return NULL; | |
3696 | } | |
3697 | ||
3698 | ||
3699 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
3700 | PyObject *resultobj = NULL; | |
3701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3702 | int arg2 ; | |
3703 | int arg3 ; | |
3704 | PyObject * obj0 = 0 ; | |
3705 | PyObject * obj1 = 0 ; | |
3706 | PyObject * obj2 = 0 ; | |
3707 | char *kwnames[] = { | |
3708 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL | |
3709 | }; | |
3710 | ||
3711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3714 | { | |
3715 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3716 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3717 | } | |
3718 | { | |
3719 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3720 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3721 | } | |
3722 | { | |
3723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3724 | (arg1)->SetMarginWidth(arg2,arg3); | |
3725 | ||
3726 | wxPyEndAllowThreads(__tstate); | |
3727 | if (PyErr_Occurred()) SWIG_fail; | |
3728 | } | |
3729 | Py_INCREF(Py_None); resultobj = Py_None; | |
3730 | return resultobj; | |
3731 | fail: | |
3732 | return NULL; | |
3733 | } | |
3734 | ||
3735 | ||
3736 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
3737 | PyObject *resultobj = NULL; | |
3738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3739 | int arg2 ; | |
3740 | int result; | |
3741 | PyObject * obj0 = 0 ; | |
3742 | PyObject * obj1 = 0 ; | |
3743 | char *kwnames[] = { | |
3744 | (char *) "self",(char *) "margin", NULL | |
3745 | }; | |
3746 | ||
3747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; | |
3748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3750 | { | |
3751 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3752 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3753 | } | |
3754 | { | |
3755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3756 | result = (int)(arg1)->GetMarginWidth(arg2); | |
3757 | ||
3758 | wxPyEndAllowThreads(__tstate); | |
3759 | if (PyErr_Occurred()) SWIG_fail; | |
3760 | } | |
3761 | { | |
3762 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3763 | } | |
3764 | return resultobj; | |
3765 | fail: | |
3766 | return NULL; | |
3767 | } | |
3768 | ||
3769 | ||
3770 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
3771 | PyObject *resultobj = NULL; | |
3772 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3773 | int arg2 ; | |
3774 | int arg3 ; | |
3775 | PyObject * obj0 = 0 ; | |
3776 | PyObject * obj1 = 0 ; | |
3777 | PyObject * obj2 = 0 ; | |
3778 | char *kwnames[] = { | |
3779 | (char *) "self",(char *) "margin",(char *) "mask", NULL | |
3780 | }; | |
3781 | ||
3782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3785 | { | |
3786 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3787 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3788 | } | |
3789 | { | |
3790 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
3791 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3792 | } | |
3793 | { | |
3794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3795 | (arg1)->SetMarginMask(arg2,arg3); | |
3796 | ||
3797 | wxPyEndAllowThreads(__tstate); | |
3798 | if (PyErr_Occurred()) SWIG_fail; | |
3799 | } | |
3800 | Py_INCREF(Py_None); resultobj = Py_None; | |
3801 | return resultobj; | |
3802 | fail: | |
3803 | return NULL; | |
3804 | } | |
3805 | ||
3806 | ||
3807 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
3808 | PyObject *resultobj = NULL; | |
3809 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3810 | int arg2 ; | |
3811 | int result; | |
3812 | PyObject * obj0 = 0 ; | |
3813 | PyObject * obj1 = 0 ; | |
3814 | char *kwnames[] = { | |
3815 | (char *) "self",(char *) "margin", NULL | |
3816 | }; | |
3817 | ||
3818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; | |
3819 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3820 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3821 | { | |
3822 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3823 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3824 | } | |
3825 | { | |
3826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3827 | result = (int)(arg1)->GetMarginMask(arg2); | |
3828 | ||
3829 | wxPyEndAllowThreads(__tstate); | |
3830 | if (PyErr_Occurred()) SWIG_fail; | |
3831 | } | |
3832 | { | |
3833 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
3834 | } | |
3835 | return resultobj; | |
3836 | fail: | |
3837 | return NULL; | |
3838 | } | |
3839 | ||
3840 | ||
3841 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { | |
3842 | PyObject *resultobj = NULL; | |
3843 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3844 | int arg2 ; | |
3845 | bool arg3 ; | |
3846 | PyObject * obj0 = 0 ; | |
3847 | PyObject * obj1 = 0 ; | |
3848 | PyObject * obj2 = 0 ; | |
3849 | char *kwnames[] = { | |
3850 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL | |
3851 | }; | |
3852 | ||
3853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3856 | { | |
3857 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3858 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3859 | } | |
3860 | { | |
3861 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
3862 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3863 | } | |
3864 | { | |
3865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3866 | (arg1)->SetMarginSensitive(arg2,arg3); | |
3867 | ||
3868 | wxPyEndAllowThreads(__tstate); | |
3869 | if (PyErr_Occurred()) SWIG_fail; | |
3870 | } | |
3871 | Py_INCREF(Py_None); resultobj = Py_None; | |
3872 | return resultobj; | |
3873 | fail: | |
3874 | return NULL; | |
3875 | } | |
3876 | ||
3877 | ||
3878 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { | |
3879 | PyObject *resultobj = NULL; | |
3880 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3881 | int arg2 ; | |
3882 | bool result; | |
3883 | PyObject * obj0 = 0 ; | |
3884 | PyObject * obj1 = 0 ; | |
3885 | char *kwnames[] = { | |
3886 | (char *) "self",(char *) "margin", NULL | |
3887 | }; | |
3888 | ||
3889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; | |
3890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3892 | { | |
3893 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3894 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3895 | } | |
3896 | { | |
3897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3898 | result = (bool)(arg1)->GetMarginSensitive(arg2); | |
3899 | ||
3900 | wxPyEndAllowThreads(__tstate); | |
3901 | if (PyErr_Occurred()) SWIG_fail; | |
3902 | } | |
3903 | { | |
3904 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3905 | } | |
3906 | return resultobj; | |
3907 | fail: | |
3908 | return NULL; | |
3909 | } | |
3910 | ||
3911 | ||
3912 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
3913 | PyObject *resultobj = NULL; | |
3914 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3915 | PyObject * obj0 = 0 ; | |
3916 | char *kwnames[] = { | |
3917 | (char *) "self", NULL | |
3918 | }; | |
3919 | ||
3920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
3921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3923 | { | |
3924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3925 | (arg1)->StyleClearAll(); | |
3926 | ||
3927 | wxPyEndAllowThreads(__tstate); | |
3928 | if (PyErr_Occurred()) SWIG_fail; | |
3929 | } | |
3930 | Py_INCREF(Py_None); resultobj = Py_None; | |
3931 | return resultobj; | |
3932 | fail: | |
3933 | return NULL; | |
3934 | } | |
3935 | ||
3936 | ||
3937 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3938 | PyObject *resultobj = NULL; | |
3939 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3940 | int arg2 ; | |
3941 | wxColour *arg3 = 0 ; | |
3942 | wxColour temp3 ; | |
3943 | PyObject * obj0 = 0 ; | |
3944 | PyObject * obj1 = 0 ; | |
3945 | PyObject * obj2 = 0 ; | |
3946 | char *kwnames[] = { | |
3947 | (char *) "self",(char *) "style",(char *) "fore", NULL | |
3948 | }; | |
3949 | ||
3950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3951 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3952 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3953 | { | |
3954 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3955 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3956 | } | |
3957 | { | |
3958 | arg3 = &temp3; | |
3959 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3960 | } | |
3961 | { | |
3962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3963 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); | |
3964 | ||
3965 | wxPyEndAllowThreads(__tstate); | |
3966 | if (PyErr_Occurred()) SWIG_fail; | |
3967 | } | |
3968 | Py_INCREF(Py_None); resultobj = Py_None; | |
3969 | return resultobj; | |
3970 | fail: | |
3971 | return NULL; | |
3972 | } | |
3973 | ||
3974 | ||
3975 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
3976 | PyObject *resultobj = NULL; | |
3977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3978 | int arg2 ; | |
3979 | wxColour *arg3 = 0 ; | |
3980 | wxColour temp3 ; | |
3981 | PyObject * obj0 = 0 ; | |
3982 | PyObject * obj1 = 0 ; | |
3983 | PyObject * obj2 = 0 ; | |
3984 | char *kwnames[] = { | |
3985 | (char *) "self",(char *) "style",(char *) "back", NULL | |
3986 | }; | |
3987 | ||
3988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3990 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3991 | { | |
3992 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
3993 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3994 | } | |
3995 | { | |
3996 | arg3 = &temp3; | |
3997 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3998 | } | |
3999 | { | |
4000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4001 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); | |
4002 | ||
4003 | wxPyEndAllowThreads(__tstate); | |
4004 | if (PyErr_Occurred()) SWIG_fail; | |
4005 | } | |
4006 | Py_INCREF(Py_None); resultobj = Py_None; | |
4007 | return resultobj; | |
4008 | fail: | |
4009 | return NULL; | |
4010 | } | |
4011 | ||
4012 | ||
4013 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { | |
4014 | PyObject *resultobj = NULL; | |
4015 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4016 | int arg2 ; | |
4017 | bool arg3 ; | |
4018 | PyObject * obj0 = 0 ; | |
4019 | PyObject * obj1 = 0 ; | |
4020 | PyObject * obj2 = 0 ; | |
4021 | char *kwnames[] = { | |
4022 | (char *) "self",(char *) "style",(char *) "bold", NULL | |
4023 | }; | |
4024 | ||
4025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4026 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4028 | { | |
4029 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4030 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4031 | } | |
4032 | { | |
4033 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
4034 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4035 | } | |
4036 | { | |
4037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4038 | (arg1)->StyleSetBold(arg2,arg3); | |
4039 | ||
4040 | wxPyEndAllowThreads(__tstate); | |
4041 | if (PyErr_Occurred()) SWIG_fail; | |
4042 | } | |
4043 | Py_INCREF(Py_None); resultobj = Py_None; | |
4044 | return resultobj; | |
4045 | fail: | |
4046 | return NULL; | |
4047 | } | |
4048 | ||
4049 | ||
4050 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { | |
4051 | PyObject *resultobj = NULL; | |
4052 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4053 | int arg2 ; | |
4054 | bool arg3 ; | |
4055 | PyObject * obj0 = 0 ; | |
4056 | PyObject * obj1 = 0 ; | |
4057 | PyObject * obj2 = 0 ; | |
4058 | char *kwnames[] = { | |
4059 | (char *) "self",(char *) "style",(char *) "italic", NULL | |
4060 | }; | |
4061 | ||
4062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4063 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4064 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4065 | { | |
4066 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4067 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4068 | } | |
4069 | { | |
4070 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
4071 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4072 | } | |
4073 | { | |
4074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4075 | (arg1)->StyleSetItalic(arg2,arg3); | |
4076 | ||
4077 | wxPyEndAllowThreads(__tstate); | |
4078 | if (PyErr_Occurred()) SWIG_fail; | |
4079 | } | |
4080 | Py_INCREF(Py_None); resultobj = Py_None; | |
4081 | return resultobj; | |
4082 | fail: | |
4083 | return NULL; | |
4084 | } | |
4085 | ||
4086 | ||
4087 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { | |
4088 | PyObject *resultobj = NULL; | |
4089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4090 | int arg2 ; | |
4091 | int arg3 ; | |
4092 | PyObject * obj0 = 0 ; | |
4093 | PyObject * obj1 = 0 ; | |
4094 | PyObject * obj2 = 0 ; | |
4095 | char *kwnames[] = { | |
4096 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL | |
4097 | }; | |
4098 | ||
4099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4100 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4101 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4102 | { | |
4103 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4104 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4105 | } | |
4106 | { | |
4107 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
4108 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4109 | } | |
4110 | { | |
4111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4112 | (arg1)->StyleSetSize(arg2,arg3); | |
4113 | ||
4114 | wxPyEndAllowThreads(__tstate); | |
4115 | if (PyErr_Occurred()) SWIG_fail; | |
4116 | } | |
4117 | Py_INCREF(Py_None); resultobj = Py_None; | |
4118 | return resultobj; | |
4119 | fail: | |
4120 | return NULL; | |
4121 | } | |
4122 | ||
4123 | ||
4124 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { | |
4125 | PyObject *resultobj = NULL; | |
4126 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4127 | int arg2 ; | |
4128 | wxString *arg3 = 0 ; | |
4129 | bool temp3 = false ; | |
4130 | PyObject * obj0 = 0 ; | |
4131 | PyObject * obj1 = 0 ; | |
4132 | PyObject * obj2 = 0 ; | |
4133 | char *kwnames[] = { | |
4134 | (char *) "self",(char *) "style",(char *) "fontName", NULL | |
4135 | }; | |
4136 | ||
4137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4140 | { | |
4141 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4142 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4143 | } | |
4144 | { | |
4145 | arg3 = wxString_in_helper(obj2); | |
4146 | if (arg3 == NULL) SWIG_fail; | |
4147 | temp3 = true; | |
4148 | } | |
4149 | { | |
4150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4151 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); | |
4152 | ||
4153 | wxPyEndAllowThreads(__tstate); | |
4154 | if (PyErr_Occurred()) SWIG_fail; | |
4155 | } | |
4156 | Py_INCREF(Py_None); resultobj = Py_None; | |
4157 | { | |
4158 | if (temp3) | |
4159 | delete arg3; | |
4160 | } | |
4161 | return resultobj; | |
4162 | fail: | |
4163 | { | |
4164 | if (temp3) | |
4165 | delete arg3; | |
4166 | } | |
4167 | return NULL; | |
4168 | } | |
4169 | ||
4170 | ||
4171 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { | |
4172 | PyObject *resultobj = NULL; | |
4173 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4174 | int arg2 ; | |
4175 | bool arg3 ; | |
4176 | PyObject * obj0 = 0 ; | |
4177 | PyObject * obj1 = 0 ; | |
4178 | PyObject * obj2 = 0 ; | |
4179 | char *kwnames[] = { | |
4180 | (char *) "self",(char *) "style",(char *) "filled", NULL | |
4181 | }; | |
4182 | ||
4183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4186 | { | |
4187 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4188 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4189 | } | |
4190 | { | |
4191 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
4192 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4193 | } | |
4194 | { | |
4195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4196 | (arg1)->StyleSetEOLFilled(arg2,arg3); | |
4197 | ||
4198 | wxPyEndAllowThreads(__tstate); | |
4199 | if (PyErr_Occurred()) SWIG_fail; | |
4200 | } | |
4201 | Py_INCREF(Py_None); resultobj = Py_None; | |
4202 | return resultobj; | |
4203 | fail: | |
4204 | return NULL; | |
4205 | } | |
4206 | ||
4207 | ||
4208 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { | |
4209 | PyObject *resultobj = NULL; | |
4210 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4211 | PyObject * obj0 = 0 ; | |
4212 | char *kwnames[] = { | |
4213 | (char *) "self", NULL | |
4214 | }; | |
4215 | ||
4216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; | |
4217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4219 | { | |
4220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4221 | (arg1)->StyleResetDefault(); | |
4222 | ||
4223 | wxPyEndAllowThreads(__tstate); | |
4224 | if (PyErr_Occurred()) SWIG_fail; | |
4225 | } | |
4226 | Py_INCREF(Py_None); resultobj = Py_None; | |
4227 | return resultobj; | |
4228 | fail: | |
4229 | return NULL; | |
4230 | } | |
4231 | ||
4232 | ||
4233 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { | |
4234 | PyObject *resultobj = NULL; | |
4235 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4236 | int arg2 ; | |
4237 | bool arg3 ; | |
4238 | PyObject * obj0 = 0 ; | |
4239 | PyObject * obj1 = 0 ; | |
4240 | PyObject * obj2 = 0 ; | |
4241 | char *kwnames[] = { | |
4242 | (char *) "self",(char *) "style",(char *) "underline", NULL | |
4243 | }; | |
4244 | ||
4245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4248 | { | |
4249 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4250 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4251 | } | |
4252 | { | |
4253 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
4254 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4255 | } | |
4256 | { | |
4257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4258 | (arg1)->StyleSetUnderline(arg2,arg3); | |
4259 | ||
4260 | wxPyEndAllowThreads(__tstate); | |
4261 | if (PyErr_Occurred()) SWIG_fail; | |
4262 | } | |
4263 | Py_INCREF(Py_None); resultobj = Py_None; | |
4264 | return resultobj; | |
4265 | fail: | |
4266 | return NULL; | |
4267 | } | |
4268 | ||
4269 | ||
4270 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
4271 | PyObject *resultobj = NULL; | |
4272 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4273 | int arg2 ; | |
4274 | int arg3 ; | |
4275 | PyObject * obj0 = 0 ; | |
4276 | PyObject * obj1 = 0 ; | |
4277 | PyObject * obj2 = 0 ; | |
4278 | char *kwnames[] = { | |
4279 | (char *) "self",(char *) "style",(char *) "caseForce", NULL | |
4280 | }; | |
4281 | ||
4282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4285 | { | |
4286 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4287 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4288 | } | |
4289 | { | |
4290 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
4291 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4292 | } | |
4293 | { | |
4294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4295 | (arg1)->StyleSetCase(arg2,arg3); | |
4296 | ||
4297 | wxPyEndAllowThreads(__tstate); | |
4298 | if (PyErr_Occurred()) SWIG_fail; | |
4299 | } | |
4300 | Py_INCREF(Py_None); resultobj = Py_None; | |
4301 | return resultobj; | |
4302 | fail: | |
4303 | return NULL; | |
4304 | } | |
4305 | ||
4306 | ||
4307 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { | |
4308 | PyObject *resultobj = NULL; | |
4309 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4310 | int arg2 ; | |
4311 | bool arg3 ; | |
4312 | PyObject * obj0 = 0 ; | |
4313 | PyObject * obj1 = 0 ; | |
4314 | PyObject * obj2 = 0 ; | |
4315 | char *kwnames[] = { | |
4316 | (char *) "self",(char *) "style",(char *) "hotspot", NULL | |
4317 | }; | |
4318 | ||
4319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4322 | { | |
4323 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4324 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4325 | } | |
4326 | { | |
4327 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
4328 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4329 | } | |
4330 | { | |
4331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4332 | (arg1)->StyleSetHotSpot(arg2,arg3); | |
4333 | ||
4334 | wxPyEndAllowThreads(__tstate); | |
4335 | if (PyErr_Occurred()) SWIG_fail; | |
4336 | } | |
4337 | Py_INCREF(Py_None); resultobj = Py_None; | |
4338 | return resultobj; | |
4339 | fail: | |
4340 | return NULL; | |
4341 | } | |
4342 | ||
4343 | ||
4344 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4345 | PyObject *resultobj = NULL; | |
4346 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4347 | bool arg2 ; | |
4348 | wxColour *arg3 = 0 ; | |
4349 | wxColour temp3 ; | |
4350 | PyObject * obj0 = 0 ; | |
4351 | PyObject * obj1 = 0 ; | |
4352 | PyObject * obj2 = 0 ; | |
4353 | char *kwnames[] = { | |
4354 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
4355 | }; | |
4356 | ||
4357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4360 | { | |
4361 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
4362 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4363 | } | |
4364 | { | |
4365 | arg3 = &temp3; | |
4366 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4367 | } | |
4368 | { | |
4369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4370 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); | |
4371 | ||
4372 | wxPyEndAllowThreads(__tstate); | |
4373 | if (PyErr_Occurred()) SWIG_fail; | |
4374 | } | |
4375 | Py_INCREF(Py_None); resultobj = Py_None; | |
4376 | return resultobj; | |
4377 | fail: | |
4378 | return NULL; | |
4379 | } | |
4380 | ||
4381 | ||
4382 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4383 | PyObject *resultobj = NULL; | |
4384 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4385 | bool arg2 ; | |
4386 | wxColour *arg3 = 0 ; | |
4387 | wxColour temp3 ; | |
4388 | PyObject * obj0 = 0 ; | |
4389 | PyObject * obj1 = 0 ; | |
4390 | PyObject * obj2 = 0 ; | |
4391 | char *kwnames[] = { | |
4392 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
4393 | }; | |
4394 | ||
4395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4396 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4397 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4398 | { | |
4399 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
4400 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4401 | } | |
4402 | { | |
4403 | arg3 = &temp3; | |
4404 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4405 | } | |
4406 | { | |
4407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4408 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); | |
4409 | ||
4410 | wxPyEndAllowThreads(__tstate); | |
4411 | if (PyErr_Occurred()) SWIG_fail; | |
4412 | } | |
4413 | Py_INCREF(Py_None); resultobj = Py_None; | |
4414 | return resultobj; | |
4415 | fail: | |
4416 | return NULL; | |
4417 | } | |
4418 | ||
4419 | ||
4420 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4421 | PyObject *resultobj = NULL; | |
4422 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4423 | wxColour *arg2 = 0 ; | |
4424 | wxColour temp2 ; | |
4425 | PyObject * obj0 = 0 ; | |
4426 | PyObject * obj1 = 0 ; | |
4427 | char *kwnames[] = { | |
4428 | (char *) "self",(char *) "fore", NULL | |
4429 | }; | |
4430 | ||
4431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) 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 = &temp2; | |
4436 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
4437 | } | |
4438 | { | |
4439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4440 | (arg1)->SetCaretForeground((wxColour const &)*arg2); | |
4441 | ||
4442 | wxPyEndAllowThreads(__tstate); | |
4443 | if (PyErr_Occurred()) SWIG_fail; | |
4444 | } | |
4445 | Py_INCREF(Py_None); resultobj = Py_None; | |
4446 | return resultobj; | |
4447 | fail: | |
4448 | return NULL; | |
4449 | } | |
4450 | ||
4451 | ||
4452 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { | |
4453 | PyObject *resultobj = NULL; | |
4454 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4455 | int arg2 ; | |
4456 | int arg3 ; | |
4457 | int arg4 ; | |
4458 | PyObject * obj0 = 0 ; | |
4459 | PyObject * obj1 = 0 ; | |
4460 | PyObject * obj2 = 0 ; | |
4461 | PyObject * obj3 = 0 ; | |
4462 | char *kwnames[] = { | |
4463 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL | |
4464 | }; | |
4465 | ||
4466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
4467 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4468 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4469 | { | |
4470 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4471 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4472 | } | |
4473 | { | |
4474 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
4475 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4476 | } | |
4477 | { | |
4478 | arg4 = static_cast<int >(SWIG_As_int(obj3)); | |
4479 | if (SWIG_arg_fail(4)) SWIG_fail; | |
4480 | } | |
4481 | { | |
4482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4483 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); | |
4484 | ||
4485 | wxPyEndAllowThreads(__tstate); | |
4486 | if (PyErr_Occurred()) SWIG_fail; | |
4487 | } | |
4488 | Py_INCREF(Py_None); resultobj = Py_None; | |
4489 | return resultobj; | |
4490 | fail: | |
4491 | return NULL; | |
4492 | } | |
4493 | ||
4494 | ||
4495 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { | |
4496 | PyObject *resultobj = NULL; | |
4497 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4498 | int arg2 ; | |
4499 | int arg3 ; | |
4500 | PyObject * obj0 = 0 ; | |
4501 | PyObject * obj1 = 0 ; | |
4502 | PyObject * obj2 = 0 ; | |
4503 | char *kwnames[] = { | |
4504 | (char *) "self",(char *) "key",(char *) "modifiers", NULL | |
4505 | }; | |
4506 | ||
4507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4508 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4509 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4510 | { | |
4511 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4512 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4513 | } | |
4514 | { | |
4515 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
4516 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4517 | } | |
4518 | { | |
4519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4520 | (arg1)->CmdKeyClear(arg2,arg3); | |
4521 | ||
4522 | wxPyEndAllowThreads(__tstate); | |
4523 | if (PyErr_Occurred()) SWIG_fail; | |
4524 | } | |
4525 | Py_INCREF(Py_None); resultobj = Py_None; | |
4526 | return resultobj; | |
4527 | fail: | |
4528 | return NULL; | |
4529 | } | |
4530 | ||
4531 | ||
4532 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
4533 | PyObject *resultobj = NULL; | |
4534 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4535 | PyObject * obj0 = 0 ; | |
4536 | char *kwnames[] = { | |
4537 | (char *) "self", NULL | |
4538 | }; | |
4539 | ||
4540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; | |
4541 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4542 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4543 | { | |
4544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4545 | (arg1)->CmdKeyClearAll(); | |
4546 | ||
4547 | wxPyEndAllowThreads(__tstate); | |
4548 | if (PyErr_Occurred()) SWIG_fail; | |
4549 | } | |
4550 | Py_INCREF(Py_None); resultobj = Py_None; | |
4551 | return resultobj; | |
4552 | fail: | |
4553 | return NULL; | |
4554 | } | |
4555 | ||
4556 | ||
4557 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { | |
4558 | PyObject *resultobj = NULL; | |
4559 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4560 | int arg2 ; | |
4561 | char *arg3 = (char *) 0 ; | |
4562 | PyObject * obj0 = 0 ; | |
4563 | PyObject * obj1 = 0 ; | |
4564 | PyObject * obj2 = 0 ; | |
4565 | char *kwnames[] = { | |
4566 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL | |
4567 | }; | |
4568 | ||
4569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4570 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4571 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4572 | { | |
4573 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4574 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4575 | } | |
4576 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
4577 | SWIG_arg_fail(3);SWIG_fail; | |
4578 | } | |
4579 | { | |
4580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4581 | (arg1)->SetStyleBytes(arg2,arg3); | |
4582 | ||
4583 | wxPyEndAllowThreads(__tstate); | |
4584 | if (PyErr_Occurred()) SWIG_fail; | |
4585 | } | |
4586 | Py_INCREF(Py_None); resultobj = Py_None; | |
4587 | return resultobj; | |
4588 | fail: | |
4589 | return NULL; | |
4590 | } | |
4591 | ||
4592 | ||
4593 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
4594 | PyObject *resultobj = NULL; | |
4595 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4596 | int arg2 ; | |
4597 | bool arg3 ; | |
4598 | PyObject * obj0 = 0 ; | |
4599 | PyObject * obj1 = 0 ; | |
4600 | PyObject * obj2 = 0 ; | |
4601 | char *kwnames[] = { | |
4602 | (char *) "self",(char *) "style",(char *) "visible", NULL | |
4603 | }; | |
4604 | ||
4605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4606 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4607 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4608 | { | |
4609 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4610 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4611 | } | |
4612 | { | |
4613 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
4614 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4615 | } | |
4616 | { | |
4617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4618 | (arg1)->StyleSetVisible(arg2,arg3); | |
4619 | ||
4620 | wxPyEndAllowThreads(__tstate); | |
4621 | if (PyErr_Occurred()) SWIG_fail; | |
4622 | } | |
4623 | Py_INCREF(Py_None); resultobj = Py_None; | |
4624 | return resultobj; | |
4625 | fail: | |
4626 | return NULL; | |
4627 | } | |
4628 | ||
4629 | ||
4630 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { | |
4631 | PyObject *resultobj = NULL; | |
4632 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4633 | int result; | |
4634 | PyObject * obj0 = 0 ; | |
4635 | char *kwnames[] = { | |
4636 | (char *) "self", NULL | |
4637 | }; | |
4638 | ||
4639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; | |
4640 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4641 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4642 | { | |
4643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4644 | result = (int)(arg1)->GetCaretPeriod(); | |
4645 | ||
4646 | wxPyEndAllowThreads(__tstate); | |
4647 | if (PyErr_Occurred()) SWIG_fail; | |
4648 | } | |
4649 | { | |
4650 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
4651 | } | |
4652 | return resultobj; | |
4653 | fail: | |
4654 | return NULL; | |
4655 | } | |
4656 | ||
4657 | ||
4658 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { | |
4659 | PyObject *resultobj = NULL; | |
4660 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4661 | int arg2 ; | |
4662 | PyObject * obj0 = 0 ; | |
4663 | PyObject * obj1 = 0 ; | |
4664 | char *kwnames[] = { | |
4665 | (char *) "self",(char *) "periodMilliseconds", NULL | |
4666 | }; | |
4667 | ||
4668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; | |
4669 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4670 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4671 | { | |
4672 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4673 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4674 | } | |
4675 | { | |
4676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4677 | (arg1)->SetCaretPeriod(arg2); | |
4678 | ||
4679 | wxPyEndAllowThreads(__tstate); | |
4680 | if (PyErr_Occurred()) SWIG_fail; | |
4681 | } | |
4682 | Py_INCREF(Py_None); resultobj = Py_None; | |
4683 | return resultobj; | |
4684 | fail: | |
4685 | return NULL; | |
4686 | } | |
4687 | ||
4688 | ||
4689 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { | |
4690 | PyObject *resultobj = NULL; | |
4691 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4692 | wxString *arg2 = 0 ; | |
4693 | bool temp2 = false ; | |
4694 | PyObject * obj0 = 0 ; | |
4695 | PyObject * obj1 = 0 ; | |
4696 | char *kwnames[] = { | |
4697 | (char *) "self",(char *) "characters", NULL | |
4698 | }; | |
4699 | ||
4700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; | |
4701 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4702 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4703 | { | |
4704 | arg2 = wxString_in_helper(obj1); | |
4705 | if (arg2 == NULL) SWIG_fail; | |
4706 | temp2 = true; | |
4707 | } | |
4708 | { | |
4709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4710 | (arg1)->SetWordChars((wxString const &)*arg2); | |
4711 | ||
4712 | wxPyEndAllowThreads(__tstate); | |
4713 | if (PyErr_Occurred()) SWIG_fail; | |
4714 | } | |
4715 | Py_INCREF(Py_None); resultobj = Py_None; | |
4716 | { | |
4717 | if (temp2) | |
4718 | delete arg2; | |
4719 | } | |
4720 | return resultobj; | |
4721 | fail: | |
4722 | { | |
4723 | if (temp2) | |
4724 | delete arg2; | |
4725 | } | |
4726 | return NULL; | |
4727 | } | |
4728 | ||
4729 | ||
4730 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { | |
4731 | PyObject *resultobj = NULL; | |
4732 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4733 | PyObject * obj0 = 0 ; | |
4734 | char *kwnames[] = { | |
4735 | (char *) "self", NULL | |
4736 | }; | |
4737 | ||
4738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; | |
4739 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4740 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4741 | { | |
4742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4743 | (arg1)->BeginUndoAction(); | |
4744 | ||
4745 | wxPyEndAllowThreads(__tstate); | |
4746 | if (PyErr_Occurred()) SWIG_fail; | |
4747 | } | |
4748 | Py_INCREF(Py_None); resultobj = Py_None; | |
4749 | return resultobj; | |
4750 | fail: | |
4751 | return NULL; | |
4752 | } | |
4753 | ||
4754 | ||
4755 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { | |
4756 | PyObject *resultobj = NULL; | |
4757 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4758 | PyObject * obj0 = 0 ; | |
4759 | char *kwnames[] = { | |
4760 | (char *) "self", NULL | |
4761 | }; | |
4762 | ||
4763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; | |
4764 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4765 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4766 | { | |
4767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4768 | (arg1)->EndUndoAction(); | |
4769 | ||
4770 | wxPyEndAllowThreads(__tstate); | |
4771 | if (PyErr_Occurred()) SWIG_fail; | |
4772 | } | |
4773 | Py_INCREF(Py_None); resultobj = Py_None; | |
4774 | return resultobj; | |
4775 | fail: | |
4776 | return NULL; | |
4777 | } | |
4778 | ||
4779 | ||
4780 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { | |
4781 | PyObject *resultobj = NULL; | |
4782 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4783 | int arg2 ; | |
4784 | int arg3 ; | |
4785 | PyObject * obj0 = 0 ; | |
4786 | PyObject * obj1 = 0 ; | |
4787 | PyObject * obj2 = 0 ; | |
4788 | char *kwnames[] = { | |
4789 | (char *) "self",(char *) "indic",(char *) "style", NULL | |
4790 | }; | |
4791 | ||
4792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4793 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4794 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4795 | { | |
4796 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4797 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4798 | } | |
4799 | { | |
4800 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
4801 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4802 | } | |
4803 | { | |
4804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4805 | (arg1)->IndicatorSetStyle(arg2,arg3); | |
4806 | ||
4807 | wxPyEndAllowThreads(__tstate); | |
4808 | if (PyErr_Occurred()) SWIG_fail; | |
4809 | } | |
4810 | Py_INCREF(Py_None); resultobj = Py_None; | |
4811 | return resultobj; | |
4812 | fail: | |
4813 | return NULL; | |
4814 | } | |
4815 | ||
4816 | ||
4817 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { | |
4818 | PyObject *resultobj = NULL; | |
4819 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4820 | int arg2 ; | |
4821 | int result; | |
4822 | PyObject * obj0 = 0 ; | |
4823 | PyObject * obj1 = 0 ; | |
4824 | char *kwnames[] = { | |
4825 | (char *) "self",(char *) "indic", NULL | |
4826 | }; | |
4827 | ||
4828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; | |
4829 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4830 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4831 | { | |
4832 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4833 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4834 | } | |
4835 | { | |
4836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4837 | result = (int)(arg1)->IndicatorGetStyle(arg2); | |
4838 | ||
4839 | wxPyEndAllowThreads(__tstate); | |
4840 | if (PyErr_Occurred()) SWIG_fail; | |
4841 | } | |
4842 | { | |
4843 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
4844 | } | |
4845 | return resultobj; | |
4846 | fail: | |
4847 | return NULL; | |
4848 | } | |
4849 | ||
4850 | ||
4851 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4852 | PyObject *resultobj = NULL; | |
4853 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4854 | int arg2 ; | |
4855 | wxColour *arg3 = 0 ; | |
4856 | wxColour temp3 ; | |
4857 | PyObject * obj0 = 0 ; | |
4858 | PyObject * obj1 = 0 ; | |
4859 | PyObject * obj2 = 0 ; | |
4860 | char *kwnames[] = { | |
4861 | (char *) "self",(char *) "indic",(char *) "fore", NULL | |
4862 | }; | |
4863 | ||
4864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4865 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4866 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4867 | { | |
4868 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4869 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4870 | } | |
4871 | { | |
4872 | arg3 = &temp3; | |
4873 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4874 | } | |
4875 | { | |
4876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4877 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); | |
4878 | ||
4879 | wxPyEndAllowThreads(__tstate); | |
4880 | if (PyErr_Occurred()) SWIG_fail; | |
4881 | } | |
4882 | Py_INCREF(Py_None); resultobj = Py_None; | |
4883 | return resultobj; | |
4884 | fail: | |
4885 | return NULL; | |
4886 | } | |
4887 | ||
4888 | ||
4889 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4890 | PyObject *resultobj = NULL; | |
4891 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4892 | int arg2 ; | |
4893 | wxColour result; | |
4894 | PyObject * obj0 = 0 ; | |
4895 | PyObject * obj1 = 0 ; | |
4896 | char *kwnames[] = { | |
4897 | (char *) "self",(char *) "indic", NULL | |
4898 | }; | |
4899 | ||
4900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; | |
4901 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4902 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4903 | { | |
4904 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
4905 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4906 | } | |
4907 | { | |
4908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4909 | result = (arg1)->IndicatorGetForeground(arg2); | |
4910 | ||
4911 | wxPyEndAllowThreads(__tstate); | |
4912 | if (PyErr_Occurred()) SWIG_fail; | |
4913 | } | |
4914 | { | |
4915 | wxColour * resultptr; | |
4916 | resultptr = new wxColour(static_cast<wxColour & >(result)); | |
4917 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
4918 | } | |
4919 | return resultobj; | |
4920 | fail: | |
4921 | return NULL; | |
4922 | } | |
4923 | ||
4924 | ||
4925 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4926 | PyObject *resultobj = NULL; | |
4927 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4928 | bool arg2 ; | |
4929 | wxColour *arg3 = 0 ; | |
4930 | wxColour temp3 ; | |
4931 | PyObject * obj0 = 0 ; | |
4932 | PyObject * obj1 = 0 ; | |
4933 | PyObject * obj2 = 0 ; | |
4934 | char *kwnames[] = { | |
4935 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
4936 | }; | |
4937 | ||
4938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4939 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4940 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4941 | { | |
4942 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
4943 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4944 | } | |
4945 | { | |
4946 | arg3 = &temp3; | |
4947 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4948 | } | |
4949 | { | |
4950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4951 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); | |
4952 | ||
4953 | wxPyEndAllowThreads(__tstate); | |
4954 | if (PyErr_Occurred()) SWIG_fail; | |
4955 | } | |
4956 | Py_INCREF(Py_None); resultobj = Py_None; | |
4957 | return resultobj; | |
4958 | fail: | |
4959 | return NULL; | |
4960 | } | |
4961 | ||
4962 | ||
4963 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
4964 | PyObject *resultobj = NULL; | |
4965 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4966 | bool arg2 ; | |
4967 | wxColour *arg3 = 0 ; | |
4968 | wxColour temp3 ; | |
4969 | PyObject * obj0 = 0 ; | |
4970 | PyObject * obj1 = 0 ; | |
4971 | PyObject * obj2 = 0 ; | |
4972 | char *kwnames[] = { | |
4973 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
4974 | }; | |
4975 | ||
4976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4979 | { | |
4980 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
4981 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4982 | } | |
4983 | { | |
4984 | arg3 = &temp3; | |
4985 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4986 | } | |
4987 | { | |
4988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4989 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); | |
4990 | ||
4991 | wxPyEndAllowThreads(__tstate); | |
4992 | if (PyErr_Occurred()) SWIG_fail; | |
4993 | } | |
4994 | Py_INCREF(Py_None); resultobj = Py_None; | |
4995 | return resultobj; | |
4996 | fail: | |
4997 | return NULL; | |
4998 | } | |
4999 | ||
5000 | ||
5001 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { | |
5002 | PyObject *resultobj = NULL; | |
5003 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5004 | int arg2 ; | |
5005 | PyObject * obj0 = 0 ; | |
5006 | PyObject * obj1 = 0 ; | |
5007 | char *kwnames[] = { | |
5008 | (char *) "self",(char *) "bits", NULL | |
5009 | }; | |
5010 | ||
5011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; | |
5012 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5013 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5014 | { | |
5015 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
5016 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5017 | } | |
5018 | { | |
5019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5020 | (arg1)->SetStyleBits(arg2); | |
5021 | ||
5022 | wxPyEndAllowThreads(__tstate); | |
5023 | if (PyErr_Occurred()) SWIG_fail; | |
5024 | } | |
5025 | Py_INCREF(Py_None); resultobj = Py_None; | |
5026 | return resultobj; | |
5027 | fail: | |
5028 | return NULL; | |
5029 | } | |
5030 | ||
5031 | ||
5032 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { | |
5033 | PyObject *resultobj = NULL; | |
5034 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5035 | int result; | |
5036 | PyObject * obj0 = 0 ; | |
5037 | char *kwnames[] = { | |
5038 | (char *) "self", NULL | |
5039 | }; | |
5040 | ||
5041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; | |
5042 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5043 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5044 | { | |
5045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5046 | result = (int)(arg1)->GetStyleBits(); | |
5047 | ||
5048 | wxPyEndAllowThreads(__tstate); | |
5049 | if (PyErr_Occurred()) SWIG_fail; | |
5050 | } | |
5051 | { | |
5052 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
5053 | } | |
5054 | return resultobj; | |
5055 | fail: | |
5056 | return NULL; | |
5057 | } | |
5058 | ||
5059 | ||
5060 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { | |
5061 | PyObject *resultobj = NULL; | |
5062 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5063 | int arg2 ; | |
5064 | int arg3 ; | |
5065 | PyObject * obj0 = 0 ; | |
5066 | PyObject * obj1 = 0 ; | |
5067 | PyObject * obj2 = 0 ; | |
5068 | char *kwnames[] = { | |
5069 | (char *) "self",(char *) "line",(char *) "state", NULL | |
5070 | }; | |
5071 | ||
5072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5073 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5074 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5075 | { | |
5076 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
5077 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5078 | } | |
5079 | { | |
5080 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
5081 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5082 | } | |
5083 | { | |
5084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5085 | (arg1)->SetLineState(arg2,arg3); | |
5086 | ||
5087 | wxPyEndAllowThreads(__tstate); | |
5088 | if (PyErr_Occurred()) SWIG_fail; | |
5089 | } | |
5090 | Py_INCREF(Py_None); resultobj = Py_None; | |
5091 | return resultobj; | |
5092 | fail: | |
5093 | return NULL; | |
5094 | } | |
5095 | ||
5096 | ||
5097 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { | |
5098 | PyObject *resultobj = NULL; | |
5099 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5100 | int arg2 ; | |
5101 | int result; | |
5102 | PyObject * obj0 = 0 ; | |
5103 | PyObject * obj1 = 0 ; | |
5104 | char *kwnames[] = { | |
5105 | (char *) "self",(char *) "line", NULL | |
5106 | }; | |
5107 | ||
5108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; | |
5109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5111 | { | |
5112 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
5113 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5114 | } | |
5115 | { | |
5116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5117 | result = (int)(arg1)->GetLineState(arg2); | |
5118 | ||
5119 | wxPyEndAllowThreads(__tstate); | |
5120 | if (PyErr_Occurred()) SWIG_fail; | |
5121 | } | |
5122 | { | |
5123 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
5124 | } | |
5125 | return resultobj; | |
5126 | fail: | |
5127 | return NULL; | |
5128 | } | |
5129 | ||
5130 | ||
5131 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { | |
5132 | PyObject *resultobj = NULL; | |
5133 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5134 | int result; | |
5135 | PyObject * obj0 = 0 ; | |
5136 | char *kwnames[] = { | |
5137 | (char *) "self", NULL | |
5138 | }; | |
5139 | ||
5140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; | |
5141 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5142 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5143 | { | |
5144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5145 | result = (int)(arg1)->GetMaxLineState(); | |
5146 | ||
5147 | wxPyEndAllowThreads(__tstate); | |
5148 | if (PyErr_Occurred()) SWIG_fail; | |
5149 | } | |
5150 | { | |
5151 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
5152 | } | |
5153 | return resultobj; | |
5154 | fail: | |
5155 | return NULL; | |
5156 | } | |
5157 | ||
5158 | ||
5159 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
5160 | PyObject *resultobj = NULL; | |
5161 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5162 | bool result; | |
5163 | PyObject * obj0 = 0 ; | |
5164 | char *kwnames[] = { | |
5165 | (char *) "self", NULL | |
5166 | }; | |
5167 | ||
5168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; | |
5169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5171 | { | |
5172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5173 | result = (bool)(arg1)->GetCaretLineVisible(); | |
5174 | ||
5175 | wxPyEndAllowThreads(__tstate); | |
5176 | if (PyErr_Occurred()) SWIG_fail; | |
5177 | } | |
5178 | { | |
5179 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5180 | } | |
5181 | return resultobj; | |
5182 | fail: | |
5183 | return NULL; | |
5184 | } | |
5185 | ||
5186 | ||
5187 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
5188 | PyObject *resultobj = NULL; | |
5189 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5190 | bool arg2 ; | |
5191 | PyObject * obj0 = 0 ; | |
5192 | PyObject * obj1 = 0 ; | |
5193 | char *kwnames[] = { | |
5194 | (char *) "self",(char *) "show", NULL | |
5195 | }; | |
5196 | ||
5197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
5198 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5199 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5200 | { | |
5201 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
5202 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5203 | } | |
5204 | { | |
5205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5206 | (arg1)->SetCaretLineVisible(arg2); | |
5207 | ||
5208 | wxPyEndAllowThreads(__tstate); | |
5209 | if (PyErr_Occurred()) SWIG_fail; | |
5210 | } | |
5211 | Py_INCREF(Py_None); resultobj = Py_None; | |
5212 | return resultobj; | |
5213 | fail: | |
5214 | return NULL; | |
5215 | } | |
5216 | ||
5217 | ||
5218 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { | |
5219 | PyObject *resultobj = NULL; | |
5220 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5221 | wxColour result; | |
5222 | PyObject * obj0 = 0 ; | |
5223 | char *kwnames[] = { | |
5224 | (char *) "self", NULL | |
5225 | }; | |
5226 | ||
5227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; | |
5228 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5229 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5230 | { | |
5231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5232 | result = (arg1)->GetCaretLineBack(); | |
5233 | ||
5234 | wxPyEndAllowThreads(__tstate); | |
5235 | if (PyErr_Occurred()) SWIG_fail; | |
5236 | } | |
5237 | { | |
5238 | wxColour * resultptr; | |
5239 | resultptr = new wxColour(static_cast<wxColour & >(result)); | |
5240 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
5241 | } | |
5242 | return resultobj; | |
5243 | fail: | |
5244 | return NULL; | |
5245 | } | |
5246 | ||
5247 | ||
5248 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { | |
5249 | PyObject *resultobj = NULL; | |
5250 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5251 | wxColour *arg2 = 0 ; | |
5252 | wxColour temp2 ; | |
5253 | PyObject * obj0 = 0 ; | |
5254 | PyObject * obj1 = 0 ; | |
5255 | char *kwnames[] = { | |
5256 | (char *) "self",(char *) "back", NULL | |
5257 | }; | |
5258 | ||
5259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; | |
5260 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5261 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5262 | { | |
5263 | arg2 = &temp2; | |
5264 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5265 | } | |
5266 | { | |
5267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5268 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); | |
5269 | ||
5270 | wxPyEndAllowThreads(__tstate); | |
5271 | if (PyErr_Occurred()) SWIG_fail; | |
5272 | } | |
5273 | Py_INCREF(Py_None); resultobj = Py_None; | |
5274 | return resultobj; | |
5275 | fail: | |
5276 | return NULL; | |
5277 | } | |
5278 | ||
5279 | ||
5280 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { | |
5281 | PyObject *resultobj = NULL; | |
5282 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5283 | int arg2 ; | |
5284 | bool arg3 ; | |
5285 | PyObject * obj0 = 0 ; | |
5286 | PyObject * obj1 = 0 ; | |
5287 | PyObject * obj2 = 0 ; | |
5288 | char *kwnames[] = { | |
5289 | (char *) "self",(char *) "style",(char *) "changeable", NULL | |
5290 | }; | |
5291 | ||
5292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5295 | { | |
5296 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
5297 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5298 | } | |
5299 | { | |
5300 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
5301 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5302 | } | |
5303 | { | |
5304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5305 | (arg1)->StyleSetChangeable(arg2,arg3); | |
5306 | ||
5307 | wxPyEndAllowThreads(__tstate); | |
5308 | if (PyErr_Occurred()) SWIG_fail; | |
5309 | } | |
5310 | Py_INCREF(Py_None); resultobj = Py_None; | |
5311 | return resultobj; | |
5312 | fail: | |
5313 | return NULL; | |
5314 | } | |
5315 | ||
5316 | ||
5317 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { | |
5318 | PyObject *resultobj = NULL; | |
5319 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5320 | int arg2 ; | |
5321 | wxString *arg3 = 0 ; | |
5322 | bool temp3 = false ; | |
5323 | PyObject * obj0 = 0 ; | |
5324 | PyObject * obj1 = 0 ; | |
5325 | PyObject * obj2 = 0 ; | |
5326 | char *kwnames[] = { | |
5327 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL | |
5328 | }; | |
5329 | ||
5330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5331 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5332 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5333 | { | |
5334 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
5335 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5336 | } | |
5337 | { | |
5338 | arg3 = wxString_in_helper(obj2); | |
5339 | if (arg3 == NULL) SWIG_fail; | |
5340 | temp3 = true; | |
5341 | } | |
5342 | { | |
5343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5344 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); | |
5345 | ||
5346 | wxPyEndAllowThreads(__tstate); | |
5347 | if (PyErr_Occurred()) SWIG_fail; | |
5348 | } | |
5349 | Py_INCREF(Py_None); resultobj = Py_None; | |
5350 | { | |
5351 | if (temp3) | |
5352 | delete arg3; | |
5353 | } | |
5354 | return resultobj; | |
5355 | fail: | |
5356 | { | |
5357 | if (temp3) | |
5358 | delete arg3; | |
5359 | } | |
5360 | return NULL; | |
5361 | } | |
5362 | ||
5363 | ||
5364 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { | |
5365 | PyObject *resultobj = NULL; | |
5366 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5367 | PyObject * obj0 = 0 ; | |
5368 | char *kwnames[] = { | |
5369 | (char *) "self", NULL | |
5370 | }; | |
5371 | ||
5372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; | |
5373 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5374 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5375 | { | |
5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5377 | (arg1)->AutoCompCancel(); | |
5378 | ||
5379 | wxPyEndAllowThreads(__tstate); | |
5380 | if (PyErr_Occurred()) SWIG_fail; | |
5381 | } | |
5382 | Py_INCREF(Py_None); resultobj = Py_None; | |
5383 | return resultobj; | |
5384 | fail: | |
5385 | return NULL; | |
5386 | } | |
5387 | ||
5388 | ||
5389 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { | |
5390 | PyObject *resultobj = NULL; | |
5391 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5392 | bool result; | |
5393 | PyObject * obj0 = 0 ; | |
5394 | char *kwnames[] = { | |
5395 | (char *) "self", NULL | |
5396 | }; | |
5397 | ||
5398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; | |
5399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5401 | { | |
5402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5403 | result = (bool)(arg1)->AutoCompActive(); | |
5404 | ||
5405 | wxPyEndAllowThreads(__tstate); | |
5406 | if (PyErr_Occurred()) SWIG_fail; | |
5407 | } | |
5408 | { | |
5409 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5410 | } | |
5411 | return resultobj; | |
5412 | fail: | |
5413 | return NULL; | |
5414 | } | |
5415 | ||
5416 | ||
5417 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
5418 | PyObject *resultobj = NULL; | |
5419 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5420 | int result; | |
5421 | PyObject * obj0 = 0 ; | |
5422 | char *kwnames[] = { | |
5423 | (char *) "self", NULL | |
5424 | }; | |
5425 | ||
5426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; | |
5427 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5428 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5429 | { | |
5430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5431 | result = (int)(arg1)->AutoCompPosStart(); | |
5432 | ||
5433 | wxPyEndAllowThreads(__tstate); | |
5434 | if (PyErr_Occurred()) SWIG_fail; | |
5435 | } | |
5436 | { | |
5437 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
5438 | } | |
5439 | return resultobj; | |
5440 | fail: | |
5441 | return NULL; | |
5442 | } | |
5443 | ||
5444 | ||
5445 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { | |
5446 | PyObject *resultobj = NULL; | |
5447 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5448 | PyObject * obj0 = 0 ; | |
5449 | char *kwnames[] = { | |
5450 | (char *) "self", NULL | |
5451 | }; | |
5452 | ||
5453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; | |
5454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5456 | { | |
5457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5458 | (arg1)->AutoCompComplete(); | |
5459 | ||
5460 | wxPyEndAllowThreads(__tstate); | |
5461 | if (PyErr_Occurred()) SWIG_fail; | |
5462 | } | |
5463 | Py_INCREF(Py_None); resultobj = Py_None; | |
5464 | return resultobj; | |
5465 | fail: | |
5466 | return NULL; | |
5467 | } | |
5468 | ||
5469 | ||
5470 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { | |
5471 | PyObject *resultobj = NULL; | |
5472 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5473 | wxString *arg2 = 0 ; | |
5474 | bool temp2 = false ; | |
5475 | PyObject * obj0 = 0 ; | |
5476 | PyObject * obj1 = 0 ; | |
5477 | char *kwnames[] = { | |
5478 | (char *) "self",(char *) "characterSet", NULL | |
5479 | }; | |
5480 | ||
5481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; | |
5482 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5483 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5484 | { | |
5485 | arg2 = wxString_in_helper(obj1); | |
5486 | if (arg2 == NULL) SWIG_fail; | |
5487 | temp2 = true; | |
5488 | } | |
5489 | { | |
5490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5491 | (arg1)->AutoCompStops((wxString const &)*arg2); | |
5492 | ||
5493 | wxPyEndAllowThreads(__tstate); | |
5494 | if (PyErr_Occurred()) SWIG_fail; | |
5495 | } | |
5496 | Py_INCREF(Py_None); resultobj = Py_None; | |
5497 | { | |
5498 | if (temp2) | |
5499 | delete arg2; | |
5500 | } | |
5501 | return resultobj; | |
5502 | fail: | |
5503 | { | |
5504 | if (temp2) | |
5505 | delete arg2; | |
5506 | } | |
5507 | return NULL; | |
5508 | } | |
5509 | ||
5510 | ||
5511 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
5512 | PyObject *resultobj = NULL; | |
5513 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5514 | int arg2 ; | |
5515 | PyObject * obj0 = 0 ; | |
5516 | PyObject * obj1 = 0 ; | |
5517 | char *kwnames[] = { | |
5518 | (char *) "self",(char *) "separatorCharacter", NULL | |
5519 | }; | |
5520 | ||
5521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; | |
5522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5524 | { | |
5525 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
5526 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5527 | } | |
5528 | { | |
5529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5530 | (arg1)->AutoCompSetSeparator(arg2); | |
5531 | ||
5532 | wxPyEndAllowThreads(__tstate); | |
5533 | if (PyErr_Occurred()) SWIG_fail; | |
5534 | } | |
5535 | Py_INCREF(Py_None); resultobj = Py_None; | |
5536 | return resultobj; | |
5537 | fail: | |
5538 | return NULL; | |
5539 | } | |
5540 | ||
5541 | ||
5542 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
5543 | PyObject *resultobj = NULL; | |
5544 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5545 | int result; | |
5546 | PyObject * obj0 = 0 ; | |
5547 | char *kwnames[] = { | |
5548 | (char *) "self", NULL | |
5549 | }; | |
5550 | ||
5551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; | |
5552 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5553 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5554 | { | |
5555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5556 | result = (int)(arg1)->AutoCompGetSeparator(); | |
5557 | ||
5558 | wxPyEndAllowThreads(__tstate); | |
5559 | if (PyErr_Occurred()) SWIG_fail; | |
5560 | } | |
5561 | { | |
5562 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
5563 | } | |
5564 | return resultobj; | |
5565 | fail: | |
5566 | return NULL; | |
5567 | } | |
5568 | ||
5569 | ||
5570 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { | |
5571 | PyObject *resultobj = NULL; | |
5572 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5573 | wxString *arg2 = 0 ; | |
5574 | bool temp2 = false ; | |
5575 | PyObject * obj0 = 0 ; | |
5576 | PyObject * obj1 = 0 ; | |
5577 | char *kwnames[] = { | |
5578 | (char *) "self",(char *) "text", NULL | |
5579 | }; | |
5580 | ||
5581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; | |
5582 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5583 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5584 | { | |
5585 | arg2 = wxString_in_helper(obj1); | |
5586 | if (arg2 == NULL) SWIG_fail; | |
5587 | temp2 = true; | |
5588 | } | |
5589 | { | |
5590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5591 | (arg1)->AutoCompSelect((wxString const &)*arg2); | |
5592 | ||
5593 | wxPyEndAllowThreads(__tstate); | |
5594 | if (PyErr_Occurred()) SWIG_fail; | |
5595 | } | |
5596 | Py_INCREF(Py_None); resultobj = Py_None; | |
5597 | { | |
5598 | if (temp2) | |
5599 | delete arg2; | |
5600 | } | |
5601 | return resultobj; | |
5602 | fail: | |
5603 | { | |
5604 | if (temp2) | |
5605 | delete arg2; | |
5606 | } | |
5607 | return NULL; | |
5608 | } | |
5609 | ||
5610 | ||
5611 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
5612 | PyObject *resultobj = NULL; | |
5613 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5614 | bool arg2 ; | |
5615 | PyObject * obj0 = 0 ; | |
5616 | PyObject * obj1 = 0 ; | |
5617 | char *kwnames[] = { | |
5618 | (char *) "self",(char *) "cancel", NULL | |
5619 | }; | |
5620 | ||
5621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; | |
5622 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5623 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5624 | { | |
5625 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
5626 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5627 | } | |
5628 | { | |
5629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5630 | (arg1)->AutoCompSetCancelAtStart(arg2); | |
5631 | ||
5632 | wxPyEndAllowThreads(__tstate); | |
5633 | if (PyErr_Occurred()) SWIG_fail; | |
5634 | } | |
5635 | Py_INCREF(Py_None); resultobj = Py_None; | |
5636 | return resultobj; | |
5637 | fail: | |
5638 | return NULL; | |
5639 | } | |
5640 | ||
5641 | ||
5642 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
5643 | PyObject *resultobj = NULL; | |
5644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5645 | bool result; | |
5646 | PyObject * obj0 = 0 ; | |
5647 | char *kwnames[] = { | |
5648 | (char *) "self", NULL | |
5649 | }; | |
5650 | ||
5651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; | |
5652 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5653 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5654 | { | |
5655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5656 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); | |
5657 | ||
5658 | wxPyEndAllowThreads(__tstate); | |
5659 | if (PyErr_Occurred()) SWIG_fail; | |
5660 | } | |
5661 | { | |
5662 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5663 | } | |
5664 | return resultobj; | |
5665 | fail: | |
5666 | return NULL; | |
5667 | } | |
5668 | ||
5669 | ||
5670 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { | |
5671 | PyObject *resultobj = NULL; | |
5672 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5673 | wxString *arg2 = 0 ; | |
5674 | bool temp2 = false ; | |
5675 | PyObject * obj0 = 0 ; | |
5676 | PyObject * obj1 = 0 ; | |
5677 | char *kwnames[] = { | |
5678 | (char *) "self",(char *) "characterSet", NULL | |
5679 | }; | |
5680 | ||
5681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; | |
5682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5684 | { | |
5685 | arg2 = wxString_in_helper(obj1); | |
5686 | if (arg2 == NULL) SWIG_fail; | |
5687 | temp2 = true; | |
5688 | } | |
5689 | { | |
5690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5691 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); | |
5692 | ||
5693 | wxPyEndAllowThreads(__tstate); | |
5694 | if (PyErr_Occurred()) SWIG_fail; | |
5695 | } | |
5696 | Py_INCREF(Py_None); resultobj = Py_None; | |
5697 | { | |
5698 | if (temp2) | |
5699 | delete arg2; | |
5700 | } | |
5701 | return resultobj; | |
5702 | fail: | |
5703 | { | |
5704 | if (temp2) | |
5705 | delete arg2; | |
5706 | } | |
5707 | return NULL; | |
5708 | } | |
5709 | ||
5710 | ||
5711 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { | |
5712 | PyObject *resultobj = NULL; | |
5713 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5714 | bool arg2 ; | |
5715 | PyObject * obj0 = 0 ; | |
5716 | PyObject * obj1 = 0 ; | |
5717 | char *kwnames[] = { | |
5718 | (char *) "self",(char *) "chooseSingle", NULL | |
5719 | }; | |
5720 | ||
5721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; | |
5722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5724 | { | |
5725 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
5726 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5727 | } | |
5728 | { | |
5729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5730 | (arg1)->AutoCompSetChooseSingle(arg2); | |
5731 | ||
5732 | wxPyEndAllowThreads(__tstate); | |
5733 | if (PyErr_Occurred()) SWIG_fail; | |
5734 | } | |
5735 | Py_INCREF(Py_None); resultobj = Py_None; | |
5736 | return resultobj; | |
5737 | fail: | |
5738 | return NULL; | |
5739 | } | |
5740 | ||
5741 | ||
5742 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { | |
5743 | PyObject *resultobj = NULL; | |
5744 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5745 | bool result; | |
5746 | PyObject * obj0 = 0 ; | |
5747 | char *kwnames[] = { | |
5748 | (char *) "self", NULL | |
5749 | }; | |
5750 | ||
5751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; | |
5752 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5753 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5754 | { | |
5755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5756 | result = (bool)(arg1)->AutoCompGetChooseSingle(); | |
5757 | ||
5758 | wxPyEndAllowThreads(__tstate); | |
5759 | if (PyErr_Occurred()) SWIG_fail; | |
5760 | } | |
5761 | { | |
5762 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5763 | } | |
5764 | return resultobj; | |
5765 | fail: | |
5766 | return NULL; | |
5767 | } | |
5768 | ||
5769 | ||
5770 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
5771 | PyObject *resultobj = NULL; | |
5772 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5773 | bool arg2 ; | |
5774 | PyObject * obj0 = 0 ; | |
5775 | PyObject * obj1 = 0 ; | |
5776 | char *kwnames[] = { | |
5777 | (char *) "self",(char *) "ignoreCase", NULL | |
5778 | }; | |
5779 | ||
5780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; | |
5781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5783 | { | |
5784 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
5785 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5786 | } | |
5787 | { | |
5788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5789 | (arg1)->AutoCompSetIgnoreCase(arg2); | |
5790 | ||
5791 | wxPyEndAllowThreads(__tstate); | |
5792 | if (PyErr_Occurred()) SWIG_fail; | |
5793 | } | |
5794 | Py_INCREF(Py_None); resultobj = Py_None; | |
5795 | return resultobj; | |
5796 | fail: | |
5797 | return NULL; | |
5798 | } | |
5799 | ||
5800 | ||
5801 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
5802 | PyObject *resultobj = NULL; | |
5803 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5804 | bool result; | |
5805 | PyObject * obj0 = 0 ; | |
5806 | char *kwnames[] = { | |
5807 | (char *) "self", NULL | |
5808 | }; | |
5809 | ||
5810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; | |
5811 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5812 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5813 | { | |
5814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5815 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); | |
5816 | ||
5817 | wxPyEndAllowThreads(__tstate); | |
5818 | if (PyErr_Occurred()) SWIG_fail; | |
5819 | } | |
5820 | { | |
5821 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5822 | } | |
5823 | return resultobj; | |
5824 | fail: | |
5825 | return NULL; | |
5826 | } | |
5827 | ||
5828 | ||
5829 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { | |
5830 | PyObject *resultobj = NULL; | |
5831 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5832 | int arg2 ; | |
5833 | wxString *arg3 = 0 ; | |
5834 | bool temp3 = false ; | |
5835 | PyObject * obj0 = 0 ; | |
5836 | PyObject * obj1 = 0 ; | |
5837 | PyObject * obj2 = 0 ; | |
5838 | char *kwnames[] = { | |
5839 | (char *) "self",(char *) "listType",(char *) "itemList", NULL | |
5840 | }; | |
5841 | ||
5842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5843 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5844 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5845 | { | |
5846 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
5847 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5848 | } | |
5849 | { | |
5850 | arg3 = wxString_in_helper(obj2); | |
5851 | if (arg3 == NULL) SWIG_fail; | |
5852 | temp3 = true; | |
5853 | } | |
5854 | { | |
5855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5856 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); | |
5857 | ||
5858 | wxPyEndAllowThreads(__tstate); | |
5859 | if (PyErr_Occurred()) SWIG_fail; | |
5860 | } | |
5861 | Py_INCREF(Py_None); resultobj = Py_None; | |
5862 | { | |
5863 | if (temp3) | |
5864 | delete arg3; | |
5865 | } | |
5866 | return resultobj; | |
5867 | fail: | |
5868 | { | |
5869 | if (temp3) | |
5870 | delete arg3; | |
5871 | } | |
5872 | return NULL; | |
5873 | } | |
5874 | ||
5875 | ||
5876 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { | |
5877 | PyObject *resultobj = NULL; | |
5878 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5879 | bool arg2 ; | |
5880 | PyObject * obj0 = 0 ; | |
5881 | PyObject * obj1 = 0 ; | |
5882 | char *kwnames[] = { | |
5883 | (char *) "self",(char *) "autoHide", NULL | |
5884 | }; | |
5885 | ||
5886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; | |
5887 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5888 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5889 | { | |
5890 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
5891 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5892 | } | |
5893 | { | |
5894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5895 | (arg1)->AutoCompSetAutoHide(arg2); | |
5896 | ||
5897 | wxPyEndAllowThreads(__tstate); | |
5898 | if (PyErr_Occurred()) SWIG_fail; | |
5899 | } | |
5900 | Py_INCREF(Py_None); resultobj = Py_None; | |
5901 | return resultobj; | |
5902 | fail: | |
5903 | return NULL; | |
5904 | } | |
5905 | ||
5906 | ||
5907 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { | |
5908 | PyObject *resultobj = NULL; | |
5909 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5910 | bool result; | |
5911 | PyObject * obj0 = 0 ; | |
5912 | char *kwnames[] = { | |
5913 | (char *) "self", NULL | |
5914 | }; | |
5915 | ||
5916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; | |
5917 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5918 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5919 | { | |
5920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5921 | result = (bool)(arg1)->AutoCompGetAutoHide(); | |
5922 | ||
5923 | wxPyEndAllowThreads(__tstate); | |
5924 | if (PyErr_Occurred()) SWIG_fail; | |
5925 | } | |
5926 | { | |
5927 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5928 | } | |
5929 | return resultobj; | |
5930 | fail: | |
5931 | return NULL; | |
5932 | } | |
5933 | ||
5934 | ||
5935 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { | |
5936 | PyObject *resultobj = NULL; | |
5937 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5938 | bool arg2 ; | |
5939 | PyObject * obj0 = 0 ; | |
5940 | PyObject * obj1 = 0 ; | |
5941 | char *kwnames[] = { | |
5942 | (char *) "self",(char *) "dropRestOfWord", NULL | |
5943 | }; | |
5944 | ||
5945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; | |
5946 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5947 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5948 | { | |
5949 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
5950 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5951 | } | |
5952 | { | |
5953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5954 | (arg1)->AutoCompSetDropRestOfWord(arg2); | |
5955 | ||
5956 | wxPyEndAllowThreads(__tstate); | |
5957 | if (PyErr_Occurred()) SWIG_fail; | |
5958 | } | |
5959 | Py_INCREF(Py_None); resultobj = Py_None; | |
5960 | return resultobj; | |
5961 | fail: | |
5962 | return NULL; | |
5963 | } | |
5964 | ||
5965 | ||
5966 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { | |
5967 | PyObject *resultobj = NULL; | |
5968 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5969 | bool result; | |
5970 | PyObject * obj0 = 0 ; | |
5971 | char *kwnames[] = { | |
5972 | (char *) "self", NULL | |
5973 | }; | |
5974 | ||
5975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; | |
5976 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5977 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5978 | { | |
5979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5980 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); | |
5981 | ||
5982 | wxPyEndAllowThreads(__tstate); | |
5983 | if (PyErr_Occurred()) SWIG_fail; | |
5984 | } | |
5985 | { | |
5986 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5987 | } | |
5988 | return resultobj; | |
5989 | fail: | |
5990 | return NULL; | |
5991 | } | |
5992 | ||
5993 | ||
5994 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
5995 | PyObject *resultobj = NULL; | |
5996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5997 | int arg2 ; | |
5998 | wxBitmap *arg3 = 0 ; | |
5999 | PyObject * obj0 = 0 ; | |
6000 | PyObject * obj1 = 0 ; | |
6001 | PyObject * obj2 = 0 ; | |
6002 | char *kwnames[] = { | |
6003 | (char *) "self",(char *) "type",(char *) "bmp", NULL | |
6004 | }; | |
6005 | ||
6006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6007 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6008 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6009 | { | |
6010 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6011 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6012 | } | |
6013 | { | |
6014 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6015 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6016 | if (arg3 == NULL) { | |
6017 | SWIG_null_ref("wxBitmap"); | |
6018 | } | |
6019 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6020 | } | |
6021 | { | |
6022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6023 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); | |
6024 | ||
6025 | wxPyEndAllowThreads(__tstate); | |
6026 | if (PyErr_Occurred()) SWIG_fail; | |
6027 | } | |
6028 | Py_INCREF(Py_None); resultobj = Py_None; | |
6029 | return resultobj; | |
6030 | fail: | |
6031 | return NULL; | |
6032 | } | |
6033 | ||
6034 | ||
6035 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { | |
6036 | PyObject *resultobj = NULL; | |
6037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6038 | PyObject * obj0 = 0 ; | |
6039 | char *kwnames[] = { | |
6040 | (char *) "self", NULL | |
6041 | }; | |
6042 | ||
6043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; | |
6044 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6045 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6046 | { | |
6047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6048 | (arg1)->ClearRegisteredImages(); | |
6049 | ||
6050 | wxPyEndAllowThreads(__tstate); | |
6051 | if (PyErr_Occurred()) SWIG_fail; | |
6052 | } | |
6053 | Py_INCREF(Py_None); resultobj = Py_None; | |
6054 | return resultobj; | |
6055 | fail: | |
6056 | return NULL; | |
6057 | } | |
6058 | ||
6059 | ||
6060 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
6061 | PyObject *resultobj = NULL; | |
6062 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6063 | int result; | |
6064 | PyObject * obj0 = 0 ; | |
6065 | char *kwnames[] = { | |
6066 | (char *) "self", NULL | |
6067 | }; | |
6068 | ||
6069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; | |
6070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6072 | { | |
6073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6074 | result = (int)(arg1)->AutoCompGetTypeSeparator(); | |
6075 | ||
6076 | wxPyEndAllowThreads(__tstate); | |
6077 | if (PyErr_Occurred()) SWIG_fail; | |
6078 | } | |
6079 | { | |
6080 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6081 | } | |
6082 | return resultobj; | |
6083 | fail: | |
6084 | return NULL; | |
6085 | } | |
6086 | ||
6087 | ||
6088 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { | |
6089 | PyObject *resultobj = NULL; | |
6090 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6091 | int arg2 ; | |
6092 | PyObject * obj0 = 0 ; | |
6093 | PyObject * obj1 = 0 ; | |
6094 | char *kwnames[] = { | |
6095 | (char *) "self",(char *) "separatorCharacter", NULL | |
6096 | }; | |
6097 | ||
6098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; | |
6099 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6100 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6101 | { | |
6102 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6103 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6104 | } | |
6105 | { | |
6106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6107 | (arg1)->AutoCompSetTypeSeparator(arg2); | |
6108 | ||
6109 | wxPyEndAllowThreads(__tstate); | |
6110 | if (PyErr_Occurred()) SWIG_fail; | |
6111 | } | |
6112 | Py_INCREF(Py_None); resultobj = Py_None; | |
6113 | return resultobj; | |
6114 | fail: | |
6115 | return NULL; | |
6116 | } | |
6117 | ||
6118 | ||
6119 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
6120 | PyObject *resultobj = NULL; | |
6121 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6122 | int arg2 ; | |
6123 | PyObject * obj0 = 0 ; | |
6124 | PyObject * obj1 = 0 ; | |
6125 | char *kwnames[] = { | |
6126 | (char *) "self",(char *) "indentSize", NULL | |
6127 | }; | |
6128 | ||
6129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; | |
6130 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6131 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6132 | { | |
6133 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6134 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6135 | } | |
6136 | { | |
6137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6138 | (arg1)->SetIndent(arg2); | |
6139 | ||
6140 | wxPyEndAllowThreads(__tstate); | |
6141 | if (PyErr_Occurred()) SWIG_fail; | |
6142 | } | |
6143 | Py_INCREF(Py_None); resultobj = Py_None; | |
6144 | return resultobj; | |
6145 | fail: | |
6146 | return NULL; | |
6147 | } | |
6148 | ||
6149 | ||
6150 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
6151 | PyObject *resultobj = NULL; | |
6152 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6153 | int result; | |
6154 | PyObject * obj0 = 0 ; | |
6155 | char *kwnames[] = { | |
6156 | (char *) "self", NULL | |
6157 | }; | |
6158 | ||
6159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
6160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6162 | { | |
6163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6164 | result = (int)(arg1)->GetIndent(); | |
6165 | ||
6166 | wxPyEndAllowThreads(__tstate); | |
6167 | if (PyErr_Occurred()) SWIG_fail; | |
6168 | } | |
6169 | { | |
6170 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6171 | } | |
6172 | return resultobj; | |
6173 | fail: | |
6174 | return NULL; | |
6175 | } | |
6176 | ||
6177 | ||
6178 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { | |
6179 | PyObject *resultobj = NULL; | |
6180 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6181 | bool arg2 ; | |
6182 | PyObject * obj0 = 0 ; | |
6183 | PyObject * obj1 = 0 ; | |
6184 | char *kwnames[] = { | |
6185 | (char *) "self",(char *) "useTabs", NULL | |
6186 | }; | |
6187 | ||
6188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; | |
6189 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6190 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6191 | { | |
6192 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
6193 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6194 | } | |
6195 | { | |
6196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6197 | (arg1)->SetUseTabs(arg2); | |
6198 | ||
6199 | wxPyEndAllowThreads(__tstate); | |
6200 | if (PyErr_Occurred()) SWIG_fail; | |
6201 | } | |
6202 | Py_INCREF(Py_None); resultobj = Py_None; | |
6203 | return resultobj; | |
6204 | fail: | |
6205 | return NULL; | |
6206 | } | |
6207 | ||
6208 | ||
6209 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { | |
6210 | PyObject *resultobj = NULL; | |
6211 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6212 | bool result; | |
6213 | PyObject * obj0 = 0 ; | |
6214 | char *kwnames[] = { | |
6215 | (char *) "self", NULL | |
6216 | }; | |
6217 | ||
6218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; | |
6219 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6220 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6221 | { | |
6222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6223 | result = (bool)(arg1)->GetUseTabs(); | |
6224 | ||
6225 | wxPyEndAllowThreads(__tstate); | |
6226 | if (PyErr_Occurred()) SWIG_fail; | |
6227 | } | |
6228 | { | |
6229 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6230 | } | |
6231 | return resultobj; | |
6232 | fail: | |
6233 | return NULL; | |
6234 | } | |
6235 | ||
6236 | ||
6237 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { | |
6238 | PyObject *resultobj = NULL; | |
6239 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6240 | int arg2 ; | |
6241 | int arg3 ; | |
6242 | PyObject * obj0 = 0 ; | |
6243 | PyObject * obj1 = 0 ; | |
6244 | PyObject * obj2 = 0 ; | |
6245 | char *kwnames[] = { | |
6246 | (char *) "self",(char *) "line",(char *) "indentSize", NULL | |
6247 | }; | |
6248 | ||
6249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6252 | { | |
6253 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6254 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6255 | } | |
6256 | { | |
6257 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
6258 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6259 | } | |
6260 | { | |
6261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6262 | (arg1)->SetLineIndentation(arg2,arg3); | |
6263 | ||
6264 | wxPyEndAllowThreads(__tstate); | |
6265 | if (PyErr_Occurred()) SWIG_fail; | |
6266 | } | |
6267 | Py_INCREF(Py_None); resultobj = Py_None; | |
6268 | return resultobj; | |
6269 | fail: | |
6270 | return NULL; | |
6271 | } | |
6272 | ||
6273 | ||
6274 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { | |
6275 | PyObject *resultobj = NULL; | |
6276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6277 | int arg2 ; | |
6278 | int result; | |
6279 | PyObject * obj0 = 0 ; | |
6280 | PyObject * obj1 = 0 ; | |
6281 | char *kwnames[] = { | |
6282 | (char *) "self",(char *) "line", NULL | |
6283 | }; | |
6284 | ||
6285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; | |
6286 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6287 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6288 | { | |
6289 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6290 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6291 | } | |
6292 | { | |
6293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6294 | result = (int)(arg1)->GetLineIndentation(arg2); | |
6295 | ||
6296 | wxPyEndAllowThreads(__tstate); | |
6297 | if (PyErr_Occurred()) SWIG_fail; | |
6298 | } | |
6299 | { | |
6300 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6301 | } | |
6302 | return resultobj; | |
6303 | fail: | |
6304 | return NULL; | |
6305 | } | |
6306 | ||
6307 | ||
6308 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
6309 | PyObject *resultobj = NULL; | |
6310 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6311 | int arg2 ; | |
6312 | int result; | |
6313 | PyObject * obj0 = 0 ; | |
6314 | PyObject * obj1 = 0 ; | |
6315 | char *kwnames[] = { | |
6316 | (char *) "self",(char *) "line", NULL | |
6317 | }; | |
6318 | ||
6319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; | |
6320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6322 | { | |
6323 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6324 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6325 | } | |
6326 | { | |
6327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6328 | result = (int)(arg1)->GetLineIndentPosition(arg2); | |
6329 | ||
6330 | wxPyEndAllowThreads(__tstate); | |
6331 | if (PyErr_Occurred()) SWIG_fail; | |
6332 | } | |
6333 | { | |
6334 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6335 | } | |
6336 | return resultobj; | |
6337 | fail: | |
6338 | return NULL; | |
6339 | } | |
6340 | ||
6341 | ||
6342 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
6343 | PyObject *resultobj = NULL; | |
6344 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6345 | int arg2 ; | |
6346 | int result; | |
6347 | PyObject * obj0 = 0 ; | |
6348 | PyObject * obj1 = 0 ; | |
6349 | char *kwnames[] = { | |
6350 | (char *) "self",(char *) "pos", NULL | |
6351 | }; | |
6352 | ||
6353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; | |
6354 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6355 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6356 | { | |
6357 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6358 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6359 | } | |
6360 | { | |
6361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6362 | result = (int)(arg1)->GetColumn(arg2); | |
6363 | ||
6364 | wxPyEndAllowThreads(__tstate); | |
6365 | if (PyErr_Occurred()) SWIG_fail; | |
6366 | } | |
6367 | { | |
6368 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6369 | } | |
6370 | return resultobj; | |
6371 | fail: | |
6372 | return NULL; | |
6373 | } | |
6374 | ||
6375 | ||
6376 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
6377 | PyObject *resultobj = NULL; | |
6378 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6379 | bool arg2 ; | |
6380 | PyObject * obj0 = 0 ; | |
6381 | PyObject * obj1 = 0 ; | |
6382 | char *kwnames[] = { | |
6383 | (char *) "self",(char *) "show", NULL | |
6384 | }; | |
6385 | ||
6386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
6387 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6388 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6389 | { | |
6390 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
6391 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6392 | } | |
6393 | { | |
6394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6395 | (arg1)->SetUseHorizontalScrollBar(arg2); | |
6396 | ||
6397 | wxPyEndAllowThreads(__tstate); | |
6398 | if (PyErr_Occurred()) SWIG_fail; | |
6399 | } | |
6400 | Py_INCREF(Py_None); resultobj = Py_None; | |
6401 | return resultobj; | |
6402 | fail: | |
6403 | return NULL; | |
6404 | } | |
6405 | ||
6406 | ||
6407 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
6408 | PyObject *resultobj = NULL; | |
6409 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6410 | bool result; | |
6411 | PyObject * obj0 = 0 ; | |
6412 | char *kwnames[] = { | |
6413 | (char *) "self", NULL | |
6414 | }; | |
6415 | ||
6416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; | |
6417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6419 | { | |
6420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6421 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); | |
6422 | ||
6423 | wxPyEndAllowThreads(__tstate); | |
6424 | if (PyErr_Occurred()) SWIG_fail; | |
6425 | } | |
6426 | { | |
6427 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6428 | } | |
6429 | return resultobj; | |
6430 | fail: | |
6431 | return NULL; | |
6432 | } | |
6433 | ||
6434 | ||
6435 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { | |
6436 | PyObject *resultobj = NULL; | |
6437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6438 | bool arg2 ; | |
6439 | PyObject * obj0 = 0 ; | |
6440 | PyObject * obj1 = 0 ; | |
6441 | char *kwnames[] = { | |
6442 | (char *) "self",(char *) "show", NULL | |
6443 | }; | |
6444 | ||
6445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; | |
6446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6448 | { | |
6449 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
6450 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6451 | } | |
6452 | { | |
6453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6454 | (arg1)->SetIndentationGuides(arg2); | |
6455 | ||
6456 | wxPyEndAllowThreads(__tstate); | |
6457 | if (PyErr_Occurred()) SWIG_fail; | |
6458 | } | |
6459 | Py_INCREF(Py_None); resultobj = Py_None; | |
6460 | return resultobj; | |
6461 | fail: | |
6462 | return NULL; | |
6463 | } | |
6464 | ||
6465 | ||
6466 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { | |
6467 | PyObject *resultobj = NULL; | |
6468 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6469 | bool result; | |
6470 | PyObject * obj0 = 0 ; | |
6471 | char *kwnames[] = { | |
6472 | (char *) "self", NULL | |
6473 | }; | |
6474 | ||
6475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; | |
6476 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6477 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6478 | { | |
6479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6480 | result = (bool)(arg1)->GetIndentationGuides(); | |
6481 | ||
6482 | wxPyEndAllowThreads(__tstate); | |
6483 | if (PyErr_Occurred()) SWIG_fail; | |
6484 | } | |
6485 | { | |
6486 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6487 | } | |
6488 | return resultobj; | |
6489 | fail: | |
6490 | return NULL; | |
6491 | } | |
6492 | ||
6493 | ||
6494 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { | |
6495 | PyObject *resultobj = NULL; | |
6496 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6497 | int arg2 ; | |
6498 | PyObject * obj0 = 0 ; | |
6499 | PyObject * obj1 = 0 ; | |
6500 | char *kwnames[] = { | |
6501 | (char *) "self",(char *) "column", NULL | |
6502 | }; | |
6503 | ||
6504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; | |
6505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6507 | { | |
6508 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6509 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6510 | } | |
6511 | { | |
6512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6513 | (arg1)->SetHighlightGuide(arg2); | |
6514 | ||
6515 | wxPyEndAllowThreads(__tstate); | |
6516 | if (PyErr_Occurred()) SWIG_fail; | |
6517 | } | |
6518 | Py_INCREF(Py_None); resultobj = Py_None; | |
6519 | return resultobj; | |
6520 | fail: | |
6521 | return NULL; | |
6522 | } | |
6523 | ||
6524 | ||
6525 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { | |
6526 | PyObject *resultobj = NULL; | |
6527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6528 | int result; | |
6529 | PyObject * obj0 = 0 ; | |
6530 | char *kwnames[] = { | |
6531 | (char *) "self", NULL | |
6532 | }; | |
6533 | ||
6534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; | |
6535 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6536 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6537 | { | |
6538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6539 | result = (int)(arg1)->GetHighlightGuide(); | |
6540 | ||
6541 | wxPyEndAllowThreads(__tstate); | |
6542 | if (PyErr_Occurred()) SWIG_fail; | |
6543 | } | |
6544 | { | |
6545 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6546 | } | |
6547 | return resultobj; | |
6548 | fail: | |
6549 | return NULL; | |
6550 | } | |
6551 | ||
6552 | ||
6553 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
6554 | PyObject *resultobj = NULL; | |
6555 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6556 | int arg2 ; | |
6557 | int result; | |
6558 | PyObject * obj0 = 0 ; | |
6559 | PyObject * obj1 = 0 ; | |
6560 | char *kwnames[] = { | |
6561 | (char *) "self",(char *) "line", NULL | |
6562 | }; | |
6563 | ||
6564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
6565 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6567 | { | |
6568 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6569 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6570 | } | |
6571 | { | |
6572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6573 | result = (int)(arg1)->GetLineEndPosition(arg2); | |
6574 | ||
6575 | wxPyEndAllowThreads(__tstate); | |
6576 | if (PyErr_Occurred()) SWIG_fail; | |
6577 | } | |
6578 | { | |
6579 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6580 | } | |
6581 | return resultobj; | |
6582 | fail: | |
6583 | return NULL; | |
6584 | } | |
6585 | ||
6586 | ||
6587 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { | |
6588 | PyObject *resultobj = NULL; | |
6589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6590 | int result; | |
6591 | PyObject * obj0 = 0 ; | |
6592 | char *kwnames[] = { | |
6593 | (char *) "self", NULL | |
6594 | }; | |
6595 | ||
6596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; | |
6597 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6598 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6599 | { | |
6600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6601 | result = (int)(arg1)->GetCodePage(); | |
6602 | ||
6603 | wxPyEndAllowThreads(__tstate); | |
6604 | if (PyErr_Occurred()) SWIG_fail; | |
6605 | } | |
6606 | { | |
6607 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6608 | } | |
6609 | return resultobj; | |
6610 | fail: | |
6611 | return NULL; | |
6612 | } | |
6613 | ||
6614 | ||
6615 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
6616 | PyObject *resultobj = NULL; | |
6617 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6618 | wxColour result; | |
6619 | PyObject * obj0 = 0 ; | |
6620 | char *kwnames[] = { | |
6621 | (char *) "self", NULL | |
6622 | }; | |
6623 | ||
6624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; | |
6625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6627 | { | |
6628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6629 | result = (arg1)->GetCaretForeground(); | |
6630 | ||
6631 | wxPyEndAllowThreads(__tstate); | |
6632 | if (PyErr_Occurred()) SWIG_fail; | |
6633 | } | |
6634 | { | |
6635 | wxColour * resultptr; | |
6636 | resultptr = new wxColour(static_cast<wxColour & >(result)); | |
6637 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
6638 | } | |
6639 | return resultobj; | |
6640 | fail: | |
6641 | return NULL; | |
6642 | } | |
6643 | ||
6644 | ||
6645 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { | |
6646 | PyObject *resultobj = NULL; | |
6647 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6648 | bool result; | |
6649 | PyObject * obj0 = 0 ; | |
6650 | char *kwnames[] = { | |
6651 | (char *) "self", NULL | |
6652 | }; | |
6653 | ||
6654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; | |
6655 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6656 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6657 | { | |
6658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6659 | result = (bool)(arg1)->GetReadOnly(); | |
6660 | ||
6661 | wxPyEndAllowThreads(__tstate); | |
6662 | if (PyErr_Occurred()) SWIG_fail; | |
6663 | } | |
6664 | { | |
6665 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6666 | } | |
6667 | return resultobj; | |
6668 | fail: | |
6669 | return NULL; | |
6670 | } | |
6671 | ||
6672 | ||
6673 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { | |
6674 | PyObject *resultobj = NULL; | |
6675 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6676 | int arg2 ; | |
6677 | PyObject * obj0 = 0 ; | |
6678 | PyObject * obj1 = 0 ; | |
6679 | char *kwnames[] = { | |
6680 | (char *) "self",(char *) "pos", NULL | |
6681 | }; | |
6682 | ||
6683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; | |
6684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6686 | { | |
6687 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6688 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6689 | } | |
6690 | { | |
6691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6692 | (arg1)->SetCurrentPos(arg2); | |
6693 | ||
6694 | wxPyEndAllowThreads(__tstate); | |
6695 | if (PyErr_Occurred()) SWIG_fail; | |
6696 | } | |
6697 | Py_INCREF(Py_None); resultobj = Py_None; | |
6698 | return resultobj; | |
6699 | fail: | |
6700 | return NULL; | |
6701 | } | |
6702 | ||
6703 | ||
6704 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
6705 | PyObject *resultobj = NULL; | |
6706 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6707 | int arg2 ; | |
6708 | PyObject * obj0 = 0 ; | |
6709 | PyObject * obj1 = 0 ; | |
6710 | char *kwnames[] = { | |
6711 | (char *) "self",(char *) "pos", NULL | |
6712 | }; | |
6713 | ||
6714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; | |
6715 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6716 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6717 | { | |
6718 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6719 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6720 | } | |
6721 | { | |
6722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6723 | (arg1)->SetSelectionStart(arg2); | |
6724 | ||
6725 | wxPyEndAllowThreads(__tstate); | |
6726 | if (PyErr_Occurred()) SWIG_fail; | |
6727 | } | |
6728 | Py_INCREF(Py_None); resultobj = Py_None; | |
6729 | return resultobj; | |
6730 | fail: | |
6731 | return NULL; | |
6732 | } | |
6733 | ||
6734 | ||
6735 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
6736 | PyObject *resultobj = NULL; | |
6737 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6738 | int result; | |
6739 | PyObject * obj0 = 0 ; | |
6740 | char *kwnames[] = { | |
6741 | (char *) "self", NULL | |
6742 | }; | |
6743 | ||
6744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; | |
6745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6747 | { | |
6748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6749 | result = (int)(arg1)->GetSelectionStart(); | |
6750 | ||
6751 | wxPyEndAllowThreads(__tstate); | |
6752 | if (PyErr_Occurred()) SWIG_fail; | |
6753 | } | |
6754 | { | |
6755 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6756 | } | |
6757 | return resultobj; | |
6758 | fail: | |
6759 | return NULL; | |
6760 | } | |
6761 | ||
6762 | ||
6763 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
6764 | PyObject *resultobj = NULL; | |
6765 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6766 | int arg2 ; | |
6767 | PyObject * obj0 = 0 ; | |
6768 | PyObject * obj1 = 0 ; | |
6769 | char *kwnames[] = { | |
6770 | (char *) "self",(char *) "pos", NULL | |
6771 | }; | |
6772 | ||
6773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; | |
6774 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6775 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6776 | { | |
6777 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6778 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6779 | } | |
6780 | { | |
6781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6782 | (arg1)->SetSelectionEnd(arg2); | |
6783 | ||
6784 | wxPyEndAllowThreads(__tstate); | |
6785 | if (PyErr_Occurred()) SWIG_fail; | |
6786 | } | |
6787 | Py_INCREF(Py_None); resultobj = Py_None; | |
6788 | return resultobj; | |
6789 | fail: | |
6790 | return NULL; | |
6791 | } | |
6792 | ||
6793 | ||
6794 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
6795 | PyObject *resultobj = NULL; | |
6796 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6797 | int result; | |
6798 | PyObject * obj0 = 0 ; | |
6799 | char *kwnames[] = { | |
6800 | (char *) "self", NULL | |
6801 | }; | |
6802 | ||
6803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; | |
6804 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6806 | { | |
6807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6808 | result = (int)(arg1)->GetSelectionEnd(); | |
6809 | ||
6810 | wxPyEndAllowThreads(__tstate); | |
6811 | if (PyErr_Occurred()) SWIG_fail; | |
6812 | } | |
6813 | { | |
6814 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6815 | } | |
6816 | return resultobj; | |
6817 | fail: | |
6818 | return NULL; | |
6819 | } | |
6820 | ||
6821 | ||
6822 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { | |
6823 | PyObject *resultobj = NULL; | |
6824 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6825 | int arg2 ; | |
6826 | PyObject * obj0 = 0 ; | |
6827 | PyObject * obj1 = 0 ; | |
6828 | char *kwnames[] = { | |
6829 | (char *) "self",(char *) "magnification", NULL | |
6830 | }; | |
6831 | ||
6832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; | |
6833 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6834 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6835 | { | |
6836 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6837 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6838 | } | |
6839 | { | |
6840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6841 | (arg1)->SetPrintMagnification(arg2); | |
6842 | ||
6843 | wxPyEndAllowThreads(__tstate); | |
6844 | if (PyErr_Occurred()) SWIG_fail; | |
6845 | } | |
6846 | Py_INCREF(Py_None); resultobj = Py_None; | |
6847 | return resultobj; | |
6848 | fail: | |
6849 | return NULL; | |
6850 | } | |
6851 | ||
6852 | ||
6853 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { | |
6854 | PyObject *resultobj = NULL; | |
6855 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6856 | int result; | |
6857 | PyObject * obj0 = 0 ; | |
6858 | char *kwnames[] = { | |
6859 | (char *) "self", NULL | |
6860 | }; | |
6861 | ||
6862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; | |
6863 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6864 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6865 | { | |
6866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6867 | result = (int)(arg1)->GetPrintMagnification(); | |
6868 | ||
6869 | wxPyEndAllowThreads(__tstate); | |
6870 | if (PyErr_Occurred()) SWIG_fail; | |
6871 | } | |
6872 | { | |
6873 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6874 | } | |
6875 | return resultobj; | |
6876 | fail: | |
6877 | return NULL; | |
6878 | } | |
6879 | ||
6880 | ||
6881 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
6882 | PyObject *resultobj = NULL; | |
6883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6884 | int arg2 ; | |
6885 | PyObject * obj0 = 0 ; | |
6886 | PyObject * obj1 = 0 ; | |
6887 | char *kwnames[] = { | |
6888 | (char *) "self",(char *) "mode", NULL | |
6889 | }; | |
6890 | ||
6891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; | |
6892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6894 | { | |
6895 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6896 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6897 | } | |
6898 | { | |
6899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6900 | (arg1)->SetPrintColourMode(arg2); | |
6901 | ||
6902 | wxPyEndAllowThreads(__tstate); | |
6903 | if (PyErr_Occurred()) SWIG_fail; | |
6904 | } | |
6905 | Py_INCREF(Py_None); resultobj = Py_None; | |
6906 | return resultobj; | |
6907 | fail: | |
6908 | return NULL; | |
6909 | } | |
6910 | ||
6911 | ||
6912 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
6913 | PyObject *resultobj = NULL; | |
6914 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6915 | int result; | |
6916 | PyObject * obj0 = 0 ; | |
6917 | char *kwnames[] = { | |
6918 | (char *) "self", NULL | |
6919 | }; | |
6920 | ||
6921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; | |
6922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6924 | { | |
6925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6926 | result = (int)(arg1)->GetPrintColourMode(); | |
6927 | ||
6928 | wxPyEndAllowThreads(__tstate); | |
6929 | if (PyErr_Occurred()) SWIG_fail; | |
6930 | } | |
6931 | { | |
6932 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6933 | } | |
6934 | return resultobj; | |
6935 | fail: | |
6936 | return NULL; | |
6937 | } | |
6938 | ||
6939 | ||
6940 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { | |
6941 | PyObject *resultobj = NULL; | |
6942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6943 | int arg2 ; | |
6944 | int arg3 ; | |
6945 | wxString *arg4 = 0 ; | |
6946 | int arg5 = (int) 0 ; | |
6947 | int result; | |
6948 | bool temp4 = false ; | |
6949 | PyObject * obj0 = 0 ; | |
6950 | PyObject * obj1 = 0 ; | |
6951 | PyObject * obj2 = 0 ; | |
6952 | PyObject * obj3 = 0 ; | |
6953 | PyObject * obj4 = 0 ; | |
6954 | char *kwnames[] = { | |
6955 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL | |
6956 | }; | |
6957 | ||
6958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
6959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6961 | { | |
6962 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
6963 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6964 | } | |
6965 | { | |
6966 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
6967 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6968 | } | |
6969 | { | |
6970 | arg4 = wxString_in_helper(obj3); | |
6971 | if (arg4 == NULL) SWIG_fail; | |
6972 | temp4 = true; | |
6973 | } | |
6974 | if (obj4) { | |
6975 | { | |
6976 | arg5 = static_cast<int >(SWIG_As_int(obj4)); | |
6977 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6978 | } | |
6979 | } | |
6980 | { | |
6981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6982 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); | |
6983 | ||
6984 | wxPyEndAllowThreads(__tstate); | |
6985 | if (PyErr_Occurred()) SWIG_fail; | |
6986 | } | |
6987 | { | |
6988 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
6989 | } | |
6990 | { | |
6991 | if (temp4) | |
6992 | delete arg4; | |
6993 | } | |
6994 | return resultobj; | |
6995 | fail: | |
6996 | { | |
6997 | if (temp4) | |
6998 | delete arg4; | |
6999 | } | |
7000 | return NULL; | |
7001 | } | |
7002 | ||
7003 | ||
7004 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { | |
7005 | PyObject *resultobj = NULL; | |
7006 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7007 | bool arg2 ; | |
7008 | int arg3 ; | |
7009 | int arg4 ; | |
7010 | wxDC *arg5 = (wxDC *) 0 ; | |
7011 | wxDC *arg6 = (wxDC *) 0 ; | |
7012 | wxRect arg7 ; | |
7013 | wxRect arg8 ; | |
7014 | int result; | |
7015 | PyObject * obj0 = 0 ; | |
7016 | PyObject * obj1 = 0 ; | |
7017 | PyObject * obj2 = 0 ; | |
7018 | PyObject * obj3 = 0 ; | |
7019 | PyObject * obj4 = 0 ; | |
7020 | PyObject * obj5 = 0 ; | |
7021 | PyObject * obj6 = 0 ; | |
7022 | PyObject * obj7 = 0 ; | |
7023 | char *kwnames[] = { | |
7024 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL | |
7025 | }; | |
7026 | ||
7027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
7028 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7029 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7030 | { | |
7031 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
7032 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7033 | } | |
7034 | { | |
7035 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
7036 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7037 | } | |
7038 | { | |
7039 | arg4 = static_cast<int >(SWIG_As_int(obj3)); | |
7040 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7041 | } | |
7042 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
7043 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7044 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
7045 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7046 | { | |
7047 | wxRect * argp; | |
7048 | SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
7049 | if (SWIG_arg_fail(7)) SWIG_fail; | |
7050 | if (argp == NULL) { | |
7051 | SWIG_null_ref("wxRect"); | |
7052 | } | |
7053 | if (SWIG_arg_fail(7)) SWIG_fail; | |
7054 | arg7 = *argp; | |
7055 | } | |
7056 | { | |
7057 | wxRect * argp; | |
7058 | SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
7059 | if (SWIG_arg_fail(8)) SWIG_fail; | |
7060 | if (argp == NULL) { | |
7061 | SWIG_null_ref("wxRect"); | |
7062 | } | |
7063 | if (SWIG_arg_fail(8)) SWIG_fail; | |
7064 | arg8 = *argp; | |
7065 | } | |
7066 | { | |
7067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7068 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
7069 | ||
7070 | wxPyEndAllowThreads(__tstate); | |
7071 | if (PyErr_Occurred()) SWIG_fail; | |
7072 | } | |
7073 | { | |
7074 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7075 | } | |
7076 | return resultobj; | |
7077 | fail: | |
7078 | return NULL; | |
7079 | } | |
7080 | ||
7081 | ||
7082 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
7083 | PyObject *resultobj = NULL; | |
7084 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7085 | int result; | |
7086 | PyObject * obj0 = 0 ; | |
7087 | char *kwnames[] = { | |
7088 | (char *) "self", NULL | |
7089 | }; | |
7090 | ||
7091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
7092 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7093 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7094 | { | |
7095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7096 | result = (int)(arg1)->GetFirstVisibleLine(); | |
7097 | ||
7098 | wxPyEndAllowThreads(__tstate); | |
7099 | if (PyErr_Occurred()) SWIG_fail; | |
7100 | } | |
7101 | { | |
7102 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7103 | } | |
7104 | return resultobj; | |
7105 | fail: | |
7106 | return NULL; | |
7107 | } | |
7108 | ||
7109 | ||
7110 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
7111 | PyObject *resultobj = NULL; | |
7112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7113 | int arg2 ; | |
7114 | wxString result; | |
7115 | PyObject * obj0 = 0 ; | |
7116 | PyObject * obj1 = 0 ; | |
7117 | char *kwnames[] = { | |
7118 | (char *) "self",(char *) "line", NULL | |
7119 | }; | |
7120 | ||
7121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; | |
7122 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7123 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7124 | { | |
7125 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7126 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7127 | } | |
7128 | { | |
7129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7130 | result = (arg1)->GetLine(arg2); | |
7131 | ||
7132 | wxPyEndAllowThreads(__tstate); | |
7133 | if (PyErr_Occurred()) SWIG_fail; | |
7134 | } | |
7135 | { | |
7136 | #if wxUSE_UNICODE | |
7137 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7138 | #else | |
7139 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7140 | #endif | |
7141 | } | |
7142 | return resultobj; | |
7143 | fail: | |
7144 | return NULL; | |
7145 | } | |
7146 | ||
7147 | ||
7148 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { | |
7149 | PyObject *resultobj = NULL; | |
7150 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7151 | int result; | |
7152 | PyObject * obj0 = 0 ; | |
7153 | char *kwnames[] = { | |
7154 | (char *) "self", NULL | |
7155 | }; | |
7156 | ||
7157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; | |
7158 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7159 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7160 | { | |
7161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7162 | result = (int)(arg1)->GetLineCount(); | |
7163 | ||
7164 | wxPyEndAllowThreads(__tstate); | |
7165 | if (PyErr_Occurred()) SWIG_fail; | |
7166 | } | |
7167 | { | |
7168 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7169 | } | |
7170 | return resultobj; | |
7171 | fail: | |
7172 | return NULL; | |
7173 | } | |
7174 | ||
7175 | ||
7176 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
7177 | PyObject *resultobj = NULL; | |
7178 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7179 | int arg2 ; | |
7180 | PyObject * obj0 = 0 ; | |
7181 | PyObject * obj1 = 0 ; | |
7182 | char *kwnames[] = { | |
7183 | (char *) "self",(char *) "pixelWidth", NULL | |
7184 | }; | |
7185 | ||
7186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; | |
7187 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7188 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7189 | { | |
7190 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7191 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7192 | } | |
7193 | { | |
7194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7195 | (arg1)->SetMarginLeft(arg2); | |
7196 | ||
7197 | wxPyEndAllowThreads(__tstate); | |
7198 | if (PyErr_Occurred()) SWIG_fail; | |
7199 | } | |
7200 | Py_INCREF(Py_None); resultobj = Py_None; | |
7201 | return resultobj; | |
7202 | fail: | |
7203 | return NULL; | |
7204 | } | |
7205 | ||
7206 | ||
7207 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
7208 | PyObject *resultobj = NULL; | |
7209 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7210 | int result; | |
7211 | PyObject * obj0 = 0 ; | |
7212 | char *kwnames[] = { | |
7213 | (char *) "self", NULL | |
7214 | }; | |
7215 | ||
7216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; | |
7217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7219 | { | |
7220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7221 | result = (int)(arg1)->GetMarginLeft(); | |
7222 | ||
7223 | wxPyEndAllowThreads(__tstate); | |
7224 | if (PyErr_Occurred()) SWIG_fail; | |
7225 | } | |
7226 | { | |
7227 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7228 | } | |
7229 | return resultobj; | |
7230 | fail: | |
7231 | return NULL; | |
7232 | } | |
7233 | ||
7234 | ||
7235 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
7236 | PyObject *resultobj = NULL; | |
7237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7238 | int arg2 ; | |
7239 | PyObject * obj0 = 0 ; | |
7240 | PyObject * obj1 = 0 ; | |
7241 | char *kwnames[] = { | |
7242 | (char *) "self",(char *) "pixelWidth", NULL | |
7243 | }; | |
7244 | ||
7245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; | |
7246 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7247 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7248 | { | |
7249 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7250 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7251 | } | |
7252 | { | |
7253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7254 | (arg1)->SetMarginRight(arg2); | |
7255 | ||
7256 | wxPyEndAllowThreads(__tstate); | |
7257 | if (PyErr_Occurred()) SWIG_fail; | |
7258 | } | |
7259 | Py_INCREF(Py_None); resultobj = Py_None; | |
7260 | return resultobj; | |
7261 | fail: | |
7262 | return NULL; | |
7263 | } | |
7264 | ||
7265 | ||
7266 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
7267 | PyObject *resultobj = NULL; | |
7268 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7269 | int result; | |
7270 | PyObject * obj0 = 0 ; | |
7271 | char *kwnames[] = { | |
7272 | (char *) "self", NULL | |
7273 | }; | |
7274 | ||
7275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; | |
7276 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7277 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7278 | { | |
7279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7280 | result = (int)(arg1)->GetMarginRight(); | |
7281 | ||
7282 | wxPyEndAllowThreads(__tstate); | |
7283 | if (PyErr_Occurred()) SWIG_fail; | |
7284 | } | |
7285 | { | |
7286 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7287 | } | |
7288 | return resultobj; | |
7289 | fail: | |
7290 | return NULL; | |
7291 | } | |
7292 | ||
7293 | ||
7294 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { | |
7295 | PyObject *resultobj = NULL; | |
7296 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7297 | bool result; | |
7298 | PyObject * obj0 = 0 ; | |
7299 | char *kwnames[] = { | |
7300 | (char *) "self", NULL | |
7301 | }; | |
7302 | ||
7303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; | |
7304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7306 | { | |
7307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7308 | result = (bool)(arg1)->GetModify(); | |
7309 | ||
7310 | wxPyEndAllowThreads(__tstate); | |
7311 | if (PyErr_Occurred()) SWIG_fail; | |
7312 | } | |
7313 | { | |
7314 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7315 | } | |
7316 | return resultobj; | |
7317 | fail: | |
7318 | return NULL; | |
7319 | } | |
7320 | ||
7321 | ||
7322 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
7323 | PyObject *resultobj = NULL; | |
7324 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7325 | int arg2 ; | |
7326 | int arg3 ; | |
7327 | PyObject * obj0 = 0 ; | |
7328 | PyObject * obj1 = 0 ; | |
7329 | PyObject * obj2 = 0 ; | |
7330 | char *kwnames[] = { | |
7331 | (char *) "self",(char *) "start",(char *) "end", NULL | |
7332 | }; | |
7333 | ||
7334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7335 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7336 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7337 | { | |
7338 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7339 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7340 | } | |
7341 | { | |
7342 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
7343 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7344 | } | |
7345 | { | |
7346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7347 | (arg1)->SetSelection(arg2,arg3); | |
7348 | ||
7349 | wxPyEndAllowThreads(__tstate); | |
7350 | if (PyErr_Occurred()) SWIG_fail; | |
7351 | } | |
7352 | Py_INCREF(Py_None); resultobj = Py_None; | |
7353 | return resultobj; | |
7354 | fail: | |
7355 | return NULL; | |
7356 | } | |
7357 | ||
7358 | ||
7359 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { | |
7360 | PyObject *resultobj = NULL; | |
7361 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7362 | wxString result; | |
7363 | PyObject * obj0 = 0 ; | |
7364 | char *kwnames[] = { | |
7365 | (char *) "self", NULL | |
7366 | }; | |
7367 | ||
7368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; | |
7369 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7370 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7371 | { | |
7372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7373 | result = (arg1)->GetSelectedText(); | |
7374 | ||
7375 | wxPyEndAllowThreads(__tstate); | |
7376 | if (PyErr_Occurred()) SWIG_fail; | |
7377 | } | |
7378 | { | |
7379 | #if wxUSE_UNICODE | |
7380 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7381 | #else | |
7382 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7383 | #endif | |
7384 | } | |
7385 | return resultobj; | |
7386 | fail: | |
7387 | return NULL; | |
7388 | } | |
7389 | ||
7390 | ||
7391 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { | |
7392 | PyObject *resultobj = NULL; | |
7393 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7394 | int arg2 ; | |
7395 | int arg3 ; | |
7396 | wxString result; | |
7397 | PyObject * obj0 = 0 ; | |
7398 | PyObject * obj1 = 0 ; | |
7399 | PyObject * obj2 = 0 ; | |
7400 | char *kwnames[] = { | |
7401 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
7402 | }; | |
7403 | ||
7404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7405 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7406 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7407 | { | |
7408 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7409 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7410 | } | |
7411 | { | |
7412 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
7413 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7414 | } | |
7415 | { | |
7416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7417 | result = (arg1)->GetTextRange(arg2,arg3); | |
7418 | ||
7419 | wxPyEndAllowThreads(__tstate); | |
7420 | if (PyErr_Occurred()) SWIG_fail; | |
7421 | } | |
7422 | { | |
7423 | #if wxUSE_UNICODE | |
7424 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7425 | #else | |
7426 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7427 | #endif | |
7428 | } | |
7429 | return resultobj; | |
7430 | fail: | |
7431 | return NULL; | |
7432 | } | |
7433 | ||
7434 | ||
7435 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
7436 | PyObject *resultobj = NULL; | |
7437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7438 | bool arg2 ; | |
7439 | PyObject * obj0 = 0 ; | |
7440 | PyObject * obj1 = 0 ; | |
7441 | char *kwnames[] = { | |
7442 | (char *) "self",(char *) "normal", NULL | |
7443 | }; | |
7444 | ||
7445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; | |
7446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7448 | { | |
7449 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
7450 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7451 | } | |
7452 | { | |
7453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7454 | (arg1)->HideSelection(arg2); | |
7455 | ||
7456 | wxPyEndAllowThreads(__tstate); | |
7457 | if (PyErr_Occurred()) SWIG_fail; | |
7458 | } | |
7459 | Py_INCREF(Py_None); resultobj = Py_None; | |
7460 | return resultobj; | |
7461 | fail: | |
7462 | return NULL; | |
7463 | } | |
7464 | ||
7465 | ||
7466 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
7467 | PyObject *resultobj = NULL; | |
7468 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7469 | int arg2 ; | |
7470 | int result; | |
7471 | PyObject * obj0 = 0 ; | |
7472 | PyObject * obj1 = 0 ; | |
7473 | char *kwnames[] = { | |
7474 | (char *) "self",(char *) "pos", NULL | |
7475 | }; | |
7476 | ||
7477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; | |
7478 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7479 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7480 | { | |
7481 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7482 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7483 | } | |
7484 | { | |
7485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7486 | result = (int)(arg1)->LineFromPosition(arg2); | |
7487 | ||
7488 | wxPyEndAllowThreads(__tstate); | |
7489 | if (PyErr_Occurred()) SWIG_fail; | |
7490 | } | |
7491 | { | |
7492 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7493 | } | |
7494 | return resultobj; | |
7495 | fail: | |
7496 | return NULL; | |
7497 | } | |
7498 | ||
7499 | ||
7500 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
7501 | PyObject *resultobj = NULL; | |
7502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7503 | int arg2 ; | |
7504 | int result; | |
7505 | PyObject * obj0 = 0 ; | |
7506 | PyObject * obj1 = 0 ; | |
7507 | char *kwnames[] = { | |
7508 | (char *) "self",(char *) "line", NULL | |
7509 | }; | |
7510 | ||
7511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; | |
7512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7514 | { | |
7515 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7516 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7517 | } | |
7518 | { | |
7519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7520 | result = (int)(arg1)->PositionFromLine(arg2); | |
7521 | ||
7522 | wxPyEndAllowThreads(__tstate); | |
7523 | if (PyErr_Occurred()) SWIG_fail; | |
7524 | } | |
7525 | { | |
7526 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7527 | } | |
7528 | return resultobj; | |
7529 | fail: | |
7530 | return NULL; | |
7531 | } | |
7532 | ||
7533 | ||
7534 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { | |
7535 | PyObject *resultobj = NULL; | |
7536 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7537 | int arg2 ; | |
7538 | int arg3 ; | |
7539 | PyObject * obj0 = 0 ; | |
7540 | PyObject * obj1 = 0 ; | |
7541 | PyObject * obj2 = 0 ; | |
7542 | char *kwnames[] = { | |
7543 | (char *) "self",(char *) "columns",(char *) "lines", NULL | |
7544 | }; | |
7545 | ||
7546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7549 | { | |
7550 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
7551 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7552 | } | |
7553 | { | |
7554 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
7555 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7556 | } | |
7557 | { | |
7558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7559 | (arg1)->LineScroll(arg2,arg3); | |
7560 | ||
7561 | wxPyEndAllowThreads(__tstate); | |
7562 | if (PyErr_Occurred()) SWIG_fail; | |
7563 | } | |
7564 | Py_INCREF(Py_None); resultobj = Py_None; | |
7565 | return resultobj; | |
7566 | fail: | |
7567 | return NULL; | |
7568 | } | |
7569 | ||
7570 | ||
7571 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
7572 | PyObject *resultobj = NULL; | |
7573 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7574 | PyObject * obj0 = 0 ; | |
7575 | char *kwnames[] = { | |
7576 | (char *) "self", NULL | |
7577 | }; | |
7578 | ||
7579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; | |
7580 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7581 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7582 | { | |
7583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7584 | (arg1)->EnsureCaretVisible(); | |
7585 | ||
7586 | wxPyEndAllowThreads(__tstate); | |
7587 | if (PyErr_Occurred()) SWIG_fail; | |
7588 | } | |
7589 | Py_INCREF(Py_None); resultobj = Py_None; | |
7590 | return resultobj; | |
7591 | fail: | |
7592 | return NULL; | |
7593 | } | |
7594 | ||
7595 | ||
7596 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
7597 | PyObject *resultobj = NULL; | |
7598 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7599 | wxString *arg2 = 0 ; | |
7600 | bool temp2 = false ; | |
7601 | PyObject * obj0 = 0 ; | |
7602 | PyObject * obj1 = 0 ; | |
7603 | char *kwnames[] = { | |
7604 | (char *) "self",(char *) "text", NULL | |
7605 | }; | |
7606 | ||
7607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; | |
7608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7610 | { | |
7611 | arg2 = wxString_in_helper(obj1); | |
7612 | if (arg2 == NULL) SWIG_fail; | |
7613 | temp2 = true; | |
7614 | } | |
7615 | { | |
7616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7617 | (arg1)->ReplaceSelection((wxString const &)*arg2); | |
7618 | ||
7619 | wxPyEndAllowThreads(__tstate); | |
7620 | if (PyErr_Occurred()) SWIG_fail; | |
7621 | } | |
7622 | Py_INCREF(Py_None); resultobj = Py_None; | |
7623 | { | |
7624 | if (temp2) | |
7625 | delete arg2; | |
7626 | } | |
7627 | return resultobj; | |
7628 | fail: | |
7629 | { | |
7630 | if (temp2) | |
7631 | delete arg2; | |
7632 | } | |
7633 | return NULL; | |
7634 | } | |
7635 | ||
7636 | ||
7637 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { | |
7638 | PyObject *resultobj = NULL; | |
7639 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7640 | bool arg2 ; | |
7641 | PyObject * obj0 = 0 ; | |
7642 | PyObject * obj1 = 0 ; | |
7643 | char *kwnames[] = { | |
7644 | (char *) "self",(char *) "readOnly", NULL | |
7645 | }; | |
7646 | ||
7647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; | |
7648 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7649 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7650 | { | |
7651 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
7652 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7653 | } | |
7654 | { | |
7655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7656 | (arg1)->SetReadOnly(arg2); | |
7657 | ||
7658 | wxPyEndAllowThreads(__tstate); | |
7659 | if (PyErr_Occurred()) SWIG_fail; | |
7660 | } | |
7661 | Py_INCREF(Py_None); resultobj = Py_None; | |
7662 | return resultobj; | |
7663 | fail: | |
7664 | return NULL; | |
7665 | } | |
7666 | ||
7667 | ||
7668 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { | |
7669 | PyObject *resultobj = NULL; | |
7670 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7671 | bool result; | |
7672 | PyObject * obj0 = 0 ; | |
7673 | char *kwnames[] = { | |
7674 | (char *) "self", NULL | |
7675 | }; | |
7676 | ||
7677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; | |
7678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7680 | { | |
7681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7682 | result = (bool)(arg1)->CanPaste(); | |
7683 | ||
7684 | wxPyEndAllowThreads(__tstate); | |
7685 | if (PyErr_Occurred()) SWIG_fail; | |
7686 | } | |
7687 | { | |
7688 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7689 | } | |
7690 | return resultobj; | |
7691 | fail: | |
7692 | return NULL; | |
7693 | } | |
7694 | ||
7695 | ||
7696 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { | |
7697 | PyObject *resultobj = NULL; | |
7698 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7699 | bool result; | |
7700 | PyObject * obj0 = 0 ; | |
7701 | char *kwnames[] = { | |
7702 | (char *) "self", NULL | |
7703 | }; | |
7704 | ||
7705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; | |
7706 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7707 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7708 | { | |
7709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7710 | result = (bool)(arg1)->CanUndo(); | |
7711 | ||
7712 | wxPyEndAllowThreads(__tstate); | |
7713 | if (PyErr_Occurred()) SWIG_fail; | |
7714 | } | |
7715 | { | |
7716 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7717 | } | |
7718 | return resultobj; | |
7719 | fail: | |
7720 | return NULL; | |
7721 | } | |
7722 | ||
7723 | ||
7724 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { | |
7725 | PyObject *resultobj = NULL; | |
7726 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7727 | PyObject * obj0 = 0 ; | |
7728 | char *kwnames[] = { | |
7729 | (char *) "self", NULL | |
7730 | }; | |
7731 | ||
7732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; | |
7733 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7734 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7735 | { | |
7736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7737 | (arg1)->EmptyUndoBuffer(); | |
7738 | ||
7739 | wxPyEndAllowThreads(__tstate); | |
7740 | if (PyErr_Occurred()) SWIG_fail; | |
7741 | } | |
7742 | Py_INCREF(Py_None); resultobj = Py_None; | |
7743 | return resultobj; | |
7744 | fail: | |
7745 | return NULL; | |
7746 | } | |
7747 | ||
7748 | ||
7749 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { | |
7750 | PyObject *resultobj = NULL; | |
7751 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7752 | PyObject * obj0 = 0 ; | |
7753 | char *kwnames[] = { | |
7754 | (char *) "self", NULL | |
7755 | }; | |
7756 | ||
7757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; | |
7758 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7759 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7760 | { | |
7761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7762 | (arg1)->Undo(); | |
7763 | ||
7764 | wxPyEndAllowThreads(__tstate); | |
7765 | if (PyErr_Occurred()) SWIG_fail; | |
7766 | } | |
7767 | Py_INCREF(Py_None); resultobj = Py_None; | |
7768 | return resultobj; | |
7769 | fail: | |
7770 | return NULL; | |
7771 | } | |
7772 | ||
7773 | ||
7774 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { | |
7775 | PyObject *resultobj = NULL; | |
7776 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7777 | PyObject * obj0 = 0 ; | |
7778 | char *kwnames[] = { | |
7779 | (char *) "self", NULL | |
7780 | }; | |
7781 | ||
7782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; | |
7783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7785 | { | |
7786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7787 | (arg1)->Cut(); | |
7788 | ||
7789 | wxPyEndAllowThreads(__tstate); | |
7790 | if (PyErr_Occurred()) SWIG_fail; | |
7791 | } | |
7792 | Py_INCREF(Py_None); resultobj = Py_None; | |
7793 | return resultobj; | |
7794 | fail: | |
7795 | return NULL; | |
7796 | } | |
7797 | ||
7798 | ||
7799 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { | |
7800 | PyObject *resultobj = NULL; | |
7801 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7802 | PyObject * obj0 = 0 ; | |
7803 | char *kwnames[] = { | |
7804 | (char *) "self", NULL | |
7805 | }; | |
7806 | ||
7807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; | |
7808 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7809 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7810 | { | |
7811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7812 | (arg1)->Copy(); | |
7813 | ||
7814 | wxPyEndAllowThreads(__tstate); | |
7815 | if (PyErr_Occurred()) SWIG_fail; | |
7816 | } | |
7817 | Py_INCREF(Py_None); resultobj = Py_None; | |
7818 | return resultobj; | |
7819 | fail: | |
7820 | return NULL; | |
7821 | } | |
7822 | ||
7823 | ||
7824 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { | |
7825 | PyObject *resultobj = NULL; | |
7826 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7827 | PyObject * obj0 = 0 ; | |
7828 | char *kwnames[] = { | |
7829 | (char *) "self", NULL | |
7830 | }; | |
7831 | ||
7832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; | |
7833 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7834 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7835 | { | |
7836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7837 | (arg1)->Paste(); | |
7838 | ||
7839 | wxPyEndAllowThreads(__tstate); | |
7840 | if (PyErr_Occurred()) SWIG_fail; | |
7841 | } | |
7842 | Py_INCREF(Py_None); resultobj = Py_None; | |
7843 | return resultobj; | |
7844 | fail: | |
7845 | return NULL; | |
7846 | } | |
7847 | ||
7848 | ||
7849 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { | |
7850 | PyObject *resultobj = NULL; | |
7851 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7852 | PyObject * obj0 = 0 ; | |
7853 | char *kwnames[] = { | |
7854 | (char *) "self", NULL | |
7855 | }; | |
7856 | ||
7857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; | |
7858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7860 | { | |
7861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7862 | (arg1)->Clear(); | |
7863 | ||
7864 | wxPyEndAllowThreads(__tstate); | |
7865 | if (PyErr_Occurred()) SWIG_fail; | |
7866 | } | |
7867 | Py_INCREF(Py_None); resultobj = Py_None; | |
7868 | return resultobj; | |
7869 | fail: | |
7870 | return NULL; | |
7871 | } | |
7872 | ||
7873 | ||
7874 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
7875 | PyObject *resultobj = NULL; | |
7876 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7877 | wxString *arg2 = 0 ; | |
7878 | bool temp2 = false ; | |
7879 | PyObject * obj0 = 0 ; | |
7880 | PyObject * obj1 = 0 ; | |
7881 | char *kwnames[] = { | |
7882 | (char *) "self",(char *) "text", NULL | |
7883 | }; | |
7884 | ||
7885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; | |
7886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7888 | { | |
7889 | arg2 = wxString_in_helper(obj1); | |
7890 | if (arg2 == NULL) SWIG_fail; | |
7891 | temp2 = true; | |
7892 | } | |
7893 | { | |
7894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7895 | (arg1)->SetText((wxString const &)*arg2); | |
7896 | ||
7897 | wxPyEndAllowThreads(__tstate); | |
7898 | if (PyErr_Occurred()) SWIG_fail; | |
7899 | } | |
7900 | Py_INCREF(Py_None); resultobj = Py_None; | |
7901 | { | |
7902 | if (temp2) | |
7903 | delete arg2; | |
7904 | } | |
7905 | return resultobj; | |
7906 | fail: | |
7907 | { | |
7908 | if (temp2) | |
7909 | delete arg2; | |
7910 | } | |
7911 | return NULL; | |
7912 | } | |
7913 | ||
7914 | ||
7915 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
7916 | PyObject *resultobj = NULL; | |
7917 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7918 | wxString result; | |
7919 | PyObject * obj0 = 0 ; | |
7920 | char *kwnames[] = { | |
7921 | (char *) "self", NULL | |
7922 | }; | |
7923 | ||
7924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; | |
7925 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7926 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7927 | { | |
7928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7929 | result = (arg1)->GetText(); | |
7930 | ||
7931 | wxPyEndAllowThreads(__tstate); | |
7932 | if (PyErr_Occurred()) SWIG_fail; | |
7933 | } | |
7934 | { | |
7935 | #if wxUSE_UNICODE | |
7936 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7937 | #else | |
7938 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7939 | #endif | |
7940 | } | |
7941 | return resultobj; | |
7942 | fail: | |
7943 | return NULL; | |
7944 | } | |
7945 | ||
7946 | ||
7947 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
7948 | PyObject *resultobj = NULL; | |
7949 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7950 | int result; | |
7951 | PyObject * obj0 = 0 ; | |
7952 | char *kwnames[] = { | |
7953 | (char *) "self", NULL | |
7954 | }; | |
7955 | ||
7956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; | |
7957 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7959 | { | |
7960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7961 | result = (int)(arg1)->GetTextLength(); | |
7962 | ||
7963 | wxPyEndAllowThreads(__tstate); | |
7964 | if (PyErr_Occurred()) SWIG_fail; | |
7965 | } | |
7966 | { | |
7967 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
7968 | } | |
7969 | return resultobj; | |
7970 | fail: | |
7971 | return NULL; | |
7972 | } | |
7973 | ||
7974 | ||
7975 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { | |
7976 | PyObject *resultobj = NULL; | |
7977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7978 | bool arg2 ; | |
7979 | PyObject * obj0 = 0 ; | |
7980 | PyObject * obj1 = 0 ; | |
7981 | char *kwnames[] = { | |
7982 | (char *) "self",(char *) "overtype", NULL | |
7983 | }; | |
7984 | ||
7985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; | |
7986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7988 | { | |
7989 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
7990 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7991 | } | |
7992 | { | |
7993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7994 | (arg1)->SetOvertype(arg2); | |
7995 | ||
7996 | wxPyEndAllowThreads(__tstate); | |
7997 | if (PyErr_Occurred()) SWIG_fail; | |
7998 | } | |
7999 | Py_INCREF(Py_None); resultobj = Py_None; | |
8000 | return resultobj; | |
8001 | fail: | |
8002 | return NULL; | |
8003 | } | |
8004 | ||
8005 | ||
8006 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { | |
8007 | PyObject *resultobj = NULL; | |
8008 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8009 | bool result; | |
8010 | PyObject * obj0 = 0 ; | |
8011 | char *kwnames[] = { | |
8012 | (char *) "self", NULL | |
8013 | }; | |
8014 | ||
8015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; | |
8016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8018 | { | |
8019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8020 | result = (bool)(arg1)->GetOvertype(); | |
8021 | ||
8022 | wxPyEndAllowThreads(__tstate); | |
8023 | if (PyErr_Occurred()) SWIG_fail; | |
8024 | } | |
8025 | { | |
8026 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8027 | } | |
8028 | return resultobj; | |
8029 | fail: | |
8030 | return NULL; | |
8031 | } | |
8032 | ||
8033 | ||
8034 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
8035 | PyObject *resultobj = NULL; | |
8036 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8037 | int arg2 ; | |
8038 | PyObject * obj0 = 0 ; | |
8039 | PyObject * obj1 = 0 ; | |
8040 | char *kwnames[] = { | |
8041 | (char *) "self",(char *) "pixelWidth", NULL | |
8042 | }; | |
8043 | ||
8044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; | |
8045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8047 | { | |
8048 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8049 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8050 | } | |
8051 | { | |
8052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8053 | (arg1)->SetCaretWidth(arg2); | |
8054 | ||
8055 | wxPyEndAllowThreads(__tstate); | |
8056 | if (PyErr_Occurred()) SWIG_fail; | |
8057 | } | |
8058 | Py_INCREF(Py_None); resultobj = Py_None; | |
8059 | return resultobj; | |
8060 | fail: | |
8061 | return NULL; | |
8062 | } | |
8063 | ||
8064 | ||
8065 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
8066 | PyObject *resultobj = NULL; | |
8067 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8068 | int result; | |
8069 | PyObject * obj0 = 0 ; | |
8070 | char *kwnames[] = { | |
8071 | (char *) "self", NULL | |
8072 | }; | |
8073 | ||
8074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; | |
8075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8077 | { | |
8078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8079 | result = (int)(arg1)->GetCaretWidth(); | |
8080 | ||
8081 | wxPyEndAllowThreads(__tstate); | |
8082 | if (PyErr_Occurred()) SWIG_fail; | |
8083 | } | |
8084 | { | |
8085 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8086 | } | |
8087 | return resultobj; | |
8088 | fail: | |
8089 | return NULL; | |
8090 | } | |
8091 | ||
8092 | ||
8093 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
8094 | PyObject *resultobj = NULL; | |
8095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8096 | int arg2 ; | |
8097 | PyObject * obj0 = 0 ; | |
8098 | PyObject * obj1 = 0 ; | |
8099 | char *kwnames[] = { | |
8100 | (char *) "self",(char *) "pos", NULL | |
8101 | }; | |
8102 | ||
8103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; | |
8104 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8105 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8106 | { | |
8107 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8108 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8109 | } | |
8110 | { | |
8111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8112 | (arg1)->SetTargetStart(arg2); | |
8113 | ||
8114 | wxPyEndAllowThreads(__tstate); | |
8115 | if (PyErr_Occurred()) SWIG_fail; | |
8116 | } | |
8117 | Py_INCREF(Py_None); resultobj = Py_None; | |
8118 | return resultobj; | |
8119 | fail: | |
8120 | return NULL; | |
8121 | } | |
8122 | ||
8123 | ||
8124 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
8125 | PyObject *resultobj = NULL; | |
8126 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8127 | int result; | |
8128 | PyObject * obj0 = 0 ; | |
8129 | char *kwnames[] = { | |
8130 | (char *) "self", NULL | |
8131 | }; | |
8132 | ||
8133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; | |
8134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8136 | { | |
8137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8138 | result = (int)(arg1)->GetTargetStart(); | |
8139 | ||
8140 | wxPyEndAllowThreads(__tstate); | |
8141 | if (PyErr_Occurred()) SWIG_fail; | |
8142 | } | |
8143 | { | |
8144 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8145 | } | |
8146 | return resultobj; | |
8147 | fail: | |
8148 | return NULL; | |
8149 | } | |
8150 | ||
8151 | ||
8152 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
8153 | PyObject *resultobj = NULL; | |
8154 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8155 | int arg2 ; | |
8156 | PyObject * obj0 = 0 ; | |
8157 | PyObject * obj1 = 0 ; | |
8158 | char *kwnames[] = { | |
8159 | (char *) "self",(char *) "pos", NULL | |
8160 | }; | |
8161 | ||
8162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; | |
8163 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8164 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8165 | { | |
8166 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8167 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8168 | } | |
8169 | { | |
8170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8171 | (arg1)->SetTargetEnd(arg2); | |
8172 | ||
8173 | wxPyEndAllowThreads(__tstate); | |
8174 | if (PyErr_Occurred()) SWIG_fail; | |
8175 | } | |
8176 | Py_INCREF(Py_None); resultobj = Py_None; | |
8177 | return resultobj; | |
8178 | fail: | |
8179 | return NULL; | |
8180 | } | |
8181 | ||
8182 | ||
8183 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
8184 | PyObject *resultobj = NULL; | |
8185 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8186 | int result; | |
8187 | PyObject * obj0 = 0 ; | |
8188 | char *kwnames[] = { | |
8189 | (char *) "self", NULL | |
8190 | }; | |
8191 | ||
8192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; | |
8193 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8194 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8195 | { | |
8196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8197 | result = (int)(arg1)->GetTargetEnd(); | |
8198 | ||
8199 | wxPyEndAllowThreads(__tstate); | |
8200 | if (PyErr_Occurred()) SWIG_fail; | |
8201 | } | |
8202 | { | |
8203 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8204 | } | |
8205 | return resultobj; | |
8206 | fail: | |
8207 | return NULL; | |
8208 | } | |
8209 | ||
8210 | ||
8211 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { | |
8212 | PyObject *resultobj = NULL; | |
8213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8214 | wxString *arg2 = 0 ; | |
8215 | int result; | |
8216 | bool temp2 = false ; | |
8217 | PyObject * obj0 = 0 ; | |
8218 | PyObject * obj1 = 0 ; | |
8219 | char *kwnames[] = { | |
8220 | (char *) "self",(char *) "text", NULL | |
8221 | }; | |
8222 | ||
8223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; | |
8224 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8225 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8226 | { | |
8227 | arg2 = wxString_in_helper(obj1); | |
8228 | if (arg2 == NULL) SWIG_fail; | |
8229 | temp2 = true; | |
8230 | } | |
8231 | { | |
8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8233 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); | |
8234 | ||
8235 | wxPyEndAllowThreads(__tstate); | |
8236 | if (PyErr_Occurred()) SWIG_fail; | |
8237 | } | |
8238 | { | |
8239 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8240 | } | |
8241 | { | |
8242 | if (temp2) | |
8243 | delete arg2; | |
8244 | } | |
8245 | return resultobj; | |
8246 | fail: | |
8247 | { | |
8248 | if (temp2) | |
8249 | delete arg2; | |
8250 | } | |
8251 | return NULL; | |
8252 | } | |
8253 | ||
8254 | ||
8255 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { | |
8256 | PyObject *resultobj = NULL; | |
8257 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8258 | wxString *arg2 = 0 ; | |
8259 | int result; | |
8260 | bool temp2 = false ; | |
8261 | PyObject * obj0 = 0 ; | |
8262 | PyObject * obj1 = 0 ; | |
8263 | char *kwnames[] = { | |
8264 | (char *) "self",(char *) "text", NULL | |
8265 | }; | |
8266 | ||
8267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; | |
8268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8270 | { | |
8271 | arg2 = wxString_in_helper(obj1); | |
8272 | if (arg2 == NULL) SWIG_fail; | |
8273 | temp2 = true; | |
8274 | } | |
8275 | { | |
8276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8277 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); | |
8278 | ||
8279 | wxPyEndAllowThreads(__tstate); | |
8280 | if (PyErr_Occurred()) SWIG_fail; | |
8281 | } | |
8282 | { | |
8283 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8284 | } | |
8285 | { | |
8286 | if (temp2) | |
8287 | delete arg2; | |
8288 | } | |
8289 | return resultobj; | |
8290 | fail: | |
8291 | { | |
8292 | if (temp2) | |
8293 | delete arg2; | |
8294 | } | |
8295 | return NULL; | |
8296 | } | |
8297 | ||
8298 | ||
8299 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { | |
8300 | PyObject *resultobj = NULL; | |
8301 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8302 | wxString *arg2 = 0 ; | |
8303 | int result; | |
8304 | bool temp2 = false ; | |
8305 | PyObject * obj0 = 0 ; | |
8306 | PyObject * obj1 = 0 ; | |
8307 | char *kwnames[] = { | |
8308 | (char *) "self",(char *) "text", NULL | |
8309 | }; | |
8310 | ||
8311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; | |
8312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8314 | { | |
8315 | arg2 = wxString_in_helper(obj1); | |
8316 | if (arg2 == NULL) SWIG_fail; | |
8317 | temp2 = true; | |
8318 | } | |
8319 | { | |
8320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8321 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); | |
8322 | ||
8323 | wxPyEndAllowThreads(__tstate); | |
8324 | if (PyErr_Occurred()) SWIG_fail; | |
8325 | } | |
8326 | { | |
8327 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8328 | } | |
8329 | { | |
8330 | if (temp2) | |
8331 | delete arg2; | |
8332 | } | |
8333 | return resultobj; | |
8334 | fail: | |
8335 | { | |
8336 | if (temp2) | |
8337 | delete arg2; | |
8338 | } | |
8339 | return NULL; | |
8340 | } | |
8341 | ||
8342 | ||
8343 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
8344 | PyObject *resultobj = NULL; | |
8345 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8346 | int arg2 ; | |
8347 | PyObject * obj0 = 0 ; | |
8348 | PyObject * obj1 = 0 ; | |
8349 | char *kwnames[] = { | |
8350 | (char *) "self",(char *) "flags", NULL | |
8351 | }; | |
8352 | ||
8353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; | |
8354 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8355 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8356 | { | |
8357 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8358 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8359 | } | |
8360 | { | |
8361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8362 | (arg1)->SetSearchFlags(arg2); | |
8363 | ||
8364 | wxPyEndAllowThreads(__tstate); | |
8365 | if (PyErr_Occurred()) SWIG_fail; | |
8366 | } | |
8367 | Py_INCREF(Py_None); resultobj = Py_None; | |
8368 | return resultobj; | |
8369 | fail: | |
8370 | return NULL; | |
8371 | } | |
8372 | ||
8373 | ||
8374 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
8375 | PyObject *resultobj = NULL; | |
8376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8377 | int result; | |
8378 | PyObject * obj0 = 0 ; | |
8379 | char *kwnames[] = { | |
8380 | (char *) "self", NULL | |
8381 | }; | |
8382 | ||
8383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; | |
8384 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8385 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8386 | { | |
8387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8388 | result = (int)(arg1)->GetSearchFlags(); | |
8389 | ||
8390 | wxPyEndAllowThreads(__tstate); | |
8391 | if (PyErr_Occurred()) SWIG_fail; | |
8392 | } | |
8393 | { | |
8394 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8395 | } | |
8396 | return resultobj; | |
8397 | fail: | |
8398 | return NULL; | |
8399 | } | |
8400 | ||
8401 | ||
8402 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { | |
8403 | PyObject *resultobj = NULL; | |
8404 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8405 | int arg2 ; | |
8406 | wxString *arg3 = 0 ; | |
8407 | bool temp3 = false ; | |
8408 | PyObject * obj0 = 0 ; | |
8409 | PyObject * obj1 = 0 ; | |
8410 | PyObject * obj2 = 0 ; | |
8411 | char *kwnames[] = { | |
8412 | (char *) "self",(char *) "pos",(char *) "definition", NULL | |
8413 | }; | |
8414 | ||
8415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8416 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8417 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8418 | { | |
8419 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8420 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8421 | } | |
8422 | { | |
8423 | arg3 = wxString_in_helper(obj2); | |
8424 | if (arg3 == NULL) SWIG_fail; | |
8425 | temp3 = true; | |
8426 | } | |
8427 | { | |
8428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8429 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); | |
8430 | ||
8431 | wxPyEndAllowThreads(__tstate); | |
8432 | if (PyErr_Occurred()) SWIG_fail; | |
8433 | } | |
8434 | Py_INCREF(Py_None); resultobj = Py_None; | |
8435 | { | |
8436 | if (temp3) | |
8437 | delete arg3; | |
8438 | } | |
8439 | return resultobj; | |
8440 | fail: | |
8441 | { | |
8442 | if (temp3) | |
8443 | delete arg3; | |
8444 | } | |
8445 | return NULL; | |
8446 | } | |
8447 | ||
8448 | ||
8449 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { | |
8450 | PyObject *resultobj = NULL; | |
8451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8452 | PyObject * obj0 = 0 ; | |
8453 | char *kwnames[] = { | |
8454 | (char *) "self", NULL | |
8455 | }; | |
8456 | ||
8457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; | |
8458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8460 | { | |
8461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8462 | (arg1)->CallTipCancel(); | |
8463 | ||
8464 | wxPyEndAllowThreads(__tstate); | |
8465 | if (PyErr_Occurred()) SWIG_fail; | |
8466 | } | |
8467 | Py_INCREF(Py_None); resultobj = Py_None; | |
8468 | return resultobj; | |
8469 | fail: | |
8470 | return NULL; | |
8471 | } | |
8472 | ||
8473 | ||
8474 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { | |
8475 | PyObject *resultobj = NULL; | |
8476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8477 | bool result; | |
8478 | PyObject * obj0 = 0 ; | |
8479 | char *kwnames[] = { | |
8480 | (char *) "self", NULL | |
8481 | }; | |
8482 | ||
8483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; | |
8484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8486 | { | |
8487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8488 | result = (bool)(arg1)->CallTipActive(); | |
8489 | ||
8490 | wxPyEndAllowThreads(__tstate); | |
8491 | if (PyErr_Occurred()) SWIG_fail; | |
8492 | } | |
8493 | { | |
8494 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8495 | } | |
8496 | return resultobj; | |
8497 | fail: | |
8498 | return NULL; | |
8499 | } | |
8500 | ||
8501 | ||
8502 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
8503 | PyObject *resultobj = NULL; | |
8504 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8505 | int result; | |
8506 | PyObject * obj0 = 0 ; | |
8507 | char *kwnames[] = { | |
8508 | (char *) "self", NULL | |
8509 | }; | |
8510 | ||
8511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; | |
8512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8514 | { | |
8515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8516 | result = (int)(arg1)->CallTipPosAtStart(); | |
8517 | ||
8518 | wxPyEndAllowThreads(__tstate); | |
8519 | if (PyErr_Occurred()) SWIG_fail; | |
8520 | } | |
8521 | { | |
8522 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8523 | } | |
8524 | return resultobj; | |
8525 | fail: | |
8526 | return NULL; | |
8527 | } | |
8528 | ||
8529 | ||
8530 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { | |
8531 | PyObject *resultobj = NULL; | |
8532 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8533 | int arg2 ; | |
8534 | int arg3 ; | |
8535 | PyObject * obj0 = 0 ; | |
8536 | PyObject * obj1 = 0 ; | |
8537 | PyObject * obj2 = 0 ; | |
8538 | char *kwnames[] = { | |
8539 | (char *) "self",(char *) "start",(char *) "end", NULL | |
8540 | }; | |
8541 | ||
8542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8543 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8544 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8545 | { | |
8546 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8547 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8548 | } | |
8549 | { | |
8550 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
8551 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8552 | } | |
8553 | { | |
8554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8555 | (arg1)->CallTipSetHighlight(arg2,arg3); | |
8556 | ||
8557 | wxPyEndAllowThreads(__tstate); | |
8558 | if (PyErr_Occurred()) SWIG_fail; | |
8559 | } | |
8560 | Py_INCREF(Py_None); resultobj = Py_None; | |
8561 | return resultobj; | |
8562 | fail: | |
8563 | return NULL; | |
8564 | } | |
8565 | ||
8566 | ||
8567 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
8568 | PyObject *resultobj = NULL; | |
8569 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8570 | wxColour *arg2 = 0 ; | |
8571 | wxColour temp2 ; | |
8572 | PyObject * obj0 = 0 ; | |
8573 | PyObject * obj1 = 0 ; | |
8574 | char *kwnames[] = { | |
8575 | (char *) "self",(char *) "back", NULL | |
8576 | }; | |
8577 | ||
8578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; | |
8579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8581 | { | |
8582 | arg2 = &temp2; | |
8583 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8584 | } | |
8585 | { | |
8586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8587 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); | |
8588 | ||
8589 | wxPyEndAllowThreads(__tstate); | |
8590 | if (PyErr_Occurred()) SWIG_fail; | |
8591 | } | |
8592 | Py_INCREF(Py_None); resultobj = Py_None; | |
8593 | return resultobj; | |
8594 | fail: | |
8595 | return NULL; | |
8596 | } | |
8597 | ||
8598 | ||
8599 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
8600 | PyObject *resultobj = NULL; | |
8601 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8602 | wxColour *arg2 = 0 ; | |
8603 | wxColour temp2 ; | |
8604 | PyObject * obj0 = 0 ; | |
8605 | PyObject * obj1 = 0 ; | |
8606 | char *kwnames[] = { | |
8607 | (char *) "self",(char *) "fore", NULL | |
8608 | }; | |
8609 | ||
8610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; | |
8611 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8612 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8613 | { | |
8614 | arg2 = &temp2; | |
8615 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8616 | } | |
8617 | { | |
8618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8619 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); | |
8620 | ||
8621 | wxPyEndAllowThreads(__tstate); | |
8622 | if (PyErr_Occurred()) SWIG_fail; | |
8623 | } | |
8624 | Py_INCREF(Py_None); resultobj = Py_None; | |
8625 | return resultobj; | |
8626 | fail: | |
8627 | return NULL; | |
8628 | } | |
8629 | ||
8630 | ||
8631 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { | |
8632 | PyObject *resultobj = NULL; | |
8633 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8634 | wxColour *arg2 = 0 ; | |
8635 | wxColour temp2 ; | |
8636 | PyObject * obj0 = 0 ; | |
8637 | PyObject * obj1 = 0 ; | |
8638 | char *kwnames[] = { | |
8639 | (char *) "self",(char *) "fore", NULL | |
8640 | }; | |
8641 | ||
8642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; | |
8643 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8644 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8645 | { | |
8646 | arg2 = &temp2; | |
8647 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8648 | } | |
8649 | { | |
8650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8651 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); | |
8652 | ||
8653 | wxPyEndAllowThreads(__tstate); | |
8654 | if (PyErr_Occurred()) SWIG_fail; | |
8655 | } | |
8656 | Py_INCREF(Py_None); resultobj = Py_None; | |
8657 | return resultobj; | |
8658 | fail: | |
8659 | return NULL; | |
8660 | } | |
8661 | ||
8662 | ||
8663 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
8664 | PyObject *resultobj = NULL; | |
8665 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8666 | int arg2 ; | |
8667 | int result; | |
8668 | PyObject * obj0 = 0 ; | |
8669 | PyObject * obj1 = 0 ; | |
8670 | char *kwnames[] = { | |
8671 | (char *) "self",(char *) "line", NULL | |
8672 | }; | |
8673 | ||
8674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; | |
8675 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8676 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8677 | { | |
8678 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8679 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8680 | } | |
8681 | { | |
8682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8683 | result = (int)(arg1)->VisibleFromDocLine(arg2); | |
8684 | ||
8685 | wxPyEndAllowThreads(__tstate); | |
8686 | if (PyErr_Occurred()) SWIG_fail; | |
8687 | } | |
8688 | { | |
8689 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8690 | } | |
8691 | return resultobj; | |
8692 | fail: | |
8693 | return NULL; | |
8694 | } | |
8695 | ||
8696 | ||
8697 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
8698 | PyObject *resultobj = NULL; | |
8699 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8700 | int arg2 ; | |
8701 | int result; | |
8702 | PyObject * obj0 = 0 ; | |
8703 | PyObject * obj1 = 0 ; | |
8704 | char *kwnames[] = { | |
8705 | (char *) "self",(char *) "lineDisplay", NULL | |
8706 | }; | |
8707 | ||
8708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; | |
8709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8711 | { | |
8712 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8713 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8714 | } | |
8715 | { | |
8716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8717 | result = (int)(arg1)->DocLineFromVisible(arg2); | |
8718 | ||
8719 | wxPyEndAllowThreads(__tstate); | |
8720 | if (PyErr_Occurred()) SWIG_fail; | |
8721 | } | |
8722 | { | |
8723 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8724 | } | |
8725 | return resultobj; | |
8726 | fail: | |
8727 | return NULL; | |
8728 | } | |
8729 | ||
8730 | ||
8731 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { | |
8732 | PyObject *resultobj = NULL; | |
8733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8734 | int arg2 ; | |
8735 | int arg3 ; | |
8736 | PyObject * obj0 = 0 ; | |
8737 | PyObject * obj1 = 0 ; | |
8738 | PyObject * obj2 = 0 ; | |
8739 | char *kwnames[] = { | |
8740 | (char *) "self",(char *) "line",(char *) "level", NULL | |
8741 | }; | |
8742 | ||
8743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8744 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8745 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8746 | { | |
8747 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8748 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8749 | } | |
8750 | { | |
8751 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
8752 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8753 | } | |
8754 | { | |
8755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8756 | (arg1)->SetFoldLevel(arg2,arg3); | |
8757 | ||
8758 | wxPyEndAllowThreads(__tstate); | |
8759 | if (PyErr_Occurred()) SWIG_fail; | |
8760 | } | |
8761 | Py_INCREF(Py_None); resultobj = Py_None; | |
8762 | return resultobj; | |
8763 | fail: | |
8764 | return NULL; | |
8765 | } | |
8766 | ||
8767 | ||
8768 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { | |
8769 | PyObject *resultobj = NULL; | |
8770 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8771 | int arg2 ; | |
8772 | int result; | |
8773 | PyObject * obj0 = 0 ; | |
8774 | PyObject * obj1 = 0 ; | |
8775 | char *kwnames[] = { | |
8776 | (char *) "self",(char *) "line", NULL | |
8777 | }; | |
8778 | ||
8779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; | |
8780 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8781 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8782 | { | |
8783 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8784 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8785 | } | |
8786 | { | |
8787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8788 | result = (int)(arg1)->GetFoldLevel(arg2); | |
8789 | ||
8790 | wxPyEndAllowThreads(__tstate); | |
8791 | if (PyErr_Occurred()) SWIG_fail; | |
8792 | } | |
8793 | { | |
8794 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8795 | } | |
8796 | return resultobj; | |
8797 | fail: | |
8798 | return NULL; | |
8799 | } | |
8800 | ||
8801 | ||
8802 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { | |
8803 | PyObject *resultobj = NULL; | |
8804 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8805 | int arg2 ; | |
8806 | int arg3 ; | |
8807 | int result; | |
8808 | PyObject * obj0 = 0 ; | |
8809 | PyObject * obj1 = 0 ; | |
8810 | PyObject * obj2 = 0 ; | |
8811 | char *kwnames[] = { | |
8812 | (char *) "self",(char *) "line",(char *) "level", NULL | |
8813 | }; | |
8814 | ||
8815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8816 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8817 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8818 | { | |
8819 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8820 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8821 | } | |
8822 | { | |
8823 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
8824 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8825 | } | |
8826 | { | |
8827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8828 | result = (int)(arg1)->GetLastChild(arg2,arg3); | |
8829 | ||
8830 | wxPyEndAllowThreads(__tstate); | |
8831 | if (PyErr_Occurred()) SWIG_fail; | |
8832 | } | |
8833 | { | |
8834 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8835 | } | |
8836 | return resultobj; | |
8837 | fail: | |
8838 | return NULL; | |
8839 | } | |
8840 | ||
8841 | ||
8842 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { | |
8843 | PyObject *resultobj = NULL; | |
8844 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8845 | int arg2 ; | |
8846 | int result; | |
8847 | PyObject * obj0 = 0 ; | |
8848 | PyObject * obj1 = 0 ; | |
8849 | char *kwnames[] = { | |
8850 | (char *) "self",(char *) "line", NULL | |
8851 | }; | |
8852 | ||
8853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; | |
8854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8856 | { | |
8857 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8858 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8859 | } | |
8860 | { | |
8861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8862 | result = (int)(arg1)->GetFoldParent(arg2); | |
8863 | ||
8864 | wxPyEndAllowThreads(__tstate); | |
8865 | if (PyErr_Occurred()) SWIG_fail; | |
8866 | } | |
8867 | { | |
8868 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
8869 | } | |
8870 | return resultobj; | |
8871 | fail: | |
8872 | return NULL; | |
8873 | } | |
8874 | ||
8875 | ||
8876 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { | |
8877 | PyObject *resultobj = NULL; | |
8878 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8879 | int arg2 ; | |
8880 | int arg3 ; | |
8881 | PyObject * obj0 = 0 ; | |
8882 | PyObject * obj1 = 0 ; | |
8883 | PyObject * obj2 = 0 ; | |
8884 | char *kwnames[] = { | |
8885 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
8886 | }; | |
8887 | ||
8888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8889 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8890 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8891 | { | |
8892 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8893 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8894 | } | |
8895 | { | |
8896 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
8897 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8898 | } | |
8899 | { | |
8900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8901 | (arg1)->ShowLines(arg2,arg3); | |
8902 | ||
8903 | wxPyEndAllowThreads(__tstate); | |
8904 | if (PyErr_Occurred()) SWIG_fail; | |
8905 | } | |
8906 | Py_INCREF(Py_None); resultobj = Py_None; | |
8907 | return resultobj; | |
8908 | fail: | |
8909 | return NULL; | |
8910 | } | |
8911 | ||
8912 | ||
8913 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { | |
8914 | PyObject *resultobj = NULL; | |
8915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8916 | int arg2 ; | |
8917 | int arg3 ; | |
8918 | PyObject * obj0 = 0 ; | |
8919 | PyObject * obj1 = 0 ; | |
8920 | PyObject * obj2 = 0 ; | |
8921 | char *kwnames[] = { | |
8922 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
8923 | }; | |
8924 | ||
8925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8928 | { | |
8929 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8930 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8931 | } | |
8932 | { | |
8933 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
8934 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8935 | } | |
8936 | { | |
8937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8938 | (arg1)->HideLines(arg2,arg3); | |
8939 | ||
8940 | wxPyEndAllowThreads(__tstate); | |
8941 | if (PyErr_Occurred()) SWIG_fail; | |
8942 | } | |
8943 | Py_INCREF(Py_None); resultobj = Py_None; | |
8944 | return resultobj; | |
8945 | fail: | |
8946 | return NULL; | |
8947 | } | |
8948 | ||
8949 | ||
8950 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
8951 | PyObject *resultobj = NULL; | |
8952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8953 | int arg2 ; | |
8954 | bool result; | |
8955 | PyObject * obj0 = 0 ; | |
8956 | PyObject * obj1 = 0 ; | |
8957 | char *kwnames[] = { | |
8958 | (char *) "self",(char *) "line", NULL | |
8959 | }; | |
8960 | ||
8961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
8962 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8963 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8964 | { | |
8965 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
8966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8967 | } | |
8968 | { | |
8969 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8970 | result = (bool)(arg1)->GetLineVisible(arg2); | |
8971 | ||
8972 | wxPyEndAllowThreads(__tstate); | |
8973 | if (PyErr_Occurred()) SWIG_fail; | |
8974 | } | |
8975 | { | |
8976 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8977 | } | |
8978 | return resultobj; | |
8979 | fail: | |
8980 | return NULL; | |
8981 | } | |
8982 | ||
8983 | ||
8984 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { | |
8985 | PyObject *resultobj = NULL; | |
8986 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8987 | int arg2 ; | |
8988 | bool arg3 ; | |
8989 | PyObject * obj0 = 0 ; | |
8990 | PyObject * obj1 = 0 ; | |
8991 | PyObject * obj2 = 0 ; | |
8992 | char *kwnames[] = { | |
8993 | (char *) "self",(char *) "line",(char *) "expanded", NULL | |
8994 | }; | |
8995 | ||
8996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8999 | { | |
9000 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9001 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9002 | } | |
9003 | { | |
9004 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
9005 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9006 | } | |
9007 | { | |
9008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9009 | (arg1)->SetFoldExpanded(arg2,arg3); | |
9010 | ||
9011 | wxPyEndAllowThreads(__tstate); | |
9012 | if (PyErr_Occurred()) SWIG_fail; | |
9013 | } | |
9014 | Py_INCREF(Py_None); resultobj = Py_None; | |
9015 | return resultobj; | |
9016 | fail: | |
9017 | return NULL; | |
9018 | } | |
9019 | ||
9020 | ||
9021 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { | |
9022 | PyObject *resultobj = NULL; | |
9023 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9024 | int arg2 ; | |
9025 | bool result; | |
9026 | PyObject * obj0 = 0 ; | |
9027 | PyObject * obj1 = 0 ; | |
9028 | char *kwnames[] = { | |
9029 | (char *) "self",(char *) "line", NULL | |
9030 | }; | |
9031 | ||
9032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; | |
9033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9035 | { | |
9036 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9037 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9038 | } | |
9039 | { | |
9040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9041 | result = (bool)(arg1)->GetFoldExpanded(arg2); | |
9042 | ||
9043 | wxPyEndAllowThreads(__tstate); | |
9044 | if (PyErr_Occurred()) SWIG_fail; | |
9045 | } | |
9046 | { | |
9047 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9048 | } | |
9049 | return resultobj; | |
9050 | fail: | |
9051 | return NULL; | |
9052 | } | |
9053 | ||
9054 | ||
9055 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { | |
9056 | PyObject *resultobj = NULL; | |
9057 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9058 | int arg2 ; | |
9059 | PyObject * obj0 = 0 ; | |
9060 | PyObject * obj1 = 0 ; | |
9061 | char *kwnames[] = { | |
9062 | (char *) "self",(char *) "line", NULL | |
9063 | }; | |
9064 | ||
9065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; | |
9066 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9067 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9068 | { | |
9069 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9070 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9071 | } | |
9072 | { | |
9073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9074 | (arg1)->ToggleFold(arg2); | |
9075 | ||
9076 | wxPyEndAllowThreads(__tstate); | |
9077 | if (PyErr_Occurred()) SWIG_fail; | |
9078 | } | |
9079 | Py_INCREF(Py_None); resultobj = Py_None; | |
9080 | return resultobj; | |
9081 | fail: | |
9082 | return NULL; | |
9083 | } | |
9084 | ||
9085 | ||
9086 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
9087 | PyObject *resultobj = NULL; | |
9088 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9089 | int arg2 ; | |
9090 | PyObject * obj0 = 0 ; | |
9091 | PyObject * obj1 = 0 ; | |
9092 | char *kwnames[] = { | |
9093 | (char *) "self",(char *) "line", NULL | |
9094 | }; | |
9095 | ||
9096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; | |
9097 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9098 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9099 | { | |
9100 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9101 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9102 | } | |
9103 | { | |
9104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9105 | (arg1)->EnsureVisible(arg2); | |
9106 | ||
9107 | wxPyEndAllowThreads(__tstate); | |
9108 | if (PyErr_Occurred()) SWIG_fail; | |
9109 | } | |
9110 | Py_INCREF(Py_None); resultobj = Py_None; | |
9111 | return resultobj; | |
9112 | fail: | |
9113 | return NULL; | |
9114 | } | |
9115 | ||
9116 | ||
9117 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
9118 | PyObject *resultobj = NULL; | |
9119 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9120 | int arg2 ; | |
9121 | PyObject * obj0 = 0 ; | |
9122 | PyObject * obj1 = 0 ; | |
9123 | char *kwnames[] = { | |
9124 | (char *) "self",(char *) "flags", NULL | |
9125 | }; | |
9126 | ||
9127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; | |
9128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9130 | { | |
9131 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9132 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9133 | } | |
9134 | { | |
9135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9136 | (arg1)->SetFoldFlags(arg2); | |
9137 | ||
9138 | wxPyEndAllowThreads(__tstate); | |
9139 | if (PyErr_Occurred()) SWIG_fail; | |
9140 | } | |
9141 | Py_INCREF(Py_None); resultobj = Py_None; | |
9142 | return resultobj; | |
9143 | fail: | |
9144 | return NULL; | |
9145 | } | |
9146 | ||
9147 | ||
9148 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
9149 | PyObject *resultobj = NULL; | |
9150 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9151 | int arg2 ; | |
9152 | PyObject * obj0 = 0 ; | |
9153 | PyObject * obj1 = 0 ; | |
9154 | char *kwnames[] = { | |
9155 | (char *) "self",(char *) "line", NULL | |
9156 | }; | |
9157 | ||
9158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; | |
9159 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9160 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9161 | { | |
9162 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9163 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9164 | } | |
9165 | { | |
9166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9167 | (arg1)->EnsureVisibleEnforcePolicy(arg2); | |
9168 | ||
9169 | wxPyEndAllowThreads(__tstate); | |
9170 | if (PyErr_Occurred()) SWIG_fail; | |
9171 | } | |
9172 | Py_INCREF(Py_None); resultobj = Py_None; | |
9173 | return resultobj; | |
9174 | fail: | |
9175 | return NULL; | |
9176 | } | |
9177 | ||
9178 | ||
9179 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9180 | PyObject *resultobj = NULL; | |
9181 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9182 | bool arg2 ; | |
9183 | PyObject * obj0 = 0 ; | |
9184 | PyObject * obj1 = 0 ; | |
9185 | char *kwnames[] = { | |
9186 | (char *) "self",(char *) "tabIndents", NULL | |
9187 | }; | |
9188 | ||
9189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; | |
9190 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9191 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9192 | { | |
9193 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
9194 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9195 | } | |
9196 | { | |
9197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9198 | (arg1)->SetTabIndents(arg2); | |
9199 | ||
9200 | wxPyEndAllowThreads(__tstate); | |
9201 | if (PyErr_Occurred()) SWIG_fail; | |
9202 | } | |
9203 | Py_INCREF(Py_None); resultobj = Py_None; | |
9204 | return resultobj; | |
9205 | fail: | |
9206 | return NULL; | |
9207 | } | |
9208 | ||
9209 | ||
9210 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9211 | PyObject *resultobj = NULL; | |
9212 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9213 | bool result; | |
9214 | PyObject * obj0 = 0 ; | |
9215 | char *kwnames[] = { | |
9216 | (char *) "self", NULL | |
9217 | }; | |
9218 | ||
9219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; | |
9220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9222 | { | |
9223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9224 | result = (bool)(arg1)->GetTabIndents(); | |
9225 | ||
9226 | wxPyEndAllowThreads(__tstate); | |
9227 | if (PyErr_Occurred()) SWIG_fail; | |
9228 | } | |
9229 | { | |
9230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9231 | } | |
9232 | return resultobj; | |
9233 | fail: | |
9234 | return NULL; | |
9235 | } | |
9236 | ||
9237 | ||
9238 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9239 | PyObject *resultobj = NULL; | |
9240 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9241 | bool arg2 ; | |
9242 | PyObject * obj0 = 0 ; | |
9243 | PyObject * obj1 = 0 ; | |
9244 | char *kwnames[] = { | |
9245 | (char *) "self",(char *) "bsUnIndents", NULL | |
9246 | }; | |
9247 | ||
9248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; | |
9249 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9250 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9251 | { | |
9252 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
9253 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9254 | } | |
9255 | { | |
9256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9257 | (arg1)->SetBackSpaceUnIndents(arg2); | |
9258 | ||
9259 | wxPyEndAllowThreads(__tstate); | |
9260 | if (PyErr_Occurred()) SWIG_fail; | |
9261 | } | |
9262 | Py_INCREF(Py_None); resultobj = Py_None; | |
9263 | return resultobj; | |
9264 | fail: | |
9265 | return NULL; | |
9266 | } | |
9267 | ||
9268 | ||
9269 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { | |
9270 | PyObject *resultobj = NULL; | |
9271 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9272 | bool result; | |
9273 | PyObject * obj0 = 0 ; | |
9274 | char *kwnames[] = { | |
9275 | (char *) "self", NULL | |
9276 | }; | |
9277 | ||
9278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; | |
9279 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9280 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9281 | { | |
9282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9283 | result = (bool)(arg1)->GetBackSpaceUnIndents(); | |
9284 | ||
9285 | wxPyEndAllowThreads(__tstate); | |
9286 | if (PyErr_Occurred()) SWIG_fail; | |
9287 | } | |
9288 | { | |
9289 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9290 | } | |
9291 | return resultobj; | |
9292 | fail: | |
9293 | return NULL; | |
9294 | } | |
9295 | ||
9296 | ||
9297 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { | |
9298 | PyObject *resultobj = NULL; | |
9299 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9300 | int arg2 ; | |
9301 | PyObject * obj0 = 0 ; | |
9302 | PyObject * obj1 = 0 ; | |
9303 | char *kwnames[] = { | |
9304 | (char *) "self",(char *) "periodMilliseconds", NULL | |
9305 | }; | |
9306 | ||
9307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; | |
9308 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9309 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9310 | { | |
9311 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9312 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9313 | } | |
9314 | { | |
9315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9316 | (arg1)->SetMouseDwellTime(arg2); | |
9317 | ||
9318 | wxPyEndAllowThreads(__tstate); | |
9319 | if (PyErr_Occurred()) SWIG_fail; | |
9320 | } | |
9321 | Py_INCREF(Py_None); resultobj = Py_None; | |
9322 | return resultobj; | |
9323 | fail: | |
9324 | return NULL; | |
9325 | } | |
9326 | ||
9327 | ||
9328 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { | |
9329 | PyObject *resultobj = NULL; | |
9330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9331 | int result; | |
9332 | PyObject * obj0 = 0 ; | |
9333 | char *kwnames[] = { | |
9334 | (char *) "self", NULL | |
9335 | }; | |
9336 | ||
9337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; | |
9338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9340 | { | |
9341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9342 | result = (int)(arg1)->GetMouseDwellTime(); | |
9343 | ||
9344 | wxPyEndAllowThreads(__tstate); | |
9345 | if (PyErr_Occurred()) SWIG_fail; | |
9346 | } | |
9347 | { | |
9348 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9349 | } | |
9350 | return resultobj; | |
9351 | fail: | |
9352 | return NULL; | |
9353 | } | |
9354 | ||
9355 | ||
9356 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
9357 | PyObject *resultobj = NULL; | |
9358 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9359 | int arg2 ; | |
9360 | bool arg3 ; | |
9361 | int result; | |
9362 | PyObject * obj0 = 0 ; | |
9363 | PyObject * obj1 = 0 ; | |
9364 | PyObject * obj2 = 0 ; | |
9365 | char *kwnames[] = { | |
9366 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
9367 | }; | |
9368 | ||
9369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9372 | { | |
9373 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9374 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9375 | } | |
9376 | { | |
9377 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
9378 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9379 | } | |
9380 | { | |
9381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9382 | result = (int)(arg1)->WordStartPosition(arg2,arg3); | |
9383 | ||
9384 | wxPyEndAllowThreads(__tstate); | |
9385 | if (PyErr_Occurred()) SWIG_fail; | |
9386 | } | |
9387 | { | |
9388 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9389 | } | |
9390 | return resultobj; | |
9391 | fail: | |
9392 | return NULL; | |
9393 | } | |
9394 | ||
9395 | ||
9396 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
9397 | PyObject *resultobj = NULL; | |
9398 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9399 | int arg2 ; | |
9400 | bool arg3 ; | |
9401 | int result; | |
9402 | PyObject * obj0 = 0 ; | |
9403 | PyObject * obj1 = 0 ; | |
9404 | PyObject * obj2 = 0 ; | |
9405 | char *kwnames[] = { | |
9406 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
9407 | }; | |
9408 | ||
9409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9410 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9411 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9412 | { | |
9413 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9414 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9415 | } | |
9416 | { | |
9417 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); | |
9418 | if (SWIG_arg_fail(3)) SWIG_fail; | |
9419 | } | |
9420 | { | |
9421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9422 | result = (int)(arg1)->WordEndPosition(arg2,arg3); | |
9423 | ||
9424 | wxPyEndAllowThreads(__tstate); | |
9425 | if (PyErr_Occurred()) SWIG_fail; | |
9426 | } | |
9427 | { | |
9428 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9429 | } | |
9430 | return resultobj; | |
9431 | fail: | |
9432 | return NULL; | |
9433 | } | |
9434 | ||
9435 | ||
9436 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
9437 | PyObject *resultobj = NULL; | |
9438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9439 | int arg2 ; | |
9440 | PyObject * obj0 = 0 ; | |
9441 | PyObject * obj1 = 0 ; | |
9442 | char *kwnames[] = { | |
9443 | (char *) "self",(char *) "mode", NULL | |
9444 | }; | |
9445 | ||
9446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
9447 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9448 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9449 | { | |
9450 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9451 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9452 | } | |
9453 | { | |
9454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9455 | (arg1)->SetWrapMode(arg2); | |
9456 | ||
9457 | wxPyEndAllowThreads(__tstate); | |
9458 | if (PyErr_Occurred()) SWIG_fail; | |
9459 | } | |
9460 | Py_INCREF(Py_None); resultobj = Py_None; | |
9461 | return resultobj; | |
9462 | fail: | |
9463 | return NULL; | |
9464 | } | |
9465 | ||
9466 | ||
9467 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
9468 | PyObject *resultobj = NULL; | |
9469 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9470 | int result; | |
9471 | PyObject * obj0 = 0 ; | |
9472 | char *kwnames[] = { | |
9473 | (char *) "self", NULL | |
9474 | }; | |
9475 | ||
9476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; | |
9477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9479 | { | |
9480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9481 | result = (int)(arg1)->GetWrapMode(); | |
9482 | ||
9483 | wxPyEndAllowThreads(__tstate); | |
9484 | if (PyErr_Occurred()) SWIG_fail; | |
9485 | } | |
9486 | { | |
9487 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9488 | } | |
9489 | return resultobj; | |
9490 | fail: | |
9491 | return NULL; | |
9492 | } | |
9493 | ||
9494 | ||
9495 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
9496 | PyObject *resultobj = NULL; | |
9497 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9498 | int arg2 ; | |
9499 | PyObject * obj0 = 0 ; | |
9500 | PyObject * obj1 = 0 ; | |
9501 | char *kwnames[] = { | |
9502 | (char *) "self",(char *) "wrapVisualFlags", NULL | |
9503 | }; | |
9504 | ||
9505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail; | |
9506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9508 | { | |
9509 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9510 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9511 | } | |
9512 | { | |
9513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9514 | (arg1)->SetWrapVisualFlags(arg2); | |
9515 | ||
9516 | wxPyEndAllowThreads(__tstate); | |
9517 | if (PyErr_Occurred()) SWIG_fail; | |
9518 | } | |
9519 | Py_INCREF(Py_None); resultobj = Py_None; | |
9520 | return resultobj; | |
9521 | fail: | |
9522 | return NULL; | |
9523 | } | |
9524 | ||
9525 | ||
9526 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { | |
9527 | PyObject *resultobj = NULL; | |
9528 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9529 | int result; | |
9530 | PyObject * obj0 = 0 ; | |
9531 | char *kwnames[] = { | |
9532 | (char *) "self", NULL | |
9533 | }; | |
9534 | ||
9535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail; | |
9536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9538 | { | |
9539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9540 | result = (int)(arg1)->GetWrapVisualFlags(); | |
9541 | ||
9542 | wxPyEndAllowThreads(__tstate); | |
9543 | if (PyErr_Occurred()) SWIG_fail; | |
9544 | } | |
9545 | { | |
9546 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9547 | } | |
9548 | return resultobj; | |
9549 | fail: | |
9550 | return NULL; | |
9551 | } | |
9552 | ||
9553 | ||
9554 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { | |
9555 | PyObject *resultobj = NULL; | |
9556 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9557 | int arg2 ; | |
9558 | PyObject * obj0 = 0 ; | |
9559 | PyObject * obj1 = 0 ; | |
9560 | char *kwnames[] = { | |
9561 | (char *) "self",(char *) "wrapVisualFlagsLocation", NULL | |
9562 | }; | |
9563 | ||
9564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail; | |
9565 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9567 | { | |
9568 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9569 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9570 | } | |
9571 | { | |
9572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9573 | (arg1)->SetWrapVisualFlagsLocation(arg2); | |
9574 | ||
9575 | wxPyEndAllowThreads(__tstate); | |
9576 | if (PyErr_Occurred()) SWIG_fail; | |
9577 | } | |
9578 | Py_INCREF(Py_None); resultobj = Py_None; | |
9579 | return resultobj; | |
9580 | fail: | |
9581 | return NULL; | |
9582 | } | |
9583 | ||
9584 | ||
9585 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { | |
9586 | PyObject *resultobj = NULL; | |
9587 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9588 | int result; | |
9589 | PyObject * obj0 = 0 ; | |
9590 | char *kwnames[] = { | |
9591 | (char *) "self", NULL | |
9592 | }; | |
9593 | ||
9594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail; | |
9595 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9596 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9597 | { | |
9598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9599 | result = (int)(arg1)->GetWrapVisualFlagsLocation(); | |
9600 | ||
9601 | wxPyEndAllowThreads(__tstate); | |
9602 | if (PyErr_Occurred()) SWIG_fail; | |
9603 | } | |
9604 | { | |
9605 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9606 | } | |
9607 | return resultobj; | |
9608 | fail: | |
9609 | return NULL; | |
9610 | } | |
9611 | ||
9612 | ||
9613 | static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
9614 | PyObject *resultobj = NULL; | |
9615 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9616 | int arg2 ; | |
9617 | PyObject * obj0 = 0 ; | |
9618 | PyObject * obj1 = 0 ; | |
9619 | char *kwnames[] = { | |
9620 | (char *) "self",(char *) "indent", NULL | |
9621 | }; | |
9622 | ||
9623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail; | |
9624 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9625 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9626 | { | |
9627 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9628 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9629 | } | |
9630 | { | |
9631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9632 | (arg1)->SetWrapStartIndent(arg2); | |
9633 | ||
9634 | wxPyEndAllowThreads(__tstate); | |
9635 | if (PyErr_Occurred()) SWIG_fail; | |
9636 | } | |
9637 | Py_INCREF(Py_None); resultobj = Py_None; | |
9638 | return resultobj; | |
9639 | fail: | |
9640 | return NULL; | |
9641 | } | |
9642 | ||
9643 | ||
9644 | static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
9645 | PyObject *resultobj = NULL; | |
9646 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9647 | int result; | |
9648 | PyObject * obj0 = 0 ; | |
9649 | char *kwnames[] = { | |
9650 | (char *) "self", NULL | |
9651 | }; | |
9652 | ||
9653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail; | |
9654 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9655 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9656 | { | |
9657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9658 | result = (int)(arg1)->GetWrapStartIndent(); | |
9659 | ||
9660 | wxPyEndAllowThreads(__tstate); | |
9661 | if (PyErr_Occurred()) SWIG_fail; | |
9662 | } | |
9663 | { | |
9664 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9665 | } | |
9666 | return resultobj; | |
9667 | fail: | |
9668 | return NULL; | |
9669 | } | |
9670 | ||
9671 | ||
9672 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { | |
9673 | PyObject *resultobj = NULL; | |
9674 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9675 | int arg2 ; | |
9676 | PyObject * obj0 = 0 ; | |
9677 | PyObject * obj1 = 0 ; | |
9678 | char *kwnames[] = { | |
9679 | (char *) "self",(char *) "mode", NULL | |
9680 | }; | |
9681 | ||
9682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; | |
9683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9685 | { | |
9686 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9687 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9688 | } | |
9689 | { | |
9690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9691 | (arg1)->SetLayoutCache(arg2); | |
9692 | ||
9693 | wxPyEndAllowThreads(__tstate); | |
9694 | if (PyErr_Occurred()) SWIG_fail; | |
9695 | } | |
9696 | Py_INCREF(Py_None); resultobj = Py_None; | |
9697 | return resultobj; | |
9698 | fail: | |
9699 | return NULL; | |
9700 | } | |
9701 | ||
9702 | ||
9703 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { | |
9704 | PyObject *resultobj = NULL; | |
9705 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9706 | int result; | |
9707 | PyObject * obj0 = 0 ; | |
9708 | char *kwnames[] = { | |
9709 | (char *) "self", NULL | |
9710 | }; | |
9711 | ||
9712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) 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 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9717 | result = (int)(arg1)->GetLayoutCache(); | |
9718 | ||
9719 | wxPyEndAllowThreads(__tstate); | |
9720 | if (PyErr_Occurred()) SWIG_fail; | |
9721 | } | |
9722 | { | |
9723 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9724 | } | |
9725 | return resultobj; | |
9726 | fail: | |
9727 | return NULL; | |
9728 | } | |
9729 | ||
9730 | ||
9731 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
9732 | PyObject *resultobj = NULL; | |
9733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9734 | int arg2 ; | |
9735 | PyObject * obj0 = 0 ; | |
9736 | PyObject * obj1 = 0 ; | |
9737 | char *kwnames[] = { | |
9738 | (char *) "self",(char *) "pixelWidth", NULL | |
9739 | }; | |
9740 | ||
9741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; | |
9742 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9743 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9744 | { | |
9745 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9746 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9747 | } | |
9748 | { | |
9749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9750 | (arg1)->SetScrollWidth(arg2); | |
9751 | ||
9752 | wxPyEndAllowThreads(__tstate); | |
9753 | if (PyErr_Occurred()) SWIG_fail; | |
9754 | } | |
9755 | Py_INCREF(Py_None); resultobj = Py_None; | |
9756 | return resultobj; | |
9757 | fail: | |
9758 | return NULL; | |
9759 | } | |
9760 | ||
9761 | ||
9762 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
9763 | PyObject *resultobj = NULL; | |
9764 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9765 | int result; | |
9766 | PyObject * obj0 = 0 ; | |
9767 | char *kwnames[] = { | |
9768 | (char *) "self", NULL | |
9769 | }; | |
9770 | ||
9771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; | |
9772 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9773 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9774 | { | |
9775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9776 | result = (int)(arg1)->GetScrollWidth(); | |
9777 | ||
9778 | wxPyEndAllowThreads(__tstate); | |
9779 | if (PyErr_Occurred()) SWIG_fail; | |
9780 | } | |
9781 | { | |
9782 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9783 | } | |
9784 | return resultobj; | |
9785 | fail: | |
9786 | return NULL; | |
9787 | } | |
9788 | ||
9789 | ||
9790 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
9791 | PyObject *resultobj = NULL; | |
9792 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9793 | int arg2 ; | |
9794 | wxString *arg3 = 0 ; | |
9795 | int result; | |
9796 | bool temp3 = false ; | |
9797 | PyObject * obj0 = 0 ; | |
9798 | PyObject * obj1 = 0 ; | |
9799 | PyObject * obj2 = 0 ; | |
9800 | char *kwnames[] = { | |
9801 | (char *) "self",(char *) "style",(char *) "text", NULL | |
9802 | }; | |
9803 | ||
9804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9805 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9806 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9807 | { | |
9808 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9809 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9810 | } | |
9811 | { | |
9812 | arg3 = wxString_in_helper(obj2); | |
9813 | if (arg3 == NULL) SWIG_fail; | |
9814 | temp3 = true; | |
9815 | } | |
9816 | { | |
9817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9818 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); | |
9819 | ||
9820 | wxPyEndAllowThreads(__tstate); | |
9821 | if (PyErr_Occurred()) SWIG_fail; | |
9822 | } | |
9823 | { | |
9824 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9825 | } | |
9826 | { | |
9827 | if (temp3) | |
9828 | delete arg3; | |
9829 | } | |
9830 | return resultobj; | |
9831 | fail: | |
9832 | { | |
9833 | if (temp3) | |
9834 | delete arg3; | |
9835 | } | |
9836 | return NULL; | |
9837 | } | |
9838 | ||
9839 | ||
9840 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
9841 | PyObject *resultobj = NULL; | |
9842 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9843 | bool arg2 ; | |
9844 | PyObject * obj0 = 0 ; | |
9845 | PyObject * obj1 = 0 ; | |
9846 | char *kwnames[] = { | |
9847 | (char *) "self",(char *) "endAtLastLine", NULL | |
9848 | }; | |
9849 | ||
9850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; | |
9851 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9852 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9853 | { | |
9854 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
9855 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9856 | } | |
9857 | { | |
9858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9859 | (arg1)->SetEndAtLastLine(arg2); | |
9860 | ||
9861 | wxPyEndAllowThreads(__tstate); | |
9862 | if (PyErr_Occurred()) SWIG_fail; | |
9863 | } | |
9864 | Py_INCREF(Py_None); resultobj = Py_None; | |
9865 | return resultobj; | |
9866 | fail: | |
9867 | return NULL; | |
9868 | } | |
9869 | ||
9870 | ||
9871 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
9872 | PyObject *resultobj = NULL; | |
9873 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9874 | int result; | |
9875 | PyObject * obj0 = 0 ; | |
9876 | char *kwnames[] = { | |
9877 | (char *) "self", NULL | |
9878 | }; | |
9879 | ||
9880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; | |
9881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9883 | { | |
9884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9885 | result = (int)(arg1)->GetEndAtLastLine(); | |
9886 | ||
9887 | wxPyEndAllowThreads(__tstate); | |
9888 | if (PyErr_Occurred()) SWIG_fail; | |
9889 | } | |
9890 | { | |
9891 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9892 | } | |
9893 | return resultobj; | |
9894 | fail: | |
9895 | return NULL; | |
9896 | } | |
9897 | ||
9898 | ||
9899 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { | |
9900 | PyObject *resultobj = NULL; | |
9901 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9902 | int arg2 ; | |
9903 | int result; | |
9904 | PyObject * obj0 = 0 ; | |
9905 | PyObject * obj1 = 0 ; | |
9906 | char *kwnames[] = { | |
9907 | (char *) "self",(char *) "line", NULL | |
9908 | }; | |
9909 | ||
9910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; | |
9911 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9912 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9913 | { | |
9914 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
9915 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9916 | } | |
9917 | { | |
9918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9919 | result = (int)(arg1)->TextHeight(arg2); | |
9920 | ||
9921 | wxPyEndAllowThreads(__tstate); | |
9922 | if (PyErr_Occurred()) SWIG_fail; | |
9923 | } | |
9924 | { | |
9925 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
9926 | } | |
9927 | return resultobj; | |
9928 | fail: | |
9929 | return NULL; | |
9930 | } | |
9931 | ||
9932 | ||
9933 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
9934 | PyObject *resultobj = NULL; | |
9935 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9936 | bool arg2 ; | |
9937 | PyObject * obj0 = 0 ; | |
9938 | PyObject * obj1 = 0 ; | |
9939 | char *kwnames[] = { | |
9940 | (char *) "self",(char *) "show", NULL | |
9941 | }; | |
9942 | ||
9943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
9944 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9945 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9946 | { | |
9947 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
9948 | if (SWIG_arg_fail(2)) SWIG_fail; | |
9949 | } | |
9950 | { | |
9951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9952 | (arg1)->SetUseVerticalScrollBar(arg2); | |
9953 | ||
9954 | wxPyEndAllowThreads(__tstate); | |
9955 | if (PyErr_Occurred()) SWIG_fail; | |
9956 | } | |
9957 | Py_INCREF(Py_None); resultobj = Py_None; | |
9958 | return resultobj; | |
9959 | fail: | |
9960 | return NULL; | |
9961 | } | |
9962 | ||
9963 | ||
9964 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
9965 | PyObject *resultobj = NULL; | |
9966 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9967 | bool result; | |
9968 | PyObject * obj0 = 0 ; | |
9969 | char *kwnames[] = { | |
9970 | (char *) "self", NULL | |
9971 | }; | |
9972 | ||
9973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; | |
9974 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9975 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9976 | { | |
9977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9978 | result = (bool)(arg1)->GetUseVerticalScrollBar(); | |
9979 | ||
9980 | wxPyEndAllowThreads(__tstate); | |
9981 | if (PyErr_Occurred()) SWIG_fail; | |
9982 | } | |
9983 | { | |
9984 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9985 | } | |
9986 | return resultobj; | |
9987 | fail: | |
9988 | return NULL; | |
9989 | } | |
9990 | ||
9991 | ||
9992 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { | |
9993 | PyObject *resultobj = NULL; | |
9994 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9995 | wxString *arg2 = 0 ; | |
9996 | bool temp2 = false ; | |
9997 | PyObject * obj0 = 0 ; | |
9998 | PyObject * obj1 = 0 ; | |
9999 | char *kwnames[] = { | |
10000 | (char *) "self",(char *) "text", NULL | |
10001 | }; | |
10002 | ||
10003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail; | |
10004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10006 | { | |
10007 | arg2 = wxString_in_helper(obj1); | |
10008 | if (arg2 == NULL) SWIG_fail; | |
10009 | temp2 = true; | |
10010 | } | |
10011 | { | |
10012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10013 | (arg1)->AppendText((wxString const &)*arg2); | |
10014 | ||
10015 | wxPyEndAllowThreads(__tstate); | |
10016 | if (PyErr_Occurred()) SWIG_fail; | |
10017 | } | |
10018 | Py_INCREF(Py_None); resultobj = Py_None; | |
10019 | { | |
10020 | if (temp2) | |
10021 | delete arg2; | |
10022 | } | |
10023 | return resultobj; | |
10024 | fail: | |
10025 | { | |
10026 | if (temp2) | |
10027 | delete arg2; | |
10028 | } | |
10029 | return NULL; | |
10030 | } | |
10031 | ||
10032 | ||
10033 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
10034 | PyObject *resultobj = NULL; | |
10035 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10036 | bool result; | |
10037 | PyObject * obj0 = 0 ; | |
10038 | char *kwnames[] = { | |
10039 | (char *) "self", NULL | |
10040 | }; | |
10041 | ||
10042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; | |
10043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10045 | { | |
10046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10047 | result = (bool)(arg1)->GetTwoPhaseDraw(); | |
10048 | ||
10049 | wxPyEndAllowThreads(__tstate); | |
10050 | if (PyErr_Occurred()) SWIG_fail; | |
10051 | } | |
10052 | { | |
10053 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10054 | } | |
10055 | return resultobj; | |
10056 | fail: | |
10057 | return NULL; | |
10058 | } | |
10059 | ||
10060 | ||
10061 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { | |
10062 | PyObject *resultobj = NULL; | |
10063 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10064 | bool arg2 ; | |
10065 | PyObject * obj0 = 0 ; | |
10066 | PyObject * obj1 = 0 ; | |
10067 | char *kwnames[] = { | |
10068 | (char *) "self",(char *) "twoPhase", NULL | |
10069 | }; | |
10070 | ||
10071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; | |
10072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10074 | { | |
10075 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
10076 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10077 | } | |
10078 | { | |
10079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10080 | (arg1)->SetTwoPhaseDraw(arg2); | |
10081 | ||
10082 | wxPyEndAllowThreads(__tstate); | |
10083 | if (PyErr_Occurred()) SWIG_fail; | |
10084 | } | |
10085 | Py_INCREF(Py_None); resultobj = Py_None; | |
10086 | return resultobj; | |
10087 | fail: | |
10088 | return NULL; | |
10089 | } | |
10090 | ||
10091 | ||
10092 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
10093 | PyObject *resultobj = NULL; | |
10094 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10095 | PyObject * obj0 = 0 ; | |
10096 | char *kwnames[] = { | |
10097 | (char *) "self", NULL | |
10098 | }; | |
10099 | ||
10100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; | |
10101 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10102 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10103 | { | |
10104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10105 | (arg1)->TargetFromSelection(); | |
10106 | ||
10107 | wxPyEndAllowThreads(__tstate); | |
10108 | if (PyErr_Occurred()) SWIG_fail; | |
10109 | } | |
10110 | Py_INCREF(Py_None); resultobj = Py_None; | |
10111 | return resultobj; | |
10112 | fail: | |
10113 | return NULL; | |
10114 | } | |
10115 | ||
10116 | ||
10117 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { | |
10118 | PyObject *resultobj = NULL; | |
10119 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10120 | PyObject * obj0 = 0 ; | |
10121 | char *kwnames[] = { | |
10122 | (char *) "self", NULL | |
10123 | }; | |
10124 | ||
10125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; | |
10126 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10127 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10128 | { | |
10129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10130 | (arg1)->LinesJoin(); | |
10131 | ||
10132 | wxPyEndAllowThreads(__tstate); | |
10133 | if (PyErr_Occurred()) SWIG_fail; | |
10134 | } | |
10135 | Py_INCREF(Py_None); resultobj = Py_None; | |
10136 | return resultobj; | |
10137 | fail: | |
10138 | return NULL; | |
10139 | } | |
10140 | ||
10141 | ||
10142 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { | |
10143 | PyObject *resultobj = NULL; | |
10144 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10145 | int arg2 ; | |
10146 | PyObject * obj0 = 0 ; | |
10147 | PyObject * obj1 = 0 ; | |
10148 | char *kwnames[] = { | |
10149 | (char *) "self",(char *) "pixelWidth", NULL | |
10150 | }; | |
10151 | ||
10152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; | |
10153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10155 | { | |
10156 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
10157 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10158 | } | |
10159 | { | |
10160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10161 | (arg1)->LinesSplit(arg2); | |
10162 | ||
10163 | wxPyEndAllowThreads(__tstate); | |
10164 | if (PyErr_Occurred()) SWIG_fail; | |
10165 | } | |
10166 | Py_INCREF(Py_None); resultobj = Py_None; | |
10167 | return resultobj; | |
10168 | fail: | |
10169 | return NULL; | |
10170 | } | |
10171 | ||
10172 | ||
10173 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
10174 | PyObject *resultobj = NULL; | |
10175 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10176 | bool arg2 ; | |
10177 | wxColour *arg3 = 0 ; | |
10178 | wxColour temp3 ; | |
10179 | PyObject * obj0 = 0 ; | |
10180 | PyObject * obj1 = 0 ; | |
10181 | PyObject * obj2 = 0 ; | |
10182 | char *kwnames[] = { | |
10183 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
10184 | }; | |
10185 | ||
10186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10187 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10188 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10189 | { | |
10190 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
10191 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10192 | } | |
10193 | { | |
10194 | arg3 = &temp3; | |
10195 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10196 | } | |
10197 | { | |
10198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10199 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); | |
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_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
10212 | PyObject *resultobj = NULL; | |
10213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10214 | bool arg2 ; | |
10215 | wxColour *arg3 = 0 ; | |
10216 | wxColour temp3 ; | |
10217 | PyObject * obj0 = 0 ; | |
10218 | PyObject * obj1 = 0 ; | |
10219 | PyObject * obj2 = 0 ; | |
10220 | char *kwnames[] = { | |
10221 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
10222 | }; | |
10223 | ||
10224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10227 | { | |
10228 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
10229 | if (SWIG_arg_fail(2)) SWIG_fail; | |
10230 | } | |
10231 | { | |
10232 | arg3 = &temp3; | |
10233 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10234 | } | |
10235 | { | |
10236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10237 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); | |
10238 | ||
10239 | wxPyEndAllowThreads(__tstate); | |
10240 | if (PyErr_Occurred()) SWIG_fail; | |
10241 | } | |
10242 | Py_INCREF(Py_None); resultobj = Py_None; | |
10243 | return resultobj; | |
10244 | fail: | |
10245 | return NULL; | |
10246 | } | |
10247 | ||
10248 | ||
10249 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
10250 | PyObject *resultobj = NULL; | |
10251 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10252 | PyObject * obj0 = 0 ; | |
10253 | char *kwnames[] = { | |
10254 | (char *) "self", NULL | |
10255 | }; | |
10256 | ||
10257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; | |
10258 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10259 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10260 | { | |
10261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10262 | (arg1)->LineDown(); | |
10263 | ||
10264 | wxPyEndAllowThreads(__tstate); | |
10265 | if (PyErr_Occurred()) SWIG_fail; | |
10266 | } | |
10267 | Py_INCREF(Py_None); resultobj = Py_None; | |
10268 | return resultobj; | |
10269 | fail: | |
10270 | return NULL; | |
10271 | } | |
10272 | ||
10273 | ||
10274 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10275 | PyObject *resultobj = NULL; | |
10276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10277 | PyObject * obj0 = 0 ; | |
10278 | char *kwnames[] = { | |
10279 | (char *) "self", NULL | |
10280 | }; | |
10281 | ||
10282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; | |
10283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10285 | { | |
10286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10287 | (arg1)->LineDownExtend(); | |
10288 | ||
10289 | wxPyEndAllowThreads(__tstate); | |
10290 | if (PyErr_Occurred()) SWIG_fail; | |
10291 | } | |
10292 | Py_INCREF(Py_None); resultobj = Py_None; | |
10293 | return resultobj; | |
10294 | fail: | |
10295 | return NULL; | |
10296 | } | |
10297 | ||
10298 | ||
10299 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
10300 | PyObject *resultobj = NULL; | |
10301 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10302 | PyObject * obj0 = 0 ; | |
10303 | char *kwnames[] = { | |
10304 | (char *) "self", NULL | |
10305 | }; | |
10306 | ||
10307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; | |
10308 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10309 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10310 | { | |
10311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10312 | (arg1)->LineUp(); | |
10313 | ||
10314 | wxPyEndAllowThreads(__tstate); | |
10315 | if (PyErr_Occurred()) SWIG_fail; | |
10316 | } | |
10317 | Py_INCREF(Py_None); resultobj = Py_None; | |
10318 | return resultobj; | |
10319 | fail: | |
10320 | return NULL; | |
10321 | } | |
10322 | ||
10323 | ||
10324 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10325 | PyObject *resultobj = NULL; | |
10326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10327 | PyObject * obj0 = 0 ; | |
10328 | char *kwnames[] = { | |
10329 | (char *) "self", NULL | |
10330 | }; | |
10331 | ||
10332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; | |
10333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10335 | { | |
10336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10337 | (arg1)->LineUpExtend(); | |
10338 | ||
10339 | wxPyEndAllowThreads(__tstate); | |
10340 | if (PyErr_Occurred()) SWIG_fail; | |
10341 | } | |
10342 | Py_INCREF(Py_None); resultobj = Py_None; | |
10343 | return resultobj; | |
10344 | fail: | |
10345 | return NULL; | |
10346 | } | |
10347 | ||
10348 | ||
10349 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
10350 | PyObject *resultobj = NULL; | |
10351 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10352 | PyObject * obj0 = 0 ; | |
10353 | char *kwnames[] = { | |
10354 | (char *) "self", NULL | |
10355 | }; | |
10356 | ||
10357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; | |
10358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10360 | { | |
10361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10362 | (arg1)->CharLeft(); | |
10363 | ||
10364 | wxPyEndAllowThreads(__tstate); | |
10365 | if (PyErr_Occurred()) SWIG_fail; | |
10366 | } | |
10367 | Py_INCREF(Py_None); resultobj = Py_None; | |
10368 | return resultobj; | |
10369 | fail: | |
10370 | return NULL; | |
10371 | } | |
10372 | ||
10373 | ||
10374 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10375 | PyObject *resultobj = NULL; | |
10376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10377 | PyObject * obj0 = 0 ; | |
10378 | char *kwnames[] = { | |
10379 | (char *) "self", NULL | |
10380 | }; | |
10381 | ||
10382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; | |
10383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10385 | { | |
10386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10387 | (arg1)->CharLeftExtend(); | |
10388 | ||
10389 | wxPyEndAllowThreads(__tstate); | |
10390 | if (PyErr_Occurred()) SWIG_fail; | |
10391 | } | |
10392 | Py_INCREF(Py_None); resultobj = Py_None; | |
10393 | return resultobj; | |
10394 | fail: | |
10395 | return NULL; | |
10396 | } | |
10397 | ||
10398 | ||
10399 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
10400 | PyObject *resultobj = NULL; | |
10401 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10402 | PyObject * obj0 = 0 ; | |
10403 | char *kwnames[] = { | |
10404 | (char *) "self", NULL | |
10405 | }; | |
10406 | ||
10407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; | |
10408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10410 | { | |
10411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10412 | (arg1)->CharRight(); | |
10413 | ||
10414 | wxPyEndAllowThreads(__tstate); | |
10415 | if (PyErr_Occurred()) SWIG_fail; | |
10416 | } | |
10417 | Py_INCREF(Py_None); resultobj = Py_None; | |
10418 | return resultobj; | |
10419 | fail: | |
10420 | return NULL; | |
10421 | } | |
10422 | ||
10423 | ||
10424 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10425 | PyObject *resultobj = NULL; | |
10426 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10427 | PyObject * obj0 = 0 ; | |
10428 | char *kwnames[] = { | |
10429 | (char *) "self", NULL | |
10430 | }; | |
10431 | ||
10432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; | |
10433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10435 | { | |
10436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10437 | (arg1)->CharRightExtend(); | |
10438 | ||
10439 | wxPyEndAllowThreads(__tstate); | |
10440 | if (PyErr_Occurred()) SWIG_fail; | |
10441 | } | |
10442 | Py_INCREF(Py_None); resultobj = Py_None; | |
10443 | return resultobj; | |
10444 | fail: | |
10445 | return NULL; | |
10446 | } | |
10447 | ||
10448 | ||
10449 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
10450 | PyObject *resultobj = NULL; | |
10451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10452 | PyObject * obj0 = 0 ; | |
10453 | char *kwnames[] = { | |
10454 | (char *) "self", NULL | |
10455 | }; | |
10456 | ||
10457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; | |
10458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10460 | { | |
10461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10462 | (arg1)->WordLeft(); | |
10463 | ||
10464 | wxPyEndAllowThreads(__tstate); | |
10465 | if (PyErr_Occurred()) SWIG_fail; | |
10466 | } | |
10467 | Py_INCREF(Py_None); resultobj = Py_None; | |
10468 | return resultobj; | |
10469 | fail: | |
10470 | return NULL; | |
10471 | } | |
10472 | ||
10473 | ||
10474 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10475 | PyObject *resultobj = NULL; | |
10476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10477 | PyObject * obj0 = 0 ; | |
10478 | char *kwnames[] = { | |
10479 | (char *) "self", NULL | |
10480 | }; | |
10481 | ||
10482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; | |
10483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10485 | { | |
10486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10487 | (arg1)->WordLeftExtend(); | |
10488 | ||
10489 | wxPyEndAllowThreads(__tstate); | |
10490 | if (PyErr_Occurred()) SWIG_fail; | |
10491 | } | |
10492 | Py_INCREF(Py_None); resultobj = Py_None; | |
10493 | return resultobj; | |
10494 | fail: | |
10495 | return NULL; | |
10496 | } | |
10497 | ||
10498 | ||
10499 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
10500 | PyObject *resultobj = NULL; | |
10501 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10502 | PyObject * obj0 = 0 ; | |
10503 | char *kwnames[] = { | |
10504 | (char *) "self", NULL | |
10505 | }; | |
10506 | ||
10507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; | |
10508 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10509 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10510 | { | |
10511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10512 | (arg1)->WordRight(); | |
10513 | ||
10514 | wxPyEndAllowThreads(__tstate); | |
10515 | if (PyErr_Occurred()) SWIG_fail; | |
10516 | } | |
10517 | Py_INCREF(Py_None); resultobj = Py_None; | |
10518 | return resultobj; | |
10519 | fail: | |
10520 | return NULL; | |
10521 | } | |
10522 | ||
10523 | ||
10524 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10525 | PyObject *resultobj = NULL; | |
10526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10527 | PyObject * obj0 = 0 ; | |
10528 | char *kwnames[] = { | |
10529 | (char *) "self", NULL | |
10530 | }; | |
10531 | ||
10532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; | |
10533 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10534 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10535 | { | |
10536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10537 | (arg1)->WordRightExtend(); | |
10538 | ||
10539 | wxPyEndAllowThreads(__tstate); | |
10540 | if (PyErr_Occurred()) SWIG_fail; | |
10541 | } | |
10542 | Py_INCREF(Py_None); resultobj = Py_None; | |
10543 | return resultobj; | |
10544 | fail: | |
10545 | return NULL; | |
10546 | } | |
10547 | ||
10548 | ||
10549 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { | |
10550 | PyObject *resultobj = NULL; | |
10551 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10552 | PyObject * obj0 = 0 ; | |
10553 | char *kwnames[] = { | |
10554 | (char *) "self", NULL | |
10555 | }; | |
10556 | ||
10557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; | |
10558 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10559 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10560 | { | |
10561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10562 | (arg1)->Home(); | |
10563 | ||
10564 | wxPyEndAllowThreads(__tstate); | |
10565 | if (PyErr_Occurred()) SWIG_fail; | |
10566 | } | |
10567 | Py_INCREF(Py_None); resultobj = Py_None; | |
10568 | return resultobj; | |
10569 | fail: | |
10570 | return NULL; | |
10571 | } | |
10572 | ||
10573 | ||
10574 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10575 | PyObject *resultobj = NULL; | |
10576 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10577 | PyObject * obj0 = 0 ; | |
10578 | char *kwnames[] = { | |
10579 | (char *) "self", NULL | |
10580 | }; | |
10581 | ||
10582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; | |
10583 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10584 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10585 | { | |
10586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10587 | (arg1)->HomeExtend(); | |
10588 | ||
10589 | wxPyEndAllowThreads(__tstate); | |
10590 | if (PyErr_Occurred()) SWIG_fail; | |
10591 | } | |
10592 | Py_INCREF(Py_None); resultobj = Py_None; | |
10593 | return resultobj; | |
10594 | fail: | |
10595 | return NULL; | |
10596 | } | |
10597 | ||
10598 | ||
10599 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
10600 | PyObject *resultobj = NULL; | |
10601 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10602 | PyObject * obj0 = 0 ; | |
10603 | char *kwnames[] = { | |
10604 | (char *) "self", NULL | |
10605 | }; | |
10606 | ||
10607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; | |
10608 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10609 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10610 | { | |
10611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10612 | (arg1)->LineEnd(); | |
10613 | ||
10614 | wxPyEndAllowThreads(__tstate); | |
10615 | if (PyErr_Occurred()) SWIG_fail; | |
10616 | } | |
10617 | Py_INCREF(Py_None); resultobj = Py_None; | |
10618 | return resultobj; | |
10619 | fail: | |
10620 | return NULL; | |
10621 | } | |
10622 | ||
10623 | ||
10624 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10625 | PyObject *resultobj = NULL; | |
10626 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10627 | PyObject * obj0 = 0 ; | |
10628 | char *kwnames[] = { | |
10629 | (char *) "self", NULL | |
10630 | }; | |
10631 | ||
10632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; | |
10633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10635 | { | |
10636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10637 | (arg1)->LineEndExtend(); | |
10638 | ||
10639 | wxPyEndAllowThreads(__tstate); | |
10640 | if (PyErr_Occurred()) SWIG_fail; | |
10641 | } | |
10642 | Py_INCREF(Py_None); resultobj = Py_None; | |
10643 | return resultobj; | |
10644 | fail: | |
10645 | return NULL; | |
10646 | } | |
10647 | ||
10648 | ||
10649 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { | |
10650 | PyObject *resultobj = NULL; | |
10651 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10652 | PyObject * obj0 = 0 ; | |
10653 | char *kwnames[] = { | |
10654 | (char *) "self", NULL | |
10655 | }; | |
10656 | ||
10657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; | |
10658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10660 | { | |
10661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10662 | (arg1)->DocumentStart(); | |
10663 | ||
10664 | wxPyEndAllowThreads(__tstate); | |
10665 | if (PyErr_Occurred()) SWIG_fail; | |
10666 | } | |
10667 | Py_INCREF(Py_None); resultobj = Py_None; | |
10668 | return resultobj; | |
10669 | fail: | |
10670 | return NULL; | |
10671 | } | |
10672 | ||
10673 | ||
10674 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10675 | PyObject *resultobj = NULL; | |
10676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10677 | PyObject * obj0 = 0 ; | |
10678 | char *kwnames[] = { | |
10679 | (char *) "self", NULL | |
10680 | }; | |
10681 | ||
10682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; | |
10683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10685 | { | |
10686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10687 | (arg1)->DocumentStartExtend(); | |
10688 | ||
10689 | wxPyEndAllowThreads(__tstate); | |
10690 | if (PyErr_Occurred()) SWIG_fail; | |
10691 | } | |
10692 | Py_INCREF(Py_None); resultobj = Py_None; | |
10693 | return resultobj; | |
10694 | fail: | |
10695 | return NULL; | |
10696 | } | |
10697 | ||
10698 | ||
10699 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
10700 | PyObject *resultobj = NULL; | |
10701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10702 | PyObject * obj0 = 0 ; | |
10703 | char *kwnames[] = { | |
10704 | (char *) "self", NULL | |
10705 | }; | |
10706 | ||
10707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; | |
10708 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10709 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10710 | { | |
10711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10712 | (arg1)->DocumentEnd(); | |
10713 | ||
10714 | wxPyEndAllowThreads(__tstate); | |
10715 | if (PyErr_Occurred()) SWIG_fail; | |
10716 | } | |
10717 | Py_INCREF(Py_None); resultobj = Py_None; | |
10718 | return resultobj; | |
10719 | fail: | |
10720 | return NULL; | |
10721 | } | |
10722 | ||
10723 | ||
10724 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10725 | PyObject *resultobj = NULL; | |
10726 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10727 | PyObject * obj0 = 0 ; | |
10728 | char *kwnames[] = { | |
10729 | (char *) "self", NULL | |
10730 | }; | |
10731 | ||
10732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; | |
10733 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10734 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10735 | { | |
10736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10737 | (arg1)->DocumentEndExtend(); | |
10738 | ||
10739 | wxPyEndAllowThreads(__tstate); | |
10740 | if (PyErr_Occurred()) SWIG_fail; | |
10741 | } | |
10742 | Py_INCREF(Py_None); resultobj = Py_None; | |
10743 | return resultobj; | |
10744 | fail: | |
10745 | return NULL; | |
10746 | } | |
10747 | ||
10748 | ||
10749 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
10750 | PyObject *resultobj = NULL; | |
10751 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10752 | PyObject * obj0 = 0 ; | |
10753 | char *kwnames[] = { | |
10754 | (char *) "self", NULL | |
10755 | }; | |
10756 | ||
10757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; | |
10758 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10759 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10760 | { | |
10761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10762 | (arg1)->PageUp(); | |
10763 | ||
10764 | wxPyEndAllowThreads(__tstate); | |
10765 | if (PyErr_Occurred()) SWIG_fail; | |
10766 | } | |
10767 | Py_INCREF(Py_None); resultobj = Py_None; | |
10768 | return resultobj; | |
10769 | fail: | |
10770 | return NULL; | |
10771 | } | |
10772 | ||
10773 | ||
10774 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10775 | PyObject *resultobj = NULL; | |
10776 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10777 | PyObject * obj0 = 0 ; | |
10778 | char *kwnames[] = { | |
10779 | (char *) "self", NULL | |
10780 | }; | |
10781 | ||
10782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; | |
10783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10785 | { | |
10786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10787 | (arg1)->PageUpExtend(); | |
10788 | ||
10789 | wxPyEndAllowThreads(__tstate); | |
10790 | if (PyErr_Occurred()) SWIG_fail; | |
10791 | } | |
10792 | Py_INCREF(Py_None); resultobj = Py_None; | |
10793 | return resultobj; | |
10794 | fail: | |
10795 | return NULL; | |
10796 | } | |
10797 | ||
10798 | ||
10799 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
10800 | PyObject *resultobj = NULL; | |
10801 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10802 | PyObject * obj0 = 0 ; | |
10803 | char *kwnames[] = { | |
10804 | (char *) "self", NULL | |
10805 | }; | |
10806 | ||
10807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; | |
10808 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10809 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10810 | { | |
10811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10812 | (arg1)->PageDown(); | |
10813 | ||
10814 | wxPyEndAllowThreads(__tstate); | |
10815 | if (PyErr_Occurred()) SWIG_fail; | |
10816 | } | |
10817 | Py_INCREF(Py_None); resultobj = Py_None; | |
10818 | return resultobj; | |
10819 | fail: | |
10820 | return NULL; | |
10821 | } | |
10822 | ||
10823 | ||
10824 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
10825 | PyObject *resultobj = NULL; | |
10826 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10827 | PyObject * obj0 = 0 ; | |
10828 | char *kwnames[] = { | |
10829 | (char *) "self", NULL | |
10830 | }; | |
10831 | ||
10832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; | |
10833 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10834 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10835 | { | |
10836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10837 | (arg1)->PageDownExtend(); | |
10838 | ||
10839 | wxPyEndAllowThreads(__tstate); | |
10840 | if (PyErr_Occurred()) SWIG_fail; | |
10841 | } | |
10842 | Py_INCREF(Py_None); resultobj = Py_None; | |
10843 | return resultobj; | |
10844 | fail: | |
10845 | return NULL; | |
10846 | } | |
10847 | ||
10848 | ||
10849 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { | |
10850 | PyObject *resultobj = NULL; | |
10851 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10852 | PyObject * obj0 = 0 ; | |
10853 | char *kwnames[] = { | |
10854 | (char *) "self", NULL | |
10855 | }; | |
10856 | ||
10857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; | |
10858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10860 | { | |
10861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10862 | (arg1)->EditToggleOvertype(); | |
10863 | ||
10864 | wxPyEndAllowThreads(__tstate); | |
10865 | if (PyErr_Occurred()) SWIG_fail; | |
10866 | } | |
10867 | Py_INCREF(Py_None); resultobj = Py_None; | |
10868 | return resultobj; | |
10869 | fail: | |
10870 | return NULL; | |
10871 | } | |
10872 | ||
10873 | ||
10874 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { | |
10875 | PyObject *resultobj = NULL; | |
10876 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10877 | PyObject * obj0 = 0 ; | |
10878 | char *kwnames[] = { | |
10879 | (char *) "self", NULL | |
10880 | }; | |
10881 | ||
10882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; | |
10883 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10884 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10885 | { | |
10886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10887 | (arg1)->Cancel(); | |
10888 | ||
10889 | wxPyEndAllowThreads(__tstate); | |
10890 | if (PyErr_Occurred()) SWIG_fail; | |
10891 | } | |
10892 | Py_INCREF(Py_None); resultobj = Py_None; | |
10893 | return resultobj; | |
10894 | fail: | |
10895 | return NULL; | |
10896 | } | |
10897 | ||
10898 | ||
10899 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { | |
10900 | PyObject *resultobj = NULL; | |
10901 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10902 | PyObject * obj0 = 0 ; | |
10903 | char *kwnames[] = { | |
10904 | (char *) "self", NULL | |
10905 | }; | |
10906 | ||
10907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; | |
10908 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10909 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10910 | { | |
10911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10912 | (arg1)->DeleteBack(); | |
10913 | ||
10914 | wxPyEndAllowThreads(__tstate); | |
10915 | if (PyErr_Occurred()) SWIG_fail; | |
10916 | } | |
10917 | Py_INCREF(Py_None); resultobj = Py_None; | |
10918 | return resultobj; | |
10919 | fail: | |
10920 | return NULL; | |
10921 | } | |
10922 | ||
10923 | ||
10924 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { | |
10925 | PyObject *resultobj = NULL; | |
10926 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10927 | PyObject * obj0 = 0 ; | |
10928 | char *kwnames[] = { | |
10929 | (char *) "self", NULL | |
10930 | }; | |
10931 | ||
10932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; | |
10933 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10934 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10935 | { | |
10936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10937 | (arg1)->Tab(); | |
10938 | ||
10939 | wxPyEndAllowThreads(__tstate); | |
10940 | if (PyErr_Occurred()) SWIG_fail; | |
10941 | } | |
10942 | Py_INCREF(Py_None); resultobj = Py_None; | |
10943 | return resultobj; | |
10944 | fail: | |
10945 | return NULL; | |
10946 | } | |
10947 | ||
10948 | ||
10949 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { | |
10950 | PyObject *resultobj = NULL; | |
10951 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10952 | PyObject * obj0 = 0 ; | |
10953 | char *kwnames[] = { | |
10954 | (char *) "self", NULL | |
10955 | }; | |
10956 | ||
10957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; | |
10958 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10959 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10960 | { | |
10961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10962 | (arg1)->BackTab(); | |
10963 | ||
10964 | wxPyEndAllowThreads(__tstate); | |
10965 | if (PyErr_Occurred()) SWIG_fail; | |
10966 | } | |
10967 | Py_INCREF(Py_None); resultobj = Py_None; | |
10968 | return resultobj; | |
10969 | fail: | |
10970 | return NULL; | |
10971 | } | |
10972 | ||
10973 | ||
10974 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
10975 | PyObject *resultobj = NULL; | |
10976 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
10977 | PyObject * obj0 = 0 ; | |
10978 | char *kwnames[] = { | |
10979 | (char *) "self", NULL | |
10980 | }; | |
10981 | ||
10982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; | |
10983 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10984 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10985 | { | |
10986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10987 | (arg1)->NewLine(); | |
10988 | ||
10989 | wxPyEndAllowThreads(__tstate); | |
10990 | if (PyErr_Occurred()) SWIG_fail; | |
10991 | } | |
10992 | Py_INCREF(Py_None); resultobj = Py_None; | |
10993 | return resultobj; | |
10994 | fail: | |
10995 | return NULL; | |
10996 | } | |
10997 | ||
10998 | ||
10999 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { | |
11000 | PyObject *resultobj = NULL; | |
11001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11002 | PyObject * obj0 = 0 ; | |
11003 | char *kwnames[] = { | |
11004 | (char *) "self", NULL | |
11005 | }; | |
11006 | ||
11007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; | |
11008 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11009 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11010 | { | |
11011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11012 | (arg1)->FormFeed(); | |
11013 | ||
11014 | wxPyEndAllowThreads(__tstate); | |
11015 | if (PyErr_Occurred()) SWIG_fail; | |
11016 | } | |
11017 | Py_INCREF(Py_None); resultobj = Py_None; | |
11018 | return resultobj; | |
11019 | fail: | |
11020 | return NULL; | |
11021 | } | |
11022 | ||
11023 | ||
11024 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { | |
11025 | PyObject *resultobj = NULL; | |
11026 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11027 | PyObject * obj0 = 0 ; | |
11028 | char *kwnames[] = { | |
11029 | (char *) "self", NULL | |
11030 | }; | |
11031 | ||
11032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; | |
11033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11035 | { | |
11036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11037 | (arg1)->VCHome(); | |
11038 | ||
11039 | wxPyEndAllowThreads(__tstate); | |
11040 | if (PyErr_Occurred()) SWIG_fail; | |
11041 | } | |
11042 | Py_INCREF(Py_None); resultobj = Py_None; | |
11043 | return resultobj; | |
11044 | fail: | |
11045 | return NULL; | |
11046 | } | |
11047 | ||
11048 | ||
11049 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11050 | PyObject *resultobj = NULL; | |
11051 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11052 | PyObject * obj0 = 0 ; | |
11053 | char *kwnames[] = { | |
11054 | (char *) "self", NULL | |
11055 | }; | |
11056 | ||
11057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; | |
11058 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11059 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11060 | { | |
11061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11062 | (arg1)->VCHomeExtend(); | |
11063 | ||
11064 | wxPyEndAllowThreads(__tstate); | |
11065 | if (PyErr_Occurred()) SWIG_fail; | |
11066 | } | |
11067 | Py_INCREF(Py_None); resultobj = Py_None; | |
11068 | return resultobj; | |
11069 | fail: | |
11070 | return NULL; | |
11071 | } | |
11072 | ||
11073 | ||
11074 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { | |
11075 | PyObject *resultobj = NULL; | |
11076 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11077 | PyObject * obj0 = 0 ; | |
11078 | char *kwnames[] = { | |
11079 | (char *) "self", NULL | |
11080 | }; | |
11081 | ||
11082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; | |
11083 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11084 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11085 | { | |
11086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11087 | (arg1)->ZoomIn(); | |
11088 | ||
11089 | wxPyEndAllowThreads(__tstate); | |
11090 | if (PyErr_Occurred()) SWIG_fail; | |
11091 | } | |
11092 | Py_INCREF(Py_None); resultobj = Py_None; | |
11093 | return resultobj; | |
11094 | fail: | |
11095 | return NULL; | |
11096 | } | |
11097 | ||
11098 | ||
11099 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { | |
11100 | PyObject *resultobj = NULL; | |
11101 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11102 | PyObject * obj0 = 0 ; | |
11103 | char *kwnames[] = { | |
11104 | (char *) "self", NULL | |
11105 | }; | |
11106 | ||
11107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; | |
11108 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11109 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11110 | { | |
11111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11112 | (arg1)->ZoomOut(); | |
11113 | ||
11114 | wxPyEndAllowThreads(__tstate); | |
11115 | if (PyErr_Occurred()) SWIG_fail; | |
11116 | } | |
11117 | Py_INCREF(Py_None); resultobj = Py_None; | |
11118 | return resultobj; | |
11119 | fail: | |
11120 | return NULL; | |
11121 | } | |
11122 | ||
11123 | ||
11124 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
11125 | PyObject *resultobj = NULL; | |
11126 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11127 | PyObject * obj0 = 0 ; | |
11128 | char *kwnames[] = { | |
11129 | (char *) "self", NULL | |
11130 | }; | |
11131 | ||
11132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; | |
11133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11135 | { | |
11136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11137 | (arg1)->DelWordLeft(); | |
11138 | ||
11139 | wxPyEndAllowThreads(__tstate); | |
11140 | if (PyErr_Occurred()) SWIG_fail; | |
11141 | } | |
11142 | Py_INCREF(Py_None); resultobj = Py_None; | |
11143 | return resultobj; | |
11144 | fail: | |
11145 | return NULL; | |
11146 | } | |
11147 | ||
11148 | ||
11149 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
11150 | PyObject *resultobj = NULL; | |
11151 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11152 | PyObject * obj0 = 0 ; | |
11153 | char *kwnames[] = { | |
11154 | (char *) "self", NULL | |
11155 | }; | |
11156 | ||
11157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; | |
11158 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11159 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11160 | { | |
11161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11162 | (arg1)->DelWordRight(); | |
11163 | ||
11164 | wxPyEndAllowThreads(__tstate); | |
11165 | if (PyErr_Occurred()) SWIG_fail; | |
11166 | } | |
11167 | Py_INCREF(Py_None); resultobj = Py_None; | |
11168 | return resultobj; | |
11169 | fail: | |
11170 | return NULL; | |
11171 | } | |
11172 | ||
11173 | ||
11174 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { | |
11175 | PyObject *resultobj = NULL; | |
11176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11177 | PyObject * obj0 = 0 ; | |
11178 | char *kwnames[] = { | |
11179 | (char *) "self", NULL | |
11180 | }; | |
11181 | ||
11182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; | |
11183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11185 | { | |
11186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11187 | (arg1)->LineCut(); | |
11188 | ||
11189 | wxPyEndAllowThreads(__tstate); | |
11190 | if (PyErr_Occurred()) SWIG_fail; | |
11191 | } | |
11192 | Py_INCREF(Py_None); resultobj = Py_None; | |
11193 | return resultobj; | |
11194 | fail: | |
11195 | return NULL; | |
11196 | } | |
11197 | ||
11198 | ||
11199 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { | |
11200 | PyObject *resultobj = NULL; | |
11201 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11202 | PyObject * obj0 = 0 ; | |
11203 | char *kwnames[] = { | |
11204 | (char *) "self", NULL | |
11205 | }; | |
11206 | ||
11207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; | |
11208 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11209 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11210 | { | |
11211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11212 | (arg1)->LineDelete(); | |
11213 | ||
11214 | wxPyEndAllowThreads(__tstate); | |
11215 | if (PyErr_Occurred()) SWIG_fail; | |
11216 | } | |
11217 | Py_INCREF(Py_None); resultobj = Py_None; | |
11218 | return resultobj; | |
11219 | fail: | |
11220 | return NULL; | |
11221 | } | |
11222 | ||
11223 | ||
11224 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { | |
11225 | PyObject *resultobj = NULL; | |
11226 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11227 | PyObject * obj0 = 0 ; | |
11228 | char *kwnames[] = { | |
11229 | (char *) "self", NULL | |
11230 | }; | |
11231 | ||
11232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; | |
11233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11235 | { | |
11236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11237 | (arg1)->LineTranspose(); | |
11238 | ||
11239 | wxPyEndAllowThreads(__tstate); | |
11240 | if (PyErr_Occurred()) SWIG_fail; | |
11241 | } | |
11242 | Py_INCREF(Py_None); resultobj = Py_None; | |
11243 | return resultobj; | |
11244 | fail: | |
11245 | return NULL; | |
11246 | } | |
11247 | ||
11248 | ||
11249 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { | |
11250 | PyObject *resultobj = NULL; | |
11251 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11252 | PyObject * obj0 = 0 ; | |
11253 | char *kwnames[] = { | |
11254 | (char *) "self", NULL | |
11255 | }; | |
11256 | ||
11257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; | |
11258 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11259 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11260 | { | |
11261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11262 | (arg1)->LineDuplicate(); | |
11263 | ||
11264 | wxPyEndAllowThreads(__tstate); | |
11265 | if (PyErr_Occurred()) SWIG_fail; | |
11266 | } | |
11267 | Py_INCREF(Py_None); resultobj = Py_None; | |
11268 | return resultobj; | |
11269 | fail: | |
11270 | return NULL; | |
11271 | } | |
11272 | ||
11273 | ||
11274 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
11275 | PyObject *resultobj = NULL; | |
11276 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11277 | PyObject * obj0 = 0 ; | |
11278 | char *kwnames[] = { | |
11279 | (char *) "self", NULL | |
11280 | }; | |
11281 | ||
11282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; | |
11283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11285 | { | |
11286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11287 | (arg1)->LowerCase(); | |
11288 | ||
11289 | wxPyEndAllowThreads(__tstate); | |
11290 | if (PyErr_Occurred()) SWIG_fail; | |
11291 | } | |
11292 | Py_INCREF(Py_None); resultobj = Py_None; | |
11293 | return resultobj; | |
11294 | fail: | |
11295 | return NULL; | |
11296 | } | |
11297 | ||
11298 | ||
11299 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { | |
11300 | PyObject *resultobj = NULL; | |
11301 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11302 | PyObject * obj0 = 0 ; | |
11303 | char *kwnames[] = { | |
11304 | (char *) "self", NULL | |
11305 | }; | |
11306 | ||
11307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; | |
11308 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11309 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11310 | { | |
11311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11312 | (arg1)->UpperCase(); | |
11313 | ||
11314 | wxPyEndAllowThreads(__tstate); | |
11315 | if (PyErr_Occurred()) SWIG_fail; | |
11316 | } | |
11317 | Py_INCREF(Py_None); resultobj = Py_None; | |
11318 | return resultobj; | |
11319 | fail: | |
11320 | return NULL; | |
11321 | } | |
11322 | ||
11323 | ||
11324 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
11325 | PyObject *resultobj = NULL; | |
11326 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11327 | PyObject * obj0 = 0 ; | |
11328 | char *kwnames[] = { | |
11329 | (char *) "self", NULL | |
11330 | }; | |
11331 | ||
11332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; | |
11333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11335 | { | |
11336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11337 | (arg1)->LineScrollDown(); | |
11338 | ||
11339 | wxPyEndAllowThreads(__tstate); | |
11340 | if (PyErr_Occurred()) SWIG_fail; | |
11341 | } | |
11342 | Py_INCREF(Py_None); resultobj = Py_None; | |
11343 | return resultobj; | |
11344 | fail: | |
11345 | return NULL; | |
11346 | } | |
11347 | ||
11348 | ||
11349 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
11350 | PyObject *resultobj = NULL; | |
11351 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11352 | PyObject * obj0 = 0 ; | |
11353 | char *kwnames[] = { | |
11354 | (char *) "self", NULL | |
11355 | }; | |
11356 | ||
11357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; | |
11358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11360 | { | |
11361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11362 | (arg1)->LineScrollUp(); | |
11363 | ||
11364 | wxPyEndAllowThreads(__tstate); | |
11365 | if (PyErr_Occurred()) SWIG_fail; | |
11366 | } | |
11367 | Py_INCREF(Py_None); resultobj = Py_None; | |
11368 | return resultobj; | |
11369 | fail: | |
11370 | return NULL; | |
11371 | } | |
11372 | ||
11373 | ||
11374 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
11375 | PyObject *resultobj = NULL; | |
11376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11377 | PyObject * obj0 = 0 ; | |
11378 | char *kwnames[] = { | |
11379 | (char *) "self", NULL | |
11380 | }; | |
11381 | ||
11382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; | |
11383 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11384 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11385 | { | |
11386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11387 | (arg1)->DeleteBackNotLine(); | |
11388 | ||
11389 | wxPyEndAllowThreads(__tstate); | |
11390 | if (PyErr_Occurred()) SWIG_fail; | |
11391 | } | |
11392 | Py_INCREF(Py_None); resultobj = Py_None; | |
11393 | return resultobj; | |
11394 | fail: | |
11395 | return NULL; | |
11396 | } | |
11397 | ||
11398 | ||
11399 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { | |
11400 | PyObject *resultobj = NULL; | |
11401 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11402 | PyObject * obj0 = 0 ; | |
11403 | char *kwnames[] = { | |
11404 | (char *) "self", NULL | |
11405 | }; | |
11406 | ||
11407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; | |
11408 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11409 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11410 | { | |
11411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11412 | (arg1)->HomeDisplay(); | |
11413 | ||
11414 | wxPyEndAllowThreads(__tstate); | |
11415 | if (PyErr_Occurred()) SWIG_fail; | |
11416 | } | |
11417 | Py_INCREF(Py_None); resultobj = Py_None; | |
11418 | return resultobj; | |
11419 | fail: | |
11420 | return NULL; | |
11421 | } | |
11422 | ||
11423 | ||
11424 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11425 | PyObject *resultobj = NULL; | |
11426 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11427 | PyObject * obj0 = 0 ; | |
11428 | char *kwnames[] = { | |
11429 | (char *) "self", NULL | |
11430 | }; | |
11431 | ||
11432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; | |
11433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11435 | { | |
11436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11437 | (arg1)->HomeDisplayExtend(); | |
11438 | ||
11439 | wxPyEndAllowThreads(__tstate); | |
11440 | if (PyErr_Occurred()) SWIG_fail; | |
11441 | } | |
11442 | Py_INCREF(Py_None); resultobj = Py_None; | |
11443 | return resultobj; | |
11444 | fail: | |
11445 | return NULL; | |
11446 | } | |
11447 | ||
11448 | ||
11449 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { | |
11450 | PyObject *resultobj = NULL; | |
11451 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11452 | PyObject * obj0 = 0 ; | |
11453 | char *kwnames[] = { | |
11454 | (char *) "self", NULL | |
11455 | }; | |
11456 | ||
11457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; | |
11458 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11459 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11460 | { | |
11461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11462 | (arg1)->LineEndDisplay(); | |
11463 | ||
11464 | wxPyEndAllowThreads(__tstate); | |
11465 | if (PyErr_Occurred()) SWIG_fail; | |
11466 | } | |
11467 | Py_INCREF(Py_None); resultobj = Py_None; | |
11468 | return resultobj; | |
11469 | fail: | |
11470 | return NULL; | |
11471 | } | |
11472 | ||
11473 | ||
11474 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11475 | PyObject *resultobj = NULL; | |
11476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11477 | PyObject * obj0 = 0 ; | |
11478 | char *kwnames[] = { | |
11479 | (char *) "self", NULL | |
11480 | }; | |
11481 | ||
11482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; | |
11483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11485 | { | |
11486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11487 | (arg1)->LineEndDisplayExtend(); | |
11488 | ||
11489 | wxPyEndAllowThreads(__tstate); | |
11490 | if (PyErr_Occurred()) SWIG_fail; | |
11491 | } | |
11492 | Py_INCREF(Py_None); resultobj = Py_None; | |
11493 | return resultobj; | |
11494 | fail: | |
11495 | return NULL; | |
11496 | } | |
11497 | ||
11498 | ||
11499 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { | |
11500 | PyObject *resultobj = NULL; | |
11501 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11502 | PyObject * obj0 = 0 ; | |
11503 | char *kwnames[] = { | |
11504 | (char *) "self", NULL | |
11505 | }; | |
11506 | ||
11507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; | |
11508 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11509 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11510 | { | |
11511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11512 | (arg1)->HomeWrap(); | |
11513 | ||
11514 | wxPyEndAllowThreads(__tstate); | |
11515 | if (PyErr_Occurred()) SWIG_fail; | |
11516 | } | |
11517 | Py_INCREF(Py_None); resultobj = Py_None; | |
11518 | return resultobj; | |
11519 | fail: | |
11520 | return NULL; | |
11521 | } | |
11522 | ||
11523 | ||
11524 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11525 | PyObject *resultobj = NULL; | |
11526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11527 | PyObject * obj0 = 0 ; | |
11528 | char *kwnames[] = { | |
11529 | (char *) "self", NULL | |
11530 | }; | |
11531 | ||
11532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; | |
11533 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11534 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11535 | { | |
11536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11537 | (arg1)->HomeWrapExtend(); | |
11538 | ||
11539 | wxPyEndAllowThreads(__tstate); | |
11540 | if (PyErr_Occurred()) SWIG_fail; | |
11541 | } | |
11542 | Py_INCREF(Py_None); resultobj = Py_None; | |
11543 | return resultobj; | |
11544 | fail: | |
11545 | return NULL; | |
11546 | } | |
11547 | ||
11548 | ||
11549 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { | |
11550 | PyObject *resultobj = NULL; | |
11551 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11552 | PyObject * obj0 = 0 ; | |
11553 | char *kwnames[] = { | |
11554 | (char *) "self", NULL | |
11555 | }; | |
11556 | ||
11557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; | |
11558 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11559 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11560 | { | |
11561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11562 | (arg1)->LineEndWrap(); | |
11563 | ||
11564 | wxPyEndAllowThreads(__tstate); | |
11565 | if (PyErr_Occurred()) SWIG_fail; | |
11566 | } | |
11567 | Py_INCREF(Py_None); resultobj = Py_None; | |
11568 | return resultobj; | |
11569 | fail: | |
11570 | return NULL; | |
11571 | } | |
11572 | ||
11573 | ||
11574 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11575 | PyObject *resultobj = NULL; | |
11576 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11577 | PyObject * obj0 = 0 ; | |
11578 | char *kwnames[] = { | |
11579 | (char *) "self", NULL | |
11580 | }; | |
11581 | ||
11582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; | |
11583 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11584 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11585 | { | |
11586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11587 | (arg1)->LineEndWrapExtend(); | |
11588 | ||
11589 | wxPyEndAllowThreads(__tstate); | |
11590 | if (PyErr_Occurred()) SWIG_fail; | |
11591 | } | |
11592 | Py_INCREF(Py_None); resultobj = Py_None; | |
11593 | return resultobj; | |
11594 | fail: | |
11595 | return NULL; | |
11596 | } | |
11597 | ||
11598 | ||
11599 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { | |
11600 | PyObject *resultobj = NULL; | |
11601 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11602 | PyObject * obj0 = 0 ; | |
11603 | char *kwnames[] = { | |
11604 | (char *) "self", NULL | |
11605 | }; | |
11606 | ||
11607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) 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 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11612 | (arg1)->VCHomeWrap(); | |
11613 | ||
11614 | wxPyEndAllowThreads(__tstate); | |
11615 | if (PyErr_Occurred()) SWIG_fail; | |
11616 | } | |
11617 | Py_INCREF(Py_None); resultobj = Py_None; | |
11618 | return resultobj; | |
11619 | fail: | |
11620 | return NULL; | |
11621 | } | |
11622 | ||
11623 | ||
11624 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
11625 | PyObject *resultobj = NULL; | |
11626 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11627 | PyObject * obj0 = 0 ; | |
11628 | char *kwnames[] = { | |
11629 | (char *) "self", NULL | |
11630 | }; | |
11631 | ||
11632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; | |
11633 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11634 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11635 | { | |
11636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11637 | (arg1)->VCHomeWrapExtend(); | |
11638 | ||
11639 | wxPyEndAllowThreads(__tstate); | |
11640 | if (PyErr_Occurred()) SWIG_fail; | |
11641 | } | |
11642 | Py_INCREF(Py_None); resultobj = Py_None; | |
11643 | return resultobj; | |
11644 | fail: | |
11645 | return NULL; | |
11646 | } | |
11647 | ||
11648 | ||
11649 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { | |
11650 | PyObject *resultobj = NULL; | |
11651 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11652 | PyObject * obj0 = 0 ; | |
11653 | char *kwnames[] = { | |
11654 | (char *) "self", NULL | |
11655 | }; | |
11656 | ||
11657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; | |
11658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11660 | { | |
11661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11662 | (arg1)->LineCopy(); | |
11663 | ||
11664 | wxPyEndAllowThreads(__tstate); | |
11665 | if (PyErr_Occurred()) SWIG_fail; | |
11666 | } | |
11667 | Py_INCREF(Py_None); resultobj = Py_None; | |
11668 | return resultobj; | |
11669 | fail: | |
11670 | return NULL; | |
11671 | } | |
11672 | ||
11673 | ||
11674 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { | |
11675 | PyObject *resultobj = NULL; | |
11676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11677 | PyObject * obj0 = 0 ; | |
11678 | char *kwnames[] = { | |
11679 | (char *) "self", NULL | |
11680 | }; | |
11681 | ||
11682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; | |
11683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11685 | { | |
11686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11687 | (arg1)->MoveCaretInsideView(); | |
11688 | ||
11689 | wxPyEndAllowThreads(__tstate); | |
11690 | if (PyErr_Occurred()) SWIG_fail; | |
11691 | } | |
11692 | Py_INCREF(Py_None); resultobj = Py_None; | |
11693 | return resultobj; | |
11694 | fail: | |
11695 | return NULL; | |
11696 | } | |
11697 | ||
11698 | ||
11699 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
11700 | PyObject *resultobj = NULL; | |
11701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11702 | int arg2 ; | |
11703 | int result; | |
11704 | PyObject * obj0 = 0 ; | |
11705 | PyObject * obj1 = 0 ; | |
11706 | char *kwnames[] = { | |
11707 | (char *) "self",(char *) "line", NULL | |
11708 | }; | |
11709 | ||
11710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; | |
11711 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11712 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11713 | { | |
11714 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
11715 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11716 | } | |
11717 | { | |
11718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11719 | result = (int)(arg1)->LineLength(arg2); | |
11720 | ||
11721 | wxPyEndAllowThreads(__tstate); | |
11722 | if (PyErr_Occurred()) SWIG_fail; | |
11723 | } | |
11724 | { | |
11725 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
11726 | } | |
11727 | return resultobj; | |
11728 | fail: | |
11729 | return NULL; | |
11730 | } | |
11731 | ||
11732 | ||
11733 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { | |
11734 | PyObject *resultobj = NULL; | |
11735 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11736 | int arg2 ; | |
11737 | int arg3 ; | |
11738 | PyObject * obj0 = 0 ; | |
11739 | PyObject * obj1 = 0 ; | |
11740 | PyObject * obj2 = 0 ; | |
11741 | char *kwnames[] = { | |
11742 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL | |
11743 | }; | |
11744 | ||
11745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
11746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11748 | { | |
11749 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
11750 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11751 | } | |
11752 | { | |
11753 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
11754 | if (SWIG_arg_fail(3)) SWIG_fail; | |
11755 | } | |
11756 | { | |
11757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11758 | (arg1)->BraceHighlight(arg2,arg3); | |
11759 | ||
11760 | wxPyEndAllowThreads(__tstate); | |
11761 | if (PyErr_Occurred()) SWIG_fail; | |
11762 | } | |
11763 | Py_INCREF(Py_None); resultobj = Py_None; | |
11764 | return resultobj; | |
11765 | fail: | |
11766 | return NULL; | |
11767 | } | |
11768 | ||
11769 | ||
11770 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { | |
11771 | PyObject *resultobj = NULL; | |
11772 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11773 | int arg2 ; | |
11774 | PyObject * obj0 = 0 ; | |
11775 | PyObject * obj1 = 0 ; | |
11776 | char *kwnames[] = { | |
11777 | (char *) "self",(char *) "pos", NULL | |
11778 | }; | |
11779 | ||
11780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; | |
11781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11783 | { | |
11784 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
11785 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11786 | } | |
11787 | { | |
11788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11789 | (arg1)->BraceBadLight(arg2); | |
11790 | ||
11791 | wxPyEndAllowThreads(__tstate); | |
11792 | if (PyErr_Occurred()) SWIG_fail; | |
11793 | } | |
11794 | Py_INCREF(Py_None); resultobj = Py_None; | |
11795 | return resultobj; | |
11796 | fail: | |
11797 | return NULL; | |
11798 | } | |
11799 | ||
11800 | ||
11801 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { | |
11802 | PyObject *resultobj = NULL; | |
11803 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11804 | int arg2 ; | |
11805 | int result; | |
11806 | PyObject * obj0 = 0 ; | |
11807 | PyObject * obj1 = 0 ; | |
11808 | char *kwnames[] = { | |
11809 | (char *) "self",(char *) "pos", NULL | |
11810 | }; | |
11811 | ||
11812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; | |
11813 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11814 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11815 | { | |
11816 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
11817 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11818 | } | |
11819 | { | |
11820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11821 | result = (int)(arg1)->BraceMatch(arg2); | |
11822 | ||
11823 | wxPyEndAllowThreads(__tstate); | |
11824 | if (PyErr_Occurred()) SWIG_fail; | |
11825 | } | |
11826 | { | |
11827 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
11828 | } | |
11829 | return resultobj; | |
11830 | fail: | |
11831 | return NULL; | |
11832 | } | |
11833 | ||
11834 | ||
11835 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { | |
11836 | PyObject *resultobj = NULL; | |
11837 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11838 | bool result; | |
11839 | PyObject * obj0 = 0 ; | |
11840 | char *kwnames[] = { | |
11841 | (char *) "self", NULL | |
11842 | }; | |
11843 | ||
11844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; | |
11845 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11846 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11847 | { | |
11848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11849 | result = (bool)(arg1)->GetViewEOL(); | |
11850 | ||
11851 | wxPyEndAllowThreads(__tstate); | |
11852 | if (PyErr_Occurred()) SWIG_fail; | |
11853 | } | |
11854 | { | |
11855 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11856 | } | |
11857 | return resultobj; | |
11858 | fail: | |
11859 | return NULL; | |
11860 | } | |
11861 | ||
11862 | ||
11863 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { | |
11864 | PyObject *resultobj = NULL; | |
11865 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11866 | bool arg2 ; | |
11867 | PyObject * obj0 = 0 ; | |
11868 | PyObject * obj1 = 0 ; | |
11869 | char *kwnames[] = { | |
11870 | (char *) "self",(char *) "visible", NULL | |
11871 | }; | |
11872 | ||
11873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; | |
11874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11876 | { | |
11877 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
11878 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11879 | } | |
11880 | { | |
11881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11882 | (arg1)->SetViewEOL(arg2); | |
11883 | ||
11884 | wxPyEndAllowThreads(__tstate); | |
11885 | if (PyErr_Occurred()) SWIG_fail; | |
11886 | } | |
11887 | Py_INCREF(Py_None); resultobj = Py_None; | |
11888 | return resultobj; | |
11889 | fail: | |
11890 | return NULL; | |
11891 | } | |
11892 | ||
11893 | ||
11894 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { | |
11895 | PyObject *resultobj = NULL; | |
11896 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11897 | void *result; | |
11898 | PyObject * obj0 = 0 ; | |
11899 | char *kwnames[] = { | |
11900 | (char *) "self", NULL | |
11901 | }; | |
11902 | ||
11903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; | |
11904 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11905 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11906 | { | |
11907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11908 | result = (void *)(arg1)->GetDocPointer(); | |
11909 | ||
11910 | wxPyEndAllowThreads(__tstate); | |
11911 | if (PyErr_Occurred()) SWIG_fail; | |
11912 | } | |
11913 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
11914 | return resultobj; | |
11915 | fail: | |
11916 | return NULL; | |
11917 | } | |
11918 | ||
11919 | ||
11920 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { | |
11921 | PyObject *resultobj = NULL; | |
11922 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11923 | void *arg2 = (void *) 0 ; | |
11924 | PyObject * obj0 = 0 ; | |
11925 | PyObject * obj1 = 0 ; | |
11926 | char *kwnames[] = { | |
11927 | (char *) "self",(char *) "docPointer", NULL | |
11928 | }; | |
11929 | ||
11930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; | |
11931 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11933 | { | |
11934 | if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
11935 | SWIG_arg_fail(2);SWIG_fail; | |
11936 | } | |
11937 | } | |
11938 | { | |
11939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11940 | (arg1)->SetDocPointer(arg2); | |
11941 | ||
11942 | wxPyEndAllowThreads(__tstate); | |
11943 | if (PyErr_Occurred()) SWIG_fail; | |
11944 | } | |
11945 | Py_INCREF(Py_None); resultobj = Py_None; | |
11946 | return resultobj; | |
11947 | fail: | |
11948 | return NULL; | |
11949 | } | |
11950 | ||
11951 | ||
11952 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
11953 | PyObject *resultobj = NULL; | |
11954 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11955 | int arg2 ; | |
11956 | PyObject * obj0 = 0 ; | |
11957 | PyObject * obj1 = 0 ; | |
11958 | char *kwnames[] = { | |
11959 | (char *) "self",(char *) "mask", NULL | |
11960 | }; | |
11961 | ||
11962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; | |
11963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11965 | { | |
11966 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
11967 | if (SWIG_arg_fail(2)) SWIG_fail; | |
11968 | } | |
11969 | { | |
11970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11971 | (arg1)->SetModEventMask(arg2); | |
11972 | ||
11973 | wxPyEndAllowThreads(__tstate); | |
11974 | if (PyErr_Occurred()) SWIG_fail; | |
11975 | } | |
11976 | Py_INCREF(Py_None); resultobj = Py_None; | |
11977 | return resultobj; | |
11978 | fail: | |
11979 | return NULL; | |
11980 | } | |
11981 | ||
11982 | ||
11983 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
11984 | PyObject *resultobj = NULL; | |
11985 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
11986 | int result; | |
11987 | PyObject * obj0 = 0 ; | |
11988 | char *kwnames[] = { | |
11989 | (char *) "self", NULL | |
11990 | }; | |
11991 | ||
11992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; | |
11993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11995 | { | |
11996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11997 | result = (int)(arg1)->GetEdgeColumn(); | |
11998 | ||
11999 | wxPyEndAllowThreads(__tstate); | |
12000 | if (PyErr_Occurred()) SWIG_fail; | |
12001 | } | |
12002 | { | |
12003 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12004 | } | |
12005 | return resultobj; | |
12006 | fail: | |
12007 | return NULL; | |
12008 | } | |
12009 | ||
12010 | ||
12011 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
12012 | PyObject *resultobj = NULL; | |
12013 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12014 | int arg2 ; | |
12015 | PyObject * obj0 = 0 ; | |
12016 | PyObject * obj1 = 0 ; | |
12017 | char *kwnames[] = { | |
12018 | (char *) "self",(char *) "column", NULL | |
12019 | }; | |
12020 | ||
12021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; | |
12022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12024 | { | |
12025 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12026 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12027 | } | |
12028 | { | |
12029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12030 | (arg1)->SetEdgeColumn(arg2); | |
12031 | ||
12032 | wxPyEndAllowThreads(__tstate); | |
12033 | if (PyErr_Occurred()) SWIG_fail; | |
12034 | } | |
12035 | Py_INCREF(Py_None); resultobj = Py_None; | |
12036 | return resultobj; | |
12037 | fail: | |
12038 | return NULL; | |
12039 | } | |
12040 | ||
12041 | ||
12042 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
12043 | PyObject *resultobj = NULL; | |
12044 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12045 | int result; | |
12046 | PyObject * obj0 = 0 ; | |
12047 | char *kwnames[] = { | |
12048 | (char *) "self", NULL | |
12049 | }; | |
12050 | ||
12051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; | |
12052 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12053 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12054 | { | |
12055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12056 | result = (int)(arg1)->GetEdgeMode(); | |
12057 | ||
12058 | wxPyEndAllowThreads(__tstate); | |
12059 | if (PyErr_Occurred()) SWIG_fail; | |
12060 | } | |
12061 | { | |
12062 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12063 | } | |
12064 | return resultobj; | |
12065 | fail: | |
12066 | return NULL; | |
12067 | } | |
12068 | ||
12069 | ||
12070 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
12071 | PyObject *resultobj = NULL; | |
12072 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12073 | int arg2 ; | |
12074 | PyObject * obj0 = 0 ; | |
12075 | PyObject * obj1 = 0 ; | |
12076 | char *kwnames[] = { | |
12077 | (char *) "self",(char *) "mode", NULL | |
12078 | }; | |
12079 | ||
12080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; | |
12081 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12082 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12083 | { | |
12084 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12085 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12086 | } | |
12087 | { | |
12088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12089 | (arg1)->SetEdgeMode(arg2); | |
12090 | ||
12091 | wxPyEndAllowThreads(__tstate); | |
12092 | if (PyErr_Occurred()) SWIG_fail; | |
12093 | } | |
12094 | Py_INCREF(Py_None); resultobj = Py_None; | |
12095 | return resultobj; | |
12096 | fail: | |
12097 | return NULL; | |
12098 | } | |
12099 | ||
12100 | ||
12101 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
12102 | PyObject *resultobj = NULL; | |
12103 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12104 | wxColour result; | |
12105 | PyObject * obj0 = 0 ; | |
12106 | char *kwnames[] = { | |
12107 | (char *) "self", NULL | |
12108 | }; | |
12109 | ||
12110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; | |
12111 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12112 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12113 | { | |
12114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12115 | result = (arg1)->GetEdgeColour(); | |
12116 | ||
12117 | wxPyEndAllowThreads(__tstate); | |
12118 | if (PyErr_Occurred()) SWIG_fail; | |
12119 | } | |
12120 | { | |
12121 | wxColour * resultptr; | |
12122 | resultptr = new wxColour(static_cast<wxColour & >(result)); | |
12123 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
12124 | } | |
12125 | return resultobj; | |
12126 | fail: | |
12127 | return NULL; | |
12128 | } | |
12129 | ||
12130 | ||
12131 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
12132 | PyObject *resultobj = NULL; | |
12133 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12134 | wxColour *arg2 = 0 ; | |
12135 | wxColour temp2 ; | |
12136 | PyObject * obj0 = 0 ; | |
12137 | PyObject * obj1 = 0 ; | |
12138 | char *kwnames[] = { | |
12139 | (char *) "self",(char *) "edgeColour", NULL | |
12140 | }; | |
12141 | ||
12142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; | |
12143 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12144 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12145 | { | |
12146 | arg2 = &temp2; | |
12147 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12148 | } | |
12149 | { | |
12150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12151 | (arg1)->SetEdgeColour((wxColour const &)*arg2); | |
12152 | ||
12153 | wxPyEndAllowThreads(__tstate); | |
12154 | if (PyErr_Occurred()) SWIG_fail; | |
12155 | } | |
12156 | Py_INCREF(Py_None); resultobj = Py_None; | |
12157 | return resultobj; | |
12158 | fail: | |
12159 | return NULL; | |
12160 | } | |
12161 | ||
12162 | ||
12163 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { | |
12164 | PyObject *resultobj = NULL; | |
12165 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12166 | PyObject * obj0 = 0 ; | |
12167 | char *kwnames[] = { | |
12168 | (char *) "self", NULL | |
12169 | }; | |
12170 | ||
12171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; | |
12172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12174 | { | |
12175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12176 | (arg1)->SearchAnchor(); | |
12177 | ||
12178 | wxPyEndAllowThreads(__tstate); | |
12179 | if (PyErr_Occurred()) SWIG_fail; | |
12180 | } | |
12181 | Py_INCREF(Py_None); resultobj = Py_None; | |
12182 | return resultobj; | |
12183 | fail: | |
12184 | return NULL; | |
12185 | } | |
12186 | ||
12187 | ||
12188 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { | |
12189 | PyObject *resultobj = NULL; | |
12190 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12191 | int arg2 ; | |
12192 | wxString *arg3 = 0 ; | |
12193 | int result; | |
12194 | bool temp3 = false ; | |
12195 | PyObject * obj0 = 0 ; | |
12196 | PyObject * obj1 = 0 ; | |
12197 | PyObject * obj2 = 0 ; | |
12198 | char *kwnames[] = { | |
12199 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
12200 | }; | |
12201 | ||
12202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12205 | { | |
12206 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12207 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12208 | } | |
12209 | { | |
12210 | arg3 = wxString_in_helper(obj2); | |
12211 | if (arg3 == NULL) SWIG_fail; | |
12212 | temp3 = true; | |
12213 | } | |
12214 | { | |
12215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12216 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); | |
12217 | ||
12218 | wxPyEndAllowThreads(__tstate); | |
12219 | if (PyErr_Occurred()) SWIG_fail; | |
12220 | } | |
12221 | { | |
12222 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12223 | } | |
12224 | { | |
12225 | if (temp3) | |
12226 | delete arg3; | |
12227 | } | |
12228 | return resultobj; | |
12229 | fail: | |
12230 | { | |
12231 | if (temp3) | |
12232 | delete arg3; | |
12233 | } | |
12234 | return NULL; | |
12235 | } | |
12236 | ||
12237 | ||
12238 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
12239 | PyObject *resultobj = NULL; | |
12240 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12241 | int arg2 ; | |
12242 | wxString *arg3 = 0 ; | |
12243 | int result; | |
12244 | bool temp3 = false ; | |
12245 | PyObject * obj0 = 0 ; | |
12246 | PyObject * obj1 = 0 ; | |
12247 | PyObject * obj2 = 0 ; | |
12248 | char *kwnames[] = { | |
12249 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
12250 | }; | |
12251 | ||
12252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12253 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12254 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12255 | { | |
12256 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12257 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12258 | } | |
12259 | { | |
12260 | arg3 = wxString_in_helper(obj2); | |
12261 | if (arg3 == NULL) SWIG_fail; | |
12262 | temp3 = true; | |
12263 | } | |
12264 | { | |
12265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12266 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); | |
12267 | ||
12268 | wxPyEndAllowThreads(__tstate); | |
12269 | if (PyErr_Occurred()) SWIG_fail; | |
12270 | } | |
12271 | { | |
12272 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12273 | } | |
12274 | { | |
12275 | if (temp3) | |
12276 | delete arg3; | |
12277 | } | |
12278 | return resultobj; | |
12279 | fail: | |
12280 | { | |
12281 | if (temp3) | |
12282 | delete arg3; | |
12283 | } | |
12284 | return NULL; | |
12285 | } | |
12286 | ||
12287 | ||
12288 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { | |
12289 | PyObject *resultobj = NULL; | |
12290 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12291 | int result; | |
12292 | PyObject * obj0 = 0 ; | |
12293 | char *kwnames[] = { | |
12294 | (char *) "self", NULL | |
12295 | }; | |
12296 | ||
12297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; | |
12298 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12299 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12300 | { | |
12301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12302 | result = (int)(arg1)->LinesOnScreen(); | |
12303 | ||
12304 | wxPyEndAllowThreads(__tstate); | |
12305 | if (PyErr_Occurred()) SWIG_fail; | |
12306 | } | |
12307 | { | |
12308 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12309 | } | |
12310 | return resultobj; | |
12311 | fail: | |
12312 | return NULL; | |
12313 | } | |
12314 | ||
12315 | ||
12316 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
12317 | PyObject *resultobj = NULL; | |
12318 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12319 | bool arg2 ; | |
12320 | PyObject * obj0 = 0 ; | |
12321 | PyObject * obj1 = 0 ; | |
12322 | char *kwnames[] = { | |
12323 | (char *) "self",(char *) "allowPopUp", NULL | |
12324 | }; | |
12325 | ||
12326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; | |
12327 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12328 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12329 | { | |
12330 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
12331 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12332 | } | |
12333 | { | |
12334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12335 | (arg1)->UsePopUp(arg2); | |
12336 | ||
12337 | wxPyEndAllowThreads(__tstate); | |
12338 | if (PyErr_Occurred()) SWIG_fail; | |
12339 | } | |
12340 | Py_INCREF(Py_None); resultobj = Py_None; | |
12341 | return resultobj; | |
12342 | fail: | |
12343 | return NULL; | |
12344 | } | |
12345 | ||
12346 | ||
12347 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { | |
12348 | PyObject *resultobj = NULL; | |
12349 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12350 | bool result; | |
12351 | PyObject * obj0 = 0 ; | |
12352 | char *kwnames[] = { | |
12353 | (char *) "self", NULL | |
12354 | }; | |
12355 | ||
12356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; | |
12357 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12358 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12359 | { | |
12360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12361 | result = (bool)(arg1)->SelectionIsRectangle(); | |
12362 | ||
12363 | wxPyEndAllowThreads(__tstate); | |
12364 | if (PyErr_Occurred()) SWIG_fail; | |
12365 | } | |
12366 | { | |
12367 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12368 | } | |
12369 | return resultobj; | |
12370 | fail: | |
12371 | return NULL; | |
12372 | } | |
12373 | ||
12374 | ||
12375 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { | |
12376 | PyObject *resultobj = NULL; | |
12377 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12378 | int arg2 ; | |
12379 | PyObject * obj0 = 0 ; | |
12380 | PyObject * obj1 = 0 ; | |
12381 | char *kwnames[] = { | |
12382 | (char *) "self",(char *) "zoom", NULL | |
12383 | }; | |
12384 | ||
12385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; | |
12386 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12387 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12388 | { | |
12389 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12390 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12391 | } | |
12392 | { | |
12393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12394 | (arg1)->SetZoom(arg2); | |
12395 | ||
12396 | wxPyEndAllowThreads(__tstate); | |
12397 | if (PyErr_Occurred()) SWIG_fail; | |
12398 | } | |
12399 | Py_INCREF(Py_None); resultobj = Py_None; | |
12400 | return resultobj; | |
12401 | fail: | |
12402 | return NULL; | |
12403 | } | |
12404 | ||
12405 | ||
12406 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { | |
12407 | PyObject *resultobj = NULL; | |
12408 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12409 | int result; | |
12410 | PyObject * obj0 = 0 ; | |
12411 | char *kwnames[] = { | |
12412 | (char *) "self", NULL | |
12413 | }; | |
12414 | ||
12415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; | |
12416 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12417 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12418 | { | |
12419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12420 | result = (int)(arg1)->GetZoom(); | |
12421 | ||
12422 | wxPyEndAllowThreads(__tstate); | |
12423 | if (PyErr_Occurred()) SWIG_fail; | |
12424 | } | |
12425 | { | |
12426 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12427 | } | |
12428 | return resultobj; | |
12429 | fail: | |
12430 | return NULL; | |
12431 | } | |
12432 | ||
12433 | ||
12434 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { | |
12435 | PyObject *resultobj = NULL; | |
12436 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12437 | void *result; | |
12438 | PyObject * obj0 = 0 ; | |
12439 | char *kwnames[] = { | |
12440 | (char *) "self", NULL | |
12441 | }; | |
12442 | ||
12443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; | |
12444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12446 | { | |
12447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12448 | result = (void *)(arg1)->CreateDocument(); | |
12449 | ||
12450 | wxPyEndAllowThreads(__tstate); | |
12451 | if (PyErr_Occurred()) SWIG_fail; | |
12452 | } | |
12453 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
12454 | return resultobj; | |
12455 | fail: | |
12456 | return NULL; | |
12457 | } | |
12458 | ||
12459 | ||
12460 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { | |
12461 | PyObject *resultobj = NULL; | |
12462 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12463 | void *arg2 = (void *) 0 ; | |
12464 | PyObject * obj0 = 0 ; | |
12465 | PyObject * obj1 = 0 ; | |
12466 | char *kwnames[] = { | |
12467 | (char *) "self",(char *) "docPointer", NULL | |
12468 | }; | |
12469 | ||
12470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; | |
12471 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12472 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12473 | { | |
12474 | if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12475 | SWIG_arg_fail(2);SWIG_fail; | |
12476 | } | |
12477 | } | |
12478 | { | |
12479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12480 | (arg1)->AddRefDocument(arg2); | |
12481 | ||
12482 | wxPyEndAllowThreads(__tstate); | |
12483 | if (PyErr_Occurred()) SWIG_fail; | |
12484 | } | |
12485 | Py_INCREF(Py_None); resultobj = Py_None; | |
12486 | return resultobj; | |
12487 | fail: | |
12488 | return NULL; | |
12489 | } | |
12490 | ||
12491 | ||
12492 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { | |
12493 | PyObject *resultobj = NULL; | |
12494 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12495 | void *arg2 = (void *) 0 ; | |
12496 | PyObject * obj0 = 0 ; | |
12497 | PyObject * obj1 = 0 ; | |
12498 | char *kwnames[] = { | |
12499 | (char *) "self",(char *) "docPointer", NULL | |
12500 | }; | |
12501 | ||
12502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; | |
12503 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12504 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12505 | { | |
12506 | if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
12507 | SWIG_arg_fail(2);SWIG_fail; | |
12508 | } | |
12509 | } | |
12510 | { | |
12511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12512 | (arg1)->ReleaseDocument(arg2); | |
12513 | ||
12514 | wxPyEndAllowThreads(__tstate); | |
12515 | if (PyErr_Occurred()) SWIG_fail; | |
12516 | } | |
12517 | Py_INCREF(Py_None); resultobj = Py_None; | |
12518 | return resultobj; | |
12519 | fail: | |
12520 | return NULL; | |
12521 | } | |
12522 | ||
12523 | ||
12524 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { | |
12525 | PyObject *resultobj = NULL; | |
12526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12527 | int result; | |
12528 | PyObject * obj0 = 0 ; | |
12529 | char *kwnames[] = { | |
12530 | (char *) "self", NULL | |
12531 | }; | |
12532 | ||
12533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; | |
12534 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12535 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12536 | { | |
12537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12538 | result = (int)(arg1)->GetModEventMask(); | |
12539 | ||
12540 | wxPyEndAllowThreads(__tstate); | |
12541 | if (PyErr_Occurred()) SWIG_fail; | |
12542 | } | |
12543 | { | |
12544 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12545 | } | |
12546 | return resultobj; | |
12547 | fail: | |
12548 | return NULL; | |
12549 | } | |
12550 | ||
12551 | ||
12552 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12553 | PyObject *resultobj = NULL; | |
12554 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12555 | bool arg2 ; | |
12556 | PyObject * obj0 = 0 ; | |
12557 | PyObject * obj1 = 0 ; | |
12558 | char *kwnames[] = { | |
12559 | (char *) "self",(char *) "focus", NULL | |
12560 | }; | |
12561 | ||
12562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; | |
12563 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12564 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12565 | { | |
12566 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
12567 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12568 | } | |
12569 | { | |
12570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12571 | (arg1)->SetSTCFocus(arg2); | |
12572 | ||
12573 | wxPyEndAllowThreads(__tstate); | |
12574 | if (PyErr_Occurred()) SWIG_fail; | |
12575 | } | |
12576 | Py_INCREF(Py_None); resultobj = Py_None; | |
12577 | return resultobj; | |
12578 | fail: | |
12579 | return NULL; | |
12580 | } | |
12581 | ||
12582 | ||
12583 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12584 | PyObject *resultobj = NULL; | |
12585 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12586 | bool result; | |
12587 | PyObject * obj0 = 0 ; | |
12588 | char *kwnames[] = { | |
12589 | (char *) "self", NULL | |
12590 | }; | |
12591 | ||
12592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; | |
12593 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12594 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12595 | { | |
12596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12597 | result = (bool)(arg1)->GetSTCFocus(); | |
12598 | ||
12599 | wxPyEndAllowThreads(__tstate); | |
12600 | if (PyErr_Occurred()) SWIG_fail; | |
12601 | } | |
12602 | { | |
12603 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12604 | } | |
12605 | return resultobj; | |
12606 | fail: | |
12607 | return NULL; | |
12608 | } | |
12609 | ||
12610 | ||
12611 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12612 | PyObject *resultobj = NULL; | |
12613 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12614 | int arg2 ; | |
12615 | PyObject * obj0 = 0 ; | |
12616 | PyObject * obj1 = 0 ; | |
12617 | char *kwnames[] = { | |
12618 | (char *) "self",(char *) "statusCode", NULL | |
12619 | }; | |
12620 | ||
12621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; | |
12622 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12623 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12624 | { | |
12625 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12626 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12627 | } | |
12628 | { | |
12629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12630 | (arg1)->SetStatus(arg2); | |
12631 | ||
12632 | wxPyEndAllowThreads(__tstate); | |
12633 | if (PyErr_Occurred()) SWIG_fail; | |
12634 | } | |
12635 | Py_INCREF(Py_None); resultobj = Py_None; | |
12636 | return resultobj; | |
12637 | fail: | |
12638 | return NULL; | |
12639 | } | |
12640 | ||
12641 | ||
12642 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { | |
12643 | PyObject *resultobj = NULL; | |
12644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12645 | int result; | |
12646 | PyObject * obj0 = 0 ; | |
12647 | char *kwnames[] = { | |
12648 | (char *) "self", NULL | |
12649 | }; | |
12650 | ||
12651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; | |
12652 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12653 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12654 | { | |
12655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12656 | result = (int)(arg1)->GetStatus(); | |
12657 | ||
12658 | wxPyEndAllowThreads(__tstate); | |
12659 | if (PyErr_Occurred()) SWIG_fail; | |
12660 | } | |
12661 | { | |
12662 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12663 | } | |
12664 | return resultobj; | |
12665 | fail: | |
12666 | return NULL; | |
12667 | } | |
12668 | ||
12669 | ||
12670 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { | |
12671 | PyObject *resultobj = NULL; | |
12672 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12673 | bool arg2 ; | |
12674 | PyObject * obj0 = 0 ; | |
12675 | PyObject * obj1 = 0 ; | |
12676 | char *kwnames[] = { | |
12677 | (char *) "self",(char *) "captures", NULL | |
12678 | }; | |
12679 | ||
12680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; | |
12681 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12682 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12683 | { | |
12684 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
12685 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12686 | } | |
12687 | { | |
12688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12689 | (arg1)->SetMouseDownCaptures(arg2); | |
12690 | ||
12691 | wxPyEndAllowThreads(__tstate); | |
12692 | if (PyErr_Occurred()) SWIG_fail; | |
12693 | } | |
12694 | Py_INCREF(Py_None); resultobj = Py_None; | |
12695 | return resultobj; | |
12696 | fail: | |
12697 | return NULL; | |
12698 | } | |
12699 | ||
12700 | ||
12701 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { | |
12702 | PyObject *resultobj = NULL; | |
12703 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12704 | bool result; | |
12705 | PyObject * obj0 = 0 ; | |
12706 | char *kwnames[] = { | |
12707 | (char *) "self", NULL | |
12708 | }; | |
12709 | ||
12710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; | |
12711 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12712 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12713 | { | |
12714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12715 | result = (bool)(arg1)->GetMouseDownCaptures(); | |
12716 | ||
12717 | wxPyEndAllowThreads(__tstate); | |
12718 | if (PyErr_Occurred()) SWIG_fail; | |
12719 | } | |
12720 | { | |
12721 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12722 | } | |
12723 | return resultobj; | |
12724 | fail: | |
12725 | return NULL; | |
12726 | } | |
12727 | ||
12728 | ||
12729 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { | |
12730 | PyObject *resultobj = NULL; | |
12731 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12732 | int arg2 ; | |
12733 | PyObject * obj0 = 0 ; | |
12734 | PyObject * obj1 = 0 ; | |
12735 | char *kwnames[] = { | |
12736 | (char *) "self",(char *) "cursorType", NULL | |
12737 | }; | |
12738 | ||
12739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; | |
12740 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12741 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12742 | { | |
12743 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12744 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12745 | } | |
12746 | { | |
12747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12748 | (arg1)->SetSTCCursor(arg2); | |
12749 | ||
12750 | wxPyEndAllowThreads(__tstate); | |
12751 | if (PyErr_Occurred()) SWIG_fail; | |
12752 | } | |
12753 | Py_INCREF(Py_None); resultobj = Py_None; | |
12754 | return resultobj; | |
12755 | fail: | |
12756 | return NULL; | |
12757 | } | |
12758 | ||
12759 | ||
12760 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { | |
12761 | PyObject *resultobj = NULL; | |
12762 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12763 | int result; | |
12764 | PyObject * obj0 = 0 ; | |
12765 | char *kwnames[] = { | |
12766 | (char *) "self", NULL | |
12767 | }; | |
12768 | ||
12769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; | |
12770 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12771 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12772 | { | |
12773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12774 | result = (int)(arg1)->GetSTCCursor(); | |
12775 | ||
12776 | wxPyEndAllowThreads(__tstate); | |
12777 | if (PyErr_Occurred()) SWIG_fail; | |
12778 | } | |
12779 | { | |
12780 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12781 | } | |
12782 | return resultobj; | |
12783 | fail: | |
12784 | return NULL; | |
12785 | } | |
12786 | ||
12787 | ||
12788 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { | |
12789 | PyObject *resultobj = NULL; | |
12790 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12791 | int arg2 ; | |
12792 | PyObject * obj0 = 0 ; | |
12793 | PyObject * obj1 = 0 ; | |
12794 | char *kwnames[] = { | |
12795 | (char *) "self",(char *) "symbol", NULL | |
12796 | }; | |
12797 | ||
12798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; | |
12799 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12800 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12801 | { | |
12802 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12803 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12804 | } | |
12805 | { | |
12806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12807 | (arg1)->SetControlCharSymbol(arg2); | |
12808 | ||
12809 | wxPyEndAllowThreads(__tstate); | |
12810 | if (PyErr_Occurred()) SWIG_fail; | |
12811 | } | |
12812 | Py_INCREF(Py_None); resultobj = Py_None; | |
12813 | return resultobj; | |
12814 | fail: | |
12815 | return NULL; | |
12816 | } | |
12817 | ||
12818 | ||
12819 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { | |
12820 | PyObject *resultobj = NULL; | |
12821 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12822 | int result; | |
12823 | PyObject * obj0 = 0 ; | |
12824 | char *kwnames[] = { | |
12825 | (char *) "self", NULL | |
12826 | }; | |
12827 | ||
12828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; | |
12829 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12830 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12831 | { | |
12832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12833 | result = (int)(arg1)->GetControlCharSymbol(); | |
12834 | ||
12835 | wxPyEndAllowThreads(__tstate); | |
12836 | if (PyErr_Occurred()) SWIG_fail; | |
12837 | } | |
12838 | { | |
12839 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
12840 | } | |
12841 | return resultobj; | |
12842 | fail: | |
12843 | return NULL; | |
12844 | } | |
12845 | ||
12846 | ||
12847 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
12848 | PyObject *resultobj = NULL; | |
12849 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12850 | PyObject * obj0 = 0 ; | |
12851 | char *kwnames[] = { | |
12852 | (char *) "self", NULL | |
12853 | }; | |
12854 | ||
12855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; | |
12856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12858 | { | |
12859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12860 | (arg1)->WordPartLeft(); | |
12861 | ||
12862 | wxPyEndAllowThreads(__tstate); | |
12863 | if (PyErr_Occurred()) SWIG_fail; | |
12864 | } | |
12865 | Py_INCREF(Py_None); resultobj = Py_None; | |
12866 | return resultobj; | |
12867 | fail: | |
12868 | return NULL; | |
12869 | } | |
12870 | ||
12871 | ||
12872 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
12873 | PyObject *resultobj = NULL; | |
12874 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12875 | PyObject * obj0 = 0 ; | |
12876 | char *kwnames[] = { | |
12877 | (char *) "self", NULL | |
12878 | }; | |
12879 | ||
12880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; | |
12881 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12882 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12883 | { | |
12884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12885 | (arg1)->WordPartLeftExtend(); | |
12886 | ||
12887 | wxPyEndAllowThreads(__tstate); | |
12888 | if (PyErr_Occurred()) SWIG_fail; | |
12889 | } | |
12890 | Py_INCREF(Py_None); resultobj = Py_None; | |
12891 | return resultobj; | |
12892 | fail: | |
12893 | return NULL; | |
12894 | } | |
12895 | ||
12896 | ||
12897 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
12898 | PyObject *resultobj = NULL; | |
12899 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12900 | PyObject * obj0 = 0 ; | |
12901 | char *kwnames[] = { | |
12902 | (char *) "self", NULL | |
12903 | }; | |
12904 | ||
12905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; | |
12906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12908 | { | |
12909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12910 | (arg1)->WordPartRight(); | |
12911 | ||
12912 | wxPyEndAllowThreads(__tstate); | |
12913 | if (PyErr_Occurred()) SWIG_fail; | |
12914 | } | |
12915 | Py_INCREF(Py_None); resultobj = Py_None; | |
12916 | return resultobj; | |
12917 | fail: | |
12918 | return NULL; | |
12919 | } | |
12920 | ||
12921 | ||
12922 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
12923 | PyObject *resultobj = NULL; | |
12924 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12925 | PyObject * obj0 = 0 ; | |
12926 | char *kwnames[] = { | |
12927 | (char *) "self", NULL | |
12928 | }; | |
12929 | ||
12930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; | |
12931 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12933 | { | |
12934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12935 | (arg1)->WordPartRightExtend(); | |
12936 | ||
12937 | wxPyEndAllowThreads(__tstate); | |
12938 | if (PyErr_Occurred()) SWIG_fail; | |
12939 | } | |
12940 | Py_INCREF(Py_None); resultobj = Py_None; | |
12941 | return resultobj; | |
12942 | fail: | |
12943 | return NULL; | |
12944 | } | |
12945 | ||
12946 | ||
12947 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
12948 | PyObject *resultobj = NULL; | |
12949 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12950 | int arg2 ; | |
12951 | int arg3 ; | |
12952 | PyObject * obj0 = 0 ; | |
12953 | PyObject * obj1 = 0 ; | |
12954 | PyObject * obj2 = 0 ; | |
12955 | char *kwnames[] = { | |
12956 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL | |
12957 | }; | |
12958 | ||
12959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
12960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12962 | { | |
12963 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
12964 | if (SWIG_arg_fail(2)) SWIG_fail; | |
12965 | } | |
12966 | { | |
12967 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
12968 | if (SWIG_arg_fail(3)) SWIG_fail; | |
12969 | } | |
12970 | { | |
12971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12972 | (arg1)->SetVisiblePolicy(arg2,arg3); | |
12973 | ||
12974 | wxPyEndAllowThreads(__tstate); | |
12975 | if (PyErr_Occurred()) SWIG_fail; | |
12976 | } | |
12977 | Py_INCREF(Py_None); resultobj = Py_None; | |
12978 | return resultobj; | |
12979 | fail: | |
12980 | return NULL; | |
12981 | } | |
12982 | ||
12983 | ||
12984 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { | |
12985 | PyObject *resultobj = NULL; | |
12986 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
12987 | PyObject * obj0 = 0 ; | |
12988 | char *kwnames[] = { | |
12989 | (char *) "self", NULL | |
12990 | }; | |
12991 | ||
12992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) 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 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12997 | (arg1)->DelLineLeft(); | |
12998 | ||
12999 | wxPyEndAllowThreads(__tstate); | |
13000 | if (PyErr_Occurred()) SWIG_fail; | |
13001 | } | |
13002 | Py_INCREF(Py_None); resultobj = Py_None; | |
13003 | return resultobj; | |
13004 | fail: | |
13005 | return NULL; | |
13006 | } | |
13007 | ||
13008 | ||
13009 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { | |
13010 | PyObject *resultobj = NULL; | |
13011 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13012 | PyObject * obj0 = 0 ; | |
13013 | char *kwnames[] = { | |
13014 | (char *) "self", NULL | |
13015 | }; | |
13016 | ||
13017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; | |
13018 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13019 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13020 | { | |
13021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13022 | (arg1)->DelLineRight(); | |
13023 | ||
13024 | wxPyEndAllowThreads(__tstate); | |
13025 | if (PyErr_Occurred()) SWIG_fail; | |
13026 | } | |
13027 | Py_INCREF(Py_None); resultobj = Py_None; | |
13028 | return resultobj; | |
13029 | fail: | |
13030 | return NULL; | |
13031 | } | |
13032 | ||
13033 | ||
13034 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { | |
13035 | PyObject *resultobj = NULL; | |
13036 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13037 | int arg2 ; | |
13038 | PyObject * obj0 = 0 ; | |
13039 | PyObject * obj1 = 0 ; | |
13040 | char *kwnames[] = { | |
13041 | (char *) "self",(char *) "newOffset", NULL | |
13042 | }; | |
13043 | ||
13044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; | |
13045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13047 | { | |
13048 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13049 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13050 | } | |
13051 | { | |
13052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13053 | (arg1)->SetXOffset(arg2); | |
13054 | ||
13055 | wxPyEndAllowThreads(__tstate); | |
13056 | if (PyErr_Occurred()) SWIG_fail; | |
13057 | } | |
13058 | Py_INCREF(Py_None); resultobj = Py_None; | |
13059 | return resultobj; | |
13060 | fail: | |
13061 | return NULL; | |
13062 | } | |
13063 | ||
13064 | ||
13065 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { | |
13066 | PyObject *resultobj = NULL; | |
13067 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13068 | int result; | |
13069 | PyObject * obj0 = 0 ; | |
13070 | char *kwnames[] = { | |
13071 | (char *) "self", NULL | |
13072 | }; | |
13073 | ||
13074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; | |
13075 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13076 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13077 | { | |
13078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13079 | result = (int)(arg1)->GetXOffset(); | |
13080 | ||
13081 | wxPyEndAllowThreads(__tstate); | |
13082 | if (PyErr_Occurred()) SWIG_fail; | |
13083 | } | |
13084 | { | |
13085 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
13086 | } | |
13087 | return resultobj; | |
13088 | fail: | |
13089 | return NULL; | |
13090 | } | |
13091 | ||
13092 | ||
13093 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { | |
13094 | PyObject *resultobj = NULL; | |
13095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13096 | PyObject * obj0 = 0 ; | |
13097 | char *kwnames[] = { | |
13098 | (char *) "self", NULL | |
13099 | }; | |
13100 | ||
13101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; | |
13102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13104 | { | |
13105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13106 | (arg1)->ChooseCaretX(); | |
13107 | ||
13108 | wxPyEndAllowThreads(__tstate); | |
13109 | if (PyErr_Occurred()) SWIG_fail; | |
13110 | } | |
13111 | Py_INCREF(Py_None); resultobj = Py_None; | |
13112 | return resultobj; | |
13113 | fail: | |
13114 | return NULL; | |
13115 | } | |
13116 | ||
13117 | ||
13118 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
13119 | PyObject *resultobj = NULL; | |
13120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13121 | int arg2 ; | |
13122 | int arg3 ; | |
13123 | PyObject * obj0 = 0 ; | |
13124 | PyObject * obj1 = 0 ; | |
13125 | PyObject * obj2 = 0 ; | |
13126 | char *kwnames[] = { | |
13127 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
13128 | }; | |
13129 | ||
13130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13133 | { | |
13134 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13135 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13136 | } | |
13137 | { | |
13138 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
13139 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13140 | } | |
13141 | { | |
13142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13143 | (arg1)->SetXCaretPolicy(arg2,arg3); | |
13144 | ||
13145 | wxPyEndAllowThreads(__tstate); | |
13146 | if (PyErr_Occurred()) SWIG_fail; | |
13147 | } | |
13148 | Py_INCREF(Py_None); resultobj = Py_None; | |
13149 | return resultobj; | |
13150 | fail: | |
13151 | return NULL; | |
13152 | } | |
13153 | ||
13154 | ||
13155 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { | |
13156 | PyObject *resultobj = NULL; | |
13157 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13158 | int arg2 ; | |
13159 | int arg3 ; | |
13160 | PyObject * obj0 = 0 ; | |
13161 | PyObject * obj1 = 0 ; | |
13162 | PyObject * obj2 = 0 ; | |
13163 | char *kwnames[] = { | |
13164 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
13165 | }; | |
13166 | ||
13167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13170 | { | |
13171 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13172 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13173 | } | |
13174 | { | |
13175 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
13176 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13177 | } | |
13178 | { | |
13179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13180 | (arg1)->SetYCaretPolicy(arg2,arg3); | |
13181 | ||
13182 | wxPyEndAllowThreads(__tstate); | |
13183 | if (PyErr_Occurred()) SWIG_fail; | |
13184 | } | |
13185 | Py_INCREF(Py_None); resultobj = Py_None; | |
13186 | return resultobj; | |
13187 | fail: | |
13188 | return NULL; | |
13189 | } | |
13190 | ||
13191 | ||
13192 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13193 | PyObject *resultobj = NULL; | |
13194 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13195 | int arg2 ; | |
13196 | PyObject * obj0 = 0 ; | |
13197 | PyObject * obj1 = 0 ; | |
13198 | char *kwnames[] = { | |
13199 | (char *) "self",(char *) "mode", NULL | |
13200 | }; | |
13201 | ||
13202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; | |
13203 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13204 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13205 | { | |
13206 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13207 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13208 | } | |
13209 | { | |
13210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13211 | (arg1)->SetPrintWrapMode(arg2); | |
13212 | ||
13213 | wxPyEndAllowThreads(__tstate); | |
13214 | if (PyErr_Occurred()) SWIG_fail; | |
13215 | } | |
13216 | Py_INCREF(Py_None); resultobj = Py_None; | |
13217 | return resultobj; | |
13218 | fail: | |
13219 | return NULL; | |
13220 | } | |
13221 | ||
13222 | ||
13223 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13224 | PyObject *resultobj = NULL; | |
13225 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13226 | int result; | |
13227 | PyObject * obj0 = 0 ; | |
13228 | char *kwnames[] = { | |
13229 | (char *) "self", NULL | |
13230 | }; | |
13231 | ||
13232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; | |
13233 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13234 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13235 | { | |
13236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13237 | result = (int)(arg1)->GetPrintWrapMode(); | |
13238 | ||
13239 | wxPyEndAllowThreads(__tstate); | |
13240 | if (PyErr_Occurred()) SWIG_fail; | |
13241 | } | |
13242 | { | |
13243 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
13244 | } | |
13245 | return resultobj; | |
13246 | fail: | |
13247 | return NULL; | |
13248 | } | |
13249 | ||
13250 | ||
13251 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { | |
13252 | PyObject *resultobj = NULL; | |
13253 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13254 | bool arg2 ; | |
13255 | wxColour *arg3 = 0 ; | |
13256 | wxColour temp3 ; | |
13257 | PyObject * obj0 = 0 ; | |
13258 | PyObject * obj1 = 0 ; | |
13259 | PyObject * obj2 = 0 ; | |
13260 | char *kwnames[] = { | |
13261 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
13262 | }; | |
13263 | ||
13264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13265 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13266 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13267 | { | |
13268 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
13269 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13270 | } | |
13271 | { | |
13272 | arg3 = &temp3; | |
13273 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13274 | } | |
13275 | { | |
13276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13277 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); | |
13278 | ||
13279 | wxPyEndAllowThreads(__tstate); | |
13280 | if (PyErr_Occurred()) SWIG_fail; | |
13281 | } | |
13282 | Py_INCREF(Py_None); resultobj = Py_None; | |
13283 | return resultobj; | |
13284 | fail: | |
13285 | return NULL; | |
13286 | } | |
13287 | ||
13288 | ||
13289 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { | |
13290 | PyObject *resultobj = NULL; | |
13291 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13292 | bool arg2 ; | |
13293 | wxColour *arg3 = 0 ; | |
13294 | wxColour temp3 ; | |
13295 | PyObject * obj0 = 0 ; | |
13296 | PyObject * obj1 = 0 ; | |
13297 | PyObject * obj2 = 0 ; | |
13298 | char *kwnames[] = { | |
13299 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
13300 | }; | |
13301 | ||
13302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13305 | { | |
13306 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
13307 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13308 | } | |
13309 | { | |
13310 | arg3 = &temp3; | |
13311 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13312 | } | |
13313 | { | |
13314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13315 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); | |
13316 | ||
13317 | wxPyEndAllowThreads(__tstate); | |
13318 | if (PyErr_Occurred()) SWIG_fail; | |
13319 | } | |
13320 | Py_INCREF(Py_None); resultobj = Py_None; | |
13321 | return resultobj; | |
13322 | fail: | |
13323 | return NULL; | |
13324 | } | |
13325 | ||
13326 | ||
13327 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { | |
13328 | PyObject *resultobj = NULL; | |
13329 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13330 | bool arg2 ; | |
13331 | PyObject * obj0 = 0 ; | |
13332 | PyObject * obj1 = 0 ; | |
13333 | char *kwnames[] = { | |
13334 | (char *) "self",(char *) "underline", NULL | |
13335 | }; | |
13336 | ||
13337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; | |
13338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13340 | { | |
13341 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
13342 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13343 | } | |
13344 | { | |
13345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13346 | (arg1)->SetHotspotActiveUnderline(arg2); | |
13347 | ||
13348 | wxPyEndAllowThreads(__tstate); | |
13349 | if (PyErr_Occurred()) SWIG_fail; | |
13350 | } | |
13351 | Py_INCREF(Py_None); resultobj = Py_None; | |
13352 | return resultobj; | |
13353 | fail: | |
13354 | return NULL; | |
13355 | } | |
13356 | ||
13357 | ||
13358 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
13359 | PyObject *resultobj = NULL; | |
13360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13361 | bool arg2 ; | |
13362 | PyObject * obj0 = 0 ; | |
13363 | PyObject * obj1 = 0 ; | |
13364 | char *kwnames[] = { | |
13365 | (char *) "self",(char *) "singleLine", NULL | |
13366 | }; | |
13367 | ||
13368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; | |
13369 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13370 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13371 | { | |
13372 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
13373 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13374 | } | |
13375 | { | |
13376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13377 | (arg1)->SetHotspotSingleLine(arg2); | |
13378 | ||
13379 | wxPyEndAllowThreads(__tstate); | |
13380 | if (PyErr_Occurred()) SWIG_fail; | |
13381 | } | |
13382 | Py_INCREF(Py_None); resultobj = Py_None; | |
13383 | return resultobj; | |
13384 | fail: | |
13385 | return NULL; | |
13386 | } | |
13387 | ||
13388 | ||
13389 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
13390 | PyObject *resultobj = NULL; | |
13391 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13392 | PyObject * obj0 = 0 ; | |
13393 | char *kwnames[] = { | |
13394 | (char *) "self", NULL | |
13395 | }; | |
13396 | ||
13397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; | |
13398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13400 | { | |
13401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13402 | (arg1)->ParaDown(); | |
13403 | ||
13404 | wxPyEndAllowThreads(__tstate); | |
13405 | if (PyErr_Occurred()) SWIG_fail; | |
13406 | } | |
13407 | Py_INCREF(Py_None); resultobj = Py_None; | |
13408 | return resultobj; | |
13409 | fail: | |
13410 | return NULL; | |
13411 | } | |
13412 | ||
13413 | ||
13414 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13415 | PyObject *resultobj = NULL; | |
13416 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13417 | PyObject * obj0 = 0 ; | |
13418 | char *kwnames[] = { | |
13419 | (char *) "self", NULL | |
13420 | }; | |
13421 | ||
13422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; | |
13423 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13424 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13425 | { | |
13426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13427 | (arg1)->ParaDownExtend(); | |
13428 | ||
13429 | wxPyEndAllowThreads(__tstate); | |
13430 | if (PyErr_Occurred()) SWIG_fail; | |
13431 | } | |
13432 | Py_INCREF(Py_None); resultobj = Py_None; | |
13433 | return resultobj; | |
13434 | fail: | |
13435 | return NULL; | |
13436 | } | |
13437 | ||
13438 | ||
13439 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
13440 | PyObject *resultobj = NULL; | |
13441 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13442 | PyObject * obj0 = 0 ; | |
13443 | char *kwnames[] = { | |
13444 | (char *) "self", NULL | |
13445 | }; | |
13446 | ||
13447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; | |
13448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13450 | { | |
13451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13452 | (arg1)->ParaUp(); | |
13453 | ||
13454 | wxPyEndAllowThreads(__tstate); | |
13455 | if (PyErr_Occurred()) SWIG_fail; | |
13456 | } | |
13457 | Py_INCREF(Py_None); resultobj = Py_None; | |
13458 | return resultobj; | |
13459 | fail: | |
13460 | return NULL; | |
13461 | } | |
13462 | ||
13463 | ||
13464 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13465 | PyObject *resultobj = NULL; | |
13466 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13467 | PyObject * obj0 = 0 ; | |
13468 | char *kwnames[] = { | |
13469 | (char *) "self", NULL | |
13470 | }; | |
13471 | ||
13472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; | |
13473 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13474 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13475 | { | |
13476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13477 | (arg1)->ParaUpExtend(); | |
13478 | ||
13479 | wxPyEndAllowThreads(__tstate); | |
13480 | if (PyErr_Occurred()) SWIG_fail; | |
13481 | } | |
13482 | Py_INCREF(Py_None); resultobj = Py_None; | |
13483 | return resultobj; | |
13484 | fail: | |
13485 | return NULL; | |
13486 | } | |
13487 | ||
13488 | ||
13489 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { | |
13490 | PyObject *resultobj = NULL; | |
13491 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13492 | int arg2 ; | |
13493 | int result; | |
13494 | PyObject * obj0 = 0 ; | |
13495 | PyObject * obj1 = 0 ; | |
13496 | char *kwnames[] = { | |
13497 | (char *) "self",(char *) "pos", NULL | |
13498 | }; | |
13499 | ||
13500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; | |
13501 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13502 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13503 | { | |
13504 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13505 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13506 | } | |
13507 | { | |
13508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13509 | result = (int)(arg1)->PositionBefore(arg2); | |
13510 | ||
13511 | wxPyEndAllowThreads(__tstate); | |
13512 | if (PyErr_Occurred()) SWIG_fail; | |
13513 | } | |
13514 | { | |
13515 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
13516 | } | |
13517 | return resultobj; | |
13518 | fail: | |
13519 | return NULL; | |
13520 | } | |
13521 | ||
13522 | ||
13523 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { | |
13524 | PyObject *resultobj = NULL; | |
13525 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13526 | int arg2 ; | |
13527 | int result; | |
13528 | PyObject * obj0 = 0 ; | |
13529 | PyObject * obj1 = 0 ; | |
13530 | char *kwnames[] = { | |
13531 | (char *) "self",(char *) "pos", NULL | |
13532 | }; | |
13533 | ||
13534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; | |
13535 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13536 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13537 | { | |
13538 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13539 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13540 | } | |
13541 | { | |
13542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13543 | result = (int)(arg1)->PositionAfter(arg2); | |
13544 | ||
13545 | wxPyEndAllowThreads(__tstate); | |
13546 | if (PyErr_Occurred()) SWIG_fail; | |
13547 | } | |
13548 | { | |
13549 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
13550 | } | |
13551 | return resultobj; | |
13552 | fail: | |
13553 | return NULL; | |
13554 | } | |
13555 | ||
13556 | ||
13557 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { | |
13558 | PyObject *resultobj = NULL; | |
13559 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13560 | int arg2 ; | |
13561 | int arg3 ; | |
13562 | PyObject * obj0 = 0 ; | |
13563 | PyObject * obj1 = 0 ; | |
13564 | PyObject * obj2 = 0 ; | |
13565 | char *kwnames[] = { | |
13566 | (char *) "self",(char *) "start",(char *) "end", NULL | |
13567 | }; | |
13568 | ||
13569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
13570 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13571 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13572 | { | |
13573 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13574 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13575 | } | |
13576 | { | |
13577 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
13578 | if (SWIG_arg_fail(3)) SWIG_fail; | |
13579 | } | |
13580 | { | |
13581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13582 | (arg1)->CopyRange(arg2,arg3); | |
13583 | ||
13584 | wxPyEndAllowThreads(__tstate); | |
13585 | if (PyErr_Occurred()) SWIG_fail; | |
13586 | } | |
13587 | Py_INCREF(Py_None); resultobj = Py_None; | |
13588 | return resultobj; | |
13589 | fail: | |
13590 | return NULL; | |
13591 | } | |
13592 | ||
13593 | ||
13594 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { | |
13595 | PyObject *resultobj = NULL; | |
13596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13597 | int arg2 ; | |
13598 | wxString *arg3 = 0 ; | |
13599 | bool temp3 = false ; | |
13600 | PyObject * obj0 = 0 ; | |
13601 | PyObject * obj1 = 0 ; | |
13602 | PyObject * obj2 = 0 ; | |
13603 | char *kwnames[] = { | |
13604 | (char *) "self",(char *) "length",(char *) "text", NULL | |
13605 | }; | |
13606 | ||
13607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) 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 = static_cast<int >(SWIG_As_int(obj1)); | |
13612 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13613 | } | |
13614 | { | |
13615 | arg3 = wxString_in_helper(obj2); | |
13616 | if (arg3 == NULL) SWIG_fail; | |
13617 | temp3 = true; | |
13618 | } | |
13619 | { | |
13620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13621 | (arg1)->CopyText(arg2,(wxString const &)*arg3); | |
13622 | ||
13623 | wxPyEndAllowThreads(__tstate); | |
13624 | if (PyErr_Occurred()) SWIG_fail; | |
13625 | } | |
13626 | Py_INCREF(Py_None); resultobj = Py_None; | |
13627 | { | |
13628 | if (temp3) | |
13629 | delete arg3; | |
13630 | } | |
13631 | return resultobj; | |
13632 | fail: | |
13633 | { | |
13634 | if (temp3) | |
13635 | delete arg3; | |
13636 | } | |
13637 | return NULL; | |
13638 | } | |
13639 | ||
13640 | ||
13641 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13642 | PyObject *resultobj = NULL; | |
13643 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13644 | int arg2 ; | |
13645 | PyObject * obj0 = 0 ; | |
13646 | PyObject * obj1 = 0 ; | |
13647 | char *kwnames[] = { | |
13648 | (char *) "self",(char *) "mode", NULL | |
13649 | }; | |
13650 | ||
13651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; | |
13652 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13653 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13654 | { | |
13655 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13656 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13657 | } | |
13658 | { | |
13659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13660 | (arg1)->SetSelectionMode(arg2); | |
13661 | ||
13662 | wxPyEndAllowThreads(__tstate); | |
13663 | if (PyErr_Occurred()) SWIG_fail; | |
13664 | } | |
13665 | Py_INCREF(Py_None); resultobj = Py_None; | |
13666 | return resultobj; | |
13667 | fail: | |
13668 | return NULL; | |
13669 | } | |
13670 | ||
13671 | ||
13672 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { | |
13673 | PyObject *resultobj = NULL; | |
13674 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13675 | int result; | |
13676 | PyObject * obj0 = 0 ; | |
13677 | char *kwnames[] = { | |
13678 | (char *) "self", NULL | |
13679 | }; | |
13680 | ||
13681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; | |
13682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13684 | { | |
13685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13686 | result = (int)(arg1)->GetSelectionMode(); | |
13687 | ||
13688 | wxPyEndAllowThreads(__tstate); | |
13689 | if (PyErr_Occurred()) SWIG_fail; | |
13690 | } | |
13691 | { | |
13692 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
13693 | } | |
13694 | return resultobj; | |
13695 | fail: | |
13696 | return NULL; | |
13697 | } | |
13698 | ||
13699 | ||
13700 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
13701 | PyObject *resultobj = NULL; | |
13702 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13703 | int arg2 ; | |
13704 | int result; | |
13705 | PyObject * obj0 = 0 ; | |
13706 | PyObject * obj1 = 0 ; | |
13707 | char *kwnames[] = { | |
13708 | (char *) "self",(char *) "line", NULL | |
13709 | }; | |
13710 | ||
13711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; | |
13712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13714 | { | |
13715 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13716 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13717 | } | |
13718 | { | |
13719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13720 | result = (int)(arg1)->GetLineSelStartPosition(arg2); | |
13721 | ||
13722 | wxPyEndAllowThreads(__tstate); | |
13723 | if (PyErr_Occurred()) SWIG_fail; | |
13724 | } | |
13725 | { | |
13726 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
13727 | } | |
13728 | return resultobj; | |
13729 | fail: | |
13730 | return NULL; | |
13731 | } | |
13732 | ||
13733 | ||
13734 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
13735 | PyObject *resultobj = NULL; | |
13736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13737 | int arg2 ; | |
13738 | int result; | |
13739 | PyObject * obj0 = 0 ; | |
13740 | PyObject * obj1 = 0 ; | |
13741 | char *kwnames[] = { | |
13742 | (char *) "self",(char *) "line", NULL | |
13743 | }; | |
13744 | ||
13745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; | |
13746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13748 | { | |
13749 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
13750 | if (SWIG_arg_fail(2)) SWIG_fail; | |
13751 | } | |
13752 | { | |
13753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13754 | result = (int)(arg1)->GetLineSelEndPosition(arg2); | |
13755 | ||
13756 | wxPyEndAllowThreads(__tstate); | |
13757 | if (PyErr_Occurred()) SWIG_fail; | |
13758 | } | |
13759 | { | |
13760 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
13761 | } | |
13762 | return resultobj; | |
13763 | fail: | |
13764 | return NULL; | |
13765 | } | |
13766 | ||
13767 | ||
13768 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13769 | PyObject *resultobj = NULL; | |
13770 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13771 | PyObject * obj0 = 0 ; | |
13772 | char *kwnames[] = { | |
13773 | (char *) "self", NULL | |
13774 | }; | |
13775 | ||
13776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; | |
13777 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13778 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13779 | { | |
13780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13781 | (arg1)->LineDownRectExtend(); | |
13782 | ||
13783 | wxPyEndAllowThreads(__tstate); | |
13784 | if (PyErr_Occurred()) SWIG_fail; | |
13785 | } | |
13786 | Py_INCREF(Py_None); resultobj = Py_None; | |
13787 | return resultobj; | |
13788 | fail: | |
13789 | return NULL; | |
13790 | } | |
13791 | ||
13792 | ||
13793 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13794 | PyObject *resultobj = NULL; | |
13795 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13796 | PyObject * obj0 = 0 ; | |
13797 | char *kwnames[] = { | |
13798 | (char *) "self", NULL | |
13799 | }; | |
13800 | ||
13801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; | |
13802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13804 | { | |
13805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13806 | (arg1)->LineUpRectExtend(); | |
13807 | ||
13808 | wxPyEndAllowThreads(__tstate); | |
13809 | if (PyErr_Occurred()) SWIG_fail; | |
13810 | } | |
13811 | Py_INCREF(Py_None); resultobj = Py_None; | |
13812 | return resultobj; | |
13813 | fail: | |
13814 | return NULL; | |
13815 | } | |
13816 | ||
13817 | ||
13818 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13819 | PyObject *resultobj = NULL; | |
13820 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13821 | PyObject * obj0 = 0 ; | |
13822 | char *kwnames[] = { | |
13823 | (char *) "self", NULL | |
13824 | }; | |
13825 | ||
13826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; | |
13827 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13828 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13829 | { | |
13830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13831 | (arg1)->CharLeftRectExtend(); | |
13832 | ||
13833 | wxPyEndAllowThreads(__tstate); | |
13834 | if (PyErr_Occurred()) SWIG_fail; | |
13835 | } | |
13836 | Py_INCREF(Py_None); resultobj = Py_None; | |
13837 | return resultobj; | |
13838 | fail: | |
13839 | return NULL; | |
13840 | } | |
13841 | ||
13842 | ||
13843 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13844 | PyObject *resultobj = NULL; | |
13845 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13846 | PyObject * obj0 = 0 ; | |
13847 | char *kwnames[] = { | |
13848 | (char *) "self", NULL | |
13849 | }; | |
13850 | ||
13851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; | |
13852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13854 | { | |
13855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13856 | (arg1)->CharRightRectExtend(); | |
13857 | ||
13858 | wxPyEndAllowThreads(__tstate); | |
13859 | if (PyErr_Occurred()) SWIG_fail; | |
13860 | } | |
13861 | Py_INCREF(Py_None); resultobj = Py_None; | |
13862 | return resultobj; | |
13863 | fail: | |
13864 | return NULL; | |
13865 | } | |
13866 | ||
13867 | ||
13868 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13869 | PyObject *resultobj = NULL; | |
13870 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13871 | PyObject * obj0 = 0 ; | |
13872 | char *kwnames[] = { | |
13873 | (char *) "self", NULL | |
13874 | }; | |
13875 | ||
13876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; | |
13877 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13878 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13879 | { | |
13880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13881 | (arg1)->HomeRectExtend(); | |
13882 | ||
13883 | wxPyEndAllowThreads(__tstate); | |
13884 | if (PyErr_Occurred()) SWIG_fail; | |
13885 | } | |
13886 | Py_INCREF(Py_None); resultobj = Py_None; | |
13887 | return resultobj; | |
13888 | fail: | |
13889 | return NULL; | |
13890 | } | |
13891 | ||
13892 | ||
13893 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13894 | PyObject *resultobj = NULL; | |
13895 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13896 | PyObject * obj0 = 0 ; | |
13897 | char *kwnames[] = { | |
13898 | (char *) "self", NULL | |
13899 | }; | |
13900 | ||
13901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; | |
13902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13904 | { | |
13905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13906 | (arg1)->VCHomeRectExtend(); | |
13907 | ||
13908 | wxPyEndAllowThreads(__tstate); | |
13909 | if (PyErr_Occurred()) SWIG_fail; | |
13910 | } | |
13911 | Py_INCREF(Py_None); resultobj = Py_None; | |
13912 | return resultobj; | |
13913 | fail: | |
13914 | return NULL; | |
13915 | } | |
13916 | ||
13917 | ||
13918 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13919 | PyObject *resultobj = NULL; | |
13920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13921 | PyObject * obj0 = 0 ; | |
13922 | char *kwnames[] = { | |
13923 | (char *) "self", NULL | |
13924 | }; | |
13925 | ||
13926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; | |
13927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13929 | { | |
13930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13931 | (arg1)->LineEndRectExtend(); | |
13932 | ||
13933 | wxPyEndAllowThreads(__tstate); | |
13934 | if (PyErr_Occurred()) SWIG_fail; | |
13935 | } | |
13936 | Py_INCREF(Py_None); resultobj = Py_None; | |
13937 | return resultobj; | |
13938 | fail: | |
13939 | return NULL; | |
13940 | } | |
13941 | ||
13942 | ||
13943 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13944 | PyObject *resultobj = NULL; | |
13945 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13946 | PyObject * obj0 = 0 ; | |
13947 | char *kwnames[] = { | |
13948 | (char *) "self", NULL | |
13949 | }; | |
13950 | ||
13951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; | |
13952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13954 | { | |
13955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13956 | (arg1)->PageUpRectExtend(); | |
13957 | ||
13958 | wxPyEndAllowThreads(__tstate); | |
13959 | if (PyErr_Occurred()) SWIG_fail; | |
13960 | } | |
13961 | Py_INCREF(Py_None); resultobj = Py_None; | |
13962 | return resultobj; | |
13963 | fail: | |
13964 | return NULL; | |
13965 | } | |
13966 | ||
13967 | ||
13968 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
13969 | PyObject *resultobj = NULL; | |
13970 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13971 | PyObject * obj0 = 0 ; | |
13972 | char *kwnames[] = { | |
13973 | (char *) "self", NULL | |
13974 | }; | |
13975 | ||
13976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; | |
13977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13979 | { | |
13980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13981 | (arg1)->PageDownRectExtend(); | |
13982 | ||
13983 | wxPyEndAllowThreads(__tstate); | |
13984 | if (PyErr_Occurred()) SWIG_fail; | |
13985 | } | |
13986 | Py_INCREF(Py_None); resultobj = Py_None; | |
13987 | return resultobj; | |
13988 | fail: | |
13989 | return NULL; | |
13990 | } | |
13991 | ||
13992 | ||
13993 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { | |
13994 | PyObject *resultobj = NULL; | |
13995 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
13996 | PyObject * obj0 = 0 ; | |
13997 | char *kwnames[] = { | |
13998 | (char *) "self", NULL | |
13999 | }; | |
14000 | ||
14001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; | |
14002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14004 | { | |
14005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14006 | (arg1)->StutteredPageUp(); | |
14007 | ||
14008 | wxPyEndAllowThreads(__tstate); | |
14009 | if (PyErr_Occurred()) SWIG_fail; | |
14010 | } | |
14011 | Py_INCREF(Py_None); resultobj = Py_None; | |
14012 | return resultobj; | |
14013 | fail: | |
14014 | return NULL; | |
14015 | } | |
14016 | ||
14017 | ||
14018 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
14019 | PyObject *resultobj = NULL; | |
14020 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14021 | PyObject * obj0 = 0 ; | |
14022 | char *kwnames[] = { | |
14023 | (char *) "self", NULL | |
14024 | }; | |
14025 | ||
14026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; | |
14027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14029 | { | |
14030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14031 | (arg1)->StutteredPageUpExtend(); | |
14032 | ||
14033 | wxPyEndAllowThreads(__tstate); | |
14034 | if (PyErr_Occurred()) SWIG_fail; | |
14035 | } | |
14036 | Py_INCREF(Py_None); resultobj = Py_None; | |
14037 | return resultobj; | |
14038 | fail: | |
14039 | return NULL; | |
14040 | } | |
14041 | ||
14042 | ||
14043 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { | |
14044 | PyObject *resultobj = NULL; | |
14045 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14046 | PyObject * obj0 = 0 ; | |
14047 | char *kwnames[] = { | |
14048 | (char *) "self", NULL | |
14049 | }; | |
14050 | ||
14051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; | |
14052 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14053 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14054 | { | |
14055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14056 | (arg1)->StutteredPageDown(); | |
14057 | ||
14058 | wxPyEndAllowThreads(__tstate); | |
14059 | if (PyErr_Occurred()) SWIG_fail; | |
14060 | } | |
14061 | Py_INCREF(Py_None); resultobj = Py_None; | |
14062 | return resultobj; | |
14063 | fail: | |
14064 | return NULL; | |
14065 | } | |
14066 | ||
14067 | ||
14068 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
14069 | PyObject *resultobj = NULL; | |
14070 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14071 | PyObject * obj0 = 0 ; | |
14072 | char *kwnames[] = { | |
14073 | (char *) "self", NULL | |
14074 | }; | |
14075 | ||
14076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; | |
14077 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14078 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14079 | { | |
14080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14081 | (arg1)->StutteredPageDownExtend(); | |
14082 | ||
14083 | wxPyEndAllowThreads(__tstate); | |
14084 | if (PyErr_Occurred()) SWIG_fail; | |
14085 | } | |
14086 | Py_INCREF(Py_None); resultobj = Py_None; | |
14087 | return resultobj; | |
14088 | fail: | |
14089 | return NULL; | |
14090 | } | |
14091 | ||
14092 | ||
14093 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
14094 | PyObject *resultobj = NULL; | |
14095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14096 | PyObject * obj0 = 0 ; | |
14097 | char *kwnames[] = { | |
14098 | (char *) "self", NULL | |
14099 | }; | |
14100 | ||
14101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; | |
14102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14104 | { | |
14105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14106 | (arg1)->WordLeftEnd(); | |
14107 | ||
14108 | wxPyEndAllowThreads(__tstate); | |
14109 | if (PyErr_Occurred()) SWIG_fail; | |
14110 | } | |
14111 | Py_INCREF(Py_None); resultobj = Py_None; | |
14112 | return resultobj; | |
14113 | fail: | |
14114 | return NULL; | |
14115 | } | |
14116 | ||
14117 | ||
14118 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
14119 | PyObject *resultobj = NULL; | |
14120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14121 | PyObject * obj0 = 0 ; | |
14122 | char *kwnames[] = { | |
14123 | (char *) "self", NULL | |
14124 | }; | |
14125 | ||
14126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; | |
14127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14129 | { | |
14130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14131 | (arg1)->WordLeftEndExtend(); | |
14132 | ||
14133 | wxPyEndAllowThreads(__tstate); | |
14134 | if (PyErr_Occurred()) SWIG_fail; | |
14135 | } | |
14136 | Py_INCREF(Py_None); resultobj = Py_None; | |
14137 | return resultobj; | |
14138 | fail: | |
14139 | return NULL; | |
14140 | } | |
14141 | ||
14142 | ||
14143 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { | |
14144 | PyObject *resultobj = NULL; | |
14145 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14146 | PyObject * obj0 = 0 ; | |
14147 | char *kwnames[] = { | |
14148 | (char *) "self", NULL | |
14149 | }; | |
14150 | ||
14151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; | |
14152 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14153 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14154 | { | |
14155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14156 | (arg1)->WordRightEnd(); | |
14157 | ||
14158 | wxPyEndAllowThreads(__tstate); | |
14159 | if (PyErr_Occurred()) SWIG_fail; | |
14160 | } | |
14161 | Py_INCREF(Py_None); resultobj = Py_None; | |
14162 | return resultobj; | |
14163 | fail: | |
14164 | return NULL; | |
14165 | } | |
14166 | ||
14167 | ||
14168 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { | |
14169 | PyObject *resultobj = NULL; | |
14170 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14171 | PyObject * obj0 = 0 ; | |
14172 | char *kwnames[] = { | |
14173 | (char *) "self", NULL | |
14174 | }; | |
14175 | ||
14176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; | |
14177 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14178 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14179 | { | |
14180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14181 | (arg1)->WordRightEndExtend(); | |
14182 | ||
14183 | wxPyEndAllowThreads(__tstate); | |
14184 | if (PyErr_Occurred()) SWIG_fail; | |
14185 | } | |
14186 | Py_INCREF(Py_None); resultobj = Py_None; | |
14187 | return resultobj; | |
14188 | fail: | |
14189 | return NULL; | |
14190 | } | |
14191 | ||
14192 | ||
14193 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { | |
14194 | PyObject *resultobj = NULL; | |
14195 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14196 | wxString *arg2 = 0 ; | |
14197 | bool temp2 = false ; | |
14198 | PyObject * obj0 = 0 ; | |
14199 | PyObject * obj1 = 0 ; | |
14200 | char *kwnames[] = { | |
14201 | (char *) "self",(char *) "characters", NULL | |
14202 | }; | |
14203 | ||
14204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; | |
14205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14207 | { | |
14208 | arg2 = wxString_in_helper(obj1); | |
14209 | if (arg2 == NULL) SWIG_fail; | |
14210 | temp2 = true; | |
14211 | } | |
14212 | { | |
14213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14214 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); | |
14215 | ||
14216 | wxPyEndAllowThreads(__tstate); | |
14217 | if (PyErr_Occurred()) SWIG_fail; | |
14218 | } | |
14219 | Py_INCREF(Py_None); resultobj = Py_None; | |
14220 | { | |
14221 | if (temp2) | |
14222 | delete arg2; | |
14223 | } | |
14224 | return resultobj; | |
14225 | fail: | |
14226 | { | |
14227 | if (temp2) | |
14228 | delete arg2; | |
14229 | } | |
14230 | return NULL; | |
14231 | } | |
14232 | ||
14233 | ||
14234 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { | |
14235 | PyObject *resultobj = NULL; | |
14236 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14237 | PyObject * obj0 = 0 ; | |
14238 | char *kwnames[] = { | |
14239 | (char *) "self", NULL | |
14240 | }; | |
14241 | ||
14242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; | |
14243 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14244 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14245 | { | |
14246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14247 | (arg1)->SetCharsDefault(); | |
14248 | ||
14249 | wxPyEndAllowThreads(__tstate); | |
14250 | if (PyErr_Occurred()) SWIG_fail; | |
14251 | } | |
14252 | Py_INCREF(Py_None); resultobj = Py_None; | |
14253 | return resultobj; | |
14254 | fail: | |
14255 | return NULL; | |
14256 | } | |
14257 | ||
14258 | ||
14259 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { | |
14260 | PyObject *resultobj = NULL; | |
14261 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14262 | int result; | |
14263 | PyObject * obj0 = 0 ; | |
14264 | char *kwnames[] = { | |
14265 | (char *) "self", NULL | |
14266 | }; | |
14267 | ||
14268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; | |
14269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14271 | { | |
14272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14273 | result = (int)(arg1)->AutoCompGetCurrent(); | |
14274 | ||
14275 | wxPyEndAllowThreads(__tstate); | |
14276 | if (PyErr_Occurred()) SWIG_fail; | |
14277 | } | |
14278 | { | |
14279 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
14280 | } | |
14281 | return resultobj; | |
14282 | fail: | |
14283 | return NULL; | |
14284 | } | |
14285 | ||
14286 | ||
14287 | static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { | |
14288 | PyObject *resultobj = NULL; | |
14289 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14290 | int arg2 ; | |
14291 | PyObject * obj0 = 0 ; | |
14292 | PyObject * obj1 = 0 ; | |
14293 | char *kwnames[] = { | |
14294 | (char *) "self",(char *) "bytes", NULL | |
14295 | }; | |
14296 | ||
14297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail; | |
14298 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14299 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14300 | { | |
14301 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14302 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14303 | } | |
14304 | { | |
14305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14306 | (arg1)->Allocate(arg2); | |
14307 | ||
14308 | wxPyEndAllowThreads(__tstate); | |
14309 | if (PyErr_Occurred()) SWIG_fail; | |
14310 | } | |
14311 | Py_INCREF(Py_None); resultobj = Py_None; | |
14312 | return resultobj; | |
14313 | fail: | |
14314 | return NULL; | |
14315 | } | |
14316 | ||
14317 | ||
14318 | static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
14319 | PyObject *resultobj = NULL; | |
14320 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14321 | int arg2 ; | |
14322 | int arg3 ; | |
14323 | int result; | |
14324 | PyObject * obj0 = 0 ; | |
14325 | PyObject * obj1 = 0 ; | |
14326 | PyObject * obj2 = 0 ; | |
14327 | char *kwnames[] = { | |
14328 | (char *) "self",(char *) "line",(char *) "column", NULL | |
14329 | }; | |
14330 | ||
14331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14332 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14333 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14334 | { | |
14335 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14336 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14337 | } | |
14338 | { | |
14339 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
14340 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14341 | } | |
14342 | { | |
14343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14344 | result = (int)(arg1)->FindColumn(arg2,arg3); | |
14345 | ||
14346 | wxPyEndAllowThreads(__tstate); | |
14347 | if (PyErr_Occurred()) SWIG_fail; | |
14348 | } | |
14349 | { | |
14350 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
14351 | } | |
14352 | return resultobj; | |
14353 | fail: | |
14354 | return NULL; | |
14355 | } | |
14356 | ||
14357 | ||
14358 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { | |
14359 | PyObject *resultobj = NULL; | |
14360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14361 | PyObject * obj0 = 0 ; | |
14362 | char *kwnames[] = { | |
14363 | (char *) "self", NULL | |
14364 | }; | |
14365 | ||
14366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; | |
14367 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14368 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14369 | { | |
14370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14371 | (arg1)->StartRecord(); | |
14372 | ||
14373 | wxPyEndAllowThreads(__tstate); | |
14374 | if (PyErr_Occurred()) SWIG_fail; | |
14375 | } | |
14376 | Py_INCREF(Py_None); resultobj = Py_None; | |
14377 | return resultobj; | |
14378 | fail: | |
14379 | return NULL; | |
14380 | } | |
14381 | ||
14382 | ||
14383 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { | |
14384 | PyObject *resultobj = NULL; | |
14385 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14386 | PyObject * obj0 = 0 ; | |
14387 | char *kwnames[] = { | |
14388 | (char *) "self", NULL | |
14389 | }; | |
14390 | ||
14391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; | |
14392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14394 | { | |
14395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14396 | (arg1)->StopRecord(); | |
14397 | ||
14398 | wxPyEndAllowThreads(__tstate); | |
14399 | if (PyErr_Occurred()) SWIG_fail; | |
14400 | } | |
14401 | Py_INCREF(Py_None); resultobj = Py_None; | |
14402 | return resultobj; | |
14403 | fail: | |
14404 | return NULL; | |
14405 | } | |
14406 | ||
14407 | ||
14408 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { | |
14409 | PyObject *resultobj = NULL; | |
14410 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14411 | int arg2 ; | |
14412 | PyObject * obj0 = 0 ; | |
14413 | PyObject * obj1 = 0 ; | |
14414 | char *kwnames[] = { | |
14415 | (char *) "self",(char *) "lexer", NULL | |
14416 | }; | |
14417 | ||
14418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; | |
14419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14421 | { | |
14422 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14423 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14424 | } | |
14425 | { | |
14426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14427 | (arg1)->SetLexer(arg2); | |
14428 | ||
14429 | wxPyEndAllowThreads(__tstate); | |
14430 | if (PyErr_Occurred()) SWIG_fail; | |
14431 | } | |
14432 | Py_INCREF(Py_None); resultobj = Py_None; | |
14433 | return resultobj; | |
14434 | fail: | |
14435 | return NULL; | |
14436 | } | |
14437 | ||
14438 | ||
14439 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { | |
14440 | PyObject *resultobj = NULL; | |
14441 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14442 | int result; | |
14443 | PyObject * obj0 = 0 ; | |
14444 | char *kwnames[] = { | |
14445 | (char *) "self", NULL | |
14446 | }; | |
14447 | ||
14448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; | |
14449 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14450 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14451 | { | |
14452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14453 | result = (int)(arg1)->GetLexer(); | |
14454 | ||
14455 | wxPyEndAllowThreads(__tstate); | |
14456 | if (PyErr_Occurred()) SWIG_fail; | |
14457 | } | |
14458 | { | |
14459 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
14460 | } | |
14461 | return resultobj; | |
14462 | fail: | |
14463 | return NULL; | |
14464 | } | |
14465 | ||
14466 | ||
14467 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { | |
14468 | PyObject *resultobj = NULL; | |
14469 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14470 | int arg2 ; | |
14471 | int arg3 ; | |
14472 | PyObject * obj0 = 0 ; | |
14473 | PyObject * obj1 = 0 ; | |
14474 | PyObject * obj2 = 0 ; | |
14475 | char *kwnames[] = { | |
14476 | (char *) "self",(char *) "start",(char *) "end", NULL | |
14477 | }; | |
14478 | ||
14479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14480 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14481 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14482 | { | |
14483 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14484 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14485 | } | |
14486 | { | |
14487 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
14488 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14489 | } | |
14490 | { | |
14491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14492 | (arg1)->Colourise(arg2,arg3); | |
14493 | ||
14494 | wxPyEndAllowThreads(__tstate); | |
14495 | if (PyErr_Occurred()) SWIG_fail; | |
14496 | } | |
14497 | Py_INCREF(Py_None); resultobj = Py_None; | |
14498 | return resultobj; | |
14499 | fail: | |
14500 | return NULL; | |
14501 | } | |
14502 | ||
14503 | ||
14504 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { | |
14505 | PyObject *resultobj = NULL; | |
14506 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14507 | wxString *arg2 = 0 ; | |
14508 | wxString *arg3 = 0 ; | |
14509 | bool temp2 = false ; | |
14510 | bool temp3 = false ; | |
14511 | PyObject * obj0 = 0 ; | |
14512 | PyObject * obj1 = 0 ; | |
14513 | PyObject * obj2 = 0 ; | |
14514 | char *kwnames[] = { | |
14515 | (char *) "self",(char *) "key",(char *) "value", NULL | |
14516 | }; | |
14517 | ||
14518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14519 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14520 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14521 | { | |
14522 | arg2 = wxString_in_helper(obj1); | |
14523 | if (arg2 == NULL) SWIG_fail; | |
14524 | temp2 = true; | |
14525 | } | |
14526 | { | |
14527 | arg3 = wxString_in_helper(obj2); | |
14528 | if (arg3 == NULL) SWIG_fail; | |
14529 | temp3 = true; | |
14530 | } | |
14531 | { | |
14532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14533 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); | |
14534 | ||
14535 | wxPyEndAllowThreads(__tstate); | |
14536 | if (PyErr_Occurred()) SWIG_fail; | |
14537 | } | |
14538 | Py_INCREF(Py_None); resultobj = Py_None; | |
14539 | { | |
14540 | if (temp2) | |
14541 | delete arg2; | |
14542 | } | |
14543 | { | |
14544 | if (temp3) | |
14545 | delete arg3; | |
14546 | } | |
14547 | return resultobj; | |
14548 | fail: | |
14549 | { | |
14550 | if (temp2) | |
14551 | delete arg2; | |
14552 | } | |
14553 | { | |
14554 | if (temp3) | |
14555 | delete arg3; | |
14556 | } | |
14557 | return NULL; | |
14558 | } | |
14559 | ||
14560 | ||
14561 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { | |
14562 | PyObject *resultobj = NULL; | |
14563 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14564 | int arg2 ; | |
14565 | wxString *arg3 = 0 ; | |
14566 | bool temp3 = false ; | |
14567 | PyObject * obj0 = 0 ; | |
14568 | PyObject * obj1 = 0 ; | |
14569 | PyObject * obj2 = 0 ; | |
14570 | char *kwnames[] = { | |
14571 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL | |
14572 | }; | |
14573 | ||
14574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14575 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14576 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14577 | { | |
14578 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14579 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14580 | } | |
14581 | { | |
14582 | arg3 = wxString_in_helper(obj2); | |
14583 | if (arg3 == NULL) SWIG_fail; | |
14584 | temp3 = true; | |
14585 | } | |
14586 | { | |
14587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14588 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); | |
14589 | ||
14590 | wxPyEndAllowThreads(__tstate); | |
14591 | if (PyErr_Occurred()) SWIG_fail; | |
14592 | } | |
14593 | Py_INCREF(Py_None); resultobj = Py_None; | |
14594 | { | |
14595 | if (temp3) | |
14596 | delete arg3; | |
14597 | } | |
14598 | return resultobj; | |
14599 | fail: | |
14600 | { | |
14601 | if (temp3) | |
14602 | delete arg3; | |
14603 | } | |
14604 | return NULL; | |
14605 | } | |
14606 | ||
14607 | ||
14608 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { | |
14609 | PyObject *resultobj = NULL; | |
14610 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14611 | wxString *arg2 = 0 ; | |
14612 | bool temp2 = false ; | |
14613 | PyObject * obj0 = 0 ; | |
14614 | PyObject * obj1 = 0 ; | |
14615 | char *kwnames[] = { | |
14616 | (char *) "self",(char *) "language", NULL | |
14617 | }; | |
14618 | ||
14619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; | |
14620 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14621 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14622 | { | |
14623 | arg2 = wxString_in_helper(obj1); | |
14624 | if (arg2 == NULL) SWIG_fail; | |
14625 | temp2 = true; | |
14626 | } | |
14627 | { | |
14628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14629 | (arg1)->SetLexerLanguage((wxString const &)*arg2); | |
14630 | ||
14631 | wxPyEndAllowThreads(__tstate); | |
14632 | if (PyErr_Occurred()) SWIG_fail; | |
14633 | } | |
14634 | Py_INCREF(Py_None); resultobj = Py_None; | |
14635 | { | |
14636 | if (temp2) | |
14637 | delete arg2; | |
14638 | } | |
14639 | return resultobj; | |
14640 | fail: | |
14641 | { | |
14642 | if (temp2) | |
14643 | delete arg2; | |
14644 | } | |
14645 | return NULL; | |
14646 | } | |
14647 | ||
14648 | ||
14649 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
14650 | PyObject *resultobj = NULL; | |
14651 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14652 | int result; | |
14653 | PyObject * obj0 = 0 ; | |
14654 | char *kwnames[] = { | |
14655 | (char *) "self", NULL | |
14656 | }; | |
14657 | ||
14658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; | |
14659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14661 | { | |
14662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14663 | result = (int)(arg1)->GetCurrentLine(); | |
14664 | ||
14665 | wxPyEndAllowThreads(__tstate); | |
14666 | if (PyErr_Occurred()) SWIG_fail; | |
14667 | } | |
14668 | { | |
14669 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
14670 | } | |
14671 | return resultobj; | |
14672 | fail: | |
14673 | return NULL; | |
14674 | } | |
14675 | ||
14676 | ||
14677 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { | |
14678 | PyObject *resultobj = NULL; | |
14679 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14680 | int arg2 ; | |
14681 | wxString *arg3 = 0 ; | |
14682 | bool temp3 = false ; | |
14683 | PyObject * obj0 = 0 ; | |
14684 | PyObject * obj1 = 0 ; | |
14685 | PyObject * obj2 = 0 ; | |
14686 | char *kwnames[] = { | |
14687 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL | |
14688 | }; | |
14689 | ||
14690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14691 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14692 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14693 | { | |
14694 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14695 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14696 | } | |
14697 | { | |
14698 | arg3 = wxString_in_helper(obj2); | |
14699 | if (arg3 == NULL) SWIG_fail; | |
14700 | temp3 = true; | |
14701 | } | |
14702 | { | |
14703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14704 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); | |
14705 | ||
14706 | wxPyEndAllowThreads(__tstate); | |
14707 | if (PyErr_Occurred()) SWIG_fail; | |
14708 | } | |
14709 | Py_INCREF(Py_None); resultobj = Py_None; | |
14710 | { | |
14711 | if (temp3) | |
14712 | delete arg3; | |
14713 | } | |
14714 | return resultobj; | |
14715 | fail: | |
14716 | { | |
14717 | if (temp3) | |
14718 | delete arg3; | |
14719 | } | |
14720 | return NULL; | |
14721 | } | |
14722 | ||
14723 | ||
14724 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { | |
14725 | PyObject *resultobj = NULL; | |
14726 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14727 | int arg2 ; | |
14728 | wxFont *arg3 = 0 ; | |
14729 | PyObject * obj0 = 0 ; | |
14730 | PyObject * obj1 = 0 ; | |
14731 | PyObject * obj2 = 0 ; | |
14732 | char *kwnames[] = { | |
14733 | (char *) "self",(char *) "styleNum",(char *) "font", NULL | |
14734 | }; | |
14735 | ||
14736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14737 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14738 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14739 | { | |
14740 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14741 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14742 | } | |
14743 | { | |
14744 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
14745 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14746 | if (arg3 == NULL) { | |
14747 | SWIG_null_ref("wxFont"); | |
14748 | } | |
14749 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14750 | } | |
14751 | { | |
14752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14753 | (arg1)->StyleSetFont(arg2,*arg3); | |
14754 | ||
14755 | wxPyEndAllowThreads(__tstate); | |
14756 | if (PyErr_Occurred()) SWIG_fail; | |
14757 | } | |
14758 | Py_INCREF(Py_None); resultobj = Py_None; | |
14759 | return resultobj; | |
14760 | fail: | |
14761 | return NULL; | |
14762 | } | |
14763 | ||
14764 | ||
14765 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { | |
14766 | PyObject *resultobj = NULL; | |
14767 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14768 | int arg2 ; | |
14769 | int arg3 ; | |
14770 | wxString *arg4 = 0 ; | |
14771 | bool arg5 ; | |
14772 | bool arg6 ; | |
14773 | bool arg7 ; | |
14774 | wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ; | |
14775 | bool temp4 = false ; | |
14776 | PyObject * obj0 = 0 ; | |
14777 | PyObject * obj1 = 0 ; | |
14778 | PyObject * obj2 = 0 ; | |
14779 | PyObject * obj3 = 0 ; | |
14780 | PyObject * obj4 = 0 ; | |
14781 | PyObject * obj5 = 0 ; | |
14782 | PyObject * obj6 = 0 ; | |
14783 | PyObject * obj7 = 0 ; | |
14784 | char *kwnames[] = { | |
14785 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL | |
14786 | }; | |
14787 | ||
14788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
14789 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14790 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14791 | { | |
14792 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14793 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14794 | } | |
14795 | { | |
14796 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
14797 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14798 | } | |
14799 | { | |
14800 | arg4 = wxString_in_helper(obj3); | |
14801 | if (arg4 == NULL) SWIG_fail; | |
14802 | temp4 = true; | |
14803 | } | |
14804 | { | |
14805 | arg5 = static_cast<bool >(SWIG_As_bool(obj4)); | |
14806 | if (SWIG_arg_fail(5)) SWIG_fail; | |
14807 | } | |
14808 | { | |
14809 | arg6 = static_cast<bool >(SWIG_As_bool(obj5)); | |
14810 | if (SWIG_arg_fail(6)) SWIG_fail; | |
14811 | } | |
14812 | { | |
14813 | arg7 = static_cast<bool >(SWIG_As_bool(obj6)); | |
14814 | if (SWIG_arg_fail(7)) SWIG_fail; | |
14815 | } | |
14816 | if (obj7) { | |
14817 | { | |
14818 | arg8 = static_cast<wxFontEncoding >(SWIG_As_int(obj7)); | |
14819 | if (SWIG_arg_fail(8)) SWIG_fail; | |
14820 | } | |
14821 | } | |
14822 | { | |
14823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14824 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8); | |
14825 | ||
14826 | wxPyEndAllowThreads(__tstate); | |
14827 | if (PyErr_Occurred()) SWIG_fail; | |
14828 | } | |
14829 | Py_INCREF(Py_None); resultobj = Py_None; | |
14830 | { | |
14831 | if (temp4) | |
14832 | delete arg4; | |
14833 | } | |
14834 | return resultobj; | |
14835 | fail: | |
14836 | { | |
14837 | if (temp4) | |
14838 | delete arg4; | |
14839 | } | |
14840 | return NULL; | |
14841 | } | |
14842 | ||
14843 | ||
14844 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { | |
14845 | PyObject *resultobj = NULL; | |
14846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14847 | int arg2 ; | |
14848 | int arg3 ; | |
14849 | PyObject * obj0 = 0 ; | |
14850 | PyObject * obj1 = 0 ; | |
14851 | PyObject * obj2 = 0 ; | |
14852 | char *kwnames[] = { | |
14853 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
14854 | }; | |
14855 | ||
14856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14857 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14858 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14859 | { | |
14860 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14861 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14862 | } | |
14863 | { | |
14864 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
14865 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14866 | } | |
14867 | { | |
14868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14869 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
14870 | ||
14871 | wxPyEndAllowThreads(__tstate); | |
14872 | if (PyErr_Occurred()) SWIG_fail; | |
14873 | } | |
14874 | Py_INCREF(Py_None); resultobj = Py_None; | |
14875 | return resultobj; | |
14876 | fail: | |
14877 | return NULL; | |
14878 | } | |
14879 | ||
14880 | ||
14881 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { | |
14882 | PyObject *resultobj = NULL; | |
14883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14884 | int arg2 ; | |
14885 | wxFontEncoding arg3 ; | |
14886 | PyObject * obj0 = 0 ; | |
14887 | PyObject * obj1 = 0 ; | |
14888 | PyObject * obj2 = 0 ; | |
14889 | char *kwnames[] = { | |
14890 | (char *) "self",(char *) "style",(char *) "encoding", NULL | |
14891 | }; | |
14892 | ||
14893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14894 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14895 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14896 | { | |
14897 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14898 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14899 | } | |
14900 | { | |
14901 | arg3 = static_cast<wxFontEncoding >(SWIG_As_int(obj2)); | |
14902 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14903 | } | |
14904 | { | |
14905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14906 | (arg1)->StyleSetFontEncoding(arg2,arg3); | |
14907 | ||
14908 | wxPyEndAllowThreads(__tstate); | |
14909 | if (PyErr_Occurred()) SWIG_fail; | |
14910 | } | |
14911 | Py_INCREF(Py_None); resultobj = Py_None; | |
14912 | return resultobj; | |
14913 | fail: | |
14914 | return NULL; | |
14915 | } | |
14916 | ||
14917 | ||
14918 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { | |
14919 | PyObject *resultobj = NULL; | |
14920 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14921 | int arg2 ; | |
14922 | PyObject * obj0 = 0 ; | |
14923 | PyObject * obj1 = 0 ; | |
14924 | char *kwnames[] = { | |
14925 | (char *) "self",(char *) "cmd", NULL | |
14926 | }; | |
14927 | ||
14928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; | |
14929 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14930 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14931 | { | |
14932 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14933 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14934 | } | |
14935 | { | |
14936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14937 | (arg1)->CmdKeyExecute(arg2); | |
14938 | ||
14939 | wxPyEndAllowThreads(__tstate); | |
14940 | if (PyErr_Occurred()) SWIG_fail; | |
14941 | } | |
14942 | Py_INCREF(Py_None); resultobj = Py_None; | |
14943 | return resultobj; | |
14944 | fail: | |
14945 | return NULL; | |
14946 | } | |
14947 | ||
14948 | ||
14949 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { | |
14950 | PyObject *resultobj = NULL; | |
14951 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14952 | int arg2 ; | |
14953 | int arg3 ; | |
14954 | PyObject * obj0 = 0 ; | |
14955 | PyObject * obj1 = 0 ; | |
14956 | PyObject * obj2 = 0 ; | |
14957 | char *kwnames[] = { | |
14958 | (char *) "self",(char *) "left",(char *) "right", NULL | |
14959 | }; | |
14960 | ||
14961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) 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 | { | |
14965 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
14966 | if (SWIG_arg_fail(2)) SWIG_fail; | |
14967 | } | |
14968 | { | |
14969 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
14970 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14971 | } | |
14972 | { | |
14973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14974 | (arg1)->SetMargins(arg2,arg3); | |
14975 | ||
14976 | wxPyEndAllowThreads(__tstate); | |
14977 | if (PyErr_Occurred()) SWIG_fail; | |
14978 | } | |
14979 | Py_INCREF(Py_None); resultobj = Py_None; | |
14980 | return resultobj; | |
14981 | fail: | |
14982 | return NULL; | |
14983 | } | |
14984 | ||
14985 | ||
14986 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
14987 | PyObject *resultobj = NULL; | |
14988 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
14989 | int *arg2 = (int *) 0 ; | |
14990 | int *arg3 = (int *) 0 ; | |
14991 | int temp2 ; | |
14992 | int res2 = 0 ; | |
14993 | int temp3 ; | |
14994 | int res3 = 0 ; | |
14995 | PyObject * obj0 = 0 ; | |
14996 | char *kwnames[] = { | |
14997 | (char *) "self", NULL | |
14998 | }; | |
14999 | ||
15000 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
15001 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
15002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
15003 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15004 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15005 | { | |
15006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15007 | (arg1)->GetSelection(arg2,arg3); | |
15008 | ||
15009 | wxPyEndAllowThreads(__tstate); | |
15010 | if (PyErr_Occurred()) SWIG_fail; | |
15011 | } | |
15012 | Py_INCREF(Py_None); resultobj = Py_None; | |
15013 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
15014 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
15015 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
15016 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
15017 | return resultobj; | |
15018 | fail: | |
15019 | return NULL; | |
15020 | } | |
15021 | ||
15022 | ||
15023 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
15024 | PyObject *resultobj = NULL; | |
15025 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15026 | int arg2 ; | |
15027 | wxPoint result; | |
15028 | PyObject * obj0 = 0 ; | |
15029 | PyObject * obj1 = 0 ; | |
15030 | char *kwnames[] = { | |
15031 | (char *) "self",(char *) "pos", NULL | |
15032 | }; | |
15033 | ||
15034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; | |
15035 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15036 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15037 | { | |
15038 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15039 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15040 | } | |
15041 | { | |
15042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15043 | result = (arg1)->PointFromPosition(arg2); | |
15044 | ||
15045 | wxPyEndAllowThreads(__tstate); | |
15046 | if (PyErr_Occurred()) SWIG_fail; | |
15047 | } | |
15048 | { | |
15049 | wxPoint * resultptr; | |
15050 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); | |
15051 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); | |
15052 | } | |
15053 | return resultobj; | |
15054 | fail: | |
15055 | return NULL; | |
15056 | } | |
15057 | ||
15058 | ||
15059 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
15060 | PyObject *resultobj = NULL; | |
15061 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15062 | int arg2 ; | |
15063 | PyObject * obj0 = 0 ; | |
15064 | PyObject * obj1 = 0 ; | |
15065 | char *kwnames[] = { | |
15066 | (char *) "self",(char *) "line", NULL | |
15067 | }; | |
15068 | ||
15069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15072 | { | |
15073 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15074 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15075 | } | |
15076 | { | |
15077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15078 | (arg1)->ScrollToLine(arg2); | |
15079 | ||
15080 | wxPyEndAllowThreads(__tstate); | |
15081 | if (PyErr_Occurred()) SWIG_fail; | |
15082 | } | |
15083 | Py_INCREF(Py_None); resultobj = Py_None; | |
15084 | return resultobj; | |
15085 | fail: | |
15086 | return NULL; | |
15087 | } | |
15088 | ||
15089 | ||
15090 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
15091 | PyObject *resultobj = NULL; | |
15092 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15093 | int arg2 ; | |
15094 | PyObject * obj0 = 0 ; | |
15095 | PyObject * obj1 = 0 ; | |
15096 | char *kwnames[] = { | |
15097 | (char *) "self",(char *) "column", NULL | |
15098 | }; | |
15099 | ||
15100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; | |
15101 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15102 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15103 | { | |
15104 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15105 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15106 | } | |
15107 | { | |
15108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15109 | (arg1)->ScrollToColumn(arg2); | |
15110 | ||
15111 | wxPyEndAllowThreads(__tstate); | |
15112 | if (PyErr_Occurred()) SWIG_fail; | |
15113 | } | |
15114 | Py_INCREF(Py_None); resultobj = Py_None; | |
15115 | return resultobj; | |
15116 | fail: | |
15117 | return NULL; | |
15118 | } | |
15119 | ||
15120 | ||
15121 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { | |
15122 | PyObject *resultobj = NULL; | |
15123 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15124 | int arg2 ; | |
15125 | long arg3 = (long) 0 ; | |
15126 | long arg4 = (long) 0 ; | |
15127 | long result; | |
15128 | PyObject * obj0 = 0 ; | |
15129 | PyObject * obj1 = 0 ; | |
15130 | PyObject * obj2 = 0 ; | |
15131 | PyObject * obj3 = 0 ; | |
15132 | char *kwnames[] = { | |
15133 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL | |
15134 | }; | |
15135 | ||
15136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15137 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15138 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15139 | { | |
15140 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15141 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15142 | } | |
15143 | if (obj2) { | |
15144 | { | |
15145 | arg3 = static_cast<long >(SWIG_As_long(obj2)); | |
15146 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15147 | } | |
15148 | } | |
15149 | if (obj3) { | |
15150 | { | |
15151 | arg4 = static_cast<long >(SWIG_As_long(obj3)); | |
15152 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15153 | } | |
15154 | } | |
15155 | { | |
15156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15157 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); | |
15158 | ||
15159 | wxPyEndAllowThreads(__tstate); | |
15160 | if (PyErr_Occurred()) SWIG_fail; | |
15161 | } | |
15162 | { | |
15163 | resultobj = SWIG_From_long(static_cast<long >(result)); | |
15164 | } | |
15165 | return resultobj; | |
15166 | fail: | |
15167 | return NULL; | |
15168 | } | |
15169 | ||
15170 | ||
15171 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
15172 | PyObject *resultobj = NULL; | |
15173 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15174 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
15175 | PyObject * obj0 = 0 ; | |
15176 | PyObject * obj1 = 0 ; | |
15177 | char *kwnames[] = { | |
15178 | (char *) "self",(char *) "bar", NULL | |
15179 | }; | |
15180 | ||
15181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15182 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15183 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15184 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
15185 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15186 | { | |
15187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15188 | (arg1)->SetVScrollBar(arg2); | |
15189 | ||
15190 | wxPyEndAllowThreads(__tstate); | |
15191 | if (PyErr_Occurred()) SWIG_fail; | |
15192 | } | |
15193 | Py_INCREF(Py_None); resultobj = Py_None; | |
15194 | return resultobj; | |
15195 | fail: | |
15196 | return NULL; | |
15197 | } | |
15198 | ||
15199 | ||
15200 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
15201 | PyObject *resultobj = NULL; | |
15202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15203 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
15204 | PyObject * obj0 = 0 ; | |
15205 | PyObject * obj1 = 0 ; | |
15206 | char *kwnames[] = { | |
15207 | (char *) "self",(char *) "bar", NULL | |
15208 | }; | |
15209 | ||
15210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
15211 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15212 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15213 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
15214 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15215 | { | |
15216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15217 | (arg1)->SetHScrollBar(arg2); | |
15218 | ||
15219 | wxPyEndAllowThreads(__tstate); | |
15220 | if (PyErr_Occurred()) SWIG_fail; | |
15221 | } | |
15222 | Py_INCREF(Py_None); resultobj = Py_None; | |
15223 | return resultobj; | |
15224 | fail: | |
15225 | return NULL; | |
15226 | } | |
15227 | ||
15228 | ||
15229 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { | |
15230 | PyObject *resultobj = NULL; | |
15231 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15232 | bool result; | |
15233 | PyObject * obj0 = 0 ; | |
15234 | char *kwnames[] = { | |
15235 | (char *) "self", NULL | |
15236 | }; | |
15237 | ||
15238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; | |
15239 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15240 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15241 | { | |
15242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15243 | result = (bool)(arg1)->GetLastKeydownProcessed(); | |
15244 | ||
15245 | wxPyEndAllowThreads(__tstate); | |
15246 | if (PyErr_Occurred()) SWIG_fail; | |
15247 | } | |
15248 | { | |
15249 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15250 | } | |
15251 | return resultobj; | |
15252 | fail: | |
15253 | return NULL; | |
15254 | } | |
15255 | ||
15256 | ||
15257 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { | |
15258 | PyObject *resultobj = NULL; | |
15259 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15260 | bool arg2 ; | |
15261 | PyObject * obj0 = 0 ; | |
15262 | PyObject * obj1 = 0 ; | |
15263 | char *kwnames[] = { | |
15264 | (char *) "self",(char *) "val", NULL | |
15265 | }; | |
15266 | ||
15267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; | |
15268 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15269 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15270 | { | |
15271 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
15272 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15273 | } | |
15274 | { | |
15275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15276 | (arg1)->SetLastKeydownProcessed(arg2); | |
15277 | ||
15278 | wxPyEndAllowThreads(__tstate); | |
15279 | if (PyErr_Occurred()) SWIG_fail; | |
15280 | } | |
15281 | Py_INCREF(Py_None); resultobj = Py_None; | |
15282 | return resultobj; | |
15283 | fail: | |
15284 | return NULL; | |
15285 | } | |
15286 | ||
15287 | ||
15288 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { | |
15289 | PyObject *resultobj = NULL; | |
15290 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15291 | wxString *arg2 = 0 ; | |
15292 | bool result; | |
15293 | bool temp2 = false ; | |
15294 | PyObject * obj0 = 0 ; | |
15295 | PyObject * obj1 = 0 ; | |
15296 | char *kwnames[] = { | |
15297 | (char *) "self",(char *) "filename", NULL | |
15298 | }; | |
15299 | ||
15300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; | |
15301 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15302 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15303 | { | |
15304 | arg2 = wxString_in_helper(obj1); | |
15305 | if (arg2 == NULL) SWIG_fail; | |
15306 | temp2 = true; | |
15307 | } | |
15308 | { | |
15309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15310 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); | |
15311 | ||
15312 | wxPyEndAllowThreads(__tstate); | |
15313 | if (PyErr_Occurred()) SWIG_fail; | |
15314 | } | |
15315 | { | |
15316 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15317 | } | |
15318 | { | |
15319 | if (temp2) | |
15320 | delete arg2; | |
15321 | } | |
15322 | return resultobj; | |
15323 | fail: | |
15324 | { | |
15325 | if (temp2) | |
15326 | delete arg2; | |
15327 | } | |
15328 | return NULL; | |
15329 | } | |
15330 | ||
15331 | ||
15332 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { | |
15333 | PyObject *resultobj = NULL; | |
15334 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15335 | wxString *arg2 = 0 ; | |
15336 | bool result; | |
15337 | bool temp2 = false ; | |
15338 | PyObject * obj0 = 0 ; | |
15339 | PyObject * obj1 = 0 ; | |
15340 | char *kwnames[] = { | |
15341 | (char *) "self",(char *) "filename", NULL | |
15342 | }; | |
15343 | ||
15344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
15345 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15346 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15347 | { | |
15348 | arg2 = wxString_in_helper(obj1); | |
15349 | if (arg2 == NULL) SWIG_fail; | |
15350 | temp2 = true; | |
15351 | } | |
15352 | { | |
15353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15354 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
15355 | ||
15356 | wxPyEndAllowThreads(__tstate); | |
15357 | if (PyErr_Occurred()) SWIG_fail; | |
15358 | } | |
15359 | { | |
15360 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15361 | } | |
15362 | { | |
15363 | if (temp2) | |
15364 | delete arg2; | |
15365 | } | |
15366 | return resultobj; | |
15367 | fail: | |
15368 | { | |
15369 | if (temp2) | |
15370 | delete arg2; | |
15371 | } | |
15372 | return NULL; | |
15373 | } | |
15374 | ||
15375 | ||
15376 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { | |
15377 | PyObject *resultobj = NULL; | |
15378 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15379 | int arg2 ; | |
15380 | int arg3 ; | |
15381 | wxDragResult arg4 ; | |
15382 | wxDragResult result; | |
15383 | PyObject * obj0 = 0 ; | |
15384 | PyObject * obj1 = 0 ; | |
15385 | PyObject * obj2 = 0 ; | |
15386 | PyObject * obj3 = 0 ; | |
15387 | char *kwnames[] = { | |
15388 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL | |
15389 | }; | |
15390 | ||
15391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15394 | { | |
15395 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15396 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15397 | } | |
15398 | { | |
15399 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
15400 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15401 | } | |
15402 | { | |
15403 | arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3)); | |
15404 | if (SWIG_arg_fail(4)) SWIG_fail; | |
15405 | } | |
15406 | { | |
15407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15408 | result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4); | |
15409 | ||
15410 | wxPyEndAllowThreads(__tstate); | |
15411 | if (PyErr_Occurred()) SWIG_fail; | |
15412 | } | |
15413 | resultobj = SWIG_From_int((result)); | |
15414 | return resultobj; | |
15415 | fail: | |
15416 | return NULL; | |
15417 | } | |
15418 | ||
15419 | ||
15420 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { | |
15421 | PyObject *resultobj = NULL; | |
15422 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15423 | long arg2 ; | |
15424 | long arg3 ; | |
15425 | wxString *arg4 = 0 ; | |
15426 | bool result; | |
15427 | bool temp4 = false ; | |
15428 | PyObject * obj0 = 0 ; | |
15429 | PyObject * obj1 = 0 ; | |
15430 | PyObject * obj2 = 0 ; | |
15431 | PyObject * obj3 = 0 ; | |
15432 | char *kwnames[] = { | |
15433 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL | |
15434 | }; | |
15435 | ||
15436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15439 | { | |
15440 | arg2 = static_cast<long >(SWIG_As_long(obj1)); | |
15441 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15442 | } | |
15443 | { | |
15444 | arg3 = static_cast<long >(SWIG_As_long(obj2)); | |
15445 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15446 | } | |
15447 | { | |
15448 | arg4 = wxString_in_helper(obj3); | |
15449 | if (arg4 == NULL) SWIG_fail; | |
15450 | temp4 = true; | |
15451 | } | |
15452 | { | |
15453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15454 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); | |
15455 | ||
15456 | wxPyEndAllowThreads(__tstate); | |
15457 | if (PyErr_Occurred()) SWIG_fail; | |
15458 | } | |
15459 | { | |
15460 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15461 | } | |
15462 | { | |
15463 | if (temp4) | |
15464 | delete arg4; | |
15465 | } | |
15466 | return resultobj; | |
15467 | fail: | |
15468 | { | |
15469 | if (temp4) | |
15470 | delete arg4; | |
15471 | } | |
15472 | return NULL; | |
15473 | } | |
15474 | ||
15475 | ||
15476 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { | |
15477 | PyObject *resultobj = NULL; | |
15478 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15479 | bool arg2 ; | |
15480 | PyObject * obj0 = 0 ; | |
15481 | PyObject * obj1 = 0 ; | |
15482 | char *kwnames[] = { | |
15483 | (char *) "self",(char *) "useAA", NULL | |
15484 | }; | |
15485 | ||
15486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; | |
15487 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15488 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15489 | { | |
15490 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
15491 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15492 | } | |
15493 | { | |
15494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15495 | (arg1)->SetUseAntiAliasing(arg2); | |
15496 | ||
15497 | wxPyEndAllowThreads(__tstate); | |
15498 | if (PyErr_Occurred()) SWIG_fail; | |
15499 | } | |
15500 | Py_INCREF(Py_None); resultobj = Py_None; | |
15501 | return resultobj; | |
15502 | fail: | |
15503 | return NULL; | |
15504 | } | |
15505 | ||
15506 | ||
15507 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { | |
15508 | PyObject *resultobj = NULL; | |
15509 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15510 | bool result; | |
15511 | PyObject * obj0 = 0 ; | |
15512 | char *kwnames[] = { | |
15513 | (char *) "self", NULL | |
15514 | }; | |
15515 | ||
15516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; | |
15517 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15518 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15519 | { | |
15520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15521 | result = (bool)(arg1)->GetUseAntiAliasing(); | |
15522 | ||
15523 | wxPyEndAllowThreads(__tstate); | |
15524 | if (PyErr_Occurred()) SWIG_fail; | |
15525 | } | |
15526 | { | |
15527 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15528 | } | |
15529 | return resultobj; | |
15530 | fail: | |
15531 | return NULL; | |
15532 | } | |
15533 | ||
15534 | ||
15535 | static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15536 | PyObject *resultobj = NULL; | |
15537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15538 | char *arg2 = (char *) 0 ; | |
15539 | PyObject * obj0 = 0 ; | |
15540 | PyObject * obj1 = 0 ; | |
15541 | char *kwnames[] = { | |
15542 | (char *) "self",(char *) "text", NULL | |
15543 | }; | |
15544 | ||
15545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15548 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15549 | SWIG_arg_fail(2);SWIG_fail; | |
15550 | } | |
15551 | { | |
15552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15553 | (arg1)->AddTextRaw((char const *)arg2); | |
15554 | ||
15555 | wxPyEndAllowThreads(__tstate); | |
15556 | if (PyErr_Occurred()) SWIG_fail; | |
15557 | } | |
15558 | Py_INCREF(Py_None); resultobj = Py_None; | |
15559 | return resultobj; | |
15560 | fail: | |
15561 | return NULL; | |
15562 | } | |
15563 | ||
15564 | ||
15565 | static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15566 | PyObject *resultobj = NULL; | |
15567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15568 | int arg2 ; | |
15569 | char *arg3 = (char *) 0 ; | |
15570 | PyObject * obj0 = 0 ; | |
15571 | PyObject * obj1 = 0 ; | |
15572 | PyObject * obj2 = 0 ; | |
15573 | char *kwnames[] = { | |
15574 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
15575 | }; | |
15576 | ||
15577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15578 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15579 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15580 | { | |
15581 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15582 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15583 | } | |
15584 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
15585 | SWIG_arg_fail(3);SWIG_fail; | |
15586 | } | |
15587 | { | |
15588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15589 | (arg1)->InsertTextRaw(arg2,(char const *)arg3); | |
15590 | ||
15591 | wxPyEndAllowThreads(__tstate); | |
15592 | if (PyErr_Occurred()) SWIG_fail; | |
15593 | } | |
15594 | Py_INCREF(Py_None); resultobj = Py_None; | |
15595 | return resultobj; | |
15596 | fail: | |
15597 | return NULL; | |
15598 | } | |
15599 | ||
15600 | ||
15601 | static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15602 | PyObject *resultobj = NULL; | |
15603 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15604 | int *arg2 = (int *) 0 ; | |
15605 | wxCharBuffer result; | |
15606 | int temp2 ; | |
15607 | int res2 = 0 ; | |
15608 | PyObject * obj0 = 0 ; | |
15609 | char *kwnames[] = { | |
15610 | (char *) "self", NULL | |
15611 | }; | |
15612 | ||
15613 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
15614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail; | |
15615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15617 | { | |
15618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15619 | result = (arg1)->GetCurLineRaw(arg2); | |
15620 | ||
15621 | wxPyEndAllowThreads(__tstate); | |
15622 | if (PyErr_Occurred()) SWIG_fail; | |
15623 | } | |
15624 | { | |
15625 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15626 | } | |
15627 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
15628 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
15629 | return resultobj; | |
15630 | fail: | |
15631 | return NULL; | |
15632 | } | |
15633 | ||
15634 | ||
15635 | static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15636 | PyObject *resultobj = NULL; | |
15637 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15638 | int arg2 ; | |
15639 | wxCharBuffer result; | |
15640 | PyObject * obj0 = 0 ; | |
15641 | PyObject * obj1 = 0 ; | |
15642 | char *kwnames[] = { | |
15643 | (char *) "self",(char *) "line", NULL | |
15644 | }; | |
15645 | ||
15646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail; | |
15647 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15648 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15649 | { | |
15650 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15651 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15652 | } | |
15653 | { | |
15654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15655 | result = (arg1)->GetLineRaw(arg2); | |
15656 | ||
15657 | wxPyEndAllowThreads(__tstate); | |
15658 | if (PyErr_Occurred()) SWIG_fail; | |
15659 | } | |
15660 | { | |
15661 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15662 | } | |
15663 | return resultobj; | |
15664 | fail: | |
15665 | return NULL; | |
15666 | } | |
15667 | ||
15668 | ||
15669 | static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15670 | PyObject *resultobj = NULL; | |
15671 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15672 | wxCharBuffer result; | |
15673 | PyObject * obj0 = 0 ; | |
15674 | char *kwnames[] = { | |
15675 | (char *) "self", NULL | |
15676 | }; | |
15677 | ||
15678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail; | |
15679 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15680 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15681 | { | |
15682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15683 | result = (arg1)->GetSelectedTextRaw(); | |
15684 | ||
15685 | wxPyEndAllowThreads(__tstate); | |
15686 | if (PyErr_Occurred()) SWIG_fail; | |
15687 | } | |
15688 | { | |
15689 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15690 | } | |
15691 | return resultobj; | |
15692 | fail: | |
15693 | return NULL; | |
15694 | } | |
15695 | ||
15696 | ||
15697 | static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15698 | PyObject *resultobj = NULL; | |
15699 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15700 | int arg2 ; | |
15701 | int arg3 ; | |
15702 | wxCharBuffer result; | |
15703 | PyObject * obj0 = 0 ; | |
15704 | PyObject * obj1 = 0 ; | |
15705 | PyObject * obj2 = 0 ; | |
15706 | char *kwnames[] = { | |
15707 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
15708 | }; | |
15709 | ||
15710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15711 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15712 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15713 | { | |
15714 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15715 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15716 | } | |
15717 | { | |
15718 | arg3 = static_cast<int >(SWIG_As_int(obj2)); | |
15719 | if (SWIG_arg_fail(3)) SWIG_fail; | |
15720 | } | |
15721 | { | |
15722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15723 | result = (arg1)->GetTextRangeRaw(arg2,arg3); | |
15724 | ||
15725 | wxPyEndAllowThreads(__tstate); | |
15726 | if (PyErr_Occurred()) SWIG_fail; | |
15727 | } | |
15728 | { | |
15729 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15730 | } | |
15731 | return resultobj; | |
15732 | fail: | |
15733 | return NULL; | |
15734 | } | |
15735 | ||
15736 | ||
15737 | static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15738 | PyObject *resultobj = NULL; | |
15739 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15740 | char *arg2 = (char *) 0 ; | |
15741 | PyObject * obj0 = 0 ; | |
15742 | PyObject * obj1 = 0 ; | |
15743 | char *kwnames[] = { | |
15744 | (char *) "self",(char *) "text", NULL | |
15745 | }; | |
15746 | ||
15747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15750 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15751 | SWIG_arg_fail(2);SWIG_fail; | |
15752 | } | |
15753 | { | |
15754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15755 | (arg1)->SetTextRaw((char const *)arg2); | |
15756 | ||
15757 | wxPyEndAllowThreads(__tstate); | |
15758 | if (PyErr_Occurred()) SWIG_fail; | |
15759 | } | |
15760 | Py_INCREF(Py_None); resultobj = Py_None; | |
15761 | return resultobj; | |
15762 | fail: | |
15763 | return NULL; | |
15764 | } | |
15765 | ||
15766 | ||
15767 | static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15768 | PyObject *resultobj = NULL; | |
15769 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15770 | wxCharBuffer result; | |
15771 | PyObject * obj0 = 0 ; | |
15772 | char *kwnames[] = { | |
15773 | (char *) "self", NULL | |
15774 | }; | |
15775 | ||
15776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail; | |
15777 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15778 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15779 | { | |
15780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15781 | result = (arg1)->GetTextRaw(); | |
15782 | ||
15783 | wxPyEndAllowThreads(__tstate); | |
15784 | if (PyErr_Occurred()) SWIG_fail; | |
15785 | } | |
15786 | { | |
15787 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15788 | } | |
15789 | return resultobj; | |
15790 | fail: | |
15791 | return NULL; | |
15792 | } | |
15793 | ||
15794 | ||
15795 | static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
15796 | PyObject *resultobj = NULL; | |
15797 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
15798 | char *arg2 = (char *) 0 ; | |
15799 | PyObject * obj0 = 0 ; | |
15800 | PyObject * obj1 = 0 ; | |
15801 | char *kwnames[] = { | |
15802 | (char *) "self",(char *) "text", NULL | |
15803 | }; | |
15804 | ||
15805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15808 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15809 | SWIG_arg_fail(2);SWIG_fail; | |
15810 | } | |
15811 | { | |
15812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15813 | (arg1)->AppendTextRaw((char const *)arg2); | |
15814 | ||
15815 | wxPyEndAllowThreads(__tstate); | |
15816 | if (PyErr_Occurred()) SWIG_fail; | |
15817 | } | |
15818 | Py_INCREF(Py_None); resultobj = Py_None; | |
15819 | return resultobj; | |
15820 | fail: | |
15821 | return NULL; | |
15822 | } | |
15823 | ||
15824 | ||
15825 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { | |
15826 | PyObject *obj; | |
15827 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15828 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
15829 | Py_INCREF(obj); | |
15830 | return Py_BuildValue((char *)""); | |
15831 | } | |
15832 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
15833 | PyObject *resultobj = NULL; | |
15834 | wxEventType arg1 = (wxEventType) 0 ; | |
15835 | int arg2 = (int) 0 ; | |
15836 | wxStyledTextEvent *result; | |
15837 | PyObject * obj0 = 0 ; | |
15838 | PyObject * obj1 = 0 ; | |
15839 | char *kwnames[] = { | |
15840 | (char *) "commandType",(char *) "id", NULL | |
15841 | }; | |
15842 | ||
15843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; | |
15844 | if (obj0) { | |
15845 | { | |
15846 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); | |
15847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15848 | } | |
15849 | } | |
15850 | if (obj1) { | |
15851 | { | |
15852 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15853 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15854 | } | |
15855 | } | |
15856 | { | |
15857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15858 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); | |
15859 | ||
15860 | wxPyEndAllowThreads(__tstate); | |
15861 | if (PyErr_Occurred()) SWIG_fail; | |
15862 | } | |
15863 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); | |
15864 | return resultobj; | |
15865 | fail: | |
15866 | return NULL; | |
15867 | } | |
15868 | ||
15869 | ||
15870 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
15871 | PyObject *resultobj = NULL; | |
15872 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15873 | PyObject * obj0 = 0 ; | |
15874 | char *kwnames[] = { | |
15875 | (char *) "self", NULL | |
15876 | }; | |
15877 | ||
15878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; | |
15879 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15880 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15881 | { | |
15882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15883 | delete arg1; | |
15884 | ||
15885 | wxPyEndAllowThreads(__tstate); | |
15886 | if (PyErr_Occurred()) SWIG_fail; | |
15887 | } | |
15888 | Py_INCREF(Py_None); resultobj = Py_None; | |
15889 | return resultobj; | |
15890 | fail: | |
15891 | return NULL; | |
15892 | } | |
15893 | ||
15894 | ||
15895 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
15896 | PyObject *resultobj = NULL; | |
15897 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15898 | int arg2 ; | |
15899 | PyObject * obj0 = 0 ; | |
15900 | PyObject * obj1 = 0 ; | |
15901 | char *kwnames[] = { | |
15902 | (char *) "self",(char *) "pos", NULL | |
15903 | }; | |
15904 | ||
15905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; | |
15906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15908 | { | |
15909 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15910 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15911 | } | |
15912 | { | |
15913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15914 | (arg1)->SetPosition(arg2); | |
15915 | ||
15916 | wxPyEndAllowThreads(__tstate); | |
15917 | if (PyErr_Occurred()) SWIG_fail; | |
15918 | } | |
15919 | Py_INCREF(Py_None); resultobj = Py_None; | |
15920 | return resultobj; | |
15921 | fail: | |
15922 | return NULL; | |
15923 | } | |
15924 | ||
15925 | ||
15926 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { | |
15927 | PyObject *resultobj = NULL; | |
15928 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15929 | int arg2 ; | |
15930 | PyObject * obj0 = 0 ; | |
15931 | PyObject * obj1 = 0 ; | |
15932 | char *kwnames[] = { | |
15933 | (char *) "self",(char *) "k", NULL | |
15934 | }; | |
15935 | ||
15936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; | |
15937 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15938 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15939 | { | |
15940 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15941 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15942 | } | |
15943 | { | |
15944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15945 | (arg1)->SetKey(arg2); | |
15946 | ||
15947 | wxPyEndAllowThreads(__tstate); | |
15948 | if (PyErr_Occurred()) SWIG_fail; | |
15949 | } | |
15950 | Py_INCREF(Py_None); resultobj = Py_None; | |
15951 | return resultobj; | |
15952 | fail: | |
15953 | return NULL; | |
15954 | } | |
15955 | ||
15956 | ||
15957 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { | |
15958 | PyObject *resultobj = NULL; | |
15959 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15960 | int arg2 ; | |
15961 | PyObject * obj0 = 0 ; | |
15962 | PyObject * obj1 = 0 ; | |
15963 | char *kwnames[] = { | |
15964 | (char *) "self",(char *) "m", NULL | |
15965 | }; | |
15966 | ||
15967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; | |
15968 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15969 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15970 | { | |
15971 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
15972 | if (SWIG_arg_fail(2)) SWIG_fail; | |
15973 | } | |
15974 | { | |
15975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15976 | (arg1)->SetModifiers(arg2); | |
15977 | ||
15978 | wxPyEndAllowThreads(__tstate); | |
15979 | if (PyErr_Occurred()) SWIG_fail; | |
15980 | } | |
15981 | Py_INCREF(Py_None); resultobj = Py_None; | |
15982 | return resultobj; | |
15983 | fail: | |
15984 | return NULL; | |
15985 | } | |
15986 | ||
15987 | ||
15988 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { | |
15989 | PyObject *resultobj = NULL; | |
15990 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
15991 | int arg2 ; | |
15992 | PyObject * obj0 = 0 ; | |
15993 | PyObject * obj1 = 0 ; | |
15994 | char *kwnames[] = { | |
15995 | (char *) "self",(char *) "t", NULL | |
15996 | }; | |
15997 | ||
15998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; | |
15999 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16000 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16001 | { | |
16002 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16003 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16004 | } | |
16005 | { | |
16006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16007 | (arg1)->SetModificationType(arg2); | |
16008 | ||
16009 | wxPyEndAllowThreads(__tstate); | |
16010 | if (PyErr_Occurred()) SWIG_fail; | |
16011 | } | |
16012 | Py_INCREF(Py_None); resultobj = Py_None; | |
16013 | return resultobj; | |
16014 | fail: | |
16015 | return NULL; | |
16016 | } | |
16017 | ||
16018 | ||
16019 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16020 | PyObject *resultobj = NULL; | |
16021 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16022 | wxString *arg2 = 0 ; | |
16023 | bool temp2 = false ; | |
16024 | PyObject * obj0 = 0 ; | |
16025 | PyObject * obj1 = 0 ; | |
16026 | char *kwnames[] = { | |
16027 | (char *) "self",(char *) "t", NULL | |
16028 | }; | |
16029 | ||
16030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; | |
16031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16033 | { | |
16034 | arg2 = wxString_in_helper(obj1); | |
16035 | if (arg2 == NULL) SWIG_fail; | |
16036 | temp2 = true; | |
16037 | } | |
16038 | { | |
16039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16040 | (arg1)->SetText((wxString const &)*arg2); | |
16041 | ||
16042 | wxPyEndAllowThreads(__tstate); | |
16043 | if (PyErr_Occurred()) SWIG_fail; | |
16044 | } | |
16045 | Py_INCREF(Py_None); resultobj = Py_None; | |
16046 | { | |
16047 | if (temp2) | |
16048 | delete arg2; | |
16049 | } | |
16050 | return resultobj; | |
16051 | fail: | |
16052 | { | |
16053 | if (temp2) | |
16054 | delete arg2; | |
16055 | } | |
16056 | return NULL; | |
16057 | } | |
16058 | ||
16059 | ||
16060 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
16061 | PyObject *resultobj = NULL; | |
16062 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16063 | int arg2 ; | |
16064 | PyObject * obj0 = 0 ; | |
16065 | PyObject * obj1 = 0 ; | |
16066 | char *kwnames[] = { | |
16067 | (char *) "self",(char *) "len", NULL | |
16068 | }; | |
16069 | ||
16070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; | |
16071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16073 | { | |
16074 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16075 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16076 | } | |
16077 | { | |
16078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16079 | (arg1)->SetLength(arg2); | |
16080 | ||
16081 | wxPyEndAllowThreads(__tstate); | |
16082 | if (PyErr_Occurred()) SWIG_fail; | |
16083 | } | |
16084 | Py_INCREF(Py_None); resultobj = Py_None; | |
16085 | return resultobj; | |
16086 | fail: | |
16087 | return NULL; | |
16088 | } | |
16089 | ||
16090 | ||
16091 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { | |
16092 | PyObject *resultobj = NULL; | |
16093 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16094 | int arg2 ; | |
16095 | PyObject * obj0 = 0 ; | |
16096 | PyObject * obj1 = 0 ; | |
16097 | char *kwnames[] = { | |
16098 | (char *) "self",(char *) "num", NULL | |
16099 | }; | |
16100 | ||
16101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; | |
16102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16104 | { | |
16105 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16106 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16107 | } | |
16108 | { | |
16109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16110 | (arg1)->SetLinesAdded(arg2); | |
16111 | ||
16112 | wxPyEndAllowThreads(__tstate); | |
16113 | if (PyErr_Occurred()) SWIG_fail; | |
16114 | } | |
16115 | Py_INCREF(Py_None); resultobj = Py_None; | |
16116 | return resultobj; | |
16117 | fail: | |
16118 | return NULL; | |
16119 | } | |
16120 | ||
16121 | ||
16122 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
16123 | PyObject *resultobj = NULL; | |
16124 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16125 | int arg2 ; | |
16126 | PyObject * obj0 = 0 ; | |
16127 | PyObject * obj1 = 0 ; | |
16128 | char *kwnames[] = { | |
16129 | (char *) "self",(char *) "val", NULL | |
16130 | }; | |
16131 | ||
16132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; | |
16133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16135 | { | |
16136 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16137 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16138 | } | |
16139 | { | |
16140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16141 | (arg1)->SetLine(arg2); | |
16142 | ||
16143 | wxPyEndAllowThreads(__tstate); | |
16144 | if (PyErr_Occurred()) SWIG_fail; | |
16145 | } | |
16146 | Py_INCREF(Py_None); resultobj = Py_None; | |
16147 | return resultobj; | |
16148 | fail: | |
16149 | return NULL; | |
16150 | } | |
16151 | ||
16152 | ||
16153 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { | |
16154 | PyObject *resultobj = NULL; | |
16155 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16156 | int arg2 ; | |
16157 | PyObject * obj0 = 0 ; | |
16158 | PyObject * obj1 = 0 ; | |
16159 | char *kwnames[] = { | |
16160 | (char *) "self",(char *) "val", NULL | |
16161 | }; | |
16162 | ||
16163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; | |
16164 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16165 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16166 | { | |
16167 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16168 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16169 | } | |
16170 | { | |
16171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16172 | (arg1)->SetFoldLevelNow(arg2); | |
16173 | ||
16174 | wxPyEndAllowThreads(__tstate); | |
16175 | if (PyErr_Occurred()) SWIG_fail; | |
16176 | } | |
16177 | Py_INCREF(Py_None); resultobj = Py_None; | |
16178 | return resultobj; | |
16179 | fail: | |
16180 | return NULL; | |
16181 | } | |
16182 | ||
16183 | ||
16184 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
16185 | PyObject *resultobj = NULL; | |
16186 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16187 | int arg2 ; | |
16188 | PyObject * obj0 = 0 ; | |
16189 | PyObject * obj1 = 0 ; | |
16190 | char *kwnames[] = { | |
16191 | (char *) "self",(char *) "val", NULL | |
16192 | }; | |
16193 | ||
16194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; | |
16195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16197 | { | |
16198 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16199 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16200 | } | |
16201 | { | |
16202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16203 | (arg1)->SetFoldLevelPrev(arg2); | |
16204 | ||
16205 | wxPyEndAllowThreads(__tstate); | |
16206 | if (PyErr_Occurred()) SWIG_fail; | |
16207 | } | |
16208 | Py_INCREF(Py_None); resultobj = Py_None; | |
16209 | return resultobj; | |
16210 | fail: | |
16211 | return NULL; | |
16212 | } | |
16213 | ||
16214 | ||
16215 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
16216 | PyObject *resultobj = NULL; | |
16217 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16218 | int arg2 ; | |
16219 | PyObject * obj0 = 0 ; | |
16220 | PyObject * obj1 = 0 ; | |
16221 | char *kwnames[] = { | |
16222 | (char *) "self",(char *) "val", NULL | |
16223 | }; | |
16224 | ||
16225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; | |
16226 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16227 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16228 | { | |
16229 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16230 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16231 | } | |
16232 | { | |
16233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16234 | (arg1)->SetMargin(arg2); | |
16235 | ||
16236 | wxPyEndAllowThreads(__tstate); | |
16237 | if (PyErr_Occurred()) SWIG_fail; | |
16238 | } | |
16239 | Py_INCREF(Py_None); resultobj = Py_None; | |
16240 | return resultobj; | |
16241 | fail: | |
16242 | return NULL; | |
16243 | } | |
16244 | ||
16245 | ||
16246 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
16247 | PyObject *resultobj = NULL; | |
16248 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16249 | int arg2 ; | |
16250 | PyObject * obj0 = 0 ; | |
16251 | PyObject * obj1 = 0 ; | |
16252 | char *kwnames[] = { | |
16253 | (char *) "self",(char *) "val", NULL | |
16254 | }; | |
16255 | ||
16256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
16257 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16258 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16259 | { | |
16260 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16261 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16262 | } | |
16263 | { | |
16264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16265 | (arg1)->SetMessage(arg2); | |
16266 | ||
16267 | wxPyEndAllowThreads(__tstate); | |
16268 | if (PyErr_Occurred()) SWIG_fail; | |
16269 | } | |
16270 | Py_INCREF(Py_None); resultobj = Py_None; | |
16271 | return resultobj; | |
16272 | fail: | |
16273 | return NULL; | |
16274 | } | |
16275 | ||
16276 | ||
16277 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16278 | PyObject *resultobj = NULL; | |
16279 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16280 | int arg2 ; | |
16281 | PyObject * obj0 = 0 ; | |
16282 | PyObject * obj1 = 0 ; | |
16283 | char *kwnames[] = { | |
16284 | (char *) "self",(char *) "val", NULL | |
16285 | }; | |
16286 | ||
16287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; | |
16288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16290 | { | |
16291 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16292 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16293 | } | |
16294 | { | |
16295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16296 | (arg1)->SetWParam(arg2); | |
16297 | ||
16298 | wxPyEndAllowThreads(__tstate); | |
16299 | if (PyErr_Occurred()) SWIG_fail; | |
16300 | } | |
16301 | Py_INCREF(Py_None); resultobj = Py_None; | |
16302 | return resultobj; | |
16303 | fail: | |
16304 | return NULL; | |
16305 | } | |
16306 | ||
16307 | ||
16308 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16309 | PyObject *resultobj = NULL; | |
16310 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16311 | int arg2 ; | |
16312 | PyObject * obj0 = 0 ; | |
16313 | PyObject * obj1 = 0 ; | |
16314 | char *kwnames[] = { | |
16315 | (char *) "self",(char *) "val", NULL | |
16316 | }; | |
16317 | ||
16318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; | |
16319 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16320 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16321 | { | |
16322 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16323 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16324 | } | |
16325 | { | |
16326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16327 | (arg1)->SetLParam(arg2); | |
16328 | ||
16329 | wxPyEndAllowThreads(__tstate); | |
16330 | if (PyErr_Occurred()) SWIG_fail; | |
16331 | } | |
16332 | Py_INCREF(Py_None); resultobj = Py_None; | |
16333 | return resultobj; | |
16334 | fail: | |
16335 | return NULL; | |
16336 | } | |
16337 | ||
16338 | ||
16339 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16340 | PyObject *resultobj = NULL; | |
16341 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16342 | int arg2 ; | |
16343 | PyObject * obj0 = 0 ; | |
16344 | PyObject * obj1 = 0 ; | |
16345 | char *kwnames[] = { | |
16346 | (char *) "self",(char *) "val", NULL | |
16347 | }; | |
16348 | ||
16349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; | |
16350 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16351 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16352 | { | |
16353 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16354 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16355 | } | |
16356 | { | |
16357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16358 | (arg1)->SetListType(arg2); | |
16359 | ||
16360 | wxPyEndAllowThreads(__tstate); | |
16361 | if (PyErr_Occurred()) SWIG_fail; | |
16362 | } | |
16363 | Py_INCREF(Py_None); resultobj = Py_None; | |
16364 | return resultobj; | |
16365 | fail: | |
16366 | return NULL; | |
16367 | } | |
16368 | ||
16369 | ||
16370 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
16371 | PyObject *resultobj = NULL; | |
16372 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16373 | int arg2 ; | |
16374 | PyObject * obj0 = 0 ; | |
16375 | PyObject * obj1 = 0 ; | |
16376 | char *kwnames[] = { | |
16377 | (char *) "self",(char *) "val", NULL | |
16378 | }; | |
16379 | ||
16380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) 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 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16385 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16386 | } | |
16387 | { | |
16388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16389 | (arg1)->SetX(arg2); | |
16390 | ||
16391 | wxPyEndAllowThreads(__tstate); | |
16392 | if (PyErr_Occurred()) SWIG_fail; | |
16393 | } | |
16394 | Py_INCREF(Py_None); resultobj = Py_None; | |
16395 | return resultobj; | |
16396 | fail: | |
16397 | return NULL; | |
16398 | } | |
16399 | ||
16400 | ||
16401 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
16402 | PyObject *resultobj = NULL; | |
16403 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16404 | int arg2 ; | |
16405 | PyObject * obj0 = 0 ; | |
16406 | PyObject * obj1 = 0 ; | |
16407 | char *kwnames[] = { | |
16408 | (char *) "self",(char *) "val", NULL | |
16409 | }; | |
16410 | ||
16411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; | |
16412 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16413 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16414 | { | |
16415 | arg2 = static_cast<int >(SWIG_As_int(obj1)); | |
16416 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16417 | } | |
16418 | { | |
16419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16420 | (arg1)->SetY(arg2); | |
16421 | ||
16422 | wxPyEndAllowThreads(__tstate); | |
16423 | if (PyErr_Occurred()) SWIG_fail; | |
16424 | } | |
16425 | Py_INCREF(Py_None); resultobj = Py_None; | |
16426 | return resultobj; | |
16427 | fail: | |
16428 | return NULL; | |
16429 | } | |
16430 | ||
16431 | ||
16432 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16433 | PyObject *resultobj = NULL; | |
16434 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16435 | wxString *arg2 = 0 ; | |
16436 | bool temp2 = false ; | |
16437 | PyObject * obj0 = 0 ; | |
16438 | PyObject * obj1 = 0 ; | |
16439 | char *kwnames[] = { | |
16440 | (char *) "self",(char *) "val", NULL | |
16441 | }; | |
16442 | ||
16443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; | |
16444 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16445 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16446 | { | |
16447 | arg2 = wxString_in_helper(obj1); | |
16448 | if (arg2 == NULL) SWIG_fail; | |
16449 | temp2 = true; | |
16450 | } | |
16451 | { | |
16452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16453 | (arg1)->SetDragText((wxString const &)*arg2); | |
16454 | ||
16455 | wxPyEndAllowThreads(__tstate); | |
16456 | if (PyErr_Occurred()) SWIG_fail; | |
16457 | } | |
16458 | Py_INCREF(Py_None); resultobj = Py_None; | |
16459 | { | |
16460 | if (temp2) | |
16461 | delete arg2; | |
16462 | } | |
16463 | return resultobj; | |
16464 | fail: | |
16465 | { | |
16466 | if (temp2) | |
16467 | delete arg2; | |
16468 | } | |
16469 | return NULL; | |
16470 | } | |
16471 | ||
16472 | ||
16473 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
16474 | PyObject *resultobj = NULL; | |
16475 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16476 | bool arg2 ; | |
16477 | PyObject * obj0 = 0 ; | |
16478 | PyObject * obj1 = 0 ; | |
16479 | char *kwnames[] = { | |
16480 | (char *) "self",(char *) "val", NULL | |
16481 | }; | |
16482 | ||
16483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; | |
16484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16486 | { | |
16487 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); | |
16488 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16489 | } | |
16490 | { | |
16491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16492 | (arg1)->SetDragAllowMove(arg2); | |
16493 | ||
16494 | wxPyEndAllowThreads(__tstate); | |
16495 | if (PyErr_Occurred()) SWIG_fail; | |
16496 | } | |
16497 | Py_INCREF(Py_None); resultobj = Py_None; | |
16498 | return resultobj; | |
16499 | fail: | |
16500 | return NULL; | |
16501 | } | |
16502 | ||
16503 | ||
16504 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
16505 | PyObject *resultobj = NULL; | |
16506 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16507 | wxDragResult arg2 ; | |
16508 | PyObject * obj0 = 0 ; | |
16509 | PyObject * obj1 = 0 ; | |
16510 | char *kwnames[] = { | |
16511 | (char *) "self",(char *) "val", NULL | |
16512 | }; | |
16513 | ||
16514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; | |
16515 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16516 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16517 | { | |
16518 | arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1)); | |
16519 | if (SWIG_arg_fail(2)) SWIG_fail; | |
16520 | } | |
16521 | { | |
16522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16523 | (arg1)->SetDragResult(arg2); | |
16524 | ||
16525 | wxPyEndAllowThreads(__tstate); | |
16526 | if (PyErr_Occurred()) SWIG_fail; | |
16527 | } | |
16528 | Py_INCREF(Py_None); resultobj = Py_None; | |
16529 | return resultobj; | |
16530 | fail: | |
16531 | return NULL; | |
16532 | } | |
16533 | ||
16534 | ||
16535 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { | |
16536 | PyObject *resultobj = NULL; | |
16537 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16538 | int result; | |
16539 | PyObject * obj0 = 0 ; | |
16540 | char *kwnames[] = { | |
16541 | (char *) "self", NULL | |
16542 | }; | |
16543 | ||
16544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; | |
16545 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16546 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16547 | { | |
16548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16549 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); | |
16550 | ||
16551 | wxPyEndAllowThreads(__tstate); | |
16552 | if (PyErr_Occurred()) SWIG_fail; | |
16553 | } | |
16554 | { | |
16555 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16556 | } | |
16557 | return resultobj; | |
16558 | fail: | |
16559 | return NULL; | |
16560 | } | |
16561 | ||
16562 | ||
16563 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { | |
16564 | PyObject *resultobj = NULL; | |
16565 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16566 | int result; | |
16567 | PyObject * obj0 = 0 ; | |
16568 | char *kwnames[] = { | |
16569 | (char *) "self", NULL | |
16570 | }; | |
16571 | ||
16572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; | |
16573 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16574 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16575 | { | |
16576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16577 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); | |
16578 | ||
16579 | wxPyEndAllowThreads(__tstate); | |
16580 | if (PyErr_Occurred()) SWIG_fail; | |
16581 | } | |
16582 | { | |
16583 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16584 | } | |
16585 | return resultobj; | |
16586 | fail: | |
16587 | return NULL; | |
16588 | } | |
16589 | ||
16590 | ||
16591 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { | |
16592 | PyObject *resultobj = NULL; | |
16593 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16594 | int result; | |
16595 | PyObject * obj0 = 0 ; | |
16596 | char *kwnames[] = { | |
16597 | (char *) "self", NULL | |
16598 | }; | |
16599 | ||
16600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; | |
16601 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16602 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16603 | { | |
16604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16605 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); | |
16606 | ||
16607 | wxPyEndAllowThreads(__tstate); | |
16608 | if (PyErr_Occurred()) SWIG_fail; | |
16609 | } | |
16610 | { | |
16611 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16612 | } | |
16613 | return resultobj; | |
16614 | fail: | |
16615 | return NULL; | |
16616 | } | |
16617 | ||
16618 | ||
16619 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16620 | PyObject *resultobj = NULL; | |
16621 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16622 | int result; | |
16623 | PyObject * obj0 = 0 ; | |
16624 | char *kwnames[] = { | |
16625 | (char *) "self", NULL | |
16626 | }; | |
16627 | ||
16628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; | |
16629 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16630 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16631 | { | |
16632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16633 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); | |
16634 | ||
16635 | wxPyEndAllowThreads(__tstate); | |
16636 | if (PyErr_Occurred()) SWIG_fail; | |
16637 | } | |
16638 | { | |
16639 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16640 | } | |
16641 | return resultobj; | |
16642 | fail: | |
16643 | return NULL; | |
16644 | } | |
16645 | ||
16646 | ||
16647 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
16648 | PyObject *resultobj = NULL; | |
16649 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16650 | wxString result; | |
16651 | PyObject * obj0 = 0 ; | |
16652 | char *kwnames[] = { | |
16653 | (char *) "self", NULL | |
16654 | }; | |
16655 | ||
16656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; | |
16657 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16658 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16659 | { | |
16660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16661 | result = ((wxStyledTextEvent const *)arg1)->GetText(); | |
16662 | ||
16663 | wxPyEndAllowThreads(__tstate); | |
16664 | if (PyErr_Occurred()) SWIG_fail; | |
16665 | } | |
16666 | { | |
16667 | #if wxUSE_UNICODE | |
16668 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16669 | #else | |
16670 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16671 | #endif | |
16672 | } | |
16673 | return resultobj; | |
16674 | fail: | |
16675 | return NULL; | |
16676 | } | |
16677 | ||
16678 | ||
16679 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { | |
16680 | PyObject *resultobj = NULL; | |
16681 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16682 | int result; | |
16683 | PyObject * obj0 = 0 ; | |
16684 | char *kwnames[] = { | |
16685 | (char *) "self", NULL | |
16686 | }; | |
16687 | ||
16688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; | |
16689 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16690 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16691 | { | |
16692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16693 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); | |
16694 | ||
16695 | wxPyEndAllowThreads(__tstate); | |
16696 | if (PyErr_Occurred()) SWIG_fail; | |
16697 | } | |
16698 | { | |
16699 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16700 | } | |
16701 | return resultobj; | |
16702 | fail: | |
16703 | return NULL; | |
16704 | } | |
16705 | ||
16706 | ||
16707 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { | |
16708 | PyObject *resultobj = NULL; | |
16709 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16710 | int result; | |
16711 | PyObject * obj0 = 0 ; | |
16712 | char *kwnames[] = { | |
16713 | (char *) "self", NULL | |
16714 | }; | |
16715 | ||
16716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; | |
16717 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16718 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16719 | { | |
16720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16721 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); | |
16722 | ||
16723 | wxPyEndAllowThreads(__tstate); | |
16724 | if (PyErr_Occurred()) SWIG_fail; | |
16725 | } | |
16726 | { | |
16727 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16728 | } | |
16729 | return resultobj; | |
16730 | fail: | |
16731 | return NULL; | |
16732 | } | |
16733 | ||
16734 | ||
16735 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
16736 | PyObject *resultobj = NULL; | |
16737 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16738 | int result; | |
16739 | PyObject * obj0 = 0 ; | |
16740 | char *kwnames[] = { | |
16741 | (char *) "self", NULL | |
16742 | }; | |
16743 | ||
16744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
16745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16747 | { | |
16748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16749 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
16750 | ||
16751 | wxPyEndAllowThreads(__tstate); | |
16752 | if (PyErr_Occurred()) SWIG_fail; | |
16753 | } | |
16754 | { | |
16755 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16756 | } | |
16757 | return resultobj; | |
16758 | fail: | |
16759 | return NULL; | |
16760 | } | |
16761 | ||
16762 | ||
16763 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { | |
16764 | PyObject *resultobj = NULL; | |
16765 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16766 | int result; | |
16767 | PyObject * obj0 = 0 ; | |
16768 | char *kwnames[] = { | |
16769 | (char *) "self", NULL | |
16770 | }; | |
16771 | ||
16772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
16773 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16774 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16775 | { | |
16776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16777 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
16778 | ||
16779 | wxPyEndAllowThreads(__tstate); | |
16780 | if (PyErr_Occurred()) SWIG_fail; | |
16781 | } | |
16782 | { | |
16783 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16784 | } | |
16785 | return resultobj; | |
16786 | fail: | |
16787 | return NULL; | |
16788 | } | |
16789 | ||
16790 | ||
16791 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
16792 | PyObject *resultobj = NULL; | |
16793 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16794 | int result; | |
16795 | PyObject * obj0 = 0 ; | |
16796 | char *kwnames[] = { | |
16797 | (char *) "self", NULL | |
16798 | }; | |
16799 | ||
16800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
16801 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16802 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16803 | { | |
16804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16805 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
16806 | ||
16807 | wxPyEndAllowThreads(__tstate); | |
16808 | if (PyErr_Occurred()) SWIG_fail; | |
16809 | } | |
16810 | { | |
16811 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16812 | } | |
16813 | return resultobj; | |
16814 | fail: | |
16815 | return NULL; | |
16816 | } | |
16817 | ||
16818 | ||
16819 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
16820 | PyObject *resultobj = NULL; | |
16821 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16822 | int result; | |
16823 | PyObject * obj0 = 0 ; | |
16824 | char *kwnames[] = { | |
16825 | (char *) "self", NULL | |
16826 | }; | |
16827 | ||
16828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
16829 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16830 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16831 | { | |
16832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16833 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
16834 | ||
16835 | wxPyEndAllowThreads(__tstate); | |
16836 | if (PyErr_Occurred()) SWIG_fail; | |
16837 | } | |
16838 | { | |
16839 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16840 | } | |
16841 | return resultobj; | |
16842 | fail: | |
16843 | return NULL; | |
16844 | } | |
16845 | ||
16846 | ||
16847 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
16848 | PyObject *resultobj = NULL; | |
16849 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16850 | int result; | |
16851 | PyObject * obj0 = 0 ; | |
16852 | char *kwnames[] = { | |
16853 | (char *) "self", NULL | |
16854 | }; | |
16855 | ||
16856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
16857 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16858 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16859 | { | |
16860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16861 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
16862 | ||
16863 | wxPyEndAllowThreads(__tstate); | |
16864 | if (PyErr_Occurred()) SWIG_fail; | |
16865 | } | |
16866 | { | |
16867 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16868 | } | |
16869 | return resultobj; | |
16870 | fail: | |
16871 | return NULL; | |
16872 | } | |
16873 | ||
16874 | ||
16875 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16876 | PyObject *resultobj = NULL; | |
16877 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16878 | int result; | |
16879 | PyObject * obj0 = 0 ; | |
16880 | char *kwnames[] = { | |
16881 | (char *) "self", NULL | |
16882 | }; | |
16883 | ||
16884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
16885 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16886 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16887 | { | |
16888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16889 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
16890 | ||
16891 | wxPyEndAllowThreads(__tstate); | |
16892 | if (PyErr_Occurred()) SWIG_fail; | |
16893 | } | |
16894 | { | |
16895 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16896 | } | |
16897 | return resultobj; | |
16898 | fail: | |
16899 | return NULL; | |
16900 | } | |
16901 | ||
16902 | ||
16903 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
16904 | PyObject *resultobj = NULL; | |
16905 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16906 | int result; | |
16907 | PyObject * obj0 = 0 ; | |
16908 | char *kwnames[] = { | |
16909 | (char *) "self", NULL | |
16910 | }; | |
16911 | ||
16912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
16913 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16914 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16915 | { | |
16916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16917 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
16918 | ||
16919 | wxPyEndAllowThreads(__tstate); | |
16920 | if (PyErr_Occurred()) SWIG_fail; | |
16921 | } | |
16922 | { | |
16923 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16924 | } | |
16925 | return resultobj; | |
16926 | fail: | |
16927 | return NULL; | |
16928 | } | |
16929 | ||
16930 | ||
16931 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
16932 | PyObject *resultobj = NULL; | |
16933 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16934 | int result; | |
16935 | PyObject * obj0 = 0 ; | |
16936 | char *kwnames[] = { | |
16937 | (char *) "self", NULL | |
16938 | }; | |
16939 | ||
16940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
16941 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16942 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16943 | { | |
16944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16945 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
16946 | ||
16947 | wxPyEndAllowThreads(__tstate); | |
16948 | if (PyErr_Occurred()) SWIG_fail; | |
16949 | } | |
16950 | { | |
16951 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16952 | } | |
16953 | return resultobj; | |
16954 | fail: | |
16955 | return NULL; | |
16956 | } | |
16957 | ||
16958 | ||
16959 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
16960 | PyObject *resultobj = NULL; | |
16961 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16962 | int result; | |
16963 | PyObject * obj0 = 0 ; | |
16964 | char *kwnames[] = { | |
16965 | (char *) "self", NULL | |
16966 | }; | |
16967 | ||
16968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
16969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16971 | { | |
16972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16973 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
16974 | ||
16975 | wxPyEndAllowThreads(__tstate); | |
16976 | if (PyErr_Occurred()) SWIG_fail; | |
16977 | } | |
16978 | { | |
16979 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
16980 | } | |
16981 | return resultobj; | |
16982 | fail: | |
16983 | return NULL; | |
16984 | } | |
16985 | ||
16986 | ||
16987 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
16988 | PyObject *resultobj = NULL; | |
16989 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
16990 | int result; | |
16991 | PyObject * obj0 = 0 ; | |
16992 | char *kwnames[] = { | |
16993 | (char *) "self", NULL | |
16994 | }; | |
16995 | ||
16996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
16997 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16998 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16999 | { | |
17000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17001 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
17002 | ||
17003 | wxPyEndAllowThreads(__tstate); | |
17004 | if (PyErr_Occurred()) SWIG_fail; | |
17005 | } | |
17006 | { | |
17007 | resultobj = SWIG_From_int(static_cast<int >(result)); | |
17008 | } | |
17009 | return resultobj; | |
17010 | fail: | |
17011 | return NULL; | |
17012 | } | |
17013 | ||
17014 | ||
17015 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
17016 | PyObject *resultobj = NULL; | |
17017 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
17018 | wxString result; | |
17019 | PyObject * obj0 = 0 ; | |
17020 | char *kwnames[] = { | |
17021 | (char *) "self", NULL | |
17022 | }; | |
17023 | ||
17024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
17025 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17026 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17027 | { | |
17028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17029 | result = (arg1)->GetDragText(); | |
17030 | ||
17031 | wxPyEndAllowThreads(__tstate); | |
17032 | if (PyErr_Occurred()) SWIG_fail; | |
17033 | } | |
17034 | { | |
17035 | #if wxUSE_UNICODE | |
17036 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
17037 | #else | |
17038 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
17039 | #endif | |
17040 | } | |
17041 | return resultobj; | |
17042 | fail: | |
17043 | return NULL; | |
17044 | } | |
17045 | ||
17046 | ||
17047 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
17048 | PyObject *resultobj = NULL; | |
17049 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
17050 | bool result; | |
17051 | PyObject * obj0 = 0 ; | |
17052 | char *kwnames[] = { | |
17053 | (char *) "self", NULL | |
17054 | }; | |
17055 | ||
17056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
17057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17059 | { | |
17060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17061 | result = (bool)(arg1)->GetDragAllowMove(); | |
17062 | ||
17063 | wxPyEndAllowThreads(__tstate); | |
17064 | if (PyErr_Occurred()) SWIG_fail; | |
17065 | } | |
17066 | { | |
17067 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17068 | } | |
17069 | return resultobj; | |
17070 | fail: | |
17071 | return NULL; | |
17072 | } | |
17073 | ||
17074 | ||
17075 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
17076 | PyObject *resultobj = NULL; | |
17077 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
17078 | wxDragResult result; | |
17079 | PyObject * obj0 = 0 ; | |
17080 | char *kwnames[] = { | |
17081 | (char *) "self", NULL | |
17082 | }; | |
17083 | ||
17084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
17085 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17086 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17087 | { | |
17088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17089 | result = (wxDragResult)(arg1)->GetDragResult(); | |
17090 | ||
17091 | wxPyEndAllowThreads(__tstate); | |
17092 | if (PyErr_Occurred()) SWIG_fail; | |
17093 | } | |
17094 | resultobj = SWIG_From_int((result)); | |
17095 | return resultobj; | |
17096 | fail: | |
17097 | return NULL; | |
17098 | } | |
17099 | ||
17100 | ||
17101 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { | |
17102 | PyObject *resultobj = NULL; | |
17103 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
17104 | bool result; | |
17105 | PyObject * obj0 = 0 ; | |
17106 | char *kwnames[] = { | |
17107 | (char *) "self", NULL | |
17108 | }; | |
17109 | ||
17110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
17111 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17112 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17113 | { | |
17114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17115 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
17116 | ||
17117 | wxPyEndAllowThreads(__tstate); | |
17118 | if (PyErr_Occurred()) SWIG_fail; | |
17119 | } | |
17120 | { | |
17121 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17122 | } | |
17123 | return resultobj; | |
17124 | fail: | |
17125 | return NULL; | |
17126 | } | |
17127 | ||
17128 | ||
17129 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { | |
17130 | PyObject *resultobj = NULL; | |
17131 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
17132 | bool result; | |
17133 | PyObject * obj0 = 0 ; | |
17134 | char *kwnames[] = { | |
17135 | (char *) "self", NULL | |
17136 | }; | |
17137 | ||
17138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
17139 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17140 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17141 | { | |
17142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17143 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
17144 | ||
17145 | wxPyEndAllowThreads(__tstate); | |
17146 | if (PyErr_Occurred()) SWIG_fail; | |
17147 | } | |
17148 | { | |
17149 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17150 | } | |
17151 | return resultobj; | |
17152 | fail: | |
17153 | return NULL; | |
17154 | } | |
17155 | ||
17156 | ||
17157 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { | |
17158 | PyObject *resultobj = NULL; | |
17159 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
17160 | bool result; | |
17161 | PyObject * obj0 = 0 ; | |
17162 | char *kwnames[] = { | |
17163 | (char *) "self", NULL | |
17164 | }; | |
17165 | ||
17166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
17167 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17168 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17169 | { | |
17170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17171 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
17172 | ||
17173 | wxPyEndAllowThreads(__tstate); | |
17174 | if (PyErr_Occurred()) SWIG_fail; | |
17175 | } | |
17176 | { | |
17177 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17178 | } | |
17179 | return resultobj; | |
17180 | fail: | |
17181 | return NULL; | |
17182 | } | |
17183 | ||
17184 | ||
17185 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { | |
17186 | PyObject *resultobj = NULL; | |
17187 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
17188 | wxEvent *result; | |
17189 | PyObject * obj0 = 0 ; | |
17190 | char *kwnames[] = { | |
17191 | (char *) "self", NULL | |
17192 | }; | |
17193 | ||
17194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
17195 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17196 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17197 | { | |
17198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17199 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
17200 | ||
17201 | wxPyEndAllowThreads(__tstate); | |
17202 | if (PyErr_Occurred()) SWIG_fail; | |
17203 | } | |
17204 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); | |
17205 | return resultobj; | |
17206 | fail: | |
17207 | return NULL; | |
17208 | } | |
17209 | ||
17210 | ||
17211 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { | |
17212 | PyObject *obj; | |
17213 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17214 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
17215 | Py_INCREF(obj); | |
17216 | return Py_BuildValue((char *)""); | |
17217 | } | |
17218 | static PyMethodDef SwigMethods[] = { | |
17219 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17220 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17221 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17222 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17223 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17224 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17225 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17226 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17227 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17228 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17229 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17230 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17231 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17232 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17233 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17234 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17235 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17236 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17237 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17238 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17239 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17240 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17241 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17242 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17243 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17244 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17245 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17246 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17247 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17248 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17249 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17250 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17251 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17252 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17253 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17254 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17255 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17256 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17257 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17258 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17259 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17260 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17261 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17262 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17263 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17264 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17265 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17266 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17267 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17268 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17269 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17270 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17271 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17272 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17273 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17274 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17275 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17276 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17277 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17278 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17279 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17280 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17281 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17282 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17283 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17284 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17285 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17286 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17287 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17288 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17289 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17290 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17291 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17292 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17293 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17294 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17295 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17296 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17297 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17298 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17299 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17300 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17301 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17302 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17303 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17304 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17305 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17306 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17307 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17308 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17309 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17310 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17311 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17312 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17313 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17314 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17315 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17316 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17317 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17318 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17319 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17320 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17321 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17322 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17323 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17324 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17325 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17326 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17327 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17328 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17329 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17330 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17331 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17332 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17333 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17334 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17335 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17336 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17337 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17338 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17339 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17340 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17341 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17342 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17343 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17344 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17345 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17346 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17347 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17348 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17349 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17350 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17351 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17352 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17353 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17354 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17355 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17356 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17357 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17358 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17359 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17360 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17361 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17362 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17363 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17364 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17365 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17366 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17367 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17368 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17369 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17370 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17371 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17372 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17373 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17374 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17375 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17376 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17377 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17378 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17379 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17380 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17381 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17382 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17383 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17384 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17385 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17386 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17387 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17388 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17389 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17390 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17391 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17392 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17393 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17394 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17395 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17396 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17397 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17398 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17399 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17400 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17401 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17402 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17403 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17404 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17405 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17406 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17407 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17408 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17409 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17410 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17411 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17412 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17413 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17414 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17415 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17416 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17417 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17418 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17419 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17420 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17421 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17422 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17423 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17424 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17425 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17426 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17427 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17428 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17429 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17430 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17431 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17432 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17433 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17434 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17435 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17436 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17437 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17438 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17439 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17440 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17441 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17442 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17443 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17444 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17445 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17446 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17447 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17448 | { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17449 | { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17450 | { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17451 | { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17452 | { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17453 | { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17454 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17455 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17456 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17457 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17458 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17459 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17460 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17461 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17462 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17463 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17464 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17465 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17466 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17467 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17468 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17469 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17470 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17471 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17472 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17473 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17474 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17475 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17476 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17477 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17478 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17479 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17480 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17481 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17482 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17483 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17484 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17485 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17486 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17487 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17488 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17489 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17490 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17491 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17492 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17493 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17494 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17495 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17496 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17497 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17498 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17499 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17500 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17501 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17502 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17503 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17504 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17505 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17506 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17507 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17508 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17509 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17510 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17511 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17512 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17513 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17514 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17515 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17516 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17517 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17518 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17519 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17520 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17521 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17522 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17523 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17524 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17525 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17526 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17527 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17528 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17529 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17530 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17531 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17532 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17533 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17534 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17535 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17536 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17537 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17538 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17539 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17540 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17541 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17542 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17543 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17544 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17545 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17546 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17547 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17548 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17549 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17550 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17551 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17552 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17553 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17554 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17555 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17556 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17557 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17558 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17559 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17560 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17561 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17562 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17563 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17564 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17565 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17566 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17567 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17568 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17569 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17570 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17571 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17572 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17573 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17574 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17575 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17576 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17577 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17578 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17579 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17580 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17581 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17582 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17583 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17584 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17585 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17586 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17587 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17588 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17589 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17590 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17591 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17592 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17593 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17594 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17595 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17596 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17597 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17598 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17599 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17600 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17601 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17602 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17603 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17604 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17605 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17606 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17607 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17608 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17609 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17610 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17611 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17612 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17613 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17614 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17615 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17616 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17617 | { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17618 | { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17619 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17620 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17621 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17622 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17623 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17624 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17625 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17626 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17627 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17628 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17629 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17630 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17631 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17632 | { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17633 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17634 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17635 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17636 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17637 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17638 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17639 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17640 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17641 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17642 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17643 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17644 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17645 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17646 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17647 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17648 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17649 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17650 | { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17651 | { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17652 | { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17653 | { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17654 | { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17655 | { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17656 | { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17657 | { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17658 | { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17659 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL}, | |
17660 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17661 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17662 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17663 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17664 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17665 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17666 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17667 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17668 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17669 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17670 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17671 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17672 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17673 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17674 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17675 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17676 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17677 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17678 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17679 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17680 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17681 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17682 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17683 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17684 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17685 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17686 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17687 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17688 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17689 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17690 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17691 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17692 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17693 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17694 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17695 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17696 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17697 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17698 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17699 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17700 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17701 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17702 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17703 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17704 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17705 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17706 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL}, | |
17707 | { NULL, NULL, 0, NULL } | |
17708 | }; | |
17709 | ||
17710 | ||
17711 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17712 | ||
17713 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
17714 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
17715 | } | |
17716 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
17717 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
17718 | } | |
17719 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
17720 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
17721 | } | |
17722 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
17723 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
17724 | } | |
17725 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
17726 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
17727 | } | |
17728 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
17729 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
17730 | } | |
17731 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
17732 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
17733 | } | |
17734 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
17735 | return (void *)((wxObject *) ((wxSizer *) x)); | |
17736 | } | |
17737 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
17738 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
17739 | } | |
17740 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { | |
17741 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
17742 | } | |
17743 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
17744 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17745 | } | |
17746 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
17747 | return (void *)((wxObject *) ((wxEvent *) x)); | |
17748 | } | |
17749 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17750 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17751 | } | |
17752 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17753 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17754 | } | |
17755 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17756 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17757 | } | |
17758 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17759 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17760 | } | |
17761 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17762 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17763 | } | |
17764 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { | |
17765 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17766 | } | |
17767 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17768 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17769 | } | |
17770 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17771 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17772 | } | |
17773 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17774 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17775 | } | |
17776 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17777 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17778 | } | |
17779 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17780 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17781 | } | |
17782 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17783 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17784 | } | |
17785 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { | |
17786 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
17787 | } | |
17788 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
17789 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
17790 | } | |
17791 | static void *_p_wxClipboardTo_p_wxObject(void *x) { | |
17792 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
17793 | } | |
17794 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
17795 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17796 | } | |
17797 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
17798 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17799 | } | |
17800 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17801 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17802 | } | |
17803 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17804 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17805 | } | |
17806 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17807 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17808 | } | |
17809 | static void *_p_wxToolTipTo_p_wxObject(void *x) { | |
17810 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
17811 | } | |
17812 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
17813 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17814 | } | |
17815 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
17816 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
17817 | } | |
17818 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
17819 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17820 | } | |
17821 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17822 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17823 | } | |
17824 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17825 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17826 | } | |
17827 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17828 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17829 | } | |
17830 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17831 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17832 | } | |
17833 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17834 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17835 | } | |
17836 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17837 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17838 | } | |
17839 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17840 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17841 | } | |
17842 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
17843 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17844 | } | |
17845 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17846 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17847 | } | |
17848 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17849 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17850 | } | |
17851 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17852 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17853 | } | |
17854 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17855 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17856 | } | |
17857 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17858 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17859 | } | |
17860 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17861 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17862 | } | |
17863 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17864 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17865 | } | |
17866 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17867 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17868 | } | |
17869 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { | |
17870 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
17871 | } | |
17872 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
17873 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17874 | } | |
17875 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
17876 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17877 | } | |
17878 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
17879 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17880 | } | |
17881 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
17882 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17883 | } | |
17884 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { | |
17885 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17886 | } | |
17887 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
17888 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17889 | } | |
17890 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
17891 | return (void *)((wxObject *) ((wxImage *) x)); | |
17892 | } | |
17893 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17894 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17895 | } | |
17896 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { | |
17897 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
17898 | } | |
17899 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
17900 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
17901 | } | |
17902 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
17903 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17904 | } | |
17905 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17906 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17907 | } | |
17908 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17909 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17910 | } | |
17911 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17912 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17913 | } | |
17914 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17915 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17916 | } | |
17917 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17918 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17919 | } | |
17920 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { | |
17921 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
17922 | } | |
17923 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
17924 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17925 | } | |
17926 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17927 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17928 | } | |
17929 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17930 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17931 | } | |
17932 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17933 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17934 | } | |
17935 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17936 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17937 | } | |
17938 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17939 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17940 | } | |
17941 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17942 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17943 | } | |
17944 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { | |
17945 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
17946 | } | |
17947 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
17948 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17949 | } | |
17950 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17951 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17952 | } | |
17953 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17954 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17955 | } | |
17956 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17957 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17958 | } | |
17959 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17960 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17961 | } | |
17962 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { | |
17963 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
17964 | } | |
17965 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
17966 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17967 | } | |
17968 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17969 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17970 | } | |
17971 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17972 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17973 | } | |
17974 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { | |
17975 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
17976 | } | |
17977 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
17978 | return (void *)((wxWindow *) ((wxControl *) x)); | |
17979 | } | |
17980 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
17981 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
17982 | } | |
17983 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
17984 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
17985 | } | |
17986 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
17987 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
17988 | } | |
17989 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17990 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17991 | } | |
17992 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17993 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17994 | } | |
17995 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17996 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17997 | } | |
17998 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
17999 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
18000 | } | |
18001 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
18002 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18003 | } | |
18004 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
18005 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
18006 | } | |
18007 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
18008 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18009 | } | |
18010 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
18011 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18012 | } | |
18013 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
18014 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18015 | } | |
18016 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
18017 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18018 | } | |
18019 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
18020 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
18021 | } | |
18022 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
18023 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
18024 | } | |
18025 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
18026 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
18027 | } | |
18028 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
18029 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
18030 | } | |
18031 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { | |
18032 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
18033 | } | |
18034 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { | |
18035 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
18036 | } | |
18037 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18038 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18039 | } | |
18040 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18041 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18042 | } | |
18043 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18044 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18045 | } | |
18046 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18047 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18048 | } | |
18049 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { | |
18050 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
18051 | } | |
18052 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
18053 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
18054 | } | |
18055 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
18056 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
18057 | } | |
18058 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
18059 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18060 | } | |
18061 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
18062 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
18063 | } | |
18064 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
18065 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
18066 | } | |
18067 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
18068 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
18069 | } | |
18070 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
18071 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
18072 | } | |
18073 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
18074 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
18075 | } | |
18076 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { | |
18077 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
18078 | } | |
18079 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
18080 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
18081 | } | |
18082 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
18083 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
18084 | } | |
18085 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
18086 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18087 | } | |
18088 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
18089 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18090 | } | |
18091 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { | |
18092 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
18093 | } | |
18094 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
18095 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
18096 | } | |
18097 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
18098 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
18099 | } | |
18100 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
18101 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
18102 | } | |
18103 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
18104 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
18105 | } | |
18106 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
18107 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
18108 | } | |
18109 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
18110 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
18111 | } | |
18112 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
18113 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
18114 | } | |
18115 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
18116 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
18117 | } | |
18118 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
18119 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
18120 | } | |
18121 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
18122 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
18123 | } | |
18124 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
18125 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
18126 | } | |
18127 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
18128 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
18129 | } | |
18130 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
18131 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18132 | } | |
18133 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
18134 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
18135 | } | |
18136 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
18137 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
18138 | } | |
18139 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
18140 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
18141 | } | |
18142 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
18143 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18144 | } | |
18145 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
18146 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18147 | } | |
18148 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18149 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18150 | } | |
18151 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18152 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18153 | } | |
18154 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { | |
18155 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
18156 | } | |
18157 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
18158 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18159 | } | |
18160 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
18161 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18162 | } | |
18163 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18164 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18165 | } | |
18166 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
18167 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18168 | } | |
18169 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18170 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18171 | } | |
18172 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18173 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18174 | } | |
18175 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18176 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18177 | } | |
18178 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; | |
18179 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; | |
18180 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; | |
18181 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; | |
18182 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; | |
18183 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; | |
18184 | static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; | |
18185 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; | |
18186 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; | |
18187 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; | |
18188 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; | |
18189 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; | |
18190 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; | |
18191 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; | |
18192 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; | |
18193 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; | |
18194 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; | |
18195 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; | |
18196 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; | |
18197 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; | |
18198 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; | |
18199 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; | |
18200 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; | |
18201 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; | |
18202 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; | |
18203 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; | |
18204 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; | |
18205 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; | |
18206 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; | |
18207 | static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0}; | |
18208 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; | |
18209 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; | |
18210 | static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0}; | |
18211 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; | |
18212 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; | |
18213 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; | |
18214 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; | |
18215 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; | |
18216 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; | |
18217 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; | |
18218 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; | |
18219 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; | |
18220 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; | |
18221 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; | |
18222 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; | |
18223 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; | |
18224 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; | |
18225 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; | |
18226 | static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0}; | |
18227 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; | |
18228 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; | |
18229 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; | |
18230 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; | |
18231 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; | |
18232 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; | |
18233 | static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0}; | |
18234 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; | |
18235 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; | |
18236 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; | |
18237 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; | |
18238 | static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0}; | |
18239 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; | |
18240 | static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, 0}; | |
18241 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; | |
18242 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; | |
18243 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; | |
18244 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; | |
18245 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; | |
18246 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; | |
18247 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; | |
18248 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; | |
18249 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; | |
18250 | static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0}; | |
18251 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; | |
18252 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; | |
18253 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; | |
18254 | static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0}; | |
18255 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; | |
18256 | static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0}; | |
18257 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; | |
18258 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; | |
18259 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; | |
18260 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; | |
18261 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; | |
18262 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; | |
18263 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; | |
18264 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; | |
18265 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; | |
18266 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; | |
18267 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; | |
18268 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; | |
18269 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; | |
18270 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; | |
18271 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; | |
18272 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; | |
18273 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; | |
18274 | static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0}; | |
18275 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; | |
18276 | static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0}; | |
18277 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; | |
18278 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; | |
18279 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; | |
18280 | static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; | |
18281 | static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, 0}; | |
18282 | static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, 0}; | |
18283 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; | |
18284 | static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; | |
18285 | static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; | |
18286 | static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; | |
18287 | ||
18288 | static swig_type_info *swig_type_initial[] = { | |
18289 | &_swigt__p_char, | |
18290 | &_swigt__p_form_ops_t, | |
18291 | &_swigt__p_int, | |
18292 | &_swigt__p_unsigned_char, | |
18293 | &_swigt__p_unsigned_int, | |
18294 | &_swigt__p_unsigned_long, | |
18295 | &_swigt__p_void, | |
18296 | &_swigt__p_wxANIHandler, | |
18297 | &_swigt__p_wxAcceleratorTable, | |
18298 | &_swigt__p_wxActivateEvent, | |
18299 | &_swigt__p_wxBMPHandler, | |
18300 | &_swigt__p_wxBitmap, | |
18301 | &_swigt__p_wxBoxSizer, | |
18302 | &_swigt__p_wxBusyInfo, | |
18303 | &_swigt__p_wxCURHandler, | |
18304 | &_swigt__p_wxChildFocusEvent, | |
18305 | &_swigt__p_wxClipboard, | |
18306 | &_swigt__p_wxCloseEvent, | |
18307 | &_swigt__p_wxColour, | |
18308 | &_swigt__p_wxCommandEvent, | |
18309 | &_swigt__p_wxContextMenuEvent, | |
18310 | &_swigt__p_wxControl, | |
18311 | &_swigt__p_wxControlWithItems, | |
18312 | &_swigt__p_wxDC, | |
18313 | &_swigt__p_wxDateEvent, | |
18314 | &_swigt__p_wxDisplayChangedEvent, | |
18315 | &_swigt__p_wxDropFilesEvent, | |
18316 | &_swigt__p_wxDuplexMode, | |
18317 | &_swigt__p_wxEraseEvent, | |
18318 | &_swigt__p_wxEvent, | |
18319 | &_swigt__p_wxEvtHandler, | |
18320 | &_swigt__p_wxFSFile, | |
18321 | &_swigt__p_wxFileHistory, | |
18322 | &_swigt__p_wxFileSystem, | |
18323 | &_swigt__p_wxFlexGridSizer, | |
18324 | &_swigt__p_wxFocusEvent, | |
18325 | &_swigt__p_wxFont, | |
18326 | &_swigt__p_wxGBSizerItem, | |
18327 | &_swigt__p_wxGIFHandler, | |
18328 | &_swigt__p_wxGridBagSizer, | |
18329 | &_swigt__p_wxGridSizer, | |
18330 | &_swigt__p_wxICOHandler, | |
18331 | &_swigt__p_wxIconizeEvent, | |
18332 | &_swigt__p_wxIdleEvent, | |
18333 | &_swigt__p_wxImage, | |
18334 | &_swigt__p_wxImageHandler, | |
18335 | &_swigt__p_wxIndividualLayoutConstraint, | |
18336 | &_swigt__p_wxInitDialogEvent, | |
18337 | &_swigt__p_wxJPEGHandler, | |
18338 | &_swigt__p_wxJoystickEvent, | |
18339 | &_swigt__p_wxKeyEvent, | |
18340 | &_swigt__p_wxLayoutConstraints, | |
18341 | &_swigt__p_wxMaximizeEvent, | |
18342 | &_swigt__p_wxMemoryBuffer, | |
18343 | &_swigt__p_wxMenu, | |
18344 | &_swigt__p_wxMenuBar, | |
18345 | &_swigt__p_wxMenuEvent, | |
18346 | &_swigt__p_wxMenuItem, | |
18347 | &_swigt__p_wxMouseCaptureChangedEvent, | |
18348 | &_swigt__p_wxMouseEvent, | |
18349 | &_swigt__p_wxMoveEvent, | |
18350 | &_swigt__p_wxNavigationKeyEvent, | |
18351 | &_swigt__p_wxNcPaintEvent, | |
18352 | &_swigt__p_wxNotifyEvent, | |
18353 | &_swigt__p_wxObject, | |
18354 | &_swigt__p_wxPCXHandler, | |
18355 | &_swigt__p_wxPNGHandler, | |
18356 | &_swigt__p_wxPNMHandler, | |
18357 | &_swigt__p_wxPaintEvent, | |
18358 | &_swigt__p_wxPaletteChangedEvent, | |
18359 | &_swigt__p_wxPaperSize, | |
18360 | &_swigt__p_wxPoint, | |
18361 | &_swigt__p_wxProcessEvent, | |
18362 | &_swigt__p_wxPyApp, | |
18363 | &_swigt__p_wxPyCommandEvent, | |
18364 | &_swigt__p_wxPyEvent, | |
18365 | &_swigt__p_wxPyImageHandler, | |
18366 | &_swigt__p_wxPyProcess, | |
18367 | &_swigt__p_wxPySizer, | |
18368 | &_swigt__p_wxPyTimer, | |
18369 | &_swigt__p_wxPyValidator, | |
18370 | &_swigt__p_wxQueryNewPaletteEvent, | |
18371 | &_swigt__p_wxRect, | |
18372 | &_swigt__p_wxScrollBar, | |
18373 | &_swigt__p_wxScrollEvent, | |
18374 | &_swigt__p_wxScrollWinEvent, | |
18375 | &_swigt__p_wxSetCursorEvent, | |
18376 | &_swigt__p_wxShowEvent, | |
18377 | &_swigt__p_wxSizeEvent, | |
18378 | &_swigt__p_wxSizer, | |
18379 | &_swigt__p_wxSizerItem, | |
18380 | &_swigt__p_wxStaticBoxSizer, | |
18381 | &_swigt__p_wxStdDialogButtonSizer, | |
18382 | &_swigt__p_wxStyledTextCtrl, | |
18383 | &_swigt__p_wxStyledTextEvent, | |
18384 | &_swigt__p_wxSysColourChangedEvent, | |
18385 | &_swigt__p_wxSystemOptions, | |
18386 | &_swigt__p_wxTIFFHandler, | |
18387 | &_swigt__p_wxTimerEvent, | |
18388 | &_swigt__p_wxToolTip, | |
18389 | &_swigt__p_wxUpdateUIEvent, | |
18390 | &_swigt__p_wxValidator, | |
18391 | &_swigt__p_wxWindow, | |
18392 | &_swigt__p_wxWindowCreateEvent, | |
18393 | &_swigt__p_wxWindowDestroyEvent, | |
18394 | &_swigt__p_wxXPMHandler, | |
18395 | &_swigt__ptrdiff_t, | |
18396 | &_swigt__std__ptrdiff_t, | |
18397 | &_swigt__unsigned_int, | |
18398 | }; | |
18399 | ||
18400 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
18401 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
18402 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18403 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
18404 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18405 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
18406 | static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; | |
18407 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
18408 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
18409 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18410 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18411 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18412 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18413 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18414 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18415 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18416 | static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18417 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18418 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; | |
18419 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
18420 | static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; | |
18421 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
18422 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
18423 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18424 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18425 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18426 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18427 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18428 | static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18429 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18430 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18431 | static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18432 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18433 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18434 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18435 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18436 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18437 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18438 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18439 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18440 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18441 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18442 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18443 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18444 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18445 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18446 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18447 | static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18448 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18449 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18450 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18451 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18452 | static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; | |
18453 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
18454 | static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; | |
18455 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18456 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18457 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18458 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
18459 | static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; | |
18460 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; | |
18461 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
18462 | static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}}; | |
18463 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
18464 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18465 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18466 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
18467 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18468 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18469 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18470 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18471 | static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}}; | |
18472 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18473 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18474 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
18475 | static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}}; | |
18476 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18477 | static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}}; | |
18478 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18479 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18480 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18481 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18482 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18483 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18484 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18485 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18486 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18487 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18488 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18489 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18490 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18491 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18492 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18493 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
18494 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
18495 | static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}}; | |
18496 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
18497 | static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18498 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; | |
18499 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
18500 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
18501 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; | |
18502 | static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18503 | static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18504 | static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18505 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; | |
18506 | static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
18507 | static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
18508 | static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18509 | ||
18510 | static swig_cast_info *swig_cast_initial[] = { | |
18511 | _swigc__p_char, | |
18512 | _swigc__p_form_ops_t, | |
18513 | _swigc__p_int, | |
18514 | _swigc__p_unsigned_char, | |
18515 | _swigc__p_unsigned_int, | |
18516 | _swigc__p_unsigned_long, | |
18517 | _swigc__p_void, | |
18518 | _swigc__p_wxANIHandler, | |
18519 | _swigc__p_wxAcceleratorTable, | |
18520 | _swigc__p_wxActivateEvent, | |
18521 | _swigc__p_wxBMPHandler, | |
18522 | _swigc__p_wxBitmap, | |
18523 | _swigc__p_wxBoxSizer, | |
18524 | _swigc__p_wxBusyInfo, | |
18525 | _swigc__p_wxCURHandler, | |
18526 | _swigc__p_wxChildFocusEvent, | |
18527 | _swigc__p_wxClipboard, | |
18528 | _swigc__p_wxCloseEvent, | |
18529 | _swigc__p_wxColour, | |
18530 | _swigc__p_wxCommandEvent, | |
18531 | _swigc__p_wxContextMenuEvent, | |
18532 | _swigc__p_wxControl, | |
18533 | _swigc__p_wxControlWithItems, | |
18534 | _swigc__p_wxDC, | |
18535 | _swigc__p_wxDateEvent, | |
18536 | _swigc__p_wxDisplayChangedEvent, | |
18537 | _swigc__p_wxDropFilesEvent, | |
18538 | _swigc__p_wxDuplexMode, | |
18539 | _swigc__p_wxEraseEvent, | |
18540 | _swigc__p_wxEvent, | |
18541 | _swigc__p_wxEvtHandler, | |
18542 | _swigc__p_wxFSFile, | |
18543 | _swigc__p_wxFileHistory, | |
18544 | _swigc__p_wxFileSystem, | |
18545 | _swigc__p_wxFlexGridSizer, | |
18546 | _swigc__p_wxFocusEvent, | |
18547 | _swigc__p_wxFont, | |
18548 | _swigc__p_wxGBSizerItem, | |
18549 | _swigc__p_wxGIFHandler, | |
18550 | _swigc__p_wxGridBagSizer, | |
18551 | _swigc__p_wxGridSizer, | |
18552 | _swigc__p_wxICOHandler, | |
18553 | _swigc__p_wxIconizeEvent, | |
18554 | _swigc__p_wxIdleEvent, | |
18555 | _swigc__p_wxImage, | |
18556 | _swigc__p_wxImageHandler, | |
18557 | _swigc__p_wxIndividualLayoutConstraint, | |
18558 | _swigc__p_wxInitDialogEvent, | |
18559 | _swigc__p_wxJPEGHandler, | |
18560 | _swigc__p_wxJoystickEvent, | |
18561 | _swigc__p_wxKeyEvent, | |
18562 | _swigc__p_wxLayoutConstraints, | |
18563 | _swigc__p_wxMaximizeEvent, | |
18564 | _swigc__p_wxMemoryBuffer, | |
18565 | _swigc__p_wxMenu, | |
18566 | _swigc__p_wxMenuBar, | |
18567 | _swigc__p_wxMenuEvent, | |
18568 | _swigc__p_wxMenuItem, | |
18569 | _swigc__p_wxMouseCaptureChangedEvent, | |
18570 | _swigc__p_wxMouseEvent, | |
18571 | _swigc__p_wxMoveEvent, | |
18572 | _swigc__p_wxNavigationKeyEvent, | |
18573 | _swigc__p_wxNcPaintEvent, | |
18574 | _swigc__p_wxNotifyEvent, | |
18575 | _swigc__p_wxObject, | |
18576 | _swigc__p_wxPCXHandler, | |
18577 | _swigc__p_wxPNGHandler, | |
18578 | _swigc__p_wxPNMHandler, | |
18579 | _swigc__p_wxPaintEvent, | |
18580 | _swigc__p_wxPaletteChangedEvent, | |
18581 | _swigc__p_wxPaperSize, | |
18582 | _swigc__p_wxPoint, | |
18583 | _swigc__p_wxProcessEvent, | |
18584 | _swigc__p_wxPyApp, | |
18585 | _swigc__p_wxPyCommandEvent, | |
18586 | _swigc__p_wxPyEvent, | |
18587 | _swigc__p_wxPyImageHandler, | |
18588 | _swigc__p_wxPyProcess, | |
18589 | _swigc__p_wxPySizer, | |
18590 | _swigc__p_wxPyTimer, | |
18591 | _swigc__p_wxPyValidator, | |
18592 | _swigc__p_wxQueryNewPaletteEvent, | |
18593 | _swigc__p_wxRect, | |
18594 | _swigc__p_wxScrollBar, | |
18595 | _swigc__p_wxScrollEvent, | |
18596 | _swigc__p_wxScrollWinEvent, | |
18597 | _swigc__p_wxSetCursorEvent, | |
18598 | _swigc__p_wxShowEvent, | |
18599 | _swigc__p_wxSizeEvent, | |
18600 | _swigc__p_wxSizer, | |
18601 | _swigc__p_wxSizerItem, | |
18602 | _swigc__p_wxStaticBoxSizer, | |
18603 | _swigc__p_wxStdDialogButtonSizer, | |
18604 | _swigc__p_wxStyledTextCtrl, | |
18605 | _swigc__p_wxStyledTextEvent, | |
18606 | _swigc__p_wxSysColourChangedEvent, | |
18607 | _swigc__p_wxSystemOptions, | |
18608 | _swigc__p_wxTIFFHandler, | |
18609 | _swigc__p_wxTimerEvent, | |
18610 | _swigc__p_wxToolTip, | |
18611 | _swigc__p_wxUpdateUIEvent, | |
18612 | _swigc__p_wxValidator, | |
18613 | _swigc__p_wxWindow, | |
18614 | _swigc__p_wxWindowCreateEvent, | |
18615 | _swigc__p_wxWindowDestroyEvent, | |
18616 | _swigc__p_wxXPMHandler, | |
18617 | _swigc__ptrdiff_t, | |
18618 | _swigc__std__ptrdiff_t, | |
18619 | _swigc__unsigned_int, | |
18620 | }; | |
18621 | ||
18622 | ||
18623 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18624 | ||
18625 | static swig_const_info swig_const_table[] = { | |
18626 | {0, 0, 0, 0.0, 0, 0}}; | |
18627 | ||
18628 | #ifdef __cplusplus | |
18629 | } | |
18630 | #endif | |
18631 | /************************************************************************* | |
18632 | * Type initialization: | |
18633 | * This problem is tough by the requirement that no dynamic | |
18634 | * memory is used. Also, since swig_type_info structures store pointers to | |
18635 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
18636 | * to swig_type_info structures, we need some lookup code at initialization. | |
18637 | * The idea is that swig generates all the structures that are needed. | |
18638 | * The runtime then collects these partially filled structures. | |
18639 | * The SWIG_InitializeModule function takes these initial arrays out of | |
18640 | * swig_module, and does all the lookup, filling in the swig_module.types | |
18641 | * array with the correct data and linking the correct swig_cast_info | |
18642 | * structures together. | |
18643 | ||
18644 | * The generated swig_type_info structures are assigned staticly to an initial | |
18645 | * array. We just loop though that array, and handle each type individually. | |
18646 | * First we lookup if this type has been already loaded, and if so, use the | |
18647 | * loaded structure instead of the generated one. Then we have to fill in the | |
18648 | * cast linked list. The cast data is initially stored in something like a | |
18649 | * two-dimensional array. Each row corresponds to a type (there are the same | |
18650 | * number of rows as there are in the swig_type_initial array). Each entry in | |
18651 | * a column is one of the swig_cast_info structures for that type. | |
18652 | * The cast_initial array is actually an array of arrays, because each row has | |
18653 | * a variable number of columns. So to actually build the cast linked list, | |
18654 | * we find the array of casts associated with the type, and loop through it | |
18655 | * adding the casts to the list. The one last trick we need to do is making | |
18656 | * sure the type pointer in the swig_cast_info struct is correct. | |
18657 | ||
18658 | * First off, we lookup the cast->type name to see if it is already loaded. | |
18659 | * There are three cases to handle: | |
18660 | * 1) If the cast->type has already been loaded AND the type we are adding | |
18661 | * casting info to has not been loaded (it is in this module), THEN we | |
18662 | * replace the cast->type pointer with the type pointer that has already | |
18663 | * been loaded. | |
18664 | * 2) If BOTH types (the one we are adding casting info to, and the | |
18665 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
18666 | * the previous module so we just ignore it. | |
18667 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
18668 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
18669 | * be correct. | |
18670 | **/ | |
18671 | ||
18672 | #ifdef __cplusplus | |
18673 | extern "C" { | |
18674 | #if 0 | |
18675 | } /* c-mode */ | |
18676 | #endif | |
18677 | #endif | |
18678 | ||
18679 | #if 0 | |
18680 | #define SWIGRUNTIME_DEBUG | |
18681 | #endif | |
18682 | ||
18683 | SWIGRUNTIME void | |
18684 | SWIG_InitializeModule(void *clientdata) { | |
18685 | size_t i; | |
18686 | swig_module_info *module_head; | |
18687 | static int init_run = 0; | |
18688 | ||
18689 | clientdata = clientdata; | |
18690 | ||
18691 | if (init_run) return; | |
18692 | init_run = 1; | |
18693 | ||
18694 | /* Initialize the swig_module */ | |
18695 | swig_module.type_initial = swig_type_initial; | |
18696 | swig_module.cast_initial = swig_cast_initial; | |
18697 | ||
18698 | /* Try and load any already created modules */ | |
18699 | module_head = SWIG_GetModule(clientdata); | |
18700 | if (module_head) { | |
18701 | swig_module.next = module_head->next; | |
18702 | module_head->next = &swig_module; | |
18703 | } else { | |
18704 | /* This is the first module loaded */ | |
18705 | swig_module.next = &swig_module; | |
18706 | SWIG_SetModule(clientdata, &swig_module); | |
18707 | } | |
18708 | ||
18709 | /* Now work on filling in swig_module.types */ | |
18710 | #ifdef SWIGRUNTIME_DEBUG | |
18711 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
18712 | #endif | |
18713 | for (i = 0; i < swig_module.size; ++i) { | |
18714 | swig_type_info *type = 0; | |
18715 | swig_type_info *ret; | |
18716 | swig_cast_info *cast; | |
18717 | ||
18718 | #ifdef SWIGRUNTIME_DEBUG | |
18719 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18720 | #endif | |
18721 | ||
18722 | /* if there is another module already loaded */ | |
18723 | if (swig_module.next != &swig_module) { | |
18724 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
18725 | } | |
18726 | if (type) { | |
18727 | /* Overwrite clientdata field */ | |
18728 | #ifdef SWIGRUNTIME_DEBUG | |
18729 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
18730 | #endif | |
18731 | if (swig_module.type_initial[i]->clientdata) { | |
18732 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
18733 | #ifdef SWIGRUNTIME_DEBUG | |
18734 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
18735 | #endif | |
18736 | } | |
18737 | } else { | |
18738 | type = swig_module.type_initial[i]; | |
18739 | } | |
18740 | ||
18741 | /* Insert casting types */ | |
18742 | cast = swig_module.cast_initial[i]; | |
18743 | while (cast->type) { | |
18744 | /* Don't need to add information already in the list */ | |
18745 | ret = 0; | |
18746 | #ifdef SWIGRUNTIME_DEBUG | |
18747 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
18748 | #endif | |
18749 | if (swig_module.next != &swig_module) { | |
18750 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
18751 | #ifdef SWIGRUNTIME_DEBUG | |
18752 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
18753 | #endif | |
18754 | } | |
18755 | if (ret) { | |
18756 | if (type == swig_module.type_initial[i]) { | |
18757 | #ifdef SWIGRUNTIME_DEBUG | |
18758 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
18759 | #endif | |
18760 | cast->type = ret; | |
18761 | ret = 0; | |
18762 | } else { | |
18763 | /* Check for casting already in the list */ | |
18764 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
18765 | #ifdef SWIGRUNTIME_DEBUG | |
18766 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
18767 | #endif | |
18768 | if (!ocast) ret = 0; | |
18769 | } | |
18770 | } | |
18771 | ||
18772 | if (!ret) { | |
18773 | #ifdef SWIGRUNTIME_DEBUG | |
18774 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
18775 | #endif | |
18776 | if (type->cast) { | |
18777 | type->cast->prev = cast; | |
18778 | cast->next = type->cast; | |
18779 | } | |
18780 | type->cast = cast; | |
18781 | } | |
18782 | cast++; | |
18783 | } | |
18784 | /* Set entry in modules->types array equal to the type */ | |
18785 | swig_module.types[i] = type; | |
18786 | } | |
18787 | swig_module.types[i] = 0; | |
18788 | ||
18789 | #ifdef SWIGRUNTIME_DEBUG | |
18790 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18791 | for (i = 0; i < swig_module.size; ++i) { | |
18792 | int j = 0; | |
18793 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
18794 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18795 | while (cast->type) { | |
18796 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
18797 | cast++; | |
18798 | ++j; | |
18799 | } | |
18800 | printf("---- Total casts: %d\n",j); | |
18801 | } | |
18802 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18803 | #endif | |
18804 | } | |
18805 | ||
18806 | /* This function will propagate the clientdata field of type to | |
18807 | * any new swig_type_info structures that have been added into the list | |
18808 | * of equivalent types. It is like calling | |
18809 | * SWIG_TypeClientData(type, clientdata) a second time. | |
18810 | */ | |
18811 | SWIGRUNTIME void | |
18812 | SWIG_PropagateClientData(void) { | |
18813 | size_t i; | |
18814 | swig_cast_info *equiv; | |
18815 | static int init_run = 0; | |
18816 | ||
18817 | if (init_run) return; | |
18818 | init_run = 1; | |
18819 | ||
18820 | for (i = 0; i < swig_module.size; i++) { | |
18821 | if (swig_module.types[i]->clientdata) { | |
18822 | equiv = swig_module.types[i]->cast; | |
18823 | while (equiv) { | |
18824 | if (!equiv->converter) { | |
18825 | if (equiv->type && !equiv->type->clientdata) | |
18826 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
18827 | } | |
18828 | equiv = equiv->next; | |
18829 | } | |
18830 | } | |
18831 | } | |
18832 | } | |
18833 | ||
18834 | #ifdef __cplusplus | |
18835 | #if 0 | |
18836 | { | |
18837 | /* c-mode */ | |
18838 | #endif | |
18839 | } | |
18840 | #endif | |
18841 | ||
18842 | ||
18843 | ||
18844 | #ifdef __cplusplus | |
18845 | extern "C" { | |
18846 | #endif | |
18847 | ||
18848 | /* Python-specific SWIG API */ | |
18849 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18850 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18851 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18852 | ||
18853 | /* ----------------------------------------------------------------------------- | |
18854 | * global variable support code. | |
18855 | * ----------------------------------------------------------------------------- */ | |
18856 | ||
18857 | typedef struct swig_globalvar { | |
18858 | char *name; /* Name of global variable */ | |
18859 | PyObject *(*get_attr)(void); /* Return the current value */ | |
18860 | int (*set_attr)(PyObject *); /* Set the value */ | |
18861 | struct swig_globalvar *next; | |
18862 | } swig_globalvar; | |
18863 | ||
18864 | typedef struct swig_varlinkobject { | |
18865 | PyObject_HEAD | |
18866 | swig_globalvar *vars; | |
18867 | } swig_varlinkobject; | |
18868 | ||
18869 | SWIGINTERN PyObject * | |
18870 | swig_varlink_repr(swig_varlinkobject *v) { | |
18871 | v = v; | |
18872 | return PyString_FromString("<Swig global variables>"); | |
18873 | } | |
18874 | ||
18875 | SWIGINTERN int | |
18876 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
18877 | swig_globalvar *var; | |
18878 | flags = flags; | |
18879 | fprintf(fp,"Swig global variables { "); | |
18880 | for (var = v->vars; var; var=var->next) { | |
18881 | fprintf(fp,"%s", var->name); | |
18882 | if (var->next) fprintf(fp,", "); | |
18883 | } | |
18884 | fprintf(fp," }\n"); | |
18885 | return 0; | |
18886 | } | |
18887 | ||
18888 | SWIGINTERN PyObject * | |
18889 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
18890 | swig_globalvar *var = v->vars; | |
18891 | while (var) { | |
18892 | if (strcmp(var->name,n) == 0) { | |
18893 | return (*var->get_attr)(); | |
18894 | } | |
18895 | var = var->next; | |
18896 | } | |
18897 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18898 | return NULL; | |
18899 | } | |
18900 | ||
18901 | SWIGINTERN int | |
18902 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
18903 | swig_globalvar *var = v->vars; | |
18904 | while (var) { | |
18905 | if (strcmp(var->name,n) == 0) { | |
18906 | return (*var->set_attr)(p); | |
18907 | } | |
18908 | var = var->next; | |
18909 | } | |
18910 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18911 | return 1; | |
18912 | } | |
18913 | ||
18914 | SWIGINTERN PyTypeObject* | |
18915 | swig_varlink_type(void) { | |
18916 | static char varlink__doc__[] = "Swig var link object"; | |
18917 | static PyTypeObject varlink_type | |
18918 | #if !defined(__cplusplus) | |
18919 | ; | |
18920 | static int type_init = 0; | |
18921 | if (!type_init) { | |
18922 | PyTypeObject tmp | |
18923 | #endif | |
18924 | = { | |
18925 | PyObject_HEAD_INIT(&PyType_Type) | |
18926 | 0, /* Number of items in variable part (ob_size) */ | |
18927 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18928 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18929 | 0, /* Itemsize (tp_itemsize) */ | |
18930 | 0, /* Deallocator (tp_dealloc) */ | |
18931 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18932 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18933 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18934 | 0, /* tp_compare */ | |
18935 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18936 | 0, /* tp_as_number */ | |
18937 | 0, /* tp_as_sequence */ | |
18938 | 0, /* tp_as_mapping */ | |
18939 | 0, /* tp_hash */ | |
18940 | 0, /* tp_call */ | |
18941 | 0, /* tp_str */ | |
18942 | 0, /* tp_getattro */ | |
18943 | 0, /* tp_setattro */ | |
18944 | 0, /* tp_as_buffer */ | |
18945 | 0, /* tp_flags */ | |
18946 | varlink__doc__, /* tp_doc */ | |
18947 | #if PY_VERSION_HEX >= 0x02000000 | |
18948 | 0, /* tp_traverse */ | |
18949 | 0, /* tp_clear */ | |
18950 | #endif | |
18951 | #if PY_VERSION_HEX >= 0x02010000 | |
18952 | 0, /* tp_richcompare */ | |
18953 | 0, /* tp_weaklistoffset */ | |
18954 | #endif | |
18955 | #if PY_VERSION_HEX >= 0x02020000 | |
18956 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
18957 | #endif | |
18958 | #if PY_VERSION_HEX >= 0x02030000 | |
18959 | 0, /* tp_del */ | |
18960 | #endif | |
18961 | #ifdef COUNT_ALLOCS | |
18962 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
18963 | #endif | |
18964 | }; | |
18965 | #if !defined(__cplusplus) | |
18966 | varlink_type = tmp; | |
18967 | type_init = 1; | |
18968 | } | |
18969 | #endif | |
18970 | return &varlink_type; | |
18971 | } | |
18972 | ||
18973 | /* Create a variable linking object for use later */ | |
18974 | SWIGINTERN PyObject * | |
18975 | SWIG_Python_newvarlink(void) { | |
18976 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
18977 | if (result) { | |
18978 | result->vars = 0; | |
18979 | } | |
18980 | return ((PyObject*) result); | |
18981 | } | |
18982 | ||
18983 | SWIGINTERN void | |
18984 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
18985 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
18986 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18987 | if (gv) { | |
18988 | size_t size = strlen(name)+1; | |
18989 | gv->name = (char *)malloc(size); | |
18990 | if (gv->name) { | |
18991 | strncpy(gv->name,name,size); | |
18992 | gv->get_attr = get_attr; | |
18993 | gv->set_attr = set_attr; | |
18994 | gv->next = v->vars; | |
18995 | } | |
18996 | } | |
18997 | v->vars = gv; | |
18998 | } | |
18999 | ||
19000 | /* ----------------------------------------------------------------------------- | |
19001 | * constants/methods manipulation | |
19002 | * ----------------------------------------------------------------------------- */ | |
19003 | ||
19004 | /* Install Constants */ | |
19005 | SWIGINTERN void | |
19006 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
19007 | PyObject *obj = 0; | |
19008 | size_t i; | |
19009 | for (i = 0; constants[i].type; ++i) { | |
19010 | switch(constants[i].type) { | |
19011 | case SWIG_PY_INT: | |
19012 | obj = PyInt_FromLong(constants[i].lvalue); | |
19013 | break; | |
19014 | case SWIG_PY_FLOAT: | |
19015 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
19016 | break; | |
19017 | case SWIG_PY_STRING: | |
19018 | if (constants[i].pvalue) { | |
19019 | obj = PyString_FromString((char *) constants[i].pvalue); | |
19020 | } else { | |
19021 | Py_INCREF(Py_None); | |
19022 | obj = Py_None; | |
19023 | } | |
19024 | break; | |
19025 | case SWIG_PY_POINTER: | |
19026 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
19027 | break; | |
19028 | case SWIG_PY_BINARY: | |
19029 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
19030 | break; | |
19031 | default: | |
19032 | obj = 0; | |
19033 | break; | |
19034 | } | |
19035 | if (obj) { | |
19036 | PyDict_SetItemString(d,constants[i].name,obj); | |
19037 | Py_DECREF(obj); | |
19038 | } | |
19039 | } | |
19040 | } | |
19041 | ||
19042 | /* -----------------------------------------------------------------------------*/ | |
19043 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19044 | /* -----------------------------------------------------------------------------*/ | |
19045 | ||
19046 | SWIGINTERN void | |
19047 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
19048 | swig_const_info *const_table, | |
19049 | swig_type_info **types, | |
19050 | swig_type_info **types_initial) { | |
19051 | size_t i; | |
19052 | for (i = 0; methods[i].ml_name; ++i) { | |
19053 | char *c = methods[i].ml_doc; | |
19054 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
19055 | int j; | |
19056 | swig_const_info *ci = 0; | |
19057 | char *name = c + 10; | |
19058 | for (j = 0; const_table[j].type; ++j) { | |
19059 | if (strncmp(const_table[j].name, name, | |
19060 | strlen(const_table[j].name)) == 0) { | |
19061 | ci = &(const_table[j]); | |
19062 | break; | |
19063 | } | |
19064 | } | |
19065 | if (ci) { | |
19066 | size_t shift = (ci->ptype) - types; | |
19067 | swig_type_info *ty = types_initial[shift]; | |
19068 | size_t ldoc = (c - methods[i].ml_doc); | |
19069 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
19070 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
19071 | if (ndoc) { | |
19072 | char *buff = ndoc; | |
19073 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
19074 | if (ptr) { | |
19075 | strncpy(buff, methods[i].ml_doc, ldoc); | |
19076 | buff += ldoc; | |
19077 | strncpy(buff, "swig_ptr: ", 10); | |
19078 | buff += 10; | |
19079 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
19080 | methods[i].ml_doc = ndoc; | |
19081 | } | |
19082 | } | |
19083 | } | |
19084 | } | |
19085 | } | |
19086 | } | |
19087 | ||
19088 | /* -----------------------------------------------------------------------------* | |
19089 | * Initialize type list | |
19090 | * -----------------------------------------------------------------------------*/ | |
19091 | ||
19092 | #ifdef __cplusplus | |
19093 | } | |
19094 | #endif | |
19095 | ||
19096 | /* -----------------------------------------------------------------------------* | |
19097 | * Partial Init method | |
19098 | * -----------------------------------------------------------------------------*/ | |
19099 | ||
19100 | #ifdef __cplusplus | |
19101 | extern "C" | |
19102 | #endif | |
19103 | SWIGEXPORT void SWIG_init(void) { | |
19104 | static PyObject *SWIG_globals = 0; | |
19105 | PyObject *m, *d; | |
19106 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
19107 | ||
19108 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19109 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
19110 | ||
19111 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
19112 | d = PyModule_GetDict(m); | |
19113 | ||
19114 | SWIG_InitializeModule(0); | |
19115 | SWIG_InstallConstants(d,swig_const_table); | |
19116 | ||
19117 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
19118 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
19119 | { | |
19120 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int(static_cast<int >(1))); | |
19121 | } | |
19122 | { | |
19123 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int(static_cast<int >(1))); | |
19124 | } | |
19125 | { | |
19126 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int(static_cast<int >(-1))); | |
19127 | } | |
19128 | { | |
19129 | PyDict_SetItemString(d,"STC_START", SWIG_From_int(static_cast<int >(2000))); | |
19130 | } | |
19131 | { | |
19132 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int(static_cast<int >(3000))); | |
19133 | } | |
19134 | { | |
19135 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int(static_cast<int >(4000))); | |
19136 | } | |
19137 | { | |
19138 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int(static_cast<int >(0))); | |
19139 | } | |
19140 | { | |
19141 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int(static_cast<int >(1))); | |
19142 | } | |
19143 | { | |
19144 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int(static_cast<int >(2))); | |
19145 | } | |
19146 | { | |
19147 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int(static_cast<int >(0))); | |
19148 | } | |
19149 | { | |
19150 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int(static_cast<int >(1))); | |
19151 | } | |
19152 | { | |
19153 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int(static_cast<int >(2))); | |
19154 | } | |
19155 | { | |
19156 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int(static_cast<int >(65001))); | |
19157 | } | |
19158 | { | |
19159 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int(static_cast<int >(1))); | |
19160 | } | |
19161 | { | |
19162 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int(static_cast<int >(31))); | |
19163 | } | |
19164 | { | |
19165 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int(static_cast<int >(0))); | |
19166 | } | |
19167 | { | |
19168 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int(static_cast<int >(1))); | |
19169 | } | |
19170 | { | |
19171 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int(static_cast<int >(2))); | |
19172 | } | |
19173 | { | |
19174 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int(static_cast<int >(3))); | |
19175 | } | |
19176 | { | |
19177 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int(static_cast<int >(4))); | |
19178 | } | |
19179 | { | |
19180 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int(static_cast<int >(5))); | |
19181 | } | |
19182 | { | |
19183 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int(static_cast<int >(6))); | |
19184 | } | |
19185 | { | |
19186 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int(static_cast<int >(7))); | |
19187 | } | |
19188 | { | |
19189 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int(static_cast<int >(8))); | |
19190 | } | |
19191 | { | |
19192 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int(static_cast<int >(9))); | |
19193 | } | |
19194 | { | |
19195 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int(static_cast<int >(10))); | |
19196 | } | |
19197 | { | |
19198 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int(static_cast<int >(11))); | |
19199 | } | |
19200 | { | |
19201 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int(static_cast<int >(12))); | |
19202 | } | |
19203 | { | |
19204 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int(static_cast<int >(13))); | |
19205 | } | |
19206 | { | |
19207 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int(static_cast<int >(14))); | |
19208 | } | |
19209 | { | |
19210 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int(static_cast<int >(15))); | |
19211 | } | |
19212 | { | |
19213 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int(static_cast<int >(16))); | |
19214 | } | |
19215 | { | |
19216 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int(static_cast<int >(17))); | |
19217 | } | |
19218 | { | |
19219 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int(static_cast<int >(18))); | |
19220 | } | |
19221 | { | |
19222 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int(static_cast<int >(19))); | |
19223 | } | |
19224 | { | |
19225 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int(static_cast<int >(20))); | |
19226 | } | |
19227 | { | |
19228 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int(static_cast<int >(21))); | |
19229 | } | |
19230 | { | |
19231 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int(static_cast<int >(22))); | |
19232 | } | |
19233 | { | |
19234 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int(static_cast<int >(23))); | |
19235 | } | |
19236 | { | |
19237 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int(static_cast<int >(24))); | |
19238 | } | |
19239 | { | |
19240 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int(static_cast<int >(25))); | |
19241 | } | |
19242 | { | |
19243 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int(static_cast<int >(10000))); | |
19244 | } | |
19245 | { | |
19246 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int(static_cast<int >(25))); | |
19247 | } | |
19248 | { | |
19249 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int(static_cast<int >(26))); | |
19250 | } | |
19251 | { | |
19252 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int(static_cast<int >(27))); | |
19253 | } | |
19254 | { | |
19255 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int(static_cast<int >(28))); | |
19256 | } | |
19257 | { | |
19258 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int(static_cast<int >(29))); | |
19259 | } | |
19260 | { | |
19261 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int(static_cast<int >(30))); | |
19262 | } | |
19263 | { | |
19264 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int(static_cast<int >(31))); | |
19265 | } | |
19266 | { | |
19267 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int(static_cast<int >(0xFE000000))); | |
19268 | } | |
19269 | { | |
19270 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int(static_cast<int >(0))); | |
19271 | } | |
19272 | { | |
19273 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int(static_cast<int >(1))); | |
19274 | } | |
19275 | { | |
19276 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int(static_cast<int >(32))); | |
19277 | } | |
19278 | { | |
19279 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int(static_cast<int >(33))); | |
19280 | } | |
19281 | { | |
19282 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int(static_cast<int >(34))); | |
19283 | } | |
19284 | { | |
19285 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int(static_cast<int >(35))); | |
19286 | } | |
19287 | { | |
19288 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int(static_cast<int >(36))); | |
19289 | } | |
19290 | { | |
19291 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int(static_cast<int >(37))); | |
19292 | } | |
19293 | { | |
19294 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int(static_cast<int >(39))); | |
19295 | } | |
19296 | { | |
19297 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int(static_cast<int >(127))); | |
19298 | } | |
19299 | { | |
19300 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int(static_cast<int >(0))); | |
19301 | } | |
19302 | { | |
19303 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int(static_cast<int >(1))); | |
19304 | } | |
19305 | { | |
19306 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int(static_cast<int >(186))); | |
19307 | } | |
19308 | { | |
19309 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int(static_cast<int >(136))); | |
19310 | } | |
19311 | { | |
19312 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int(static_cast<int >(238))); | |
19313 | } | |
19314 | { | |
19315 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int(static_cast<int >(134))); | |
19316 | } | |
19317 | { | |
19318 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int(static_cast<int >(161))); | |
19319 | } | |
19320 | { | |
19321 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int(static_cast<int >(129))); | |
19322 | } | |
19323 | { | |
19324 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int(static_cast<int >(77))); | |
19325 | } | |
19326 | { | |
19327 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int(static_cast<int >(255))); | |
19328 | } | |
19329 | { | |
19330 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int(static_cast<int >(204))); | |
19331 | } | |
19332 | { | |
19333 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int(static_cast<int >(128))); | |
19334 | } | |
19335 | { | |
19336 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int(static_cast<int >(2))); | |
19337 | } | |
19338 | { | |
19339 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int(static_cast<int >(162))); | |
19340 | } | |
19341 | { | |
19342 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int(static_cast<int >(130))); | |
19343 | } | |
19344 | { | |
19345 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int(static_cast<int >(177))); | |
19346 | } | |
19347 | { | |
19348 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int(static_cast<int >(178))); | |
19349 | } | |
19350 | { | |
19351 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int(static_cast<int >(163))); | |
19352 | } | |
19353 | { | |
19354 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int(static_cast<int >(222))); | |
19355 | } | |
19356 | { | |
19357 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int(static_cast<int >(0))); | |
19358 | } | |
19359 | { | |
19360 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int(static_cast<int >(1))); | |
19361 | } | |
19362 | { | |
19363 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int(static_cast<int >(2))); | |
19364 | } | |
19365 | { | |
19366 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int(static_cast<int >(7))); | |
19367 | } | |
19368 | { | |
19369 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int(static_cast<int >(0))); | |
19370 | } | |
19371 | { | |
19372 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int(static_cast<int >(1))); | |
19373 | } | |
19374 | { | |
19375 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int(static_cast<int >(2))); | |
19376 | } | |
19377 | { | |
19378 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int(static_cast<int >(3))); | |
19379 | } | |
19380 | { | |
19381 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int(static_cast<int >(4))); | |
19382 | } | |
19383 | { | |
19384 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int(static_cast<int >(5))); | |
19385 | } | |
19386 | { | |
19387 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int(static_cast<int >(6))); | |
19388 | } | |
19389 | { | |
19390 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int(static_cast<int >(0x20))); | |
19391 | } | |
19392 | { | |
19393 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int(static_cast<int >(0x40))); | |
19394 | } | |
19395 | { | |
19396 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int(static_cast<int >(0x80))); | |
19397 | } | |
19398 | { | |
19399 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int(static_cast<int >(0xE0))); | |
19400 | } | |
19401 | { | |
19402 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int(static_cast<int >(0))); | |
19403 | } | |
19404 | { | |
19405 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int(static_cast<int >(1))); | |
19406 | } | |
19407 | { | |
19408 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int(static_cast<int >(2))); | |
19409 | } | |
19410 | { | |
19411 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int(static_cast<int >(3))); | |
19412 | } | |
19413 | { | |
19414 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int(static_cast<int >(4))); | |
19415 | } | |
19416 | { | |
19417 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int(static_cast<int >(2))); | |
19418 | } | |
19419 | { | |
19420 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int(static_cast<int >(4))); | |
19421 | } | |
19422 | { | |
19423 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int(static_cast<int >(0x00100000))); | |
19424 | } | |
19425 | { | |
19426 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int(static_cast<int >(0x00200000))); | |
19427 | } | |
19428 | { | |
19429 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int(static_cast<int >(0x00400000))); | |
19430 | } | |
19431 | { | |
19432 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int(static_cast<int >(0x400))); | |
19433 | } | |
19434 | { | |
19435 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int(static_cast<int >(0x1000))); | |
19436 | } | |
19437 | { | |
19438 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int(static_cast<int >(0x2000))); | |
19439 | } | |
19440 | { | |
19441 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int(static_cast<int >(0x4000))); | |
19442 | } | |
19443 | { | |
19444 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int(static_cast<int >(0x8000))); | |
19445 | } | |
19446 | { | |
19447 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int(static_cast<int >(0x10000))); | |
19448 | } | |
19449 | { | |
19450 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int(static_cast<int >(0x20000))); | |
19451 | } | |
19452 | { | |
19453 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int(static_cast<int >(0x0FFF))); | |
19454 | } | |
19455 | { | |
19456 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int(static_cast<int >(0x0002))); | |
19457 | } | |
19458 | { | |
19459 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int(static_cast<int >(0x0004))); | |
19460 | } | |
19461 | { | |
19462 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int(static_cast<int >(0x0008))); | |
19463 | } | |
19464 | { | |
19465 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int(static_cast<int >(0x0010))); | |
19466 | } | |
19467 | { | |
19468 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int(static_cast<int >(0x0040))); | |
19469 | } | |
19470 | { | |
19471 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int(static_cast<int >(0x0001))); | |
19472 | } | |
19473 | { | |
19474 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int(static_cast<int >(10000000))); | |
19475 | } | |
19476 | { | |
19477 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int(static_cast<int >(0))); | |
19478 | } | |
19479 | { | |
19480 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int(static_cast<int >(1))); | |
19481 | } | |
19482 | { | |
19483 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int(static_cast<int >(0x0000))); | |
19484 | } | |
19485 | { | |
19486 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int(static_cast<int >(0x0001))); | |
19487 | } | |
19488 | { | |
19489 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int(static_cast<int >(0x0002))); | |
19490 | } | |
19491 | { | |
19492 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int(static_cast<int >(0x0000))); | |
19493 | } | |
19494 | { | |
19495 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int(static_cast<int >(0x0001))); | |
19496 | } | |
19497 | { | |
19498 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int(static_cast<int >(0x0002))); | |
19499 | } | |
19500 | { | |
19501 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int(static_cast<int >(0))); | |
19502 | } | |
19503 | { | |
19504 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int(static_cast<int >(1))); | |
19505 | } | |
19506 | { | |
19507 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int(static_cast<int >(2))); | |
19508 | } | |
19509 | { | |
19510 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int(static_cast<int >(3))); | |
19511 | } | |
19512 | { | |
19513 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int(static_cast<int >(0))); | |
19514 | } | |
19515 | { | |
19516 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int(static_cast<int >(1))); | |
19517 | } | |
19518 | { | |
19519 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int(static_cast<int >(2))); | |
19520 | } | |
19521 | { | |
19522 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int(static_cast<int >(-1))); | |
19523 | } | |
19524 | { | |
19525 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int(static_cast<int >(4))); | |
19526 | } | |
19527 | { | |
19528 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int(static_cast<int >(0x01))); | |
19529 | } | |
19530 | { | |
19531 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int(static_cast<int >(0x04))); | |
19532 | } | |
19533 | { | |
19534 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int(static_cast<int >(0x01))); | |
19535 | } | |
19536 | { | |
19537 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int(static_cast<int >(0x04))); | |
19538 | } | |
19539 | { | |
19540 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int(static_cast<int >(0x10))); | |
19541 | } | |
19542 | { | |
19543 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int(static_cast<int >(0x08))); | |
19544 | } | |
19545 | { | |
19546 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int(static_cast<int >(0))); | |
19547 | } | |
19548 | { | |
19549 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int(static_cast<int >(1))); | |
19550 | } | |
19551 | { | |
19552 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int(static_cast<int >(2))); | |
19553 | } | |
19554 | { | |
19555 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int(static_cast<int >(8))); | |
19556 | } | |
19557 | { | |
19558 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int(static_cast<int >(0x1))); | |
19559 | } | |
19560 | { | |
19561 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int(static_cast<int >(0x2))); | |
19562 | } | |
19563 | { | |
19564 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int(static_cast<int >(0x4))); | |
19565 | } | |
19566 | { | |
19567 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int(static_cast<int >(0x8))); | |
19568 | } | |
19569 | { | |
19570 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int(static_cast<int >(0x10))); | |
19571 | } | |
19572 | { | |
19573 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int(static_cast<int >(0x20))); | |
19574 | } | |
19575 | { | |
19576 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int(static_cast<int >(0x40))); | |
19577 | } | |
19578 | { | |
19579 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int(static_cast<int >(0x100))); | |
19580 | } | |
19581 | { | |
19582 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int(static_cast<int >(0x200))); | |
19583 | } | |
19584 | { | |
19585 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int(static_cast<int >(0x400))); | |
19586 | } | |
19587 | { | |
19588 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int(static_cast<int >(0x800))); | |
19589 | } | |
19590 | { | |
19591 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int(static_cast<int >(0xF77))); | |
19592 | } | |
19593 | { | |
19594 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int(static_cast<int >(300))); | |
19595 | } | |
19596 | { | |
19597 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int(static_cast<int >(301))); | |
19598 | } | |
19599 | { | |
19600 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int(static_cast<int >(302))); | |
19601 | } | |
19602 | { | |
19603 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int(static_cast<int >(303))); | |
19604 | } | |
19605 | { | |
19606 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int(static_cast<int >(304))); | |
19607 | } | |
19608 | { | |
19609 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int(static_cast<int >(305))); | |
19610 | } | |
19611 | { | |
19612 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int(static_cast<int >(306))); | |
19613 | } | |
19614 | { | |
19615 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int(static_cast<int >(307))); | |
19616 | } | |
19617 | { | |
19618 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int(static_cast<int >(308))); | |
19619 | } | |
19620 | { | |
19621 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int(static_cast<int >(309))); | |
19622 | } | |
19623 | { | |
19624 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int(static_cast<int >(7))); | |
19625 | } | |
19626 | { | |
19627 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int(static_cast<int >(8))); | |
19628 | } | |
19629 | { | |
19630 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int(static_cast<int >(9))); | |
19631 | } | |
19632 | { | |
19633 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int(static_cast<int >(13))); | |
19634 | } | |
19635 | { | |
19636 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int(static_cast<int >(310))); | |
19637 | } | |
19638 | { | |
19639 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int(static_cast<int >(311))); | |
19640 | } | |
19641 | { | |
19642 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int(static_cast<int >(312))); | |
19643 | } | |
19644 | { | |
19645 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int(static_cast<int >(1))); | |
19646 | } | |
19647 | { | |
19648 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int(static_cast<int >(2))); | |
19649 | } | |
19650 | { | |
19651 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int(static_cast<int >(4))); | |
19652 | } | |
19653 | { | |
19654 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int(static_cast<int >(0))); | |
19655 | } | |
19656 | { | |
19657 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int(static_cast<int >(1))); | |
19658 | } | |
19659 | { | |
19660 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int(static_cast<int >(2))); | |
19661 | } | |
19662 | { | |
19663 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int(static_cast<int >(3))); | |
19664 | } | |
19665 | { | |
19666 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int(static_cast<int >(4))); | |
19667 | } | |
19668 | { | |
19669 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int(static_cast<int >(5))); | |
19670 | } | |
19671 | { | |
19672 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int(static_cast<int >(6))); | |
19673 | } | |
19674 | { | |
19675 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int(static_cast<int >(7))); | |
19676 | } | |
19677 | { | |
19678 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int(static_cast<int >(8))); | |
19679 | } | |
19680 | { | |
19681 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int(static_cast<int >(9))); | |
19682 | } | |
19683 | { | |
19684 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int(static_cast<int >(10))); | |
19685 | } | |
19686 | { | |
19687 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int(static_cast<int >(11))); | |
19688 | } | |
19689 | { | |
19690 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int(static_cast<int >(12))); | |
19691 | } | |
19692 | { | |
19693 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int(static_cast<int >(13))); | |
19694 | } | |
19695 | { | |
19696 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int(static_cast<int >(14))); | |
19697 | } | |
19698 | { | |
19699 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int(static_cast<int >(15))); | |
19700 | } | |
19701 | { | |
19702 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int(static_cast<int >(16))); | |
19703 | } | |
19704 | { | |
19705 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int(static_cast<int >(17))); | |
19706 | } | |
19707 | { | |
19708 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int(static_cast<int >(18))); | |
19709 | } | |
19710 | { | |
19711 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int(static_cast<int >(19))); | |
19712 | } | |
19713 | { | |
19714 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int(static_cast<int >(20))); | |
19715 | } | |
19716 | { | |
19717 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int(static_cast<int >(21))); | |
19718 | } | |
19719 | { | |
19720 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int(static_cast<int >(22))); | |
19721 | } | |
19722 | { | |
19723 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int(static_cast<int >(23))); | |
19724 | } | |
19725 | { | |
19726 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int(static_cast<int >(24))); | |
19727 | } | |
19728 | { | |
19729 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int(static_cast<int >(25))); | |
19730 | } | |
19731 | { | |
19732 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int(static_cast<int >(26))); | |
19733 | } | |
19734 | { | |
19735 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int(static_cast<int >(27))); | |
19736 | } | |
19737 | { | |
19738 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int(static_cast<int >(28))); | |
19739 | } | |
19740 | { | |
19741 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int(static_cast<int >(29))); | |
19742 | } | |
19743 | { | |
19744 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int(static_cast<int >(30))); | |
19745 | } | |
19746 | { | |
19747 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int(static_cast<int >(31))); | |
19748 | } | |
19749 | { | |
19750 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int(static_cast<int >(32))); | |
19751 | } | |
19752 | { | |
19753 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int(static_cast<int >(33))); | |
19754 | } | |
19755 | { | |
19756 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int(static_cast<int >(34))); | |
19757 | } | |
19758 | { | |
19759 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int(static_cast<int >(35))); | |
19760 | } | |
19761 | { | |
19762 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int(static_cast<int >(36))); | |
19763 | } | |
19764 | { | |
19765 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int(static_cast<int >(37))); | |
19766 | } | |
19767 | { | |
19768 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int(static_cast<int >(38))); | |
19769 | } | |
19770 | { | |
19771 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int(static_cast<int >(39))); | |
19772 | } | |
19773 | { | |
19774 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int(static_cast<int >(40))); | |
19775 | } | |
19776 | { | |
19777 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int(static_cast<int >(41))); | |
19778 | } | |
19779 | { | |
19780 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int(static_cast<int >(42))); | |
19781 | } | |
19782 | { | |
19783 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int(static_cast<int >(43))); | |
19784 | } | |
19785 | { | |
19786 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int(static_cast<int >(44))); | |
19787 | } | |
19788 | { | |
19789 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int(static_cast<int >(45))); | |
19790 | } | |
19791 | { | |
19792 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int(static_cast<int >(46))); | |
19793 | } | |
19794 | { | |
19795 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int(static_cast<int >(47))); | |
19796 | } | |
19797 | { | |
19798 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int(static_cast<int >(48))); | |
19799 | } | |
19800 | { | |
19801 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int(static_cast<int >(49))); | |
19802 | } | |
19803 | { | |
19804 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int(static_cast<int >(50))); | |
19805 | } | |
19806 | { | |
19807 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int(static_cast<int >(51))); | |
19808 | } | |
19809 | { | |
19810 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int(static_cast<int >(52))); | |
19811 | } | |
19812 | { | |
19813 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int(static_cast<int >(53))); | |
19814 | } | |
19815 | { | |
19816 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int(static_cast<int >(54))); | |
19817 | } | |
19818 | { | |
19819 | PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int(static_cast<int >(55))); | |
19820 | } | |
19821 | { | |
19822 | PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int(static_cast<int >(56))); | |
19823 | } | |
19824 | { | |
19825 | PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int(static_cast<int >(57))); | |
19826 | } | |
19827 | { | |
19828 | PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int(static_cast<int >(58))); | |
19829 | } | |
19830 | { | |
19831 | PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int(static_cast<int >(59))); | |
19832 | } | |
19833 | { | |
19834 | PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int(static_cast<int >(60))); | |
19835 | } | |
19836 | { | |
19837 | PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int(static_cast<int >(61))); | |
19838 | } | |
19839 | { | |
19840 | PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int(static_cast<int >(62))); | |
19841 | } | |
19842 | { | |
19843 | PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int(static_cast<int >(63))); | |
19844 | } | |
19845 | { | |
19846 | PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int(static_cast<int >(64))); | |
19847 | } | |
19848 | { | |
19849 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int(static_cast<int >(1000))); | |
19850 | } | |
19851 | { | |
19852 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
19853 | } | |
19854 | { | |
19855 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int(static_cast<int >(1))); | |
19856 | } | |
19857 | { | |
19858 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
19859 | } | |
19860 | { | |
19861 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int(static_cast<int >(3))); | |
19862 | } | |
19863 | { | |
19864 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int(static_cast<int >(4))); | |
19865 | } | |
19866 | { | |
19867 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int(static_cast<int >(5))); | |
19868 | } | |
19869 | { | |
19870 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int(static_cast<int >(6))); | |
19871 | } | |
19872 | { | |
19873 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(7))); | |
19874 | } | |
19875 | { | |
19876 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int(static_cast<int >(8))); | |
19877 | } | |
19878 | { | |
19879 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int(static_cast<int >(9))); | |
19880 | } | |
19881 | { | |
19882 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
19883 | } | |
19884 | { | |
19885 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); | |
19886 | } | |
19887 | { | |
19888 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int(static_cast<int >(12))); | |
19889 | } | |
19890 | { | |
19891 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int(static_cast<int >(13))); | |
19892 | } | |
19893 | { | |
19894 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
19895 | } | |
19896 | { | |
19897 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
19898 | } | |
19899 | { | |
19900 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
19901 | } | |
19902 | { | |
19903 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int(static_cast<int >(3))); | |
19904 | } | |
19905 | { | |
19906 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
19907 | } | |
19908 | { | |
19909 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int(static_cast<int >(5))); | |
19910 | } | |
19911 | { | |
19912 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int(static_cast<int >(6))); | |
19913 | } | |
19914 | { | |
19915 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int(static_cast<int >(7))); | |
19916 | } | |
19917 | { | |
19918 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int(static_cast<int >(8))); | |
19919 | } | |
19920 | { | |
19921 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); | |
19922 | } | |
19923 | { | |
19924 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
19925 | } | |
19926 | { | |
19927 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); | |
19928 | } | |
19929 | { | |
19930 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int(static_cast<int >(12))); | |
19931 | } | |
19932 | { | |
19933 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int(static_cast<int >(13))); | |
19934 | } | |
19935 | { | |
19936 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int(static_cast<int >(14))); | |
19937 | } | |
19938 | { | |
19939 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int(static_cast<int >(15))); | |
19940 | } | |
19941 | { | |
19942 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int(static_cast<int >(16))); | |
19943 | } | |
19944 | { | |
19945 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int(static_cast<int >(17))); | |
19946 | } | |
19947 | { | |
19948 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int(static_cast<int >(18))); | |
19949 | } | |
19950 | { | |
19951 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int(static_cast<int >(19))); | |
19952 | } | |
19953 | { | |
19954 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
19955 | } | |
19956 | { | |
19957 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int(static_cast<int >(1))); | |
19958 | } | |
19959 | { | |
19960 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int(static_cast<int >(2))); | |
19961 | } | |
19962 | { | |
19963 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int(static_cast<int >(3))); | |
19964 | } | |
19965 | { | |
19966 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int(static_cast<int >(4))); | |
19967 | } | |
19968 | { | |
19969 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int(static_cast<int >(5))); | |
19970 | } | |
19971 | { | |
19972 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int(static_cast<int >(6))); | |
19973 | } | |
19974 | { | |
19975 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int(static_cast<int >(7))); | |
19976 | } | |
19977 | { | |
19978 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int(static_cast<int >(8))); | |
19979 | } | |
19980 | { | |
19981 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int(static_cast<int >(9))); | |
19982 | } | |
19983 | { | |
19984 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int(static_cast<int >(10))); | |
19985 | } | |
19986 | { | |
19987 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int(static_cast<int >(11))); | |
19988 | } | |
19989 | { | |
19990 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int(static_cast<int >(12))); | |
19991 | } | |
19992 | { | |
19993 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int(static_cast<int >(13))); | |
19994 | } | |
19995 | { | |
19996 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int(static_cast<int >(14))); | |
19997 | } | |
19998 | { | |
19999 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int(static_cast<int >(15))); | |
20000 | } | |
20001 | { | |
20002 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int(static_cast<int >(16))); | |
20003 | } | |
20004 | { | |
20005 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int(static_cast<int >(17))); | |
20006 | } | |
20007 | { | |
20008 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int(static_cast<int >(18))); | |
20009 | } | |
20010 | { | |
20011 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int(static_cast<int >(19))); | |
20012 | } | |
20013 | { | |
20014 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int(static_cast<int >(20))); | |
20015 | } | |
20016 | { | |
20017 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int(static_cast<int >(21))); | |
20018 | } | |
20019 | { | |
20020 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int(static_cast<int >(22))); | |
20021 | } | |
20022 | { | |
20023 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int(static_cast<int >(23))); | |
20024 | } | |
20025 | { | |
20026 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int(static_cast<int >(24))); | |
20027 | } | |
20028 | { | |
20029 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int(static_cast<int >(25))); | |
20030 | } | |
20031 | { | |
20032 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int(static_cast<int >(26))); | |
20033 | } | |
20034 | { | |
20035 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int(static_cast<int >(27))); | |
20036 | } | |
20037 | { | |
20038 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int(static_cast<int >(28))); | |
20039 | } | |
20040 | { | |
20041 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int(static_cast<int >(29))); | |
20042 | } | |
20043 | { | |
20044 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int(static_cast<int >(30))); | |
20045 | } | |
20046 | { | |
20047 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int(static_cast<int >(31))); | |
20048 | } | |
20049 | { | |
20050 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int(static_cast<int >(40))); | |
20051 | } | |
20052 | { | |
20053 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int(static_cast<int >(41))); | |
20054 | } | |
20055 | { | |
20056 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int(static_cast<int >(42))); | |
20057 | } | |
20058 | { | |
20059 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int(static_cast<int >(43))); | |
20060 | } | |
20061 | { | |
20062 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int(static_cast<int >(44))); | |
20063 | } | |
20064 | { | |
20065 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int(static_cast<int >(45))); | |
20066 | } | |
20067 | { | |
20068 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int(static_cast<int >(46))); | |
20069 | } | |
20070 | { | |
20071 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int(static_cast<int >(47))); | |
20072 | } | |
20073 | { | |
20074 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int(static_cast<int >(48))); | |
20075 | } | |
20076 | { | |
20077 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int(static_cast<int >(49))); | |
20078 | } | |
20079 | { | |
20080 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int(static_cast<int >(50))); | |
20081 | } | |
20082 | { | |
20083 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int(static_cast<int >(51))); | |
20084 | } | |
20085 | { | |
20086 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int(static_cast<int >(52))); | |
20087 | } | |
20088 | { | |
20089 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int(static_cast<int >(55))); | |
20090 | } | |
20091 | { | |
20092 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int(static_cast<int >(56))); | |
20093 | } | |
20094 | { | |
20095 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int(static_cast<int >(57))); | |
20096 | } | |
20097 | { | |
20098 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int(static_cast<int >(58))); | |
20099 | } | |
20100 | { | |
20101 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int(static_cast<int >(59))); | |
20102 | } | |
20103 | { | |
20104 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int(static_cast<int >(60))); | |
20105 | } | |
20106 | { | |
20107 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int(static_cast<int >(61))); | |
20108 | } | |
20109 | { | |
20110 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int(static_cast<int >(62))); | |
20111 | } | |
20112 | { | |
20113 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int(static_cast<int >(63))); | |
20114 | } | |
20115 | { | |
20116 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int(static_cast<int >(64))); | |
20117 | } | |
20118 | { | |
20119 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int(static_cast<int >(65))); | |
20120 | } | |
20121 | { | |
20122 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int(static_cast<int >(66))); | |
20123 | } | |
20124 | { | |
20125 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int(static_cast<int >(67))); | |
20126 | } | |
20127 | { | |
20128 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int(static_cast<int >(70))); | |
20129 | } | |
20130 | { | |
20131 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int(static_cast<int >(71))); | |
20132 | } | |
20133 | { | |
20134 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int(static_cast<int >(72))); | |
20135 | } | |
20136 | { | |
20137 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int(static_cast<int >(73))); | |
20138 | } | |
20139 | { | |
20140 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int(static_cast<int >(74))); | |
20141 | } | |
20142 | { | |
20143 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int(static_cast<int >(75))); | |
20144 | } | |
20145 | { | |
20146 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int(static_cast<int >(76))); | |
20147 | } | |
20148 | { | |
20149 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int(static_cast<int >(77))); | |
20150 | } | |
20151 | { | |
20152 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int(static_cast<int >(80))); | |
20153 | } | |
20154 | { | |
20155 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int(static_cast<int >(81))); | |
20156 | } | |
20157 | { | |
20158 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int(static_cast<int >(82))); | |
20159 | } | |
20160 | { | |
20161 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int(static_cast<int >(83))); | |
20162 | } | |
20163 | { | |
20164 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int(static_cast<int >(84))); | |
20165 | } | |
20166 | { | |
20167 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int(static_cast<int >(85))); | |
20168 | } | |
20169 | { | |
20170 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int(static_cast<int >(86))); | |
20171 | } | |
20172 | { | |
20173 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int(static_cast<int >(87))); | |
20174 | } | |
20175 | { | |
20176 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int(static_cast<int >(90))); | |
20177 | } | |
20178 | { | |
20179 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int(static_cast<int >(91))); | |
20180 | } | |
20181 | { | |
20182 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int(static_cast<int >(92))); | |
20183 | } | |
20184 | { | |
20185 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int(static_cast<int >(93))); | |
20186 | } | |
20187 | { | |
20188 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int(static_cast<int >(94))); | |
20189 | } | |
20190 | { | |
20191 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int(static_cast<int >(95))); | |
20192 | } | |
20193 | { | |
20194 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int(static_cast<int >(96))); | |
20195 | } | |
20196 | { | |
20197 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int(static_cast<int >(97))); | |
20198 | } | |
20199 | { | |
20200 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(98))); | |
20201 | } | |
20202 | { | |
20203 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int(static_cast<int >(99))); | |
20204 | } | |
20205 | { | |
20206 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int(static_cast<int >(100))); | |
20207 | } | |
20208 | { | |
20209 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int(static_cast<int >(101))); | |
20210 | } | |
20211 | { | |
20212 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int(static_cast<int >(102))); | |
20213 | } | |
20214 | { | |
20215 | PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int(static_cast<int >(104))); | |
20216 | } | |
20217 | { | |
20218 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int(static_cast<int >(105))); | |
20219 | } | |
20220 | { | |
20221 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int(static_cast<int >(106))); | |
20222 | } | |
20223 | { | |
20224 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int(static_cast<int >(107))); | |
20225 | } | |
20226 | { | |
20227 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int(static_cast<int >(108))); | |
20228 | } | |
20229 | { | |
20230 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int(static_cast<int >(109))); | |
20231 | } | |
20232 | { | |
20233 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int(static_cast<int >(110))); | |
20234 | } | |
20235 | { | |
20236 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int(static_cast<int >(111))); | |
20237 | } | |
20238 | { | |
20239 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int(static_cast<int >(112))); | |
20240 | } | |
20241 | { | |
20242 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(113))); | |
20243 | } | |
20244 | { | |
20245 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int(static_cast<int >(114))); | |
20246 | } | |
20247 | { | |
20248 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int(static_cast<int >(115))); | |
20249 | } | |
20250 | { | |
20251 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int(static_cast<int >(116))); | |
20252 | } | |
20253 | { | |
20254 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int(static_cast<int >(117))); | |
20255 | } | |
20256 | { | |
20257 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int(static_cast<int >(118))); | |
20258 | } | |
20259 | { | |
20260 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int(static_cast<int >(119))); | |
20261 | } | |
20262 | { | |
20263 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int(static_cast<int >(120))); | |
20264 | } | |
20265 | { | |
20266 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int(static_cast<int >(121))); | |
20267 | } | |
20268 | { | |
20269 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int(static_cast<int >(122))); | |
20270 | } | |
20271 | { | |
20272 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int(static_cast<int >(123))); | |
20273 | } | |
20274 | { | |
20275 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int(static_cast<int >(124))); | |
20276 | } | |
20277 | { | |
20278 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int(static_cast<int >(125))); | |
20279 | } | |
20280 | { | |
20281 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int(static_cast<int >(126))); | |
20282 | } | |
20283 | { | |
20284 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int(static_cast<int >(127))); | |
20285 | } | |
20286 | { | |
20287 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20288 | } | |
20289 | { | |
20290 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int(static_cast<int >(1))); | |
20291 | } | |
20292 | { | |
20293 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
20294 | } | |
20295 | { | |
20296 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int(static_cast<int >(3))); | |
20297 | } | |
20298 | { | |
20299 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
20300 | } | |
20301 | { | |
20302 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int(static_cast<int >(5))); | |
20303 | } | |
20304 | { | |
20305 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int(static_cast<int >(6))); | |
20306 | } | |
20307 | { | |
20308 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int(static_cast<int >(7))); | |
20309 | } | |
20310 | { | |
20311 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int(static_cast<int >(8))); | |
20312 | } | |
20313 | { | |
20314 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); | |
20315 | } | |
20316 | { | |
20317 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
20318 | } | |
20319 | { | |
20320 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); | |
20321 | } | |
20322 | { | |
20323 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int(static_cast<int >(12))); | |
20324 | } | |
20325 | { | |
20326 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int(static_cast<int >(13))); | |
20327 | } | |
20328 | { | |
20329 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int(static_cast<int >(14))); | |
20330 | } | |
20331 | { | |
20332 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int(static_cast<int >(15))); | |
20333 | } | |
20334 | { | |
20335 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int(static_cast<int >(17))); | |
20336 | } | |
20337 | { | |
20338 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int(static_cast<int >(18))); | |
20339 | } | |
20340 | { | |
20341 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int(static_cast<int >(19))); | |
20342 | } | |
20343 | { | |
20344 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int(static_cast<int >(20))); | |
20345 | } | |
20346 | { | |
20347 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int(static_cast<int >(21))); | |
20348 | } | |
20349 | { | |
20350 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int(static_cast<int >(22))); | |
20351 | } | |
20352 | { | |
20353 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int(static_cast<int >(23))); | |
20354 | } | |
20355 | { | |
20356 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int(static_cast<int >(24))); | |
20357 | } | |
20358 | { | |
20359 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int(static_cast<int >(25))); | |
20360 | } | |
20361 | { | |
20362 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int(static_cast<int >(26))); | |
20363 | } | |
20364 | { | |
20365 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int(static_cast<int >(27))); | |
20366 | } | |
20367 | { | |
20368 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int(static_cast<int >(28))); | |
20369 | } | |
20370 | { | |
20371 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int(static_cast<int >(29))); | |
20372 | } | |
20373 | { | |
20374 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int(static_cast<int >(30))); | |
20375 | } | |
20376 | { | |
20377 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20378 | } | |
20379 | { | |
20380 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20381 | } | |
20382 | { | |
20383 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
20384 | } | |
20385 | { | |
20386 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int(static_cast<int >(3))); | |
20387 | } | |
20388 | { | |
20389 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int(static_cast<int >(4))); | |
20390 | } | |
20391 | { | |
20392 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int(static_cast<int >(5))); | |
20393 | } | |
20394 | { | |
20395 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int(static_cast<int >(6))); | |
20396 | } | |
20397 | { | |
20398 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); | |
20399 | } | |
20400 | { | |
20401 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int(static_cast<int >(8))); | |
20402 | } | |
20403 | { | |
20404 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int(static_cast<int >(9))); | |
20405 | } | |
20406 | { | |
20407 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int(static_cast<int >(10))); | |
20408 | } | |
20409 | { | |
20410 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int(static_cast<int >(11))); | |
20411 | } | |
20412 | { | |
20413 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int(static_cast<int >(12))); | |
20414 | } | |
20415 | { | |
20416 | PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int(static_cast<int >(13))); | |
20417 | } | |
20418 | { | |
20419 | PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int(static_cast<int >(14))); | |
20420 | } | |
20421 | { | |
20422 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20423 | } | |
20424 | { | |
20425 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20426 | } | |
20427 | { | |
20428 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int(static_cast<int >(2))); | |
20429 | } | |
20430 | { | |
20431 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int(static_cast<int >(3))); | |
20432 | } | |
20433 | { | |
20434 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int(static_cast<int >(4))); | |
20435 | } | |
20436 | { | |
20437 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20438 | } | |
20439 | { | |
20440 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int(static_cast<int >(1))); | |
20441 | } | |
20442 | { | |
20443 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int(static_cast<int >(2))); | |
20444 | } | |
20445 | { | |
20446 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int(static_cast<int >(3))); | |
20447 | } | |
20448 | { | |
20449 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int(static_cast<int >(4))); | |
20450 | } | |
20451 | { | |
20452 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20453 | } | |
20454 | { | |
20455 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20456 | } | |
20457 | { | |
20458 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
20459 | } | |
20460 | { | |
20461 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int(static_cast<int >(3))); | |
20462 | } | |
20463 | { | |
20464 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
20465 | } | |
20466 | { | |
20467 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int(static_cast<int >(5))); | |
20468 | } | |
20469 | { | |
20470 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int(static_cast<int >(6))); | |
20471 | } | |
20472 | { | |
20473 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int(static_cast<int >(7))); | |
20474 | } | |
20475 | { | |
20476 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int(static_cast<int >(8))); | |
20477 | } | |
20478 | { | |
20479 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); | |
20480 | } | |
20481 | { | |
20482 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
20483 | } | |
20484 | { | |
20485 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); | |
20486 | } | |
20487 | { | |
20488 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int(static_cast<int >(12))); | |
20489 | } | |
20490 | { | |
20491 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int(static_cast<int >(13))); | |
20492 | } | |
20493 | { | |
20494 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int(static_cast<int >(14))); | |
20495 | } | |
20496 | { | |
20497 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int(static_cast<int >(15))); | |
20498 | } | |
20499 | { | |
20500 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int(static_cast<int >(16))); | |
20501 | } | |
20502 | { | |
20503 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int(static_cast<int >(17))); | |
20504 | } | |
20505 | { | |
20506 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int(static_cast<int >(18))); | |
20507 | } | |
20508 | { | |
20509 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int(static_cast<int >(19))); | |
20510 | } | |
20511 | { | |
20512 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20513 | } | |
20514 | { | |
20515 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int(static_cast<int >(1))); | |
20516 | } | |
20517 | { | |
20518 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int(static_cast<int >(2))); | |
20519 | } | |
20520 | { | |
20521 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int(static_cast<int >(3))); | |
20522 | } | |
20523 | { | |
20524 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int(static_cast<int >(4))); | |
20525 | } | |
20526 | { | |
20527 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int(static_cast<int >(5))); | |
20528 | } | |
20529 | { | |
20530 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int(static_cast<int >(6))); | |
20531 | } | |
20532 | { | |
20533 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int(static_cast<int >(7))); | |
20534 | } | |
20535 | { | |
20536 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int(static_cast<int >(8))); | |
20537 | } | |
20538 | { | |
20539 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int(static_cast<int >(9))); | |
20540 | } | |
20541 | { | |
20542 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int(static_cast<int >(10))); | |
20543 | } | |
20544 | { | |
20545 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int(static_cast<int >(11))); | |
20546 | } | |
20547 | { | |
20548 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int(static_cast<int >(12))); | |
20549 | } | |
20550 | { | |
20551 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int(static_cast<int >(13))); | |
20552 | } | |
20553 | { | |
20554 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int(static_cast<int >(14))); | |
20555 | } | |
20556 | { | |
20557 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int(static_cast<int >(15))); | |
20558 | } | |
20559 | { | |
20560 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int(static_cast<int >(16))); | |
20561 | } | |
20562 | { | |
20563 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int(static_cast<int >(17))); | |
20564 | } | |
20565 | { | |
20566 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int(static_cast<int >(18))); | |
20567 | } | |
20568 | { | |
20569 | PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int(static_cast<int >(19))); | |
20570 | } | |
20571 | { | |
20572 | PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int(static_cast<int >(20))); | |
20573 | } | |
20574 | { | |
20575 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20576 | } | |
20577 | { | |
20578 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20579 | } | |
20580 | { | |
20581 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int(static_cast<int >(2))); | |
20582 | } | |
20583 | { | |
20584 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int(static_cast<int >(3))); | |
20585 | } | |
20586 | { | |
20587 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int(static_cast<int >(4))); | |
20588 | } | |
20589 | { | |
20590 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int(static_cast<int >(5))); | |
20591 | } | |
20592 | { | |
20593 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); | |
20594 | } | |
20595 | { | |
20596 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int(static_cast<int >(7))); | |
20597 | } | |
20598 | { | |
20599 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20600 | } | |
20601 | { | |
20602 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20603 | } | |
20604 | { | |
20605 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int(static_cast<int >(2))); | |
20606 | } | |
20607 | { | |
20608 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int(static_cast<int >(3))); | |
20609 | } | |
20610 | { | |
20611 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int(static_cast<int >(4))); | |
20612 | } | |
20613 | { | |
20614 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int(static_cast<int >(5))); | |
20615 | } | |
20616 | { | |
20617 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int(static_cast<int >(9))); | |
20618 | } | |
20619 | { | |
20620 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20621 | } | |
20622 | { | |
20623 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20624 | } | |
20625 | { | |
20626 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int(static_cast<int >(2))); | |
20627 | } | |
20628 | { | |
20629 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int(static_cast<int >(3))); | |
20630 | } | |
20631 | { | |
20632 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int(static_cast<int >(4))); | |
20633 | } | |
20634 | { | |
20635 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int(static_cast<int >(5))); | |
20636 | } | |
20637 | { | |
20638 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int(static_cast<int >(6))); | |
20639 | } | |
20640 | { | |
20641 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20642 | } | |
20643 | { | |
20644 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20645 | } | |
20646 | { | |
20647 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
20648 | } | |
20649 | { | |
20650 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int(static_cast<int >(3))); | |
20651 | } | |
20652 | { | |
20653 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int(static_cast<int >(4))); | |
20654 | } | |
20655 | { | |
20656 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int(static_cast<int >(5))); | |
20657 | } | |
20658 | { | |
20659 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int(static_cast<int >(6))); | |
20660 | } | |
20661 | { | |
20662 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int(static_cast<int >(7))); | |
20663 | } | |
20664 | { | |
20665 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int(static_cast<int >(8))); | |
20666 | } | |
20667 | { | |
20668 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int(static_cast<int >(9))); | |
20669 | } | |
20670 | { | |
20671 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20672 | } | |
20673 | { | |
20674 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20675 | } | |
20676 | { | |
20677 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
20678 | } | |
20679 | { | |
20680 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int(static_cast<int >(3))); | |
20681 | } | |
20682 | { | |
20683 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int(static_cast<int >(6))); | |
20684 | } | |
20685 | { | |
20686 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int(static_cast<int >(7))); | |
20687 | } | |
20688 | { | |
20689 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int(static_cast<int >(8))); | |
20690 | } | |
20691 | { | |
20692 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int(static_cast<int >(9))); | |
20693 | } | |
20694 | { | |
20695 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
20696 | } | |
20697 | { | |
20698 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int(static_cast<int >(11))); | |
20699 | } | |
20700 | { | |
20701 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int(static_cast<int >(12))); | |
20702 | } | |
20703 | { | |
20704 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int(static_cast<int >(13))); | |
20705 | } | |
20706 | { | |
20707 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int(static_cast<int >(14))); | |
20708 | } | |
20709 | { | |
20710 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int(static_cast<int >(15))); | |
20711 | } | |
20712 | { | |
20713 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int(static_cast<int >(16))); | |
20714 | } | |
20715 | { | |
20716 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20717 | } | |
20718 | { | |
20719 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int(static_cast<int >(1))); | |
20720 | } | |
20721 | { | |
20722 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int(static_cast<int >(2))); | |
20723 | } | |
20724 | { | |
20725 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
20726 | } | |
20727 | { | |
20728 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int(static_cast<int >(4))); | |
20729 | } | |
20730 | { | |
20731 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int(static_cast<int >(5))); | |
20732 | } | |
20733 | { | |
20734 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int(static_cast<int >(6))); | |
20735 | } | |
20736 | { | |
20737 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int(static_cast<int >(7))); | |
20738 | } | |
20739 | { | |
20740 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int(static_cast<int >(8))); | |
20741 | } | |
20742 | { | |
20743 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int(static_cast<int >(9))); | |
20744 | } | |
20745 | { | |
20746 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int(static_cast<int >(10))); | |
20747 | } | |
20748 | { | |
20749 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int(static_cast<int >(11))); | |
20750 | } | |
20751 | { | |
20752 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20753 | } | |
20754 | { | |
20755 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20756 | } | |
20757 | { | |
20758 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int(static_cast<int >(2))); | |
20759 | } | |
20760 | { | |
20761 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
20762 | } | |
20763 | { | |
20764 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int(static_cast<int >(4))); | |
20765 | } | |
20766 | { | |
20767 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int(static_cast<int >(5))); | |
20768 | } | |
20769 | { | |
20770 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int(static_cast<int >(6))); | |
20771 | } | |
20772 | { | |
20773 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int(static_cast<int >(7))); | |
20774 | } | |
20775 | { | |
20776 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int(static_cast<int >(8))); | |
20777 | } | |
20778 | { | |
20779 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int(static_cast<int >(9))); | |
20780 | } | |
20781 | { | |
20782 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int(static_cast<int >(10))); | |
20783 | } | |
20784 | { | |
20785 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20786 | } | |
20787 | { | |
20788 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20789 | } | |
20790 | { | |
20791 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
20792 | } | |
20793 | { | |
20794 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int(static_cast<int >(3))); | |
20795 | } | |
20796 | { | |
20797 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int(static_cast<int >(6))); | |
20798 | } | |
20799 | { | |
20800 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int(static_cast<int >(8))); | |
20801 | } | |
20802 | { | |
20803 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int(static_cast<int >(9))); | |
20804 | } | |
20805 | { | |
20806 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
20807 | } | |
20808 | { | |
20809 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20810 | } | |
20811 | { | |
20812 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int(static_cast<int >(1))); | |
20813 | } | |
20814 | { | |
20815 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
20816 | } | |
20817 | { | |
20818 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int(static_cast<int >(3))); | |
20819 | } | |
20820 | { | |
20821 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int(static_cast<int >(4))); | |
20822 | } | |
20823 | { | |
20824 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int(static_cast<int >(5))); | |
20825 | } | |
20826 | { | |
20827 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int(static_cast<int >(6))); | |
20828 | } | |
20829 | { | |
20830 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); | |
20831 | } | |
20832 | { | |
20833 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int(static_cast<int >(8))); | |
20834 | } | |
20835 | { | |
20836 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20837 | } | |
20838 | { | |
20839 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20840 | } | |
20841 | { | |
20842 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int(static_cast<int >(2))); | |
20843 | } | |
20844 | { | |
20845 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int(static_cast<int >(3))); | |
20846 | } | |
20847 | { | |
20848 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int(static_cast<int >(4))); | |
20849 | } | |
20850 | { | |
20851 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int(static_cast<int >(5))); | |
20852 | } | |
20853 | { | |
20854 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int(static_cast<int >(6))); | |
20855 | } | |
20856 | { | |
20857 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int(static_cast<int >(7))); | |
20858 | } | |
20859 | { | |
20860 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int(static_cast<int >(8))); | |
20861 | } | |
20862 | { | |
20863 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int(static_cast<int >(9))); | |
20864 | } | |
20865 | { | |
20866 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int(static_cast<int >(10))); | |
20867 | } | |
20868 | { | |
20869 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20870 | } | |
20871 | { | |
20872 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20873 | } | |
20874 | { | |
20875 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int(static_cast<int >(2))); | |
20876 | } | |
20877 | { | |
20878 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int(static_cast<int >(3))); | |
20879 | } | |
20880 | { | |
20881 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int(static_cast<int >(4))); | |
20882 | } | |
20883 | { | |
20884 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int(static_cast<int >(5))); | |
20885 | } | |
20886 | { | |
20887 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int(static_cast<int >(6))); | |
20888 | } | |
20889 | { | |
20890 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int(static_cast<int >(7))); | |
20891 | } | |
20892 | { | |
20893 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int(static_cast<int >(8))); | |
20894 | } | |
20895 | { | |
20896 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int(static_cast<int >(9))); | |
20897 | } | |
20898 | { | |
20899 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int(static_cast<int >(10))); | |
20900 | } | |
20901 | { | |
20902 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int(static_cast<int >(11))); | |
20903 | } | |
20904 | { | |
20905 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20906 | } | |
20907 | { | |
20908 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20909 | } | |
20910 | { | |
20911 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int(static_cast<int >(2))); | |
20912 | } | |
20913 | { | |
20914 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
20915 | } | |
20916 | { | |
20917 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int(static_cast<int >(4))); | |
20918 | } | |
20919 | { | |
20920 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int(static_cast<int >(5))); | |
20921 | } | |
20922 | { | |
20923 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int(static_cast<int >(6))); | |
20924 | } | |
20925 | { | |
20926 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); | |
20927 | } | |
20928 | { | |
20929 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int(static_cast<int >(8))); | |
20930 | } | |
20931 | { | |
20932 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20933 | } | |
20934 | { | |
20935 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int(static_cast<int >(1))); | |
20936 | } | |
20937 | { | |
20938 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
20939 | } | |
20940 | { | |
20941 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int(static_cast<int >(3))); | |
20942 | } | |
20943 | { | |
20944 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int(static_cast<int >(4))); | |
20945 | } | |
20946 | { | |
20947 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(5))); | |
20948 | } | |
20949 | { | |
20950 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int(static_cast<int >(6))); | |
20951 | } | |
20952 | { | |
20953 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int(static_cast<int >(7))); | |
20954 | } | |
20955 | { | |
20956 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int(static_cast<int >(8))); | |
20957 | } | |
20958 | { | |
20959 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int(static_cast<int >(9))); | |
20960 | } | |
20961 | { | |
20962 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int(static_cast<int >(10))); | |
20963 | } | |
20964 | { | |
20965 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int(static_cast<int >(11))); | |
20966 | } | |
20967 | { | |
20968 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int(static_cast<int >(12))); | |
20969 | } | |
20970 | { | |
20971 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int(static_cast<int >(13))); | |
20972 | } | |
20973 | { | |
20974 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int(static_cast<int >(14))); | |
20975 | } | |
20976 | { | |
20977 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int(static_cast<int >(15))); | |
20978 | } | |
20979 | { | |
20980 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
20981 | } | |
20982 | { | |
20983 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
20984 | } | |
20985 | { | |
20986 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
20987 | } | |
20988 | { | |
20989 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int(static_cast<int >(3))); | |
20990 | } | |
20991 | { | |
20992 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int(static_cast<int >(4))); | |
20993 | } | |
20994 | { | |
20995 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int(static_cast<int >(5))); | |
20996 | } | |
20997 | { | |
20998 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int(static_cast<int >(6))); | |
20999 | } | |
21000 | { | |
21001 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int(static_cast<int >(7))); | |
21002 | } | |
21003 | { | |
21004 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int(static_cast<int >(8))); | |
21005 | } | |
21006 | { | |
21007 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int(static_cast<int >(9))); | |
21008 | } | |
21009 | { | |
21010 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int(static_cast<int >(10))); | |
21011 | } | |
21012 | { | |
21013 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int(static_cast<int >(11))); | |
21014 | } | |
21015 | { | |
21016 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int(static_cast<int >(12))); | |
21017 | } | |
21018 | { | |
21019 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int(static_cast<int >(13))); | |
21020 | } | |
21021 | { | |
21022 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int(static_cast<int >(14))); | |
21023 | } | |
21024 | { | |
21025 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21026 | } | |
21027 | { | |
21028 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21029 | } | |
21030 | { | |
21031 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
21032 | } | |
21033 | { | |
21034 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int(static_cast<int >(3))); | |
21035 | } | |
21036 | { | |
21037 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int(static_cast<int >(4))); | |
21038 | } | |
21039 | { | |
21040 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int(static_cast<int >(5))); | |
21041 | } | |
21042 | { | |
21043 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int(static_cast<int >(6))); | |
21044 | } | |
21045 | { | |
21046 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); | |
21047 | } | |
21048 | { | |
21049 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int(static_cast<int >(8))); | |
21050 | } | |
21051 | { | |
21052 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int(static_cast<int >(9))); | |
21053 | } | |
21054 | { | |
21055 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int(static_cast<int >(10))); | |
21056 | } | |
21057 | { | |
21058 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int(static_cast<int >(11))); | |
21059 | } | |
21060 | { | |
21061 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int(static_cast<int >(12))); | |
21062 | } | |
21063 | { | |
21064 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int(static_cast<int >(13))); | |
21065 | } | |
21066 | { | |
21067 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int(static_cast<int >(14))); | |
21068 | } | |
21069 | { | |
21070 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21071 | } | |
21072 | { | |
21073 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int(static_cast<int >(1))); | |
21074 | } | |
21075 | { | |
21076 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int(static_cast<int >(2))); | |
21077 | } | |
21078 | { | |
21079 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int(static_cast<int >(3))); | |
21080 | } | |
21081 | { | |
21082 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int(static_cast<int >(4))); | |
21083 | } | |
21084 | { | |
21085 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int(static_cast<int >(5))); | |
21086 | } | |
21087 | { | |
21088 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); | |
21089 | } | |
21090 | { | |
21091 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); | |
21092 | } | |
21093 | { | |
21094 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int(static_cast<int >(8))); | |
21095 | } | |
21096 | { | |
21097 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int(static_cast<int >(9))); | |
21098 | } | |
21099 | { | |
21100 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int(static_cast<int >(10))); | |
21101 | } | |
21102 | { | |
21103 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int(static_cast<int >(11))); | |
21104 | } | |
21105 | { | |
21106 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int(static_cast<int >(12))); | |
21107 | } | |
21108 | { | |
21109 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int(static_cast<int >(13))); | |
21110 | } | |
21111 | { | |
21112 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int(static_cast<int >(14))); | |
21113 | } | |
21114 | { | |
21115 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int(static_cast<int >(15))); | |
21116 | } | |
21117 | { | |
21118 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21119 | } | |
21120 | { | |
21121 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21122 | } | |
21123 | { | |
21124 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
21125 | } | |
21126 | { | |
21127 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
21128 | } | |
21129 | { | |
21130 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int(static_cast<int >(4))); | |
21131 | } | |
21132 | { | |
21133 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int(static_cast<int >(5))); | |
21134 | } | |
21135 | { | |
21136 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int(static_cast<int >(6))); | |
21137 | } | |
21138 | { | |
21139 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int(static_cast<int >(7))); | |
21140 | } | |
21141 | { | |
21142 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int(static_cast<int >(8))); | |
21143 | } | |
21144 | { | |
21145 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int(static_cast<int >(9))); | |
21146 | } | |
21147 | { | |
21148 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int(static_cast<int >(10))); | |
21149 | } | |
21150 | { | |
21151 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int(static_cast<int >(11))); | |
21152 | } | |
21153 | { | |
21154 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int(static_cast<int >(12))); | |
21155 | } | |
21156 | { | |
21157 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int(static_cast<int >(13))); | |
21158 | } | |
21159 | { | |
21160 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int(static_cast<int >(14))); | |
21161 | } | |
21162 | { | |
21163 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int(static_cast<int >(15))); | |
21164 | } | |
21165 | { | |
21166 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int(static_cast<int >(16))); | |
21167 | } | |
21168 | { | |
21169 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21170 | } | |
21171 | { | |
21172 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21173 | } | |
21174 | { | |
21175 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int(static_cast<int >(2))); | |
21176 | } | |
21177 | { | |
21178 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int(static_cast<int >(3))); | |
21179 | } | |
21180 | { | |
21181 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int(static_cast<int >(4))); | |
21182 | } | |
21183 | { | |
21184 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int(static_cast<int >(5))); | |
21185 | } | |
21186 | { | |
21187 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int(static_cast<int >(6))); | |
21188 | } | |
21189 | { | |
21190 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int(static_cast<int >(7))); | |
21191 | } | |
21192 | { | |
21193 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int(static_cast<int >(8))); | |
21194 | } | |
21195 | { | |
21196 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int(static_cast<int >(9))); | |
21197 | } | |
21198 | { | |
21199 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int(static_cast<int >(10))); | |
21200 | } | |
21201 | { | |
21202 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21203 | } | |
21204 | { | |
21205 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21206 | } | |
21207 | { | |
21208 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
21209 | } | |
21210 | { | |
21211 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int(static_cast<int >(3))); | |
21212 | } | |
21213 | { | |
21214 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
21215 | } | |
21216 | { | |
21217 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int(static_cast<int >(5))); | |
21218 | } | |
21219 | { | |
21220 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int(static_cast<int >(6))); | |
21221 | } | |
21222 | { | |
21223 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int(static_cast<int >(7))); | |
21224 | } | |
21225 | { | |
21226 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int(static_cast<int >(8))); | |
21227 | } | |
21228 | { | |
21229 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int(static_cast<int >(9))); | |
21230 | } | |
21231 | { | |
21232 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int(static_cast<int >(10))); | |
21233 | } | |
21234 | { | |
21235 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int(static_cast<int >(11))); | |
21236 | } | |
21237 | { | |
21238 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21239 | } | |
21240 | { | |
21241 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21242 | } | |
21243 | { | |
21244 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int(static_cast<int >(2))); | |
21245 | } | |
21246 | { | |
21247 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int(static_cast<int >(3))); | |
21248 | } | |
21249 | { | |
21250 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
21251 | } | |
21252 | { | |
21253 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int(static_cast<int >(5))); | |
21254 | } | |
21255 | { | |
21256 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int(static_cast<int >(6))); | |
21257 | } | |
21258 | { | |
21259 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int(static_cast<int >(7))); | |
21260 | } | |
21261 | { | |
21262 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int(static_cast<int >(8))); | |
21263 | } | |
21264 | { | |
21265 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int(static_cast<int >(9))); | |
21266 | } | |
21267 | { | |
21268 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int(static_cast<int >(10))); | |
21269 | } | |
21270 | { | |
21271 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int(static_cast<int >(11))); | |
21272 | } | |
21273 | { | |
21274 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int(static_cast<int >(12))); | |
21275 | } | |
21276 | { | |
21277 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int(static_cast<int >(13))); | |
21278 | } | |
21279 | { | |
21280 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int(static_cast<int >(14))); | |
21281 | } | |
21282 | { | |
21283 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int(static_cast<int >(15))); | |
21284 | } | |
21285 | { | |
21286 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21287 | } | |
21288 | { | |
21289 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21290 | } | |
21291 | { | |
21292 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int(static_cast<int >(2))); | |
21293 | } | |
21294 | { | |
21295 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int(static_cast<int >(3))); | |
21296 | } | |
21297 | { | |
21298 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int(static_cast<int >(4))); | |
21299 | } | |
21300 | { | |
21301 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int(static_cast<int >(5))); | |
21302 | } | |
21303 | { | |
21304 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int(static_cast<int >(6))); | |
21305 | } | |
21306 | { | |
21307 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int(static_cast<int >(7))); | |
21308 | } | |
21309 | { | |
21310 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int(static_cast<int >(8))); | |
21311 | } | |
21312 | { | |
21313 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int(static_cast<int >(9))); | |
21314 | } | |
21315 | { | |
21316 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int(static_cast<int >(10))); | |
21317 | } | |
21318 | { | |
21319 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int(static_cast<int >(11))); | |
21320 | } | |
21321 | { | |
21322 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int(static_cast<int >(12))); | |
21323 | } | |
21324 | { | |
21325 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int(static_cast<int >(13))); | |
21326 | } | |
21327 | { | |
21328 | PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int(static_cast<int >(14))); | |
21329 | } | |
21330 | { | |
21331 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int(static_cast<int >(0))); | |
21332 | } | |
21333 | { | |
21334 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21335 | } | |
21336 | { | |
21337 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int(static_cast<int >(2))); | |
21338 | } | |
21339 | { | |
21340 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int(static_cast<int >(3))); | |
21341 | } | |
21342 | { | |
21343 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int(static_cast<int >(4))); | |
21344 | } | |
21345 | { | |
21346 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int(static_cast<int >(5))); | |
21347 | } | |
21348 | { | |
21349 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int(static_cast<int >(6))); | |
21350 | } | |
21351 | { | |
21352 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int(static_cast<int >(7))); | |
21353 | } | |
21354 | { | |
21355 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int(static_cast<int >(8))); | |
21356 | } | |
21357 | { | |
21358 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int(static_cast<int >(9))); | |
21359 | } | |
21360 | { | |
21361 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int(static_cast<int >(10))); | |
21362 | } | |
21363 | { | |
21364 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int(static_cast<int >(11))); | |
21365 | } | |
21366 | { | |
21367 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int(static_cast<int >(12))); | |
21368 | } | |
21369 | { | |
21370 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int(static_cast<int >(13))); | |
21371 | } | |
21372 | { | |
21373 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int(static_cast<int >(14))); | |
21374 | } | |
21375 | { | |
21376 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int(static_cast<int >(15))); | |
21377 | } | |
21378 | { | |
21379 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int(static_cast<int >(16))); | |
21380 | } | |
21381 | { | |
21382 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int(static_cast<int >(17))); | |
21383 | } | |
21384 | { | |
21385 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21386 | } | |
21387 | { | |
21388 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int(static_cast<int >(1))); | |
21389 | } | |
21390 | { | |
21391 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int(static_cast<int >(2))); | |
21392 | } | |
21393 | { | |
21394 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int(static_cast<int >(3))); | |
21395 | } | |
21396 | { | |
21397 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int(static_cast<int >(4))); | |
21398 | } | |
21399 | { | |
21400 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int(static_cast<int >(5))); | |
21401 | } | |
21402 | { | |
21403 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int(static_cast<int >(6))); | |
21404 | } | |
21405 | { | |
21406 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int(static_cast<int >(7))); | |
21407 | } | |
21408 | { | |
21409 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int(static_cast<int >(8))); | |
21410 | } | |
21411 | { | |
21412 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int(static_cast<int >(9))); | |
21413 | } | |
21414 | { | |
21415 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int(static_cast<int >(10))); | |
21416 | } | |
21417 | { | |
21418 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int(static_cast<int >(11))); | |
21419 | } | |
21420 | { | |
21421 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int(static_cast<int >(12))); | |
21422 | } | |
21423 | { | |
21424 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int(static_cast<int >(13))); | |
21425 | } | |
21426 | { | |
21427 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int(static_cast<int >(14))); | |
21428 | } | |
21429 | { | |
21430 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21431 | } | |
21432 | { | |
21433 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int(static_cast<int >(1))); | |
21434 | } | |
21435 | { | |
21436 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int(static_cast<int >(2))); | |
21437 | } | |
21438 | { | |
21439 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int(static_cast<int >(3))); | |
21440 | } | |
21441 | { | |
21442 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int(static_cast<int >(4))); | |
21443 | } | |
21444 | { | |
21445 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int(static_cast<int >(5))); | |
21446 | } | |
21447 | { | |
21448 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int(static_cast<int >(6))); | |
21449 | } | |
21450 | { | |
21451 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21452 | } | |
21453 | { | |
21454 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21455 | } | |
21456 | { | |
21457 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int(static_cast<int >(2))); | |
21458 | } | |
21459 | { | |
21460 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int(static_cast<int >(3))); | |
21461 | } | |
21462 | { | |
21463 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
21464 | } | |
21465 | { | |
21466 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int(static_cast<int >(5))); | |
21467 | } | |
21468 | { | |
21469 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int(static_cast<int >(6))); | |
21470 | } | |
21471 | { | |
21472 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int(static_cast<int >(7))); | |
21473 | } | |
21474 | { | |
21475 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int(static_cast<int >(8))); | |
21476 | } | |
21477 | { | |
21478 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21479 | } | |
21480 | { | |
21481 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int(static_cast<int >(1))); | |
21482 | } | |
21483 | { | |
21484 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int(static_cast<int >(2))); | |
21485 | } | |
21486 | { | |
21487 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int(static_cast<int >(3))); | |
21488 | } | |
21489 | { | |
21490 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int(static_cast<int >(4))); | |
21491 | } | |
21492 | { | |
21493 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int(static_cast<int >(5))); | |
21494 | } | |
21495 | { | |
21496 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21497 | } | |
21498 | { | |
21499 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int(static_cast<int >(1))); | |
21500 | } | |
21501 | { | |
21502 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int(static_cast<int >(2))); | |
21503 | } | |
21504 | { | |
21505 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int(static_cast<int >(3))); | |
21506 | } | |
21507 | { | |
21508 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int(static_cast<int >(4))); | |
21509 | } | |
21510 | { | |
21511 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int(static_cast<int >(5))); | |
21512 | } | |
21513 | { | |
21514 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int(static_cast<int >(6))); | |
21515 | } | |
21516 | { | |
21517 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21518 | } | |
21519 | { | |
21520 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21521 | } | |
21522 | { | |
21523 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int(static_cast<int >(2))); | |
21524 | } | |
21525 | { | |
21526 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
21527 | } | |
21528 | { | |
21529 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int(static_cast<int >(4))); | |
21530 | } | |
21531 | { | |
21532 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int(static_cast<int >(5))); | |
21533 | } | |
21534 | { | |
21535 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int(static_cast<int >(6))); | |
21536 | } | |
21537 | { | |
21538 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int(static_cast<int >(7))); | |
21539 | } | |
21540 | { | |
21541 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int(static_cast<int >(8))); | |
21542 | } | |
21543 | { | |
21544 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int(static_cast<int >(9))); | |
21545 | } | |
21546 | { | |
21547 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int(static_cast<int >(10))); | |
21548 | } | |
21549 | { | |
21550 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int(static_cast<int >(11))); | |
21551 | } | |
21552 | { | |
21553 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int(static_cast<int >(12))); | |
21554 | } | |
21555 | { | |
21556 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int(static_cast<int >(13))); | |
21557 | } | |
21558 | { | |
21559 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int(static_cast<int >(31))); | |
21560 | } | |
21561 | { | |
21562 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21563 | } | |
21564 | { | |
21565 | PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21566 | } | |
21567 | { | |
21568 | PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int(static_cast<int >(2))); | |
21569 | } | |
21570 | { | |
21571 | PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
21572 | } | |
21573 | { | |
21574 | PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int(static_cast<int >(4))); | |
21575 | } | |
21576 | { | |
21577 | PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int(static_cast<int >(5))); | |
21578 | } | |
21579 | { | |
21580 | PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); | |
21581 | } | |
21582 | { | |
21583 | PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int(static_cast<int >(7))); | |
21584 | } | |
21585 | { | |
21586 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int(static_cast<int >(8))); | |
21587 | } | |
21588 | { | |
21589 | PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int(static_cast<int >(9))); | |
21590 | } | |
21591 | { | |
21592 | PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int(static_cast<int >(10))); | |
21593 | } | |
21594 | { | |
21595 | PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int(static_cast<int >(11))); | |
21596 | } | |
21597 | { | |
21598 | PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int(static_cast<int >(12))); | |
21599 | } | |
21600 | { | |
21601 | PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int(static_cast<int >(13))); | |
21602 | } | |
21603 | { | |
21604 | PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int(static_cast<int >(14))); | |
21605 | } | |
21606 | { | |
21607 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int(static_cast<int >(15))); | |
21608 | } | |
21609 | { | |
21610 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int(static_cast<int >(16))); | |
21611 | } | |
21612 | { | |
21613 | PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21614 | } | |
21615 | { | |
21616 | PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21617 | } | |
21618 | { | |
21619 | PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
21620 | } | |
21621 | { | |
21622 | PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3))); | |
21623 | } | |
21624 | { | |
21625 | PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
21626 | } | |
21627 | { | |
21628 | PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int(static_cast<int >(5))); | |
21629 | } | |
21630 | { | |
21631 | PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int(static_cast<int >(6))); | |
21632 | } | |
21633 | { | |
21634 | PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int(static_cast<int >(7))); | |
21635 | } | |
21636 | { | |
21637 | PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int(static_cast<int >(8))); | |
21638 | } | |
21639 | { | |
21640 | PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); | |
21641 | } | |
21642 | { | |
21643 | PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
21644 | } | |
21645 | { | |
21646 | PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); | |
21647 | } | |
21648 | { | |
21649 | PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int(static_cast<int >(12))); | |
21650 | } | |
21651 | { | |
21652 | PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int(static_cast<int >(19))); | |
21653 | } | |
21654 | { | |
21655 | PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21656 | } | |
21657 | { | |
21658 | PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21659 | } | |
21660 | { | |
21661 | PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int(static_cast<int >(2))); | |
21662 | } | |
21663 | { | |
21664 | PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int(static_cast<int >(3))); | |
21665 | } | |
21666 | { | |
21667 | PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
21668 | } | |
21669 | { | |
21670 | PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int(static_cast<int >(5))); | |
21671 | } | |
21672 | { | |
21673 | PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int(static_cast<int >(6))); | |
21674 | } | |
21675 | { | |
21676 | PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int(static_cast<int >(7))); | |
21677 | } | |
21678 | { | |
21679 | PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int(static_cast<int >(8))); | |
21680 | } | |
21681 | { | |
21682 | PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int(static_cast<int >(9))); | |
21683 | } | |
21684 | { | |
21685 | PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int(static_cast<int >(31))); | |
21686 | } | |
21687 | { | |
21688 | PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21689 | } | |
21690 | { | |
21691 | PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int(static_cast<int >(1))); | |
21692 | } | |
21693 | { | |
21694 | PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2))); | |
21695 | } | |
21696 | { | |
21697 | PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int(static_cast<int >(3))); | |
21698 | } | |
21699 | { | |
21700 | PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int(static_cast<int >(4))); | |
21701 | } | |
21702 | { | |
21703 | PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int(static_cast<int >(5))); | |
21704 | } | |
21705 | { | |
21706 | PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int(static_cast<int >(6))); | |
21707 | } | |
21708 | { | |
21709 | PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int(static_cast<int >(7))); | |
21710 | } | |
21711 | { | |
21712 | PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int(static_cast<int >(8))); | |
21713 | } | |
21714 | { | |
21715 | PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int(static_cast<int >(9))); | |
21716 | } | |
21717 | { | |
21718 | PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21719 | } | |
21720 | { | |
21721 | PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int(static_cast<int >(1))); | |
21722 | } | |
21723 | { | |
21724 | PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
21725 | } | |
21726 | { | |
21727 | PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3))); | |
21728 | } | |
21729 | { | |
21730 | PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int(static_cast<int >(4))); | |
21731 | } | |
21732 | { | |
21733 | PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int(static_cast<int >(5))); | |
21734 | } | |
21735 | { | |
21736 | PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int(static_cast<int >(6))); | |
21737 | } | |
21738 | { | |
21739 | PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int(static_cast<int >(7))); | |
21740 | } | |
21741 | { | |
21742 | PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int(static_cast<int >(8))); | |
21743 | } | |
21744 | { | |
21745 | PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); | |
21746 | } | |
21747 | { | |
21748 | PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
21749 | } | |
21750 | { | |
21751 | PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); | |
21752 | } | |
21753 | { | |
21754 | PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int(static_cast<int >(12))); | |
21755 | } | |
21756 | { | |
21757 | PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int(static_cast<int >(13))); | |
21758 | } | |
21759 | { | |
21760 | PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int(static_cast<int >(14))); | |
21761 | } | |
21762 | { | |
21763 | PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int(static_cast<int >(19))); | |
21764 | } | |
21765 | { | |
21766 | PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21767 | } | |
21768 | { | |
21769 | PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21770 | } | |
21771 | { | |
21772 | PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2))); | |
21773 | } | |
21774 | { | |
21775 | PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
21776 | } | |
21777 | { | |
21778 | PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int(static_cast<int >(4))); | |
21779 | } | |
21780 | { | |
21781 | PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int(static_cast<int >(5))); | |
21782 | } | |
21783 | { | |
21784 | PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int(static_cast<int >(6))); | |
21785 | } | |
21786 | { | |
21787 | PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int(static_cast<int >(7))); | |
21788 | } | |
21789 | { | |
21790 | PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int(static_cast<int >(8))); | |
21791 | } | |
21792 | { | |
21793 | PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int(static_cast<int >(9))); | |
21794 | } | |
21795 | { | |
21796 | PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int(static_cast<int >(10))); | |
21797 | } | |
21798 | { | |
21799 | PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int(static_cast<int >(11))); | |
21800 | } | |
21801 | { | |
21802 | PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int(static_cast<int >(12))); | |
21803 | } | |
21804 | { | |
21805 | PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21806 | } | |
21807 | { | |
21808 | PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21809 | } | |
21810 | { | |
21811 | PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2))); | |
21812 | } | |
21813 | { | |
21814 | PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
21815 | } | |
21816 | { | |
21817 | PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int(static_cast<int >(4))); | |
21818 | } | |
21819 | { | |
21820 | PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int(static_cast<int >(5))); | |
21821 | } | |
21822 | { | |
21823 | PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int(static_cast<int >(6))); | |
21824 | } | |
21825 | { | |
21826 | PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int(static_cast<int >(7))); | |
21827 | } | |
21828 | { | |
21829 | PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int(static_cast<int >(8))); | |
21830 | } | |
21831 | { | |
21832 | PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int(static_cast<int >(9))); | |
21833 | } | |
21834 | { | |
21835 | PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int(static_cast<int >(10))); | |
21836 | } | |
21837 | { | |
21838 | PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int(static_cast<int >(11))); | |
21839 | } | |
21840 | { | |
21841 | PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int(static_cast<int >(12))); | |
21842 | } | |
21843 | { | |
21844 | PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21845 | } | |
21846 | { | |
21847 | PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int(static_cast<int >(1))); | |
21848 | } | |
21849 | { | |
21850 | PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); | |
21851 | } | |
21852 | { | |
21853 | PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
21854 | } | |
21855 | { | |
21856 | PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int(static_cast<int >(4))); | |
21857 | } | |
21858 | { | |
21859 | PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int(static_cast<int >(5))); | |
21860 | } | |
21861 | { | |
21862 | PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int(static_cast<int >(6))); | |
21863 | } | |
21864 | { | |
21865 | PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int(static_cast<int >(7))); | |
21866 | } | |
21867 | { | |
21868 | PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int(static_cast<int >(8))); | |
21869 | } | |
21870 | { | |
21871 | PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int(static_cast<int >(9))); | |
21872 | } | |
21873 | { | |
21874 | PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int(static_cast<int >(10))); | |
21875 | } | |
21876 | { | |
21877 | PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int(static_cast<int >(11))); | |
21878 | } | |
21879 | { | |
21880 | PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int(static_cast<int >(12))); | |
21881 | } | |
21882 | { | |
21883 | PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int(static_cast<int >(13))); | |
21884 | } | |
21885 | { | |
21886 | PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21887 | } | |
21888 | { | |
21889 | PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21890 | } | |
21891 | { | |
21892 | PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int(static_cast<int >(2))); | |
21893 | } | |
21894 | { | |
21895 | PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int(static_cast<int >(3))); | |
21896 | } | |
21897 | { | |
21898 | PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int(static_cast<int >(4))); | |
21899 | } | |
21900 | { | |
21901 | PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int(static_cast<int >(5))); | |
21902 | } | |
21903 | { | |
21904 | PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int(static_cast<int >(6))); | |
21905 | } | |
21906 | { | |
21907 | PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int(static_cast<int >(7))); | |
21908 | } | |
21909 | { | |
21910 | PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int(static_cast<int >(8))); | |
21911 | } | |
21912 | { | |
21913 | PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int(static_cast<int >(9))); | |
21914 | } | |
21915 | { | |
21916 | PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int(static_cast<int >(10))); | |
21917 | } | |
21918 | { | |
21919 | PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int(static_cast<int >(0))); | |
21920 | } | |
21921 | { | |
21922 | PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int(static_cast<int >(1))); | |
21923 | } | |
21924 | { | |
21925 | PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(2))); | |
21926 | } | |
21927 | { | |
21928 | PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int(static_cast<int >(3))); | |
21929 | } | |
21930 | { | |
21931 | PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int(static_cast<int >(4))); | |
21932 | } | |
21933 | { | |
21934 | PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int(static_cast<int >(5))); | |
21935 | } | |
21936 | { | |
21937 | PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); | |
21938 | } | |
21939 | { | |
21940 | PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int(static_cast<int >(7))); | |
21941 | } | |
21942 | { | |
21943 | PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int(static_cast<int >(8))); | |
21944 | } | |
21945 | { | |
21946 | PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int(static_cast<int >(9))); | |
21947 | } | |
21948 | { | |
21949 | PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int(static_cast<int >(10))); | |
21950 | } | |
21951 | { | |
21952 | PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int(static_cast<int >(11))); | |
21953 | } | |
21954 | { | |
21955 | PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int(static_cast<int >(12))); | |
21956 | } | |
21957 | { | |
21958 | PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int(static_cast<int >(13))); | |
21959 | } | |
21960 | { | |
21961 | PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int(static_cast<int >(14))); | |
21962 | } | |
21963 | { | |
21964 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int(static_cast<int >(2011))); | |
21965 | } | |
21966 | { | |
21967 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int(static_cast<int >(2013))); | |
21968 | } | |
21969 | { | |
21970 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int(static_cast<int >(2176))); | |
21971 | } | |
21972 | { | |
21973 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int(static_cast<int >(2177))); | |
21974 | } | |
21975 | { | |
21976 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int(static_cast<int >(2178))); | |
21977 | } | |
21978 | { | |
21979 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int(static_cast<int >(2179))); | |
21980 | } | |
21981 | { | |
21982 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int(static_cast<int >(2180))); | |
21983 | } | |
21984 | { | |
21985 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int(static_cast<int >(2300))); | |
21986 | } | |
21987 | { | |
21988 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int(static_cast<int >(2301))); | |
21989 | } | |
21990 | { | |
21991 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int(static_cast<int >(2302))); | |
21992 | } | |
21993 | { | |
21994 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int(static_cast<int >(2303))); | |
21995 | } | |
21996 | { | |
21997 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int(static_cast<int >(2304))); | |
21998 | } | |
21999 | { | |
22000 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int(static_cast<int >(2305))); | |
22001 | } | |
22002 | { | |
22003 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int(static_cast<int >(2306))); | |
22004 | } | |
22005 | { | |
22006 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int(static_cast<int >(2307))); | |
22007 | } | |
22008 | { | |
22009 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int(static_cast<int >(2308))); | |
22010 | } | |
22011 | { | |
22012 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int(static_cast<int >(2309))); | |
22013 | } | |
22014 | { | |
22015 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int(static_cast<int >(2310))); | |
22016 | } | |
22017 | { | |
22018 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int(static_cast<int >(2311))); | |
22019 | } | |
22020 | { | |
22021 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int(static_cast<int >(2312))); | |
22022 | } | |
22023 | { | |
22024 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int(static_cast<int >(2313))); | |
22025 | } | |
22026 | { | |
22027 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int(static_cast<int >(2314))); | |
22028 | } | |
22029 | { | |
22030 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int(static_cast<int >(2315))); | |
22031 | } | |
22032 | { | |
22033 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int(static_cast<int >(2316))); | |
22034 | } | |
22035 | { | |
22036 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int(static_cast<int >(2317))); | |
22037 | } | |
22038 | { | |
22039 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int(static_cast<int >(2318))); | |
22040 | } | |
22041 | { | |
22042 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int(static_cast<int >(2319))); | |
22043 | } | |
22044 | { | |
22045 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int(static_cast<int >(2320))); | |
22046 | } | |
22047 | { | |
22048 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int(static_cast<int >(2321))); | |
22049 | } | |
22050 | { | |
22051 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int(static_cast<int >(2322))); | |
22052 | } | |
22053 | { | |
22054 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2323))); | |
22055 | } | |
22056 | { | |
22057 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int(static_cast<int >(2324))); | |
22058 | } | |
22059 | { | |
22060 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int(static_cast<int >(2325))); | |
22061 | } | |
22062 | { | |
22063 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int(static_cast<int >(2326))); | |
22064 | } | |
22065 | { | |
22066 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int(static_cast<int >(2327))); | |
22067 | } | |
22068 | { | |
22069 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int(static_cast<int >(2328))); | |
22070 | } | |
22071 | { | |
22072 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int(static_cast<int >(2329))); | |
22073 | } | |
22074 | { | |
22075 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int(static_cast<int >(2330))); | |
22076 | } | |
22077 | { | |
22078 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int(static_cast<int >(2331))); | |
22079 | } | |
22080 | { | |
22081 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int(static_cast<int >(2332))); | |
22082 | } | |
22083 | { | |
22084 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int(static_cast<int >(2333))); | |
22085 | } | |
22086 | { | |
22087 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int(static_cast<int >(2334))); | |
22088 | } | |
22089 | { | |
22090 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int(static_cast<int >(2335))); | |
22091 | } | |
22092 | { | |
22093 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int(static_cast<int >(2336))); | |
22094 | } | |
22095 | { | |
22096 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int(static_cast<int >(2337))); | |
22097 | } | |
22098 | { | |
22099 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int(static_cast<int >(2338))); | |
22100 | } | |
22101 | { | |
22102 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int(static_cast<int >(2339))); | |
22103 | } | |
22104 | { | |
22105 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int(static_cast<int >(2404))); | |
22106 | } | |
22107 | { | |
22108 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int(static_cast<int >(2340))); | |
22109 | } | |
22110 | { | |
22111 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int(static_cast<int >(2341))); | |
22112 | } | |
22113 | { | |
22114 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int(static_cast<int >(2342))); | |
22115 | } | |
22116 | { | |
22117 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int(static_cast<int >(2343))); | |
22118 | } | |
22119 | { | |
22120 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int(static_cast<int >(2344))); | |
22121 | } | |
22122 | { | |
22123 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int(static_cast<int >(2345))); | |
22124 | } | |
22125 | { | |
22126 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2346))); | |
22127 | } | |
22128 | { | |
22129 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int(static_cast<int >(2347))); | |
22130 | } | |
22131 | { | |
22132 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2348))); | |
22133 | } | |
22134 | { | |
22135 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int(static_cast<int >(2349))); | |
22136 | } | |
22137 | { | |
22138 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2450))); | |
22139 | } | |
22140 | { | |
22141 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int(static_cast<int >(2451))); | |
22142 | } | |
22143 | { | |
22144 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int(static_cast<int >(2452))); | |
22145 | } | |
22146 | { | |
22147 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int(static_cast<int >(2453))); | |
22148 | } | |
22149 | { | |
22150 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2454))); | |
22151 | } | |
22152 | { | |
22153 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int(static_cast<int >(2455))); | |
22154 | } | |
22155 | { | |
22156 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int(static_cast<int >(2390))); | |
22157 | } | |
22158 | { | |
22159 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int(static_cast<int >(2391))); | |
22160 | } | |
22161 | { | |
22162 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int(static_cast<int >(2392))); | |
22163 | } | |
22164 | { | |
22165 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int(static_cast<int >(2393))); | |
22166 | } | |
22167 | { | |
22168 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int(static_cast<int >(2395))); | |
22169 | } | |
22170 | { | |
22171 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int(static_cast<int >(2396))); | |
22172 | } | |
22173 | { | |
22174 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int(static_cast<int >(2413))); | |
22175 | } | |
22176 | { | |
22177 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int(static_cast<int >(2414))); | |
22178 | } | |
22179 | { | |
22180 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int(static_cast<int >(2415))); | |
22181 | } | |
22182 | { | |
22183 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int(static_cast<int >(2416))); | |
22184 | } | |
22185 | { | |
22186 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2426))); | |
22187 | } | |
22188 | { | |
22189 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2427))); | |
22190 | } | |
22191 | { | |
22192 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int(static_cast<int >(2428))); | |
22193 | } | |
22194 | { | |
22195 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int(static_cast<int >(2429))); | |
22196 | } | |
22197 | { | |
22198 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int(static_cast<int >(2430))); | |
22199 | } | |
22200 | { | |
22201 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int(static_cast<int >(2431))); | |
22202 | } | |
22203 | { | |
22204 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int(static_cast<int >(2432))); | |
22205 | } | |
22206 | { | |
22207 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2433))); | |
22208 | } | |
22209 | { | |
22210 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2434))); | |
22211 | } | |
22212 | { | |
22213 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int(static_cast<int >(2435))); | |
22214 | } | |
22215 | { | |
22216 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int(static_cast<int >(2436))); | |
22217 | } | |
22218 | { | |
22219 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int(static_cast<int >(2437))); | |
22220 | } | |
22221 | { | |
22222 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2438))); | |
22223 | } | |
22224 | { | |
22225 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int(static_cast<int >(2439))); | |
22226 | } | |
22227 | { | |
22228 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int(static_cast<int >(2440))); | |
22229 | } | |
22230 | { | |
22231 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int(static_cast<int >(2441))); | |
22232 | } | |
22233 | { | |
22234 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int(static_cast<int >(2442))); | |
22235 | } | |
22236 | { | |
22237 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int(static_cast<int >(wxEVT_STC_CHANGE))); | |
22238 | } | |
22239 | { | |
22240 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int(static_cast<int >(wxEVT_STC_STYLENEEDED))); | |
22241 | } | |
22242 | { | |
22243 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int(static_cast<int >(wxEVT_STC_CHARADDED))); | |
22244 | } | |
22245 | { | |
22246 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTREACHED))); | |
22247 | } | |
22248 | { | |
22249 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTLEFT))); | |
22250 | } | |
22251 | { | |
22252 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int(static_cast<int >(wxEVT_STC_ROMODIFYATTEMPT))); | |
22253 | } | |
22254 | { | |
22255 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int(static_cast<int >(wxEVT_STC_KEY))); | |
22256 | } | |
22257 | { | |
22258 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_DOUBLECLICK))); | |
22259 | } | |
22260 | { | |
22261 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int(static_cast<int >(wxEVT_STC_UPDATEUI))); | |
22262 | } | |
22263 | { | |
22264 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int(static_cast<int >(wxEVT_STC_MODIFIED))); | |
22265 | } | |
22266 | { | |
22267 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int(static_cast<int >(wxEVT_STC_MACRORECORD))); | |
22268 | } | |
22269 | { | |
22270 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_MARGINCLICK))); | |
22271 | } | |
22272 | { | |
22273 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int(static_cast<int >(wxEVT_STC_NEEDSHOWN))); | |
22274 | } | |
22275 | { | |
22276 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int(static_cast<int >(wxEVT_STC_PAINTED))); | |
22277 | } | |
22278 | { | |
22279 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int(static_cast<int >(wxEVT_STC_USERLISTSELECTION))); | |
22280 | } | |
22281 | { | |
22282 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int(static_cast<int >(wxEVT_STC_URIDROPPED))); | |
22283 | } | |
22284 | { | |
22285 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLSTART))); | |
22286 | } | |
22287 | { | |
22288 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLEND))); | |
22289 | } | |
22290 | { | |
22291 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int(static_cast<int >(wxEVT_STC_START_DRAG))); | |
22292 | } | |
22293 | { | |
22294 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int(static_cast<int >(wxEVT_STC_DRAG_OVER))); | |
22295 | } | |
22296 | { | |
22297 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int(static_cast<int >(wxEVT_STC_DO_DROP))); | |
22298 | } | |
22299 | { | |
22300 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int(static_cast<int >(wxEVT_STC_ZOOM))); | |
22301 | } | |
22302 | { | |
22303 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_CLICK))); | |
22304 | } | |
22305 | { | |
22306 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_DCLICK))); | |
22307 | } | |
22308 | { | |
22309 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_CALLTIP_CLICK))); | |
22310 | } | |
22311 | ||
22312 | ||
22313 | } | |
22314 |