]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
32fe5131 | 3 | * Version 1.3.27 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
d14a1e28 RD |
12 | |
13 | #ifdef __cplusplus | |
14 | template<class T> class SwigValueWrapper { | |
15 | T *tt; | |
16 | public: | |
17 | SwigValueWrapper() : tt(0) { } | |
18 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
19 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
20 | ~SwigValueWrapper() { delete tt; } | |
21 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
22 | operator T&() const { return *tt; } | |
23 | T *operator&() { return tt; } | |
24 | private: | |
25 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
36ed4f51 | 26 | }; |
d14a1e28 RD |
27 | #endif |
28 | ||
32fe5131 RD |
29 | /*********************************************************************** |
30 | * | |
31 | * This section contains generic SWIG labels for method/variable | |
32 | * declarations/attributes, and other compiler dependent labels. | |
33 | * | |
34 | ************************************************************************/ | |
d14a1e28 | 35 | |
32fe5131 RD |
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 | |
36ed4f51 | 40 | # else |
32fe5131 | 41 | # define SWIGTEMPLATEDISAMBIGUATOR |
36ed4f51 RD |
42 | # endif |
43 | #endif | |
d14a1e28 | 44 | |
32fe5131 RD |
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 | ||
c9c7117a | 96 | |
36ed4f51 | 97 | #include <Python.h> |
d14a1e28 RD |
98 | |
99 | /*********************************************************************** | |
36ed4f51 | 100 | * swigrun.swg |
d14a1e28 | 101 | * |
36ed4f51 RD |
102 | * This file contains generic CAPI SWIG runtime support for pointer |
103 | * type checking. | |
d14a1e28 RD |
104 | * |
105 | ************************************************************************/ | |
106 | ||
36ed4f51 RD |
107 | /* This should only be incremented when either the layout of swig_type_info changes, |
108 | or for whatever reason, the runtime changes incompatibly */ | |
32fe5131 | 109 | #define SWIG_RUNTIME_VERSION "2" |
d14a1e28 | 110 | |
36ed4f51 RD |
111 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
112 | #ifdef SWIG_TYPE_TABLE | |
32fe5131 RD |
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) | |
d14a1e28 | 116 | #else |
32fe5131 | 117 | # define SWIG_TYPE_TABLE_NAME |
36ed4f51 RD |
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 | */ | |
32fe5131 | 128 | |
36ed4f51 | 129 | #ifndef SWIGRUNTIME |
32fe5131 | 130 | # define SWIGRUNTIME SWIGINTERN |
36ed4f51 | 131 | #endif |
32fe5131 | 132 | |
36ed4f51 | 133 | #ifndef SWIGRUNTIMEINLINE |
32fe5131 | 134 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
d14a1e28 RD |
135 | #endif |
136 | ||
32fe5131 RD |
137 | #include <string.h> |
138 | ||
d14a1e28 RD |
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 | ||
32fe5131 | 146 | /* Structure to store inforomation on one type */ |
d14a1e28 | 147 | typedef struct swig_type_info { |
32fe5131 RD |
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 */ | |
d14a1e28 RD |
153 | } swig_type_info; |
154 | ||
32fe5131 RD |
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 | ||
36ed4f51 RD |
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; | |
32fe5131 | 189 | if (*f1 != *f2) return (int)(*f1 - *f2); |
36ed4f51 RD |
190 | } |
191 | return (l1 - f1) - (l2 - f2); | |
192 | } | |
193 | ||
194 | /* | |
195 | Check type equivalence in a name list like <name1>|<name2>|... | |
32fe5131 | 196 | Return 0 if not equal, 1 if equal |
36ed4f51 RD |
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 | } | |
32fe5131 | 207 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
36ed4f51 RD |
208 | if (*ne) ++ne; |
209 | } | |
210 | return equiv; | |
211 | } | |
212 | ||
213 | /* | |
32fe5131 RD |
214 | Check type equivalence in a name list like <name1>|<name2>|... |
215 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
36ed4f51 | 216 | */ |
32fe5131 RD |
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; | |
36ed4f51 | 225 | } |
32fe5131 RD |
226 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
227 | if (*ne) ++ne; | |
36ed4f51 | 228 | } |
32fe5131 | 229 | return equiv; |
36ed4f51 RD |
230 | } |
231 | ||
32fe5131 RD |
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 | ||
36ed4f51 RD |
255 | /* |
256 | Check the typename | |
257 | */ | |
32fe5131 | 258 | SWIGRUNTIME swig_cast_info * |
36ed4f51 | 259 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
32fe5131 RD |
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); | |
36ed4f51 RD |
267 | } |
268 | ||
269 | /* | |
270 | Cast a pointer up an inheritance hierarchy | |
271 | */ | |
272 | SWIGRUNTIMEINLINE void * | |
32fe5131 | 273 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
36ed4f51 RD |
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 | ||
36ed4f51 RD |
320 | /* |
321 | Set the clientdata field for a type | |
322 | */ | |
323 | SWIGRUNTIME void | |
32fe5131 RD |
324 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
325 | swig_cast_info *cast = ti->cast; | |
36ed4f51 RD |
326 | /* if (ti->clientdata == clientdata) return; */ |
327 | ti->clientdata = clientdata; | |
32fe5131 RD |
328 | |
329 | while (cast) { | |
330 | if (!cast->converter) { | |
331 | swig_type_info *tc = cast->type; | |
332 | if (!tc->clientdata) { | |
333 | SWIG_TypeClientData(tc, clientdata); | |
36ed4f51 | 334 | } |
32fe5131 RD |
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); | |
36ed4f51 | 378 | } |
32fe5131 RD |
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); | |
36ed4f51 | 413 | } |
32fe5131 RD |
414 | |
415 | /* neither found a match */ | |
416 | return 0; | |
36ed4f51 RD |
417 | } |
418 | ||
32fe5131 | 419 | |
36ed4f51 RD |
420 | /* |
421 | Pack binary data into a string | |
422 | */ | |
423 | SWIGRUNTIME char * | |
424 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
32fe5131 RD |
425 | static const char hex[17] = "0123456789abcdef"; |
426 | register const unsigned char *u = (unsigned char *) ptr; | |
427 | register const unsigned char *eu = u + sz; | |
36ed4f51 | 428 | for (; u != eu; ++u) { |
32fe5131 | 429 | register unsigned char uu = *u; |
36ed4f51 RD |
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; | |
32fe5131 | 442 | register const unsigned char *eu = u + sz; |
36ed4f51 | 443 | for (; u != eu; ++u) { |
32fe5131 | 444 | register char d = *(c++); |
36ed4f51 RD |
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 | ||
36ed4f51 RD |
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 | } | |
d14a1e28 | 505 | |
36ed4f51 RD |
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 | } | |
d14a1e28 RD |
518 | |
519 | #ifdef __cplusplus | |
520 | } | |
521 | #endif | |
522 | ||
36ed4f51 RD |
523 | /* ----------------------------------------------------------------------------- |
524 | * SWIG API. Portion that goes into the runtime | |
525 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 526 | |
36ed4f51 RD |
527 | #ifdef __cplusplus |
528 | extern "C" { | |
529 | #endif | |
c370783e | 530 | |
36ed4f51 RD |
531 | /* ----------------------------------------------------------------------------- |
532 | * for internal method declarations | |
533 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 534 | |
36ed4f51 | 535 | #ifndef SWIGINTERN |
32fe5131 | 536 | # define SWIGINTERN static SWIGUNUSED |
36ed4f51 | 537 | #endif |
d14a1e28 | 538 | |
32fe5131 RD |
539 | #ifndef SWIGINTERNINLINE |
540 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
36ed4f51 | 541 | #endif |
d14a1e28 | 542 | |
36ed4f51 RD |
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 | * ----------------------------------------------------------------------------- */ | |
d14a1e28 | 562 | |
36ed4f51 RD |
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; | |
d14a1e28 | 579 | |
c370783e | 580 | |
36ed4f51 RD |
581 | /* ----------------------------------------------------------------------------- |
582 | * Alloc. memory flags | |
583 | * ----------------------------------------------------------------------------- */ | |
c370783e RD |
584 | #define SWIG_OLDOBJ 1 |
585 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
586 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
994141e6 | 587 | |
994141e6 | 588 | #ifdef __cplusplus |
36ed4f51 RD |
589 | } |
590 | #endif | |
15afbcd0 | 591 | |
15afbcd0 | 592 | |
36ed4f51 RD |
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 | ************************************************************************/ | |
994141e6 | 602 | |
36ed4f51 RD |
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 | ||
994141e6 | 608 | |
36ed4f51 RD |
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) | |
994141e6 | 612 | |
32fe5131 RD |
613 | /* Runtime API */ |
614 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
615 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
994141e6 | 616 | |
36ed4f51 RD |
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 | |
d14a1e28 | 628 | |
36ed4f51 RD |
629 | /* Flags for pointer conversion */ |
630 | #define SWIG_POINTER_EXCEPTION 0x1 | |
631 | #define SWIG_POINTER_DISOWN 0x2 | |
d14a1e28 RD |
632 | |
633 | ||
32fe5131 RD |
634 | /* Add PyOS_snprintf for old Pythons */ |
635 | #if PY_VERSION_HEX < 0x02020000 | |
636 | #define PyOS_snprintf snprintf | |
637 | #endif | |
638 | ||
36ed4f51 RD |
639 | #ifdef __cplusplus |
640 | extern "C" { | |
641 | #endif | |
15afbcd0 | 642 | |
36ed4f51 RD |
643 | /* ----------------------------------------------------------------------------- |
644 | * Create a new pointer string | |
645 | * ----------------------------------------------------------------------------- */ | |
36ed4f51 RD |
646 | #ifndef SWIG_BUFFER_SIZE |
647 | #define SWIG_BUFFER_SIZE 1024 | |
648 | #endif | |
15afbcd0 | 649 | |
32fe5131 RD |
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 | ||
36ed4f51 RD |
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 | * ----------------------------------------------------------------------------- */ | |
15afbcd0 | 673 | |
36ed4f51 RD |
674 | typedef struct { |
675 | PyObject_HEAD | |
676 | void *ptr; | |
677 | const char *desc; | |
678 | } PySwigObject; | |
15afbcd0 | 679 | |
36ed4f51 | 680 | /* Declarations for objects of type PySwigObject */ |
15afbcd0 | 681 | |
36ed4f51 RD |
682 | SWIGRUNTIME int |
683 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
684 | { | |
685 | char result[SWIG_BUFFER_SIZE]; | |
32fe5131 | 686 | flags = flags; |
36ed4f51 RD |
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; | |
c370783e | 690 | } else { |
36ed4f51 | 691 | return 1; |
c370783e | 692 | } |
994141e6 | 693 | } |
36ed4f51 RD |
694 | |
695 | SWIGRUNTIME PyObject * | |
696 | PySwigObject_repr(PySwigObject *v) | |
c370783e | 697 | { |
36ed4f51 RD |
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; | |
c370783e | 701 | } |
994141e6 | 702 | |
36ed4f51 RD |
703 | SWIGRUNTIME PyObject * |
704 | PySwigObject_str(PySwigObject *v) | |
994141e6 | 705 | { |
36ed4f51 RD |
706 | char result[SWIG_BUFFER_SIZE]; |
707 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
708 | PyString_FromString(result) : 0; | |
15afbcd0 RD |
709 | } |
710 | ||
36ed4f51 RD |
711 | SWIGRUNTIME PyObject * |
712 | PySwigObject_long(PySwigObject *v) | |
15afbcd0 | 713 | { |
32fe5131 RD |
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; | |
994141e6 RD |
731 | } |
732 | ||
36ed4f51 RD |
733 | SWIGRUNTIME PyObject * |
734 | PySwigObject_oct(PySwigObject *v) | |
c370783e | 735 | { |
32fe5131 | 736 | return PySwigObject_format("%o",v); |
c370783e | 737 | } |
994141e6 | 738 | |
36ed4f51 RD |
739 | SWIGRUNTIME PyObject * |
740 | PySwigObject_hex(PySwigObject *v) | |
994141e6 | 741 | { |
32fe5131 | 742 | return PySwigObject_format("%x",v); |
994141e6 RD |
743 | } |
744 | ||
36ed4f51 RD |
745 | SWIGRUNTIME int |
746 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
15afbcd0 | 747 | { |
36ed4f51 RD |
748 | int c = strcmp(v->desc, w->desc); |
749 | if (c) { | |
32fe5131 | 750 | return (c > 0) ? 1 : -1; |
36ed4f51 RD |
751 | } else { |
752 | void *i = v->ptr; | |
753 | void *j = w->ptr; | |
32fe5131 | 754 | return (i < j) ? -1 : ((i > j) ? 1 : 0); |
c370783e | 755 | } |
36ed4f51 RD |
756 | } |
757 | ||
758 | SWIGRUNTIME void | |
759 | PySwigObject_dealloc(PySwigObject *self) | |
760 | { | |
32fe5131 | 761 | PyObject_Del(self); |
36ed4f51 RD |
762 | } |
763 | ||
764 | SWIGRUNTIME PyTypeObject* | |
32fe5131 RD |
765 | PySwigObject_type(void) { |
766 | static char pyswigobject_type__doc__[] = | |
36ed4f51 RD |
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*/ | |
32fe5131 | 793 | #if PY_VERSION_HEX >= 0x02020000 |
36ed4f51 | 794 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
32fe5131 RD |
795 | #elif PY_VERSION_HEX >= 0x02000000 |
796 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
36ed4f51 RD |
797 | #endif |
798 | }; | |
799 | ||
32fe5131 RD |
800 | static PyTypeObject pyswigobject_type |
801 | #if !defined(__cplusplus) | |
802 | ; | |
803 | static int type_init = 0; | |
36ed4f51 | 804 | if (!type_init) { |
32fe5131 RD |
805 | PyTypeObject tmp |
806 | #endif | |
807 | = { | |
36ed4f51 RD |
808 | PyObject_HEAD_INIT(&PyType_Type) |
809 | 0, /*ob_size*/ | |
32fe5131 | 810 | (char *)"PySwigObject", /*tp_name*/ |
36ed4f51 RD |
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 */ | |
32fe5131 RD |
827 | 0,0,0,0, |
828 | pyswigobject_type__doc__, /* Documentation string */ | |
36ed4f51 RD |
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 | }; | |
32fe5131 RD |
847 | #if !defined(__cplusplus) |
848 | pyswigobject_type = tmp; | |
36ed4f51 | 849 | type_init = 1; |
c370783e | 850 | } |
32fe5131 RD |
851 | #endif |
852 | return &pyswigobject_type; | |
36ed4f51 RD |
853 | } |
854 | ||
855 | SWIGRUNTIME PyObject * | |
856 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
857 | { | |
32fe5131 RD |
858 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); |
859 | if (self) { | |
860 | self->ptr = ptr; | |
861 | self->desc = desc; | |
862 | } | |
36ed4f51 RD |
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) { | |
32fe5131 | 880 | return ((op)->ob_type == PySwigObject_type()) |
36ed4f51 RD |
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]; | |
32fe5131 | 899 | flags = flags; |
36ed4f51 RD |
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); | |
c370783e | 904 | } |
36ed4f51 RD |
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 | } | |
c370783e RD |
919 | } |
920 | ||
36ed4f51 RD |
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 { | |
32fe5131 | 928 | return PyString_FromString(v->desc); |
36ed4f51 RD |
929 | } |
930 | } | |
c370783e | 931 | |
36ed4f51 RD |
932 | SWIGRUNTIME int |
933 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
c370783e | 934 | { |
36ed4f51 RD |
935 | int c = strcmp(v->desc, w->desc); |
936 | if (c) { | |
32fe5131 | 937 | return (c > 0) ? 1 : -1; |
36ed4f51 RD |
938 | } else { |
939 | size_t i = v->size; | |
940 | size_t j = w->size; | |
32fe5131 | 941 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); |
36ed4f51 | 942 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); |
c370783e | 943 | } |
c370783e RD |
944 | } |
945 | ||
36ed4f51 RD |
946 | SWIGRUNTIME void |
947 | PySwigPacked_dealloc(PySwigPacked *self) | |
c370783e | 948 | { |
36ed4f51 | 949 | free(self->pack); |
32fe5131 | 950 | PyObject_Del(self); |
15afbcd0 RD |
951 | } |
952 | ||
36ed4f51 | 953 | SWIGRUNTIME PyTypeObject* |
32fe5131 RD |
954 | PySwigPacked_type(void) { |
955 | static char pyswigpacked_type__doc__[] = | |
36ed4f51 | 956 | "Swig object carries a C/C++ instance pointer"; |
32fe5131 RD |
957 | static PyTypeObject pyswigpacked_type |
958 | #if !defined(__cplusplus) | |
959 | ; | |
960 | static int type_init = 0; | |
36ed4f51 | 961 | if (!type_init) { |
32fe5131 RD |
962 | PyTypeObject tmp |
963 | #endif | |
964 | = { | |
36ed4f51 RD |
965 | PyObject_HEAD_INIT(&PyType_Type) |
966 | 0, /*ob_size*/ | |
32fe5131 | 967 | (char *)"PySwigPacked", /*tp_name*/ |
36ed4f51 RD |
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 */ | |
32fe5131 RD |
984 | 0,0,0,0, |
985 | pyswigpacked_type__doc__, /* Documentation string */ | |
36ed4f51 RD |
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 | }; | |
32fe5131 RD |
1004 | #if !defined(__cplusplus) |
1005 | pyswigpacked_type = tmp; | |
36ed4f51 RD |
1006 | type_init = 1; |
1007 | } | |
32fe5131 RD |
1008 | #endif |
1009 | return &pyswigpacked_type; | |
36ed4f51 RD |
1010 | } |
1011 | ||
1012 | SWIGRUNTIME PyObject * | |
1013 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
1014 | { | |
32fe5131 | 1015 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
36ed4f51 RD |
1016 | if (self == NULL) { |
1017 | return NULL; | |
1018 | } else { | |
1019 | void *pack = malloc(size); | |
32fe5131 RD |
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; | |
629e65c2 | 1028 | } |
36ed4f51 RD |
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) { | |
32fe5131 | 1048 | return ((op)->ob_type == PySwigPacked_type()) |
36ed4f51 RD |
1049 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); |
1050 | } | |
d14a1e28 | 1051 | |
36ed4f51 RD |
1052 | #else |
1053 | /* ----------------------------------------------------------------------------- | |
1054 | * Use the old Python PyCObject instead of PySwigObject | |
1055 | * ----------------------------------------------------------------------------- */ | |
15afbcd0 | 1056 | |
36ed4f51 RD |
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) | |
c370783e | 1061 | |
36ed4f51 RD |
1062 | #endif |
1063 | ||
1064 | #endif | |
1065 | ||
1066 | /* ----------------------------------------------------------------------------- | |
1067 | * errors manipulation | |
1068 | * ----------------------------------------------------------------------------- */ | |
1069 | ||
1070 | SWIGRUNTIME void | |
1071 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
15afbcd0 | 1072 | { |
36ed4f51 RD |
1073 | if (type) { |
1074 | #if defined(SWIG_COBJECT_TYPES) | |
32fe5131 | 1075 | if (obj && PySwigObject_Check(obj)) { |
36ed4f51 RD |
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); | |
c370783e | 1095 | } |
32fe5131 | 1096 | Py_XDECREF(str); |
36ed4f51 | 1097 | return; |
c370783e | 1098 | } |
36ed4f51 RD |
1099 | } |
1100 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1101 | } else { | |
1102 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
15afbcd0 RD |
1103 | } |
1104 | } | |
1105 | ||
36ed4f51 RD |
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 | } | |
15afbcd0 | 1115 | |
36ed4f51 RD |
1116 | SWIGRUNTIME int |
1117 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
15afbcd0 | 1118 | { |
36ed4f51 RD |
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 | } | |
c370783e | 1135 | return 1; |
36ed4f51 RD |
1136 | } else { |
1137 | return 0; | |
c370783e | 1138 | } |
15afbcd0 RD |
1139 | } |
1140 | ||
36ed4f51 RD |
1141 | SWIGRUNTIME int |
1142 | SWIG_Python_ArgFail(int argnum) | |
1143 | { | |
1144 | if (PyErr_Occurred()) { | |
1145 | /* add information about failing argument */ | |
1146 | char mesg[256]; | |
32fe5131 | 1147 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); |
36ed4f51 RD |
1148 | return SWIG_Python_AddErrMesg(mesg, 1); |
1149 | } else { | |
1150 | return 0; | |
1151 | } | |
b2dc1044 RD |
1152 | } |
1153 | ||
1154 | ||
36ed4f51 RD |
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) { | |
32fe5131 | 1162 | swig_cast_info *tc; |
36ed4f51 RD |
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; | |
b2dc1044 | 1192 | #else |
36ed4f51 RD |
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 | } | |
32fe5131 | 1205 | c = PyString_AsString(obj); |
36ed4f51 RD |
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; | |
b2dc1044 | 1210 | #endif |
b2dc1044 | 1211 | |
36ed4f51 | 1212 | type_check: |
36ed4f51 RD |
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 | } | |
36ed4f51 RD |
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) { | |
32fe5131 | 1234 | c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; |
36ed4f51 RD |
1235 | if (!c) goto type_error; |
1236 | goto type_check; | |
1237 | } | |
d14a1e28 | 1238 | } |
36ed4f51 RD |
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); | |
d14a1e28 | 1245 | } |
36ed4f51 RD |
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); | |
d14a1e28 | 1259 | } |
36ed4f51 RD |
1260 | } |
1261 | return result; | |
d14a1e28 RD |
1262 | } |
1263 | ||
36ed4f51 RD |
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) { | |
32fe5131 | 1267 | swig_cast_info *tc; |
36ed4f51 | 1268 | const char *c = 0; |
d14a1e28 | 1269 | |
36ed4f51 RD |
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; | |
32fe5131 | 1274 | c = PyString_AsString(obj); |
36ed4f51 RD |
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); | |
d14a1e28 | 1292 | } |
36ed4f51 RD |
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; | |
32fe5131 RD |
1301 | if (!type) { |
1302 | if (!PyErr_Occurred()) { | |
1303 | PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); | |
1304 | } | |
1305 | return robj; | |
1306 | } | |
36ed4f51 RD |
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; | |
d14a1e28 RD |
1335 | } |
1336 | ||
36ed4f51 RD |
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 | } | |
d14a1e28 | 1355 | |
36ed4f51 RD |
1356 | /* -----------------------------------------------------------------------------* |
1357 | * Get type list | |
1358 | * -----------------------------------------------------------------------------*/ | |
1359 | ||
1360 | #ifdef SWIG_LINK_RUNTIME | |
1361 | void *SWIG_ReturnGlobalTypeList(void *); | |
1362 | #endif | |
1363 | ||
32fe5131 RD |
1364 | SWIGRUNTIME swig_module_info * |
1365 | SWIG_Python_GetModule(void) { | |
36ed4f51 RD |
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; | |
d14a1e28 | 1377 | } |
36ed4f51 | 1378 | #endif |
32fe5131 RD |
1379 | } |
1380 | return (swig_module_info *) type_pointer; | |
d14a1e28 RD |
1381 | } |
1382 | ||
32fe5131 RD |
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; | |
36ed4f51 | 1412 | } |
32fe5131 | 1413 | #endif |
d14a1e28 | 1414 | |
32fe5131 RD |
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 | } | |
36ed4f51 RD |
1426 | |
1427 | #ifdef __cplusplus | |
d14a1e28 | 1428 | } |
36ed4f51 | 1429 | #endif |
d14a1e28 RD |
1430 | |
1431 | ||
36ed4f51 RD |
1432 | /* -------- TYPES TABLE (BEGIN) -------- */ |
1433 | ||
32fe5131 RD |
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) | |
36ed4f51 RD |
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 | ||
32fe5131 | 1565 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
36ed4f51 RD |
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); | |
d14a1e28 | 1582 | } |
36ed4f51 RD |
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); | |
d14a1e28 | 1589 | } |
36ed4f51 RD |
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; | |
3adfb63b | 1602 | } |
36ed4f51 RD |
1603 | else { |
1604 | SWIG_type_error("number", obj); | |
3adfb63b | 1605 | } |
36ed4f51 | 1606 | return 0; |
d14a1e28 RD |
1607 | } |
1608 | ||
1609 | ||
36ed4f51 RD |
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)) { | |
32fe5131 | 1618 | if (val) *val = static_cast<int >(v); |
36ed4f51 RD |
1619 | return 1; |
1620 | } else { | |
1621 | return 0; | |
d14a1e28 | 1622 | } |
36ed4f51 RD |
1623 | } else { |
1624 | PyErr_Clear(); | |
1625 | } | |
1626 | if (val) { | |
1627 | SWIG_type_error(errmsg, obj); | |
1628 | } | |
1629 | return 0; | |
d14a1e28 | 1630 | } |
36ed4f51 | 1631 | #else |
32fe5131 | 1632 | SWIGINTERNINLINE int |
36ed4f51 RD |
1633 | SWIG_AsVal_int(PyObject *obj, int *val) |
1634 | { | |
1635 | return SWIG_AsVal_long(obj,(long*)val); | |
d14a1e28 | 1636 | } |
36ed4f51 | 1637 | #endif |
d14a1e28 RD |
1638 | |
1639 | ||
32fe5131 | 1640 | SWIGINTERNINLINE int |
36ed4f51 RD |
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; | |
d14a1e28 RD |
1651 | } |
1652 | ||
1653 | ||
32fe5131 | 1654 | SWIGINTERNINLINE long |
36ed4f51 RD |
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; | |
d14a1e28 RD |
1665 | } |
1666 | ||
36ed4f51 | 1667 | |
32fe5131 | 1668 | SWIGINTERNINLINE int |
36ed4f51 RD |
1669 | SWIG_Check_int(PyObject* obj) |
1670 | { | |
1671 | return SWIG_AsVal_int(obj, (int*)0); | |
1672 | } | |
d14a1e28 | 1673 | |
36ed4f51 | 1674 | |
32fe5131 | 1675 | SWIGINTERNINLINE int |
36ed4f51 RD |
1676 | SWIG_Check_long(PyObject* obj) |
1677 | { | |
1678 | return SWIG_AsVal_long(obj, (long*)0); | |
d14a1e28 RD |
1679 | } |
1680 | ||
1681 | ||
36ed4f51 RD |
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; | |
d14a1e28 RD |
1704 | } |
1705 | ||
1706 | ||
32fe5131 | 1707 | SWIGINTERNINLINE bool |
36ed4f51 RD |
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; | |
d14a1e28 RD |
1718 | } |
1719 | ||
36ed4f51 | 1720 | |
32fe5131 | 1721 | SWIGINTERNINLINE int |
36ed4f51 RD |
1722 | SWIG_Check_bool(PyObject* obj) |
1723 | { | |
1724 | return SWIG_AsVal_bool(obj, (bool*)0); | |
d14a1e28 RD |
1725 | } |
1726 | ||
1727 | ||
36ed4f51 RD |
1728 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
1729 | PyObject* o2; | |
1730 | PyObject* o3; | |
1731 | ||
1732 | if (!target) { | |
1733 | target = o; | |
1734 | } else if (target == Py_None) { | |
1735 | Py_DECREF(Py_None); | |
1736 | target = o; | |
1737 | } else { | |
1738 | if (!PyTuple_Check(target)) { | |
1739 | o2 = target; | |
1740 | target = PyTuple_New(1); | |
1741 | PyTuple_SetItem(target, 0, o2); | |
1742 | } | |
1743 | o3 = PyTuple_New(1); | |
1744 | PyTuple_SetItem(o3, 0, o); | |
1745 | ||
1746 | o2 = target; | |
1747 | target = PySequence_Concat(o2, o3); | |
1748 | Py_DECREF(o2); | |
1749 | Py_DECREF(o3); | |
1750 | } | |
1751 | return target; | |
1752 | } | |
1753 | ||
1754 | ||
1755 | ||
1756 | /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */ | |
1757 | SWIGINTERN int | |
1758 | SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) | |
1759 | { | |
1760 | static swig_type_info* pchar_info = 0; | |
1761 | char* vptr = 0; | |
1762 | if (!pchar_info) pchar_info = SWIG_TypeQuery("char *"); | |
1763 | if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) { | |
1764 | if (cptr) *cptr = vptr; | |
1765 | if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0; | |
1766 | return SWIG_OLDOBJ; | |
1767 | } else { | |
1768 | PyErr_Clear(); | |
1769 | if (PyString_Check(obj)) { | |
1770 | if (cptr) { | |
1771 | *cptr = PyString_AS_STRING(obj); | |
1772 | if (psize) { | |
1773 | *psize = PyString_GET_SIZE(obj) + 1; | |
1774 | } | |
1775 | } | |
1776 | return SWIG_PYSTR; | |
1777 | } | |
1778 | } | |
1779 | if (cptr) { | |
1780 | SWIG_type_error("char *", obj); | |
1781 | } | |
1782 | return 0; | |
1783 | } | |
1784 | ||
1785 | ||
32fe5131 | 1786 | SWIGINTERNINLINE int |
36ed4f51 RD |
1787 | SWIG_AsCharPtr(PyObject *obj, char **val) |
1788 | { | |
1789 | if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { | |
1790 | return 1; | |
1791 | } | |
1792 | if (val) { | |
1793 | PyErr_Clear(); | |
1794 | SWIG_type_error("char *", obj); | |
1795 | } | |
1796 | return 0; | |
1797 | } | |
1798 | ||
1799 | ||
32fe5131 | 1800 | /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ |
36ed4f51 RD |
1801 | #define SWIG_From_long PyInt_FromLong |
1802 | /*@@*/ | |
1803 | ||
1804 | #ifdef __cplusplus | |
1805 | extern "C" { | |
1806 | #endif | |
1807 | static int _wrap_STCNameStr_set(PyObject *) { | |
1808 | PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only."); | |
1809 | return 1; | |
1810 | } | |
1811 | ||
1812 | ||
1813 | static PyObject *_wrap_STCNameStr_get(void) { | |
32fe5131 | 1814 | PyObject *pyobj = NULL; |
d14a1e28 | 1815 | |
d14a1e28 | 1816 | { |
36ed4f51 RD |
1817 | #if wxUSE_UNICODE |
1818 | pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1819 | #else | |
1820 | pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len()); | |
1821 | #endif | |
d14a1e28 | 1822 | } |
36ed4f51 | 1823 | return pyobj; |
d14a1e28 RD |
1824 | } |
1825 | ||
1826 | ||
36ed4f51 | 1827 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 1828 | PyObject *resultobj = NULL; |
36ed4f51 RD |
1829 | wxWindow *arg1 = (wxWindow *) 0 ; |
1830 | int arg2 = (int) wxID_ANY ; | |
1831 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1832 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1833 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1834 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1835 | long arg5 = (long) 0 ; | |
1836 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
1837 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1838 | wxStyledTextCtrl *result; | |
1839 | wxPoint temp3 ; | |
1840 | wxSize temp4 ; | |
1841 | bool temp6 = false ; | |
d14a1e28 RD |
1842 | PyObject * obj0 = 0 ; |
1843 | PyObject * obj1 = 0 ; | |
36ed4f51 RD |
1844 | PyObject * obj2 = 0 ; |
1845 | PyObject * obj3 = 0 ; | |
1846 | PyObject * obj4 = 0 ; | |
1847 | PyObject * obj5 = 0 ; | |
d14a1e28 | 1848 | char *kwnames[] = { |
36ed4f51 | 1849 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
1850 | }; |
1851 | ||
36ed4f51 RD |
1852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
1853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1855 | if (obj1) { | |
1856 | { | |
32fe5131 | 1857 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
1858 | if (SWIG_arg_fail(2)) SWIG_fail; |
1859 | } | |
1860 | } | |
1861 | if (obj2) { | |
1862 | { | |
1863 | arg3 = &temp3; | |
1864 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1865 | } | |
1866 | } | |
1867 | if (obj3) { | |
1868 | { | |
1869 | arg4 = &temp4; | |
1870 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1871 | } | |
1872 | } | |
1873 | if (obj4) { | |
1874 | { | |
32fe5131 | 1875 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
36ed4f51 RD |
1876 | if (SWIG_arg_fail(5)) SWIG_fail; |
1877 | } | |
1878 | } | |
1879 | if (obj5) { | |
1880 | { | |
1881 | arg6 = wxString_in_helper(obj5); | |
1882 | if (arg6 == NULL) SWIG_fail; | |
1883 | temp6 = true; | |
1884 | } | |
1885 | } | |
d14a1e28 | 1886 | { |
36ed4f51 | 1887 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 1888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
36ed4f51 | 1889 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); |
d14a1e28 RD |
1890 | |
1891 | wxPyEndAllowThreads(__tstate); | |
1892 | if (PyErr_Occurred()) SWIG_fail; | |
1893 | } | |
36ed4f51 RD |
1894 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
1895 | { | |
1896 | if (temp6) | |
1897 | delete arg6; | |
1898 | } | |
d14a1e28 RD |
1899 | return resultobj; |
1900 | fail: | |
36ed4f51 RD |
1901 | { |
1902 | if (temp6) | |
1903 | delete arg6; | |
1904 | } | |
d14a1e28 RD |
1905 | return NULL; |
1906 | } | |
1907 | ||
1908 | ||
36ed4f51 | 1909 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 1910 | PyObject *resultobj = NULL; |
36ed4f51 | 1911 | wxStyledTextCtrl *result; |
d14a1e28 | 1912 | char *kwnames[] = { |
36ed4f51 | 1913 | NULL |
d14a1e28 RD |
1914 | }; |
1915 | ||
36ed4f51 | 1916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; |
d14a1e28 | 1917 | { |
36ed4f51 | 1918 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 1919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
36ed4f51 | 1920 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); |
d14a1e28 RD |
1921 | |
1922 | wxPyEndAllowThreads(__tstate); | |
1923 | if (PyErr_Occurred()) SWIG_fail; | |
1924 | } | |
36ed4f51 | 1925 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1); |
d14a1e28 RD |
1926 | return resultobj; |
1927 | fail: | |
1928 | return NULL; | |
1929 | } | |
1930 | ||
1931 | ||
36ed4f51 | 1932 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 1933 | PyObject *resultobj = NULL; |
d14a1e28 | 1934 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
1935 | wxWindow *arg2 = (wxWindow *) 0 ; |
1936 | int arg3 = (int) wxID_ANY ; | |
1937 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
1938 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1939 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1940 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1941 | long arg6 = (long) 0 ; | |
1942 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
1943 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
66af7a75 | 1944 | bool result; |
36ed4f51 RD |
1945 | wxPoint temp4 ; |
1946 | wxSize temp5 ; | |
1947 | bool temp7 = false ; | |
d14a1e28 | 1948 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
1949 | PyObject * obj1 = 0 ; |
1950 | PyObject * obj2 = 0 ; | |
1951 | PyObject * obj3 = 0 ; | |
1952 | PyObject * obj4 = 0 ; | |
1953 | PyObject * obj5 = 0 ; | |
1954 | PyObject * obj6 = 0 ; | |
d14a1e28 | 1955 | char *kwnames[] = { |
36ed4f51 | 1956 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
1957 | }; |
1958 | ||
36ed4f51 RD |
1959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
1960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
1961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
1962 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
1963 | if (SWIG_arg_fail(2)) SWIG_fail; | |
1964 | if (obj2) { | |
1965 | { | |
32fe5131 | 1966 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
1967 | if (SWIG_arg_fail(3)) SWIG_fail; |
1968 | } | |
1969 | } | |
1970 | if (obj3) { | |
1971 | { | |
1972 | arg4 = &temp4; | |
1973 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1974 | } | |
1975 | } | |
1976 | if (obj4) { | |
1977 | { | |
1978 | arg5 = &temp5; | |
1979 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1980 | } | |
1981 | } | |
1982 | if (obj5) { | |
1983 | { | |
32fe5131 | 1984 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
36ed4f51 RD |
1985 | if (SWIG_arg_fail(6)) SWIG_fail; |
1986 | } | |
1987 | } | |
1988 | if (obj6) { | |
1989 | { | |
1990 | arg7 = wxString_in_helper(obj6); | |
1991 | if (arg7 == NULL) SWIG_fail; | |
1992 | temp7 = true; | |
1993 | } | |
1994 | } | |
d14a1e28 RD |
1995 | { |
1996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
66af7a75 | 1997 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
d14a1e28 RD |
1998 | |
1999 | wxPyEndAllowThreads(__tstate); | |
2000 | if (PyErr_Occurred()) SWIG_fail; | |
2001 | } | |
66af7a75 RD |
2002 | { |
2003 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2004 | } | |
36ed4f51 RD |
2005 | { |
2006 | if (temp7) | |
2007 | delete arg7; | |
2008 | } | |
d14a1e28 RD |
2009 | return resultobj; |
2010 | fail: | |
36ed4f51 RD |
2011 | { |
2012 | if (temp7) | |
2013 | delete arg7; | |
2014 | } | |
d14a1e28 RD |
2015 | return NULL; |
2016 | } | |
2017 | ||
2018 | ||
36ed4f51 | 2019 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2020 | PyObject *resultobj = NULL; |
d14a1e28 | 2021 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
2022 | wxString *arg2 = 0 ; |
2023 | bool temp2 = false ; | |
d14a1e28 | 2024 | PyObject * obj0 = 0 ; |
994141e6 | 2025 | PyObject * obj1 = 0 ; |
d14a1e28 | 2026 | char *kwnames[] = { |
36ed4f51 | 2027 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
2028 | }; |
2029 | ||
36ed4f51 RD |
2030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; |
2031 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2032 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2033 | { | |
2034 | arg2 = wxString_in_helper(obj1); | |
2035 | if (arg2 == NULL) SWIG_fail; | |
2036 | temp2 = true; | |
2037 | } | |
d14a1e28 RD |
2038 | { |
2039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2040 | (arg1)->AddText((wxString const &)*arg2); |
d14a1e28 RD |
2041 | |
2042 | wxPyEndAllowThreads(__tstate); | |
2043 | if (PyErr_Occurred()) SWIG_fail; | |
2044 | } | |
36ed4f51 | 2045 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2046 | { |
36ed4f51 RD |
2047 | if (temp2) |
2048 | delete arg2; | |
d14a1e28 RD |
2049 | } |
2050 | return resultobj; | |
2051 | fail: | |
36ed4f51 RD |
2052 | { |
2053 | if (temp2) | |
2054 | delete arg2; | |
2055 | } | |
2056 | return NULL; | |
d14a1e28 RD |
2057 | } |
2058 | ||
2059 | ||
36ed4f51 | 2060 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2061 | PyObject *resultobj = NULL; |
d14a1e28 | 2062 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
2063 | wxMemoryBuffer *arg2 = 0 ; |
2064 | bool temp2 = false ; | |
d14a1e28 | 2065 | PyObject * obj0 = 0 ; |
36ed4f51 | 2066 | PyObject * obj1 = 0 ; |
d14a1e28 | 2067 | char *kwnames[] = { |
36ed4f51 | 2068 | (char *) "self",(char *) "data", NULL |
d14a1e28 RD |
2069 | }; |
2070 | ||
36ed4f51 RD |
2071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; |
2072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2074 | { | |
2075 | if (!PyString_Check(obj1)) { | |
2076 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
2077 | SWIG_fail; | |
2078 | } | |
2079 | char* str = PyString_AS_STRING(obj1); | |
2080 | int len = PyString_GET_SIZE(obj1); | |
2081 | arg2 = new wxMemoryBuffer(len); | |
2082 | temp2 = true; | |
2083 | memcpy(arg2->GetData(), str, len); | |
2084 | arg2->SetDataLen(len); | |
2085 | } | |
d14a1e28 RD |
2086 | { |
2087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2088 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); |
d14a1e28 RD |
2089 | |
2090 | wxPyEndAllowThreads(__tstate); | |
2091 | if (PyErr_Occurred()) SWIG_fail; | |
2092 | } | |
36ed4f51 | 2093 | Py_INCREF(Py_None); resultobj = Py_None; |
4f89f6a3 | 2094 | { |
36ed4f51 | 2095 | if (temp2) delete arg2; |
4f89f6a3 | 2096 | } |
d14a1e28 RD |
2097 | return resultobj; |
2098 | fail: | |
36ed4f51 RD |
2099 | { |
2100 | if (temp2) delete arg2; | |
2101 | } | |
d14a1e28 RD |
2102 | return NULL; |
2103 | } | |
2104 | ||
2105 | ||
36ed4f51 | 2106 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2107 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2108 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2109 | int arg2 ; | |
36ed4f51 RD |
2110 | wxString *arg3 = 0 ; |
2111 | bool temp3 = false ; | |
d14a1e28 | 2112 | PyObject * obj0 = 0 ; |
994141e6 | 2113 | PyObject * obj1 = 0 ; |
36ed4f51 | 2114 | PyObject * obj2 = 0 ; |
d14a1e28 | 2115 | char *kwnames[] = { |
36ed4f51 | 2116 | (char *) "self",(char *) "pos",(char *) "text", NULL |
d14a1e28 RD |
2117 | }; |
2118 | ||
36ed4f51 RD |
2119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2120 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2121 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2122 | { | |
32fe5131 | 2123 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2124 | if (SWIG_arg_fail(2)) SWIG_fail; |
2125 | } | |
2126 | { | |
2127 | arg3 = wxString_in_helper(obj2); | |
2128 | if (arg3 == NULL) SWIG_fail; | |
2129 | temp3 = true; | |
2130 | } | |
d14a1e28 RD |
2131 | { |
2132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2133 | (arg1)->InsertText(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
2134 | |
2135 | wxPyEndAllowThreads(__tstate); | |
2136 | if (PyErr_Occurred()) SWIG_fail; | |
2137 | } | |
36ed4f51 RD |
2138 | Py_INCREF(Py_None); resultobj = Py_None; |
2139 | { | |
2140 | if (temp3) | |
2141 | delete arg3; | |
2142 | } | |
d14a1e28 RD |
2143 | return resultobj; |
2144 | fail: | |
36ed4f51 RD |
2145 | { |
2146 | if (temp3) | |
2147 | delete arg3; | |
2148 | } | |
d14a1e28 RD |
2149 | return NULL; |
2150 | } | |
2151 | ||
2152 | ||
36ed4f51 | 2153 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2154 | PyObject *resultobj = NULL; |
d14a1e28 | 2155 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
2156 | PyObject * obj0 = 0 ; |
2157 | char *kwnames[] = { | |
36ed4f51 | 2158 | (char *) "self", NULL |
d14a1e28 RD |
2159 | }; |
2160 | ||
36ed4f51 RD |
2161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; |
2162 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2163 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2164 | { |
2165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2166 | (arg1)->ClearAll(); |
d14a1e28 RD |
2167 | |
2168 | wxPyEndAllowThreads(__tstate); | |
2169 | if (PyErr_Occurred()) SWIG_fail; | |
2170 | } | |
2171 | Py_INCREF(Py_None); resultobj = Py_None; | |
2172 | return resultobj; | |
2173 | fail: | |
2174 | return NULL; | |
2175 | } | |
2176 | ||
2177 | ||
36ed4f51 | 2178 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2179 | PyObject *resultobj = NULL; |
d14a1e28 | 2180 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
2181 | PyObject * obj0 = 0 ; |
2182 | char *kwnames[] = { | |
2183 | (char *) "self", NULL | |
2184 | }; | |
2185 | ||
36ed4f51 RD |
2186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; |
2187 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2188 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2189 | { |
2190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2191 | (arg1)->ClearDocumentStyle(); |
d14a1e28 RD |
2192 | |
2193 | wxPyEndAllowThreads(__tstate); | |
2194 | if (PyErr_Occurred()) SWIG_fail; | |
2195 | } | |
36ed4f51 | 2196 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
2197 | return resultobj; |
2198 | fail: | |
2199 | return NULL; | |
2200 | } | |
2201 | ||
2202 | ||
36ed4f51 | 2203 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2204 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2205 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2206 | int result; | |
2207 | PyObject * obj0 = 0 ; | |
2208 | char *kwnames[] = { | |
2209 | (char *) "self", NULL | |
2210 | }; | |
2211 | ||
36ed4f51 RD |
2212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; |
2213 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2214 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2215 | { |
2216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2217 | result = (int)(arg1)->GetLength(); |
d14a1e28 RD |
2218 | |
2219 | wxPyEndAllowThreads(__tstate); | |
2220 | if (PyErr_Occurred()) SWIG_fail; | |
2221 | } | |
36ed4f51 | 2222 | { |
32fe5131 | 2223 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2224 | } |
d14a1e28 RD |
2225 | return resultobj; |
2226 | fail: | |
2227 | return NULL; | |
2228 | } | |
2229 | ||
2230 | ||
36ed4f51 | 2231 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2232 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2233 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2234 | int arg2 ; | |
36ed4f51 | 2235 | int result; |
d14a1e28 | 2236 | PyObject * obj0 = 0 ; |
994141e6 | 2237 | PyObject * obj1 = 0 ; |
d14a1e28 | 2238 | char *kwnames[] = { |
36ed4f51 | 2239 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
2240 | }; |
2241 | ||
36ed4f51 RD |
2242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail; |
2243 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2244 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2245 | { | |
32fe5131 | 2246 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2247 | if (SWIG_arg_fail(2)) SWIG_fail; |
2248 | } | |
d14a1e28 RD |
2249 | { |
2250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2251 | result = (int)(arg1)->GetCharAt(arg2); |
d14a1e28 RD |
2252 | |
2253 | wxPyEndAllowThreads(__tstate); | |
2254 | if (PyErr_Occurred()) SWIG_fail; | |
2255 | } | |
36ed4f51 | 2256 | { |
32fe5131 | 2257 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2258 | } |
d14a1e28 RD |
2259 | return resultobj; |
2260 | fail: | |
2261 | return NULL; | |
2262 | } | |
2263 | ||
2264 | ||
36ed4f51 | 2265 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2266 | PyObject *resultobj = NULL; |
d14a1e28 | 2267 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 2268 | int result; |
d14a1e28 | 2269 | PyObject * obj0 = 0 ; |
d14a1e28 | 2270 | char *kwnames[] = { |
36ed4f51 | 2271 | (char *) "self", NULL |
d14a1e28 RD |
2272 | }; |
2273 | ||
36ed4f51 RD |
2274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; |
2275 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2276 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2277 | { |
2278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2279 | result = (int)(arg1)->GetCurrentPos(); |
d14a1e28 RD |
2280 | |
2281 | wxPyEndAllowThreads(__tstate); | |
2282 | if (PyErr_Occurred()) SWIG_fail; | |
2283 | } | |
36ed4f51 | 2284 | { |
32fe5131 | 2285 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2286 | } |
d14a1e28 RD |
2287 | return resultobj; |
2288 | fail: | |
2289 | return NULL; | |
2290 | } | |
2291 | ||
2292 | ||
36ed4f51 | 2293 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2294 | PyObject *resultobj = NULL; |
d14a1e28 | 2295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
2296 | int result; |
2297 | PyObject * obj0 = 0 ; | |
2298 | char *kwnames[] = { | |
36ed4f51 | 2299 | (char *) "self", NULL |
d14a1e28 RD |
2300 | }; |
2301 | ||
36ed4f51 RD |
2302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; |
2303 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2304 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2305 | { |
2306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2307 | result = (int)(arg1)->GetAnchor(); |
d14a1e28 RD |
2308 | |
2309 | wxPyEndAllowThreads(__tstate); | |
2310 | if (PyErr_Occurred()) SWIG_fail; | |
2311 | } | |
36ed4f51 | 2312 | { |
32fe5131 | 2313 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2314 | } |
d14a1e28 RD |
2315 | return resultobj; |
2316 | fail: | |
2317 | return NULL; | |
2318 | } | |
2319 | ||
2320 | ||
36ed4f51 | 2321 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2322 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2323 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2324 | int arg2 ; | |
36ed4f51 | 2325 | int result; |
d14a1e28 | 2326 | PyObject * obj0 = 0 ; |
994141e6 | 2327 | PyObject * obj1 = 0 ; |
d14a1e28 | 2328 | char *kwnames[] = { |
36ed4f51 | 2329 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
2330 | }; |
2331 | ||
36ed4f51 RD |
2332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail; |
2333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2335 | { | |
32fe5131 | 2336 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2337 | if (SWIG_arg_fail(2)) SWIG_fail; |
2338 | } | |
d14a1e28 RD |
2339 | { |
2340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2341 | result = (int)(arg1)->GetStyleAt(arg2); |
d14a1e28 RD |
2342 | |
2343 | wxPyEndAllowThreads(__tstate); | |
2344 | if (PyErr_Occurred()) SWIG_fail; | |
2345 | } | |
36ed4f51 | 2346 | { |
32fe5131 | 2347 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2348 | } |
d14a1e28 RD |
2349 | return resultobj; |
2350 | fail: | |
2351 | return NULL; | |
2352 | } | |
2353 | ||
2354 | ||
36ed4f51 | 2355 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2356 | PyObject *resultobj = NULL; |
d14a1e28 | 2357 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
2358 | PyObject * obj0 = 0 ; |
2359 | char *kwnames[] = { | |
36ed4f51 | 2360 | (char *) "self", NULL |
d14a1e28 RD |
2361 | }; |
2362 | ||
36ed4f51 RD |
2363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; |
2364 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2365 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2366 | { |
2367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2368 | (arg1)->Redo(); |
d14a1e28 RD |
2369 | |
2370 | wxPyEndAllowThreads(__tstate); | |
2371 | if (PyErr_Occurred()) SWIG_fail; | |
2372 | } | |
2373 | Py_INCREF(Py_None); resultobj = Py_None; | |
2374 | return resultobj; | |
2375 | fail: | |
2376 | return NULL; | |
2377 | } | |
2378 | ||
2379 | ||
36ed4f51 | 2380 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2381 | PyObject *resultobj = NULL; |
d14a1e28 | 2382 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 2383 | bool arg2 ; |
d14a1e28 | 2384 | PyObject * obj0 = 0 ; |
994141e6 | 2385 | PyObject * obj1 = 0 ; |
d14a1e28 | 2386 | char *kwnames[] = { |
36ed4f51 | 2387 | (char *) "self",(char *) "collectUndo", NULL |
d14a1e28 RD |
2388 | }; |
2389 | ||
36ed4f51 RD |
2390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; |
2391 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2392 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2393 | { | |
32fe5131 | 2394 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
2395 | if (SWIG_arg_fail(2)) SWIG_fail; |
2396 | } | |
d14a1e28 RD |
2397 | { |
2398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2399 | (arg1)->SetUndoCollection(arg2); |
d14a1e28 RD |
2400 | |
2401 | wxPyEndAllowThreads(__tstate); | |
2402 | if (PyErr_Occurred()) SWIG_fail; | |
2403 | } | |
2404 | Py_INCREF(Py_None); resultobj = Py_None; | |
2405 | return resultobj; | |
2406 | fail: | |
2407 | return NULL; | |
2408 | } | |
2409 | ||
2410 | ||
36ed4f51 | 2411 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2412 | PyObject *resultobj = NULL; |
d14a1e28 | 2413 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
2414 | PyObject * obj0 = 0 ; |
2415 | char *kwnames[] = { | |
2416 | (char *) "self", NULL | |
2417 | }; | |
2418 | ||
36ed4f51 RD |
2419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; |
2420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2422 | { |
2423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2424 | (arg1)->SelectAll(); |
d14a1e28 RD |
2425 | |
2426 | wxPyEndAllowThreads(__tstate); | |
2427 | if (PyErr_Occurred()) SWIG_fail; | |
2428 | } | |
36ed4f51 | 2429 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
2430 | return resultobj; |
2431 | fail: | |
2432 | return NULL; | |
2433 | } | |
2434 | ||
2435 | ||
36ed4f51 | 2436 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2437 | PyObject *resultobj = NULL; |
d14a1e28 | 2438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
2439 | PyObject * obj0 = 0 ; |
2440 | char *kwnames[] = { | |
2441 | (char *) "self", NULL | |
2442 | }; | |
2443 | ||
36ed4f51 RD |
2444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; |
2445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2447 | { |
2448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2449 | (arg1)->SetSavePoint(); |
d14a1e28 RD |
2450 | |
2451 | wxPyEndAllowThreads(__tstate); | |
2452 | if (PyErr_Occurred()) SWIG_fail; | |
2453 | } | |
36ed4f51 | 2454 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
2455 | return resultobj; |
2456 | fail: | |
2457 | return NULL; | |
2458 | } | |
2459 | ||
2460 | ||
36ed4f51 | 2461 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2462 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2463 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2464 | int arg2 ; | |
36ed4f51 RD |
2465 | int arg3 ; |
2466 | wxMemoryBuffer result; | |
d14a1e28 | 2467 | PyObject * obj0 = 0 ; |
994141e6 | 2468 | PyObject * obj1 = 0 ; |
36ed4f51 | 2469 | PyObject * obj2 = 0 ; |
d14a1e28 | 2470 | char *kwnames[] = { |
36ed4f51 | 2471 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
d14a1e28 RD |
2472 | }; |
2473 | ||
36ed4f51 RD |
2474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2475 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2476 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2477 | { | |
32fe5131 | 2478 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2479 | if (SWIG_arg_fail(2)) SWIG_fail; |
2480 | } | |
2481 | { | |
32fe5131 | 2482 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
2483 | if (SWIG_arg_fail(3)) SWIG_fail; |
2484 | } | |
d14a1e28 RD |
2485 | { |
2486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2487 | result = (arg1)->GetStyledText(arg2,arg3); |
d14a1e28 RD |
2488 | |
2489 | wxPyEndAllowThreads(__tstate); | |
2490 | if (PyErr_Occurred()) SWIG_fail; | |
2491 | } | |
36ed4f51 RD |
2492 | { |
2493 | resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen()); | |
2494 | } | |
d14a1e28 RD |
2495 | return resultobj; |
2496 | fail: | |
2497 | return NULL; | |
2498 | } | |
2499 | ||
2500 | ||
36ed4f51 | 2501 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2502 | PyObject *resultobj = NULL; |
d14a1e28 | 2503 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 2504 | bool result; |
d14a1e28 RD |
2505 | PyObject * obj0 = 0 ; |
2506 | char *kwnames[] = { | |
2507 | (char *) "self", NULL | |
2508 | }; | |
2509 | ||
36ed4f51 RD |
2510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; |
2511 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2512 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2513 | { |
2514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2515 | result = (bool)(arg1)->CanRedo(); |
d14a1e28 RD |
2516 | |
2517 | wxPyEndAllowThreads(__tstate); | |
2518 | if (PyErr_Occurred()) SWIG_fail; | |
2519 | } | |
36ed4f51 RD |
2520 | { |
2521 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2522 | } | |
d14a1e28 RD |
2523 | return resultobj; |
2524 | fail: | |
2525 | return NULL; | |
2526 | } | |
2527 | ||
2528 | ||
36ed4f51 | 2529 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2530 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2531 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2532 | int arg2 ; | |
36ed4f51 | 2533 | int result; |
d14a1e28 | 2534 | PyObject * obj0 = 0 ; |
994141e6 | 2535 | PyObject * obj1 = 0 ; |
d14a1e28 | 2536 | char *kwnames[] = { |
36ed4f51 | 2537 | (char *) "self",(char *) "handle", NULL |
d14a1e28 RD |
2538 | }; |
2539 | ||
36ed4f51 RD |
2540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail; |
2541 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2542 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2543 | { | |
32fe5131 | 2544 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2545 | if (SWIG_arg_fail(2)) SWIG_fail; |
2546 | } | |
d14a1e28 RD |
2547 | { |
2548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2549 | result = (int)(arg1)->MarkerLineFromHandle(arg2); |
d14a1e28 RD |
2550 | |
2551 | wxPyEndAllowThreads(__tstate); | |
2552 | if (PyErr_Occurred()) SWIG_fail; | |
2553 | } | |
36ed4f51 | 2554 | { |
32fe5131 | 2555 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2556 | } |
d14a1e28 RD |
2557 | return resultobj; |
2558 | fail: | |
2559 | return NULL; | |
2560 | } | |
2561 | ||
2562 | ||
36ed4f51 | 2563 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2564 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2565 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2566 | int arg2 ; | |
d14a1e28 | 2567 | PyObject * obj0 = 0 ; |
994141e6 | 2568 | PyObject * obj1 = 0 ; |
d14a1e28 | 2569 | char *kwnames[] = { |
36ed4f51 | 2570 | (char *) "self",(char *) "handle", NULL |
d14a1e28 RD |
2571 | }; |
2572 | ||
36ed4f51 RD |
2573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail; |
2574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2576 | { | |
32fe5131 | 2577 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2578 | if (SWIG_arg_fail(2)) SWIG_fail; |
2579 | } | |
d14a1e28 RD |
2580 | { |
2581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2582 | (arg1)->MarkerDeleteHandle(arg2); |
d14a1e28 RD |
2583 | |
2584 | wxPyEndAllowThreads(__tstate); | |
2585 | if (PyErr_Occurred()) SWIG_fail; | |
2586 | } | |
2587 | Py_INCREF(Py_None); resultobj = Py_None; | |
2588 | return resultobj; | |
2589 | fail: | |
2590 | return NULL; | |
2591 | } | |
2592 | ||
2593 | ||
36ed4f51 | 2594 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2595 | PyObject *resultobj = NULL; |
d14a1e28 | 2596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 2597 | bool result; |
d14a1e28 RD |
2598 | PyObject * obj0 = 0 ; |
2599 | char *kwnames[] = { | |
36ed4f51 | 2600 | (char *) "self", NULL |
d14a1e28 RD |
2601 | }; |
2602 | ||
36ed4f51 RD |
2603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; |
2604 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2605 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2606 | { |
2607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2608 | result = (bool)(arg1)->GetUndoCollection(); |
d14a1e28 RD |
2609 | |
2610 | wxPyEndAllowThreads(__tstate); | |
2611 | if (PyErr_Occurred()) SWIG_fail; | |
2612 | } | |
36ed4f51 RD |
2613 | { |
2614 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2615 | } | |
d14a1e28 RD |
2616 | return resultobj; |
2617 | fail: | |
2618 | return NULL; | |
2619 | } | |
2620 | ||
2621 | ||
36ed4f51 | 2622 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2623 | PyObject *resultobj = NULL; |
d14a1e28 | 2624 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 2625 | int result; |
d14a1e28 RD |
2626 | PyObject * obj0 = 0 ; |
2627 | char *kwnames[] = { | |
2628 | (char *) "self", NULL | |
2629 | }; | |
2630 | ||
36ed4f51 RD |
2631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; |
2632 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2633 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2634 | { |
2635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2636 | result = (int)(arg1)->GetViewWhiteSpace(); |
d14a1e28 RD |
2637 | |
2638 | wxPyEndAllowThreads(__tstate); | |
2639 | if (PyErr_Occurred()) SWIG_fail; | |
2640 | } | |
4f89f6a3 | 2641 | { |
32fe5131 | 2642 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 2643 | } |
d14a1e28 RD |
2644 | return resultobj; |
2645 | fail: | |
2646 | return NULL; | |
2647 | } | |
2648 | ||
2649 | ||
36ed4f51 | 2650 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2651 | PyObject *resultobj = NULL; |
d14a1e28 | 2652 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 2653 | int arg2 ; |
d14a1e28 RD |
2654 | PyObject * obj0 = 0 ; |
2655 | PyObject * obj1 = 0 ; | |
2656 | char *kwnames[] = { | |
36ed4f51 | 2657 | (char *) "self",(char *) "viewWS", NULL |
d14a1e28 RD |
2658 | }; |
2659 | ||
36ed4f51 RD |
2660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail; |
2661 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2662 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2663 | { | |
32fe5131 | 2664 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2665 | if (SWIG_arg_fail(2)) SWIG_fail; |
2666 | } | |
d14a1e28 RD |
2667 | { |
2668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2669 | (arg1)->SetViewWhiteSpace(arg2); |
d14a1e28 RD |
2670 | |
2671 | wxPyEndAllowThreads(__tstate); | |
2672 | if (PyErr_Occurred()) SWIG_fail; | |
2673 | } | |
2674 | Py_INCREF(Py_None); resultobj = Py_None; | |
2675 | return resultobj; | |
2676 | fail: | |
2677 | return NULL; | |
2678 | } | |
2679 | ||
2680 | ||
36ed4f51 | 2681 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2682 | PyObject *resultobj = NULL; |
d14a1e28 | 2683 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
2684 | wxPoint arg2 ; |
2685 | int result; | |
d14a1e28 | 2686 | PyObject * obj0 = 0 ; |
994141e6 | 2687 | PyObject * obj1 = 0 ; |
d14a1e28 | 2688 | char *kwnames[] = { |
36ed4f51 | 2689 | (char *) "self",(char *) "pt", NULL |
d14a1e28 RD |
2690 | }; |
2691 | ||
36ed4f51 RD |
2692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; |
2693 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2694 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2695 | { | |
2696 | wxPoint * argp; | |
2697 | SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION); | |
2698 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2699 | if (argp == NULL) { | |
2700 | SWIG_null_ref("wxPoint"); | |
2701 | } | |
2702 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2703 | arg2 = *argp; | |
2704 | } | |
d14a1e28 RD |
2705 | { |
2706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2707 | result = (int)(arg1)->PositionFromPoint(arg2); |
d14a1e28 RD |
2708 | |
2709 | wxPyEndAllowThreads(__tstate); | |
2710 | if (PyErr_Occurred()) SWIG_fail; | |
2711 | } | |
36ed4f51 | 2712 | { |
32fe5131 | 2713 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2714 | } |
d14a1e28 RD |
2715 | return resultobj; |
2716 | fail: | |
2717 | return NULL; | |
2718 | } | |
2719 | ||
2720 | ||
36ed4f51 | 2721 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2722 | PyObject *resultobj = NULL; |
d14a1e28 | 2723 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
2724 | int arg2 ; |
2725 | int arg3 ; | |
d14a1e28 RD |
2726 | int result; |
2727 | PyObject * obj0 = 0 ; | |
36ed4f51 RD |
2728 | PyObject * obj1 = 0 ; |
2729 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2730 | char *kwnames[] = { |
36ed4f51 | 2731 | (char *) "self",(char *) "x",(char *) "y", NULL |
d14a1e28 RD |
2732 | }; |
2733 | ||
36ed4f51 RD |
2734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2735 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2736 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2737 | { | |
32fe5131 | 2738 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2739 | if (SWIG_arg_fail(2)) SWIG_fail; |
2740 | } | |
2741 | { | |
32fe5131 | 2742 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
2743 | if (SWIG_arg_fail(3)) SWIG_fail; |
2744 | } | |
d14a1e28 RD |
2745 | { |
2746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2747 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); |
d14a1e28 RD |
2748 | |
2749 | wxPyEndAllowThreads(__tstate); | |
2750 | if (PyErr_Occurred()) SWIG_fail; | |
2751 | } | |
36ed4f51 | 2752 | { |
32fe5131 | 2753 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2754 | } |
d14a1e28 RD |
2755 | return resultobj; |
2756 | fail: | |
2757 | return NULL; | |
2758 | } | |
2759 | ||
2760 | ||
36ed4f51 | 2761 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2762 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2764 | int arg2 ; | |
2765 | PyObject * obj0 = 0 ; | |
994141e6 | 2766 | PyObject * obj1 = 0 ; |
d14a1e28 | 2767 | char *kwnames[] = { |
36ed4f51 | 2768 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
2769 | }; |
2770 | ||
36ed4f51 RD |
2771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail; |
2772 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2773 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2774 | { | |
32fe5131 | 2775 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2776 | if (SWIG_arg_fail(2)) SWIG_fail; |
2777 | } | |
d14a1e28 RD |
2778 | { |
2779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2780 | (arg1)->GotoLine(arg2); |
d14a1e28 RD |
2781 | |
2782 | wxPyEndAllowThreads(__tstate); | |
2783 | if (PyErr_Occurred()) SWIG_fail; | |
2784 | } | |
2785 | Py_INCREF(Py_None); resultobj = Py_None; | |
2786 | return resultobj; | |
2787 | fail: | |
2788 | return NULL; | |
2789 | } | |
2790 | ||
2791 | ||
36ed4f51 | 2792 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2793 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2794 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2795 | int arg2 ; | |
d14a1e28 | 2796 | PyObject * obj0 = 0 ; |
994141e6 | 2797 | PyObject * obj1 = 0 ; |
d14a1e28 | 2798 | char *kwnames[] = { |
36ed4f51 | 2799 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
2800 | }; |
2801 | ||
36ed4f51 RD |
2802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail; |
2803 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2804 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2805 | { | |
32fe5131 | 2806 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 2807 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
2808 | } |
2809 | { | |
2810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2811 | (arg1)->GotoPos(arg2); |
d14a1e28 RD |
2812 | |
2813 | wxPyEndAllowThreads(__tstate); | |
2814 | if (PyErr_Occurred()) SWIG_fail; | |
2815 | } | |
2816 | Py_INCREF(Py_None); resultobj = Py_None; | |
2817 | return resultobj; | |
2818 | fail: | |
2819 | return NULL; | |
2820 | } | |
2821 | ||
2822 | ||
36ed4f51 | 2823 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2824 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2825 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2826 | int arg2 ; | |
d14a1e28 | 2827 | PyObject * obj0 = 0 ; |
994141e6 | 2828 | PyObject * obj1 = 0 ; |
d14a1e28 | 2829 | char *kwnames[] = { |
36ed4f51 | 2830 | (char *) "self",(char *) "posAnchor", NULL |
d14a1e28 RD |
2831 | }; |
2832 | ||
36ed4f51 RD |
2833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail; |
2834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 2836 | { |
32fe5131 | 2837 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 2838 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
2839 | } |
2840 | { | |
2841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2842 | (arg1)->SetAnchor(arg2); |
d14a1e28 RD |
2843 | |
2844 | wxPyEndAllowThreads(__tstate); | |
2845 | if (PyErr_Occurred()) SWIG_fail; | |
2846 | } | |
2847 | Py_INCREF(Py_None); resultobj = Py_None; | |
2848 | return resultobj; | |
2849 | fail: | |
2850 | return NULL; | |
2851 | } | |
2852 | ||
2853 | ||
36ed4f51 | 2854 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2855 | PyObject *resultobj = NULL; |
d14a1e28 | 2856 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
2857 | int *arg2 = (int *) 0 ; |
2858 | wxString result; | |
2859 | int temp2 ; | |
2860 | int res2 = 0 ; | |
d14a1e28 | 2861 | PyObject * obj0 = 0 ; |
d14a1e28 | 2862 | char *kwnames[] = { |
36ed4f51 | 2863 | (char *) "self", NULL |
d14a1e28 RD |
2864 | }; |
2865 | ||
36ed4f51 RD |
2866 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
2868 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2869 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2870 | { |
2871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2872 | result = (arg1)->GetCurLine(arg2); |
d14a1e28 RD |
2873 | |
2874 | wxPyEndAllowThreads(__tstate); | |
2875 | if (PyErr_Occurred()) SWIG_fail; | |
2876 | } | |
36ed4f51 RD |
2877 | { |
2878 | #if wxUSE_UNICODE | |
2879 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2880 | #else | |
2881 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2882 | #endif | |
2883 | } | |
2884 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
2885 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2886 | return resultobj; |
2887 | fail: | |
2888 | return NULL; | |
2889 | } | |
2890 | ||
2891 | ||
36ed4f51 | 2892 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2893 | PyObject *resultobj = NULL; |
d14a1e28 | 2894 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
2895 | int result; |
2896 | PyObject * obj0 = 0 ; | |
2897 | char *kwnames[] = { | |
36ed4f51 | 2898 | (char *) "self", NULL |
d14a1e28 RD |
2899 | }; |
2900 | ||
36ed4f51 RD |
2901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; |
2902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2904 | { |
2905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2906 | result = (int)(arg1)->GetEndStyled(); |
d14a1e28 RD |
2907 | |
2908 | wxPyEndAllowThreads(__tstate); | |
2909 | if (PyErr_Occurred()) SWIG_fail; | |
2910 | } | |
36ed4f51 | 2911 | { |
32fe5131 | 2912 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2913 | } |
d14a1e28 RD |
2914 | return resultobj; |
2915 | fail: | |
2916 | return NULL; | |
2917 | } | |
2918 | ||
2919 | ||
36ed4f51 | 2920 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2921 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2922 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2923 | int arg2 ; | |
d14a1e28 | 2924 | PyObject * obj0 = 0 ; |
994141e6 | 2925 | PyObject * obj1 = 0 ; |
d14a1e28 | 2926 | char *kwnames[] = { |
36ed4f51 | 2927 | (char *) "self",(char *) "eolMode", NULL |
d14a1e28 RD |
2928 | }; |
2929 | ||
36ed4f51 RD |
2930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail; |
2931 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2932 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2933 | { | |
32fe5131 | 2934 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2935 | if (SWIG_arg_fail(2)) SWIG_fail; |
2936 | } | |
d14a1e28 RD |
2937 | { |
2938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2939 | (arg1)->ConvertEOLs(arg2); |
d14a1e28 RD |
2940 | |
2941 | wxPyEndAllowThreads(__tstate); | |
2942 | if (PyErr_Occurred()) SWIG_fail; | |
2943 | } | |
2944 | Py_INCREF(Py_None); resultobj = Py_None; | |
2945 | return resultobj; | |
2946 | fail: | |
2947 | return NULL; | |
2948 | } | |
2949 | ||
2950 | ||
36ed4f51 | 2951 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2952 | PyObject *resultobj = NULL; |
d14a1e28 | 2953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 2954 | int result; |
d14a1e28 RD |
2955 | PyObject * obj0 = 0 ; |
2956 | char *kwnames[] = { | |
36ed4f51 | 2957 | (char *) "self", NULL |
d14a1e28 RD |
2958 | }; |
2959 | ||
36ed4f51 RD |
2960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; |
2961 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2962 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
2963 | { |
2964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2965 | result = (int)(arg1)->GetEOLMode(); |
d14a1e28 RD |
2966 | |
2967 | wxPyEndAllowThreads(__tstate); | |
2968 | if (PyErr_Occurred()) SWIG_fail; | |
2969 | } | |
36ed4f51 | 2970 | { |
32fe5131 | 2971 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 2972 | } |
d14a1e28 RD |
2973 | return resultobj; |
2974 | fail: | |
2975 | return NULL; | |
2976 | } | |
2977 | ||
2978 | ||
36ed4f51 | 2979 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 2980 | PyObject *resultobj = NULL; |
d14a1e28 RD |
2981 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
2982 | int arg2 ; | |
d14a1e28 | 2983 | PyObject * obj0 = 0 ; |
994141e6 | 2984 | PyObject * obj1 = 0 ; |
d14a1e28 | 2985 | char *kwnames[] = { |
36ed4f51 | 2986 | (char *) "self",(char *) "eolMode", NULL |
d14a1e28 RD |
2987 | }; |
2988 | ||
36ed4f51 RD |
2989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail; |
2990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2992 | { | |
32fe5131 | 2993 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
2994 | if (SWIG_arg_fail(2)) SWIG_fail; |
2995 | } | |
d14a1e28 RD |
2996 | { |
2997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 2998 | (arg1)->SetEOLMode(arg2); |
d14a1e28 RD |
2999 | |
3000 | wxPyEndAllowThreads(__tstate); | |
3001 | if (PyErr_Occurred()) SWIG_fail; | |
3002 | } | |
36ed4f51 | 3003 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
3004 | return resultobj; |
3005 | fail: | |
3006 | return NULL; | |
3007 | } | |
3008 | ||
3009 | ||
36ed4f51 | 3010 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3011 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3013 | int arg2 ; | |
3014 | int arg3 ; | |
d14a1e28 | 3015 | PyObject * obj0 = 0 ; |
994141e6 RD |
3016 | PyObject * obj1 = 0 ; |
3017 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3018 | char *kwnames[] = { |
36ed4f51 | 3019 | (char *) "self",(char *) "pos",(char *) "mask", NULL |
d14a1e28 RD |
3020 | }; |
3021 | ||
36ed4f51 RD |
3022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3023 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3024 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3025 | { | |
32fe5131 | 3026 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3027 | if (SWIG_arg_fail(2)) SWIG_fail; |
3028 | } | |
3029 | { | |
32fe5131 | 3030 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3031 | if (SWIG_arg_fail(3)) SWIG_fail; |
3032 | } | |
d14a1e28 RD |
3033 | { |
3034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3035 | (arg1)->StartStyling(arg2,arg3); |
d14a1e28 RD |
3036 | |
3037 | wxPyEndAllowThreads(__tstate); | |
3038 | if (PyErr_Occurred()) SWIG_fail; | |
3039 | } | |
36ed4f51 | 3040 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
3041 | return resultobj; |
3042 | fail: | |
3043 | return NULL; | |
3044 | } | |
3045 | ||
3046 | ||
36ed4f51 | 3047 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3048 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3049 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3050 | int arg2 ; | |
3051 | int arg3 ; | |
d14a1e28 | 3052 | PyObject * obj0 = 0 ; |
994141e6 RD |
3053 | PyObject * obj1 = 0 ; |
3054 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3055 | char *kwnames[] = { |
36ed4f51 | 3056 | (char *) "self",(char *) "length",(char *) "style", NULL |
d14a1e28 RD |
3057 | }; |
3058 | ||
36ed4f51 RD |
3059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3060 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3061 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3062 | { | |
32fe5131 | 3063 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3064 | if (SWIG_arg_fail(2)) SWIG_fail; |
3065 | } | |
3066 | { | |
32fe5131 | 3067 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3068 | if (SWIG_arg_fail(3)) SWIG_fail; |
3069 | } | |
d14a1e28 RD |
3070 | { |
3071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3072 | (arg1)->SetStyling(arg2,arg3); |
d14a1e28 RD |
3073 | |
3074 | wxPyEndAllowThreads(__tstate); | |
3075 | if (PyErr_Occurred()) SWIG_fail; | |
3076 | } | |
36ed4f51 | 3077 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
3078 | return resultobj; |
3079 | fail: | |
3080 | return NULL; | |
3081 | } | |
3082 | ||
3083 | ||
36ed4f51 | 3084 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3085 | PyObject *resultobj = NULL; |
d14a1e28 | 3086 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 3087 | bool result; |
d14a1e28 | 3088 | PyObject * obj0 = 0 ; |
d14a1e28 | 3089 | char *kwnames[] = { |
36ed4f51 | 3090 | (char *) "self", NULL |
d14a1e28 RD |
3091 | }; |
3092 | ||
36ed4f51 RD |
3093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; |
3094 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3095 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3096 | { |
3097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3098 | result = (bool)(arg1)->GetBufferedDraw(); |
d14a1e28 RD |
3099 | |
3100 | wxPyEndAllowThreads(__tstate); | |
3101 | if (PyErr_Occurred()) SWIG_fail; | |
3102 | } | |
36ed4f51 RD |
3103 | { |
3104 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3105 | } | |
d14a1e28 RD |
3106 | return resultobj; |
3107 | fail: | |
3108 | return NULL; | |
3109 | } | |
3110 | ||
3111 | ||
36ed4f51 | 3112 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3113 | PyObject *resultobj = NULL; |
d14a1e28 | 3114 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 3115 | bool arg2 ; |
d14a1e28 | 3116 | PyObject * obj0 = 0 ; |
994141e6 | 3117 | PyObject * obj1 = 0 ; |
d14a1e28 | 3118 | char *kwnames[] = { |
36ed4f51 | 3119 | (char *) "self",(char *) "buffered", NULL |
d14a1e28 RD |
3120 | }; |
3121 | ||
36ed4f51 RD |
3122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; |
3123 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3124 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3125 | { | |
32fe5131 | 3126 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
3127 | if (SWIG_arg_fail(2)) SWIG_fail; |
3128 | } | |
d14a1e28 RD |
3129 | { |
3130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3131 | (arg1)->SetBufferedDraw(arg2); |
d14a1e28 RD |
3132 | |
3133 | wxPyEndAllowThreads(__tstate); | |
3134 | if (PyErr_Occurred()) SWIG_fail; | |
3135 | } | |
3136 | Py_INCREF(Py_None); resultobj = Py_None; | |
3137 | return resultobj; | |
3138 | fail: | |
3139 | return NULL; | |
3140 | } | |
3141 | ||
3142 | ||
36ed4f51 | 3143 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3144 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3145 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3146 | int arg2 ; | |
d14a1e28 | 3147 | PyObject * obj0 = 0 ; |
994141e6 | 3148 | PyObject * obj1 = 0 ; |
d14a1e28 | 3149 | char *kwnames[] = { |
36ed4f51 | 3150 | (char *) "self",(char *) "tabWidth", NULL |
d14a1e28 RD |
3151 | }; |
3152 | ||
36ed4f51 RD |
3153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail; |
3154 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3155 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3156 | { | |
32fe5131 | 3157 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3158 | if (SWIG_arg_fail(2)) SWIG_fail; |
3159 | } | |
d14a1e28 RD |
3160 | { |
3161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3162 | (arg1)->SetTabWidth(arg2); |
d14a1e28 RD |
3163 | |
3164 | wxPyEndAllowThreads(__tstate); | |
3165 | if (PyErr_Occurred()) SWIG_fail; | |
3166 | } | |
36ed4f51 | 3167 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
3168 | return resultobj; |
3169 | fail: | |
3170 | return NULL; | |
3171 | } | |
3172 | ||
3173 | ||
36ed4f51 | 3174 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3175 | PyObject *resultobj = NULL; |
d14a1e28 | 3176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 3177 | int result; |
d14a1e28 RD |
3178 | PyObject * obj0 = 0 ; |
3179 | char *kwnames[] = { | |
36ed4f51 | 3180 | (char *) "self", NULL |
d14a1e28 RD |
3181 | }; |
3182 | ||
36ed4f51 RD |
3183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; |
3184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
3186 | { |
3187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3188 | result = (int)(arg1)->GetTabWidth(); |
d14a1e28 RD |
3189 | |
3190 | wxPyEndAllowThreads(__tstate); | |
3191 | if (PyErr_Occurred()) SWIG_fail; | |
3192 | } | |
36ed4f51 | 3193 | { |
32fe5131 | 3194 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 3195 | } |
d14a1e28 RD |
3196 | return resultobj; |
3197 | fail: | |
3198 | return NULL; | |
3199 | } | |
3200 | ||
3201 | ||
36ed4f51 | 3202 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3203 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3204 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3205 | int arg2 ; | |
d14a1e28 | 3206 | PyObject * obj0 = 0 ; |
994141e6 | 3207 | PyObject * obj1 = 0 ; |
d14a1e28 | 3208 | char *kwnames[] = { |
36ed4f51 | 3209 | (char *) "self",(char *) "codePage", NULL |
d14a1e28 RD |
3210 | }; |
3211 | ||
36ed4f51 RD |
3212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail; |
3213 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3214 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3215 | { | |
32fe5131 | 3216 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3217 | if (SWIG_arg_fail(2)) SWIG_fail; |
3218 | } | |
d14a1e28 RD |
3219 | { |
3220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3221 | (arg1)->SetCodePage(arg2); |
d14a1e28 RD |
3222 | |
3223 | wxPyEndAllowThreads(__tstate); | |
3224 | if (PyErr_Occurred()) SWIG_fail; | |
3225 | } | |
36ed4f51 | 3226 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
3227 | return resultobj; |
3228 | fail: | |
3229 | return NULL; | |
3230 | } | |
3231 | ||
3232 | ||
36ed4f51 | 3233 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3234 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3235 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3236 | int arg2 ; | |
3237 | int arg3 ; | |
36ed4f51 RD |
3238 | wxColour const &arg4_defvalue = wxNullColour ; |
3239 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
3240 | wxColour const &arg5_defvalue = wxNullColour ; | |
3241 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
3242 | wxColour temp4 ; | |
3243 | wxColour temp5 ; | |
d14a1e28 | 3244 | PyObject * obj0 = 0 ; |
994141e6 RD |
3245 | PyObject * obj1 = 0 ; |
3246 | PyObject * obj2 = 0 ; | |
36ed4f51 RD |
3247 | PyObject * obj3 = 0 ; |
3248 | PyObject * obj4 = 0 ; | |
d14a1e28 | 3249 | char *kwnames[] = { |
36ed4f51 | 3250 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL |
d14a1e28 RD |
3251 | }; |
3252 | ||
36ed4f51 RD |
3253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
3254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3256 | { | |
32fe5131 | 3257 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3258 | if (SWIG_arg_fail(2)) SWIG_fail; |
3259 | } | |
3260 | { | |
32fe5131 | 3261 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3262 | if (SWIG_arg_fail(3)) SWIG_fail; |
3263 | } | |
3264 | if (obj3) { | |
3265 | { | |
3266 | arg4 = &temp4; | |
3267 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
3268 | } | |
3269 | } | |
3270 | if (obj4) { | |
3271 | { | |
3272 | arg5 = &temp5; | |
3273 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
3274 | } | |
3275 | } | |
d14a1e28 RD |
3276 | { |
3277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3278 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); |
d14a1e28 RD |
3279 | |
3280 | wxPyEndAllowThreads(__tstate); | |
3281 | if (PyErr_Occurred()) SWIG_fail; | |
3282 | } | |
3283 | Py_INCREF(Py_None); resultobj = Py_None; | |
3284 | return resultobj; | |
3285 | fail: | |
3286 | return NULL; | |
3287 | } | |
3288 | ||
3289 | ||
36ed4f51 | 3290 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3291 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3292 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3293 | int arg2 ; | |
36ed4f51 RD |
3294 | wxColour *arg3 = 0 ; |
3295 | wxColour temp3 ; | |
d14a1e28 | 3296 | PyObject * obj0 = 0 ; |
994141e6 | 3297 | PyObject * obj1 = 0 ; |
36ed4f51 | 3298 | PyObject * obj2 = 0 ; |
d14a1e28 | 3299 | char *kwnames[] = { |
36ed4f51 | 3300 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL |
d14a1e28 RD |
3301 | }; |
3302 | ||
36ed4f51 RD |
3303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3306 | { | |
32fe5131 | 3307 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3308 | if (SWIG_arg_fail(2)) SWIG_fail; |
3309 | } | |
3310 | { | |
3311 | arg3 = &temp3; | |
3312 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3313 | } | |
d14a1e28 RD |
3314 | { |
3315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3316 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
3317 | |
3318 | wxPyEndAllowThreads(__tstate); | |
3319 | if (PyErr_Occurred()) SWIG_fail; | |
3320 | } | |
36ed4f51 | 3321 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
3322 | return resultobj; |
3323 | fail: | |
3324 | return NULL; | |
3325 | } | |
3326 | ||
3327 | ||
36ed4f51 | 3328 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3329 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3331 | int arg2 ; | |
36ed4f51 RD |
3332 | wxColour *arg3 = 0 ; |
3333 | wxColour temp3 ; | |
d14a1e28 | 3334 | PyObject * obj0 = 0 ; |
994141e6 | 3335 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3336 | PyObject * obj2 = 0 ; |
3337 | char *kwnames[] = { | |
36ed4f51 | 3338 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL |
d14a1e28 RD |
3339 | }; |
3340 | ||
36ed4f51 RD |
3341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3342 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3343 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3344 | { | |
32fe5131 | 3345 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3346 | if (SWIG_arg_fail(2)) SWIG_fail; |
3347 | } | |
3348 | { | |
3349 | arg3 = &temp3; | |
3350 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3351 | } | |
d14a1e28 RD |
3352 | { |
3353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3354 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
3355 | |
3356 | wxPyEndAllowThreads(__tstate); | |
3357 | if (PyErr_Occurred()) SWIG_fail; | |
3358 | } | |
3359 | Py_INCREF(Py_None); resultobj = Py_None; | |
3360 | return resultobj; | |
3361 | fail: | |
3362 | return NULL; | |
3363 | } | |
3364 | ||
3365 | ||
36ed4f51 | 3366 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3367 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3368 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3369 | int arg2 ; | |
36ed4f51 RD |
3370 | int arg3 ; |
3371 | int result; | |
d14a1e28 | 3372 | PyObject * obj0 = 0 ; |
994141e6 | 3373 | PyObject * obj1 = 0 ; |
36ed4f51 | 3374 | PyObject * obj2 = 0 ; |
d14a1e28 | 3375 | char *kwnames[] = { |
36ed4f51 | 3376 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
d14a1e28 RD |
3377 | }; |
3378 | ||
36ed4f51 RD |
3379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3380 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3381 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3382 | { | |
32fe5131 | 3383 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3384 | if (SWIG_arg_fail(2)) SWIG_fail; |
3385 | } | |
3386 | { | |
32fe5131 | 3387 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3388 | if (SWIG_arg_fail(3)) SWIG_fail; |
3389 | } | |
d14a1e28 RD |
3390 | { |
3391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3392 | result = (int)(arg1)->MarkerAdd(arg2,arg3); |
d14a1e28 RD |
3393 | |
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
4f89f6a3 | 3397 | { |
32fe5131 | 3398 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 3399 | } |
d14a1e28 RD |
3400 | return resultobj; |
3401 | fail: | |
3402 | return NULL; | |
3403 | } | |
3404 | ||
3405 | ||
36ed4f51 | 3406 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3407 | PyObject *resultobj = NULL; |
d14a1e28 | 3408 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
3409 | int arg2 ; |
3410 | int arg3 ; | |
d14a1e28 | 3411 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
3412 | PyObject * obj1 = 0 ; |
3413 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3414 | char *kwnames[] = { |
36ed4f51 | 3415 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL |
d14a1e28 RD |
3416 | }; |
3417 | ||
36ed4f51 RD |
3418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3421 | { | |
32fe5131 | 3422 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3423 | if (SWIG_arg_fail(2)) SWIG_fail; |
3424 | } | |
3425 | { | |
32fe5131 | 3426 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3427 | if (SWIG_arg_fail(3)) SWIG_fail; |
3428 | } | |
d14a1e28 RD |
3429 | { |
3430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3431 | (arg1)->MarkerDelete(arg2,arg3); |
d14a1e28 RD |
3432 | |
3433 | wxPyEndAllowThreads(__tstate); | |
3434 | if (PyErr_Occurred()) SWIG_fail; | |
3435 | } | |
3436 | Py_INCREF(Py_None); resultobj = Py_None; | |
3437 | return resultobj; | |
3438 | fail: | |
3439 | return NULL; | |
3440 | } | |
3441 | ||
3442 | ||
36ed4f51 | 3443 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3444 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3445 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3446 | int arg2 ; | |
d14a1e28 | 3447 | PyObject * obj0 = 0 ; |
994141e6 | 3448 | PyObject * obj1 = 0 ; |
d14a1e28 | 3449 | char *kwnames[] = { |
36ed4f51 | 3450 | (char *) "self",(char *) "markerNumber", NULL |
d14a1e28 RD |
3451 | }; |
3452 | ||
36ed4f51 RD |
3453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail; |
3454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 3456 | { |
32fe5131 | 3457 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 3458 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
3459 | } |
3460 | { | |
3461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3462 | (arg1)->MarkerDeleteAll(arg2); |
d14a1e28 RD |
3463 | |
3464 | wxPyEndAllowThreads(__tstate); | |
3465 | if (PyErr_Occurred()) SWIG_fail; | |
3466 | } | |
3467 | Py_INCREF(Py_None); resultobj = Py_None; | |
3468 | return resultobj; | |
3469 | fail: | |
3470 | return NULL; | |
3471 | } | |
3472 | ||
3473 | ||
36ed4f51 | 3474 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3475 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3477 | int arg2 ; | |
36ed4f51 | 3478 | int result; |
d14a1e28 | 3479 | PyObject * obj0 = 0 ; |
994141e6 | 3480 | PyObject * obj1 = 0 ; |
d14a1e28 | 3481 | char *kwnames[] = { |
36ed4f51 | 3482 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
3483 | }; |
3484 | ||
36ed4f51 RD |
3485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail; |
3486 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3487 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 3488 | { |
32fe5131 | 3489 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 3490 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
3491 | } |
3492 | { | |
3493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3494 | result = (int)(arg1)->MarkerGet(arg2); |
d14a1e28 RD |
3495 | |
3496 | wxPyEndAllowThreads(__tstate); | |
3497 | if (PyErr_Occurred()) SWIG_fail; | |
3498 | } | |
36ed4f51 | 3499 | { |
32fe5131 | 3500 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 3501 | } |
d14a1e28 RD |
3502 | return resultobj; |
3503 | fail: | |
3504 | return NULL; | |
3505 | } | |
3506 | ||
3507 | ||
36ed4f51 | 3508 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3509 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3510 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3511 | int arg2 ; | |
36ed4f51 RD |
3512 | int arg3 ; |
3513 | int result; | |
d14a1e28 | 3514 | PyObject * obj0 = 0 ; |
994141e6 | 3515 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3516 | PyObject * obj2 = 0 ; |
3517 | char *kwnames[] = { | |
36ed4f51 | 3518 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
d14a1e28 RD |
3519 | }; |
3520 | ||
36ed4f51 RD |
3521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3522 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3523 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3524 | { | |
32fe5131 | 3525 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3526 | if (SWIG_arg_fail(2)) SWIG_fail; |
3527 | } | |
3528 | { | |
32fe5131 | 3529 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3530 | if (SWIG_arg_fail(3)) SWIG_fail; |
3531 | } | |
d14a1e28 RD |
3532 | { |
3533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3534 | result = (int)(arg1)->MarkerNext(arg2,arg3); |
d14a1e28 RD |
3535 | |
3536 | wxPyEndAllowThreads(__tstate); | |
3537 | if (PyErr_Occurred()) SWIG_fail; | |
3538 | } | |
36ed4f51 | 3539 | { |
32fe5131 | 3540 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 3541 | } |
d14a1e28 RD |
3542 | return resultobj; |
3543 | fail: | |
3544 | return NULL; | |
3545 | } | |
3546 | ||
3547 | ||
36ed4f51 | 3548 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3549 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3550 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3551 | int arg2 ; | |
36ed4f51 RD |
3552 | int arg3 ; |
3553 | int result; | |
d14a1e28 | 3554 | PyObject * obj0 = 0 ; |
994141e6 | 3555 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3556 | PyObject * obj2 = 0 ; |
3557 | char *kwnames[] = { | |
36ed4f51 | 3558 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL |
d14a1e28 RD |
3559 | }; |
3560 | ||
36ed4f51 RD |
3561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3562 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3563 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3564 | { | |
32fe5131 | 3565 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3566 | if (SWIG_arg_fail(2)) SWIG_fail; |
3567 | } | |
3568 | { | |
32fe5131 | 3569 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3570 | if (SWIG_arg_fail(3)) SWIG_fail; |
3571 | } | |
d14a1e28 RD |
3572 | { |
3573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3574 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); |
d14a1e28 RD |
3575 | |
3576 | wxPyEndAllowThreads(__tstate); | |
3577 | if (PyErr_Occurred()) SWIG_fail; | |
3578 | } | |
36ed4f51 | 3579 | { |
32fe5131 | 3580 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 3581 | } |
d14a1e28 RD |
3582 | return resultobj; |
3583 | fail: | |
3584 | return NULL; | |
3585 | } | |
3586 | ||
3587 | ||
36ed4f51 | 3588 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3589 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3591 | int arg2 ; | |
36ed4f51 | 3592 | wxBitmap *arg3 = 0 ; |
d14a1e28 | 3593 | PyObject * obj0 = 0 ; |
994141e6 RD |
3594 | PyObject * obj1 = 0 ; |
3595 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3596 | char *kwnames[] = { |
36ed4f51 | 3597 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL |
d14a1e28 RD |
3598 | }; |
3599 | ||
36ed4f51 RD |
3600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3601 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3602 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3603 | { | |
32fe5131 | 3604 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3605 | if (SWIG_arg_fail(2)) SWIG_fail; |
3606 | } | |
3607 | { | |
3608 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
3609 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3610 | if (arg3 == NULL) { | |
3611 | SWIG_null_ref("wxBitmap"); | |
3612 | } | |
3613 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3614 | } | |
d14a1e28 RD |
3615 | { |
3616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3617 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); |
d14a1e28 RD |
3618 | |
3619 | wxPyEndAllowThreads(__tstate); | |
3620 | if (PyErr_Occurred()) SWIG_fail; | |
3621 | } | |
3622 | Py_INCREF(Py_None); resultobj = Py_None; | |
3623 | return resultobj; | |
3624 | fail: | |
3625 | return NULL; | |
3626 | } | |
3627 | ||
3628 | ||
36ed4f51 | 3629 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3630 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3631 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3632 | int arg2 ; | |
36ed4f51 | 3633 | int arg3 ; |
d14a1e28 | 3634 | PyObject * obj0 = 0 ; |
994141e6 | 3635 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3636 | PyObject * obj2 = 0 ; |
3637 | char *kwnames[] = { | |
36ed4f51 | 3638 | (char *) "self",(char *) "margin",(char *) "marginType", NULL |
d14a1e28 RD |
3639 | }; |
3640 | ||
36ed4f51 RD |
3641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3642 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3643 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 3644 | { |
32fe5131 | 3645 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3646 | if (SWIG_arg_fail(2)) SWIG_fail; |
3647 | } | |
3648 | { | |
32fe5131 | 3649 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 | 3650 | if (SWIG_arg_fail(3)) SWIG_fail; |
d14a1e28 RD |
3651 | } |
3652 | { | |
3653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3654 | (arg1)->SetMarginType(arg2,arg3); |
d14a1e28 RD |
3655 | |
3656 | wxPyEndAllowThreads(__tstate); | |
3657 | if (PyErr_Occurred()) SWIG_fail; | |
3658 | } | |
3659 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
3660 | return resultobj; |
3661 | fail: | |
d14a1e28 RD |
3662 | return NULL; |
3663 | } | |
3664 | ||
3665 | ||
36ed4f51 | 3666 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3667 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3668 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3669 | int arg2 ; | |
36ed4f51 | 3670 | int result; |
d14a1e28 | 3671 | PyObject * obj0 = 0 ; |
994141e6 | 3672 | PyObject * obj1 = 0 ; |
d14a1e28 | 3673 | char *kwnames[] = { |
36ed4f51 | 3674 | (char *) "self",(char *) "margin", NULL |
d14a1e28 RD |
3675 | }; |
3676 | ||
36ed4f51 RD |
3677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail; |
3678 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3679 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3680 | { | |
32fe5131 | 3681 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3682 | if (SWIG_arg_fail(2)) SWIG_fail; |
3683 | } | |
d14a1e28 RD |
3684 | { |
3685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3686 | result = (int)(arg1)->GetMarginType(arg2); |
d14a1e28 RD |
3687 | |
3688 | wxPyEndAllowThreads(__tstate); | |
3689 | if (PyErr_Occurred()) SWIG_fail; | |
3690 | } | |
36ed4f51 | 3691 | { |
32fe5131 | 3692 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 3693 | } |
d14a1e28 RD |
3694 | return resultobj; |
3695 | fail: | |
3696 | return NULL; | |
3697 | } | |
3698 | ||
3699 | ||
36ed4f51 | 3700 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3701 | PyObject *resultobj = NULL; |
d14a1e28 | 3702 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
3703 | int arg2 ; |
3704 | int arg3 ; | |
d14a1e28 | 3705 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
3706 | PyObject * obj1 = 0 ; |
3707 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3708 | char *kwnames[] = { |
36ed4f51 | 3709 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL |
d14a1e28 RD |
3710 | }; |
3711 | ||
36ed4f51 RD |
3712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3713 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3714 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3715 | { | |
32fe5131 | 3716 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3717 | if (SWIG_arg_fail(2)) SWIG_fail; |
3718 | } | |
3719 | { | |
32fe5131 | 3720 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3721 | if (SWIG_arg_fail(3)) SWIG_fail; |
3722 | } | |
d14a1e28 RD |
3723 | { |
3724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3725 | (arg1)->SetMarginWidth(arg2,arg3); |
d14a1e28 RD |
3726 | |
3727 | wxPyEndAllowThreads(__tstate); | |
3728 | if (PyErr_Occurred()) SWIG_fail; | |
3729 | } | |
3730 | Py_INCREF(Py_None); resultobj = Py_None; | |
3731 | return resultobj; | |
3732 | fail: | |
3733 | return NULL; | |
3734 | } | |
3735 | ||
3736 | ||
36ed4f51 | 3737 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3738 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3739 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3740 | int arg2 ; | |
36ed4f51 | 3741 | int result; |
d14a1e28 | 3742 | PyObject * obj0 = 0 ; |
994141e6 | 3743 | PyObject * obj1 = 0 ; |
d14a1e28 | 3744 | char *kwnames[] = { |
36ed4f51 | 3745 | (char *) "self",(char *) "margin", NULL |
d14a1e28 RD |
3746 | }; |
3747 | ||
36ed4f51 RD |
3748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail; |
3749 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3750 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3751 | { | |
32fe5131 | 3752 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3753 | if (SWIG_arg_fail(2)) SWIG_fail; |
3754 | } | |
d14a1e28 RD |
3755 | { |
3756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3757 | result = (int)(arg1)->GetMarginWidth(arg2); |
d14a1e28 RD |
3758 | |
3759 | wxPyEndAllowThreads(__tstate); | |
3760 | if (PyErr_Occurred()) SWIG_fail; | |
3761 | } | |
36ed4f51 | 3762 | { |
32fe5131 | 3763 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 3764 | } |
d14a1e28 RD |
3765 | return resultobj; |
3766 | fail: | |
3767 | return NULL; | |
3768 | } | |
3769 | ||
3770 | ||
36ed4f51 | 3771 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3772 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3773 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3774 | int arg2 ; | |
3775 | int arg3 ; | |
3776 | PyObject * obj0 = 0 ; | |
994141e6 RD |
3777 | PyObject * obj1 = 0 ; |
3778 | PyObject * obj2 = 0 ; | |
d14a1e28 | 3779 | char *kwnames[] = { |
36ed4f51 | 3780 | (char *) "self",(char *) "margin",(char *) "mask", NULL |
d14a1e28 RD |
3781 | }; |
3782 | ||
36ed4f51 RD |
3783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3786 | { | |
32fe5131 | 3787 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3788 | if (SWIG_arg_fail(2)) SWIG_fail; |
3789 | } | |
3790 | { | |
32fe5131 | 3791 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
3792 | if (SWIG_arg_fail(3)) SWIG_fail; |
3793 | } | |
d14a1e28 RD |
3794 | { |
3795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3796 | (arg1)->SetMarginMask(arg2,arg3); |
d14a1e28 RD |
3797 | |
3798 | wxPyEndAllowThreads(__tstate); | |
3799 | if (PyErr_Occurred()) SWIG_fail; | |
3800 | } | |
3801 | Py_INCREF(Py_None); resultobj = Py_None; | |
3802 | return resultobj; | |
3803 | fail: | |
3804 | return NULL; | |
3805 | } | |
3806 | ||
3807 | ||
36ed4f51 | 3808 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3809 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3810 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3811 | int arg2 ; | |
36ed4f51 | 3812 | int result; |
d14a1e28 | 3813 | PyObject * obj0 = 0 ; |
994141e6 | 3814 | PyObject * obj1 = 0 ; |
d14a1e28 | 3815 | char *kwnames[] = { |
36ed4f51 | 3816 | (char *) "self",(char *) "margin", NULL |
d14a1e28 RD |
3817 | }; |
3818 | ||
36ed4f51 RD |
3819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail; |
3820 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3821 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3822 | { | |
32fe5131 | 3823 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3824 | if (SWIG_arg_fail(2)) SWIG_fail; |
3825 | } | |
d14a1e28 RD |
3826 | { |
3827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3828 | result = (int)(arg1)->GetMarginMask(arg2); |
d14a1e28 RD |
3829 | |
3830 | wxPyEndAllowThreads(__tstate); | |
3831 | if (PyErr_Occurred()) SWIG_fail; | |
3832 | } | |
36ed4f51 | 3833 | { |
32fe5131 | 3834 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 3835 | } |
d14a1e28 RD |
3836 | return resultobj; |
3837 | fail: | |
3838 | return NULL; | |
3839 | } | |
3840 | ||
3841 | ||
36ed4f51 | 3842 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3843 | PyObject *resultobj = NULL; |
d14a1e28 RD |
3844 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3845 | int arg2 ; | |
3846 | bool arg3 ; | |
3847 | PyObject * obj0 = 0 ; | |
994141e6 | 3848 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3849 | PyObject * obj2 = 0 ; |
3850 | char *kwnames[] = { | |
36ed4f51 | 3851 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL |
d14a1e28 RD |
3852 | }; |
3853 | ||
36ed4f51 RD |
3854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3857 | { | |
32fe5131 | 3858 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3859 | if (SWIG_arg_fail(2)) SWIG_fail; |
3860 | } | |
3861 | { | |
32fe5131 | 3862 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
3863 | if (SWIG_arg_fail(3)) SWIG_fail; |
3864 | } | |
d14a1e28 RD |
3865 | { |
3866 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3867 | (arg1)->SetMarginSensitive(arg2,arg3); |
d14a1e28 RD |
3868 | |
3869 | wxPyEndAllowThreads(__tstate); | |
3870 | if (PyErr_Occurred()) SWIG_fail; | |
3871 | } | |
3872 | Py_INCREF(Py_None); resultobj = Py_None; | |
3873 | return resultobj; | |
3874 | fail: | |
3875 | return NULL; | |
3876 | } | |
3877 | ||
3878 | ||
36ed4f51 | 3879 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3880 | PyObject *resultobj = NULL; |
d14a1e28 | 3881 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
3882 | int arg2 ; |
3883 | bool result; | |
d14a1e28 RD |
3884 | PyObject * obj0 = 0 ; |
3885 | PyObject * obj1 = 0 ; | |
d14a1e28 | 3886 | char *kwnames[] = { |
36ed4f51 | 3887 | (char *) "self",(char *) "margin", NULL |
d14a1e28 RD |
3888 | }; |
3889 | ||
36ed4f51 RD |
3890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail; |
3891 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3892 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 3893 | { |
32fe5131 | 3894 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 3895 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
3896 | } |
3897 | { | |
3898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 RD |
3899 | result = (bool)(arg1)->GetMarginSensitive(arg2); |
3900 | ||
3901 | wxPyEndAllowThreads(__tstate); | |
3902 | if (PyErr_Occurred()) SWIG_fail; | |
3903 | } | |
3904 | { | |
3905 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3906 | } | |
3907 | return resultobj; | |
3908 | fail: | |
3909 | return NULL; | |
3910 | } | |
3911 | ||
3912 | ||
3913 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 3914 | PyObject *resultobj = NULL; |
36ed4f51 RD |
3915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
3916 | PyObject * obj0 = 0 ; | |
3917 | char *kwnames[] = { | |
3918 | (char *) "self", NULL | |
3919 | }; | |
3920 | ||
3921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
3922 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3923 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3924 | { | |
3925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3926 | (arg1)->StyleClearAll(); | |
d14a1e28 RD |
3927 | |
3928 | wxPyEndAllowThreads(__tstate); | |
3929 | if (PyErr_Occurred()) SWIG_fail; | |
3930 | } | |
3931 | Py_INCREF(Py_None); resultobj = Py_None; | |
3932 | return resultobj; | |
3933 | fail: | |
3934 | return NULL; | |
3935 | } | |
3936 | ||
3937 | ||
36ed4f51 | 3938 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3939 | PyObject *resultobj = NULL; |
d14a1e28 | 3940 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 3941 | int arg2 ; |
d14a1e28 RD |
3942 | wxColour *arg3 = 0 ; |
3943 | wxColour temp3 ; | |
3944 | PyObject * obj0 = 0 ; | |
3945 | PyObject * obj1 = 0 ; | |
3946 | PyObject * obj2 = 0 ; | |
3947 | char *kwnames[] = { | |
36ed4f51 | 3948 | (char *) "self",(char *) "style",(char *) "fore", NULL |
d14a1e28 RD |
3949 | }; |
3950 | ||
36ed4f51 RD |
3951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3954 | { | |
32fe5131 | 3955 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3956 | if (SWIG_arg_fail(2)) SWIG_fail; |
3957 | } | |
d14a1e28 RD |
3958 | { |
3959 | arg3 = &temp3; | |
3960 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3961 | } | |
3962 | { | |
3963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 3964 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
3965 | |
3966 | wxPyEndAllowThreads(__tstate); | |
3967 | if (PyErr_Occurred()) SWIG_fail; | |
3968 | } | |
3969 | Py_INCREF(Py_None); resultobj = Py_None; | |
3970 | return resultobj; | |
3971 | fail: | |
3972 | return NULL; | |
3973 | } | |
3974 | ||
3975 | ||
36ed4f51 | 3976 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 3977 | PyObject *resultobj = NULL; |
d14a1e28 | 3978 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
3979 | int arg2 ; |
3980 | wxColour *arg3 = 0 ; | |
3981 | wxColour temp3 ; | |
d14a1e28 RD |
3982 | PyObject * obj0 = 0 ; |
3983 | PyObject * obj1 = 0 ; | |
36ed4f51 | 3984 | PyObject * obj2 = 0 ; |
d14a1e28 | 3985 | char *kwnames[] = { |
36ed4f51 | 3986 | (char *) "self",(char *) "style",(char *) "back", NULL |
d14a1e28 RD |
3987 | }; |
3988 | ||
36ed4f51 RD |
3989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
3990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 3992 | { |
32fe5131 | 3993 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
3994 | if (SWIG_arg_fail(2)) SWIG_fail; |
3995 | } | |
3996 | { | |
3997 | arg3 = &temp3; | |
3998 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
d14a1e28 RD |
3999 | } |
4000 | { | |
4001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4002 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
4003 | |
4004 | wxPyEndAllowThreads(__tstate); | |
4005 | if (PyErr_Occurred()) SWIG_fail; | |
4006 | } | |
4007 | Py_INCREF(Py_None); resultobj = Py_None; | |
4008 | return resultobj; | |
4009 | fail: | |
4010 | return NULL; | |
4011 | } | |
4012 | ||
4013 | ||
36ed4f51 | 4014 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4015 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4016 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4017 | int arg2 ; | |
36ed4f51 | 4018 | bool arg3 ; |
d14a1e28 | 4019 | PyObject * obj0 = 0 ; |
994141e6 RD |
4020 | PyObject * obj1 = 0 ; |
4021 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4022 | char *kwnames[] = { |
36ed4f51 | 4023 | (char *) "self",(char *) "style",(char *) "bold", NULL |
d14a1e28 RD |
4024 | }; |
4025 | ||
36ed4f51 RD |
4026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4029 | { | |
32fe5131 | 4030 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4031 | if (SWIG_arg_fail(2)) SWIG_fail; |
4032 | } | |
4033 | { | |
32fe5131 | 4034 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
4035 | if (SWIG_arg_fail(3)) SWIG_fail; |
4036 | } | |
d14a1e28 RD |
4037 | { |
4038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4039 | (arg1)->StyleSetBold(arg2,arg3); |
d14a1e28 RD |
4040 | |
4041 | wxPyEndAllowThreads(__tstate); | |
4042 | if (PyErr_Occurred()) SWIG_fail; | |
4043 | } | |
4044 | Py_INCREF(Py_None); resultobj = Py_None; | |
4045 | return resultobj; | |
4046 | fail: | |
4047 | return NULL; | |
4048 | } | |
4049 | ||
4050 | ||
36ed4f51 | 4051 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4052 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4054 | int arg2 ; | |
36ed4f51 | 4055 | bool arg3 ; |
d14a1e28 | 4056 | PyObject * obj0 = 0 ; |
994141e6 RD |
4057 | PyObject * obj1 = 0 ; |
4058 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4059 | char *kwnames[] = { |
36ed4f51 | 4060 | (char *) "self",(char *) "style",(char *) "italic", NULL |
d14a1e28 RD |
4061 | }; |
4062 | ||
36ed4f51 RD |
4063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4064 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4065 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4066 | { | |
32fe5131 | 4067 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4068 | if (SWIG_arg_fail(2)) SWIG_fail; |
4069 | } | |
4070 | { | |
32fe5131 | 4071 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
4072 | if (SWIG_arg_fail(3)) SWIG_fail; |
4073 | } | |
d14a1e28 RD |
4074 | { |
4075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4076 | (arg1)->StyleSetItalic(arg2,arg3); |
d14a1e28 RD |
4077 | |
4078 | wxPyEndAllowThreads(__tstate); | |
4079 | if (PyErr_Occurred()) SWIG_fail; | |
4080 | } | |
4081 | Py_INCREF(Py_None); resultobj = Py_None; | |
4082 | return resultobj; | |
4083 | fail: | |
4084 | return NULL; | |
4085 | } | |
4086 | ||
4087 | ||
36ed4f51 | 4088 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4089 | PyObject *resultobj = NULL; |
d14a1e28 | 4090 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4091 | int arg2 ; |
4092 | int arg3 ; | |
d14a1e28 | 4093 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
4094 | PyObject * obj1 = 0 ; |
4095 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4096 | char *kwnames[] = { |
36ed4f51 | 4097 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL |
d14a1e28 RD |
4098 | }; |
4099 | ||
36ed4f51 RD |
4100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4101 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4102 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4103 | { | |
32fe5131 | 4104 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4105 | if (SWIG_arg_fail(2)) SWIG_fail; |
4106 | } | |
4107 | { | |
32fe5131 | 4108 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
4109 | if (SWIG_arg_fail(3)) SWIG_fail; |
4110 | } | |
d14a1e28 RD |
4111 | { |
4112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4113 | (arg1)->StyleSetSize(arg2,arg3); |
d14a1e28 RD |
4114 | |
4115 | wxPyEndAllowThreads(__tstate); | |
4116 | if (PyErr_Occurred()) SWIG_fail; | |
4117 | } | |
4118 | Py_INCREF(Py_None); resultobj = Py_None; | |
4119 | return resultobj; | |
4120 | fail: | |
4121 | return NULL; | |
4122 | } | |
4123 | ||
4124 | ||
36ed4f51 | 4125 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4126 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4127 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4128 | int arg2 ; | |
36ed4f51 RD |
4129 | wxString *arg3 = 0 ; |
4130 | bool temp3 = false ; | |
d14a1e28 | 4131 | PyObject * obj0 = 0 ; |
994141e6 RD |
4132 | PyObject * obj1 = 0 ; |
4133 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4134 | char *kwnames[] = { |
36ed4f51 | 4135 | (char *) "self",(char *) "style",(char *) "fontName", NULL |
d14a1e28 RD |
4136 | }; |
4137 | ||
36ed4f51 RD |
4138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4139 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4140 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4141 | { | |
32fe5131 | 4142 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4143 | if (SWIG_arg_fail(2)) SWIG_fail; |
4144 | } | |
4145 | { | |
4146 | arg3 = wxString_in_helper(obj2); | |
4147 | if (arg3 == NULL) SWIG_fail; | |
4148 | temp3 = true; | |
4149 | } | |
d14a1e28 RD |
4150 | { |
4151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4152 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
4153 | |
4154 | wxPyEndAllowThreads(__tstate); | |
4155 | if (PyErr_Occurred()) SWIG_fail; | |
4156 | } | |
4157 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
4158 | { |
4159 | if (temp3) | |
4160 | delete arg3; | |
4161 | } | |
d14a1e28 RD |
4162 | return resultobj; |
4163 | fail: | |
36ed4f51 RD |
4164 | { |
4165 | if (temp3) | |
4166 | delete arg3; | |
4167 | } | |
d14a1e28 RD |
4168 | return NULL; |
4169 | } | |
4170 | ||
4171 | ||
36ed4f51 | 4172 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4173 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4174 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4175 | int arg2 ; | |
4176 | bool arg3 ; | |
4177 | PyObject * obj0 = 0 ; | |
994141e6 | 4178 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4179 | PyObject * obj2 = 0 ; |
4180 | char *kwnames[] = { | |
36ed4f51 | 4181 | (char *) "self",(char *) "style",(char *) "filled", NULL |
d14a1e28 RD |
4182 | }; |
4183 | ||
36ed4f51 RD |
4184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4185 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4186 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4187 | { | |
32fe5131 | 4188 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4189 | if (SWIG_arg_fail(2)) SWIG_fail; |
4190 | } | |
4191 | { | |
32fe5131 | 4192 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
4193 | if (SWIG_arg_fail(3)) SWIG_fail; |
4194 | } | |
d14a1e28 RD |
4195 | { |
4196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4197 | (arg1)->StyleSetEOLFilled(arg2,arg3); |
d14a1e28 RD |
4198 | |
4199 | wxPyEndAllowThreads(__tstate); | |
4200 | if (PyErr_Occurred()) SWIG_fail; | |
4201 | } | |
4202 | Py_INCREF(Py_None); resultobj = Py_None; | |
4203 | return resultobj; | |
4204 | fail: | |
4205 | return NULL; | |
4206 | } | |
4207 | ||
4208 | ||
36ed4f51 | 4209 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4210 | PyObject *resultobj = NULL; |
d14a1e28 | 4211 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
4212 | PyObject * obj0 = 0 ; |
4213 | char *kwnames[] = { | |
4214 | (char *) "self", NULL | |
4215 | }; | |
4216 | ||
36ed4f51 RD |
4217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; |
4218 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4219 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4220 | { |
4221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4222 | (arg1)->StyleResetDefault(); |
d14a1e28 RD |
4223 | |
4224 | wxPyEndAllowThreads(__tstate); | |
4225 | if (PyErr_Occurred()) SWIG_fail; | |
4226 | } | |
36ed4f51 | 4227 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4228 | return resultobj; |
4229 | fail: | |
4230 | return NULL; | |
4231 | } | |
4232 | ||
4233 | ||
36ed4f51 | 4234 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4235 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4236 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4237 | int arg2 ; | |
36ed4f51 | 4238 | bool arg3 ; |
d14a1e28 | 4239 | PyObject * obj0 = 0 ; |
994141e6 | 4240 | PyObject * obj1 = 0 ; |
36ed4f51 | 4241 | PyObject * obj2 = 0 ; |
d14a1e28 | 4242 | char *kwnames[] = { |
36ed4f51 | 4243 | (char *) "self",(char *) "style",(char *) "underline", NULL |
d14a1e28 RD |
4244 | }; |
4245 | ||
36ed4f51 RD |
4246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4249 | { |
32fe5131 | 4250 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 4251 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 | 4252 | } |
d14a1e28 | 4253 | { |
32fe5131 | 4254 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 | 4255 | if (SWIG_arg_fail(3)) SWIG_fail; |
d14a1e28 RD |
4256 | } |
4257 | { | |
4258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4259 | (arg1)->StyleSetUnderline(arg2,arg3); |
d14a1e28 RD |
4260 | |
4261 | wxPyEndAllowThreads(__tstate); | |
4262 | if (PyErr_Occurred()) SWIG_fail; | |
4263 | } | |
4264 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
4265 | return resultobj; |
4266 | fail: | |
d14a1e28 RD |
4267 | return NULL; |
4268 | } | |
4269 | ||
4270 | ||
36ed4f51 | 4271 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4272 | PyObject *resultobj = NULL; |
d14a1e28 | 4273 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4274 | int arg2 ; |
4275 | int arg3 ; | |
d14a1e28 | 4276 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
4277 | PyObject * obj1 = 0 ; |
4278 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4279 | char *kwnames[] = { |
36ed4f51 | 4280 | (char *) "self",(char *) "style",(char *) "caseForce", NULL |
d14a1e28 RD |
4281 | }; |
4282 | ||
36ed4f51 RD |
4283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4284 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4285 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4286 | { |
32fe5131 | 4287 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4288 | if (SWIG_arg_fail(2)) SWIG_fail; |
4289 | } | |
4290 | { | |
32fe5131 | 4291 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 | 4292 | if (SWIG_arg_fail(3)) SWIG_fail; |
d14a1e28 | 4293 | } |
d14a1e28 RD |
4294 | { |
4295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4296 | (arg1)->StyleSetCase(arg2,arg3); |
d14a1e28 RD |
4297 | |
4298 | wxPyEndAllowThreads(__tstate); | |
4299 | if (PyErr_Occurred()) SWIG_fail; | |
4300 | } | |
4301 | Py_INCREF(Py_None); resultobj = Py_None; | |
4302 | return resultobj; | |
4303 | fail: | |
4304 | return NULL; | |
4305 | } | |
4306 | ||
4307 | ||
36ed4f51 | 4308 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4309 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4310 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4311 | int arg2 ; | |
36ed4f51 | 4312 | bool arg3 ; |
d14a1e28 | 4313 | PyObject * obj0 = 0 ; |
994141e6 | 4314 | PyObject * obj1 = 0 ; |
36ed4f51 | 4315 | PyObject * obj2 = 0 ; |
d14a1e28 | 4316 | char *kwnames[] = { |
36ed4f51 | 4317 | (char *) "self",(char *) "style",(char *) "hotspot", NULL |
d14a1e28 RD |
4318 | }; |
4319 | ||
36ed4f51 RD |
4320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4323 | { | |
32fe5131 | 4324 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4325 | if (SWIG_arg_fail(2)) SWIG_fail; |
4326 | } | |
4327 | { | |
32fe5131 | 4328 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
4329 | if (SWIG_arg_fail(3)) SWIG_fail; |
4330 | } | |
d14a1e28 RD |
4331 | { |
4332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4333 | (arg1)->StyleSetHotSpot(arg2,arg3); |
d14a1e28 RD |
4334 | |
4335 | wxPyEndAllowThreads(__tstate); | |
4336 | if (PyErr_Occurred()) SWIG_fail; | |
4337 | } | |
36ed4f51 | 4338 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4339 | return resultobj; |
4340 | fail: | |
4341 | return NULL; | |
4342 | } | |
4343 | ||
4344 | ||
36ed4f51 | 4345 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4346 | PyObject *resultobj = NULL; |
d14a1e28 | 4347 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 4348 | bool arg2 ; |
d14a1e28 RD |
4349 | wxColour *arg3 = 0 ; |
4350 | wxColour temp3 ; | |
4351 | PyObject * obj0 = 0 ; | |
994141e6 | 4352 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4353 | PyObject * obj2 = 0 ; |
4354 | char *kwnames[] = { | |
36ed4f51 | 4355 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
d14a1e28 RD |
4356 | }; |
4357 | ||
36ed4f51 RD |
4358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4361 | { | |
32fe5131 | 4362 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
4363 | if (SWIG_arg_fail(2)) SWIG_fail; |
4364 | } | |
d14a1e28 RD |
4365 | { |
4366 | arg3 = &temp3; | |
4367 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4368 | } | |
4369 | { | |
4370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4371 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
4372 | |
4373 | wxPyEndAllowThreads(__tstate); | |
4374 | if (PyErr_Occurred()) SWIG_fail; | |
4375 | } | |
4376 | Py_INCREF(Py_None); resultobj = Py_None; | |
4377 | return resultobj; | |
4378 | fail: | |
4379 | return NULL; | |
4380 | } | |
4381 | ||
4382 | ||
36ed4f51 | 4383 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4384 | PyObject *resultobj = NULL; |
d14a1e28 | 4385 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4386 | bool arg2 ; |
4387 | wxColour *arg3 = 0 ; | |
4388 | wxColour temp3 ; | |
d14a1e28 | 4389 | PyObject * obj0 = 0 ; |
994141e6 | 4390 | PyObject * obj1 = 0 ; |
36ed4f51 | 4391 | PyObject * obj2 = 0 ; |
d14a1e28 | 4392 | char *kwnames[] = { |
36ed4f51 | 4393 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
d14a1e28 RD |
4394 | }; |
4395 | ||
36ed4f51 RD |
4396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4399 | { | |
32fe5131 | 4400 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
4401 | if (SWIG_arg_fail(2)) SWIG_fail; |
4402 | } | |
4403 | { | |
4404 | arg3 = &temp3; | |
4405 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4406 | } | |
d14a1e28 RD |
4407 | { |
4408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4409 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
4410 | |
4411 | wxPyEndAllowThreads(__tstate); | |
4412 | if (PyErr_Occurred()) SWIG_fail; | |
4413 | } | |
36ed4f51 | 4414 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4415 | return resultobj; |
4416 | fail: | |
4417 | return NULL; | |
4418 | } | |
4419 | ||
4420 | ||
36ed4f51 | 4421 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4422 | PyObject *resultobj = NULL; |
d14a1e28 | 4423 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4424 | wxColour *arg2 = 0 ; |
4425 | wxColour temp2 ; | |
d14a1e28 RD |
4426 | PyObject * obj0 = 0 ; |
4427 | PyObject * obj1 = 0 ; | |
d14a1e28 | 4428 | char *kwnames[] = { |
36ed4f51 | 4429 | (char *) "self",(char *) "fore", NULL |
d14a1e28 RD |
4430 | }; |
4431 | ||
36ed4f51 RD |
4432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; |
4433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4435 | { |
36ed4f51 RD |
4436 | arg2 = &temp2; |
4437 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
d14a1e28 RD |
4438 | } |
4439 | { | |
4440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4441 | (arg1)->SetCaretForeground((wxColour const &)*arg2); |
d14a1e28 RD |
4442 | |
4443 | wxPyEndAllowThreads(__tstate); | |
4444 | if (PyErr_Occurred()) SWIG_fail; | |
4445 | } | |
4446 | Py_INCREF(Py_None); resultobj = Py_None; | |
4447 | return resultobj; | |
4448 | fail: | |
4449 | return NULL; | |
4450 | } | |
4451 | ||
4452 | ||
36ed4f51 | 4453 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4454 | PyObject *resultobj = NULL; |
d14a1e28 | 4455 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4456 | int arg2 ; |
4457 | int arg3 ; | |
4458 | int arg4 ; | |
d14a1e28 RD |
4459 | PyObject * obj0 = 0 ; |
4460 | PyObject * obj1 = 0 ; | |
4461 | PyObject * obj2 = 0 ; | |
36ed4f51 | 4462 | PyObject * obj3 = 0 ; |
d14a1e28 | 4463 | char *kwnames[] = { |
36ed4f51 | 4464 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL |
d14a1e28 RD |
4465 | }; |
4466 | ||
36ed4f51 RD |
4467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
4468 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4469 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4470 | { |
32fe5131 | 4471 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4472 | if (SWIG_arg_fail(2)) SWIG_fail; |
4473 | } | |
4474 | { | |
32fe5131 | 4475 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
4476 | if (SWIG_arg_fail(3)) SWIG_fail; |
4477 | } | |
4478 | { | |
32fe5131 | 4479 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
36ed4f51 | 4480 | if (SWIG_arg_fail(4)) SWIG_fail; |
d14a1e28 RD |
4481 | } |
4482 | { | |
4483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4484 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); |
d14a1e28 RD |
4485 | |
4486 | wxPyEndAllowThreads(__tstate); | |
4487 | if (PyErr_Occurred()) SWIG_fail; | |
4488 | } | |
4489 | Py_INCREF(Py_None); resultobj = Py_None; | |
4490 | return resultobj; | |
4491 | fail: | |
4492 | return NULL; | |
4493 | } | |
4494 | ||
4495 | ||
36ed4f51 | 4496 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4497 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4498 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4499 | int arg2 ; | |
36ed4f51 | 4500 | int arg3 ; |
d14a1e28 | 4501 | PyObject * obj0 = 0 ; |
994141e6 | 4502 | PyObject * obj1 = 0 ; |
36ed4f51 | 4503 | PyObject * obj2 = 0 ; |
d14a1e28 | 4504 | char *kwnames[] = { |
36ed4f51 | 4505 | (char *) "self",(char *) "key",(char *) "modifiers", NULL |
d14a1e28 RD |
4506 | }; |
4507 | ||
36ed4f51 RD |
4508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4511 | { | |
32fe5131 | 4512 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4513 | if (SWIG_arg_fail(2)) SWIG_fail; |
4514 | } | |
4515 | { | |
32fe5131 | 4516 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
4517 | if (SWIG_arg_fail(3)) SWIG_fail; |
4518 | } | |
d14a1e28 RD |
4519 | { |
4520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4521 | (arg1)->CmdKeyClear(arg2,arg3); |
d14a1e28 RD |
4522 | |
4523 | wxPyEndAllowThreads(__tstate); | |
4524 | if (PyErr_Occurred()) SWIG_fail; | |
4525 | } | |
4526 | Py_INCREF(Py_None); resultobj = Py_None; | |
4527 | return resultobj; | |
4528 | fail: | |
4529 | return NULL; | |
4530 | } | |
4531 | ||
4532 | ||
36ed4f51 | 4533 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4534 | PyObject *resultobj = NULL; |
d14a1e28 | 4535 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
4536 | PyObject * obj0 = 0 ; |
4537 | char *kwnames[] = { | |
4538 | (char *) "self", NULL | |
4539 | }; | |
4540 | ||
36ed4f51 RD |
4541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; |
4542 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4543 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4544 | { |
4545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4546 | (arg1)->CmdKeyClearAll(); |
d14a1e28 RD |
4547 | |
4548 | wxPyEndAllowThreads(__tstate); | |
4549 | if (PyErr_Occurred()) SWIG_fail; | |
4550 | } | |
36ed4f51 | 4551 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4552 | return resultobj; |
4553 | fail: | |
4554 | return NULL; | |
4555 | } | |
4556 | ||
4557 | ||
36ed4f51 | 4558 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4559 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4560 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4561 | int arg2 ; | |
36ed4f51 | 4562 | char *arg3 = (char *) 0 ; |
d14a1e28 | 4563 | PyObject * obj0 = 0 ; |
994141e6 RD |
4564 | PyObject * obj1 = 0 ; |
4565 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4566 | char *kwnames[] = { |
36ed4f51 | 4567 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL |
d14a1e28 RD |
4568 | }; |
4569 | ||
36ed4f51 RD |
4570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4573 | { | |
32fe5131 | 4574 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4575 | if (SWIG_arg_fail(2)) SWIG_fail; |
4576 | } | |
4577 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
4578 | SWIG_arg_fail(3);SWIG_fail; | |
4579 | } | |
d14a1e28 RD |
4580 | { |
4581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4582 | (arg1)->SetStyleBytes(arg2,arg3); |
d14a1e28 RD |
4583 | |
4584 | wxPyEndAllowThreads(__tstate); | |
4585 | if (PyErr_Occurred()) SWIG_fail; | |
4586 | } | |
4587 | Py_INCREF(Py_None); resultobj = Py_None; | |
4588 | return resultobj; | |
4589 | fail: | |
4590 | return NULL; | |
4591 | } | |
4592 | ||
4593 | ||
36ed4f51 | 4594 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4595 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4596 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4597 | int arg2 ; | |
36ed4f51 | 4598 | bool arg3 ; |
d14a1e28 | 4599 | PyObject * obj0 = 0 ; |
994141e6 | 4600 | PyObject * obj1 = 0 ; |
36ed4f51 | 4601 | PyObject * obj2 = 0 ; |
d14a1e28 | 4602 | char *kwnames[] = { |
36ed4f51 | 4603 | (char *) "self",(char *) "style",(char *) "visible", NULL |
d14a1e28 RD |
4604 | }; |
4605 | ||
36ed4f51 RD |
4606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4607 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4609 | { | |
32fe5131 | 4610 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4611 | if (SWIG_arg_fail(2)) SWIG_fail; |
4612 | } | |
4613 | { | |
32fe5131 | 4614 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
4615 | if (SWIG_arg_fail(3)) SWIG_fail; |
4616 | } | |
d14a1e28 RD |
4617 | { |
4618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4619 | (arg1)->StyleSetVisible(arg2,arg3); |
d14a1e28 RD |
4620 | |
4621 | wxPyEndAllowThreads(__tstate); | |
4622 | if (PyErr_Occurred()) SWIG_fail; | |
4623 | } | |
36ed4f51 | 4624 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4625 | return resultobj; |
4626 | fail: | |
4627 | return NULL; | |
4628 | } | |
4629 | ||
4630 | ||
36ed4f51 | 4631 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4632 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4633 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4634 | int result; | |
4635 | PyObject * obj0 = 0 ; | |
4636 | char *kwnames[] = { | |
4637 | (char *) "self", NULL | |
4638 | }; | |
4639 | ||
36ed4f51 RD |
4640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; |
4641 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4642 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4643 | { |
4644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4645 | result = (int)(arg1)->GetCaretPeriod(); |
d14a1e28 RD |
4646 | |
4647 | wxPyEndAllowThreads(__tstate); | |
4648 | if (PyErr_Occurred()) SWIG_fail; | |
4649 | } | |
36ed4f51 | 4650 | { |
32fe5131 | 4651 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 4652 | } |
d14a1e28 RD |
4653 | return resultobj; |
4654 | fail: | |
4655 | return NULL; | |
4656 | } | |
4657 | ||
4658 | ||
36ed4f51 | 4659 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4660 | PyObject *resultobj = NULL; |
d14a1e28 | 4661 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 4662 | int arg2 ; |
d14a1e28 | 4663 | PyObject * obj0 = 0 ; |
36ed4f51 | 4664 | PyObject * obj1 = 0 ; |
d14a1e28 | 4665 | char *kwnames[] = { |
36ed4f51 | 4666 | (char *) "self",(char *) "periodMilliseconds", NULL |
d14a1e28 RD |
4667 | }; |
4668 | ||
36ed4f51 RD |
4669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail; |
4670 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4671 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4672 | { | |
32fe5131 | 4673 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4674 | if (SWIG_arg_fail(2)) SWIG_fail; |
4675 | } | |
d14a1e28 RD |
4676 | { |
4677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4678 | (arg1)->SetCaretPeriod(arg2); |
d14a1e28 RD |
4679 | |
4680 | wxPyEndAllowThreads(__tstate); | |
4681 | if (PyErr_Occurred()) SWIG_fail; | |
4682 | } | |
36ed4f51 | 4683 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4684 | return resultobj; |
4685 | fail: | |
4686 | return NULL; | |
4687 | } | |
4688 | ||
4689 | ||
36ed4f51 | 4690 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4691 | PyObject *resultobj = NULL; |
d14a1e28 | 4692 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4693 | wxString *arg2 = 0 ; |
4694 | bool temp2 = false ; | |
d14a1e28 RD |
4695 | PyObject * obj0 = 0 ; |
4696 | PyObject * obj1 = 0 ; | |
4697 | char *kwnames[] = { | |
36ed4f51 | 4698 | (char *) "self",(char *) "characters", NULL |
d14a1e28 RD |
4699 | }; |
4700 | ||
36ed4f51 RD |
4701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; |
4702 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4703 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4704 | { | |
4705 | arg2 = wxString_in_helper(obj1); | |
4706 | if (arg2 == NULL) SWIG_fail; | |
4707 | temp2 = true; | |
4708 | } | |
d14a1e28 RD |
4709 | { |
4710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4711 | (arg1)->SetWordChars((wxString const &)*arg2); |
d14a1e28 RD |
4712 | |
4713 | wxPyEndAllowThreads(__tstate); | |
4714 | if (PyErr_Occurred()) SWIG_fail; | |
4715 | } | |
4716 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
4717 | { |
4718 | if (temp2) | |
4719 | delete arg2; | |
4720 | } | |
d14a1e28 RD |
4721 | return resultobj; |
4722 | fail: | |
36ed4f51 RD |
4723 | { |
4724 | if (temp2) | |
4725 | delete arg2; | |
4726 | } | |
d14a1e28 RD |
4727 | return NULL; |
4728 | } | |
4729 | ||
4730 | ||
36ed4f51 | 4731 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4732 | PyObject *resultobj = NULL; |
d14a1e28 | 4733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
4734 | PyObject * obj0 = 0 ; |
4735 | char *kwnames[] = { | |
4736 | (char *) "self", NULL | |
4737 | }; | |
4738 | ||
36ed4f51 RD |
4739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; |
4740 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4741 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4742 | { |
4743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4744 | (arg1)->BeginUndoAction(); |
d14a1e28 RD |
4745 | |
4746 | wxPyEndAllowThreads(__tstate); | |
4747 | if (PyErr_Occurred()) SWIG_fail; | |
4748 | } | |
36ed4f51 | 4749 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4750 | return resultobj; |
4751 | fail: | |
4752 | return NULL; | |
4753 | } | |
4754 | ||
4755 | ||
36ed4f51 | 4756 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4757 | PyObject *resultobj = NULL; |
d14a1e28 | 4758 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 4759 | PyObject * obj0 = 0 ; |
d14a1e28 | 4760 | char *kwnames[] = { |
36ed4f51 | 4761 | (char *) "self", NULL |
d14a1e28 RD |
4762 | }; |
4763 | ||
36ed4f51 RD |
4764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; |
4765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
4767 | { |
4768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4769 | (arg1)->EndUndoAction(); |
d14a1e28 RD |
4770 | |
4771 | wxPyEndAllowThreads(__tstate); | |
4772 | if (PyErr_Occurred()) SWIG_fail; | |
4773 | } | |
4774 | Py_INCREF(Py_None); resultobj = Py_None; | |
4775 | return resultobj; | |
4776 | fail: | |
4777 | return NULL; | |
4778 | } | |
4779 | ||
4780 | ||
36ed4f51 | 4781 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4782 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4783 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4784 | int arg2 ; | |
36ed4f51 | 4785 | int arg3 ; |
d14a1e28 | 4786 | PyObject * obj0 = 0 ; |
994141e6 | 4787 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4788 | PyObject * obj2 = 0 ; |
4789 | char *kwnames[] = { | |
36ed4f51 | 4790 | (char *) "self",(char *) "indic",(char *) "style", NULL |
d14a1e28 RD |
4791 | }; |
4792 | ||
36ed4f51 RD |
4793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4794 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4795 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4796 | { | |
32fe5131 | 4797 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4798 | if (SWIG_arg_fail(2)) SWIG_fail; |
4799 | } | |
4800 | { | |
32fe5131 | 4801 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
4802 | if (SWIG_arg_fail(3)) SWIG_fail; |
4803 | } | |
d14a1e28 RD |
4804 | { |
4805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4806 | (arg1)->IndicatorSetStyle(arg2,arg3); |
d14a1e28 RD |
4807 | |
4808 | wxPyEndAllowThreads(__tstate); | |
4809 | if (PyErr_Occurred()) SWIG_fail; | |
4810 | } | |
4811 | Py_INCREF(Py_None); resultobj = Py_None; | |
4812 | return resultobj; | |
4813 | fail: | |
4814 | return NULL; | |
4815 | } | |
4816 | ||
4817 | ||
36ed4f51 | 4818 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4819 | PyObject *resultobj = NULL; |
d14a1e28 RD |
4820 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4821 | int arg2 ; | |
36ed4f51 | 4822 | int result; |
d14a1e28 | 4823 | PyObject * obj0 = 0 ; |
994141e6 | 4824 | PyObject * obj1 = 0 ; |
d14a1e28 | 4825 | char *kwnames[] = { |
36ed4f51 | 4826 | (char *) "self",(char *) "indic", NULL |
d14a1e28 RD |
4827 | }; |
4828 | ||
36ed4f51 RD |
4829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail; |
4830 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4831 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 4832 | { |
32fe5131 | 4833 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 4834 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
4835 | } |
4836 | { | |
4837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4838 | result = (int)(arg1)->IndicatorGetStyle(arg2); |
d14a1e28 RD |
4839 | |
4840 | wxPyEndAllowThreads(__tstate); | |
4841 | if (PyErr_Occurred()) SWIG_fail; | |
4842 | } | |
d14a1e28 | 4843 | { |
32fe5131 | 4844 | resultobj = SWIG_From_int(static_cast<int >(result)); |
d14a1e28 RD |
4845 | } |
4846 | return resultobj; | |
4847 | fail: | |
d14a1e28 RD |
4848 | return NULL; |
4849 | } | |
4850 | ||
4851 | ||
36ed4f51 | 4852 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4853 | PyObject *resultobj = NULL; |
d14a1e28 | 4854 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4855 | int arg2 ; |
4856 | wxColour *arg3 = 0 ; | |
4857 | wxColour temp3 ; | |
d14a1e28 | 4858 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
4859 | PyObject * obj1 = 0 ; |
4860 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4861 | char *kwnames[] = { |
36ed4f51 | 4862 | (char *) "self",(char *) "indic",(char *) "fore", NULL |
d14a1e28 RD |
4863 | }; |
4864 | ||
36ed4f51 RD |
4865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4866 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4867 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4868 | { | |
32fe5131 | 4869 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4870 | if (SWIG_arg_fail(2)) SWIG_fail; |
4871 | } | |
4872 | { | |
4873 | arg3 = &temp3; | |
4874 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4875 | } | |
d14a1e28 RD |
4876 | { |
4877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4878 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
4879 | |
4880 | wxPyEndAllowThreads(__tstate); | |
4881 | if (PyErr_Occurred()) SWIG_fail; | |
4882 | } | |
4883 | Py_INCREF(Py_None); resultobj = Py_None; | |
4884 | return resultobj; | |
4885 | fail: | |
4886 | return NULL; | |
4887 | } | |
4888 | ||
4889 | ||
36ed4f51 | 4890 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4891 | PyObject *resultobj = NULL; |
d14a1e28 | 4892 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4893 | int arg2 ; |
4894 | wxColour result; | |
d14a1e28 | 4895 | PyObject * obj0 = 0 ; |
36ed4f51 | 4896 | PyObject * obj1 = 0 ; |
d14a1e28 | 4897 | char *kwnames[] = { |
36ed4f51 | 4898 | (char *) "self",(char *) "indic", NULL |
d14a1e28 RD |
4899 | }; |
4900 | ||
36ed4f51 RD |
4901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail; |
4902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4904 | { | |
32fe5131 | 4905 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
4906 | if (SWIG_arg_fail(2)) SWIG_fail; |
4907 | } | |
d14a1e28 RD |
4908 | { |
4909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4910 | result = (arg1)->IndicatorGetForeground(arg2); |
d14a1e28 RD |
4911 | |
4912 | wxPyEndAllowThreads(__tstate); | |
4913 | if (PyErr_Occurred()) SWIG_fail; | |
4914 | } | |
4f89f6a3 | 4915 | { |
36ed4f51 | 4916 | wxColour * resultptr; |
32fe5131 | 4917 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
36ed4f51 | 4918 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
4f89f6a3 | 4919 | } |
d14a1e28 RD |
4920 | return resultobj; |
4921 | fail: | |
4922 | return NULL; | |
4923 | } | |
4924 | ||
4925 | ||
36ed4f51 | 4926 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4927 | PyObject *resultobj = NULL; |
d14a1e28 | 4928 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4929 | bool arg2 ; |
4930 | wxColour *arg3 = 0 ; | |
4931 | wxColour temp3 ; | |
d14a1e28 | 4932 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
4933 | PyObject * obj1 = 0 ; |
4934 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4935 | char *kwnames[] = { |
36ed4f51 | 4936 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
d14a1e28 RD |
4937 | }; |
4938 | ||
36ed4f51 RD |
4939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4940 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4941 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4942 | { | |
32fe5131 | 4943 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
4944 | if (SWIG_arg_fail(2)) SWIG_fail; |
4945 | } | |
4946 | { | |
4947 | arg3 = &temp3; | |
4948 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4949 | } | |
d14a1e28 RD |
4950 | { |
4951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4952 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
4953 | |
4954 | wxPyEndAllowThreads(__tstate); | |
4955 | if (PyErr_Occurred()) SWIG_fail; | |
4956 | } | |
36ed4f51 | 4957 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
4958 | return resultobj; |
4959 | fail: | |
4960 | return NULL; | |
4961 | } | |
4962 | ||
4963 | ||
36ed4f51 | 4964 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 4965 | PyObject *resultobj = NULL; |
d14a1e28 | 4966 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
4967 | bool arg2 ; |
4968 | wxColour *arg3 = 0 ; | |
4969 | wxColour temp3 ; | |
d14a1e28 | 4970 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
4971 | PyObject * obj1 = 0 ; |
4972 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4973 | char *kwnames[] = { |
36ed4f51 | 4974 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
d14a1e28 RD |
4975 | }; |
4976 | ||
36ed4f51 RD |
4977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
4978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4980 | { | |
32fe5131 | 4981 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
4982 | if (SWIG_arg_fail(2)) SWIG_fail; |
4983 | } | |
4984 | { | |
4985 | arg3 = &temp3; | |
4986 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4987 | } | |
d14a1e28 RD |
4988 | { |
4989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 4990 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
4991 | |
4992 | wxPyEndAllowThreads(__tstate); | |
4993 | if (PyErr_Occurred()) SWIG_fail; | |
4994 | } | |
4995 | Py_INCREF(Py_None); resultobj = Py_None; | |
4996 | return resultobj; | |
4997 | fail: | |
4998 | return NULL; | |
4999 | } | |
5000 | ||
5001 | ||
36ed4f51 | 5002 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5003 | PyObject *resultobj = NULL; |
d14a1e28 | 5004 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5005 | int arg2 ; |
d14a1e28 RD |
5006 | PyObject * obj0 = 0 ; |
5007 | PyObject * obj1 = 0 ; | |
5008 | char *kwnames[] = { | |
36ed4f51 | 5009 | (char *) "self",(char *) "bits", NULL |
d14a1e28 RD |
5010 | }; |
5011 | ||
36ed4f51 RD |
5012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail; |
5013 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5014 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 5015 | { |
32fe5131 | 5016 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 5017 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
5018 | } |
5019 | { | |
5020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5021 | (arg1)->SetStyleBits(arg2); |
d14a1e28 RD |
5022 | |
5023 | wxPyEndAllowThreads(__tstate); | |
5024 | if (PyErr_Occurred()) SWIG_fail; | |
5025 | } | |
5026 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
5027 | return resultobj; |
5028 | fail: | |
d14a1e28 RD |
5029 | return NULL; |
5030 | } | |
5031 | ||
5032 | ||
36ed4f51 | 5033 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5034 | PyObject *resultobj = NULL; |
d14a1e28 | 5035 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5036 | int result; |
d14a1e28 RD |
5037 | PyObject * obj0 = 0 ; |
5038 | char *kwnames[] = { | |
36ed4f51 | 5039 | (char *) "self", NULL |
d14a1e28 RD |
5040 | }; |
5041 | ||
36ed4f51 RD |
5042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; |
5043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5045 | { |
5046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5047 | result = (int)(arg1)->GetStyleBits(); |
d14a1e28 RD |
5048 | |
5049 | wxPyEndAllowThreads(__tstate); | |
5050 | if (PyErr_Occurred()) SWIG_fail; | |
5051 | } | |
36ed4f51 | 5052 | { |
32fe5131 | 5053 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 5054 | } |
d14a1e28 RD |
5055 | return resultobj; |
5056 | fail: | |
5057 | return NULL; | |
5058 | } | |
5059 | ||
5060 | ||
36ed4f51 | 5061 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5062 | PyObject *resultobj = NULL; |
d14a1e28 | 5063 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
5064 | int arg2 ; |
5065 | int arg3 ; | |
d14a1e28 | 5066 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
5067 | PyObject * obj1 = 0 ; |
5068 | PyObject * obj2 = 0 ; | |
d14a1e28 | 5069 | char *kwnames[] = { |
36ed4f51 | 5070 | (char *) "self",(char *) "line",(char *) "state", NULL |
d14a1e28 RD |
5071 | }; |
5072 | ||
36ed4f51 RD |
5073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5074 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5075 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5076 | { | |
32fe5131 | 5077 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
5078 | if (SWIG_arg_fail(2)) SWIG_fail; |
5079 | } | |
5080 | { | |
32fe5131 | 5081 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
5082 | if (SWIG_arg_fail(3)) SWIG_fail; |
5083 | } | |
d14a1e28 RD |
5084 | { |
5085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5086 | (arg1)->SetLineState(arg2,arg3); |
d14a1e28 RD |
5087 | |
5088 | wxPyEndAllowThreads(__tstate); | |
5089 | if (PyErr_Occurred()) SWIG_fail; | |
5090 | } | |
36ed4f51 | 5091 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
5092 | return resultobj; |
5093 | fail: | |
5094 | return NULL; | |
5095 | } | |
5096 | ||
5097 | ||
36ed4f51 | 5098 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5099 | PyObject *resultobj = NULL; |
d14a1e28 | 5100 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
5101 | int arg2 ; |
5102 | int result; | |
d14a1e28 RD |
5103 | PyObject * obj0 = 0 ; |
5104 | PyObject * obj1 = 0 ; | |
5105 | char *kwnames[] = { | |
36ed4f51 | 5106 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
5107 | }; |
5108 | ||
36ed4f51 RD |
5109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail; |
5110 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5111 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 5112 | { |
32fe5131 | 5113 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 5114 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
5115 | } |
5116 | { | |
5117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5118 | result = (int)(arg1)->GetLineState(arg2); |
d14a1e28 RD |
5119 | |
5120 | wxPyEndAllowThreads(__tstate); | |
5121 | if (PyErr_Occurred()) SWIG_fail; | |
5122 | } | |
d14a1e28 | 5123 | { |
32fe5131 | 5124 | resultobj = SWIG_From_int(static_cast<int >(result)); |
d14a1e28 RD |
5125 | } |
5126 | return resultobj; | |
5127 | fail: | |
d14a1e28 RD |
5128 | return NULL; |
5129 | } | |
5130 | ||
5131 | ||
36ed4f51 | 5132 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5133 | PyObject *resultobj = NULL; |
d14a1e28 | 5134 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5135 | int result; |
d14a1e28 | 5136 | PyObject * obj0 = 0 ; |
d14a1e28 | 5137 | char *kwnames[] = { |
36ed4f51 | 5138 | (char *) "self", NULL |
d14a1e28 RD |
5139 | }; |
5140 | ||
36ed4f51 RD |
5141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; |
5142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5144 | { |
5145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5146 | result = (int)(arg1)->GetMaxLineState(); |
d14a1e28 RD |
5147 | |
5148 | wxPyEndAllowThreads(__tstate); | |
5149 | if (PyErr_Occurred()) SWIG_fail; | |
5150 | } | |
36ed4f51 | 5151 | { |
32fe5131 | 5152 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 5153 | } |
d14a1e28 RD |
5154 | return resultobj; |
5155 | fail: | |
5156 | return NULL; | |
5157 | } | |
5158 | ||
5159 | ||
36ed4f51 | 5160 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5161 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5162 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5163 | bool result; | |
5164 | PyObject * obj0 = 0 ; | |
5165 | char *kwnames[] = { | |
5166 | (char *) "self", NULL | |
5167 | }; | |
5168 | ||
36ed4f51 RD |
5169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; |
5170 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5171 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5172 | { |
5173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5174 | result = (bool)(arg1)->GetCaretLineVisible(); |
d14a1e28 RD |
5175 | |
5176 | wxPyEndAllowThreads(__tstate); | |
5177 | if (PyErr_Occurred()) SWIG_fail; | |
5178 | } | |
4f89f6a3 RD |
5179 | { |
5180 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5181 | } | |
d14a1e28 RD |
5182 | return resultobj; |
5183 | fail: | |
5184 | return NULL; | |
5185 | } | |
5186 | ||
5187 | ||
36ed4f51 | 5188 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5189 | PyObject *resultobj = NULL; |
d14a1e28 | 5190 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5191 | bool arg2 ; |
d14a1e28 RD |
5192 | PyObject * obj0 = 0 ; |
5193 | PyObject * obj1 = 0 ; | |
5194 | char *kwnames[] = { | |
36ed4f51 | 5195 | (char *) "self",(char *) "show", NULL |
d14a1e28 RD |
5196 | }; |
5197 | ||
36ed4f51 RD |
5198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; |
5199 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5200 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 5201 | { |
32fe5131 | 5202 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 | 5203 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 | 5204 | } |
d14a1e28 RD |
5205 | { |
5206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5207 | (arg1)->SetCaretLineVisible(arg2); |
d14a1e28 RD |
5208 | |
5209 | wxPyEndAllowThreads(__tstate); | |
5210 | if (PyErr_Occurred()) SWIG_fail; | |
5211 | } | |
5212 | Py_INCREF(Py_None); resultobj = Py_None; | |
5213 | return resultobj; | |
5214 | fail: | |
5215 | return NULL; | |
5216 | } | |
5217 | ||
5218 | ||
36ed4f51 | 5219 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5220 | PyObject *resultobj = NULL; |
d14a1e28 | 5221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5222 | wxColour result; |
d14a1e28 RD |
5223 | PyObject * obj0 = 0 ; |
5224 | char *kwnames[] = { | |
5225 | (char *) "self", NULL | |
5226 | }; | |
5227 | ||
36ed4f51 RD |
5228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; |
5229 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5230 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5231 | { |
5232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5233 | result = (arg1)->GetCaretLineBack(); |
d14a1e28 RD |
5234 | |
5235 | wxPyEndAllowThreads(__tstate); | |
5236 | if (PyErr_Occurred()) SWIG_fail; | |
5237 | } | |
4f89f6a3 | 5238 | { |
36ed4f51 | 5239 | wxColour * resultptr; |
32fe5131 | 5240 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
36ed4f51 | 5241 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
4f89f6a3 | 5242 | } |
d14a1e28 RD |
5243 | return resultobj; |
5244 | fail: | |
5245 | return NULL; | |
5246 | } | |
5247 | ||
5248 | ||
36ed4f51 | 5249 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5250 | PyObject *resultobj = NULL; |
d14a1e28 | 5251 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
5252 | wxColour *arg2 = 0 ; |
5253 | wxColour temp2 ; | |
d14a1e28 RD |
5254 | PyObject * obj0 = 0 ; |
5255 | PyObject * obj1 = 0 ; | |
5256 | char *kwnames[] = { | |
36ed4f51 | 5257 | (char *) "self",(char *) "back", NULL |
d14a1e28 RD |
5258 | }; |
5259 | ||
36ed4f51 RD |
5260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; |
5261 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5262 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5263 | { | |
5264 | arg2 = &temp2; | |
5265 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5266 | } | |
d14a1e28 RD |
5267 | { |
5268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5269 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); |
d14a1e28 RD |
5270 | |
5271 | wxPyEndAllowThreads(__tstate); | |
5272 | if (PyErr_Occurred()) SWIG_fail; | |
5273 | } | |
5274 | Py_INCREF(Py_None); resultobj = Py_None; | |
5275 | return resultobj; | |
5276 | fail: | |
5277 | return NULL; | |
5278 | } | |
5279 | ||
5280 | ||
36ed4f51 | 5281 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5282 | PyObject *resultobj = NULL; |
d14a1e28 | 5283 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
5284 | int arg2 ; |
5285 | bool arg3 ; | |
d14a1e28 | 5286 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
5287 | PyObject * obj1 = 0 ; |
5288 | PyObject * obj2 = 0 ; | |
d14a1e28 | 5289 | char *kwnames[] = { |
36ed4f51 | 5290 | (char *) "self",(char *) "style",(char *) "changeable", NULL |
d14a1e28 RD |
5291 | }; |
5292 | ||
36ed4f51 RD |
5293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5294 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5295 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5296 | { | |
32fe5131 | 5297 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
5298 | if (SWIG_arg_fail(2)) SWIG_fail; |
5299 | } | |
5300 | { | |
32fe5131 | 5301 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
5302 | if (SWIG_arg_fail(3)) SWIG_fail; |
5303 | } | |
d14a1e28 RD |
5304 | { |
5305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5306 | (arg1)->StyleSetChangeable(arg2,arg3); |
d14a1e28 RD |
5307 | |
5308 | wxPyEndAllowThreads(__tstate); | |
5309 | if (PyErr_Occurred()) SWIG_fail; | |
5310 | } | |
36ed4f51 | 5311 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
5312 | return resultobj; |
5313 | fail: | |
5314 | return NULL; | |
5315 | } | |
5316 | ||
5317 | ||
36ed4f51 | 5318 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5319 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5320 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5321 | int arg2 ; | |
5322 | wxString *arg3 = 0 ; | |
b411df4a | 5323 | bool temp3 = false ; |
d14a1e28 | 5324 | PyObject * obj0 = 0 ; |
994141e6 | 5325 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5326 | PyObject * obj2 = 0 ; |
5327 | char *kwnames[] = { | |
36ed4f51 | 5328 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL |
d14a1e28 RD |
5329 | }; |
5330 | ||
36ed4f51 RD |
5331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5332 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5333 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5334 | { | |
32fe5131 | 5335 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
5336 | if (SWIG_arg_fail(2)) SWIG_fail; |
5337 | } | |
d14a1e28 RD |
5338 | { |
5339 | arg3 = wxString_in_helper(obj2); | |
5340 | if (arg3 == NULL) SWIG_fail; | |
b411df4a | 5341 | temp3 = true; |
d14a1e28 RD |
5342 | } |
5343 | { | |
5344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5345 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
5346 | |
5347 | wxPyEndAllowThreads(__tstate); | |
5348 | if (PyErr_Occurred()) SWIG_fail; | |
5349 | } | |
5350 | Py_INCREF(Py_None); resultobj = Py_None; | |
5351 | { | |
5352 | if (temp3) | |
5353 | delete arg3; | |
5354 | } | |
5355 | return resultobj; | |
5356 | fail: | |
5357 | { | |
5358 | if (temp3) | |
5359 | delete arg3; | |
5360 | } | |
5361 | return NULL; | |
5362 | } | |
5363 | ||
5364 | ||
36ed4f51 | 5365 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5366 | PyObject *resultobj = NULL; |
d14a1e28 | 5367 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 5368 | PyObject * obj0 = 0 ; |
d14a1e28 | 5369 | char *kwnames[] = { |
36ed4f51 | 5370 | (char *) "self", NULL |
d14a1e28 RD |
5371 | }; |
5372 | ||
36ed4f51 RD |
5373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; |
5374 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5375 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5376 | { |
5377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5378 | (arg1)->AutoCompCancel(); |
d14a1e28 RD |
5379 | |
5380 | wxPyEndAllowThreads(__tstate); | |
5381 | if (PyErr_Occurred()) SWIG_fail; | |
5382 | } | |
5383 | Py_INCREF(Py_None); resultobj = Py_None; | |
5384 | return resultobj; | |
5385 | fail: | |
5386 | return NULL; | |
5387 | } | |
5388 | ||
5389 | ||
36ed4f51 | 5390 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5391 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5392 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5393 | bool result; | |
5394 | PyObject * obj0 = 0 ; | |
5395 | char *kwnames[] = { | |
5396 | (char *) "self", NULL | |
5397 | }; | |
5398 | ||
36ed4f51 RD |
5399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; |
5400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5402 | { |
5403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5404 | result = (bool)(arg1)->AutoCompActive(); |
d14a1e28 RD |
5405 | |
5406 | wxPyEndAllowThreads(__tstate); | |
5407 | if (PyErr_Occurred()) SWIG_fail; | |
5408 | } | |
4f89f6a3 RD |
5409 | { |
5410 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5411 | } | |
d14a1e28 RD |
5412 | return resultobj; |
5413 | fail: | |
5414 | return NULL; | |
5415 | } | |
5416 | ||
5417 | ||
36ed4f51 | 5418 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5419 | PyObject *resultobj = NULL; |
d14a1e28 | 5420 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5421 | int result; |
d14a1e28 | 5422 | PyObject * obj0 = 0 ; |
d14a1e28 | 5423 | char *kwnames[] = { |
36ed4f51 | 5424 | (char *) "self", NULL |
d14a1e28 RD |
5425 | }; |
5426 | ||
36ed4f51 RD |
5427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; |
5428 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5429 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5430 | { |
5431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5432 | result = (int)(arg1)->AutoCompPosStart(); |
d14a1e28 RD |
5433 | |
5434 | wxPyEndAllowThreads(__tstate); | |
5435 | if (PyErr_Occurred()) SWIG_fail; | |
5436 | } | |
36ed4f51 | 5437 | { |
32fe5131 | 5438 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 5439 | } |
d14a1e28 RD |
5440 | return resultobj; |
5441 | fail: | |
5442 | return NULL; | |
5443 | } | |
5444 | ||
5445 | ||
36ed4f51 | 5446 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5447 | PyObject *resultobj = NULL; |
d14a1e28 | 5448 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
5449 | PyObject * obj0 = 0 ; |
5450 | char *kwnames[] = { | |
5451 | (char *) "self", NULL | |
5452 | }; | |
5453 | ||
36ed4f51 RD |
5454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; |
5455 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5456 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5457 | { |
5458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5459 | (arg1)->AutoCompComplete(); |
d14a1e28 RD |
5460 | |
5461 | wxPyEndAllowThreads(__tstate); | |
5462 | if (PyErr_Occurred()) SWIG_fail; | |
5463 | } | |
36ed4f51 | 5464 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
5465 | return resultobj; |
5466 | fail: | |
5467 | return NULL; | |
5468 | } | |
5469 | ||
5470 | ||
36ed4f51 | 5471 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5472 | PyObject *resultobj = NULL; |
d14a1e28 | 5473 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
5474 | wxString *arg2 = 0 ; |
5475 | bool temp2 = false ; | |
d14a1e28 | 5476 | PyObject * obj0 = 0 ; |
994141e6 | 5477 | PyObject * obj1 = 0 ; |
d14a1e28 | 5478 | char *kwnames[] = { |
36ed4f51 | 5479 | (char *) "self",(char *) "characterSet", NULL |
d14a1e28 RD |
5480 | }; |
5481 | ||
36ed4f51 RD |
5482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; |
5483 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5484 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5485 | { | |
5486 | arg2 = wxString_in_helper(obj1); | |
5487 | if (arg2 == NULL) SWIG_fail; | |
5488 | temp2 = true; | |
d14a1e28 RD |
5489 | } |
5490 | { | |
5491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5492 | (arg1)->AutoCompStops((wxString const &)*arg2); |
d14a1e28 RD |
5493 | |
5494 | wxPyEndAllowThreads(__tstate); | |
5495 | if (PyErr_Occurred()) SWIG_fail; | |
5496 | } | |
5497 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
5498 | { |
5499 | if (temp2) | |
5500 | delete arg2; | |
5501 | } | |
d14a1e28 RD |
5502 | return resultobj; |
5503 | fail: | |
36ed4f51 RD |
5504 | { |
5505 | if (temp2) | |
5506 | delete arg2; | |
5507 | } | |
d14a1e28 RD |
5508 | return NULL; |
5509 | } | |
5510 | ||
5511 | ||
36ed4f51 | 5512 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5513 | PyObject *resultobj = NULL; |
d14a1e28 | 5514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5515 | int arg2 ; |
d14a1e28 | 5516 | PyObject * obj0 = 0 ; |
36ed4f51 | 5517 | PyObject * obj1 = 0 ; |
d14a1e28 | 5518 | char *kwnames[] = { |
36ed4f51 | 5519 | (char *) "self",(char *) "separatorCharacter", NULL |
d14a1e28 RD |
5520 | }; |
5521 | ||
36ed4f51 RD |
5522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail; |
5523 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5524 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5525 | { | |
32fe5131 | 5526 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
5527 | if (SWIG_arg_fail(2)) SWIG_fail; |
5528 | } | |
d14a1e28 RD |
5529 | { |
5530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5531 | (arg1)->AutoCompSetSeparator(arg2); |
d14a1e28 RD |
5532 | |
5533 | wxPyEndAllowThreads(__tstate); | |
5534 | if (PyErr_Occurred()) SWIG_fail; | |
5535 | } | |
5536 | Py_INCREF(Py_None); resultobj = Py_None; | |
5537 | return resultobj; | |
5538 | fail: | |
5539 | return NULL; | |
5540 | } | |
5541 | ||
5542 | ||
36ed4f51 | 5543 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5544 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5545 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5546 | int result; | |
5547 | PyObject * obj0 = 0 ; | |
5548 | char *kwnames[] = { | |
5549 | (char *) "self", NULL | |
5550 | }; | |
5551 | ||
36ed4f51 RD |
5552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; |
5553 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5554 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5555 | { |
5556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5557 | result = (int)(arg1)->AutoCompGetSeparator(); |
d14a1e28 RD |
5558 | |
5559 | wxPyEndAllowThreads(__tstate); | |
5560 | if (PyErr_Occurred()) SWIG_fail; | |
5561 | } | |
36ed4f51 | 5562 | { |
32fe5131 | 5563 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 5564 | } |
d14a1e28 RD |
5565 | return resultobj; |
5566 | fail: | |
5567 | return NULL; | |
5568 | } | |
5569 | ||
5570 | ||
36ed4f51 | 5571 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5572 | PyObject *resultobj = NULL; |
d14a1e28 | 5573 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
5574 | wxString *arg2 = 0 ; |
5575 | bool temp2 = false ; | |
d14a1e28 | 5576 | PyObject * obj0 = 0 ; |
994141e6 | 5577 | PyObject * obj1 = 0 ; |
d14a1e28 | 5578 | char *kwnames[] = { |
36ed4f51 | 5579 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
5580 | }; |
5581 | ||
36ed4f51 RD |
5582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; |
5583 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5584 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5585 | { | |
5586 | arg2 = wxString_in_helper(obj1); | |
5587 | if (arg2 == NULL) SWIG_fail; | |
5588 | temp2 = true; | |
5589 | } | |
d14a1e28 RD |
5590 | { |
5591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5592 | (arg1)->AutoCompSelect((wxString const &)*arg2); |
d14a1e28 RD |
5593 | |
5594 | wxPyEndAllowThreads(__tstate); | |
5595 | if (PyErr_Occurred()) SWIG_fail; | |
5596 | } | |
5597 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
5598 | { |
5599 | if (temp2) | |
5600 | delete arg2; | |
5601 | } | |
d14a1e28 RD |
5602 | return resultobj; |
5603 | fail: | |
36ed4f51 RD |
5604 | { |
5605 | if (temp2) | |
5606 | delete arg2; | |
5607 | } | |
d14a1e28 RD |
5608 | return NULL; |
5609 | } | |
5610 | ||
5611 | ||
36ed4f51 | 5612 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5613 | PyObject *resultobj = NULL; |
d14a1e28 | 5614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5615 | bool arg2 ; |
d14a1e28 | 5616 | PyObject * obj0 = 0 ; |
994141e6 | 5617 | PyObject * obj1 = 0 ; |
d14a1e28 | 5618 | char *kwnames[] = { |
36ed4f51 | 5619 | (char *) "self",(char *) "cancel", NULL |
d14a1e28 RD |
5620 | }; |
5621 | ||
36ed4f51 RD |
5622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; |
5623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5625 | { | |
32fe5131 | 5626 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
5627 | if (SWIG_arg_fail(2)) SWIG_fail; |
5628 | } | |
d14a1e28 RD |
5629 | { |
5630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5631 | (arg1)->AutoCompSetCancelAtStart(arg2); |
d14a1e28 RD |
5632 | |
5633 | wxPyEndAllowThreads(__tstate); | |
5634 | if (PyErr_Occurred()) SWIG_fail; | |
5635 | } | |
5636 | Py_INCREF(Py_None); resultobj = Py_None; | |
5637 | return resultobj; | |
5638 | fail: | |
5639 | return NULL; | |
5640 | } | |
5641 | ||
5642 | ||
36ed4f51 | 5643 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5644 | PyObject *resultobj = NULL; |
d14a1e28 | 5645 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5646 | bool result; |
d14a1e28 RD |
5647 | PyObject * obj0 = 0 ; |
5648 | char *kwnames[] = { | |
5649 | (char *) "self", NULL | |
5650 | }; | |
5651 | ||
36ed4f51 RD |
5652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; |
5653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5655 | { |
5656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5657 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); |
d14a1e28 RD |
5658 | |
5659 | wxPyEndAllowThreads(__tstate); | |
5660 | if (PyErr_Occurred()) SWIG_fail; | |
5661 | } | |
36ed4f51 RD |
5662 | { |
5663 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5664 | } | |
d14a1e28 RD |
5665 | return resultobj; |
5666 | fail: | |
5667 | return NULL; | |
5668 | } | |
5669 | ||
5670 | ||
36ed4f51 | 5671 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5672 | PyObject *resultobj = NULL; |
d14a1e28 | 5673 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
5674 | wxString *arg2 = 0 ; |
5675 | bool temp2 = false ; | |
d14a1e28 RD |
5676 | PyObject * obj0 = 0 ; |
5677 | PyObject * obj1 = 0 ; | |
5678 | char *kwnames[] = { | |
36ed4f51 | 5679 | (char *) "self",(char *) "characterSet", NULL |
d14a1e28 RD |
5680 | }; |
5681 | ||
36ed4f51 RD |
5682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; |
5683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5685 | { | |
5686 | arg2 = wxString_in_helper(obj1); | |
5687 | if (arg2 == NULL) SWIG_fail; | |
5688 | temp2 = true; | |
5689 | } | |
d14a1e28 RD |
5690 | { |
5691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5692 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); |
d14a1e28 RD |
5693 | |
5694 | wxPyEndAllowThreads(__tstate); | |
5695 | if (PyErr_Occurred()) SWIG_fail; | |
5696 | } | |
5697 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
5698 | { |
5699 | if (temp2) | |
5700 | delete arg2; | |
5701 | } | |
5702 | return resultobj; | |
d14a1e28 | 5703 | fail: |
36ed4f51 RD |
5704 | { |
5705 | if (temp2) | |
5706 | delete arg2; | |
5707 | } | |
d14a1e28 RD |
5708 | return NULL; |
5709 | } | |
5710 | ||
5711 | ||
36ed4f51 | 5712 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5713 | PyObject *resultobj = NULL; |
d14a1e28 | 5714 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5715 | bool arg2 ; |
d14a1e28 | 5716 | PyObject * obj0 = 0 ; |
36ed4f51 | 5717 | PyObject * obj1 = 0 ; |
d14a1e28 | 5718 | char *kwnames[] = { |
36ed4f51 | 5719 | (char *) "self",(char *) "chooseSingle", NULL |
d14a1e28 RD |
5720 | }; |
5721 | ||
36ed4f51 RD |
5722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; |
5723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5725 | { | |
32fe5131 | 5726 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
5727 | if (SWIG_arg_fail(2)) SWIG_fail; |
5728 | } | |
d14a1e28 RD |
5729 | { |
5730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5731 | (arg1)->AutoCompSetChooseSingle(arg2); |
d14a1e28 RD |
5732 | |
5733 | wxPyEndAllowThreads(__tstate); | |
5734 | if (PyErr_Occurred()) SWIG_fail; | |
5735 | } | |
36ed4f51 | 5736 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
5737 | return resultobj; |
5738 | fail: | |
5739 | return NULL; | |
5740 | } | |
5741 | ||
5742 | ||
36ed4f51 | 5743 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5744 | PyObject *resultobj = NULL; |
d14a1e28 | 5745 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5746 | bool result; |
d14a1e28 RD |
5747 | PyObject * obj0 = 0 ; |
5748 | char *kwnames[] = { | |
36ed4f51 | 5749 | (char *) "self", NULL |
d14a1e28 RD |
5750 | }; |
5751 | ||
36ed4f51 RD |
5752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; |
5753 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5754 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5755 | { |
5756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5757 | result = (bool)(arg1)->AutoCompGetChooseSingle(); |
d14a1e28 RD |
5758 | |
5759 | wxPyEndAllowThreads(__tstate); | |
5760 | if (PyErr_Occurred()) SWIG_fail; | |
5761 | } | |
36ed4f51 RD |
5762 | { |
5763 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5764 | } | |
d14a1e28 RD |
5765 | return resultobj; |
5766 | fail: | |
5767 | return NULL; | |
5768 | } | |
5769 | ||
5770 | ||
36ed4f51 | 5771 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5772 | PyObject *resultobj = NULL; |
d14a1e28 | 5773 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5774 | bool arg2 ; |
d14a1e28 | 5775 | PyObject * obj0 = 0 ; |
994141e6 | 5776 | PyObject * obj1 = 0 ; |
d14a1e28 | 5777 | char *kwnames[] = { |
36ed4f51 | 5778 | (char *) "self",(char *) "ignoreCase", NULL |
d14a1e28 RD |
5779 | }; |
5780 | ||
36ed4f51 RD |
5781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; |
5782 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5783 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5784 | { | |
32fe5131 | 5785 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
5786 | if (SWIG_arg_fail(2)) SWIG_fail; |
5787 | } | |
d14a1e28 RD |
5788 | { |
5789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5790 | (arg1)->AutoCompSetIgnoreCase(arg2); |
d14a1e28 RD |
5791 | |
5792 | wxPyEndAllowThreads(__tstate); | |
5793 | if (PyErr_Occurred()) SWIG_fail; | |
5794 | } | |
36ed4f51 | 5795 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
5796 | return resultobj; |
5797 | fail: | |
5798 | return NULL; | |
5799 | } | |
5800 | ||
5801 | ||
36ed4f51 | 5802 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5803 | PyObject *resultobj = NULL; |
d14a1e28 | 5804 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 5805 | bool result; |
d14a1e28 RD |
5806 | PyObject * obj0 = 0 ; |
5807 | char *kwnames[] = { | |
36ed4f51 | 5808 | (char *) "self", NULL |
d14a1e28 RD |
5809 | }; |
5810 | ||
36ed4f51 RD |
5811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; |
5812 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5813 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5814 | { |
5815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5816 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); |
d14a1e28 RD |
5817 | |
5818 | wxPyEndAllowThreads(__tstate); | |
5819 | if (PyErr_Occurred()) SWIG_fail; | |
5820 | } | |
36ed4f51 RD |
5821 | { |
5822 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5823 | } | |
d14a1e28 RD |
5824 | return resultobj; |
5825 | fail: | |
5826 | return NULL; | |
5827 | } | |
5828 | ||
5829 | ||
36ed4f51 | 5830 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5831 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5832 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5833 | int arg2 ; | |
36ed4f51 RD |
5834 | wxString *arg3 = 0 ; |
5835 | bool temp3 = false ; | |
d14a1e28 | 5836 | PyObject * obj0 = 0 ; |
994141e6 | 5837 | PyObject * obj1 = 0 ; |
36ed4f51 | 5838 | PyObject * obj2 = 0 ; |
d14a1e28 | 5839 | char *kwnames[] = { |
36ed4f51 | 5840 | (char *) "self",(char *) "listType",(char *) "itemList", NULL |
d14a1e28 RD |
5841 | }; |
5842 | ||
36ed4f51 RD |
5843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
5844 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5845 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5846 | { | |
32fe5131 | 5847 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
5848 | if (SWIG_arg_fail(2)) SWIG_fail; |
5849 | } | |
5850 | { | |
5851 | arg3 = wxString_in_helper(obj2); | |
5852 | if (arg3 == NULL) SWIG_fail; | |
5853 | temp3 = true; | |
5854 | } | |
d14a1e28 RD |
5855 | { |
5856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5857 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
5858 | |
5859 | wxPyEndAllowThreads(__tstate); | |
5860 | if (PyErr_Occurred()) SWIG_fail; | |
5861 | } | |
36ed4f51 RD |
5862 | Py_INCREF(Py_None); resultobj = Py_None; |
5863 | { | |
5864 | if (temp3) | |
5865 | delete arg3; | |
5866 | } | |
d14a1e28 RD |
5867 | return resultobj; |
5868 | fail: | |
36ed4f51 RD |
5869 | { |
5870 | if (temp3) | |
5871 | delete arg3; | |
5872 | } | |
d14a1e28 RD |
5873 | return NULL; |
5874 | } | |
5875 | ||
5876 | ||
36ed4f51 | 5877 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5878 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5879 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5880 | bool arg2 ; | |
5881 | PyObject * obj0 = 0 ; | |
5882 | PyObject * obj1 = 0 ; | |
5883 | char *kwnames[] = { | |
36ed4f51 | 5884 | (char *) "self",(char *) "autoHide", NULL |
d14a1e28 RD |
5885 | }; |
5886 | ||
36ed4f51 RD |
5887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; |
5888 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5889 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5890 | { | |
32fe5131 | 5891 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
5892 | if (SWIG_arg_fail(2)) SWIG_fail; |
5893 | } | |
d14a1e28 RD |
5894 | { |
5895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5896 | (arg1)->AutoCompSetAutoHide(arg2); |
d14a1e28 RD |
5897 | |
5898 | wxPyEndAllowThreads(__tstate); | |
5899 | if (PyErr_Occurred()) SWIG_fail; | |
5900 | } | |
5901 | Py_INCREF(Py_None); resultobj = Py_None; | |
5902 | return resultobj; | |
5903 | fail: | |
5904 | return NULL; | |
5905 | } | |
5906 | ||
5907 | ||
36ed4f51 | 5908 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5909 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5910 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5911 | bool result; | |
5912 | PyObject * obj0 = 0 ; | |
5913 | char *kwnames[] = { | |
5914 | (char *) "self", NULL | |
5915 | }; | |
5916 | ||
36ed4f51 RD |
5917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; |
5918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5920 | { |
5921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5922 | result = (bool)(arg1)->AutoCompGetAutoHide(); |
d14a1e28 RD |
5923 | |
5924 | wxPyEndAllowThreads(__tstate); | |
5925 | if (PyErr_Occurred()) SWIG_fail; | |
5926 | } | |
4f89f6a3 RD |
5927 | { |
5928 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5929 | } | |
d14a1e28 RD |
5930 | return resultobj; |
5931 | fail: | |
5932 | return NULL; | |
5933 | } | |
5934 | ||
5935 | ||
36ed4f51 | 5936 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5937 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5938 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5939 | bool arg2 ; | |
5940 | PyObject * obj0 = 0 ; | |
5941 | PyObject * obj1 = 0 ; | |
5942 | char *kwnames[] = { | |
36ed4f51 | 5943 | (char *) "self",(char *) "dropRestOfWord", NULL |
d14a1e28 RD |
5944 | }; |
5945 | ||
36ed4f51 RD |
5946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; |
5947 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5948 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5949 | { | |
32fe5131 | 5950 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
5951 | if (SWIG_arg_fail(2)) SWIG_fail; |
5952 | } | |
d14a1e28 RD |
5953 | { |
5954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5955 | (arg1)->AutoCompSetDropRestOfWord(arg2); |
d14a1e28 RD |
5956 | |
5957 | wxPyEndAllowThreads(__tstate); | |
5958 | if (PyErr_Occurred()) SWIG_fail; | |
5959 | } | |
5960 | Py_INCREF(Py_None); resultobj = Py_None; | |
5961 | return resultobj; | |
5962 | fail: | |
5963 | return NULL; | |
5964 | } | |
5965 | ||
5966 | ||
36ed4f51 | 5967 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5968 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5969 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5970 | bool result; | |
5971 | PyObject * obj0 = 0 ; | |
5972 | char *kwnames[] = { | |
5973 | (char *) "self", NULL | |
5974 | }; | |
5975 | ||
36ed4f51 RD |
5976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; |
5977 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5978 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
5979 | { |
5980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 5981 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); |
d14a1e28 RD |
5982 | |
5983 | wxPyEndAllowThreads(__tstate); | |
5984 | if (PyErr_Occurred()) SWIG_fail; | |
5985 | } | |
4f89f6a3 RD |
5986 | { |
5987 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5988 | } | |
d14a1e28 RD |
5989 | return resultobj; |
5990 | fail: | |
5991 | return NULL; | |
5992 | } | |
5993 | ||
5994 | ||
36ed4f51 | 5995 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 5996 | PyObject *resultobj = NULL; |
d14a1e28 RD |
5997 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5998 | int arg2 ; | |
36ed4f51 | 5999 | wxBitmap *arg3 = 0 ; |
d14a1e28 | 6000 | PyObject * obj0 = 0 ; |
994141e6 | 6001 | PyObject * obj1 = 0 ; |
36ed4f51 | 6002 | PyObject * obj2 = 0 ; |
d14a1e28 | 6003 | char *kwnames[] = { |
36ed4f51 | 6004 | (char *) "self",(char *) "type",(char *) "bmp", NULL |
d14a1e28 RD |
6005 | }; |
6006 | ||
36ed4f51 RD |
6007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
6008 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6009 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6010 | { | |
32fe5131 | 6011 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6012 | if (SWIG_arg_fail(2)) SWIG_fail; |
6013 | } | |
6014 | { | |
6015 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
6016 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6017 | if (arg3 == NULL) { | |
6018 | SWIG_null_ref("wxBitmap"); | |
6019 | } | |
6020 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6021 | } | |
d14a1e28 RD |
6022 | { |
6023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6024 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); |
d14a1e28 RD |
6025 | |
6026 | wxPyEndAllowThreads(__tstate); | |
6027 | if (PyErr_Occurred()) SWIG_fail; | |
6028 | } | |
6029 | Py_INCREF(Py_None); resultobj = Py_None; | |
6030 | return resultobj; | |
6031 | fail: | |
6032 | return NULL; | |
6033 | } | |
6034 | ||
6035 | ||
36ed4f51 | 6036 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6037 | PyObject *resultobj = NULL; |
d14a1e28 | 6038 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
6039 | PyObject * obj0 = 0 ; |
6040 | char *kwnames[] = { | |
6041 | (char *) "self", NULL | |
6042 | }; | |
6043 | ||
36ed4f51 RD |
6044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; |
6045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6047 | { |
6048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6049 | (arg1)->ClearRegisteredImages(); |
d14a1e28 RD |
6050 | |
6051 | wxPyEndAllowThreads(__tstate); | |
6052 | if (PyErr_Occurred()) SWIG_fail; | |
6053 | } | |
36ed4f51 | 6054 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6055 | return resultobj; |
6056 | fail: | |
6057 | return NULL; | |
6058 | } | |
6059 | ||
6060 | ||
36ed4f51 | 6061 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6062 | PyObject *resultobj = NULL; |
d14a1e28 | 6063 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
6064 | int result; |
6065 | PyObject * obj0 = 0 ; | |
6066 | char *kwnames[] = { | |
36ed4f51 | 6067 | (char *) "self", NULL |
d14a1e28 RD |
6068 | }; |
6069 | ||
36ed4f51 RD |
6070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; |
6071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6073 | { |
6074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6075 | result = (int)(arg1)->AutoCompGetTypeSeparator(); |
d14a1e28 RD |
6076 | |
6077 | wxPyEndAllowThreads(__tstate); | |
6078 | if (PyErr_Occurred()) SWIG_fail; | |
6079 | } | |
36ed4f51 | 6080 | { |
32fe5131 | 6081 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6082 | } |
d14a1e28 RD |
6083 | return resultobj; |
6084 | fail: | |
6085 | return NULL; | |
6086 | } | |
6087 | ||
6088 | ||
36ed4f51 | 6089 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6090 | PyObject *resultobj = NULL; |
d14a1e28 | 6091 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6092 | int arg2 ; |
d14a1e28 | 6093 | PyObject * obj0 = 0 ; |
36ed4f51 | 6094 | PyObject * obj1 = 0 ; |
d14a1e28 | 6095 | char *kwnames[] = { |
36ed4f51 | 6096 | (char *) "self",(char *) "separatorCharacter", NULL |
d14a1e28 RD |
6097 | }; |
6098 | ||
36ed4f51 RD |
6099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail; |
6100 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6101 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6102 | { | |
32fe5131 | 6103 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6104 | if (SWIG_arg_fail(2)) SWIG_fail; |
6105 | } | |
d14a1e28 RD |
6106 | { |
6107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6108 | (arg1)->AutoCompSetTypeSeparator(arg2); |
d14a1e28 RD |
6109 | |
6110 | wxPyEndAllowThreads(__tstate); | |
6111 | if (PyErr_Occurred()) SWIG_fail; | |
6112 | } | |
36ed4f51 | 6113 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6114 | return resultobj; |
6115 | fail: | |
6116 | return NULL; | |
6117 | } | |
6118 | ||
6119 | ||
36ed4f51 | 6120 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6121 | PyObject *resultobj = NULL; |
d14a1e28 | 6122 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6123 | int arg2 ; |
d14a1e28 | 6124 | PyObject * obj0 = 0 ; |
36ed4f51 | 6125 | PyObject * obj1 = 0 ; |
d14a1e28 | 6126 | char *kwnames[] = { |
36ed4f51 | 6127 | (char *) "self",(char *) "indentSize", NULL |
d14a1e28 RD |
6128 | }; |
6129 | ||
36ed4f51 RD |
6130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; |
6131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6133 | { | |
32fe5131 | 6134 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6135 | if (SWIG_arg_fail(2)) SWIG_fail; |
6136 | } | |
d14a1e28 RD |
6137 | { |
6138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6139 | (arg1)->SetIndent(arg2); |
d14a1e28 RD |
6140 | |
6141 | wxPyEndAllowThreads(__tstate); | |
6142 | if (PyErr_Occurred()) SWIG_fail; | |
6143 | } | |
36ed4f51 | 6144 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6145 | return resultobj; |
6146 | fail: | |
6147 | return NULL; | |
6148 | } | |
6149 | ||
6150 | ||
36ed4f51 | 6151 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6152 | PyObject *resultobj = NULL; |
d14a1e28 | 6153 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6154 | int result; |
d14a1e28 RD |
6155 | PyObject * obj0 = 0 ; |
6156 | char *kwnames[] = { | |
6157 | (char *) "self", NULL | |
6158 | }; | |
6159 | ||
36ed4f51 RD |
6160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; |
6161 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6162 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6163 | { |
6164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6165 | result = (int)(arg1)->GetIndent(); |
d14a1e28 RD |
6166 | |
6167 | wxPyEndAllowThreads(__tstate); | |
6168 | if (PyErr_Occurred()) SWIG_fail; | |
6169 | } | |
4f89f6a3 | 6170 | { |
32fe5131 | 6171 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 6172 | } |
d14a1e28 RD |
6173 | return resultobj; |
6174 | fail: | |
6175 | return NULL; | |
6176 | } | |
6177 | ||
6178 | ||
36ed4f51 | 6179 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6180 | PyObject *resultobj = NULL; |
d14a1e28 | 6181 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6182 | bool arg2 ; |
d14a1e28 | 6183 | PyObject * obj0 = 0 ; |
994141e6 | 6184 | PyObject * obj1 = 0 ; |
d14a1e28 | 6185 | char *kwnames[] = { |
36ed4f51 | 6186 | (char *) "self",(char *) "useTabs", NULL |
d14a1e28 RD |
6187 | }; |
6188 | ||
36ed4f51 RD |
6189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; |
6190 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6191 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6192 | { | |
32fe5131 | 6193 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
6194 | if (SWIG_arg_fail(2)) SWIG_fail; |
6195 | } | |
d14a1e28 RD |
6196 | { |
6197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6198 | (arg1)->SetUseTabs(arg2); |
d14a1e28 RD |
6199 | |
6200 | wxPyEndAllowThreads(__tstate); | |
6201 | if (PyErr_Occurred()) SWIG_fail; | |
6202 | } | |
6203 | Py_INCREF(Py_None); resultobj = Py_None; | |
6204 | return resultobj; | |
6205 | fail: | |
6206 | return NULL; | |
6207 | } | |
6208 | ||
6209 | ||
36ed4f51 | 6210 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6211 | PyObject *resultobj = NULL; |
d14a1e28 | 6212 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6213 | bool result; |
d14a1e28 RD |
6214 | PyObject * obj0 = 0 ; |
6215 | char *kwnames[] = { | |
36ed4f51 | 6216 | (char *) "self", NULL |
d14a1e28 RD |
6217 | }; |
6218 | ||
36ed4f51 RD |
6219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; |
6220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6222 | { |
6223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6224 | result = (bool)(arg1)->GetUseTabs(); |
d14a1e28 RD |
6225 | |
6226 | wxPyEndAllowThreads(__tstate); | |
6227 | if (PyErr_Occurred()) SWIG_fail; | |
6228 | } | |
36ed4f51 RD |
6229 | { |
6230 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6231 | } | |
d14a1e28 RD |
6232 | return resultobj; |
6233 | fail: | |
6234 | return NULL; | |
6235 | } | |
6236 | ||
6237 | ||
36ed4f51 | 6238 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6239 | PyObject *resultobj = NULL; |
d14a1e28 | 6240 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
6241 | int arg2 ; |
6242 | int arg3 ; | |
d14a1e28 | 6243 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
6244 | PyObject * obj1 = 0 ; |
6245 | PyObject * obj2 = 0 ; | |
d14a1e28 | 6246 | char *kwnames[] = { |
36ed4f51 | 6247 | (char *) "self",(char *) "line",(char *) "indentSize", NULL |
d14a1e28 RD |
6248 | }; |
6249 | ||
36ed4f51 RD |
6250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
6251 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6252 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6253 | { | |
32fe5131 | 6254 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6255 | if (SWIG_arg_fail(2)) SWIG_fail; |
6256 | } | |
6257 | { | |
32fe5131 | 6258 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
6259 | if (SWIG_arg_fail(3)) SWIG_fail; |
6260 | } | |
d14a1e28 RD |
6261 | { |
6262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6263 | (arg1)->SetLineIndentation(arg2,arg3); |
d14a1e28 RD |
6264 | |
6265 | wxPyEndAllowThreads(__tstate); | |
6266 | if (PyErr_Occurred()) SWIG_fail; | |
6267 | } | |
36ed4f51 | 6268 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6269 | return resultobj; |
6270 | fail: | |
6271 | return NULL; | |
6272 | } | |
6273 | ||
6274 | ||
36ed4f51 | 6275 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6276 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6277 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6278 | int arg2 ; | |
36ed4f51 | 6279 | int result; |
d14a1e28 | 6280 | PyObject * obj0 = 0 ; |
994141e6 | 6281 | PyObject * obj1 = 0 ; |
d14a1e28 | 6282 | char *kwnames[] = { |
36ed4f51 | 6283 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
6284 | }; |
6285 | ||
36ed4f51 RD |
6286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail; |
6287 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6288 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6289 | { | |
32fe5131 | 6290 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6291 | if (SWIG_arg_fail(2)) SWIG_fail; |
6292 | } | |
d14a1e28 RD |
6293 | { |
6294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6295 | result = (int)(arg1)->GetLineIndentation(arg2); |
d14a1e28 RD |
6296 | |
6297 | wxPyEndAllowThreads(__tstate); | |
6298 | if (PyErr_Occurred()) SWIG_fail; | |
6299 | } | |
36ed4f51 | 6300 | { |
32fe5131 | 6301 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6302 | } |
d14a1e28 RD |
6303 | return resultobj; |
6304 | fail: | |
6305 | return NULL; | |
6306 | } | |
6307 | ||
6308 | ||
36ed4f51 | 6309 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6310 | PyObject *resultobj = NULL; |
d14a1e28 | 6311 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6312 | int arg2 ; |
d14a1e28 RD |
6313 | int result; |
6314 | PyObject * obj0 = 0 ; | |
36ed4f51 | 6315 | PyObject * obj1 = 0 ; |
d14a1e28 | 6316 | char *kwnames[] = { |
36ed4f51 | 6317 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
6318 | }; |
6319 | ||
36ed4f51 RD |
6320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail; |
6321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6323 | { | |
32fe5131 | 6324 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6325 | if (SWIG_arg_fail(2)) SWIG_fail; |
6326 | } | |
d14a1e28 RD |
6327 | { |
6328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6329 | result = (int)(arg1)->GetLineIndentPosition(arg2); |
d14a1e28 RD |
6330 | |
6331 | wxPyEndAllowThreads(__tstate); | |
6332 | if (PyErr_Occurred()) SWIG_fail; | |
6333 | } | |
36ed4f51 | 6334 | { |
32fe5131 | 6335 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6336 | } |
d14a1e28 RD |
6337 | return resultobj; |
6338 | fail: | |
6339 | return NULL; | |
6340 | } | |
6341 | ||
6342 | ||
36ed4f51 | 6343 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6344 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6345 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6346 | int arg2 ; | |
36ed4f51 | 6347 | int result; |
d14a1e28 | 6348 | PyObject * obj0 = 0 ; |
994141e6 | 6349 | PyObject * obj1 = 0 ; |
d14a1e28 | 6350 | char *kwnames[] = { |
36ed4f51 | 6351 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
6352 | }; |
6353 | ||
36ed4f51 RD |
6354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; |
6355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6357 | { | |
32fe5131 | 6358 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6359 | if (SWIG_arg_fail(2)) SWIG_fail; |
6360 | } | |
d14a1e28 RD |
6361 | { |
6362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6363 | result = (int)(arg1)->GetColumn(arg2); |
d14a1e28 RD |
6364 | |
6365 | wxPyEndAllowThreads(__tstate); | |
6366 | if (PyErr_Occurred()) SWIG_fail; | |
6367 | } | |
36ed4f51 | 6368 | { |
32fe5131 | 6369 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6370 | } |
d14a1e28 RD |
6371 | return resultobj; |
6372 | fail: | |
6373 | return NULL; | |
6374 | } | |
6375 | ||
6376 | ||
36ed4f51 | 6377 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6378 | PyObject *resultobj = NULL; |
d14a1e28 | 6379 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6380 | bool arg2 ; |
d14a1e28 | 6381 | PyObject * obj0 = 0 ; |
36ed4f51 | 6382 | PyObject * obj1 = 0 ; |
d14a1e28 | 6383 | char *kwnames[] = { |
36ed4f51 | 6384 | (char *) "self",(char *) "show", NULL |
d14a1e28 RD |
6385 | }; |
6386 | ||
36ed4f51 RD |
6387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; |
6388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6390 | { | |
32fe5131 | 6391 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
6392 | if (SWIG_arg_fail(2)) SWIG_fail; |
6393 | } | |
d14a1e28 RD |
6394 | { |
6395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6396 | (arg1)->SetUseHorizontalScrollBar(arg2); |
d14a1e28 RD |
6397 | |
6398 | wxPyEndAllowThreads(__tstate); | |
6399 | if (PyErr_Occurred()) SWIG_fail; | |
6400 | } | |
36ed4f51 | 6401 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6402 | return resultobj; |
6403 | fail: | |
6404 | return NULL; | |
6405 | } | |
6406 | ||
6407 | ||
36ed4f51 | 6408 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6409 | PyObject *resultobj = NULL; |
d14a1e28 | 6410 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6411 | bool result; |
d14a1e28 RD |
6412 | PyObject * obj0 = 0 ; |
6413 | char *kwnames[] = { | |
36ed4f51 | 6414 | (char *) "self", NULL |
d14a1e28 RD |
6415 | }; |
6416 | ||
36ed4f51 RD |
6417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; |
6418 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6419 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6420 | { |
6421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6422 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); |
d14a1e28 RD |
6423 | |
6424 | wxPyEndAllowThreads(__tstate); | |
6425 | if (PyErr_Occurred()) SWIG_fail; | |
6426 | } | |
36ed4f51 RD |
6427 | { |
6428 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6429 | } | |
d14a1e28 RD |
6430 | return resultobj; |
6431 | fail: | |
6432 | return NULL; | |
6433 | } | |
6434 | ||
6435 | ||
36ed4f51 | 6436 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6437 | PyObject *resultobj = NULL; |
d14a1e28 | 6438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6439 | bool arg2 ; |
d14a1e28 | 6440 | PyObject * obj0 = 0 ; |
36ed4f51 | 6441 | PyObject * obj1 = 0 ; |
d14a1e28 | 6442 | char *kwnames[] = { |
36ed4f51 | 6443 | (char *) "self",(char *) "show", NULL |
d14a1e28 RD |
6444 | }; |
6445 | ||
36ed4f51 RD |
6446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; |
6447 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6448 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6449 | { | |
32fe5131 | 6450 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
6451 | if (SWIG_arg_fail(2)) SWIG_fail; |
6452 | } | |
d14a1e28 RD |
6453 | { |
6454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6455 | (arg1)->SetIndentationGuides(arg2); |
d14a1e28 RD |
6456 | |
6457 | wxPyEndAllowThreads(__tstate); | |
6458 | if (PyErr_Occurred()) SWIG_fail; | |
6459 | } | |
36ed4f51 | 6460 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6461 | return resultobj; |
6462 | fail: | |
6463 | return NULL; | |
6464 | } | |
6465 | ||
6466 | ||
36ed4f51 | 6467 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6468 | PyObject *resultobj = NULL; |
d14a1e28 | 6469 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6470 | bool result; |
d14a1e28 | 6471 | PyObject * obj0 = 0 ; |
d14a1e28 | 6472 | char *kwnames[] = { |
36ed4f51 | 6473 | (char *) "self", NULL |
d14a1e28 RD |
6474 | }; |
6475 | ||
36ed4f51 RD |
6476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; |
6477 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6478 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6479 | { |
6480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6481 | result = (bool)(arg1)->GetIndentationGuides(); |
d14a1e28 RD |
6482 | |
6483 | wxPyEndAllowThreads(__tstate); | |
6484 | if (PyErr_Occurred()) SWIG_fail; | |
6485 | } | |
d14a1e28 | 6486 | { |
36ed4f51 | 6487 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6488 | } |
6489 | return resultobj; | |
6490 | fail: | |
d14a1e28 RD |
6491 | return NULL; |
6492 | } | |
6493 | ||
6494 | ||
36ed4f51 | 6495 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6496 | PyObject *resultobj = NULL; |
d14a1e28 | 6497 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6498 | int arg2 ; |
d14a1e28 RD |
6499 | PyObject * obj0 = 0 ; |
6500 | PyObject * obj1 = 0 ; | |
d14a1e28 | 6501 | char *kwnames[] = { |
36ed4f51 | 6502 | (char *) "self",(char *) "column", NULL |
d14a1e28 RD |
6503 | }; |
6504 | ||
36ed4f51 RD |
6505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail; |
6506 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6507 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6508 | { | |
32fe5131 | 6509 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6510 | if (SWIG_arg_fail(2)) SWIG_fail; |
6511 | } | |
d14a1e28 RD |
6512 | { |
6513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6514 | (arg1)->SetHighlightGuide(arg2); |
d14a1e28 RD |
6515 | |
6516 | wxPyEndAllowThreads(__tstate); | |
6517 | if (PyErr_Occurred()) SWIG_fail; | |
6518 | } | |
36ed4f51 | 6519 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6520 | return resultobj; |
6521 | fail: | |
6522 | return NULL; | |
6523 | } | |
6524 | ||
6525 | ||
36ed4f51 | 6526 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6527 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6528 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6529 | int result; | |
6530 | PyObject * obj0 = 0 ; | |
6531 | char *kwnames[] = { | |
6532 | (char *) "self", NULL | |
6533 | }; | |
6534 | ||
36ed4f51 RD |
6535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; |
6536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6538 | { |
6539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6540 | result = (int)(arg1)->GetHighlightGuide(); |
d14a1e28 RD |
6541 | |
6542 | wxPyEndAllowThreads(__tstate); | |
6543 | if (PyErr_Occurred()) SWIG_fail; | |
6544 | } | |
36ed4f51 | 6545 | { |
32fe5131 | 6546 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6547 | } |
d14a1e28 RD |
6548 | return resultobj; |
6549 | fail: | |
6550 | return NULL; | |
6551 | } | |
6552 | ||
6553 | ||
36ed4f51 | 6554 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6555 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6556 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6557 | int arg2 ; | |
36ed4f51 | 6558 | int result; |
d14a1e28 | 6559 | PyObject * obj0 = 0 ; |
994141e6 | 6560 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6561 | char *kwnames[] = { |
6562 | (char *) "self",(char *) "line", NULL | |
6563 | }; | |
6564 | ||
36ed4f51 RD |
6565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail; |
6566 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6567 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6568 | { | |
32fe5131 | 6569 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6570 | if (SWIG_arg_fail(2)) SWIG_fail; |
6571 | } | |
d14a1e28 RD |
6572 | { |
6573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6574 | result = (int)(arg1)->GetLineEndPosition(arg2); |
d14a1e28 RD |
6575 | |
6576 | wxPyEndAllowThreads(__tstate); | |
6577 | if (PyErr_Occurred()) SWIG_fail; | |
6578 | } | |
6579 | { | |
32fe5131 | 6580 | resultobj = SWIG_From_int(static_cast<int >(result)); |
d14a1e28 RD |
6581 | } |
6582 | return resultobj; | |
6583 | fail: | |
6584 | return NULL; | |
6585 | } | |
6586 | ||
6587 | ||
36ed4f51 | 6588 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6589 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6591 | int result; | |
6592 | PyObject * obj0 = 0 ; | |
6593 | char *kwnames[] = { | |
6594 | (char *) "self", NULL | |
6595 | }; | |
6596 | ||
36ed4f51 RD |
6597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; |
6598 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6599 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6600 | { |
6601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6602 | result = (int)(arg1)->GetCodePage(); |
d14a1e28 RD |
6603 | |
6604 | wxPyEndAllowThreads(__tstate); | |
6605 | if (PyErr_Occurred()) SWIG_fail; | |
6606 | } | |
36ed4f51 | 6607 | { |
32fe5131 | 6608 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6609 | } |
d14a1e28 RD |
6610 | return resultobj; |
6611 | fail: | |
6612 | return NULL; | |
6613 | } | |
6614 | ||
6615 | ||
36ed4f51 | 6616 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6617 | PyObject *resultobj = NULL; |
d14a1e28 | 6618 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6619 | wxColour result; |
d14a1e28 RD |
6620 | PyObject * obj0 = 0 ; |
6621 | char *kwnames[] = { | |
36ed4f51 | 6622 | (char *) "self", NULL |
d14a1e28 RD |
6623 | }; |
6624 | ||
36ed4f51 RD |
6625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; |
6626 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6628 | { |
6629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6630 | result = (arg1)->GetCaretForeground(); |
d14a1e28 RD |
6631 | |
6632 | wxPyEndAllowThreads(__tstate); | |
6633 | if (PyErr_Occurred()) SWIG_fail; | |
6634 | } | |
36ed4f51 RD |
6635 | { |
6636 | wxColour * resultptr; | |
32fe5131 | 6637 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
36ed4f51 RD |
6638 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
6639 | } | |
d14a1e28 RD |
6640 | return resultobj; |
6641 | fail: | |
6642 | return NULL; | |
6643 | } | |
6644 | ||
6645 | ||
36ed4f51 | 6646 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6647 | PyObject *resultobj = NULL; |
d14a1e28 | 6648 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6649 | bool result; |
d14a1e28 RD |
6650 | PyObject * obj0 = 0 ; |
6651 | char *kwnames[] = { | |
6652 | (char *) "self", NULL | |
6653 | }; | |
6654 | ||
36ed4f51 RD |
6655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; |
6656 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6657 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6658 | { |
6659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6660 | result = (bool)(arg1)->GetReadOnly(); |
d14a1e28 RD |
6661 | |
6662 | wxPyEndAllowThreads(__tstate); | |
6663 | if (PyErr_Occurred()) SWIG_fail; | |
6664 | } | |
36ed4f51 RD |
6665 | { |
6666 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6667 | } | |
d14a1e28 RD |
6668 | return resultobj; |
6669 | fail: | |
6670 | return NULL; | |
6671 | } | |
6672 | ||
6673 | ||
36ed4f51 | 6674 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6675 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6677 | int arg2 ; | |
6678 | PyObject * obj0 = 0 ; | |
994141e6 | 6679 | PyObject * obj1 = 0 ; |
d14a1e28 | 6680 | char *kwnames[] = { |
36ed4f51 | 6681 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
6682 | }; |
6683 | ||
36ed4f51 RD |
6684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail; |
6685 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6686 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6687 | { | |
32fe5131 | 6688 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6689 | if (SWIG_arg_fail(2)) SWIG_fail; |
6690 | } | |
d14a1e28 RD |
6691 | { |
6692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6693 | (arg1)->SetCurrentPos(arg2); |
d14a1e28 RD |
6694 | |
6695 | wxPyEndAllowThreads(__tstate); | |
6696 | if (PyErr_Occurred()) SWIG_fail; | |
6697 | } | |
6698 | Py_INCREF(Py_None); resultobj = Py_None; | |
6699 | return resultobj; | |
6700 | fail: | |
6701 | return NULL; | |
6702 | } | |
6703 | ||
6704 | ||
36ed4f51 | 6705 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6706 | PyObject *resultobj = NULL; |
d14a1e28 | 6707 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6708 | int arg2 ; |
d14a1e28 | 6709 | PyObject * obj0 = 0 ; |
36ed4f51 | 6710 | PyObject * obj1 = 0 ; |
d14a1e28 | 6711 | char *kwnames[] = { |
36ed4f51 | 6712 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
6713 | }; |
6714 | ||
36ed4f51 RD |
6715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail; |
6716 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6717 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6718 | { | |
32fe5131 | 6719 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6720 | if (SWIG_arg_fail(2)) SWIG_fail; |
6721 | } | |
d14a1e28 RD |
6722 | { |
6723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6724 | (arg1)->SetSelectionStart(arg2); |
d14a1e28 RD |
6725 | |
6726 | wxPyEndAllowThreads(__tstate); | |
6727 | if (PyErr_Occurred()) SWIG_fail; | |
6728 | } | |
36ed4f51 | 6729 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6730 | return resultobj; |
6731 | fail: | |
6732 | return NULL; | |
6733 | } | |
6734 | ||
6735 | ||
36ed4f51 | 6736 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6737 | PyObject *resultobj = NULL; |
d14a1e28 | 6738 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6739 | int result; |
d14a1e28 RD |
6740 | PyObject * obj0 = 0 ; |
6741 | char *kwnames[] = { | |
6742 | (char *) "self", NULL | |
6743 | }; | |
6744 | ||
36ed4f51 RD |
6745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; |
6746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6748 | { |
6749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6750 | result = (int)(arg1)->GetSelectionStart(); |
d14a1e28 RD |
6751 | |
6752 | wxPyEndAllowThreads(__tstate); | |
6753 | if (PyErr_Occurred()) SWIG_fail; | |
6754 | } | |
4f89f6a3 | 6755 | { |
32fe5131 | 6756 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 6757 | } |
d14a1e28 RD |
6758 | return resultobj; |
6759 | fail: | |
6760 | return NULL; | |
6761 | } | |
6762 | ||
6763 | ||
36ed4f51 | 6764 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6765 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6766 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6767 | int arg2 ; | |
d14a1e28 | 6768 | PyObject * obj0 = 0 ; |
994141e6 | 6769 | PyObject * obj1 = 0 ; |
d14a1e28 | 6770 | char *kwnames[] = { |
36ed4f51 | 6771 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
6772 | }; |
6773 | ||
36ed4f51 RD |
6774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail; |
6775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6777 | { | |
32fe5131 | 6778 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6779 | if (SWIG_arg_fail(2)) SWIG_fail; |
6780 | } | |
d14a1e28 RD |
6781 | { |
6782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6783 | (arg1)->SetSelectionEnd(arg2); |
d14a1e28 RD |
6784 | |
6785 | wxPyEndAllowThreads(__tstate); | |
6786 | if (PyErr_Occurred()) SWIG_fail; | |
6787 | } | |
6788 | Py_INCREF(Py_None); resultobj = Py_None; | |
6789 | return resultobj; | |
6790 | fail: | |
6791 | return NULL; | |
6792 | } | |
6793 | ||
6794 | ||
36ed4f51 | 6795 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6796 | PyObject *resultobj = NULL; |
d14a1e28 | 6797 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6798 | int result; |
d14a1e28 RD |
6799 | PyObject * obj0 = 0 ; |
6800 | char *kwnames[] = { | |
6801 | (char *) "self", NULL | |
6802 | }; | |
6803 | ||
36ed4f51 RD |
6804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; |
6805 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6806 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6807 | { |
6808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6809 | result = (int)(arg1)->GetSelectionEnd(); |
d14a1e28 RD |
6810 | |
6811 | wxPyEndAllowThreads(__tstate); | |
6812 | if (PyErr_Occurred()) SWIG_fail; | |
6813 | } | |
6814 | { | |
32fe5131 | 6815 | resultobj = SWIG_From_int(static_cast<int >(result)); |
d14a1e28 RD |
6816 | } |
6817 | return resultobj; | |
6818 | fail: | |
6819 | return NULL; | |
6820 | } | |
6821 | ||
6822 | ||
36ed4f51 | 6823 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6824 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6825 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6826 | int arg2 ; | |
d14a1e28 | 6827 | PyObject * obj0 = 0 ; |
994141e6 | 6828 | PyObject * obj1 = 0 ; |
d14a1e28 | 6829 | char *kwnames[] = { |
36ed4f51 | 6830 | (char *) "self",(char *) "magnification", NULL |
d14a1e28 RD |
6831 | }; |
6832 | ||
36ed4f51 RD |
6833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail; |
6834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6836 | { | |
32fe5131 | 6837 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6838 | if (SWIG_arg_fail(2)) SWIG_fail; |
6839 | } | |
d14a1e28 RD |
6840 | { |
6841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6842 | (arg1)->SetPrintMagnification(arg2); |
d14a1e28 RD |
6843 | |
6844 | wxPyEndAllowThreads(__tstate); | |
6845 | if (PyErr_Occurred()) SWIG_fail; | |
6846 | } | |
36ed4f51 | 6847 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6848 | return resultobj; |
6849 | fail: | |
6850 | return NULL; | |
6851 | } | |
6852 | ||
6853 | ||
36ed4f51 | 6854 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6855 | PyObject *resultobj = NULL; |
d14a1e28 | 6856 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 6857 | int result; |
d14a1e28 | 6858 | PyObject * obj0 = 0 ; |
d14a1e28 | 6859 | char *kwnames[] = { |
36ed4f51 | 6860 | (char *) "self", NULL |
d14a1e28 RD |
6861 | }; |
6862 | ||
36ed4f51 RD |
6863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; |
6864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6866 | { |
6867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6868 | result = (int)(arg1)->GetPrintMagnification(); |
d14a1e28 RD |
6869 | |
6870 | wxPyEndAllowThreads(__tstate); | |
6871 | if (PyErr_Occurred()) SWIG_fail; | |
6872 | } | |
36ed4f51 | 6873 | { |
32fe5131 | 6874 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6875 | } |
d14a1e28 RD |
6876 | return resultobj; |
6877 | fail: | |
6878 | return NULL; | |
6879 | } | |
6880 | ||
6881 | ||
36ed4f51 | 6882 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6883 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6884 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6885 | int arg2 ; | |
d14a1e28 | 6886 | PyObject * obj0 = 0 ; |
994141e6 | 6887 | PyObject * obj1 = 0 ; |
d14a1e28 | 6888 | char *kwnames[] = { |
36ed4f51 | 6889 | (char *) "self",(char *) "mode", NULL |
d14a1e28 RD |
6890 | }; |
6891 | ||
36ed4f51 RD |
6892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail; |
6893 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6894 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6895 | { | |
32fe5131 | 6896 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6897 | if (SWIG_arg_fail(2)) SWIG_fail; |
6898 | } | |
d14a1e28 RD |
6899 | { |
6900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6901 | (arg1)->SetPrintColourMode(arg2); |
d14a1e28 RD |
6902 | |
6903 | wxPyEndAllowThreads(__tstate); | |
6904 | if (PyErr_Occurred()) SWIG_fail; | |
6905 | } | |
36ed4f51 | 6906 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
6907 | return resultobj; |
6908 | fail: | |
6909 | return NULL; | |
6910 | } | |
6911 | ||
6912 | ||
36ed4f51 | 6913 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6914 | PyObject *resultobj = NULL; |
d14a1e28 | 6915 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
6916 | int result; |
6917 | PyObject * obj0 = 0 ; | |
6918 | char *kwnames[] = { | |
36ed4f51 | 6919 | (char *) "self", NULL |
d14a1e28 RD |
6920 | }; |
6921 | ||
36ed4f51 RD |
6922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; |
6923 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6924 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
6925 | { |
6926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6927 | result = (int)(arg1)->GetPrintColourMode(); |
d14a1e28 RD |
6928 | |
6929 | wxPyEndAllowThreads(__tstate); | |
6930 | if (PyErr_Occurred()) SWIG_fail; | |
6931 | } | |
36ed4f51 | 6932 | { |
32fe5131 | 6933 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 6934 | } |
d14a1e28 RD |
6935 | return resultobj; |
6936 | fail: | |
6937 | return NULL; | |
6938 | } | |
6939 | ||
6940 | ||
36ed4f51 | 6941 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 6942 | PyObject *resultobj = NULL; |
d14a1e28 RD |
6943 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
6944 | int arg2 ; | |
6945 | int arg3 ; | |
36ed4f51 RD |
6946 | wxString *arg4 = 0 ; |
6947 | int arg5 = (int) 0 ; | |
6948 | int result; | |
6949 | bool temp4 = false ; | |
d14a1e28 | 6950 | PyObject * obj0 = 0 ; |
994141e6 RD |
6951 | PyObject * obj1 = 0 ; |
6952 | PyObject * obj2 = 0 ; | |
36ed4f51 RD |
6953 | PyObject * obj3 = 0 ; |
6954 | PyObject * obj4 = 0 ; | |
d14a1e28 | 6955 | char *kwnames[] = { |
36ed4f51 | 6956 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL |
d14a1e28 RD |
6957 | }; |
6958 | ||
36ed4f51 RD |
6959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
6960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6962 | { | |
32fe5131 | 6963 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
6964 | if (SWIG_arg_fail(2)) SWIG_fail; |
6965 | } | |
6966 | { | |
32fe5131 | 6967 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
6968 | if (SWIG_arg_fail(3)) SWIG_fail; |
6969 | } | |
6970 | { | |
6971 | arg4 = wxString_in_helper(obj3); | |
6972 | if (arg4 == NULL) SWIG_fail; | |
6973 | temp4 = true; | |
6974 | } | |
6975 | if (obj4) { | |
6976 | { | |
32fe5131 | 6977 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
36ed4f51 RD |
6978 | if (SWIG_arg_fail(5)) SWIG_fail; |
6979 | } | |
6980 | } | |
d14a1e28 RD |
6981 | { |
6982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 6983 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); |
d14a1e28 RD |
6984 | |
6985 | wxPyEndAllowThreads(__tstate); | |
6986 | if (PyErr_Occurred()) SWIG_fail; | |
6987 | } | |
36ed4f51 | 6988 | { |
32fe5131 | 6989 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
6990 | } |
6991 | { | |
6992 | if (temp4) | |
6993 | delete arg4; | |
6994 | } | |
d14a1e28 RD |
6995 | return resultobj; |
6996 | fail: | |
36ed4f51 RD |
6997 | { |
6998 | if (temp4) | |
6999 | delete arg4; | |
7000 | } | |
d14a1e28 RD |
7001 | return NULL; |
7002 | } | |
7003 | ||
7004 | ||
36ed4f51 | 7005 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7006 | PyObject *resultobj = NULL; |
d14a1e28 | 7007 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7008 | bool arg2 ; |
7009 | int arg3 ; | |
7010 | int arg4 ; | |
7011 | wxDC *arg5 = (wxDC *) 0 ; | |
7012 | wxDC *arg6 = (wxDC *) 0 ; | |
7013 | wxRect arg7 ; | |
7014 | wxRect arg8 ; | |
7015 | int result; | |
d14a1e28 | 7016 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
7017 | PyObject * obj1 = 0 ; |
7018 | PyObject * obj2 = 0 ; | |
7019 | PyObject * obj3 = 0 ; | |
7020 | PyObject * obj4 = 0 ; | |
7021 | PyObject * obj5 = 0 ; | |
7022 | PyObject * obj6 = 0 ; | |
7023 | PyObject * obj7 = 0 ; | |
d14a1e28 | 7024 | char *kwnames[] = { |
36ed4f51 | 7025 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL |
d14a1e28 RD |
7026 | }; |
7027 | ||
36ed4f51 RD |
7028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
7029 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7030 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7031 | { | |
32fe5131 | 7032 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
7033 | if (SWIG_arg_fail(2)) SWIG_fail; |
7034 | } | |
7035 | { | |
32fe5131 | 7036 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
7037 | if (SWIG_arg_fail(3)) SWIG_fail; |
7038 | } | |
7039 | { | |
32fe5131 | 7040 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
36ed4f51 RD |
7041 | if (SWIG_arg_fail(4)) SWIG_fail; |
7042 | } | |
7043 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
7044 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7045 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); | |
7046 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7047 | { | |
7048 | wxRect * argp; | |
7049 | SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
7050 | if (SWIG_arg_fail(7)) SWIG_fail; | |
7051 | if (argp == NULL) { | |
7052 | SWIG_null_ref("wxRect"); | |
7053 | } | |
7054 | if (SWIG_arg_fail(7)) SWIG_fail; | |
7055 | arg7 = *argp; | |
7056 | } | |
7057 | { | |
7058 | wxRect * argp; | |
7059 | SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION); | |
7060 | if (SWIG_arg_fail(8)) SWIG_fail; | |
7061 | if (argp == NULL) { | |
7062 | SWIG_null_ref("wxRect"); | |
7063 | } | |
7064 | if (SWIG_arg_fail(8)) SWIG_fail; | |
7065 | arg8 = *argp; | |
7066 | } | |
d14a1e28 RD |
7067 | { |
7068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7069 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); |
d14a1e28 RD |
7070 | |
7071 | wxPyEndAllowThreads(__tstate); | |
7072 | if (PyErr_Occurred()) SWIG_fail; | |
7073 | } | |
36ed4f51 | 7074 | { |
32fe5131 | 7075 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 7076 | } |
d14a1e28 RD |
7077 | return resultobj; |
7078 | fail: | |
7079 | return NULL; | |
7080 | } | |
7081 | ||
7082 | ||
36ed4f51 | 7083 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7084 | PyObject *resultobj = NULL; |
d14a1e28 | 7085 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7086 | int result; |
d14a1e28 | 7087 | PyObject * obj0 = 0 ; |
d14a1e28 | 7088 | char *kwnames[] = { |
36ed4f51 | 7089 | (char *) "self", NULL |
d14a1e28 RD |
7090 | }; |
7091 | ||
36ed4f51 RD |
7092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; |
7093 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7094 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7095 | { |
7096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7097 | result = (int)(arg1)->GetFirstVisibleLine(); |
d14a1e28 RD |
7098 | |
7099 | wxPyEndAllowThreads(__tstate); | |
7100 | if (PyErr_Occurred()) SWIG_fail; | |
7101 | } | |
d14a1e28 | 7102 | { |
32fe5131 | 7103 | resultobj = SWIG_From_int(static_cast<int >(result)); |
d14a1e28 RD |
7104 | } |
7105 | return resultobj; | |
7106 | fail: | |
d14a1e28 RD |
7107 | return NULL; |
7108 | } | |
7109 | ||
7110 | ||
36ed4f51 | 7111 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7112 | PyObject *resultobj = NULL; |
d14a1e28 | 7113 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7114 | int arg2 ; |
7115 | wxString result; | |
d14a1e28 RD |
7116 | PyObject * obj0 = 0 ; |
7117 | PyObject * obj1 = 0 ; | |
7118 | char *kwnames[] = { | |
36ed4f51 | 7119 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
7120 | }; |
7121 | ||
36ed4f51 RD |
7122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail; |
7123 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7124 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7125 | { | |
32fe5131 | 7126 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7127 | if (SWIG_arg_fail(2)) SWIG_fail; |
7128 | } | |
d14a1e28 RD |
7129 | { |
7130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7131 | result = (arg1)->GetLine(arg2); |
d14a1e28 RD |
7132 | |
7133 | wxPyEndAllowThreads(__tstate); | |
7134 | if (PyErr_Occurred()) SWIG_fail; | |
7135 | } | |
36ed4f51 RD |
7136 | { |
7137 | #if wxUSE_UNICODE | |
7138 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7139 | #else | |
7140 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7141 | #endif | |
7142 | } | |
d14a1e28 RD |
7143 | return resultobj; |
7144 | fail: | |
7145 | return NULL; | |
7146 | } | |
7147 | ||
7148 | ||
36ed4f51 | 7149 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7150 | PyObject *resultobj = NULL; |
d14a1e28 | 7151 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7152 | int result; |
d14a1e28 RD |
7153 | PyObject * obj0 = 0 ; |
7154 | char *kwnames[] = { | |
7155 | (char *) "self", NULL | |
7156 | }; | |
7157 | ||
36ed4f51 RD |
7158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; |
7159 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7160 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7161 | { |
7162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7163 | result = (int)(arg1)->GetLineCount(); |
d14a1e28 RD |
7164 | |
7165 | wxPyEndAllowThreads(__tstate); | |
7166 | if (PyErr_Occurred()) SWIG_fail; | |
7167 | } | |
4f89f6a3 | 7168 | { |
32fe5131 | 7169 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 7170 | } |
d14a1e28 RD |
7171 | return resultobj; |
7172 | fail: | |
7173 | return NULL; | |
7174 | } | |
7175 | ||
7176 | ||
36ed4f51 | 7177 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7178 | PyObject *resultobj = NULL; |
d14a1e28 | 7179 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7180 | int arg2 ; |
d14a1e28 | 7181 | PyObject * obj0 = 0 ; |
36ed4f51 | 7182 | PyObject * obj1 = 0 ; |
d14a1e28 | 7183 | char *kwnames[] = { |
36ed4f51 | 7184 | (char *) "self",(char *) "pixelWidth", NULL |
d14a1e28 RD |
7185 | }; |
7186 | ||
36ed4f51 RD |
7187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail; |
7188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7190 | { | |
32fe5131 | 7191 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7192 | if (SWIG_arg_fail(2)) SWIG_fail; |
7193 | } | |
d14a1e28 RD |
7194 | { |
7195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7196 | (arg1)->SetMarginLeft(arg2); |
d14a1e28 RD |
7197 | |
7198 | wxPyEndAllowThreads(__tstate); | |
7199 | if (PyErr_Occurred()) SWIG_fail; | |
7200 | } | |
36ed4f51 | 7201 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7202 | return resultobj; |
7203 | fail: | |
7204 | return NULL; | |
7205 | } | |
7206 | ||
7207 | ||
36ed4f51 | 7208 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7209 | PyObject *resultobj = NULL; |
d14a1e28 | 7210 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7211 | int result; |
d14a1e28 RD |
7212 | PyObject * obj0 = 0 ; |
7213 | char *kwnames[] = { | |
7214 | (char *) "self", NULL | |
7215 | }; | |
7216 | ||
36ed4f51 RD |
7217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; |
7218 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7219 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7220 | { |
7221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7222 | result = (int)(arg1)->GetMarginLeft(); |
d14a1e28 RD |
7223 | |
7224 | wxPyEndAllowThreads(__tstate); | |
7225 | if (PyErr_Occurred()) SWIG_fail; | |
7226 | } | |
36ed4f51 | 7227 | { |
32fe5131 | 7228 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 7229 | } |
d14a1e28 RD |
7230 | return resultobj; |
7231 | fail: | |
7232 | return NULL; | |
7233 | } | |
7234 | ||
7235 | ||
36ed4f51 | 7236 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7237 | PyObject *resultobj = NULL; |
d14a1e28 | 7238 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7239 | int arg2 ; |
d14a1e28 | 7240 | PyObject * obj0 = 0 ; |
36ed4f51 | 7241 | PyObject * obj1 = 0 ; |
d14a1e28 | 7242 | char *kwnames[] = { |
36ed4f51 | 7243 | (char *) "self",(char *) "pixelWidth", NULL |
d14a1e28 RD |
7244 | }; |
7245 | ||
36ed4f51 RD |
7246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail; |
7247 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7248 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7249 | { | |
32fe5131 | 7250 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7251 | if (SWIG_arg_fail(2)) SWIG_fail; |
7252 | } | |
d14a1e28 RD |
7253 | { |
7254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7255 | (arg1)->SetMarginRight(arg2); |
d14a1e28 RD |
7256 | |
7257 | wxPyEndAllowThreads(__tstate); | |
7258 | if (PyErr_Occurred()) SWIG_fail; | |
7259 | } | |
7260 | Py_INCREF(Py_None); resultobj = Py_None; | |
7261 | return resultobj; | |
7262 | fail: | |
7263 | return NULL; | |
7264 | } | |
7265 | ||
7266 | ||
36ed4f51 | 7267 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7268 | PyObject *resultobj = NULL; |
d14a1e28 | 7269 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7270 | int result; |
d14a1e28 RD |
7271 | PyObject * obj0 = 0 ; |
7272 | char *kwnames[] = { | |
7273 | (char *) "self", NULL | |
7274 | }; | |
7275 | ||
36ed4f51 RD |
7276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; |
7277 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7278 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7279 | { |
7280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7281 | result = (int)(arg1)->GetMarginRight(); |
d14a1e28 RD |
7282 | |
7283 | wxPyEndAllowThreads(__tstate); | |
7284 | if (PyErr_Occurred()) SWIG_fail; | |
7285 | } | |
36ed4f51 | 7286 | { |
32fe5131 | 7287 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 7288 | } |
d14a1e28 RD |
7289 | return resultobj; |
7290 | fail: | |
7291 | return NULL; | |
7292 | } | |
7293 | ||
7294 | ||
36ed4f51 | 7295 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7296 | PyObject *resultobj = NULL; |
d14a1e28 | 7297 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7298 | bool result; |
d14a1e28 RD |
7299 | PyObject * obj0 = 0 ; |
7300 | char *kwnames[] = { | |
7301 | (char *) "self", NULL | |
7302 | }; | |
7303 | ||
36ed4f51 RD |
7304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; |
7305 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7306 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7307 | { |
7308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7309 | result = (bool)(arg1)->GetModify(); |
d14a1e28 RD |
7310 | |
7311 | wxPyEndAllowThreads(__tstate); | |
7312 | if (PyErr_Occurred()) SWIG_fail; | |
7313 | } | |
36ed4f51 RD |
7314 | { |
7315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7316 | } | |
d14a1e28 RD |
7317 | return resultobj; |
7318 | fail: | |
7319 | return NULL; | |
7320 | } | |
7321 | ||
7322 | ||
36ed4f51 | 7323 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7324 | PyObject *resultobj = NULL; |
d14a1e28 | 7325 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7326 | int arg2 ; |
7327 | int arg3 ; | |
d14a1e28 | 7328 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
7329 | PyObject * obj1 = 0 ; |
7330 | PyObject * obj2 = 0 ; | |
7331 | char *kwnames[] = { | |
7332 | (char *) "self",(char *) "start",(char *) "end", NULL | |
d14a1e28 RD |
7333 | }; |
7334 | ||
36ed4f51 RD |
7335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7336 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7337 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7338 | { | |
32fe5131 | 7339 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7340 | if (SWIG_arg_fail(2)) SWIG_fail; |
7341 | } | |
7342 | { | |
32fe5131 | 7343 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
7344 | if (SWIG_arg_fail(3)) SWIG_fail; |
7345 | } | |
d14a1e28 RD |
7346 | { |
7347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7348 | (arg1)->SetSelection(arg2,arg3); |
d14a1e28 RD |
7349 | |
7350 | wxPyEndAllowThreads(__tstate); | |
7351 | if (PyErr_Occurred()) SWIG_fail; | |
7352 | } | |
7353 | Py_INCREF(Py_None); resultobj = Py_None; | |
7354 | return resultobj; | |
7355 | fail: | |
7356 | return NULL; | |
7357 | } | |
7358 | ||
7359 | ||
36ed4f51 | 7360 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7361 | PyObject *resultobj = NULL; |
d14a1e28 | 7362 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7363 | wxString result; |
d14a1e28 RD |
7364 | PyObject * obj0 = 0 ; |
7365 | char *kwnames[] = { | |
7366 | (char *) "self", NULL | |
7367 | }; | |
7368 | ||
36ed4f51 RD |
7369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; |
7370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7372 | { |
7373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7374 | result = (arg1)->GetSelectedText(); |
d14a1e28 RD |
7375 | |
7376 | wxPyEndAllowThreads(__tstate); | |
7377 | if (PyErr_Occurred()) SWIG_fail; | |
7378 | } | |
36ed4f51 RD |
7379 | { |
7380 | #if wxUSE_UNICODE | |
7381 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7382 | #else | |
7383 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7384 | #endif | |
7385 | } | |
d14a1e28 RD |
7386 | return resultobj; |
7387 | fail: | |
7388 | return NULL; | |
7389 | } | |
7390 | ||
7391 | ||
36ed4f51 | 7392 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7393 | PyObject *resultobj = NULL; |
d14a1e28 | 7394 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7395 | int arg2 ; |
7396 | int arg3 ; | |
7397 | wxString result; | |
d14a1e28 RD |
7398 | PyObject * obj0 = 0 ; |
7399 | PyObject * obj1 = 0 ; | |
36ed4f51 | 7400 | PyObject * obj2 = 0 ; |
d14a1e28 | 7401 | char *kwnames[] = { |
36ed4f51 | 7402 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL |
d14a1e28 RD |
7403 | }; |
7404 | ||
36ed4f51 RD |
7405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7406 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7407 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 7408 | { |
32fe5131 | 7409 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7410 | if (SWIG_arg_fail(2)) SWIG_fail; |
7411 | } | |
7412 | { | |
32fe5131 | 7413 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 | 7414 | if (SWIG_arg_fail(3)) SWIG_fail; |
d14a1e28 RD |
7415 | } |
7416 | { | |
7417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7418 | result = (arg1)->GetTextRange(arg2,arg3); |
d14a1e28 RD |
7419 | |
7420 | wxPyEndAllowThreads(__tstate); | |
7421 | if (PyErr_Occurred()) SWIG_fail; | |
7422 | } | |
d14a1e28 | 7423 | { |
36ed4f51 RD |
7424 | #if wxUSE_UNICODE |
7425 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7426 | #else | |
7427 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7428 | #endif | |
d14a1e28 RD |
7429 | } |
7430 | return resultobj; | |
7431 | fail: | |
d14a1e28 RD |
7432 | return NULL; |
7433 | } | |
7434 | ||
7435 | ||
36ed4f51 | 7436 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7437 | PyObject *resultobj = NULL; |
d14a1e28 | 7438 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7439 | bool arg2 ; |
d14a1e28 | 7440 | PyObject * obj0 = 0 ; |
36ed4f51 | 7441 | PyObject * obj1 = 0 ; |
d14a1e28 | 7442 | char *kwnames[] = { |
36ed4f51 | 7443 | (char *) "self",(char *) "normal", NULL |
d14a1e28 RD |
7444 | }; |
7445 | ||
36ed4f51 RD |
7446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; |
7447 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7448 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7449 | { | |
32fe5131 | 7450 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
7451 | if (SWIG_arg_fail(2)) SWIG_fail; |
7452 | } | |
d14a1e28 RD |
7453 | { |
7454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7455 | (arg1)->HideSelection(arg2); |
d14a1e28 RD |
7456 | |
7457 | wxPyEndAllowThreads(__tstate); | |
7458 | if (PyErr_Occurred()) SWIG_fail; | |
7459 | } | |
36ed4f51 | 7460 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7461 | return resultobj; |
7462 | fail: | |
7463 | return NULL; | |
7464 | } | |
7465 | ||
7466 | ||
36ed4f51 | 7467 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7468 | PyObject *resultobj = NULL; |
d14a1e28 | 7469 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7470 | int arg2 ; |
d14a1e28 RD |
7471 | int result; |
7472 | PyObject * obj0 = 0 ; | |
36ed4f51 | 7473 | PyObject * obj1 = 0 ; |
d14a1e28 | 7474 | char *kwnames[] = { |
36ed4f51 | 7475 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
7476 | }; |
7477 | ||
36ed4f51 RD |
7478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail; |
7479 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7480 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7481 | { | |
32fe5131 | 7482 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7483 | if (SWIG_arg_fail(2)) SWIG_fail; |
7484 | } | |
d14a1e28 RD |
7485 | { |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7487 | result = (int)(arg1)->LineFromPosition(arg2); |
d14a1e28 RD |
7488 | |
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
36ed4f51 | 7492 | { |
32fe5131 | 7493 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 7494 | } |
d14a1e28 RD |
7495 | return resultobj; |
7496 | fail: | |
7497 | return NULL; | |
7498 | } | |
7499 | ||
7500 | ||
36ed4f51 | 7501 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7502 | PyObject *resultobj = NULL; |
d14a1e28 | 7503 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7504 | int arg2 ; |
7505 | int result; | |
d14a1e28 RD |
7506 | PyObject * obj0 = 0 ; |
7507 | PyObject * obj1 = 0 ; | |
7508 | char *kwnames[] = { | |
36ed4f51 | 7509 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
7510 | }; |
7511 | ||
36ed4f51 RD |
7512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail; |
7513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7515 | { | |
32fe5131 | 7516 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7517 | if (SWIG_arg_fail(2)) SWIG_fail; |
7518 | } | |
d14a1e28 RD |
7519 | { |
7520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7521 | result = (int)(arg1)->PositionFromLine(arg2); |
d14a1e28 RD |
7522 | |
7523 | wxPyEndAllowThreads(__tstate); | |
7524 | if (PyErr_Occurred()) SWIG_fail; | |
7525 | } | |
36ed4f51 | 7526 | { |
32fe5131 | 7527 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 7528 | } |
d14a1e28 RD |
7529 | return resultobj; |
7530 | fail: | |
7531 | return NULL; | |
7532 | } | |
7533 | ||
7534 | ||
36ed4f51 | 7535 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7536 | PyObject *resultobj = NULL; |
d14a1e28 | 7537 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7538 | int arg2 ; |
7539 | int arg3 ; | |
d14a1e28 | 7540 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
7541 | PyObject * obj1 = 0 ; |
7542 | PyObject * obj2 = 0 ; | |
d14a1e28 | 7543 | char *kwnames[] = { |
36ed4f51 | 7544 | (char *) "self",(char *) "columns",(char *) "lines", NULL |
d14a1e28 RD |
7545 | }; |
7546 | ||
36ed4f51 RD |
7547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
7548 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7549 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7550 | { | |
32fe5131 | 7551 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
7552 | if (SWIG_arg_fail(2)) SWIG_fail; |
7553 | } | |
7554 | { | |
32fe5131 | 7555 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
7556 | if (SWIG_arg_fail(3)) SWIG_fail; |
7557 | } | |
d14a1e28 RD |
7558 | { |
7559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7560 | (arg1)->LineScroll(arg2,arg3); |
d14a1e28 RD |
7561 | |
7562 | wxPyEndAllowThreads(__tstate); | |
7563 | if (PyErr_Occurred()) SWIG_fail; | |
7564 | } | |
36ed4f51 | 7565 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7566 | return resultobj; |
7567 | fail: | |
7568 | return NULL; | |
7569 | } | |
7570 | ||
7571 | ||
36ed4f51 | 7572 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7573 | PyObject *resultobj = NULL; |
d14a1e28 | 7574 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
7575 | PyObject * obj0 = 0 ; |
7576 | char *kwnames[] = { | |
36ed4f51 | 7577 | (char *) "self", NULL |
d14a1e28 RD |
7578 | }; |
7579 | ||
36ed4f51 RD |
7580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; |
7581 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7582 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7583 | { |
7584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7585 | (arg1)->EnsureCaretVisible(); |
d14a1e28 RD |
7586 | |
7587 | wxPyEndAllowThreads(__tstate); | |
7588 | if (PyErr_Occurred()) SWIG_fail; | |
7589 | } | |
7590 | Py_INCREF(Py_None); resultobj = Py_None; | |
7591 | return resultobj; | |
7592 | fail: | |
7593 | return NULL; | |
7594 | } | |
7595 | ||
7596 | ||
36ed4f51 | 7597 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7598 | PyObject *resultobj = NULL; |
d14a1e28 | 7599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7600 | wxString *arg2 = 0 ; |
7601 | bool temp2 = false ; | |
d14a1e28 | 7602 | PyObject * obj0 = 0 ; |
36ed4f51 | 7603 | PyObject * obj1 = 0 ; |
d14a1e28 | 7604 | char *kwnames[] = { |
36ed4f51 | 7605 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
7606 | }; |
7607 | ||
36ed4f51 RD |
7608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; |
7609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7611 | { | |
7612 | arg2 = wxString_in_helper(obj1); | |
7613 | if (arg2 == NULL) SWIG_fail; | |
7614 | temp2 = true; | |
7615 | } | |
d14a1e28 RD |
7616 | { |
7617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7618 | (arg1)->ReplaceSelection((wxString const &)*arg2); |
d14a1e28 RD |
7619 | |
7620 | wxPyEndAllowThreads(__tstate); | |
7621 | if (PyErr_Occurred()) SWIG_fail; | |
7622 | } | |
36ed4f51 RD |
7623 | Py_INCREF(Py_None); resultobj = Py_None; |
7624 | { | |
7625 | if (temp2) | |
7626 | delete arg2; | |
7627 | } | |
d14a1e28 RD |
7628 | return resultobj; |
7629 | fail: | |
36ed4f51 RD |
7630 | { |
7631 | if (temp2) | |
7632 | delete arg2; | |
7633 | } | |
d14a1e28 RD |
7634 | return NULL; |
7635 | } | |
7636 | ||
7637 | ||
36ed4f51 | 7638 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7639 | PyObject *resultobj = NULL; |
d14a1e28 | 7640 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7641 | bool arg2 ; |
d14a1e28 | 7642 | PyObject * obj0 = 0 ; |
994141e6 | 7643 | PyObject * obj1 = 0 ; |
d14a1e28 | 7644 | char *kwnames[] = { |
36ed4f51 | 7645 | (char *) "self",(char *) "readOnly", NULL |
d14a1e28 RD |
7646 | }; |
7647 | ||
36ed4f51 RD |
7648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; |
7649 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7650 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7651 | { | |
32fe5131 | 7652 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
7653 | if (SWIG_arg_fail(2)) SWIG_fail; |
7654 | } | |
d14a1e28 RD |
7655 | { |
7656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7657 | (arg1)->SetReadOnly(arg2); |
d14a1e28 RD |
7658 | |
7659 | wxPyEndAllowThreads(__tstate); | |
7660 | if (PyErr_Occurred()) SWIG_fail; | |
7661 | } | |
7662 | Py_INCREF(Py_None); resultobj = Py_None; | |
7663 | return resultobj; | |
7664 | fail: | |
7665 | return NULL; | |
7666 | } | |
7667 | ||
7668 | ||
36ed4f51 | 7669 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7670 | PyObject *resultobj = NULL; |
d14a1e28 | 7671 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7672 | bool result; |
d14a1e28 RD |
7673 | PyObject * obj0 = 0 ; |
7674 | char *kwnames[] = { | |
7675 | (char *) "self", NULL | |
7676 | }; | |
7677 | ||
36ed4f51 RD |
7678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; |
7679 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7680 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7681 | { |
7682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7683 | result = (bool)(arg1)->CanPaste(); |
d14a1e28 RD |
7684 | |
7685 | wxPyEndAllowThreads(__tstate); | |
7686 | if (PyErr_Occurred()) SWIG_fail; | |
7687 | } | |
36ed4f51 RD |
7688 | { |
7689 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7690 | } | |
d14a1e28 RD |
7691 | return resultobj; |
7692 | fail: | |
7693 | return NULL; | |
7694 | } | |
7695 | ||
7696 | ||
36ed4f51 | 7697 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7698 | PyObject *resultobj = NULL; |
d14a1e28 | 7699 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7700 | bool result; |
d14a1e28 RD |
7701 | PyObject * obj0 = 0 ; |
7702 | char *kwnames[] = { | |
36ed4f51 | 7703 | (char *) "self", NULL |
d14a1e28 RD |
7704 | }; |
7705 | ||
36ed4f51 RD |
7706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; |
7707 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7708 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7709 | { |
7710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7711 | result = (bool)(arg1)->CanUndo(); |
d14a1e28 RD |
7712 | |
7713 | wxPyEndAllowThreads(__tstate); | |
7714 | if (PyErr_Occurred()) SWIG_fail; | |
7715 | } | |
36ed4f51 RD |
7716 | { |
7717 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7718 | } | |
d14a1e28 RD |
7719 | return resultobj; |
7720 | fail: | |
7721 | return NULL; | |
7722 | } | |
7723 | ||
7724 | ||
36ed4f51 | 7725 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7726 | PyObject *resultobj = NULL; |
d14a1e28 | 7727 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
7728 | PyObject * obj0 = 0 ; |
7729 | char *kwnames[] = { | |
7730 | (char *) "self", NULL | |
7731 | }; | |
7732 | ||
36ed4f51 RD |
7733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; |
7734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7736 | { |
7737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7738 | (arg1)->EmptyUndoBuffer(); |
d14a1e28 RD |
7739 | |
7740 | wxPyEndAllowThreads(__tstate); | |
7741 | if (PyErr_Occurred()) SWIG_fail; | |
7742 | } | |
36ed4f51 | 7743 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7744 | return resultobj; |
7745 | fail: | |
7746 | return NULL; | |
7747 | } | |
7748 | ||
7749 | ||
36ed4f51 | 7750 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7751 | PyObject *resultobj = NULL; |
d14a1e28 | 7752 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 7753 | PyObject * obj0 = 0 ; |
d14a1e28 | 7754 | char *kwnames[] = { |
36ed4f51 | 7755 | (char *) "self", NULL |
d14a1e28 RD |
7756 | }; |
7757 | ||
36ed4f51 RD |
7758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; |
7759 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7760 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7761 | { |
7762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7763 | (arg1)->Undo(); |
d14a1e28 RD |
7764 | |
7765 | wxPyEndAllowThreads(__tstate); | |
7766 | if (PyErr_Occurred()) SWIG_fail; | |
7767 | } | |
36ed4f51 | 7768 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7769 | return resultobj; |
7770 | fail: | |
d14a1e28 RD |
7771 | return NULL; |
7772 | } | |
7773 | ||
7774 | ||
36ed4f51 | 7775 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7776 | PyObject *resultobj = NULL; |
d14a1e28 | 7777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 7778 | PyObject * obj0 = 0 ; |
d14a1e28 | 7779 | char *kwnames[] = { |
36ed4f51 | 7780 | (char *) "self", NULL |
d14a1e28 RD |
7781 | }; |
7782 | ||
36ed4f51 RD |
7783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; |
7784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7786 | { |
7787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7788 | (arg1)->Cut(); |
d14a1e28 RD |
7789 | |
7790 | wxPyEndAllowThreads(__tstate); | |
7791 | if (PyErr_Occurred()) SWIG_fail; | |
7792 | } | |
36ed4f51 | 7793 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7794 | return resultobj; |
7795 | fail: | |
d14a1e28 RD |
7796 | return NULL; |
7797 | } | |
7798 | ||
7799 | ||
36ed4f51 | 7800 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7801 | PyObject *resultobj = NULL; |
d14a1e28 | 7802 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 7803 | PyObject * obj0 = 0 ; |
d14a1e28 | 7804 | char *kwnames[] = { |
36ed4f51 | 7805 | (char *) "self", NULL |
d14a1e28 RD |
7806 | }; |
7807 | ||
36ed4f51 RD |
7808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; |
7809 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7810 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7811 | { |
7812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7813 | (arg1)->Copy(); |
d14a1e28 RD |
7814 | |
7815 | wxPyEndAllowThreads(__tstate); | |
7816 | if (PyErr_Occurred()) SWIG_fail; | |
7817 | } | |
36ed4f51 | 7818 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7819 | return resultobj; |
7820 | fail: | |
d14a1e28 RD |
7821 | return NULL; |
7822 | } | |
7823 | ||
7824 | ||
36ed4f51 | 7825 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7826 | PyObject *resultobj = NULL; |
d14a1e28 | 7827 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
7828 | PyObject * obj0 = 0 ; |
7829 | char *kwnames[] = { | |
36ed4f51 | 7830 | (char *) "self", NULL |
d14a1e28 RD |
7831 | }; |
7832 | ||
36ed4f51 RD |
7833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; |
7834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7836 | { |
7837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7838 | (arg1)->Paste(); |
d14a1e28 RD |
7839 | |
7840 | wxPyEndAllowThreads(__tstate); | |
7841 | if (PyErr_Occurred()) SWIG_fail; | |
7842 | } | |
7843 | Py_INCREF(Py_None); resultobj = Py_None; | |
7844 | return resultobj; | |
7845 | fail: | |
7846 | return NULL; | |
7847 | } | |
7848 | ||
7849 | ||
36ed4f51 | 7850 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7851 | PyObject *resultobj = NULL; |
d14a1e28 | 7852 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
7853 | PyObject * obj0 = 0 ; |
7854 | char *kwnames[] = { | |
7855 | (char *) "self", NULL | |
7856 | }; | |
7857 | ||
36ed4f51 RD |
7858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; |
7859 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7860 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7861 | { |
7862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7863 | (arg1)->Clear(); |
d14a1e28 RD |
7864 | |
7865 | wxPyEndAllowThreads(__tstate); | |
7866 | if (PyErr_Occurred()) SWIG_fail; | |
7867 | } | |
36ed4f51 | 7868 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
7869 | return resultobj; |
7870 | fail: | |
7871 | return NULL; | |
7872 | } | |
7873 | ||
7874 | ||
36ed4f51 | 7875 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7876 | PyObject *resultobj = NULL; |
d14a1e28 | 7877 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
7878 | wxString *arg2 = 0 ; |
7879 | bool temp2 = false ; | |
d14a1e28 | 7880 | PyObject * obj0 = 0 ; |
994141e6 | 7881 | PyObject * obj1 = 0 ; |
d14a1e28 | 7882 | char *kwnames[] = { |
36ed4f51 | 7883 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
7884 | }; |
7885 | ||
36ed4f51 RD |
7886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; |
7887 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7888 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 7889 | { |
36ed4f51 RD |
7890 | arg2 = wxString_in_helper(obj1); |
7891 | if (arg2 == NULL) SWIG_fail; | |
7892 | temp2 = true; | |
d14a1e28 RD |
7893 | } |
7894 | { | |
7895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7896 | (arg1)->SetText((wxString const &)*arg2); |
d14a1e28 RD |
7897 | |
7898 | wxPyEndAllowThreads(__tstate); | |
7899 | if (PyErr_Occurred()) SWIG_fail; | |
7900 | } | |
7901 | Py_INCREF(Py_None); resultobj = Py_None; | |
7902 | { | |
36ed4f51 RD |
7903 | if (temp2) |
7904 | delete arg2; | |
d14a1e28 RD |
7905 | } |
7906 | return resultobj; | |
7907 | fail: | |
7908 | { | |
36ed4f51 RD |
7909 | if (temp2) |
7910 | delete arg2; | |
d14a1e28 RD |
7911 | } |
7912 | return NULL; | |
7913 | } | |
7914 | ||
7915 | ||
36ed4f51 | 7916 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7917 | PyObject *resultobj = NULL; |
d14a1e28 | 7918 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7919 | wxString result; |
d14a1e28 RD |
7920 | PyObject * obj0 = 0 ; |
7921 | char *kwnames[] = { | |
7922 | (char *) "self", NULL | |
7923 | }; | |
7924 | ||
36ed4f51 RD |
7925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; |
7926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7928 | { |
7929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7930 | result = (arg1)->GetText(); |
d14a1e28 RD |
7931 | |
7932 | wxPyEndAllowThreads(__tstate); | |
7933 | if (PyErr_Occurred()) SWIG_fail; | |
7934 | } | |
36ed4f51 RD |
7935 | { |
7936 | #if wxUSE_UNICODE | |
7937 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7938 | #else | |
7939 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7940 | #endif | |
7941 | } | |
d14a1e28 RD |
7942 | return resultobj; |
7943 | fail: | |
7944 | return NULL; | |
7945 | } | |
7946 | ||
7947 | ||
36ed4f51 | 7948 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7949 | PyObject *resultobj = NULL; |
d14a1e28 | 7950 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7951 | int result; |
d14a1e28 RD |
7952 | PyObject * obj0 = 0 ; |
7953 | char *kwnames[] = { | |
7954 | (char *) "self", NULL | |
7955 | }; | |
7956 | ||
36ed4f51 RD |
7957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; |
7958 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7959 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
7960 | { |
7961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7962 | result = (int)(arg1)->GetTextLength(); |
d14a1e28 RD |
7963 | |
7964 | wxPyEndAllowThreads(__tstate); | |
7965 | if (PyErr_Occurred()) SWIG_fail; | |
7966 | } | |
4f89f6a3 | 7967 | { |
32fe5131 | 7968 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 7969 | } |
d14a1e28 RD |
7970 | return resultobj; |
7971 | fail: | |
7972 | return NULL; | |
7973 | } | |
7974 | ||
7975 | ||
36ed4f51 | 7976 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 7977 | PyObject *resultobj = NULL; |
d14a1e28 | 7978 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 7979 | bool arg2 ; |
d14a1e28 | 7980 | PyObject * obj0 = 0 ; |
36ed4f51 | 7981 | PyObject * obj1 = 0 ; |
d14a1e28 | 7982 | char *kwnames[] = { |
36ed4f51 | 7983 | (char *) "self",(char *) "overtype", NULL |
d14a1e28 RD |
7984 | }; |
7985 | ||
36ed4f51 RD |
7986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; |
7987 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7988 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7989 | { | |
32fe5131 | 7990 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
7991 | if (SWIG_arg_fail(2)) SWIG_fail; |
7992 | } | |
d14a1e28 RD |
7993 | { |
7994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 7995 | (arg1)->SetOvertype(arg2); |
d14a1e28 RD |
7996 | |
7997 | wxPyEndAllowThreads(__tstate); | |
7998 | if (PyErr_Occurred()) SWIG_fail; | |
7999 | } | |
36ed4f51 | 8000 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8001 | return resultobj; |
8002 | fail: | |
8003 | return NULL; | |
8004 | } | |
8005 | ||
8006 | ||
36ed4f51 | 8007 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8008 | PyObject *resultobj = NULL; |
d14a1e28 | 8009 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8010 | bool result; |
d14a1e28 RD |
8011 | PyObject * obj0 = 0 ; |
8012 | char *kwnames[] = { | |
36ed4f51 | 8013 | (char *) "self", NULL |
d14a1e28 RD |
8014 | }; |
8015 | ||
36ed4f51 RD |
8016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; |
8017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8019 | { |
8020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8021 | result = (bool)(arg1)->GetOvertype(); |
d14a1e28 RD |
8022 | |
8023 | wxPyEndAllowThreads(__tstate); | |
8024 | if (PyErr_Occurred()) SWIG_fail; | |
8025 | } | |
36ed4f51 RD |
8026 | { |
8027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8028 | } | |
d14a1e28 RD |
8029 | return resultobj; |
8030 | fail: | |
8031 | return NULL; | |
8032 | } | |
8033 | ||
8034 | ||
36ed4f51 | 8035 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8036 | PyObject *resultobj = NULL; |
d14a1e28 | 8037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8038 | int arg2 ; |
d14a1e28 RD |
8039 | PyObject * obj0 = 0 ; |
8040 | PyObject * obj1 = 0 ; | |
8041 | char *kwnames[] = { | |
36ed4f51 | 8042 | (char *) "self",(char *) "pixelWidth", NULL |
d14a1e28 RD |
8043 | }; |
8044 | ||
36ed4f51 RD |
8045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail; |
8046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 8048 | { |
32fe5131 | 8049 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 8050 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
8051 | } |
8052 | { | |
8053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8054 | (arg1)->SetCaretWidth(arg2); |
d14a1e28 RD |
8055 | |
8056 | wxPyEndAllowThreads(__tstate); | |
8057 | if (PyErr_Occurred()) SWIG_fail; | |
8058 | } | |
8059 | Py_INCREF(Py_None); resultobj = Py_None; | |
8060 | return resultobj; | |
8061 | fail: | |
8062 | return NULL; | |
8063 | } | |
8064 | ||
8065 | ||
36ed4f51 | 8066 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8067 | PyObject *resultobj = NULL; |
d14a1e28 | 8068 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8069 | int result; |
d14a1e28 | 8070 | PyObject * obj0 = 0 ; |
d14a1e28 | 8071 | char *kwnames[] = { |
36ed4f51 | 8072 | (char *) "self", NULL |
d14a1e28 RD |
8073 | }; |
8074 | ||
36ed4f51 RD |
8075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; |
8076 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8077 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8078 | { |
8079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8080 | result = (int)(arg1)->GetCaretWidth(); |
d14a1e28 RD |
8081 | |
8082 | wxPyEndAllowThreads(__tstate); | |
8083 | if (PyErr_Occurred()) SWIG_fail; | |
8084 | } | |
36ed4f51 | 8085 | { |
32fe5131 | 8086 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8087 | } |
d14a1e28 RD |
8088 | return resultobj; |
8089 | fail: | |
8090 | return NULL; | |
8091 | } | |
8092 | ||
8093 | ||
36ed4f51 | 8094 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8095 | PyObject *resultobj = NULL; |
d14a1e28 | 8096 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8097 | int arg2 ; |
d14a1e28 RD |
8098 | PyObject * obj0 = 0 ; |
8099 | PyObject * obj1 = 0 ; | |
8100 | char *kwnames[] = { | |
36ed4f51 | 8101 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
8102 | }; |
8103 | ||
36ed4f51 RD |
8104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail; |
8105 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8106 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 8107 | { |
32fe5131 | 8108 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 8109 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
8110 | } |
8111 | { | |
8112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8113 | (arg1)->SetTargetStart(arg2); |
d14a1e28 RD |
8114 | |
8115 | wxPyEndAllowThreads(__tstate); | |
8116 | if (PyErr_Occurred()) SWIG_fail; | |
8117 | } | |
8118 | Py_INCREF(Py_None); resultobj = Py_None; | |
8119 | return resultobj; | |
8120 | fail: | |
8121 | return NULL; | |
8122 | } | |
8123 | ||
8124 | ||
36ed4f51 | 8125 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8126 | PyObject *resultobj = NULL; |
d14a1e28 | 8127 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
8128 | int result; |
8129 | PyObject * obj0 = 0 ; | |
8130 | char *kwnames[] = { | |
36ed4f51 | 8131 | (char *) "self", NULL |
d14a1e28 RD |
8132 | }; |
8133 | ||
36ed4f51 RD |
8134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; |
8135 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8136 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8137 | { |
8138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8139 | result = (int)(arg1)->GetTargetStart(); |
d14a1e28 RD |
8140 | |
8141 | wxPyEndAllowThreads(__tstate); | |
8142 | if (PyErr_Occurred()) SWIG_fail; | |
8143 | } | |
36ed4f51 | 8144 | { |
32fe5131 | 8145 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8146 | } |
d14a1e28 RD |
8147 | return resultobj; |
8148 | fail: | |
8149 | return NULL; | |
8150 | } | |
8151 | ||
8152 | ||
36ed4f51 | 8153 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8154 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8155 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8156 | int arg2 ; | |
d14a1e28 | 8157 | PyObject * obj0 = 0 ; |
994141e6 | 8158 | PyObject * obj1 = 0 ; |
d14a1e28 | 8159 | char *kwnames[] = { |
36ed4f51 | 8160 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
8161 | }; |
8162 | ||
36ed4f51 RD |
8163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail; |
8164 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8165 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8166 | { | |
32fe5131 | 8167 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8168 | if (SWIG_arg_fail(2)) SWIG_fail; |
8169 | } | |
d14a1e28 RD |
8170 | { |
8171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8172 | (arg1)->SetTargetEnd(arg2); |
d14a1e28 RD |
8173 | |
8174 | wxPyEndAllowThreads(__tstate); | |
8175 | if (PyErr_Occurred()) SWIG_fail; | |
8176 | } | |
36ed4f51 | 8177 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8178 | return resultobj; |
8179 | fail: | |
8180 | return NULL; | |
8181 | } | |
8182 | ||
8183 | ||
36ed4f51 | 8184 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8185 | PyObject *resultobj = NULL; |
d14a1e28 | 8186 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8187 | int result; |
d14a1e28 RD |
8188 | PyObject * obj0 = 0 ; |
8189 | char *kwnames[] = { | |
36ed4f51 | 8190 | (char *) "self", NULL |
d14a1e28 RD |
8191 | }; |
8192 | ||
36ed4f51 RD |
8193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; |
8194 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8195 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8196 | { |
8197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8198 | result = (int)(arg1)->GetTargetEnd(); |
d14a1e28 RD |
8199 | |
8200 | wxPyEndAllowThreads(__tstate); | |
8201 | if (PyErr_Occurred()) SWIG_fail; | |
8202 | } | |
36ed4f51 | 8203 | { |
32fe5131 | 8204 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8205 | } |
d14a1e28 RD |
8206 | return resultobj; |
8207 | fail: | |
8208 | return NULL; | |
8209 | } | |
8210 | ||
8211 | ||
36ed4f51 | 8212 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8213 | PyObject *resultobj = NULL; |
d14a1e28 | 8214 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8215 | wxString *arg2 = 0 ; |
d14a1e28 | 8216 | int result; |
36ed4f51 | 8217 | bool temp2 = false ; |
d14a1e28 | 8218 | PyObject * obj0 = 0 ; |
994141e6 | 8219 | PyObject * obj1 = 0 ; |
d14a1e28 | 8220 | char *kwnames[] = { |
36ed4f51 | 8221 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
8222 | }; |
8223 | ||
36ed4f51 RD |
8224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; |
8225 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8226 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8227 | { | |
8228 | arg2 = wxString_in_helper(obj1); | |
8229 | if (arg2 == NULL) SWIG_fail; | |
8230 | temp2 = true; | |
8231 | } | |
d14a1e28 RD |
8232 | { |
8233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8234 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); |
d14a1e28 RD |
8235 | |
8236 | wxPyEndAllowThreads(__tstate); | |
8237 | if (PyErr_Occurred()) SWIG_fail; | |
8238 | } | |
36ed4f51 | 8239 | { |
32fe5131 | 8240 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
8241 | } |
8242 | { | |
8243 | if (temp2) | |
8244 | delete arg2; | |
8245 | } | |
d14a1e28 RD |
8246 | return resultobj; |
8247 | fail: | |
36ed4f51 RD |
8248 | { |
8249 | if (temp2) | |
8250 | delete arg2; | |
8251 | } | |
d14a1e28 RD |
8252 | return NULL; |
8253 | } | |
8254 | ||
8255 | ||
36ed4f51 | 8256 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8257 | PyObject *resultobj = NULL; |
d14a1e28 | 8258 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8259 | wxString *arg2 = 0 ; |
d14a1e28 | 8260 | int result; |
36ed4f51 | 8261 | bool temp2 = false ; |
d14a1e28 | 8262 | PyObject * obj0 = 0 ; |
994141e6 | 8263 | PyObject * obj1 = 0 ; |
d14a1e28 | 8264 | char *kwnames[] = { |
36ed4f51 | 8265 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
8266 | }; |
8267 | ||
36ed4f51 RD |
8268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; |
8269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8271 | { | |
8272 | arg2 = wxString_in_helper(obj1); | |
8273 | if (arg2 == NULL) SWIG_fail; | |
8274 | temp2 = true; | |
8275 | } | |
d14a1e28 RD |
8276 | { |
8277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8278 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); |
d14a1e28 RD |
8279 | |
8280 | wxPyEndAllowThreads(__tstate); | |
8281 | if (PyErr_Occurred()) SWIG_fail; | |
8282 | } | |
36ed4f51 | 8283 | { |
32fe5131 | 8284 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
8285 | } |
8286 | { | |
8287 | if (temp2) | |
8288 | delete arg2; | |
8289 | } | |
d14a1e28 RD |
8290 | return resultobj; |
8291 | fail: | |
36ed4f51 RD |
8292 | { |
8293 | if (temp2) | |
8294 | delete arg2; | |
8295 | } | |
d14a1e28 RD |
8296 | return NULL; |
8297 | } | |
8298 | ||
8299 | ||
36ed4f51 | 8300 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8301 | PyObject *resultobj = NULL; |
d14a1e28 | 8302 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8303 | wxString *arg2 = 0 ; |
d14a1e28 | 8304 | int result; |
36ed4f51 | 8305 | bool temp2 = false ; |
d14a1e28 | 8306 | PyObject * obj0 = 0 ; |
994141e6 | 8307 | PyObject * obj1 = 0 ; |
d14a1e28 | 8308 | char *kwnames[] = { |
36ed4f51 | 8309 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
8310 | }; |
8311 | ||
36ed4f51 RD |
8312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; |
8313 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8314 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8315 | { | |
8316 | arg2 = wxString_in_helper(obj1); | |
8317 | if (arg2 == NULL) SWIG_fail; | |
8318 | temp2 = true; | |
8319 | } | |
d14a1e28 RD |
8320 | { |
8321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8322 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); |
d14a1e28 RD |
8323 | |
8324 | wxPyEndAllowThreads(__tstate); | |
8325 | if (PyErr_Occurred()) SWIG_fail; | |
8326 | } | |
36ed4f51 | 8327 | { |
32fe5131 | 8328 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
8329 | } |
8330 | { | |
8331 | if (temp2) | |
8332 | delete arg2; | |
8333 | } | |
d14a1e28 RD |
8334 | return resultobj; |
8335 | fail: | |
36ed4f51 RD |
8336 | { |
8337 | if (temp2) | |
8338 | delete arg2; | |
8339 | } | |
d14a1e28 RD |
8340 | return NULL; |
8341 | } | |
8342 | ||
8343 | ||
36ed4f51 | 8344 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8345 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8346 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8347 | int arg2 ; | |
d14a1e28 | 8348 | PyObject * obj0 = 0 ; |
994141e6 | 8349 | PyObject * obj1 = 0 ; |
d14a1e28 | 8350 | char *kwnames[] = { |
36ed4f51 | 8351 | (char *) "self",(char *) "flags", NULL |
d14a1e28 RD |
8352 | }; |
8353 | ||
36ed4f51 RD |
8354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail; |
8355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8357 | { | |
32fe5131 | 8358 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8359 | if (SWIG_arg_fail(2)) SWIG_fail; |
8360 | } | |
d14a1e28 RD |
8361 | { |
8362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8363 | (arg1)->SetSearchFlags(arg2); |
d14a1e28 RD |
8364 | |
8365 | wxPyEndAllowThreads(__tstate); | |
8366 | if (PyErr_Occurred()) SWIG_fail; | |
8367 | } | |
8368 | Py_INCREF(Py_None); resultobj = Py_None; | |
8369 | return resultobj; | |
8370 | fail: | |
8371 | return NULL; | |
8372 | } | |
8373 | ||
8374 | ||
36ed4f51 | 8375 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8376 | PyObject *resultobj = NULL; |
d14a1e28 | 8377 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8378 | int result; |
d14a1e28 RD |
8379 | PyObject * obj0 = 0 ; |
8380 | char *kwnames[] = { | |
36ed4f51 | 8381 | (char *) "self", NULL |
d14a1e28 RD |
8382 | }; |
8383 | ||
36ed4f51 RD |
8384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; |
8385 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8386 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8387 | { |
8388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8389 | result = (int)(arg1)->GetSearchFlags(); |
d14a1e28 RD |
8390 | |
8391 | wxPyEndAllowThreads(__tstate); | |
8392 | if (PyErr_Occurred()) SWIG_fail; | |
8393 | } | |
36ed4f51 | 8394 | { |
32fe5131 | 8395 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8396 | } |
d14a1e28 RD |
8397 | return resultobj; |
8398 | fail: | |
8399 | return NULL; | |
8400 | } | |
8401 | ||
8402 | ||
36ed4f51 | 8403 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8404 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8405 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8406 | int arg2 ; | |
36ed4f51 RD |
8407 | wxString *arg3 = 0 ; |
8408 | bool temp3 = false ; | |
d14a1e28 | 8409 | PyObject * obj0 = 0 ; |
994141e6 | 8410 | PyObject * obj1 = 0 ; |
36ed4f51 | 8411 | PyObject * obj2 = 0 ; |
d14a1e28 | 8412 | char *kwnames[] = { |
36ed4f51 | 8413 | (char *) "self",(char *) "pos",(char *) "definition", NULL |
d14a1e28 RD |
8414 | }; |
8415 | ||
36ed4f51 RD |
8416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8419 | { | |
32fe5131 | 8420 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8421 | if (SWIG_arg_fail(2)) SWIG_fail; |
8422 | } | |
8423 | { | |
8424 | arg3 = wxString_in_helper(obj2); | |
8425 | if (arg3 == NULL) SWIG_fail; | |
8426 | temp3 = true; | |
8427 | } | |
d14a1e28 RD |
8428 | { |
8429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8430 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
8431 | |
8432 | wxPyEndAllowThreads(__tstate); | |
8433 | if (PyErr_Occurred()) SWIG_fail; | |
8434 | } | |
36ed4f51 | 8435 | Py_INCREF(Py_None); resultobj = Py_None; |
4f89f6a3 | 8436 | { |
36ed4f51 RD |
8437 | if (temp3) |
8438 | delete arg3; | |
4f89f6a3 | 8439 | } |
d14a1e28 RD |
8440 | return resultobj; |
8441 | fail: | |
36ed4f51 RD |
8442 | { |
8443 | if (temp3) | |
8444 | delete arg3; | |
8445 | } | |
d14a1e28 RD |
8446 | return NULL; |
8447 | } | |
8448 | ||
8449 | ||
36ed4f51 | 8450 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8451 | PyObject *resultobj = NULL; |
d14a1e28 | 8452 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 8453 | PyObject * obj0 = 0 ; |
d14a1e28 | 8454 | char *kwnames[] = { |
36ed4f51 | 8455 | (char *) "self", NULL |
d14a1e28 RD |
8456 | }; |
8457 | ||
36ed4f51 RD |
8458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; |
8459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8461 | { |
8462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8463 | (arg1)->CallTipCancel(); |
d14a1e28 RD |
8464 | |
8465 | wxPyEndAllowThreads(__tstate); | |
8466 | if (PyErr_Occurred()) SWIG_fail; | |
8467 | } | |
8468 | Py_INCREF(Py_None); resultobj = Py_None; | |
8469 | return resultobj; | |
8470 | fail: | |
8471 | return NULL; | |
8472 | } | |
8473 | ||
8474 | ||
36ed4f51 | 8475 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8476 | PyObject *resultobj = NULL; |
d14a1e28 | 8477 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
8478 | bool result; |
8479 | PyObject * obj0 = 0 ; | |
8480 | char *kwnames[] = { | |
36ed4f51 | 8481 | (char *) "self", NULL |
d14a1e28 RD |
8482 | }; |
8483 | ||
36ed4f51 RD |
8484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; |
8485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8487 | { |
8488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8489 | result = (bool)(arg1)->CallTipActive(); |
d14a1e28 RD |
8490 | |
8491 | wxPyEndAllowThreads(__tstate); | |
8492 | if (PyErr_Occurred()) SWIG_fail; | |
8493 | } | |
4f89f6a3 RD |
8494 | { |
8495 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8496 | } | |
d14a1e28 RD |
8497 | return resultobj; |
8498 | fail: | |
8499 | return NULL; | |
8500 | } | |
8501 | ||
8502 | ||
36ed4f51 | 8503 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8504 | PyObject *resultobj = NULL; |
d14a1e28 | 8505 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 8506 | int result; |
d14a1e28 RD |
8507 | PyObject * obj0 = 0 ; |
8508 | char *kwnames[] = { | |
36ed4f51 | 8509 | (char *) "self", NULL |
d14a1e28 RD |
8510 | }; |
8511 | ||
36ed4f51 RD |
8512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; |
8513 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8514 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
8515 | { |
8516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8517 | result = (int)(arg1)->CallTipPosAtStart(); |
d14a1e28 RD |
8518 | |
8519 | wxPyEndAllowThreads(__tstate); | |
8520 | if (PyErr_Occurred()) SWIG_fail; | |
8521 | } | |
36ed4f51 | 8522 | { |
32fe5131 | 8523 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8524 | } |
d14a1e28 RD |
8525 | return resultobj; |
8526 | fail: | |
8527 | return NULL; | |
8528 | } | |
8529 | ||
8530 | ||
36ed4f51 | 8531 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8532 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8533 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8534 | int arg2 ; | |
36ed4f51 | 8535 | int arg3 ; |
d14a1e28 | 8536 | PyObject * obj0 = 0 ; |
994141e6 | 8537 | PyObject * obj1 = 0 ; |
36ed4f51 | 8538 | PyObject * obj2 = 0 ; |
d14a1e28 | 8539 | char *kwnames[] = { |
36ed4f51 | 8540 | (char *) "self",(char *) "start",(char *) "end", NULL |
d14a1e28 RD |
8541 | }; |
8542 | ||
36ed4f51 RD |
8543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8546 | { | |
32fe5131 | 8547 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8548 | if (SWIG_arg_fail(2)) SWIG_fail; |
8549 | } | |
8550 | { | |
32fe5131 | 8551 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
8552 | if (SWIG_arg_fail(3)) SWIG_fail; |
8553 | } | |
d14a1e28 RD |
8554 | { |
8555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8556 | (arg1)->CallTipSetHighlight(arg2,arg3); |
d14a1e28 RD |
8557 | |
8558 | wxPyEndAllowThreads(__tstate); | |
8559 | if (PyErr_Occurred()) SWIG_fail; | |
8560 | } | |
8561 | Py_INCREF(Py_None); resultobj = Py_None; | |
8562 | return resultobj; | |
8563 | fail: | |
8564 | return NULL; | |
8565 | } | |
8566 | ||
8567 | ||
36ed4f51 | 8568 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8569 | PyObject *resultobj = NULL; |
d14a1e28 | 8570 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8571 | wxColour *arg2 = 0 ; |
8572 | wxColour temp2 ; | |
d14a1e28 | 8573 | PyObject * obj0 = 0 ; |
994141e6 | 8574 | PyObject * obj1 = 0 ; |
d14a1e28 | 8575 | char *kwnames[] = { |
36ed4f51 | 8576 | (char *) "self",(char *) "back", NULL |
d14a1e28 RD |
8577 | }; |
8578 | ||
36ed4f51 RD |
8579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; |
8580 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8581 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8582 | { | |
8583 | arg2 = &temp2; | |
8584 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8585 | } | |
d14a1e28 RD |
8586 | { |
8587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8588 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); |
d14a1e28 RD |
8589 | |
8590 | wxPyEndAllowThreads(__tstate); | |
8591 | if (PyErr_Occurred()) SWIG_fail; | |
8592 | } | |
8593 | Py_INCREF(Py_None); resultobj = Py_None; | |
8594 | return resultobj; | |
8595 | fail: | |
8596 | return NULL; | |
8597 | } | |
8598 | ||
8599 | ||
36ed4f51 | 8600 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8601 | PyObject *resultobj = NULL; |
d14a1e28 | 8602 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8603 | wxColour *arg2 = 0 ; |
8604 | wxColour temp2 ; | |
d14a1e28 | 8605 | PyObject * obj0 = 0 ; |
994141e6 | 8606 | PyObject * obj1 = 0 ; |
d14a1e28 | 8607 | char *kwnames[] = { |
36ed4f51 | 8608 | (char *) "self",(char *) "fore", NULL |
d14a1e28 RD |
8609 | }; |
8610 | ||
36ed4f51 RD |
8611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; |
8612 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8613 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8614 | { | |
8615 | arg2 = &temp2; | |
8616 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8617 | } | |
d14a1e28 RD |
8618 | { |
8619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8620 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); |
d14a1e28 RD |
8621 | |
8622 | wxPyEndAllowThreads(__tstate); | |
8623 | if (PyErr_Occurred()) SWIG_fail; | |
8624 | } | |
8625 | Py_INCREF(Py_None); resultobj = Py_None; | |
8626 | return resultobj; | |
8627 | fail: | |
8628 | return NULL; | |
8629 | } | |
8630 | ||
8631 | ||
36ed4f51 | 8632 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8633 | PyObject *resultobj = NULL; |
d14a1e28 | 8634 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8635 | wxColour *arg2 = 0 ; |
8636 | wxColour temp2 ; | |
d14a1e28 RD |
8637 | PyObject * obj0 = 0 ; |
8638 | PyObject * obj1 = 0 ; | |
8639 | char *kwnames[] = { | |
36ed4f51 | 8640 | (char *) "self",(char *) "fore", NULL |
d14a1e28 RD |
8641 | }; |
8642 | ||
36ed4f51 RD |
8643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; |
8644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8646 | { | |
8647 | arg2 = &temp2; | |
8648 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
8649 | } | |
d14a1e28 RD |
8650 | { |
8651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8652 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); |
d14a1e28 RD |
8653 | |
8654 | wxPyEndAllowThreads(__tstate); | |
8655 | if (PyErr_Occurred()) SWIG_fail; | |
8656 | } | |
8657 | Py_INCREF(Py_None); resultobj = Py_None; | |
8658 | return resultobj; | |
8659 | fail: | |
8660 | return NULL; | |
8661 | } | |
8662 | ||
8663 | ||
36ed4f51 | 8664 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8665 | PyObject *resultobj = NULL; |
d14a1e28 | 8666 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8667 | int arg2 ; |
8668 | int result; | |
d14a1e28 | 8669 | PyObject * obj0 = 0 ; |
36ed4f51 | 8670 | PyObject * obj1 = 0 ; |
d14a1e28 | 8671 | char *kwnames[] = { |
36ed4f51 | 8672 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
8673 | }; |
8674 | ||
36ed4f51 RD |
8675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail; |
8676 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8677 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8678 | { | |
32fe5131 | 8679 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8680 | if (SWIG_arg_fail(2)) SWIG_fail; |
8681 | } | |
d14a1e28 RD |
8682 | { |
8683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8684 | result = (int)(arg1)->VisibleFromDocLine(arg2); |
d14a1e28 RD |
8685 | |
8686 | wxPyEndAllowThreads(__tstate); | |
8687 | if (PyErr_Occurred()) SWIG_fail; | |
8688 | } | |
4f89f6a3 | 8689 | { |
32fe5131 | 8690 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 8691 | } |
d14a1e28 RD |
8692 | return resultobj; |
8693 | fail: | |
8694 | return NULL; | |
8695 | } | |
8696 | ||
8697 | ||
36ed4f51 | 8698 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8699 | PyObject *resultobj = NULL; |
d14a1e28 | 8700 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8701 | int arg2 ; |
8702 | int result; | |
d14a1e28 RD |
8703 | PyObject * obj0 = 0 ; |
8704 | PyObject * obj1 = 0 ; | |
8705 | char *kwnames[] = { | |
36ed4f51 | 8706 | (char *) "self",(char *) "lineDisplay", NULL |
d14a1e28 RD |
8707 | }; |
8708 | ||
36ed4f51 RD |
8709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail; |
8710 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8711 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8712 | { | |
32fe5131 | 8713 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8714 | if (SWIG_arg_fail(2)) SWIG_fail; |
8715 | } | |
d14a1e28 RD |
8716 | { |
8717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8718 | result = (int)(arg1)->DocLineFromVisible(arg2); |
d14a1e28 RD |
8719 | |
8720 | wxPyEndAllowThreads(__tstate); | |
8721 | if (PyErr_Occurred()) SWIG_fail; | |
8722 | } | |
36ed4f51 | 8723 | { |
32fe5131 | 8724 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8725 | } |
d14a1e28 RD |
8726 | return resultobj; |
8727 | fail: | |
8728 | return NULL; | |
8729 | } | |
8730 | ||
8731 | ||
36ed4f51 | 8732 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8733 | PyObject *resultobj = NULL; |
d14a1e28 | 8734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8735 | int arg2 ; |
8736 | int arg3 ; | |
d14a1e28 | 8737 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
8738 | PyObject * obj1 = 0 ; |
8739 | PyObject * obj2 = 0 ; | |
d14a1e28 | 8740 | char *kwnames[] = { |
36ed4f51 | 8741 | (char *) "self",(char *) "line",(char *) "level", NULL |
d14a1e28 RD |
8742 | }; |
8743 | ||
36ed4f51 RD |
8744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8745 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8746 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8747 | { | |
32fe5131 | 8748 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8749 | if (SWIG_arg_fail(2)) SWIG_fail; |
8750 | } | |
8751 | { | |
32fe5131 | 8752 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
8753 | if (SWIG_arg_fail(3)) SWIG_fail; |
8754 | } | |
d14a1e28 RD |
8755 | { |
8756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8757 | (arg1)->SetFoldLevel(arg2,arg3); |
d14a1e28 RD |
8758 | |
8759 | wxPyEndAllowThreads(__tstate); | |
8760 | if (PyErr_Occurred()) SWIG_fail; | |
8761 | } | |
36ed4f51 | 8762 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8763 | return resultobj; |
8764 | fail: | |
8765 | return NULL; | |
8766 | } | |
8767 | ||
8768 | ||
36ed4f51 | 8769 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8770 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8771 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8772 | int arg2 ; | |
36ed4f51 | 8773 | int result; |
d14a1e28 | 8774 | PyObject * obj0 = 0 ; |
994141e6 | 8775 | PyObject * obj1 = 0 ; |
d14a1e28 | 8776 | char *kwnames[] = { |
36ed4f51 | 8777 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
8778 | }; |
8779 | ||
36ed4f51 RD |
8780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail; |
8781 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8782 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8783 | { | |
32fe5131 | 8784 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8785 | if (SWIG_arg_fail(2)) SWIG_fail; |
8786 | } | |
d14a1e28 RD |
8787 | { |
8788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8789 | result = (int)(arg1)->GetFoldLevel(arg2); |
d14a1e28 RD |
8790 | |
8791 | wxPyEndAllowThreads(__tstate); | |
8792 | if (PyErr_Occurred()) SWIG_fail; | |
8793 | } | |
36ed4f51 | 8794 | { |
32fe5131 | 8795 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8796 | } |
d14a1e28 RD |
8797 | return resultobj; |
8798 | fail: | |
8799 | return NULL; | |
8800 | } | |
8801 | ||
8802 | ||
36ed4f51 | 8803 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8804 | PyObject *resultobj = NULL; |
d14a1e28 | 8805 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8806 | int arg2 ; |
8807 | int arg3 ; | |
d14a1e28 RD |
8808 | int result; |
8809 | PyObject * obj0 = 0 ; | |
36ed4f51 RD |
8810 | PyObject * obj1 = 0 ; |
8811 | PyObject * obj2 = 0 ; | |
d14a1e28 | 8812 | char *kwnames[] = { |
36ed4f51 | 8813 | (char *) "self",(char *) "line",(char *) "level", NULL |
d14a1e28 RD |
8814 | }; |
8815 | ||
36ed4f51 RD |
8816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8817 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8818 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8819 | { | |
32fe5131 | 8820 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8821 | if (SWIG_arg_fail(2)) SWIG_fail; |
8822 | } | |
8823 | { | |
32fe5131 | 8824 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
8825 | if (SWIG_arg_fail(3)) SWIG_fail; |
8826 | } | |
d14a1e28 RD |
8827 | { |
8828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8829 | result = (int)(arg1)->GetLastChild(arg2,arg3); |
d14a1e28 RD |
8830 | |
8831 | wxPyEndAllowThreads(__tstate); | |
8832 | if (PyErr_Occurred()) SWIG_fail; | |
8833 | } | |
36ed4f51 | 8834 | { |
32fe5131 | 8835 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8836 | } |
d14a1e28 RD |
8837 | return resultobj; |
8838 | fail: | |
8839 | return NULL; | |
8840 | } | |
8841 | ||
8842 | ||
36ed4f51 | 8843 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8844 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8845 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8846 | int arg2 ; | |
d14a1e28 RD |
8847 | int result; |
8848 | PyObject * obj0 = 0 ; | |
994141e6 | 8849 | PyObject * obj1 = 0 ; |
d14a1e28 | 8850 | char *kwnames[] = { |
36ed4f51 | 8851 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
8852 | }; |
8853 | ||
36ed4f51 RD |
8854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail; |
8855 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8856 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8857 | { | |
32fe5131 | 8858 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8859 | if (SWIG_arg_fail(2)) SWIG_fail; |
8860 | } | |
d14a1e28 RD |
8861 | { |
8862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8863 | result = (int)(arg1)->GetFoldParent(arg2); |
d14a1e28 RD |
8864 | |
8865 | wxPyEndAllowThreads(__tstate); | |
8866 | if (PyErr_Occurred()) SWIG_fail; | |
8867 | } | |
36ed4f51 | 8868 | { |
32fe5131 | 8869 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 8870 | } |
d14a1e28 RD |
8871 | return resultobj; |
8872 | fail: | |
8873 | return NULL; | |
8874 | } | |
8875 | ||
8876 | ||
36ed4f51 | 8877 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8878 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8879 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8880 | int arg2 ; | |
36ed4f51 | 8881 | int arg3 ; |
d14a1e28 | 8882 | PyObject * obj0 = 0 ; |
994141e6 | 8883 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8884 | PyObject * obj2 = 0 ; |
8885 | char *kwnames[] = { | |
36ed4f51 | 8886 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
d14a1e28 RD |
8887 | }; |
8888 | ||
36ed4f51 RD |
8889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8890 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8891 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8892 | { | |
32fe5131 | 8893 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8894 | if (SWIG_arg_fail(2)) SWIG_fail; |
8895 | } | |
8896 | { | |
32fe5131 | 8897 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
8898 | if (SWIG_arg_fail(3)) SWIG_fail; |
8899 | } | |
d14a1e28 RD |
8900 | { |
8901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8902 | (arg1)->ShowLines(arg2,arg3); |
d14a1e28 RD |
8903 | |
8904 | wxPyEndAllowThreads(__tstate); | |
8905 | if (PyErr_Occurred()) SWIG_fail; | |
8906 | } | |
36ed4f51 | 8907 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
8908 | return resultobj; |
8909 | fail: | |
8910 | return NULL; | |
8911 | } | |
8912 | ||
8913 | ||
36ed4f51 | 8914 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8915 | PyObject *resultobj = NULL; |
d14a1e28 RD |
8916 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8917 | int arg2 ; | |
36ed4f51 | 8918 | int arg3 ; |
d14a1e28 | 8919 | PyObject * obj0 = 0 ; |
994141e6 | 8920 | PyObject * obj1 = 0 ; |
36ed4f51 | 8921 | PyObject * obj2 = 0 ; |
d14a1e28 | 8922 | char *kwnames[] = { |
36ed4f51 | 8923 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL |
d14a1e28 RD |
8924 | }; |
8925 | ||
36ed4f51 RD |
8926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8927 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8928 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8929 | { | |
32fe5131 | 8930 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8931 | if (SWIG_arg_fail(2)) SWIG_fail; |
8932 | } | |
8933 | { | |
32fe5131 | 8934 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
8935 | if (SWIG_arg_fail(3)) SWIG_fail; |
8936 | } | |
d14a1e28 RD |
8937 | { |
8938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8939 | (arg1)->HideLines(arg2,arg3); |
d14a1e28 RD |
8940 | |
8941 | wxPyEndAllowThreads(__tstate); | |
8942 | if (PyErr_Occurred()) SWIG_fail; | |
8943 | } | |
8944 | Py_INCREF(Py_None); resultobj = Py_None; | |
8945 | return resultobj; | |
8946 | fail: | |
8947 | return NULL; | |
8948 | } | |
8949 | ||
8950 | ||
36ed4f51 | 8951 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8952 | PyObject *resultobj = NULL; |
d14a1e28 | 8953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
8954 | int arg2 ; |
8955 | bool result; | |
d14a1e28 | 8956 | PyObject * obj0 = 0 ; |
36ed4f51 | 8957 | PyObject * obj1 = 0 ; |
d14a1e28 | 8958 | char *kwnames[] = { |
36ed4f51 | 8959 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
8960 | }; |
8961 | ||
36ed4f51 RD |
8962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail; |
8963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8965 | { | |
32fe5131 | 8966 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
8967 | if (SWIG_arg_fail(2)) SWIG_fail; |
8968 | } | |
d14a1e28 RD |
8969 | { |
8970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 8971 | result = (bool)(arg1)->GetLineVisible(arg2); |
d14a1e28 RD |
8972 | |
8973 | wxPyEndAllowThreads(__tstate); | |
8974 | if (PyErr_Occurred()) SWIG_fail; | |
8975 | } | |
36ed4f51 RD |
8976 | { |
8977 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8978 | } | |
d14a1e28 RD |
8979 | return resultobj; |
8980 | fail: | |
8981 | return NULL; | |
8982 | } | |
8983 | ||
8984 | ||
36ed4f51 | 8985 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 8986 | PyObject *resultobj = NULL; |
5e483524 RD |
8987 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
8988 | int arg2 ; | |
36ed4f51 | 8989 | bool arg3 ; |
5e483524 RD |
8990 | PyObject * obj0 = 0 ; |
8991 | PyObject * obj1 = 0 ; | |
36ed4f51 | 8992 | PyObject * obj2 = 0 ; |
5e483524 | 8993 | char *kwnames[] = { |
36ed4f51 | 8994 | (char *) "self",(char *) "line",(char *) "expanded", NULL |
5e483524 RD |
8995 | }; |
8996 | ||
36ed4f51 RD |
8997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail; |
8998 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8999 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9000 | { | |
32fe5131 | 9001 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9002 | if (SWIG_arg_fail(2)) SWIG_fail; |
9003 | } | |
9004 | { | |
32fe5131 | 9005 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
9006 | if (SWIG_arg_fail(3)) SWIG_fail; |
9007 | } | |
5e483524 RD |
9008 | { |
9009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9010 | (arg1)->SetFoldExpanded(arg2,arg3); |
5e483524 RD |
9011 | |
9012 | wxPyEndAllowThreads(__tstate); | |
9013 | if (PyErr_Occurred()) SWIG_fail; | |
9014 | } | |
9015 | Py_INCREF(Py_None); resultobj = Py_None; | |
9016 | return resultobj; | |
9017 | fail: | |
9018 | return NULL; | |
9019 | } | |
9020 | ||
9021 | ||
36ed4f51 | 9022 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9023 | PyObject *resultobj = NULL; |
5e483524 | 9024 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
9025 | int arg2 ; |
9026 | bool result; | |
5e483524 | 9027 | PyObject * obj0 = 0 ; |
36ed4f51 | 9028 | PyObject * obj1 = 0 ; |
5e483524 | 9029 | char *kwnames[] = { |
36ed4f51 | 9030 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
9031 | }; |
9032 | ||
36ed4f51 RD |
9033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail; |
9034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9036 | { | |
32fe5131 | 9037 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9038 | if (SWIG_arg_fail(2)) SWIG_fail; |
9039 | } | |
5e483524 RD |
9040 | { |
9041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9042 | result = (bool)(arg1)->GetFoldExpanded(arg2); |
5e483524 RD |
9043 | |
9044 | wxPyEndAllowThreads(__tstate); | |
9045 | if (PyErr_Occurred()) SWIG_fail; | |
9046 | } | |
36ed4f51 RD |
9047 | { |
9048 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9049 | } | |
5e483524 RD |
9050 | return resultobj; |
9051 | fail: | |
9052 | return NULL; | |
9053 | } | |
9054 | ||
9055 | ||
36ed4f51 | 9056 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9057 | PyObject *resultobj = NULL; |
5e483524 RD |
9058 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
9059 | int arg2 ; | |
9060 | PyObject * obj0 = 0 ; | |
9061 | PyObject * obj1 = 0 ; | |
9062 | char *kwnames[] = { | |
36ed4f51 | 9063 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
9064 | }; |
9065 | ||
36ed4f51 RD |
9066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail; |
9067 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9068 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9069 | { | |
32fe5131 | 9070 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9071 | if (SWIG_arg_fail(2)) SWIG_fail; |
9072 | } | |
5e483524 RD |
9073 | { |
9074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9075 | (arg1)->ToggleFold(arg2); |
5e483524 RD |
9076 | |
9077 | wxPyEndAllowThreads(__tstate); | |
9078 | if (PyErr_Occurred()) SWIG_fail; | |
9079 | } | |
9080 | Py_INCREF(Py_None); resultobj = Py_None; | |
9081 | return resultobj; | |
9082 | fail: | |
9083 | return NULL; | |
9084 | } | |
9085 | ||
9086 | ||
36ed4f51 | 9087 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9088 | PyObject *resultobj = NULL; |
5e483524 | 9089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9090 | int arg2 ; |
5e483524 | 9091 | PyObject * obj0 = 0 ; |
36ed4f51 | 9092 | PyObject * obj1 = 0 ; |
5e483524 | 9093 | char *kwnames[] = { |
36ed4f51 | 9094 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
9095 | }; |
9096 | ||
36ed4f51 RD |
9097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; |
9098 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9099 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9100 | { | |
32fe5131 | 9101 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9102 | if (SWIG_arg_fail(2)) SWIG_fail; |
9103 | } | |
5e483524 RD |
9104 | { |
9105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9106 | (arg1)->EnsureVisible(arg2); |
5e483524 RD |
9107 | |
9108 | wxPyEndAllowThreads(__tstate); | |
9109 | if (PyErr_Occurred()) SWIG_fail; | |
9110 | } | |
36ed4f51 | 9111 | Py_INCREF(Py_None); resultobj = Py_None; |
5e483524 RD |
9112 | return resultobj; |
9113 | fail: | |
9114 | return NULL; | |
9115 | } | |
9116 | ||
9117 | ||
36ed4f51 | 9118 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9119 | PyObject *resultobj = NULL; |
5e483524 RD |
9120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
9121 | int arg2 ; | |
9122 | PyObject * obj0 = 0 ; | |
9123 | PyObject * obj1 = 0 ; | |
9124 | char *kwnames[] = { | |
36ed4f51 | 9125 | (char *) "self",(char *) "flags", NULL |
5e483524 RD |
9126 | }; |
9127 | ||
36ed4f51 RD |
9128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail; |
9129 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9130 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9131 | { | |
32fe5131 | 9132 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9133 | if (SWIG_arg_fail(2)) SWIG_fail; |
9134 | } | |
5e483524 RD |
9135 | { |
9136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9137 | (arg1)->SetFoldFlags(arg2); |
5e483524 RD |
9138 | |
9139 | wxPyEndAllowThreads(__tstate); | |
9140 | if (PyErr_Occurred()) SWIG_fail; | |
9141 | } | |
9142 | Py_INCREF(Py_None); resultobj = Py_None; | |
9143 | return resultobj; | |
9144 | fail: | |
9145 | return NULL; | |
9146 | } | |
9147 | ||
9148 | ||
36ed4f51 | 9149 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9150 | PyObject *resultobj = NULL; |
5e483524 | 9151 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9152 | int arg2 ; |
5e483524 | 9153 | PyObject * obj0 = 0 ; |
36ed4f51 | 9154 | PyObject * obj1 = 0 ; |
5e483524 | 9155 | char *kwnames[] = { |
36ed4f51 | 9156 | (char *) "self",(char *) "line", NULL |
5e483524 RD |
9157 | }; |
9158 | ||
36ed4f51 RD |
9159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail; |
9160 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9161 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9162 | { | |
32fe5131 | 9163 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9164 | if (SWIG_arg_fail(2)) SWIG_fail; |
9165 | } | |
5e483524 RD |
9166 | { |
9167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9168 | (arg1)->EnsureVisibleEnforcePolicy(arg2); |
5e483524 RD |
9169 | |
9170 | wxPyEndAllowThreads(__tstate); | |
9171 | if (PyErr_Occurred()) SWIG_fail; | |
9172 | } | |
36ed4f51 | 9173 | Py_INCREF(Py_None); resultobj = Py_None; |
5e483524 RD |
9174 | return resultobj; |
9175 | fail: | |
9176 | return NULL; | |
9177 | } | |
9178 | ||
9179 | ||
36ed4f51 | 9180 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9181 | PyObject *resultobj = NULL; |
d14a1e28 | 9182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9183 | bool arg2 ; |
d14a1e28 | 9184 | PyObject * obj0 = 0 ; |
994141e6 | 9185 | PyObject * obj1 = 0 ; |
d14a1e28 | 9186 | char *kwnames[] = { |
36ed4f51 | 9187 | (char *) "self",(char *) "tabIndents", NULL |
d14a1e28 RD |
9188 | }; |
9189 | ||
36ed4f51 RD |
9190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; |
9191 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9192 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9193 | { | |
32fe5131 | 9194 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
9195 | if (SWIG_arg_fail(2)) SWIG_fail; |
9196 | } | |
d14a1e28 RD |
9197 | { |
9198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9199 | (arg1)->SetTabIndents(arg2); |
d14a1e28 RD |
9200 | |
9201 | wxPyEndAllowThreads(__tstate); | |
9202 | if (PyErr_Occurred()) SWIG_fail; | |
9203 | } | |
9204 | Py_INCREF(Py_None); resultobj = Py_None; | |
9205 | return resultobj; | |
9206 | fail: | |
9207 | return NULL; | |
9208 | } | |
9209 | ||
9210 | ||
36ed4f51 | 9211 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9212 | PyObject *resultobj = NULL; |
d14a1e28 | 9213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9214 | bool result; |
d14a1e28 RD |
9215 | PyObject * obj0 = 0 ; |
9216 | char *kwnames[] = { | |
9217 | (char *) "self", NULL | |
9218 | }; | |
9219 | ||
36ed4f51 RD |
9220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; |
9221 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9222 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9223 | { |
9224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9225 | result = (bool)(arg1)->GetTabIndents(); |
d14a1e28 RD |
9226 | |
9227 | wxPyEndAllowThreads(__tstate); | |
9228 | if (PyErr_Occurred()) SWIG_fail; | |
9229 | } | |
36ed4f51 RD |
9230 | { |
9231 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9232 | } | |
d14a1e28 RD |
9233 | return resultobj; |
9234 | fail: | |
9235 | return NULL; | |
9236 | } | |
9237 | ||
9238 | ||
36ed4f51 | 9239 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9240 | PyObject *resultobj = NULL; |
d14a1e28 | 9241 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9242 | bool arg2 ; |
d14a1e28 | 9243 | PyObject * obj0 = 0 ; |
994141e6 | 9244 | PyObject * obj1 = 0 ; |
d14a1e28 | 9245 | char *kwnames[] = { |
36ed4f51 | 9246 | (char *) "self",(char *) "bsUnIndents", NULL |
d14a1e28 RD |
9247 | }; |
9248 | ||
36ed4f51 RD |
9249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; |
9250 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9251 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9252 | { | |
32fe5131 | 9253 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
9254 | if (SWIG_arg_fail(2)) SWIG_fail; |
9255 | } | |
d14a1e28 RD |
9256 | { |
9257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9258 | (arg1)->SetBackSpaceUnIndents(arg2); |
d14a1e28 RD |
9259 | |
9260 | wxPyEndAllowThreads(__tstate); | |
9261 | if (PyErr_Occurred()) SWIG_fail; | |
9262 | } | |
9263 | Py_INCREF(Py_None); resultobj = Py_None; | |
9264 | return resultobj; | |
9265 | fail: | |
9266 | return NULL; | |
9267 | } | |
9268 | ||
9269 | ||
36ed4f51 | 9270 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9271 | PyObject *resultobj = NULL; |
d14a1e28 | 9272 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9273 | bool result; |
d14a1e28 RD |
9274 | PyObject * obj0 = 0 ; |
9275 | char *kwnames[] = { | |
9276 | (char *) "self", NULL | |
9277 | }; | |
9278 | ||
36ed4f51 RD |
9279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; |
9280 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9281 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9282 | { |
9283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9284 | result = (bool)(arg1)->GetBackSpaceUnIndents(); |
d14a1e28 RD |
9285 | |
9286 | wxPyEndAllowThreads(__tstate); | |
9287 | if (PyErr_Occurred()) SWIG_fail; | |
9288 | } | |
36ed4f51 RD |
9289 | { |
9290 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9291 | } | |
d14a1e28 RD |
9292 | return resultobj; |
9293 | fail: | |
9294 | return NULL; | |
9295 | } | |
9296 | ||
9297 | ||
36ed4f51 | 9298 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9299 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9300 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
9301 | int arg2 ; | |
d14a1e28 | 9302 | PyObject * obj0 = 0 ; |
994141e6 | 9303 | PyObject * obj1 = 0 ; |
d14a1e28 | 9304 | char *kwnames[] = { |
36ed4f51 | 9305 | (char *) "self",(char *) "periodMilliseconds", NULL |
d14a1e28 RD |
9306 | }; |
9307 | ||
36ed4f51 RD |
9308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail; |
9309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 9311 | { |
32fe5131 | 9312 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 9313 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
9314 | } |
9315 | { | |
9316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9317 | (arg1)->SetMouseDwellTime(arg2); |
d14a1e28 RD |
9318 | |
9319 | wxPyEndAllowThreads(__tstate); | |
9320 | if (PyErr_Occurred()) SWIG_fail; | |
9321 | } | |
36ed4f51 | 9322 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
9323 | return resultobj; |
9324 | fail: | |
d14a1e28 RD |
9325 | return NULL; |
9326 | } | |
9327 | ||
9328 | ||
36ed4f51 | 9329 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9330 | PyObject *resultobj = NULL; |
d14a1e28 | 9331 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9332 | int result; |
d14a1e28 | 9333 | PyObject * obj0 = 0 ; |
d14a1e28 | 9334 | char *kwnames[] = { |
36ed4f51 | 9335 | (char *) "self", NULL |
d14a1e28 RD |
9336 | }; |
9337 | ||
36ed4f51 RD |
9338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; |
9339 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9340 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9341 | { |
9342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9343 | result = (int)(arg1)->GetMouseDwellTime(); |
d14a1e28 RD |
9344 | |
9345 | wxPyEndAllowThreads(__tstate); | |
9346 | if (PyErr_Occurred()) SWIG_fail; | |
9347 | } | |
36ed4f51 | 9348 | { |
32fe5131 | 9349 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9350 | } |
d14a1e28 RD |
9351 | return resultobj; |
9352 | fail: | |
9353 | return NULL; | |
9354 | } | |
9355 | ||
9356 | ||
36ed4f51 | 9357 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9358 | PyObject *resultobj = NULL; |
d14a1e28 | 9359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
9360 | int arg2 ; |
9361 | bool arg3 ; | |
d14a1e28 RD |
9362 | int result; |
9363 | PyObject * obj0 = 0 ; | |
36ed4f51 RD |
9364 | PyObject * obj1 = 0 ; |
9365 | PyObject * obj2 = 0 ; | |
d14a1e28 | 9366 | char *kwnames[] = { |
36ed4f51 | 9367 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
d14a1e28 RD |
9368 | }; |
9369 | ||
36ed4f51 RD |
9370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9371 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9372 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9373 | { | |
32fe5131 | 9374 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9375 | if (SWIG_arg_fail(2)) SWIG_fail; |
9376 | } | |
9377 | { | |
32fe5131 | 9378 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
9379 | if (SWIG_arg_fail(3)) SWIG_fail; |
9380 | } | |
d14a1e28 RD |
9381 | { |
9382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9383 | result = (int)(arg1)->WordStartPosition(arg2,arg3); |
d14a1e28 RD |
9384 | |
9385 | wxPyEndAllowThreads(__tstate); | |
9386 | if (PyErr_Occurred()) SWIG_fail; | |
9387 | } | |
36ed4f51 | 9388 | { |
32fe5131 | 9389 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9390 | } |
d14a1e28 RD |
9391 | return resultobj; |
9392 | fail: | |
9393 | return NULL; | |
9394 | } | |
9395 | ||
9396 | ||
36ed4f51 | 9397 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9398 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9399 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
9400 | int arg2 ; | |
36ed4f51 | 9401 | bool arg3 ; |
d14a1e28 RD |
9402 | int result; |
9403 | PyObject * obj0 = 0 ; | |
994141e6 | 9404 | PyObject * obj1 = 0 ; |
36ed4f51 | 9405 | PyObject * obj2 = 0 ; |
d14a1e28 | 9406 | char *kwnames[] = { |
36ed4f51 | 9407 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL |
d14a1e28 RD |
9408 | }; |
9409 | ||
36ed4f51 RD |
9410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9411 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9412 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9413 | { | |
32fe5131 | 9414 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9415 | if (SWIG_arg_fail(2)) SWIG_fail; |
9416 | } | |
9417 | { | |
32fe5131 | 9418 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
36ed4f51 RD |
9419 | if (SWIG_arg_fail(3)) SWIG_fail; |
9420 | } | |
d14a1e28 RD |
9421 | { |
9422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9423 | result = (int)(arg1)->WordEndPosition(arg2,arg3); |
d14a1e28 RD |
9424 | |
9425 | wxPyEndAllowThreads(__tstate); | |
9426 | if (PyErr_Occurred()) SWIG_fail; | |
9427 | } | |
36ed4f51 | 9428 | { |
32fe5131 | 9429 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9430 | } |
d14a1e28 RD |
9431 | return resultobj; |
9432 | fail: | |
9433 | return NULL; | |
9434 | } | |
9435 | ||
9436 | ||
36ed4f51 | 9437 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9438 | PyObject *resultobj = NULL; |
d14a1e28 | 9439 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9440 | int arg2 ; |
d14a1e28 RD |
9441 | PyObject * obj0 = 0 ; |
9442 | PyObject * obj1 = 0 ; | |
9443 | char *kwnames[] = { | |
36ed4f51 | 9444 | (char *) "self",(char *) "mode", NULL |
d14a1e28 RD |
9445 | }; |
9446 | ||
36ed4f51 RD |
9447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail; |
9448 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9449 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9450 | { | |
32fe5131 | 9451 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9452 | if (SWIG_arg_fail(2)) SWIG_fail; |
9453 | } | |
d14a1e28 RD |
9454 | { |
9455 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9456 | (arg1)->SetWrapMode(arg2); |
d14a1e28 RD |
9457 | |
9458 | wxPyEndAllowThreads(__tstate); | |
9459 | if (PyErr_Occurred()) SWIG_fail; | |
9460 | } | |
9461 | Py_INCREF(Py_None); resultobj = Py_None; | |
9462 | return resultobj; | |
9463 | fail: | |
9464 | return NULL; | |
9465 | } | |
9466 | ||
9467 | ||
36ed4f51 | 9468 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9469 | PyObject *resultobj = NULL; |
d14a1e28 | 9470 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9471 | int result; |
d14a1e28 RD |
9472 | PyObject * obj0 = 0 ; |
9473 | char *kwnames[] = { | |
9474 | (char *) "self", NULL | |
9475 | }; | |
9476 | ||
36ed4f51 RD |
9477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; |
9478 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9479 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9480 | { |
9481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9482 | result = (int)(arg1)->GetWrapMode(); |
d14a1e28 RD |
9483 | |
9484 | wxPyEndAllowThreads(__tstate); | |
9485 | if (PyErr_Occurred()) SWIG_fail; | |
9486 | } | |
4f89f6a3 | 9487 | { |
32fe5131 | 9488 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 9489 | } |
d14a1e28 RD |
9490 | return resultobj; |
9491 | fail: | |
9492 | return NULL; | |
9493 | } | |
9494 | ||
9495 | ||
36ed4f51 | 9496 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9497 | PyObject *resultobj = NULL; |
d14a1e28 RD |
9498 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
9499 | int arg2 ; | |
d14a1e28 | 9500 | PyObject * obj0 = 0 ; |
994141e6 | 9501 | PyObject * obj1 = 0 ; |
d14a1e28 | 9502 | char *kwnames[] = { |
36ed4f51 | 9503 | (char *) "self",(char *) "wrapVisualFlags", NULL |
d14a1e28 RD |
9504 | }; |
9505 | ||
36ed4f51 RD |
9506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail; |
9507 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9508 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 9509 | { |
32fe5131 | 9510 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 9511 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
9512 | } |
9513 | { | |
9514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9515 | (arg1)->SetWrapVisualFlags(arg2); |
d14a1e28 RD |
9516 | |
9517 | wxPyEndAllowThreads(__tstate); | |
9518 | if (PyErr_Occurred()) SWIG_fail; | |
9519 | } | |
9520 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
9521 | return resultobj; |
9522 | fail: | |
d14a1e28 RD |
9523 | return NULL; |
9524 | } | |
9525 | ||
9526 | ||
36ed4f51 | 9527 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9528 | PyObject *resultobj = NULL; |
d14a1e28 | 9529 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9530 | int result; |
d14a1e28 RD |
9531 | PyObject * obj0 = 0 ; |
9532 | char *kwnames[] = { | |
9533 | (char *) "self", NULL | |
9534 | }; | |
9535 | ||
36ed4f51 RD |
9536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail; |
9537 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9538 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9539 | { |
9540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9541 | result = (int)(arg1)->GetWrapVisualFlags(); |
d14a1e28 RD |
9542 | |
9543 | wxPyEndAllowThreads(__tstate); | |
9544 | if (PyErr_Occurred()) SWIG_fail; | |
9545 | } | |
4f89f6a3 | 9546 | { |
32fe5131 | 9547 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 9548 | } |
d14a1e28 RD |
9549 | return resultobj; |
9550 | fail: | |
9551 | return NULL; | |
9552 | } | |
9553 | ||
9554 | ||
36ed4f51 | 9555 | static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9556 | PyObject *resultobj = NULL; |
d14a1e28 | 9557 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9558 | int arg2 ; |
d14a1e28 RD |
9559 | PyObject * obj0 = 0 ; |
9560 | PyObject * obj1 = 0 ; | |
9561 | char *kwnames[] = { | |
36ed4f51 | 9562 | (char *) "self",(char *) "wrapVisualFlagsLocation", NULL |
d14a1e28 RD |
9563 | }; |
9564 | ||
36ed4f51 RD |
9565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail; |
9566 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9567 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9568 | { | |
32fe5131 | 9569 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9570 | if (SWIG_arg_fail(2)) SWIG_fail; |
9571 | } | |
d14a1e28 RD |
9572 | { |
9573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9574 | (arg1)->SetWrapVisualFlagsLocation(arg2); |
d14a1e28 RD |
9575 | |
9576 | wxPyEndAllowThreads(__tstate); | |
9577 | if (PyErr_Occurred()) SWIG_fail; | |
9578 | } | |
9579 | Py_INCREF(Py_None); resultobj = Py_None; | |
9580 | return resultobj; | |
9581 | fail: | |
9582 | return NULL; | |
9583 | } | |
9584 | ||
9585 | ||
36ed4f51 | 9586 | static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9587 | PyObject *resultobj = NULL; |
d14a1e28 | 9588 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9589 | int result; |
d14a1e28 RD |
9590 | PyObject * obj0 = 0 ; |
9591 | char *kwnames[] = { | |
9592 | (char *) "self", NULL | |
9593 | }; | |
9594 | ||
36ed4f51 RD |
9595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail; |
9596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9598 | { |
9599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9600 | result = (int)(arg1)->GetWrapVisualFlagsLocation(); |
d14a1e28 RD |
9601 | |
9602 | wxPyEndAllowThreads(__tstate); | |
9603 | if (PyErr_Occurred()) SWIG_fail; | |
9604 | } | |
36ed4f51 | 9605 | { |
32fe5131 | 9606 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9607 | } |
d14a1e28 RD |
9608 | return resultobj; |
9609 | fail: | |
9610 | return NULL; | |
9611 | } | |
9612 | ||
9613 | ||
36ed4f51 | 9614 | static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9615 | PyObject *resultobj = NULL; |
d14a1e28 | 9616 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9617 | int arg2 ; |
d14a1e28 | 9618 | PyObject * obj0 = 0 ; |
36ed4f51 | 9619 | PyObject * obj1 = 0 ; |
d14a1e28 | 9620 | char *kwnames[] = { |
36ed4f51 | 9621 | (char *) "self",(char *) "indent", NULL |
d14a1e28 RD |
9622 | }; |
9623 | ||
36ed4f51 RD |
9624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail; |
9625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9627 | { | |
32fe5131 | 9628 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9629 | if (SWIG_arg_fail(2)) SWIG_fail; |
9630 | } | |
d14a1e28 RD |
9631 | { |
9632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9633 | (arg1)->SetWrapStartIndent(arg2); |
d14a1e28 RD |
9634 | |
9635 | wxPyEndAllowThreads(__tstate); | |
9636 | if (PyErr_Occurred()) SWIG_fail; | |
9637 | } | |
9638 | Py_INCREF(Py_None); resultobj = Py_None; | |
9639 | return resultobj; | |
9640 | fail: | |
9641 | return NULL; | |
9642 | } | |
9643 | ||
9644 | ||
36ed4f51 | 9645 | static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9646 | PyObject *resultobj = NULL; |
d14a1e28 | 9647 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9648 | int result; |
d14a1e28 RD |
9649 | PyObject * obj0 = 0 ; |
9650 | char *kwnames[] = { | |
36ed4f51 | 9651 | (char *) "self", NULL |
d14a1e28 RD |
9652 | }; |
9653 | ||
36ed4f51 RD |
9654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail; |
9655 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9656 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9657 | { |
9658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9659 | result = (int)(arg1)->GetWrapStartIndent(); |
d14a1e28 RD |
9660 | |
9661 | wxPyEndAllowThreads(__tstate); | |
9662 | if (PyErr_Occurred()) SWIG_fail; | |
9663 | } | |
36ed4f51 | 9664 | { |
32fe5131 | 9665 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9666 | } |
d14a1e28 RD |
9667 | return resultobj; |
9668 | fail: | |
9669 | return NULL; | |
9670 | } | |
9671 | ||
9672 | ||
36ed4f51 | 9673 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9674 | PyObject *resultobj = NULL; |
d14a1e28 | 9675 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9676 | int arg2 ; |
d14a1e28 RD |
9677 | PyObject * obj0 = 0 ; |
9678 | PyObject * obj1 = 0 ; | |
d14a1e28 | 9679 | char *kwnames[] = { |
36ed4f51 | 9680 | (char *) "self",(char *) "mode", NULL |
d14a1e28 RD |
9681 | }; |
9682 | ||
36ed4f51 RD |
9683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail; |
9684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 9686 | { |
32fe5131 | 9687 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 9688 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
9689 | } |
9690 | { | |
9691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9692 | (arg1)->SetLayoutCache(arg2); |
d14a1e28 RD |
9693 | |
9694 | wxPyEndAllowThreads(__tstate); | |
9695 | if (PyErr_Occurred()) SWIG_fail; | |
9696 | } | |
9697 | Py_INCREF(Py_None); resultobj = Py_None; | |
9698 | return resultobj; | |
9699 | fail: | |
9700 | return NULL; | |
9701 | } | |
9702 | ||
9703 | ||
36ed4f51 | 9704 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9705 | PyObject *resultobj = NULL; |
d14a1e28 | 9706 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9707 | int result; |
d14a1e28 | 9708 | PyObject * obj0 = 0 ; |
d14a1e28 | 9709 | char *kwnames[] = { |
36ed4f51 | 9710 | (char *) "self", NULL |
d14a1e28 RD |
9711 | }; |
9712 | ||
36ed4f51 RD |
9713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; |
9714 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9715 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9716 | { |
9717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9718 | result = (int)(arg1)->GetLayoutCache(); |
d14a1e28 RD |
9719 | |
9720 | wxPyEndAllowThreads(__tstate); | |
9721 | if (PyErr_Occurred()) SWIG_fail; | |
9722 | } | |
36ed4f51 | 9723 | { |
32fe5131 | 9724 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9725 | } |
d14a1e28 RD |
9726 | return resultobj; |
9727 | fail: | |
9728 | return NULL; | |
9729 | } | |
9730 | ||
9731 | ||
36ed4f51 | 9732 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9733 | PyObject *resultobj = NULL; |
d14a1e28 | 9734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9735 | int arg2 ; |
d14a1e28 | 9736 | PyObject * obj0 = 0 ; |
36ed4f51 | 9737 | PyObject * obj1 = 0 ; |
d14a1e28 | 9738 | char *kwnames[] = { |
36ed4f51 | 9739 | (char *) "self",(char *) "pixelWidth", NULL |
d14a1e28 RD |
9740 | }; |
9741 | ||
36ed4f51 RD |
9742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail; |
9743 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9744 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9745 | { | |
32fe5131 | 9746 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9747 | if (SWIG_arg_fail(2)) SWIG_fail; |
9748 | } | |
d14a1e28 RD |
9749 | { |
9750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9751 | (arg1)->SetScrollWidth(arg2); |
d14a1e28 RD |
9752 | |
9753 | wxPyEndAllowThreads(__tstate); | |
9754 | if (PyErr_Occurred()) SWIG_fail; | |
9755 | } | |
9756 | Py_INCREF(Py_None); resultobj = Py_None; | |
9757 | return resultobj; | |
9758 | fail: | |
9759 | return NULL; | |
9760 | } | |
9761 | ||
9762 | ||
36ed4f51 | 9763 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9764 | PyObject *resultobj = NULL; |
d14a1e28 | 9765 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9766 | int result; |
d14a1e28 RD |
9767 | PyObject * obj0 = 0 ; |
9768 | char *kwnames[] = { | |
9769 | (char *) "self", NULL | |
9770 | }; | |
9771 | ||
36ed4f51 RD |
9772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; |
9773 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9774 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9775 | { |
9776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9777 | result = (int)(arg1)->GetScrollWidth(); |
d14a1e28 RD |
9778 | |
9779 | wxPyEndAllowThreads(__tstate); | |
9780 | if (PyErr_Occurred()) SWIG_fail; | |
9781 | } | |
36ed4f51 | 9782 | { |
32fe5131 | 9783 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9784 | } |
d14a1e28 RD |
9785 | return resultobj; |
9786 | fail: | |
9787 | return NULL; | |
9788 | } | |
9789 | ||
9790 | ||
36ed4f51 | 9791 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9792 | PyObject *resultobj = NULL; |
d14a1e28 | 9793 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
9794 | int arg2 ; |
9795 | wxString *arg3 = 0 ; | |
9796 | int result; | |
9797 | bool temp3 = false ; | |
d14a1e28 | 9798 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
9799 | PyObject * obj1 = 0 ; |
9800 | PyObject * obj2 = 0 ; | |
d14a1e28 | 9801 | char *kwnames[] = { |
36ed4f51 | 9802 | (char *) "self",(char *) "style",(char *) "text", NULL |
d14a1e28 RD |
9803 | }; |
9804 | ||
36ed4f51 RD |
9805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; |
9806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9808 | { | |
32fe5131 | 9809 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9810 | if (SWIG_arg_fail(2)) SWIG_fail; |
9811 | } | |
9812 | { | |
9813 | arg3 = wxString_in_helper(obj2); | |
9814 | if (arg3 == NULL) SWIG_fail; | |
9815 | temp3 = true; | |
9816 | } | |
d14a1e28 RD |
9817 | { |
9818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9819 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
9820 | |
9821 | wxPyEndAllowThreads(__tstate); | |
9822 | if (PyErr_Occurred()) SWIG_fail; | |
9823 | } | |
36ed4f51 | 9824 | { |
32fe5131 | 9825 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
9826 | } |
9827 | { | |
9828 | if (temp3) | |
9829 | delete arg3; | |
9830 | } | |
d14a1e28 RD |
9831 | return resultobj; |
9832 | fail: | |
36ed4f51 RD |
9833 | { |
9834 | if (temp3) | |
9835 | delete arg3; | |
9836 | } | |
d14a1e28 RD |
9837 | return NULL; |
9838 | } | |
9839 | ||
9840 | ||
36ed4f51 | 9841 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9842 | PyObject *resultobj = NULL; |
d14a1e28 | 9843 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9844 | bool arg2 ; |
d14a1e28 | 9845 | PyObject * obj0 = 0 ; |
36ed4f51 | 9846 | PyObject * obj1 = 0 ; |
d14a1e28 | 9847 | char *kwnames[] = { |
36ed4f51 | 9848 | (char *) "self",(char *) "endAtLastLine", NULL |
d14a1e28 RD |
9849 | }; |
9850 | ||
36ed4f51 RD |
9851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; |
9852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9854 | { | |
32fe5131 | 9855 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
9856 | if (SWIG_arg_fail(2)) SWIG_fail; |
9857 | } | |
d14a1e28 RD |
9858 | { |
9859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9860 | (arg1)->SetEndAtLastLine(arg2); |
d14a1e28 RD |
9861 | |
9862 | wxPyEndAllowThreads(__tstate); | |
9863 | if (PyErr_Occurred()) SWIG_fail; | |
9864 | } | |
9865 | Py_INCREF(Py_None); resultobj = Py_None; | |
9866 | return resultobj; | |
9867 | fail: | |
9868 | return NULL; | |
9869 | } | |
9870 | ||
9871 | ||
36ed4f51 | 9872 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9873 | PyObject *resultobj = NULL; |
d14a1e28 | 9874 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9875 | int result; |
d14a1e28 RD |
9876 | PyObject * obj0 = 0 ; |
9877 | char *kwnames[] = { | |
9878 | (char *) "self", NULL | |
9879 | }; | |
9880 | ||
36ed4f51 RD |
9881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; |
9882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9884 | { |
9885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9886 | result = (int)(arg1)->GetEndAtLastLine(); |
d14a1e28 RD |
9887 | |
9888 | wxPyEndAllowThreads(__tstate); | |
9889 | if (PyErr_Occurred()) SWIG_fail; | |
9890 | } | |
36ed4f51 | 9891 | { |
32fe5131 | 9892 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9893 | } |
d14a1e28 RD |
9894 | return resultobj; |
9895 | fail: | |
9896 | return NULL; | |
9897 | } | |
9898 | ||
9899 | ||
36ed4f51 | 9900 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9901 | PyObject *resultobj = NULL; |
d14a1e28 | 9902 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
9903 | int arg2 ; |
9904 | int result; | |
d14a1e28 | 9905 | PyObject * obj0 = 0 ; |
36ed4f51 | 9906 | PyObject * obj1 = 0 ; |
d14a1e28 | 9907 | char *kwnames[] = { |
36ed4f51 | 9908 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
9909 | }; |
9910 | ||
36ed4f51 RD |
9911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail; |
9912 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9913 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9914 | { | |
32fe5131 | 9915 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
9916 | if (SWIG_arg_fail(2)) SWIG_fail; |
9917 | } | |
d14a1e28 RD |
9918 | { |
9919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9920 | result = (int)(arg1)->TextHeight(arg2); |
d14a1e28 RD |
9921 | |
9922 | wxPyEndAllowThreads(__tstate); | |
9923 | if (PyErr_Occurred()) SWIG_fail; | |
9924 | } | |
36ed4f51 | 9925 | { |
32fe5131 | 9926 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 9927 | } |
d14a1e28 RD |
9928 | return resultobj; |
9929 | fail: | |
9930 | return NULL; | |
9931 | } | |
9932 | ||
9933 | ||
36ed4f51 | 9934 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9935 | PyObject *resultobj = NULL; |
d14a1e28 | 9936 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9937 | bool arg2 ; |
d14a1e28 | 9938 | PyObject * obj0 = 0 ; |
36ed4f51 | 9939 | PyObject * obj1 = 0 ; |
d14a1e28 | 9940 | char *kwnames[] = { |
36ed4f51 | 9941 | (char *) "self",(char *) "show", NULL |
d14a1e28 RD |
9942 | }; |
9943 | ||
36ed4f51 RD |
9944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; |
9945 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9946 | if (SWIG_arg_fail(1)) SWIG_fail; | |
9947 | { | |
32fe5131 | 9948 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
9949 | if (SWIG_arg_fail(2)) SWIG_fail; |
9950 | } | |
d14a1e28 RD |
9951 | { |
9952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9953 | (arg1)->SetUseVerticalScrollBar(arg2); |
d14a1e28 RD |
9954 | |
9955 | wxPyEndAllowThreads(__tstate); | |
9956 | if (PyErr_Occurred()) SWIG_fail; | |
9957 | } | |
9958 | Py_INCREF(Py_None); resultobj = Py_None; | |
9959 | return resultobj; | |
9960 | fail: | |
9961 | return NULL; | |
9962 | } | |
9963 | ||
9964 | ||
36ed4f51 | 9965 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9966 | PyObject *resultobj = NULL; |
d14a1e28 | 9967 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 9968 | bool result; |
d14a1e28 RD |
9969 | PyObject * obj0 = 0 ; |
9970 | char *kwnames[] = { | |
4276dc52 | 9971 | (char *) "self", NULL |
d14a1e28 RD |
9972 | }; |
9973 | ||
36ed4f51 RD |
9974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; |
9975 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
9976 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
9977 | { |
9978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 9979 | result = (bool)(arg1)->GetUseVerticalScrollBar(); |
d14a1e28 RD |
9980 | |
9981 | wxPyEndAllowThreads(__tstate); | |
9982 | if (PyErr_Occurred()) SWIG_fail; | |
9983 | } | |
36ed4f51 RD |
9984 | { |
9985 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9986 | } | |
d14a1e28 RD |
9987 | return resultobj; |
9988 | fail: | |
9989 | return NULL; | |
9990 | } | |
9991 | ||
9992 | ||
36ed4f51 | 9993 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 9994 | PyObject *resultobj = NULL; |
d14a1e28 | 9995 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
66af7a75 RD |
9996 | wxString *arg2 = 0 ; |
9997 | bool temp2 = false ; | |
d14a1e28 | 9998 | PyObject * obj0 = 0 ; |
36ed4f51 | 9999 | PyObject * obj1 = 0 ; |
d14a1e28 | 10000 | char *kwnames[] = { |
66af7a75 | 10001 | (char *) "self",(char *) "text", NULL |
d14a1e28 RD |
10002 | }; |
10003 | ||
66af7a75 | 10004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail; |
36ed4f51 RD |
10005 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); |
10006 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10007 | { | |
66af7a75 RD |
10008 | arg2 = wxString_in_helper(obj1); |
10009 | if (arg2 == NULL) SWIG_fail; | |
10010 | temp2 = true; | |
36ed4f51 | 10011 | } |
d14a1e28 RD |
10012 | { |
10013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
66af7a75 | 10014 | (arg1)->AppendText((wxString const &)*arg2); |
d14a1e28 RD |
10015 | |
10016 | wxPyEndAllowThreads(__tstate); | |
10017 | if (PyErr_Occurred()) SWIG_fail; | |
10018 | } | |
10019 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 | 10020 | { |
66af7a75 RD |
10021 | if (temp2) |
10022 | delete arg2; | |
36ed4f51 | 10023 | } |
d14a1e28 RD |
10024 | return resultobj; |
10025 | fail: | |
36ed4f51 | 10026 | { |
66af7a75 RD |
10027 | if (temp2) |
10028 | delete arg2; | |
36ed4f51 | 10029 | } |
d14a1e28 RD |
10030 | return NULL; |
10031 | } | |
10032 | ||
10033 | ||
36ed4f51 | 10034 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10035 | PyObject *resultobj = NULL; |
d14a1e28 | 10036 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 10037 | bool result; |
d14a1e28 RD |
10038 | PyObject * obj0 = 0 ; |
10039 | char *kwnames[] = { | |
4276dc52 | 10040 | (char *) "self", NULL |
d14a1e28 RD |
10041 | }; |
10042 | ||
36ed4f51 RD |
10043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; |
10044 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10045 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10046 | { |
10047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10048 | result = (bool)(arg1)->GetTwoPhaseDraw(); |
d14a1e28 RD |
10049 | |
10050 | wxPyEndAllowThreads(__tstate); | |
10051 | if (PyErr_Occurred()) SWIG_fail; | |
10052 | } | |
36ed4f51 RD |
10053 | { |
10054 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10055 | } | |
d14a1e28 RD |
10056 | return resultobj; |
10057 | fail: | |
10058 | return NULL; | |
10059 | } | |
10060 | ||
10061 | ||
36ed4f51 | 10062 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10063 | PyObject *resultobj = NULL; |
d14a1e28 | 10064 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 10065 | bool arg2 ; |
d14a1e28 | 10066 | PyObject * obj0 = 0 ; |
36ed4f51 | 10067 | PyObject * obj1 = 0 ; |
d14a1e28 | 10068 | char *kwnames[] = { |
36ed4f51 | 10069 | (char *) "self",(char *) "twoPhase", NULL |
d14a1e28 RD |
10070 | }; |
10071 | ||
36ed4f51 RD |
10072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; |
10073 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10074 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10075 | { | |
32fe5131 | 10076 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
10077 | if (SWIG_arg_fail(2)) SWIG_fail; |
10078 | } | |
d14a1e28 RD |
10079 | { |
10080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10081 | (arg1)->SetTwoPhaseDraw(arg2); |
d14a1e28 RD |
10082 | |
10083 | wxPyEndAllowThreads(__tstate); | |
10084 | if (PyErr_Occurred()) SWIG_fail; | |
10085 | } | |
4276dc52 | 10086 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10087 | return resultobj; |
10088 | fail: | |
10089 | return NULL; | |
10090 | } | |
10091 | ||
10092 | ||
36ed4f51 | 10093 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10094 | PyObject *resultobj = NULL; |
d14a1e28 | 10095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10096 | PyObject * obj0 = 0 ; |
10097 | char *kwnames[] = { | |
10098 | (char *) "self", NULL | |
10099 | }; | |
10100 | ||
36ed4f51 RD |
10101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; |
10102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10104 | { |
10105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10106 | (arg1)->TargetFromSelection(); |
d14a1e28 RD |
10107 | |
10108 | wxPyEndAllowThreads(__tstate); | |
10109 | if (PyErr_Occurred()) SWIG_fail; | |
10110 | } | |
4276dc52 | 10111 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10112 | return resultobj; |
10113 | fail: | |
10114 | return NULL; | |
10115 | } | |
10116 | ||
10117 | ||
36ed4f51 | 10118 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10119 | PyObject *resultobj = NULL; |
d14a1e28 | 10120 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10121 | PyObject * obj0 = 0 ; |
d14a1e28 | 10122 | char *kwnames[] = { |
4276dc52 | 10123 | (char *) "self", NULL |
d14a1e28 RD |
10124 | }; |
10125 | ||
36ed4f51 RD |
10126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; |
10127 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10128 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10129 | { |
10130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10131 | (arg1)->LinesJoin(); |
d14a1e28 RD |
10132 | |
10133 | wxPyEndAllowThreads(__tstate); | |
10134 | if (PyErr_Occurred()) SWIG_fail; | |
10135 | } | |
10136 | Py_INCREF(Py_None); resultobj = Py_None; | |
10137 | return resultobj; | |
10138 | fail: | |
10139 | return NULL; | |
10140 | } | |
10141 | ||
10142 | ||
36ed4f51 | 10143 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10144 | PyObject *resultobj = NULL; |
d14a1e28 | 10145 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 10146 | int arg2 ; |
d14a1e28 | 10147 | PyObject * obj0 = 0 ; |
36ed4f51 | 10148 | PyObject * obj1 = 0 ; |
d14a1e28 | 10149 | char *kwnames[] = { |
36ed4f51 | 10150 | (char *) "self",(char *) "pixelWidth", NULL |
d14a1e28 RD |
10151 | }; |
10152 | ||
36ed4f51 RD |
10153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail; |
10154 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10155 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10156 | { | |
32fe5131 | 10157 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
10158 | if (SWIG_arg_fail(2)) SWIG_fail; |
10159 | } | |
d14a1e28 RD |
10160 | { |
10161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10162 | (arg1)->LinesSplit(arg2); |
d14a1e28 RD |
10163 | |
10164 | wxPyEndAllowThreads(__tstate); | |
10165 | if (PyErr_Occurred()) SWIG_fail; | |
10166 | } | |
4276dc52 | 10167 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10168 | return resultobj; |
10169 | fail: | |
10170 | return NULL; | |
10171 | } | |
10172 | ||
10173 | ||
36ed4f51 | 10174 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10175 | PyObject *resultobj = NULL; |
d14a1e28 | 10176 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
10177 | bool arg2 ; |
10178 | wxColour *arg3 = 0 ; | |
10179 | wxColour temp3 ; | |
d14a1e28 | 10180 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
10181 | PyObject * obj1 = 0 ; |
10182 | PyObject * obj2 = 0 ; | |
d14a1e28 | 10183 | char *kwnames[] = { |
36ed4f51 | 10184 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
d14a1e28 RD |
10185 | }; |
10186 | ||
36ed4f51 RD |
10187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
10188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10190 | { | |
32fe5131 | 10191 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
10192 | if (SWIG_arg_fail(2)) SWIG_fail; |
10193 | } | |
10194 | { | |
10195 | arg3 = &temp3; | |
10196 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10197 | } | |
d14a1e28 RD |
10198 | { |
10199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10200 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
10201 | |
10202 | wxPyEndAllowThreads(__tstate); | |
10203 | if (PyErr_Occurred()) SWIG_fail; | |
10204 | } | |
10205 | Py_INCREF(Py_None); resultobj = Py_None; | |
10206 | return resultobj; | |
10207 | fail: | |
10208 | return NULL; | |
10209 | } | |
10210 | ||
10211 | ||
36ed4f51 | 10212 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10213 | PyObject *resultobj = NULL; |
d14a1e28 | 10214 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
10215 | bool arg2 ; |
10216 | wxColour *arg3 = 0 ; | |
10217 | wxColour temp3 ; | |
d14a1e28 | 10218 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
10219 | PyObject * obj1 = 0 ; |
10220 | PyObject * obj2 = 0 ; | |
d14a1e28 | 10221 | char *kwnames[] = { |
36ed4f51 | 10222 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
d14a1e28 RD |
10223 | }; |
10224 | ||
36ed4f51 RD |
10225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
10226 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10227 | if (SWIG_arg_fail(1)) SWIG_fail; | |
10228 | { | |
32fe5131 | 10229 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
10230 | if (SWIG_arg_fail(2)) SWIG_fail; |
10231 | } | |
10232 | { | |
10233 | arg3 = &temp3; | |
10234 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10235 | } | |
d14a1e28 RD |
10236 | { |
10237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10238 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); |
d14a1e28 RD |
10239 | |
10240 | wxPyEndAllowThreads(__tstate); | |
10241 | if (PyErr_Occurred()) SWIG_fail; | |
10242 | } | |
10243 | Py_INCREF(Py_None); resultobj = Py_None; | |
10244 | return resultobj; | |
10245 | fail: | |
10246 | return NULL; | |
10247 | } | |
10248 | ||
10249 | ||
36ed4f51 | 10250 | static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10251 | PyObject *resultobj = NULL; |
d14a1e28 | 10252 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10253 | PyObject * obj0 = 0 ; |
10254 | char *kwnames[] = { | |
10255 | (char *) "self", NULL | |
10256 | }; | |
10257 | ||
36ed4f51 RD |
10258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail; |
10259 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10260 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10261 | { |
10262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10263 | (arg1)->LineDown(); |
d14a1e28 RD |
10264 | |
10265 | wxPyEndAllowThreads(__tstate); | |
10266 | if (PyErr_Occurred()) SWIG_fail; | |
10267 | } | |
4276dc52 | 10268 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10269 | return resultobj; |
10270 | fail: | |
10271 | return NULL; | |
10272 | } | |
10273 | ||
10274 | ||
36ed4f51 | 10275 | static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10276 | PyObject *resultobj = NULL; |
d14a1e28 | 10277 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10278 | PyObject * obj0 = 0 ; |
10279 | char *kwnames[] = { | |
4276dc52 | 10280 | (char *) "self", NULL |
d14a1e28 RD |
10281 | }; |
10282 | ||
36ed4f51 RD |
10283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail; |
10284 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10285 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10286 | { |
10287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10288 | (arg1)->LineDownExtend(); |
d14a1e28 RD |
10289 | |
10290 | wxPyEndAllowThreads(__tstate); | |
10291 | if (PyErr_Occurred()) SWIG_fail; | |
10292 | } | |
10293 | Py_INCREF(Py_None); resultobj = Py_None; | |
10294 | return resultobj; | |
10295 | fail: | |
10296 | return NULL; | |
10297 | } | |
10298 | ||
10299 | ||
36ed4f51 | 10300 | static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10301 | PyObject *resultobj = NULL; |
d14a1e28 | 10302 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10303 | PyObject * obj0 = 0 ; |
10304 | char *kwnames[] = { | |
10305 | (char *) "self", NULL | |
10306 | }; | |
10307 | ||
36ed4f51 RD |
10308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail; |
10309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10311 | { |
10312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10313 | (arg1)->LineUp(); |
d14a1e28 RD |
10314 | |
10315 | wxPyEndAllowThreads(__tstate); | |
10316 | if (PyErr_Occurred()) SWIG_fail; | |
10317 | } | |
4276dc52 | 10318 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10319 | return resultobj; |
10320 | fail: | |
10321 | return NULL; | |
10322 | } | |
10323 | ||
10324 | ||
36ed4f51 | 10325 | static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10326 | PyObject *resultobj = NULL; |
d14a1e28 | 10327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10328 | PyObject * obj0 = 0 ; |
10329 | char *kwnames[] = { | |
4276dc52 | 10330 | (char *) "self", NULL |
d14a1e28 RD |
10331 | }; |
10332 | ||
36ed4f51 RD |
10333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail; |
10334 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10335 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10336 | { |
10337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10338 | (arg1)->LineUpExtend(); |
d14a1e28 RD |
10339 | |
10340 | wxPyEndAllowThreads(__tstate); | |
10341 | if (PyErr_Occurred()) SWIG_fail; | |
10342 | } | |
10343 | Py_INCREF(Py_None); resultobj = Py_None; | |
10344 | return resultobj; | |
10345 | fail: | |
10346 | return NULL; | |
10347 | } | |
10348 | ||
10349 | ||
36ed4f51 | 10350 | static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10351 | PyObject *resultobj = NULL; |
d14a1e28 | 10352 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10353 | PyObject * obj0 = 0 ; |
10354 | char *kwnames[] = { | |
10355 | (char *) "self", NULL | |
10356 | }; | |
10357 | ||
36ed4f51 RD |
10358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail; |
10359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10361 | { |
10362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10363 | (arg1)->CharLeft(); |
d14a1e28 RD |
10364 | |
10365 | wxPyEndAllowThreads(__tstate); | |
10366 | if (PyErr_Occurred()) SWIG_fail; | |
10367 | } | |
4276dc52 | 10368 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10369 | return resultobj; |
10370 | fail: | |
10371 | return NULL; | |
10372 | } | |
10373 | ||
10374 | ||
36ed4f51 | 10375 | static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10376 | PyObject *resultobj = NULL; |
d14a1e28 | 10377 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10378 | PyObject * obj0 = 0 ; |
d14a1e28 | 10379 | char *kwnames[] = { |
4276dc52 | 10380 | (char *) "self", NULL |
d14a1e28 RD |
10381 | }; |
10382 | ||
36ed4f51 RD |
10383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail; |
10384 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10385 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10386 | { |
10387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10388 | (arg1)->CharLeftExtend(); |
d14a1e28 RD |
10389 | |
10390 | wxPyEndAllowThreads(__tstate); | |
10391 | if (PyErr_Occurred()) SWIG_fail; | |
10392 | } | |
10393 | Py_INCREF(Py_None); resultobj = Py_None; | |
10394 | return resultobj; | |
10395 | fail: | |
10396 | return NULL; | |
10397 | } | |
10398 | ||
10399 | ||
36ed4f51 | 10400 | static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10401 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10402 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
10403 | PyObject * obj0 = 0 ; | |
10404 | char *kwnames[] = { | |
10405 | (char *) "self", NULL | |
10406 | }; | |
10407 | ||
36ed4f51 RD |
10408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail; |
10409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10411 | { |
10412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10413 | (arg1)->CharRight(); |
d14a1e28 RD |
10414 | |
10415 | wxPyEndAllowThreads(__tstate); | |
10416 | if (PyErr_Occurred()) SWIG_fail; | |
10417 | } | |
10418 | Py_INCREF(Py_None); resultobj = Py_None; | |
10419 | return resultobj; | |
10420 | fail: | |
10421 | return NULL; | |
10422 | } | |
10423 | ||
10424 | ||
36ed4f51 | 10425 | static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10426 | PyObject *resultobj = NULL; |
d14a1e28 | 10427 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10428 | PyObject * obj0 = 0 ; |
d14a1e28 | 10429 | char *kwnames[] = { |
4276dc52 | 10430 | (char *) "self", NULL |
d14a1e28 RD |
10431 | }; |
10432 | ||
36ed4f51 RD |
10433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail; |
10434 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10435 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10436 | { |
10437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10438 | (arg1)->CharRightExtend(); |
d14a1e28 RD |
10439 | |
10440 | wxPyEndAllowThreads(__tstate); | |
10441 | if (PyErr_Occurred()) SWIG_fail; | |
10442 | } | |
4276dc52 | 10443 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10444 | return resultobj; |
10445 | fail: | |
d14a1e28 RD |
10446 | return NULL; |
10447 | } | |
10448 | ||
10449 | ||
36ed4f51 | 10450 | static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10451 | PyObject *resultobj = NULL; |
d14a1e28 | 10452 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10453 | PyObject * obj0 = 0 ; |
d14a1e28 | 10454 | char *kwnames[] = { |
4276dc52 | 10455 | (char *) "self", NULL |
d14a1e28 RD |
10456 | }; |
10457 | ||
36ed4f51 RD |
10458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail; |
10459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10461 | { |
10462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10463 | (arg1)->WordLeft(); |
d14a1e28 RD |
10464 | |
10465 | wxPyEndAllowThreads(__tstate); | |
10466 | if (PyErr_Occurred()) SWIG_fail; | |
10467 | } | |
4276dc52 | 10468 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10469 | return resultobj; |
10470 | fail: | |
d14a1e28 RD |
10471 | return NULL; |
10472 | } | |
10473 | ||
10474 | ||
36ed4f51 | 10475 | static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10476 | PyObject *resultobj = NULL; |
d14a1e28 | 10477 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10478 | PyObject * obj0 = 0 ; |
10479 | char *kwnames[] = { | |
10480 | (char *) "self", NULL | |
10481 | }; | |
10482 | ||
36ed4f51 RD |
10483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail; |
10484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10486 | { |
10487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10488 | (arg1)->WordLeftExtend(); |
d14a1e28 RD |
10489 | |
10490 | wxPyEndAllowThreads(__tstate); | |
10491 | if (PyErr_Occurred()) SWIG_fail; | |
10492 | } | |
4276dc52 | 10493 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10494 | return resultobj; |
10495 | fail: | |
10496 | return NULL; | |
10497 | } | |
10498 | ||
10499 | ||
36ed4f51 | 10500 | static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10501 | PyObject *resultobj = NULL; |
d14a1e28 | 10502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10503 | PyObject * obj0 = 0 ; |
d14a1e28 | 10504 | char *kwnames[] = { |
4276dc52 | 10505 | (char *) "self", NULL |
d14a1e28 RD |
10506 | }; |
10507 | ||
36ed4f51 RD |
10508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail; |
10509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10511 | { |
10512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10513 | (arg1)->WordRight(); |
d14a1e28 RD |
10514 | |
10515 | wxPyEndAllowThreads(__tstate); | |
10516 | if (PyErr_Occurred()) SWIG_fail; | |
10517 | } | |
10518 | Py_INCREF(Py_None); resultobj = Py_None; | |
10519 | return resultobj; | |
10520 | fail: | |
10521 | return NULL; | |
10522 | } | |
10523 | ||
10524 | ||
36ed4f51 | 10525 | static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10526 | PyObject *resultobj = NULL; |
d14a1e28 | 10527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10528 | PyObject * obj0 = 0 ; |
10529 | char *kwnames[] = { | |
10530 | (char *) "self", NULL | |
10531 | }; | |
10532 | ||
36ed4f51 RD |
10533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail; |
10534 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10535 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10536 | { |
10537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10538 | (arg1)->WordRightExtend(); |
d14a1e28 RD |
10539 | |
10540 | wxPyEndAllowThreads(__tstate); | |
10541 | if (PyErr_Occurred()) SWIG_fail; | |
10542 | } | |
4276dc52 | 10543 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10544 | return resultobj; |
10545 | fail: | |
10546 | return NULL; | |
10547 | } | |
10548 | ||
10549 | ||
36ed4f51 | 10550 | static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10551 | PyObject *resultobj = NULL; |
d14a1e28 | 10552 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10553 | PyObject * obj0 = 0 ; |
10554 | char *kwnames[] = { | |
4276dc52 | 10555 | (char *) "self", NULL |
d14a1e28 RD |
10556 | }; |
10557 | ||
36ed4f51 RD |
10558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail; |
10559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10561 | { |
10562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10563 | (arg1)->Home(); |
d14a1e28 RD |
10564 | |
10565 | wxPyEndAllowThreads(__tstate); | |
10566 | if (PyErr_Occurred()) SWIG_fail; | |
10567 | } | |
10568 | Py_INCREF(Py_None); resultobj = Py_None; | |
10569 | return resultobj; | |
10570 | fail: | |
10571 | return NULL; | |
10572 | } | |
10573 | ||
10574 | ||
36ed4f51 | 10575 | static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10576 | PyObject *resultobj = NULL; |
d14a1e28 | 10577 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10578 | PyObject * obj0 = 0 ; |
10579 | char *kwnames[] = { | |
10580 | (char *) "self", NULL | |
10581 | }; | |
10582 | ||
36ed4f51 RD |
10583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail; |
10584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10586 | { |
10587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10588 | (arg1)->HomeExtend(); |
d14a1e28 RD |
10589 | |
10590 | wxPyEndAllowThreads(__tstate); | |
10591 | if (PyErr_Occurred()) SWIG_fail; | |
10592 | } | |
4276dc52 | 10593 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10594 | return resultobj; |
10595 | fail: | |
10596 | return NULL; | |
10597 | } | |
10598 | ||
10599 | ||
36ed4f51 | 10600 | static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10601 | PyObject *resultobj = NULL; |
d14a1e28 | 10602 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10603 | PyObject * obj0 = 0 ; |
10604 | char *kwnames[] = { | |
10605 | (char *) "self", NULL | |
10606 | }; | |
10607 | ||
36ed4f51 RD |
10608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail; |
10609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10611 | { |
10612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10613 | (arg1)->LineEnd(); |
d14a1e28 RD |
10614 | |
10615 | wxPyEndAllowThreads(__tstate); | |
10616 | if (PyErr_Occurred()) SWIG_fail; | |
10617 | } | |
4276dc52 | 10618 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10619 | return resultobj; |
10620 | fail: | |
10621 | return NULL; | |
10622 | } | |
10623 | ||
10624 | ||
36ed4f51 | 10625 | static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10626 | PyObject *resultobj = NULL; |
d14a1e28 | 10627 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10628 | PyObject * obj0 = 0 ; |
d14a1e28 | 10629 | char *kwnames[] = { |
4276dc52 | 10630 | (char *) "self", NULL |
d14a1e28 RD |
10631 | }; |
10632 | ||
36ed4f51 RD |
10633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail; |
10634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10636 | { |
10637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10638 | (arg1)->LineEndExtend(); |
d14a1e28 RD |
10639 | |
10640 | wxPyEndAllowThreads(__tstate); | |
10641 | if (PyErr_Occurred()) SWIG_fail; | |
10642 | } | |
10643 | Py_INCREF(Py_None); resultobj = Py_None; | |
10644 | return resultobj; | |
10645 | fail: | |
10646 | return NULL; | |
10647 | } | |
10648 | ||
10649 | ||
36ed4f51 | 10650 | static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10651 | PyObject *resultobj = NULL; |
d14a1e28 | 10652 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10653 | PyObject * obj0 = 0 ; |
d14a1e28 | 10654 | char *kwnames[] = { |
4276dc52 | 10655 | (char *) "self", NULL |
d14a1e28 RD |
10656 | }; |
10657 | ||
36ed4f51 RD |
10658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail; |
10659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10661 | { |
10662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10663 | (arg1)->DocumentStart(); |
d14a1e28 RD |
10664 | |
10665 | wxPyEndAllowThreads(__tstate); | |
10666 | if (PyErr_Occurred()) SWIG_fail; | |
10667 | } | |
10668 | Py_INCREF(Py_None); resultobj = Py_None; | |
10669 | return resultobj; | |
10670 | fail: | |
10671 | return NULL; | |
10672 | } | |
10673 | ||
10674 | ||
36ed4f51 | 10675 | static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10676 | PyObject *resultobj = NULL; |
d14a1e28 | 10677 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10678 | PyObject * obj0 = 0 ; |
10679 | char *kwnames[] = { | |
10680 | (char *) "self", NULL | |
10681 | }; | |
10682 | ||
36ed4f51 RD |
10683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail; |
10684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10686 | { |
10687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10688 | (arg1)->DocumentStartExtend(); |
d14a1e28 RD |
10689 | |
10690 | wxPyEndAllowThreads(__tstate); | |
10691 | if (PyErr_Occurred()) SWIG_fail; | |
10692 | } | |
4276dc52 | 10693 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10694 | return resultobj; |
10695 | fail: | |
10696 | return NULL; | |
10697 | } | |
10698 | ||
10699 | ||
36ed4f51 | 10700 | static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10701 | PyObject *resultobj = NULL; |
d14a1e28 | 10702 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10703 | PyObject * obj0 = 0 ; |
d14a1e28 | 10704 | char *kwnames[] = { |
4276dc52 | 10705 | (char *) "self", NULL |
d14a1e28 RD |
10706 | }; |
10707 | ||
36ed4f51 RD |
10708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail; |
10709 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10710 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10711 | { |
10712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10713 | (arg1)->DocumentEnd(); |
d14a1e28 RD |
10714 | |
10715 | wxPyEndAllowThreads(__tstate); | |
10716 | if (PyErr_Occurred()) SWIG_fail; | |
10717 | } | |
10718 | Py_INCREF(Py_None); resultobj = Py_None; | |
10719 | return resultobj; | |
10720 | fail: | |
10721 | return NULL; | |
10722 | } | |
10723 | ||
10724 | ||
36ed4f51 | 10725 | static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10726 | PyObject *resultobj = NULL; |
d14a1e28 | 10727 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10728 | PyObject * obj0 = 0 ; |
10729 | char *kwnames[] = { | |
10730 | (char *) "self", NULL | |
10731 | }; | |
10732 | ||
36ed4f51 RD |
10733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail; |
10734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10736 | { |
10737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10738 | (arg1)->DocumentEndExtend(); |
d14a1e28 RD |
10739 | |
10740 | wxPyEndAllowThreads(__tstate); | |
10741 | if (PyErr_Occurred()) SWIG_fail; | |
10742 | } | |
4276dc52 | 10743 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10744 | return resultobj; |
10745 | fail: | |
10746 | return NULL; | |
10747 | } | |
10748 | ||
10749 | ||
36ed4f51 | 10750 | static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10751 | PyObject *resultobj = NULL; |
d14a1e28 | 10752 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10753 | PyObject * obj0 = 0 ; |
10754 | char *kwnames[] = { | |
4276dc52 | 10755 | (char *) "self", NULL |
d14a1e28 RD |
10756 | }; |
10757 | ||
36ed4f51 RD |
10758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail; |
10759 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10760 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10761 | { |
10762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10763 | (arg1)->PageUp(); |
d14a1e28 RD |
10764 | |
10765 | wxPyEndAllowThreads(__tstate); | |
10766 | if (PyErr_Occurred()) SWIG_fail; | |
10767 | } | |
10768 | Py_INCREF(Py_None); resultobj = Py_None; | |
10769 | return resultobj; | |
10770 | fail: | |
10771 | return NULL; | |
10772 | } | |
10773 | ||
10774 | ||
36ed4f51 | 10775 | static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10776 | PyObject *resultobj = NULL; |
d14a1e28 | 10777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10778 | PyObject * obj0 = 0 ; |
10779 | char *kwnames[] = { | |
10780 | (char *) "self", NULL | |
10781 | }; | |
10782 | ||
36ed4f51 RD |
10783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail; |
10784 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10785 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10786 | { |
10787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10788 | (arg1)->PageUpExtend(); |
d14a1e28 RD |
10789 | |
10790 | wxPyEndAllowThreads(__tstate); | |
10791 | if (PyErr_Occurred()) SWIG_fail; | |
10792 | } | |
4276dc52 | 10793 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10794 | return resultobj; |
10795 | fail: | |
10796 | return NULL; | |
10797 | } | |
10798 | ||
10799 | ||
36ed4f51 | 10800 | static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10801 | PyObject *resultobj = NULL; |
d14a1e28 | 10802 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 10803 | PyObject * obj0 = 0 ; |
d14a1e28 | 10804 | char *kwnames[] = { |
4276dc52 | 10805 | (char *) "self", NULL |
d14a1e28 RD |
10806 | }; |
10807 | ||
36ed4f51 RD |
10808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail; |
10809 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10810 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10811 | { |
10812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10813 | (arg1)->PageDown(); |
d14a1e28 RD |
10814 | |
10815 | wxPyEndAllowThreads(__tstate); | |
10816 | if (PyErr_Occurred()) SWIG_fail; | |
10817 | } | |
10818 | Py_INCREF(Py_None); resultobj = Py_None; | |
10819 | return resultobj; | |
10820 | fail: | |
10821 | return NULL; | |
10822 | } | |
10823 | ||
10824 | ||
36ed4f51 | 10825 | static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10826 | PyObject *resultobj = NULL; |
d14a1e28 | 10827 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10828 | PyObject * obj0 = 0 ; |
10829 | char *kwnames[] = { | |
10830 | (char *) "self", NULL | |
10831 | }; | |
10832 | ||
36ed4f51 RD |
10833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail; |
10834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10836 | { |
10837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10838 | (arg1)->PageDownExtend(); |
d14a1e28 RD |
10839 | |
10840 | wxPyEndAllowThreads(__tstate); | |
10841 | if (PyErr_Occurred()) SWIG_fail; | |
10842 | } | |
4276dc52 | 10843 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10844 | return resultobj; |
10845 | fail: | |
10846 | return NULL; | |
10847 | } | |
10848 | ||
10849 | ||
36ed4f51 | 10850 | static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10851 | PyObject *resultobj = NULL; |
d14a1e28 | 10852 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10853 | PyObject * obj0 = 0 ; |
10854 | char *kwnames[] = { | |
4276dc52 | 10855 | (char *) "self", NULL |
d14a1e28 RD |
10856 | }; |
10857 | ||
36ed4f51 RD |
10858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail; |
10859 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10860 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10861 | { |
10862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10863 | (arg1)->EditToggleOvertype(); |
d14a1e28 RD |
10864 | |
10865 | wxPyEndAllowThreads(__tstate); | |
10866 | if (PyErr_Occurred()) SWIG_fail; | |
10867 | } | |
10868 | Py_INCREF(Py_None); resultobj = Py_None; | |
10869 | return resultobj; | |
10870 | fail: | |
10871 | return NULL; | |
10872 | } | |
10873 | ||
10874 | ||
36ed4f51 | 10875 | static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10876 | PyObject *resultobj = NULL; |
d14a1e28 | 10877 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10878 | PyObject * obj0 = 0 ; |
10879 | char *kwnames[] = { | |
10880 | (char *) "self", NULL | |
10881 | }; | |
10882 | ||
36ed4f51 RD |
10883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail; |
10884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10886 | { |
10887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10888 | (arg1)->Cancel(); |
d14a1e28 RD |
10889 | |
10890 | wxPyEndAllowThreads(__tstate); | |
10891 | if (PyErr_Occurred()) SWIG_fail; | |
10892 | } | |
4276dc52 | 10893 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10894 | return resultobj; |
10895 | fail: | |
10896 | return NULL; | |
10897 | } | |
10898 | ||
10899 | ||
36ed4f51 | 10900 | static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10901 | PyObject *resultobj = NULL; |
d14a1e28 | 10902 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10903 | PyObject * obj0 = 0 ; |
10904 | char *kwnames[] = { | |
4276dc52 | 10905 | (char *) "self", NULL |
d14a1e28 RD |
10906 | }; |
10907 | ||
36ed4f51 RD |
10908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail; |
10909 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10910 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10911 | { |
10912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10913 | (arg1)->DeleteBack(); |
d14a1e28 RD |
10914 | |
10915 | wxPyEndAllowThreads(__tstate); | |
10916 | if (PyErr_Occurred()) SWIG_fail; | |
10917 | } | |
10918 | Py_INCREF(Py_None); resultobj = Py_None; | |
10919 | return resultobj; | |
10920 | fail: | |
10921 | return NULL; | |
10922 | } | |
10923 | ||
10924 | ||
36ed4f51 | 10925 | static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10926 | PyObject *resultobj = NULL; |
d14a1e28 | 10927 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
10928 | PyObject * obj0 = 0 ; |
10929 | char *kwnames[] = { | |
10930 | (char *) "self", NULL | |
10931 | }; | |
10932 | ||
36ed4f51 RD |
10933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail; |
10934 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10935 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10936 | { |
10937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10938 | (arg1)->Tab(); |
d14a1e28 RD |
10939 | |
10940 | wxPyEndAllowThreads(__tstate); | |
10941 | if (PyErr_Occurred()) SWIG_fail; | |
10942 | } | |
4276dc52 | 10943 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
10944 | return resultobj; |
10945 | fail: | |
10946 | return NULL; | |
10947 | } | |
10948 | ||
10949 | ||
36ed4f51 | 10950 | static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10951 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
10953 | PyObject * obj0 = 0 ; | |
10954 | char *kwnames[] = { | |
10955 | (char *) "self", NULL | |
10956 | }; | |
10957 | ||
36ed4f51 RD |
10958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail; |
10959 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10960 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10961 | { |
10962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10963 | (arg1)->BackTab(); |
d14a1e28 RD |
10964 | |
10965 | wxPyEndAllowThreads(__tstate); | |
10966 | if (PyErr_Occurred()) SWIG_fail; | |
10967 | } | |
10968 | Py_INCREF(Py_None); resultobj = Py_None; | |
10969 | return resultobj; | |
10970 | fail: | |
10971 | return NULL; | |
10972 | } | |
10973 | ||
10974 | ||
36ed4f51 | 10975 | static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 10976 | PyObject *resultobj = NULL; |
d14a1e28 RD |
10977 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
10978 | PyObject * obj0 = 0 ; | |
10979 | char *kwnames[] = { | |
10980 | (char *) "self", NULL | |
10981 | }; | |
10982 | ||
36ed4f51 RD |
10983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail; |
10984 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
10985 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
10986 | { |
10987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 10988 | (arg1)->NewLine(); |
d14a1e28 RD |
10989 | |
10990 | wxPyEndAllowThreads(__tstate); | |
10991 | if (PyErr_Occurred()) SWIG_fail; | |
10992 | } | |
10993 | Py_INCREF(Py_None); resultobj = Py_None; | |
10994 | return resultobj; | |
10995 | fail: | |
10996 | return NULL; | |
10997 | } | |
10998 | ||
10999 | ||
36ed4f51 | 11000 | static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11001 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11002 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11003 | PyObject * obj0 = 0 ; | |
11004 | char *kwnames[] = { | |
11005 | (char *) "self", NULL | |
11006 | }; | |
11007 | ||
36ed4f51 RD |
11008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail; |
11009 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11010 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11011 | { |
11012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11013 | (arg1)->FormFeed(); |
d14a1e28 RD |
11014 | |
11015 | wxPyEndAllowThreads(__tstate); | |
11016 | if (PyErr_Occurred()) SWIG_fail; | |
11017 | } | |
11018 | Py_INCREF(Py_None); resultobj = Py_None; | |
11019 | return resultobj; | |
11020 | fail: | |
11021 | return NULL; | |
11022 | } | |
11023 | ||
11024 | ||
36ed4f51 | 11025 | static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11026 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11027 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11028 | PyObject * obj0 = 0 ; | |
11029 | char *kwnames[] = { | |
11030 | (char *) "self", NULL | |
11031 | }; | |
11032 | ||
36ed4f51 RD |
11033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail; |
11034 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11035 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11036 | { |
11037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11038 | (arg1)->VCHome(); |
d14a1e28 RD |
11039 | |
11040 | wxPyEndAllowThreads(__tstate); | |
11041 | if (PyErr_Occurred()) SWIG_fail; | |
11042 | } | |
11043 | Py_INCREF(Py_None); resultobj = Py_None; | |
11044 | return resultobj; | |
11045 | fail: | |
11046 | return NULL; | |
11047 | } | |
11048 | ||
11049 | ||
36ed4f51 | 11050 | static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11051 | PyObject *resultobj = NULL; |
d14a1e28 | 11052 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11053 | PyObject * obj0 = 0 ; |
11054 | char *kwnames[] = { | |
4276dc52 | 11055 | (char *) "self", NULL |
d14a1e28 RD |
11056 | }; |
11057 | ||
36ed4f51 RD |
11058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail; |
11059 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11060 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11061 | { |
11062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11063 | (arg1)->VCHomeExtend(); |
d14a1e28 RD |
11064 | |
11065 | wxPyEndAllowThreads(__tstate); | |
11066 | if (PyErr_Occurred()) SWIG_fail; | |
11067 | } | |
11068 | Py_INCREF(Py_None); resultobj = Py_None; | |
11069 | return resultobj; | |
11070 | fail: | |
11071 | return NULL; | |
11072 | } | |
11073 | ||
11074 | ||
36ed4f51 | 11075 | static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11076 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11077 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11078 | PyObject * obj0 = 0 ; | |
11079 | char *kwnames[] = { | |
11080 | (char *) "self", NULL | |
11081 | }; | |
11082 | ||
36ed4f51 RD |
11083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail; |
11084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11086 | { |
11087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11088 | (arg1)->ZoomIn(); |
d14a1e28 RD |
11089 | |
11090 | wxPyEndAllowThreads(__tstate); | |
11091 | if (PyErr_Occurred()) SWIG_fail; | |
11092 | } | |
11093 | Py_INCREF(Py_None); resultobj = Py_None; | |
11094 | return resultobj; | |
11095 | fail: | |
11096 | return NULL; | |
11097 | } | |
11098 | ||
11099 | ||
36ed4f51 | 11100 | static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11101 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11102 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11103 | PyObject * obj0 = 0 ; | |
11104 | char *kwnames[] = { | |
11105 | (char *) "self", NULL | |
11106 | }; | |
11107 | ||
36ed4f51 RD |
11108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail; |
11109 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11110 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11111 | { |
11112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11113 | (arg1)->ZoomOut(); |
d14a1e28 RD |
11114 | |
11115 | wxPyEndAllowThreads(__tstate); | |
11116 | if (PyErr_Occurred()) SWIG_fail; | |
11117 | } | |
11118 | Py_INCREF(Py_None); resultobj = Py_None; | |
11119 | return resultobj; | |
11120 | fail: | |
11121 | return NULL; | |
11122 | } | |
11123 | ||
11124 | ||
36ed4f51 | 11125 | static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11126 | PyObject *resultobj = NULL; |
d14a1e28 | 11127 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11128 | PyObject * obj0 = 0 ; |
11129 | char *kwnames[] = { | |
4276dc52 | 11130 | (char *) "self", NULL |
d14a1e28 RD |
11131 | }; |
11132 | ||
36ed4f51 RD |
11133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail; |
11134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11136 | { |
11137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11138 | (arg1)->DelWordLeft(); |
d14a1e28 RD |
11139 | |
11140 | wxPyEndAllowThreads(__tstate); | |
11141 | if (PyErr_Occurred()) SWIG_fail; | |
11142 | } | |
11143 | Py_INCREF(Py_None); resultobj = Py_None; | |
11144 | return resultobj; | |
11145 | fail: | |
11146 | return NULL; | |
11147 | } | |
11148 | ||
11149 | ||
36ed4f51 | 11150 | static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11151 | PyObject *resultobj = NULL; |
d14a1e28 | 11152 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11153 | PyObject * obj0 = 0 ; |
11154 | char *kwnames[] = { | |
11155 | (char *) "self", NULL | |
11156 | }; | |
11157 | ||
36ed4f51 RD |
11158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail; |
11159 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11160 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11161 | { |
11162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11163 | (arg1)->DelWordRight(); |
d14a1e28 RD |
11164 | |
11165 | wxPyEndAllowThreads(__tstate); | |
11166 | if (PyErr_Occurred()) SWIG_fail; | |
11167 | } | |
4276dc52 | 11168 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
11169 | return resultobj; |
11170 | fail: | |
11171 | return NULL; | |
11172 | } | |
11173 | ||
11174 | ||
36ed4f51 | 11175 | static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11176 | PyObject *resultobj = NULL; |
d14a1e28 RD |
11177 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11178 | PyObject * obj0 = 0 ; | |
11179 | char *kwnames[] = { | |
11180 | (char *) "self", NULL | |
11181 | }; | |
11182 | ||
36ed4f51 RD |
11183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail; |
11184 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11185 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11186 | { |
11187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11188 | (arg1)->LineCut(); |
d14a1e28 RD |
11189 | |
11190 | wxPyEndAllowThreads(__tstate); | |
11191 | if (PyErr_Occurred()) SWIG_fail; | |
11192 | } | |
11193 | Py_INCREF(Py_None); resultobj = Py_None; | |
11194 | return resultobj; | |
11195 | fail: | |
11196 | return NULL; | |
11197 | } | |
11198 | ||
11199 | ||
36ed4f51 | 11200 | static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11201 | PyObject *resultobj = NULL; |
d14a1e28 | 11202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11203 | PyObject * obj0 = 0 ; |
11204 | char *kwnames[] = { | |
4276dc52 | 11205 | (char *) "self", NULL |
d14a1e28 RD |
11206 | }; |
11207 | ||
36ed4f51 RD |
11208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail; |
11209 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11210 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11211 | { |
11212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11213 | (arg1)->LineDelete(); |
d14a1e28 RD |
11214 | |
11215 | wxPyEndAllowThreads(__tstate); | |
11216 | if (PyErr_Occurred()) SWIG_fail; | |
11217 | } | |
11218 | Py_INCREF(Py_None); resultobj = Py_None; | |
11219 | return resultobj; | |
11220 | fail: | |
11221 | return NULL; | |
11222 | } | |
11223 | ||
11224 | ||
36ed4f51 | 11225 | static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11226 | PyObject *resultobj = NULL; |
d14a1e28 | 11227 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11228 | PyObject * obj0 = 0 ; |
11229 | char *kwnames[] = { | |
4276dc52 | 11230 | (char *) "self", NULL |
d14a1e28 RD |
11231 | }; |
11232 | ||
36ed4f51 RD |
11233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail; |
11234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11236 | { |
11237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11238 | (arg1)->LineTranspose(); |
d14a1e28 RD |
11239 | |
11240 | wxPyEndAllowThreads(__tstate); | |
11241 | if (PyErr_Occurred()) SWIG_fail; | |
11242 | } | |
11243 | Py_INCREF(Py_None); resultobj = Py_None; | |
11244 | return resultobj; | |
11245 | fail: | |
11246 | return NULL; | |
11247 | } | |
11248 | ||
11249 | ||
36ed4f51 | 11250 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11251 | PyObject *resultobj = NULL; |
d14a1e28 | 11252 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11253 | PyObject * obj0 = 0 ; |
11254 | char *kwnames[] = { | |
4276dc52 | 11255 | (char *) "self", NULL |
d14a1e28 RD |
11256 | }; |
11257 | ||
36ed4f51 RD |
11258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; |
11259 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11260 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11261 | { |
11262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11263 | (arg1)->LineDuplicate(); |
d14a1e28 RD |
11264 | |
11265 | wxPyEndAllowThreads(__tstate); | |
11266 | if (PyErr_Occurred()) SWIG_fail; | |
11267 | } | |
11268 | Py_INCREF(Py_None); resultobj = Py_None; | |
11269 | return resultobj; | |
11270 | fail: | |
11271 | return NULL; | |
11272 | } | |
11273 | ||
11274 | ||
36ed4f51 | 11275 | static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11276 | PyObject *resultobj = NULL; |
d14a1e28 | 11277 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11278 | PyObject * obj0 = 0 ; |
11279 | char *kwnames[] = { | |
11280 | (char *) "self", NULL | |
11281 | }; | |
11282 | ||
36ed4f51 RD |
11283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail; |
11284 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11285 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11286 | { |
11287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11288 | (arg1)->LowerCase(); |
d14a1e28 RD |
11289 | |
11290 | wxPyEndAllowThreads(__tstate); | |
11291 | if (PyErr_Occurred()) SWIG_fail; | |
11292 | } | |
4276dc52 | 11293 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
11294 | return resultobj; |
11295 | fail: | |
11296 | return NULL; | |
11297 | } | |
11298 | ||
11299 | ||
36ed4f51 | 11300 | static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11301 | PyObject *resultobj = NULL; |
d14a1e28 | 11302 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 11303 | PyObject * obj0 = 0 ; |
d14a1e28 | 11304 | char *kwnames[] = { |
36ed4f51 | 11305 | (char *) "self", NULL |
d14a1e28 RD |
11306 | }; |
11307 | ||
36ed4f51 RD |
11308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail; |
11309 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11310 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11311 | { |
11312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11313 | (arg1)->UpperCase(); |
d14a1e28 RD |
11314 | |
11315 | wxPyEndAllowThreads(__tstate); | |
11316 | if (PyErr_Occurred()) SWIG_fail; | |
11317 | } | |
36ed4f51 | 11318 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
11319 | return resultobj; |
11320 | fail: | |
11321 | return NULL; | |
11322 | } | |
11323 | ||
11324 | ||
36ed4f51 | 11325 | static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11326 | PyObject *resultobj = NULL; |
d14a1e28 | 11327 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 11328 | PyObject * obj0 = 0 ; |
d14a1e28 | 11329 | char *kwnames[] = { |
36ed4f51 | 11330 | (char *) "self", NULL |
d14a1e28 RD |
11331 | }; |
11332 | ||
36ed4f51 RD |
11333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail; |
11334 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11335 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11336 | { |
11337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11338 | (arg1)->LineScrollDown(); |
d14a1e28 RD |
11339 | |
11340 | wxPyEndAllowThreads(__tstate); | |
11341 | if (PyErr_Occurred()) SWIG_fail; | |
11342 | } | |
11343 | Py_INCREF(Py_None); resultobj = Py_None; | |
11344 | return resultobj; | |
11345 | fail: | |
11346 | return NULL; | |
11347 | } | |
11348 | ||
11349 | ||
36ed4f51 | 11350 | static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11351 | PyObject *resultobj = NULL; |
d14a1e28 | 11352 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 11353 | PyObject * obj0 = 0 ; |
d14a1e28 | 11354 | char *kwnames[] = { |
36ed4f51 | 11355 | (char *) "self", NULL |
d14a1e28 RD |
11356 | }; |
11357 | ||
36ed4f51 RD |
11358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail; |
11359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11361 | { |
11362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11363 | (arg1)->LineScrollUp(); |
d14a1e28 RD |
11364 | |
11365 | wxPyEndAllowThreads(__tstate); | |
11366 | if (PyErr_Occurred()) SWIG_fail; | |
11367 | } | |
11368 | Py_INCREF(Py_None); resultobj = Py_None; | |
11369 | return resultobj; | |
11370 | fail: | |
11371 | return NULL; | |
11372 | } | |
11373 | ||
11374 | ||
36ed4f51 | 11375 | static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11376 | PyObject *resultobj = NULL; |
96b3fa7c | 11377 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c | 11378 | PyObject * obj0 = 0 ; |
96b3fa7c | 11379 | char *kwnames[] = { |
36ed4f51 | 11380 | (char *) "self", NULL |
96b3fa7c RD |
11381 | }; |
11382 | ||
36ed4f51 RD |
11383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail; |
11384 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11385 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
11386 | { |
11387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11388 | (arg1)->DeleteBackNotLine(); |
96b3fa7c RD |
11389 | |
11390 | wxPyEndAllowThreads(__tstate); | |
11391 | if (PyErr_Occurred()) SWIG_fail; | |
11392 | } | |
36ed4f51 | 11393 | Py_INCREF(Py_None); resultobj = Py_None; |
96b3fa7c RD |
11394 | return resultobj; |
11395 | fail: | |
11396 | return NULL; | |
11397 | } | |
11398 | ||
11399 | ||
36ed4f51 | 11400 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11401 | PyObject *resultobj = NULL; |
d14a1e28 | 11402 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11403 | PyObject * obj0 = 0 ; |
11404 | char *kwnames[] = { | |
4276dc52 | 11405 | (char *) "self", NULL |
d14a1e28 RD |
11406 | }; |
11407 | ||
36ed4f51 RD |
11408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; |
11409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11411 | { |
11412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11413 | (arg1)->HomeDisplay(); |
d14a1e28 RD |
11414 | |
11415 | wxPyEndAllowThreads(__tstate); | |
11416 | if (PyErr_Occurred()) SWIG_fail; | |
11417 | } | |
36ed4f51 | 11418 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
11419 | return resultobj; |
11420 | fail: | |
11421 | return NULL; | |
11422 | } | |
11423 | ||
11424 | ||
36ed4f51 | 11425 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11426 | PyObject *resultobj = NULL; |
d14a1e28 | 11427 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11428 | PyObject * obj0 = 0 ; |
11429 | char *kwnames[] = { | |
36ed4f51 | 11430 | (char *) "self", NULL |
d14a1e28 RD |
11431 | }; |
11432 | ||
36ed4f51 RD |
11433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; |
11434 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11435 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11436 | { |
11437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11438 | (arg1)->HomeDisplayExtend(); |
d14a1e28 RD |
11439 | |
11440 | wxPyEndAllowThreads(__tstate); | |
11441 | if (PyErr_Occurred()) SWIG_fail; | |
11442 | } | |
4276dc52 | 11443 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
11444 | return resultobj; |
11445 | fail: | |
11446 | return NULL; | |
11447 | } | |
11448 | ||
11449 | ||
36ed4f51 | 11450 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11451 | PyObject *resultobj = NULL; |
d14a1e28 | 11452 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 RD |
11453 | PyObject * obj0 = 0 ; |
11454 | char *kwnames[] = { | |
11455 | (char *) "self", NULL | |
11456 | }; | |
11457 | ||
36ed4f51 RD |
11458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; |
11459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
11461 | { |
11462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11463 | (arg1)->LineEndDisplay(); |
4276dc52 RD |
11464 | |
11465 | wxPyEndAllowThreads(__tstate); | |
11466 | if (PyErr_Occurred()) SWIG_fail; | |
11467 | } | |
36ed4f51 | 11468 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
11469 | return resultobj; |
11470 | fail: | |
11471 | return NULL; | |
11472 | } | |
11473 | ||
11474 | ||
36ed4f51 | 11475 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11476 | PyObject *resultobj = NULL; |
4276dc52 | 11477 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
11478 | PyObject * obj0 = 0 ; |
11479 | char *kwnames[] = { | |
36ed4f51 | 11480 | (char *) "self", NULL |
d14a1e28 RD |
11481 | }; |
11482 | ||
36ed4f51 RD |
11483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; |
11484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11486 | { |
11487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11488 | (arg1)->LineEndDisplayExtend(); |
d14a1e28 RD |
11489 | |
11490 | wxPyEndAllowThreads(__tstate); | |
11491 | if (PyErr_Occurred()) SWIG_fail; | |
11492 | } | |
11493 | Py_INCREF(Py_None); resultobj = Py_None; | |
11494 | return resultobj; | |
11495 | fail: | |
11496 | return NULL; | |
11497 | } | |
11498 | ||
11499 | ||
36ed4f51 | 11500 | static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11501 | PyObject *resultobj = NULL; |
d14a1e28 | 11502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 11503 | PyObject * obj0 = 0 ; |
d14a1e28 | 11504 | char *kwnames[] = { |
36ed4f51 | 11505 | (char *) "self", NULL |
d14a1e28 RD |
11506 | }; |
11507 | ||
36ed4f51 RD |
11508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail; |
11509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
11511 | { |
11512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11513 | (arg1)->HomeWrap(); |
d14a1e28 RD |
11514 | |
11515 | wxPyEndAllowThreads(__tstate); | |
11516 | if (PyErr_Occurred()) SWIG_fail; | |
11517 | } | |
11518 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
11519 | return resultobj; |
11520 | fail: | |
4276dc52 RD |
11521 | return NULL; |
11522 | } | |
11523 | ||
11524 | ||
36ed4f51 | 11525 | static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11526 | PyObject *resultobj = NULL; |
4276dc52 | 11527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 RD |
11528 | PyObject * obj0 = 0 ; |
11529 | char *kwnames[] = { | |
11530 | (char *) "self", NULL | |
11531 | }; | |
11532 | ||
36ed4f51 RD |
11533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail; |
11534 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11535 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 11536 | { |
4276dc52 | 11537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
36ed4f51 | 11538 | (arg1)->HomeWrapExtend(); |
4276dc52 RD |
11539 | |
11540 | wxPyEndAllowThreads(__tstate); | |
11541 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 11542 | } |
36ed4f51 | 11543 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
11544 | return resultobj; |
11545 | fail: | |
d14a1e28 RD |
11546 | return NULL; |
11547 | } | |
11548 | ||
11549 | ||
36ed4f51 | 11550 | static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11551 | PyObject *resultobj = NULL; |
96b3fa7c | 11552 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c | 11553 | PyObject * obj0 = 0 ; |
96b3fa7c | 11554 | char *kwnames[] = { |
36ed4f51 | 11555 | (char *) "self", NULL |
96b3fa7c RD |
11556 | }; |
11557 | ||
36ed4f51 RD |
11558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail; |
11559 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11560 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
11561 | { |
11562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11563 | (arg1)->LineEndWrap(); |
96b3fa7c RD |
11564 | |
11565 | wxPyEndAllowThreads(__tstate); | |
11566 | if (PyErr_Occurred()) SWIG_fail; | |
11567 | } | |
11568 | Py_INCREF(Py_None); resultobj = Py_None; | |
11569 | return resultobj; | |
11570 | fail: | |
11571 | return NULL; | |
11572 | } | |
11573 | ||
11574 | ||
36ed4f51 | 11575 | static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11576 | PyObject *resultobj = NULL; |
96b3fa7c | 11577 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c RD |
11578 | PyObject * obj0 = 0 ; |
11579 | char *kwnames[] = { | |
11580 | (char *) "self", NULL | |
11581 | }; | |
11582 | ||
36ed4f51 RD |
11583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail; |
11584 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11585 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
11586 | { |
11587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11588 | (arg1)->LineEndWrapExtend(); |
96b3fa7c RD |
11589 | |
11590 | wxPyEndAllowThreads(__tstate); | |
11591 | if (PyErr_Occurred()) SWIG_fail; | |
11592 | } | |
36ed4f51 | 11593 | Py_INCREF(Py_None); resultobj = Py_None; |
96b3fa7c RD |
11594 | return resultobj; |
11595 | fail: | |
11596 | return NULL; | |
11597 | } | |
11598 | ||
11599 | ||
36ed4f51 | 11600 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11601 | PyObject *resultobj = NULL; |
96b3fa7c | 11602 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c | 11603 | PyObject * obj0 = 0 ; |
96b3fa7c | 11604 | char *kwnames[] = { |
36ed4f51 | 11605 | (char *) "self", NULL |
96b3fa7c RD |
11606 | }; |
11607 | ||
36ed4f51 RD |
11608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail; |
11609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
11611 | { |
11612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11613 | (arg1)->VCHomeWrap(); |
96b3fa7c RD |
11614 | |
11615 | wxPyEndAllowThreads(__tstate); | |
11616 | if (PyErr_Occurred()) SWIG_fail; | |
11617 | } | |
4276dc52 | 11618 | Py_INCREF(Py_None); resultobj = Py_None; |
96b3fa7c RD |
11619 | return resultobj; |
11620 | fail: | |
11621 | return NULL; | |
11622 | } | |
11623 | ||
11624 | ||
36ed4f51 | 11625 | static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11626 | PyObject *resultobj = NULL; |
96b3fa7c | 11627 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 RD |
11628 | PyObject * obj0 = 0 ; |
11629 | char *kwnames[] = { | |
11630 | (char *) "self", NULL | |
11631 | }; | |
11632 | ||
36ed4f51 RD |
11633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail; |
11634 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11635 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
11636 | { |
11637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11638 | (arg1)->VCHomeWrapExtend(); |
4276dc52 RD |
11639 | |
11640 | wxPyEndAllowThreads(__tstate); | |
11641 | if (PyErr_Occurred()) SWIG_fail; | |
11642 | } | |
36ed4f51 | 11643 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
11644 | return resultobj; |
11645 | fail: | |
11646 | return NULL; | |
11647 | } | |
11648 | ||
11649 | ||
36ed4f51 | 11650 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11651 | PyObject *resultobj = NULL; |
4276dc52 | 11652 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c | 11653 | PyObject * obj0 = 0 ; |
96b3fa7c | 11654 | char *kwnames[] = { |
36ed4f51 | 11655 | (char *) "self", NULL |
96b3fa7c RD |
11656 | }; |
11657 | ||
36ed4f51 RD |
11658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; |
11659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
11661 | { |
11662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11663 | (arg1)->LineCopy(); |
96b3fa7c RD |
11664 | |
11665 | wxPyEndAllowThreads(__tstate); | |
11666 | if (PyErr_Occurred()) SWIG_fail; | |
11667 | } | |
4276dc52 RD |
11668 | Py_INCREF(Py_None); resultobj = Py_None; |
11669 | return resultobj; | |
11670 | fail: | |
11671 | return NULL; | |
11672 | } | |
11673 | ||
11674 | ||
36ed4f51 | 11675 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11676 | PyObject *resultobj = NULL; |
4276dc52 RD |
11677 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11678 | PyObject * obj0 = 0 ; | |
11679 | char *kwnames[] = { | |
11680 | (char *) "self", NULL | |
11681 | }; | |
11682 | ||
36ed4f51 RD |
11683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; |
11684 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11685 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
11686 | { |
11687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11688 | (arg1)->MoveCaretInsideView(); |
4276dc52 RD |
11689 | |
11690 | wxPyEndAllowThreads(__tstate); | |
11691 | if (PyErr_Occurred()) SWIG_fail; | |
11692 | } | |
11693 | Py_INCREF(Py_None); resultobj = Py_None; | |
11694 | return resultobj; | |
11695 | fail: | |
11696 | return NULL; | |
11697 | } | |
11698 | ||
11699 | ||
36ed4f51 | 11700 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11701 | PyObject *resultobj = NULL; |
4276dc52 RD |
11702 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11703 | int arg2 ; | |
4276dc52 | 11704 | int result; |
4276dc52 RD |
11705 | PyObject * obj0 = 0 ; |
11706 | PyObject * obj1 = 0 ; | |
4276dc52 | 11707 | char *kwnames[] = { |
36ed4f51 | 11708 | (char *) "self",(char *) "line", NULL |
4276dc52 RD |
11709 | }; |
11710 | ||
36ed4f51 RD |
11711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail; |
11712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 | 11714 | { |
32fe5131 | 11715 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 11716 | if (SWIG_arg_fail(2)) SWIG_fail; |
4276dc52 RD |
11717 | } |
11718 | { | |
11719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11720 | result = (int)(arg1)->LineLength(arg2); |
4276dc52 RD |
11721 | |
11722 | wxPyEndAllowThreads(__tstate); | |
11723 | if (PyErr_Occurred()) SWIG_fail; | |
11724 | } | |
4276dc52 | 11725 | { |
32fe5131 | 11726 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4276dc52 RD |
11727 | } |
11728 | return resultobj; | |
11729 | fail: | |
4276dc52 RD |
11730 | return NULL; |
11731 | } | |
11732 | ||
11733 | ||
36ed4f51 | 11734 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11735 | PyObject *resultobj = NULL; |
4276dc52 RD |
11736 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11737 | int arg2 ; | |
36ed4f51 | 11738 | int arg3 ; |
4276dc52 RD |
11739 | PyObject * obj0 = 0 ; |
11740 | PyObject * obj1 = 0 ; | |
11741 | PyObject * obj2 = 0 ; | |
11742 | char *kwnames[] = { | |
36ed4f51 | 11743 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL |
4276dc52 RD |
11744 | }; |
11745 | ||
36ed4f51 RD |
11746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail; |
11747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 | 11749 | { |
32fe5131 | 11750 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
11751 | if (SWIG_arg_fail(2)) SWIG_fail; |
11752 | } | |
11753 | { | |
32fe5131 | 11754 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 | 11755 | if (SWIG_arg_fail(3)) SWIG_fail; |
4276dc52 RD |
11756 | } |
11757 | { | |
11758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11759 | (arg1)->BraceHighlight(arg2,arg3); |
4276dc52 RD |
11760 | |
11761 | wxPyEndAllowThreads(__tstate); | |
11762 | if (PyErr_Occurred()) SWIG_fail; | |
11763 | } | |
36ed4f51 | 11764 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
11765 | return resultobj; |
11766 | fail: | |
4276dc52 RD |
11767 | return NULL; |
11768 | } | |
11769 | ||
11770 | ||
36ed4f51 | 11771 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11772 | PyObject *resultobj = NULL; |
4276dc52 | 11773 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 11774 | int arg2 ; |
4276dc52 | 11775 | PyObject * obj0 = 0 ; |
36ed4f51 | 11776 | PyObject * obj1 = 0 ; |
4276dc52 | 11777 | char *kwnames[] = { |
36ed4f51 | 11778 | (char *) "self",(char *) "pos", NULL |
4276dc52 RD |
11779 | }; |
11780 | ||
36ed4f51 RD |
11781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail; |
11782 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11783 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11784 | { | |
32fe5131 | 11785 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
11786 | if (SWIG_arg_fail(2)) SWIG_fail; |
11787 | } | |
4276dc52 RD |
11788 | { |
11789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11790 | (arg1)->BraceBadLight(arg2); |
4276dc52 RD |
11791 | |
11792 | wxPyEndAllowThreads(__tstate); | |
11793 | if (PyErr_Occurred()) SWIG_fail; | |
11794 | } | |
36ed4f51 | 11795 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
11796 | return resultobj; |
11797 | fail: | |
11798 | return NULL; | |
11799 | } | |
11800 | ||
11801 | ||
36ed4f51 | 11802 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11803 | PyObject *resultobj = NULL; |
4276dc52 | 11804 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
11805 | int arg2 ; |
11806 | int result; | |
4276dc52 RD |
11807 | PyObject * obj0 = 0 ; |
11808 | PyObject * obj1 = 0 ; | |
11809 | char *kwnames[] = { | |
36ed4f51 | 11810 | (char *) "self",(char *) "pos", NULL |
4276dc52 RD |
11811 | }; |
11812 | ||
36ed4f51 RD |
11813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail; |
11814 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11815 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11816 | { | |
32fe5131 | 11817 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
11818 | if (SWIG_arg_fail(2)) SWIG_fail; |
11819 | } | |
4276dc52 RD |
11820 | { |
11821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11822 | result = (int)(arg1)->BraceMatch(arg2); |
4276dc52 RD |
11823 | |
11824 | wxPyEndAllowThreads(__tstate); | |
11825 | if (PyErr_Occurred()) SWIG_fail; | |
11826 | } | |
36ed4f51 | 11827 | { |
32fe5131 | 11828 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 11829 | } |
4276dc52 RD |
11830 | return resultobj; |
11831 | fail: | |
11832 | return NULL; | |
11833 | } | |
11834 | ||
11835 | ||
36ed4f51 | 11836 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11837 | PyObject *resultobj = NULL; |
4276dc52 RD |
11838 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11839 | bool result; | |
11840 | PyObject * obj0 = 0 ; | |
11841 | char *kwnames[] = { | |
11842 | (char *) "self", NULL | |
11843 | }; | |
11844 | ||
36ed4f51 RD |
11845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; |
11846 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11847 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
11848 | { |
11849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11850 | result = (bool)(arg1)->GetViewEOL(); |
4276dc52 RD |
11851 | |
11852 | wxPyEndAllowThreads(__tstate); | |
11853 | if (PyErr_Occurred()) SWIG_fail; | |
11854 | } | |
4f89f6a3 RD |
11855 | { |
11856 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11857 | } | |
4276dc52 RD |
11858 | return resultobj; |
11859 | fail: | |
11860 | return NULL; | |
11861 | } | |
11862 | ||
11863 | ||
36ed4f51 | 11864 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11865 | PyObject *resultobj = NULL; |
4276dc52 | 11866 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 11867 | bool arg2 ; |
4276dc52 RD |
11868 | PyObject * obj0 = 0 ; |
11869 | PyObject * obj1 = 0 ; | |
11870 | char *kwnames[] = { | |
36ed4f51 | 11871 | (char *) "self",(char *) "visible", NULL |
4276dc52 RD |
11872 | }; |
11873 | ||
36ed4f51 RD |
11874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; |
11875 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11876 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 | 11877 | { |
32fe5131 | 11878 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 | 11879 | if (SWIG_arg_fail(2)) SWIG_fail; |
4276dc52 | 11880 | } |
4276dc52 RD |
11881 | { |
11882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11883 | (arg1)->SetViewEOL(arg2); |
4276dc52 RD |
11884 | |
11885 | wxPyEndAllowThreads(__tstate); | |
11886 | if (PyErr_Occurred()) SWIG_fail; | |
11887 | } | |
36ed4f51 | 11888 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
11889 | return resultobj; |
11890 | fail: | |
11891 | return NULL; | |
11892 | } | |
11893 | ||
11894 | ||
36ed4f51 | 11895 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11896 | PyObject *resultobj = NULL; |
4276dc52 RD |
11897 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11898 | void *result; | |
11899 | PyObject * obj0 = 0 ; | |
11900 | char *kwnames[] = { | |
11901 | (char *) "self", NULL | |
11902 | }; | |
11903 | ||
36ed4f51 RD |
11904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; |
11905 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11906 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
11907 | { |
11908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11909 | result = (void *)(arg1)->GetDocPointer(); |
4276dc52 RD |
11910 | |
11911 | wxPyEndAllowThreads(__tstate); | |
11912 | if (PyErr_Occurred()) SWIG_fail; | |
11913 | } | |
11914 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); | |
11915 | return resultobj; | |
11916 | fail: | |
11917 | return NULL; | |
11918 | } | |
11919 | ||
11920 | ||
36ed4f51 | 11921 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11922 | PyObject *resultobj = NULL; |
4276dc52 RD |
11923 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11924 | void *arg2 = (void *) 0 ; | |
11925 | PyObject * obj0 = 0 ; | |
11926 | PyObject * obj1 = 0 ; | |
11927 | char *kwnames[] = { | |
11928 | (char *) "self",(char *) "docPointer", NULL | |
11929 | }; | |
11930 | ||
36ed4f51 RD |
11931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; |
11932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11934 | { | |
32fe5131 | 11935 | if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { |
36ed4f51 RD |
11936 | SWIG_arg_fail(2);SWIG_fail; |
11937 | } | |
11938 | } | |
4276dc52 RD |
11939 | { |
11940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11941 | (arg1)->SetDocPointer(arg2); |
4276dc52 RD |
11942 | |
11943 | wxPyEndAllowThreads(__tstate); | |
11944 | if (PyErr_Occurred()) SWIG_fail; | |
11945 | } | |
11946 | Py_INCREF(Py_None); resultobj = Py_None; | |
11947 | return resultobj; | |
11948 | fail: | |
11949 | return NULL; | |
11950 | } | |
11951 | ||
11952 | ||
36ed4f51 | 11953 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11954 | PyObject *resultobj = NULL; |
4276dc52 | 11955 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 11956 | int arg2 ; |
4276dc52 RD |
11957 | PyObject * obj0 = 0 ; |
11958 | PyObject * obj1 = 0 ; | |
11959 | char *kwnames[] = { | |
36ed4f51 | 11960 | (char *) "self",(char *) "mask", NULL |
4276dc52 RD |
11961 | }; |
11962 | ||
36ed4f51 RD |
11963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail; |
11964 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11965 | if (SWIG_arg_fail(1)) SWIG_fail; | |
11966 | { | |
32fe5131 | 11967 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
11968 | if (SWIG_arg_fail(2)) SWIG_fail; |
11969 | } | |
4276dc52 RD |
11970 | { |
11971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11972 | (arg1)->SetModEventMask(arg2); |
4276dc52 RD |
11973 | |
11974 | wxPyEndAllowThreads(__tstate); | |
11975 | if (PyErr_Occurred()) SWIG_fail; | |
11976 | } | |
11977 | Py_INCREF(Py_None); resultobj = Py_None; | |
11978 | return resultobj; | |
11979 | fail: | |
11980 | return NULL; | |
11981 | } | |
11982 | ||
11983 | ||
36ed4f51 | 11984 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 11985 | PyObject *resultobj = NULL; |
4276dc52 RD |
11986 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
11987 | int result; | |
11988 | PyObject * obj0 = 0 ; | |
11989 | char *kwnames[] = { | |
11990 | (char *) "self", NULL | |
11991 | }; | |
11992 | ||
36ed4f51 RD |
11993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; |
11994 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
11995 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
11996 | { |
11997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 11998 | result = (int)(arg1)->GetEdgeColumn(); |
4276dc52 RD |
11999 | |
12000 | wxPyEndAllowThreads(__tstate); | |
12001 | if (PyErr_Occurred()) SWIG_fail; | |
12002 | } | |
36ed4f51 | 12003 | { |
32fe5131 | 12004 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 12005 | } |
4276dc52 RD |
12006 | return resultobj; |
12007 | fail: | |
12008 | return NULL; | |
12009 | } | |
12010 | ||
12011 | ||
36ed4f51 | 12012 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12013 | PyObject *resultobj = NULL; |
4276dc52 | 12014 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12015 | int arg2 ; |
4276dc52 RD |
12016 | PyObject * obj0 = 0 ; |
12017 | PyObject * obj1 = 0 ; | |
12018 | char *kwnames[] = { | |
36ed4f51 | 12019 | (char *) "self",(char *) "column", NULL |
4276dc52 RD |
12020 | }; |
12021 | ||
36ed4f51 RD |
12022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail; |
12023 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12024 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12025 | { | |
32fe5131 | 12026 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12027 | if (SWIG_arg_fail(2)) SWIG_fail; |
12028 | } | |
4276dc52 RD |
12029 | { |
12030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12031 | (arg1)->SetEdgeColumn(arg2); |
4276dc52 RD |
12032 | |
12033 | wxPyEndAllowThreads(__tstate); | |
12034 | if (PyErr_Occurred()) SWIG_fail; | |
12035 | } | |
12036 | Py_INCREF(Py_None); resultobj = Py_None; | |
12037 | return resultobj; | |
12038 | fail: | |
12039 | return NULL; | |
12040 | } | |
12041 | ||
12042 | ||
36ed4f51 | 12043 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12044 | PyObject *resultobj = NULL; |
4276dc52 | 12045 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12046 | int result; |
4276dc52 RD |
12047 | PyObject * obj0 = 0 ; |
12048 | char *kwnames[] = { | |
12049 | (char *) "self", NULL | |
12050 | }; | |
12051 | ||
36ed4f51 RD |
12052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; |
12053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12055 | { |
12056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12057 | result = (int)(arg1)->GetEdgeMode(); |
4276dc52 RD |
12058 | |
12059 | wxPyEndAllowThreads(__tstate); | |
12060 | if (PyErr_Occurred()) SWIG_fail; | |
12061 | } | |
4f89f6a3 | 12062 | { |
32fe5131 | 12063 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 12064 | } |
4276dc52 RD |
12065 | return resultobj; |
12066 | fail: | |
12067 | return NULL; | |
12068 | } | |
12069 | ||
12070 | ||
36ed4f51 | 12071 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12072 | PyObject *resultobj = NULL; |
4276dc52 RD |
12073 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
12074 | int arg2 ; | |
12075 | PyObject * obj0 = 0 ; | |
12076 | PyObject * obj1 = 0 ; | |
12077 | char *kwnames[] = { | |
36ed4f51 | 12078 | (char *) "self",(char *) "mode", NULL |
4276dc52 RD |
12079 | }; |
12080 | ||
36ed4f51 RD |
12081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail; |
12082 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12083 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12084 | { | |
32fe5131 | 12085 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12086 | if (SWIG_arg_fail(2)) SWIG_fail; |
12087 | } | |
4276dc52 RD |
12088 | { |
12089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12090 | (arg1)->SetEdgeMode(arg2); |
4276dc52 RD |
12091 | |
12092 | wxPyEndAllowThreads(__tstate); | |
12093 | if (PyErr_Occurred()) SWIG_fail; | |
12094 | } | |
12095 | Py_INCREF(Py_None); resultobj = Py_None; | |
12096 | return resultobj; | |
12097 | fail: | |
12098 | return NULL; | |
12099 | } | |
12100 | ||
12101 | ||
36ed4f51 | 12102 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12103 | PyObject *resultobj = NULL; |
4276dc52 | 12104 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12105 | wxColour result; |
4276dc52 RD |
12106 | PyObject * obj0 = 0 ; |
12107 | char *kwnames[] = { | |
12108 | (char *) "self", NULL | |
12109 | }; | |
12110 | ||
36ed4f51 RD |
12111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; |
12112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12114 | { |
12115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12116 | result = (arg1)->GetEdgeColour(); |
4276dc52 RD |
12117 | |
12118 | wxPyEndAllowThreads(__tstate); | |
12119 | if (PyErr_Occurred()) SWIG_fail; | |
12120 | } | |
36ed4f51 RD |
12121 | { |
12122 | wxColour * resultptr; | |
32fe5131 | 12123 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
36ed4f51 RD |
12124 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
12125 | } | |
4276dc52 RD |
12126 | return resultobj; |
12127 | fail: | |
12128 | return NULL; | |
12129 | } | |
12130 | ||
12131 | ||
36ed4f51 | 12132 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12133 | PyObject *resultobj = NULL; |
4276dc52 | 12134 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
12135 | wxColour *arg2 = 0 ; |
12136 | wxColour temp2 ; | |
4276dc52 RD |
12137 | PyObject * obj0 = 0 ; |
12138 | PyObject * obj1 = 0 ; | |
12139 | char *kwnames[] = { | |
36ed4f51 | 12140 | (char *) "self",(char *) "edgeColour", NULL |
4276dc52 RD |
12141 | }; |
12142 | ||
36ed4f51 RD |
12143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; |
12144 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12145 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12146 | { | |
12147 | arg2 = &temp2; | |
12148 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12149 | } | |
4276dc52 RD |
12150 | { |
12151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12152 | (arg1)->SetEdgeColour((wxColour const &)*arg2); |
4276dc52 RD |
12153 | |
12154 | wxPyEndAllowThreads(__tstate); | |
12155 | if (PyErr_Occurred()) SWIG_fail; | |
12156 | } | |
12157 | Py_INCREF(Py_None); resultobj = Py_None; | |
12158 | return resultobj; | |
12159 | fail: | |
12160 | return NULL; | |
12161 | } | |
12162 | ||
12163 | ||
36ed4f51 | 12164 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12165 | PyObject *resultobj = NULL; |
4276dc52 | 12166 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 RD |
12167 | PyObject * obj0 = 0 ; |
12168 | char *kwnames[] = { | |
12169 | (char *) "self", NULL | |
12170 | }; | |
12171 | ||
36ed4f51 RD |
12172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; |
12173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12175 | { |
12176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12177 | (arg1)->SearchAnchor(); |
4276dc52 RD |
12178 | |
12179 | wxPyEndAllowThreads(__tstate); | |
12180 | if (PyErr_Occurred()) SWIG_fail; | |
12181 | } | |
36ed4f51 | 12182 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
12183 | return resultobj; |
12184 | fail: | |
12185 | return NULL; | |
12186 | } | |
12187 | ||
12188 | ||
36ed4f51 | 12189 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12190 | PyObject *resultobj = NULL; |
4276dc52 RD |
12191 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
12192 | int arg2 ; | |
36ed4f51 RD |
12193 | wxString *arg3 = 0 ; |
12194 | int result; | |
12195 | bool temp3 = false ; | |
4276dc52 RD |
12196 | PyObject * obj0 = 0 ; |
12197 | PyObject * obj1 = 0 ; | |
36ed4f51 | 12198 | PyObject * obj2 = 0 ; |
4276dc52 | 12199 | char *kwnames[] = { |
36ed4f51 | 12200 | (char *) "self",(char *) "flags",(char *) "text", NULL |
4276dc52 RD |
12201 | }; |
12202 | ||
36ed4f51 RD |
12203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12204 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12205 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12206 | { | |
32fe5131 | 12207 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12208 | if (SWIG_arg_fail(2)) SWIG_fail; |
12209 | } | |
12210 | { | |
12211 | arg3 = wxString_in_helper(obj2); | |
12212 | if (arg3 == NULL) SWIG_fail; | |
12213 | temp3 = true; | |
12214 | } | |
4276dc52 RD |
12215 | { |
12216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12217 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); |
4276dc52 RD |
12218 | |
12219 | wxPyEndAllowThreads(__tstate); | |
12220 | if (PyErr_Occurred()) SWIG_fail; | |
12221 | } | |
36ed4f51 | 12222 | { |
32fe5131 | 12223 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
12224 | } |
12225 | { | |
12226 | if (temp3) | |
12227 | delete arg3; | |
12228 | } | |
4276dc52 RD |
12229 | return resultobj; |
12230 | fail: | |
36ed4f51 RD |
12231 | { |
12232 | if (temp3) | |
12233 | delete arg3; | |
12234 | } | |
4276dc52 RD |
12235 | return NULL; |
12236 | } | |
12237 | ||
12238 | ||
36ed4f51 | 12239 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12240 | PyObject *resultobj = NULL; |
4276dc52 | 12241 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
12242 | int arg2 ; |
12243 | wxString *arg3 = 0 ; | |
4276dc52 | 12244 | int result; |
36ed4f51 | 12245 | bool temp3 = false ; |
4276dc52 | 12246 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
12247 | PyObject * obj1 = 0 ; |
12248 | PyObject * obj2 = 0 ; | |
4276dc52 | 12249 | char *kwnames[] = { |
36ed4f51 | 12250 | (char *) "self",(char *) "flags",(char *) "text", NULL |
4276dc52 RD |
12251 | }; |
12252 | ||
36ed4f51 RD |
12253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12254 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12255 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12256 | { | |
32fe5131 | 12257 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12258 | if (SWIG_arg_fail(2)) SWIG_fail; |
12259 | } | |
12260 | { | |
12261 | arg3 = wxString_in_helper(obj2); | |
12262 | if (arg3 == NULL) SWIG_fail; | |
12263 | temp3 = true; | |
12264 | } | |
4276dc52 RD |
12265 | { |
12266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12267 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); |
4276dc52 RD |
12268 | |
12269 | wxPyEndAllowThreads(__tstate); | |
12270 | if (PyErr_Occurred()) SWIG_fail; | |
12271 | } | |
36ed4f51 | 12272 | { |
32fe5131 | 12273 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
12274 | } |
12275 | { | |
12276 | if (temp3) | |
12277 | delete arg3; | |
12278 | } | |
4276dc52 RD |
12279 | return resultobj; |
12280 | fail: | |
36ed4f51 RD |
12281 | { |
12282 | if (temp3) | |
12283 | delete arg3; | |
12284 | } | |
4276dc52 RD |
12285 | return NULL; |
12286 | } | |
12287 | ||
12288 | ||
36ed4f51 | 12289 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12290 | PyObject *resultobj = NULL; |
4276dc52 | 12291 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12292 | int result; |
4276dc52 | 12293 | PyObject * obj0 = 0 ; |
4276dc52 | 12294 | char *kwnames[] = { |
36ed4f51 | 12295 | (char *) "self", NULL |
4276dc52 RD |
12296 | }; |
12297 | ||
36ed4f51 RD |
12298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; |
12299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12301 | { |
12302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12303 | result = (int)(arg1)->LinesOnScreen(); |
4276dc52 RD |
12304 | |
12305 | wxPyEndAllowThreads(__tstate); | |
12306 | if (PyErr_Occurred()) SWIG_fail; | |
12307 | } | |
36ed4f51 | 12308 | { |
32fe5131 | 12309 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 12310 | } |
4276dc52 RD |
12311 | return resultobj; |
12312 | fail: | |
12313 | return NULL; | |
12314 | } | |
12315 | ||
12316 | ||
36ed4f51 | 12317 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12318 | PyObject *resultobj = NULL; |
4276dc52 | 12319 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12320 | bool arg2 ; |
4276dc52 | 12321 | PyObject * obj0 = 0 ; |
36ed4f51 | 12322 | PyObject * obj1 = 0 ; |
4276dc52 | 12323 | char *kwnames[] = { |
36ed4f51 | 12324 | (char *) "self",(char *) "allowPopUp", NULL |
4276dc52 RD |
12325 | }; |
12326 | ||
36ed4f51 RD |
12327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; |
12328 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12329 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12330 | { | |
32fe5131 | 12331 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
12332 | if (SWIG_arg_fail(2)) SWIG_fail; |
12333 | } | |
4276dc52 RD |
12334 | { |
12335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12336 | (arg1)->UsePopUp(arg2); |
4276dc52 RD |
12337 | |
12338 | wxPyEndAllowThreads(__tstate); | |
12339 | if (PyErr_Occurred()) SWIG_fail; | |
12340 | } | |
36ed4f51 | 12341 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
12342 | return resultobj; |
12343 | fail: | |
12344 | return NULL; | |
12345 | } | |
12346 | ||
12347 | ||
36ed4f51 | 12348 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12349 | PyObject *resultobj = NULL; |
4276dc52 | 12350 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12351 | bool result; |
4276dc52 RD |
12352 | PyObject * obj0 = 0 ; |
12353 | char *kwnames[] = { | |
12354 | (char *) "self", NULL | |
12355 | }; | |
12356 | ||
36ed4f51 RD |
12357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; |
12358 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12359 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12360 | { |
12361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12362 | result = (bool)(arg1)->SelectionIsRectangle(); |
4276dc52 RD |
12363 | |
12364 | wxPyEndAllowThreads(__tstate); | |
12365 | if (PyErr_Occurred()) SWIG_fail; | |
12366 | } | |
36ed4f51 RD |
12367 | { |
12368 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12369 | } | |
4276dc52 RD |
12370 | return resultobj; |
12371 | fail: | |
12372 | return NULL; | |
12373 | } | |
12374 | ||
12375 | ||
36ed4f51 | 12376 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12377 | PyObject *resultobj = NULL; |
4276dc52 | 12378 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12379 | int arg2 ; |
4276dc52 | 12380 | PyObject * obj0 = 0 ; |
36ed4f51 | 12381 | PyObject * obj1 = 0 ; |
4276dc52 | 12382 | char *kwnames[] = { |
36ed4f51 | 12383 | (char *) "self",(char *) "zoom", NULL |
4276dc52 RD |
12384 | }; |
12385 | ||
36ed4f51 RD |
12386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
12387 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12388 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12389 | { | |
32fe5131 | 12390 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12391 | if (SWIG_arg_fail(2)) SWIG_fail; |
12392 | } | |
4276dc52 RD |
12393 | { |
12394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12395 | (arg1)->SetZoom(arg2); |
4276dc52 RD |
12396 | |
12397 | wxPyEndAllowThreads(__tstate); | |
12398 | if (PyErr_Occurred()) SWIG_fail; | |
12399 | } | |
12400 | Py_INCREF(Py_None); resultobj = Py_None; | |
12401 | return resultobj; | |
12402 | fail: | |
12403 | return NULL; | |
12404 | } | |
12405 | ||
12406 | ||
36ed4f51 | 12407 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12408 | PyObject *resultobj = NULL; |
4276dc52 | 12409 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12410 | int result; |
4276dc52 RD |
12411 | PyObject * obj0 = 0 ; |
12412 | char *kwnames[] = { | |
12413 | (char *) "self", NULL | |
12414 | }; | |
12415 | ||
36ed4f51 RD |
12416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; |
12417 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12418 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12419 | { |
12420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12421 | result = (int)(arg1)->GetZoom(); |
4276dc52 RD |
12422 | |
12423 | wxPyEndAllowThreads(__tstate); | |
12424 | if (PyErr_Occurred()) SWIG_fail; | |
12425 | } | |
36ed4f51 | 12426 | { |
32fe5131 | 12427 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 12428 | } |
4276dc52 RD |
12429 | return resultobj; |
12430 | fail: | |
12431 | return NULL; | |
12432 | } | |
12433 | ||
12434 | ||
36ed4f51 | 12435 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12436 | PyObject *resultobj = NULL; |
4276dc52 | 12437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12438 | void *result; |
4276dc52 RD |
12439 | PyObject * obj0 = 0 ; |
12440 | char *kwnames[] = { | |
12441 | (char *) "self", NULL | |
12442 | }; | |
12443 | ||
36ed4f51 RD |
12444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; |
12445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12447 | { |
12448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12449 | result = (void *)(arg1)->CreateDocument(); |
4276dc52 RD |
12450 | |
12451 | wxPyEndAllowThreads(__tstate); | |
12452 | if (PyErr_Occurred()) SWIG_fail; | |
12453 | } | |
36ed4f51 | 12454 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); |
4276dc52 RD |
12455 | return resultobj; |
12456 | fail: | |
12457 | return NULL; | |
12458 | } | |
12459 | ||
12460 | ||
36ed4f51 | 12461 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12462 | PyObject *resultobj = NULL; |
4276dc52 | 12463 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12464 | void *arg2 = (void *) 0 ; |
4276dc52 RD |
12465 | PyObject * obj0 = 0 ; |
12466 | PyObject * obj1 = 0 ; | |
4276dc52 | 12467 | char *kwnames[] = { |
36ed4f51 | 12468 | (char *) "self",(char *) "docPointer", NULL |
4276dc52 RD |
12469 | }; |
12470 | ||
36ed4f51 RD |
12471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; |
12472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12474 | { | |
32fe5131 | 12475 | if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { |
36ed4f51 RD |
12476 | SWIG_arg_fail(2);SWIG_fail; |
12477 | } | |
12478 | } | |
4276dc52 RD |
12479 | { |
12480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12481 | (arg1)->AddRefDocument(arg2); |
4276dc52 RD |
12482 | |
12483 | wxPyEndAllowThreads(__tstate); | |
12484 | if (PyErr_Occurred()) SWIG_fail; | |
12485 | } | |
12486 | Py_INCREF(Py_None); resultobj = Py_None; | |
12487 | return resultobj; | |
12488 | fail: | |
12489 | return NULL; | |
12490 | } | |
12491 | ||
12492 | ||
36ed4f51 | 12493 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12494 | PyObject *resultobj = NULL; |
4276dc52 | 12495 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12496 | void *arg2 = (void *) 0 ; |
4276dc52 | 12497 | PyObject * obj0 = 0 ; |
36ed4f51 | 12498 | PyObject * obj1 = 0 ; |
4276dc52 | 12499 | char *kwnames[] = { |
36ed4f51 | 12500 | (char *) "self",(char *) "docPointer", NULL |
4276dc52 RD |
12501 | }; |
12502 | ||
36ed4f51 RD |
12503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; |
12504 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12505 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12506 | { | |
32fe5131 | 12507 | if ((SWIG_ConvertPtr(obj1,reinterpret_cast<void ** >(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { |
36ed4f51 RD |
12508 | SWIG_arg_fail(2);SWIG_fail; |
12509 | } | |
12510 | } | |
4276dc52 RD |
12511 | { |
12512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12513 | (arg1)->ReleaseDocument(arg2); |
4276dc52 RD |
12514 | |
12515 | wxPyEndAllowThreads(__tstate); | |
12516 | if (PyErr_Occurred()) SWIG_fail; | |
12517 | } | |
12518 | Py_INCREF(Py_None); resultobj = Py_None; | |
12519 | return resultobj; | |
12520 | fail: | |
12521 | return NULL; | |
12522 | } | |
12523 | ||
12524 | ||
36ed4f51 | 12525 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12526 | PyObject *resultobj = NULL; |
4276dc52 | 12527 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12528 | int result; |
4276dc52 RD |
12529 | PyObject * obj0 = 0 ; |
12530 | char *kwnames[] = { | |
12531 | (char *) "self", NULL | |
12532 | }; | |
12533 | ||
36ed4f51 RD |
12534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; |
12535 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12536 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12537 | { |
12538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12539 | result = (int)(arg1)->GetModEventMask(); |
4276dc52 RD |
12540 | |
12541 | wxPyEndAllowThreads(__tstate); | |
12542 | if (PyErr_Occurred()) SWIG_fail; | |
12543 | } | |
36ed4f51 | 12544 | { |
32fe5131 | 12545 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 12546 | } |
4276dc52 RD |
12547 | return resultobj; |
12548 | fail: | |
12549 | return NULL; | |
12550 | } | |
12551 | ||
12552 | ||
36ed4f51 | 12553 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12554 | PyObject *resultobj = NULL; |
4276dc52 | 12555 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12556 | bool arg2 ; |
4276dc52 RD |
12557 | PyObject * obj0 = 0 ; |
12558 | PyObject * obj1 = 0 ; | |
12559 | char *kwnames[] = { | |
36ed4f51 | 12560 | (char *) "self",(char *) "focus", NULL |
4276dc52 RD |
12561 | }; |
12562 | ||
36ed4f51 RD |
12563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; |
12564 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12565 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12566 | { | |
32fe5131 | 12567 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
12568 | if (SWIG_arg_fail(2)) SWIG_fail; |
12569 | } | |
4276dc52 RD |
12570 | { |
12571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12572 | (arg1)->SetSTCFocus(arg2); |
4276dc52 RD |
12573 | |
12574 | wxPyEndAllowThreads(__tstate); | |
12575 | if (PyErr_Occurred()) SWIG_fail; | |
12576 | } | |
12577 | Py_INCREF(Py_None); resultobj = Py_None; | |
12578 | return resultobj; | |
12579 | fail: | |
12580 | return NULL; | |
12581 | } | |
12582 | ||
12583 | ||
36ed4f51 | 12584 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12585 | PyObject *resultobj = NULL; |
4276dc52 | 12586 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12587 | bool result; |
4276dc52 RD |
12588 | PyObject * obj0 = 0 ; |
12589 | char *kwnames[] = { | |
12590 | (char *) "self", NULL | |
12591 | }; | |
12592 | ||
36ed4f51 RD |
12593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; |
12594 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12595 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12596 | { |
12597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12598 | result = (bool)(arg1)->GetSTCFocus(); |
4276dc52 RD |
12599 | |
12600 | wxPyEndAllowThreads(__tstate); | |
12601 | if (PyErr_Occurred()) SWIG_fail; | |
12602 | } | |
36ed4f51 RD |
12603 | { |
12604 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12605 | } | |
4276dc52 RD |
12606 | return resultobj; |
12607 | fail: | |
12608 | return NULL; | |
12609 | } | |
12610 | ||
12611 | ||
36ed4f51 | 12612 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12613 | PyObject *resultobj = NULL; |
4276dc52 | 12614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12615 | int arg2 ; |
4276dc52 | 12616 | PyObject * obj0 = 0 ; |
36ed4f51 | 12617 | PyObject * obj1 = 0 ; |
4276dc52 | 12618 | char *kwnames[] = { |
36ed4f51 | 12619 | (char *) "self",(char *) "statusCode", NULL |
4276dc52 RD |
12620 | }; |
12621 | ||
36ed4f51 RD |
12622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail; |
12623 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12624 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12625 | { | |
32fe5131 | 12626 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12627 | if (SWIG_arg_fail(2)) SWIG_fail; |
12628 | } | |
4276dc52 RD |
12629 | { |
12630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12631 | (arg1)->SetStatus(arg2); |
4276dc52 RD |
12632 | |
12633 | wxPyEndAllowThreads(__tstate); | |
12634 | if (PyErr_Occurred()) SWIG_fail; | |
12635 | } | |
12636 | Py_INCREF(Py_None); resultobj = Py_None; | |
12637 | return resultobj; | |
12638 | fail: | |
12639 | return NULL; | |
12640 | } | |
12641 | ||
12642 | ||
36ed4f51 | 12643 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12644 | PyObject *resultobj = NULL; |
4276dc52 | 12645 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12646 | int result; |
4276dc52 | 12647 | PyObject * obj0 = 0 ; |
4276dc52 | 12648 | char *kwnames[] = { |
36ed4f51 | 12649 | (char *) "self", NULL |
4276dc52 RD |
12650 | }; |
12651 | ||
36ed4f51 RD |
12652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; |
12653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12655 | { |
12656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12657 | result = (int)(arg1)->GetStatus(); |
4276dc52 RD |
12658 | |
12659 | wxPyEndAllowThreads(__tstate); | |
12660 | if (PyErr_Occurred()) SWIG_fail; | |
12661 | } | |
36ed4f51 | 12662 | { |
32fe5131 | 12663 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 12664 | } |
4276dc52 RD |
12665 | return resultobj; |
12666 | fail: | |
12667 | return NULL; | |
12668 | } | |
12669 | ||
12670 | ||
36ed4f51 | 12671 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12672 | PyObject *resultobj = NULL; |
4276dc52 | 12673 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12674 | bool arg2 ; |
4276dc52 RD |
12675 | PyObject * obj0 = 0 ; |
12676 | PyObject * obj1 = 0 ; | |
4276dc52 | 12677 | char *kwnames[] = { |
36ed4f51 | 12678 | (char *) "self",(char *) "captures", NULL |
4276dc52 RD |
12679 | }; |
12680 | ||
36ed4f51 RD |
12681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; |
12682 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12683 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12684 | { | |
32fe5131 | 12685 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
12686 | if (SWIG_arg_fail(2)) SWIG_fail; |
12687 | } | |
4276dc52 RD |
12688 | { |
12689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12690 | (arg1)->SetMouseDownCaptures(arg2); |
4276dc52 RD |
12691 | |
12692 | wxPyEndAllowThreads(__tstate); | |
12693 | if (PyErr_Occurred()) SWIG_fail; | |
12694 | } | |
12695 | Py_INCREF(Py_None); resultobj = Py_None; | |
12696 | return resultobj; | |
12697 | fail: | |
12698 | return NULL; | |
12699 | } | |
12700 | ||
12701 | ||
36ed4f51 | 12702 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12703 | PyObject *resultobj = NULL; |
4276dc52 | 12704 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12705 | bool result; |
4276dc52 | 12706 | PyObject * obj0 = 0 ; |
4276dc52 | 12707 | char *kwnames[] = { |
36ed4f51 | 12708 | (char *) "self", NULL |
4276dc52 RD |
12709 | }; |
12710 | ||
36ed4f51 RD |
12711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; |
12712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12714 | { |
12715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12716 | result = (bool)(arg1)->GetMouseDownCaptures(); |
4276dc52 RD |
12717 | |
12718 | wxPyEndAllowThreads(__tstate); | |
12719 | if (PyErr_Occurred()) SWIG_fail; | |
12720 | } | |
36ed4f51 RD |
12721 | { |
12722 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12723 | } | |
4276dc52 RD |
12724 | return resultobj; |
12725 | fail: | |
12726 | return NULL; | |
12727 | } | |
12728 | ||
12729 | ||
36ed4f51 | 12730 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12731 | PyObject *resultobj = NULL; |
4276dc52 | 12732 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12733 | int arg2 ; |
4276dc52 | 12734 | PyObject * obj0 = 0 ; |
36ed4f51 | 12735 | PyObject * obj1 = 0 ; |
4276dc52 | 12736 | char *kwnames[] = { |
36ed4f51 | 12737 | (char *) "self",(char *) "cursorType", NULL |
4276dc52 RD |
12738 | }; |
12739 | ||
36ed4f51 RD |
12740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail; |
12741 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12742 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12743 | { | |
32fe5131 | 12744 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12745 | if (SWIG_arg_fail(2)) SWIG_fail; |
12746 | } | |
4276dc52 RD |
12747 | { |
12748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12749 | (arg1)->SetSTCCursor(arg2); |
4276dc52 RD |
12750 | |
12751 | wxPyEndAllowThreads(__tstate); | |
12752 | if (PyErr_Occurred()) SWIG_fail; | |
12753 | } | |
36ed4f51 | 12754 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
12755 | return resultobj; |
12756 | fail: | |
12757 | return NULL; | |
12758 | } | |
12759 | ||
12760 | ||
36ed4f51 | 12761 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12762 | PyObject *resultobj = NULL; |
4276dc52 | 12763 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12764 | int result; |
4276dc52 | 12765 | PyObject * obj0 = 0 ; |
4276dc52 | 12766 | char *kwnames[] = { |
36ed4f51 | 12767 | (char *) "self", NULL |
4276dc52 RD |
12768 | }; |
12769 | ||
36ed4f51 RD |
12770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; |
12771 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12772 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12773 | { |
12774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12775 | result = (int)(arg1)->GetSTCCursor(); |
4276dc52 RD |
12776 | |
12777 | wxPyEndAllowThreads(__tstate); | |
12778 | if (PyErr_Occurred()) SWIG_fail; | |
12779 | } | |
36ed4f51 | 12780 | { |
32fe5131 | 12781 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 12782 | } |
4276dc52 RD |
12783 | return resultobj; |
12784 | fail: | |
12785 | return NULL; | |
12786 | } | |
12787 | ||
12788 | ||
36ed4f51 | 12789 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12790 | PyObject *resultobj = NULL; |
4276dc52 | 12791 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12792 | int arg2 ; |
4276dc52 RD |
12793 | PyObject * obj0 = 0 ; |
12794 | PyObject * obj1 = 0 ; | |
4276dc52 | 12795 | char *kwnames[] = { |
36ed4f51 | 12796 | (char *) "self",(char *) "symbol", NULL |
4276dc52 RD |
12797 | }; |
12798 | ||
36ed4f51 RD |
12799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail; |
12800 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12801 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 | 12802 | { |
32fe5131 | 12803 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 12804 | if (SWIG_arg_fail(2)) SWIG_fail; |
4276dc52 RD |
12805 | } |
12806 | { | |
12807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12808 | (arg1)->SetControlCharSymbol(arg2); |
4276dc52 RD |
12809 | |
12810 | wxPyEndAllowThreads(__tstate); | |
12811 | if (PyErr_Occurred()) SWIG_fail; | |
12812 | } | |
12813 | Py_INCREF(Py_None); resultobj = Py_None; | |
12814 | return resultobj; | |
12815 | fail: | |
12816 | return NULL; | |
12817 | } | |
12818 | ||
12819 | ||
36ed4f51 | 12820 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12821 | PyObject *resultobj = NULL; |
4276dc52 | 12822 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 12823 | int result; |
4276dc52 | 12824 | PyObject * obj0 = 0 ; |
4276dc52 | 12825 | char *kwnames[] = { |
36ed4f51 | 12826 | (char *) "self", NULL |
4276dc52 RD |
12827 | }; |
12828 | ||
36ed4f51 RD |
12829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; |
12830 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12831 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12832 | { |
12833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12834 | result = (int)(arg1)->GetControlCharSymbol(); |
4276dc52 RD |
12835 | |
12836 | wxPyEndAllowThreads(__tstate); | |
12837 | if (PyErr_Occurred()) SWIG_fail; | |
12838 | } | |
36ed4f51 | 12839 | { |
32fe5131 | 12840 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 12841 | } |
4276dc52 RD |
12842 | return resultobj; |
12843 | fail: | |
12844 | return NULL; | |
12845 | } | |
12846 | ||
12847 | ||
36ed4f51 | 12848 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12849 | PyObject *resultobj = NULL; |
4276dc52 | 12850 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 | 12851 | PyObject * obj0 = 0 ; |
4276dc52 | 12852 | char *kwnames[] = { |
36ed4f51 | 12853 | (char *) "self", NULL |
4276dc52 RD |
12854 | }; |
12855 | ||
36ed4f51 RD |
12856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; |
12857 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12858 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12859 | { |
12860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12861 | (arg1)->WordPartLeft(); |
4276dc52 RD |
12862 | |
12863 | wxPyEndAllowThreads(__tstate); | |
12864 | if (PyErr_Occurred()) SWIG_fail; | |
12865 | } | |
12866 | Py_INCREF(Py_None); resultobj = Py_None; | |
12867 | return resultobj; | |
12868 | fail: | |
12869 | return NULL; | |
12870 | } | |
12871 | ||
12872 | ||
36ed4f51 | 12873 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12874 | PyObject *resultobj = NULL; |
4276dc52 RD |
12875 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
12876 | PyObject * obj0 = 0 ; | |
12877 | char *kwnames[] = { | |
12878 | (char *) "self", NULL | |
12879 | }; | |
12880 | ||
36ed4f51 RD |
12881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; |
12882 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12883 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12884 | { |
12885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12886 | (arg1)->WordPartLeftExtend(); |
4276dc52 RD |
12887 | |
12888 | wxPyEndAllowThreads(__tstate); | |
12889 | if (PyErr_Occurred()) SWIG_fail; | |
12890 | } | |
12891 | Py_INCREF(Py_None); resultobj = Py_None; | |
12892 | return resultobj; | |
12893 | fail: | |
12894 | return NULL; | |
12895 | } | |
12896 | ||
12897 | ||
36ed4f51 | 12898 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12899 | PyObject *resultobj = NULL; |
4276dc52 RD |
12900 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
12901 | PyObject * obj0 = 0 ; | |
12902 | char *kwnames[] = { | |
12903 | (char *) "self", NULL | |
12904 | }; | |
12905 | ||
36ed4f51 RD |
12906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; |
12907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12909 | { |
12910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12911 | (arg1)->WordPartRight(); |
4276dc52 RD |
12912 | |
12913 | wxPyEndAllowThreads(__tstate); | |
12914 | if (PyErr_Occurred()) SWIG_fail; | |
12915 | } | |
12916 | Py_INCREF(Py_None); resultobj = Py_None; | |
12917 | return resultobj; | |
12918 | fail: | |
12919 | return NULL; | |
12920 | } | |
12921 | ||
12922 | ||
36ed4f51 | 12923 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12924 | PyObject *resultobj = NULL; |
4276dc52 RD |
12925 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
12926 | PyObject * obj0 = 0 ; | |
12927 | char *kwnames[] = { | |
12928 | (char *) "self", NULL | |
12929 | }; | |
12930 | ||
36ed4f51 RD |
12931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; |
12932 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12933 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12934 | { |
12935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12936 | (arg1)->WordPartRightExtend(); |
4276dc52 RD |
12937 | |
12938 | wxPyEndAllowThreads(__tstate); | |
12939 | if (PyErr_Occurred()) SWIG_fail; | |
12940 | } | |
12941 | Py_INCREF(Py_None); resultobj = Py_None; | |
12942 | return resultobj; | |
12943 | fail: | |
12944 | return NULL; | |
12945 | } | |
12946 | ||
12947 | ||
36ed4f51 | 12948 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12949 | PyObject *resultobj = NULL; |
4276dc52 | 12950 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
12951 | int arg2 ; |
12952 | int arg3 ; | |
4276dc52 | 12953 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
12954 | PyObject * obj1 = 0 ; |
12955 | PyObject * obj2 = 0 ; | |
4276dc52 | 12956 | char *kwnames[] = { |
36ed4f51 | 12957 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL |
4276dc52 RD |
12958 | }; |
12959 | ||
36ed4f51 RD |
12960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
12961 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12962 | if (SWIG_arg_fail(1)) SWIG_fail; | |
12963 | { | |
32fe5131 | 12964 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
12965 | if (SWIG_arg_fail(2)) SWIG_fail; |
12966 | } | |
12967 | { | |
32fe5131 | 12968 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
12969 | if (SWIG_arg_fail(3)) SWIG_fail; |
12970 | } | |
4276dc52 RD |
12971 | { |
12972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12973 | (arg1)->SetVisiblePolicy(arg2,arg3); |
4276dc52 RD |
12974 | |
12975 | wxPyEndAllowThreads(__tstate); | |
12976 | if (PyErr_Occurred()) SWIG_fail; | |
12977 | } | |
12978 | Py_INCREF(Py_None); resultobj = Py_None; | |
12979 | return resultobj; | |
12980 | fail: | |
12981 | return NULL; | |
12982 | } | |
12983 | ||
12984 | ||
36ed4f51 | 12985 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 12986 | PyObject *resultobj = NULL; |
4276dc52 | 12987 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 | 12988 | PyObject * obj0 = 0 ; |
4276dc52 | 12989 | char *kwnames[] = { |
36ed4f51 | 12990 | (char *) "self", NULL |
4276dc52 RD |
12991 | }; |
12992 | ||
36ed4f51 RD |
12993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; |
12994 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
12995 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
12996 | { |
12997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 12998 | (arg1)->DelLineLeft(); |
4276dc52 RD |
12999 | |
13000 | wxPyEndAllowThreads(__tstate); | |
13001 | if (PyErr_Occurred()) SWIG_fail; | |
13002 | } | |
36ed4f51 | 13003 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
13004 | return resultobj; |
13005 | fail: | |
13006 | return NULL; | |
13007 | } | |
13008 | ||
13009 | ||
36ed4f51 | 13010 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13011 | PyObject *resultobj = NULL; |
4276dc52 | 13012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 | 13013 | PyObject * obj0 = 0 ; |
4276dc52 | 13014 | char *kwnames[] = { |
36ed4f51 | 13015 | (char *) "self", NULL |
4276dc52 RD |
13016 | }; |
13017 | ||
36ed4f51 RD |
13018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; |
13019 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13020 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13021 | { |
13022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13023 | (arg1)->DelLineRight(); |
4276dc52 RD |
13024 | |
13025 | wxPyEndAllowThreads(__tstate); | |
13026 | if (PyErr_Occurred()) SWIG_fail; | |
13027 | } | |
36ed4f51 | 13028 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
13029 | return resultobj; |
13030 | fail: | |
13031 | return NULL; | |
13032 | } | |
13033 | ||
13034 | ||
36ed4f51 | 13035 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13036 | PyObject *resultobj = NULL; |
4276dc52 RD |
13037 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13038 | int arg2 ; | |
4276dc52 RD |
13039 | PyObject * obj0 = 0 ; |
13040 | PyObject * obj1 = 0 ; | |
4276dc52 | 13041 | char *kwnames[] = { |
36ed4f51 | 13042 | (char *) "self",(char *) "newOffset", NULL |
4276dc52 RD |
13043 | }; |
13044 | ||
36ed4f51 RD |
13045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail; |
13046 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13047 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13048 | { | |
32fe5131 | 13049 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13050 | if (SWIG_arg_fail(2)) SWIG_fail; |
13051 | } | |
4276dc52 RD |
13052 | { |
13053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13054 | (arg1)->SetXOffset(arg2); |
4276dc52 RD |
13055 | |
13056 | wxPyEndAllowThreads(__tstate); | |
13057 | if (PyErr_Occurred()) SWIG_fail; | |
13058 | } | |
13059 | Py_INCREF(Py_None); resultobj = Py_None; | |
13060 | return resultobj; | |
13061 | fail: | |
13062 | return NULL; | |
13063 | } | |
13064 | ||
13065 | ||
36ed4f51 | 13066 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13067 | PyObject *resultobj = NULL; |
4276dc52 | 13068 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 13069 | int result; |
4276dc52 | 13070 | PyObject * obj0 = 0 ; |
4276dc52 | 13071 | char *kwnames[] = { |
36ed4f51 | 13072 | (char *) "self", NULL |
4276dc52 RD |
13073 | }; |
13074 | ||
36ed4f51 RD |
13075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; |
13076 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13077 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13078 | { |
13079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13080 | result = (int)(arg1)->GetXOffset(); |
4276dc52 RD |
13081 | |
13082 | wxPyEndAllowThreads(__tstate); | |
13083 | if (PyErr_Occurred()) SWIG_fail; | |
13084 | } | |
4276dc52 | 13085 | { |
32fe5131 | 13086 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4276dc52 RD |
13087 | } |
13088 | return resultobj; | |
13089 | fail: | |
4276dc52 RD |
13090 | return NULL; |
13091 | } | |
13092 | ||
13093 | ||
36ed4f51 | 13094 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13095 | PyObject *resultobj = NULL; |
4276dc52 | 13096 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
4276dc52 | 13097 | PyObject * obj0 = 0 ; |
4276dc52 | 13098 | char *kwnames[] = { |
36ed4f51 | 13099 | (char *) "self", NULL |
4276dc52 RD |
13100 | }; |
13101 | ||
36ed4f51 RD |
13102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; |
13103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13105 | { |
13106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13107 | (arg1)->ChooseCaretX(); |
4276dc52 RD |
13108 | |
13109 | wxPyEndAllowThreads(__tstate); | |
13110 | if (PyErr_Occurred()) SWIG_fail; | |
13111 | } | |
13112 | Py_INCREF(Py_None); resultobj = Py_None; | |
13113 | return resultobj; | |
13114 | fail: | |
13115 | return NULL; | |
13116 | } | |
13117 | ||
13118 | ||
36ed4f51 | 13119 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13120 | PyObject *resultobj = NULL; |
4276dc52 | 13121 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13122 | int arg2 ; |
13123 | int arg3 ; | |
4276dc52 | 13124 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
13125 | PyObject * obj1 = 0 ; |
13126 | PyObject * obj2 = 0 ; | |
4276dc52 | 13127 | char *kwnames[] = { |
36ed4f51 | 13128 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
4276dc52 RD |
13129 | }; |
13130 | ||
36ed4f51 RD |
13131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13132 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13133 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13134 | { | |
32fe5131 | 13135 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13136 | if (SWIG_arg_fail(2)) SWIG_fail; |
13137 | } | |
13138 | { | |
32fe5131 | 13139 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
13140 | if (SWIG_arg_fail(3)) SWIG_fail; |
13141 | } | |
4276dc52 RD |
13142 | { |
13143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13144 | (arg1)->SetXCaretPolicy(arg2,arg3); |
4276dc52 RD |
13145 | |
13146 | wxPyEndAllowThreads(__tstate); | |
13147 | if (PyErr_Occurred()) SWIG_fail; | |
13148 | } | |
36ed4f51 | 13149 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
13150 | return resultobj; |
13151 | fail: | |
13152 | return NULL; | |
13153 | } | |
13154 | ||
13155 | ||
36ed4f51 | 13156 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13157 | PyObject *resultobj = NULL; |
4276dc52 RD |
13158 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13159 | int arg2 ; | |
36ed4f51 | 13160 | int arg3 ; |
4276dc52 RD |
13161 | PyObject * obj0 = 0 ; |
13162 | PyObject * obj1 = 0 ; | |
36ed4f51 | 13163 | PyObject * obj2 = 0 ; |
4276dc52 | 13164 | char *kwnames[] = { |
36ed4f51 | 13165 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL |
4276dc52 RD |
13166 | }; |
13167 | ||
36ed4f51 RD |
13168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13171 | { | |
32fe5131 | 13172 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13173 | if (SWIG_arg_fail(2)) SWIG_fail; |
13174 | } | |
13175 | { | |
32fe5131 | 13176 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
13177 | if (SWIG_arg_fail(3)) SWIG_fail; |
13178 | } | |
4276dc52 RD |
13179 | { |
13180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13181 | (arg1)->SetYCaretPolicy(arg2,arg3); |
4276dc52 RD |
13182 | |
13183 | wxPyEndAllowThreads(__tstate); | |
13184 | if (PyErr_Occurred()) SWIG_fail; | |
13185 | } | |
36ed4f51 | 13186 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
13187 | return resultobj; |
13188 | fail: | |
13189 | return NULL; | |
13190 | } | |
13191 | ||
13192 | ||
36ed4f51 | 13193 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13194 | PyObject *resultobj = NULL; |
4276dc52 RD |
13195 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13196 | int arg2 ; | |
4276dc52 RD |
13197 | PyObject * obj0 = 0 ; |
13198 | PyObject * obj1 = 0 ; | |
13199 | char *kwnames[] = { | |
36ed4f51 | 13200 | (char *) "self",(char *) "mode", NULL |
4276dc52 RD |
13201 | }; |
13202 | ||
36ed4f51 RD |
13203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail; |
13204 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13205 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13206 | { | |
32fe5131 | 13207 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13208 | if (SWIG_arg_fail(2)) SWIG_fail; |
13209 | } | |
4276dc52 RD |
13210 | { |
13211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13212 | (arg1)->SetPrintWrapMode(arg2); |
4276dc52 RD |
13213 | |
13214 | wxPyEndAllowThreads(__tstate); | |
13215 | if (PyErr_Occurred()) SWIG_fail; | |
13216 | } | |
36ed4f51 | 13217 | Py_INCREF(Py_None); resultobj = Py_None; |
4276dc52 RD |
13218 | return resultobj; |
13219 | fail: | |
13220 | return NULL; | |
13221 | } | |
13222 | ||
13223 | ||
36ed4f51 | 13224 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13225 | PyObject *resultobj = NULL; |
4276dc52 | 13226 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 13227 | int result; |
4276dc52 RD |
13228 | PyObject * obj0 = 0 ; |
13229 | char *kwnames[] = { | |
13230 | (char *) "self", NULL | |
13231 | }; | |
13232 | ||
36ed4f51 RD |
13233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; |
13234 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13235 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13236 | { |
13237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13238 | result = (int)(arg1)->GetPrintWrapMode(); |
4276dc52 RD |
13239 | |
13240 | wxPyEndAllowThreads(__tstate); | |
13241 | if (PyErr_Occurred()) SWIG_fail; | |
13242 | } | |
36ed4f51 | 13243 | { |
32fe5131 | 13244 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 13245 | } |
4276dc52 RD |
13246 | return resultobj; |
13247 | fail: | |
13248 | return NULL; | |
13249 | } | |
13250 | ||
13251 | ||
36ed4f51 | 13252 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13253 | PyObject *resultobj = NULL; |
4276dc52 | 13254 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13255 | bool arg2 ; |
13256 | wxColour *arg3 = 0 ; | |
13257 | wxColour temp3 ; | |
4276dc52 | 13258 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
13259 | PyObject * obj1 = 0 ; |
13260 | PyObject * obj2 = 0 ; | |
4276dc52 | 13261 | char *kwnames[] = { |
36ed4f51 | 13262 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL |
4276dc52 RD |
13263 | }; |
13264 | ||
36ed4f51 RD |
13265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13266 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13267 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13268 | { | |
32fe5131 | 13269 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
13270 | if (SWIG_arg_fail(2)) SWIG_fail; |
13271 | } | |
13272 | { | |
13273 | arg3 = &temp3; | |
13274 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13275 | } | |
4276dc52 RD |
13276 | { |
13277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13278 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); |
4276dc52 RD |
13279 | |
13280 | wxPyEndAllowThreads(__tstate); | |
13281 | if (PyErr_Occurred()) SWIG_fail; | |
13282 | } | |
13283 | Py_INCREF(Py_None); resultobj = Py_None; | |
13284 | return resultobj; | |
13285 | fail: | |
13286 | return NULL; | |
13287 | } | |
13288 | ||
13289 | ||
36ed4f51 | 13290 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13291 | PyObject *resultobj = NULL; |
4276dc52 | 13292 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13293 | bool arg2 ; |
13294 | wxColour *arg3 = 0 ; | |
13295 | wxColour temp3 ; | |
4276dc52 | 13296 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
13297 | PyObject * obj1 = 0 ; |
13298 | PyObject * obj2 = 0 ; | |
4276dc52 | 13299 | char *kwnames[] = { |
36ed4f51 | 13300 | (char *) "self",(char *) "useSetting",(char *) "back", NULL |
4276dc52 RD |
13301 | }; |
13302 | ||
36ed4f51 RD |
13303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13304 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13305 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13306 | { | |
32fe5131 | 13307 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
13308 | if (SWIG_arg_fail(2)) SWIG_fail; |
13309 | } | |
13310 | { | |
13311 | arg3 = &temp3; | |
13312 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
13313 | } | |
4276dc52 RD |
13314 | { |
13315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13316 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); |
4276dc52 RD |
13317 | |
13318 | wxPyEndAllowThreads(__tstate); | |
13319 | if (PyErr_Occurred()) SWIG_fail; | |
13320 | } | |
13321 | Py_INCREF(Py_None); resultobj = Py_None; | |
13322 | return resultobj; | |
13323 | fail: | |
13324 | return NULL; | |
13325 | } | |
13326 | ||
13327 | ||
36ed4f51 | 13328 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13329 | PyObject *resultobj = NULL; |
4276dc52 | 13330 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 13331 | bool arg2 ; |
4276dc52 | 13332 | PyObject * obj0 = 0 ; |
36ed4f51 | 13333 | PyObject * obj1 = 0 ; |
4276dc52 | 13334 | char *kwnames[] = { |
36ed4f51 | 13335 | (char *) "self",(char *) "underline", NULL |
4276dc52 RD |
13336 | }; |
13337 | ||
36ed4f51 RD |
13338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; |
13339 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13340 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13341 | { | |
32fe5131 | 13342 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
13343 | if (SWIG_arg_fail(2)) SWIG_fail; |
13344 | } | |
4276dc52 RD |
13345 | { |
13346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13347 | (arg1)->SetHotspotActiveUnderline(arg2); |
4276dc52 RD |
13348 | |
13349 | wxPyEndAllowThreads(__tstate); | |
13350 | if (PyErr_Occurred()) SWIG_fail; | |
13351 | } | |
13352 | Py_INCREF(Py_None); resultobj = Py_None; | |
13353 | return resultobj; | |
13354 | fail: | |
13355 | return NULL; | |
13356 | } | |
13357 | ||
13358 | ||
36ed4f51 | 13359 | static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13360 | PyObject *resultobj = NULL; |
4276dc52 | 13361 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 13362 | bool arg2 ; |
4276dc52 | 13363 | PyObject * obj0 = 0 ; |
36ed4f51 | 13364 | PyObject * obj1 = 0 ; |
4276dc52 | 13365 | char *kwnames[] = { |
36ed4f51 | 13366 | (char *) "self",(char *) "singleLine", NULL |
4276dc52 RD |
13367 | }; |
13368 | ||
36ed4f51 RD |
13369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail; |
13370 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13371 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13372 | { | |
32fe5131 | 13373 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
13374 | if (SWIG_arg_fail(2)) SWIG_fail; |
13375 | } | |
4276dc52 RD |
13376 | { |
13377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13378 | (arg1)->SetHotspotSingleLine(arg2); |
4276dc52 RD |
13379 | |
13380 | wxPyEndAllowThreads(__tstate); | |
13381 | if (PyErr_Occurred()) SWIG_fail; | |
13382 | } | |
13383 | Py_INCREF(Py_None); resultobj = Py_None; | |
13384 | return resultobj; | |
13385 | fail: | |
13386 | return NULL; | |
13387 | } | |
13388 | ||
13389 | ||
36ed4f51 | 13390 | static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13391 | PyObject *resultobj = NULL; |
4276dc52 RD |
13392 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13393 | PyObject * obj0 = 0 ; | |
13394 | char *kwnames[] = { | |
13395 | (char *) "self", NULL | |
13396 | }; | |
13397 | ||
36ed4f51 RD |
13398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail; |
13399 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13400 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13401 | { |
13402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13403 | (arg1)->ParaDown(); |
4276dc52 RD |
13404 | |
13405 | wxPyEndAllowThreads(__tstate); | |
13406 | if (PyErr_Occurred()) SWIG_fail; | |
13407 | } | |
13408 | Py_INCREF(Py_None); resultobj = Py_None; | |
13409 | return resultobj; | |
13410 | fail: | |
13411 | return NULL; | |
13412 | } | |
13413 | ||
13414 | ||
36ed4f51 | 13415 | static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13416 | PyObject *resultobj = NULL; |
4276dc52 RD |
13417 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13418 | PyObject * obj0 = 0 ; | |
13419 | char *kwnames[] = { | |
13420 | (char *) "self", NULL | |
13421 | }; | |
13422 | ||
36ed4f51 RD |
13423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail; |
13424 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13425 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13426 | { |
13427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13428 | (arg1)->ParaDownExtend(); |
4276dc52 RD |
13429 | |
13430 | wxPyEndAllowThreads(__tstate); | |
13431 | if (PyErr_Occurred()) SWIG_fail; | |
13432 | } | |
13433 | Py_INCREF(Py_None); resultobj = Py_None; | |
13434 | return resultobj; | |
13435 | fail: | |
13436 | return NULL; | |
13437 | } | |
13438 | ||
13439 | ||
36ed4f51 | 13440 | static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13441 | PyObject *resultobj = NULL; |
4276dc52 RD |
13442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13443 | PyObject * obj0 = 0 ; | |
13444 | char *kwnames[] = { | |
13445 | (char *) "self", NULL | |
13446 | }; | |
13447 | ||
36ed4f51 RD |
13448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail; |
13449 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13450 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13451 | { |
13452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13453 | (arg1)->ParaUp(); |
4276dc52 RD |
13454 | |
13455 | wxPyEndAllowThreads(__tstate); | |
13456 | if (PyErr_Occurred()) SWIG_fail; | |
13457 | } | |
13458 | Py_INCREF(Py_None); resultobj = Py_None; | |
13459 | return resultobj; | |
13460 | fail: | |
13461 | return NULL; | |
13462 | } | |
13463 | ||
13464 | ||
36ed4f51 | 13465 | static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13466 | PyObject *resultobj = NULL; |
4276dc52 RD |
13467 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13468 | PyObject * obj0 = 0 ; | |
13469 | char *kwnames[] = { | |
13470 | (char *) "self", NULL | |
13471 | }; | |
13472 | ||
36ed4f51 RD |
13473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail; |
13474 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13475 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13476 | { |
13477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13478 | (arg1)->ParaUpExtend(); |
4276dc52 RD |
13479 | |
13480 | wxPyEndAllowThreads(__tstate); | |
13481 | if (PyErr_Occurred()) SWIG_fail; | |
13482 | } | |
13483 | Py_INCREF(Py_None); resultobj = Py_None; | |
13484 | return resultobj; | |
13485 | fail: | |
13486 | return NULL; | |
13487 | } | |
13488 | ||
13489 | ||
36ed4f51 | 13490 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13491 | PyObject *resultobj = NULL; |
4276dc52 | 13492 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13493 | int arg2 ; |
13494 | int result; | |
4276dc52 | 13495 | PyObject * obj0 = 0 ; |
36ed4f51 | 13496 | PyObject * obj1 = 0 ; |
4276dc52 | 13497 | char *kwnames[] = { |
36ed4f51 | 13498 | (char *) "self",(char *) "pos", NULL |
4276dc52 RD |
13499 | }; |
13500 | ||
36ed4f51 RD |
13501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail; |
13502 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13503 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13504 | { | |
32fe5131 | 13505 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13506 | if (SWIG_arg_fail(2)) SWIG_fail; |
13507 | } | |
4276dc52 RD |
13508 | { |
13509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13510 | result = (int)(arg1)->PositionBefore(arg2); |
4276dc52 RD |
13511 | |
13512 | wxPyEndAllowThreads(__tstate); | |
13513 | if (PyErr_Occurred()) SWIG_fail; | |
13514 | } | |
36ed4f51 | 13515 | { |
32fe5131 | 13516 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 13517 | } |
4276dc52 RD |
13518 | return resultobj; |
13519 | fail: | |
13520 | return NULL; | |
13521 | } | |
13522 | ||
13523 | ||
36ed4f51 | 13524 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13525 | PyObject *resultobj = NULL; |
4276dc52 | 13526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13527 | int arg2 ; |
13528 | int result; | |
4276dc52 | 13529 | PyObject * obj0 = 0 ; |
36ed4f51 | 13530 | PyObject * obj1 = 0 ; |
4276dc52 | 13531 | char *kwnames[] = { |
36ed4f51 | 13532 | (char *) "self",(char *) "pos", NULL |
4276dc52 RD |
13533 | }; |
13534 | ||
36ed4f51 RD |
13535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail; |
13536 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13537 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13538 | { | |
32fe5131 | 13539 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13540 | if (SWIG_arg_fail(2)) SWIG_fail; |
13541 | } | |
4276dc52 RD |
13542 | { |
13543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13544 | result = (int)(arg1)->PositionAfter(arg2); |
4276dc52 RD |
13545 | |
13546 | wxPyEndAllowThreads(__tstate); | |
13547 | if (PyErr_Occurred()) SWIG_fail; | |
13548 | } | |
36ed4f51 | 13549 | { |
32fe5131 | 13550 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 13551 | } |
4276dc52 RD |
13552 | return resultobj; |
13553 | fail: | |
13554 | return NULL; | |
13555 | } | |
13556 | ||
13557 | ||
36ed4f51 | 13558 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13559 | PyObject *resultobj = NULL; |
4276dc52 | 13560 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13561 | int arg2 ; |
13562 | int arg3 ; | |
4276dc52 | 13563 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
13564 | PyObject * obj1 = 0 ; |
13565 | PyObject * obj2 = 0 ; | |
4276dc52 | 13566 | char *kwnames[] = { |
36ed4f51 | 13567 | (char *) "self",(char *) "start",(char *) "end", NULL |
4276dc52 RD |
13568 | }; |
13569 | ||
36ed4f51 RD |
13570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13571 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13572 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13573 | { | |
32fe5131 | 13574 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13575 | if (SWIG_arg_fail(2)) SWIG_fail; |
13576 | } | |
13577 | { | |
32fe5131 | 13578 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
13579 | if (SWIG_arg_fail(3)) SWIG_fail; |
13580 | } | |
4276dc52 RD |
13581 | { |
13582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13583 | (arg1)->CopyRange(arg2,arg3); |
4276dc52 RD |
13584 | |
13585 | wxPyEndAllowThreads(__tstate); | |
13586 | if (PyErr_Occurred()) SWIG_fail; | |
13587 | } | |
13588 | Py_INCREF(Py_None); resultobj = Py_None; | |
13589 | return resultobj; | |
13590 | fail: | |
13591 | return NULL; | |
13592 | } | |
13593 | ||
13594 | ||
36ed4f51 | 13595 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13596 | PyObject *resultobj = NULL; |
4276dc52 | 13597 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13598 | int arg2 ; |
13599 | wxString *arg3 = 0 ; | |
13600 | bool temp3 = false ; | |
4276dc52 | 13601 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
13602 | PyObject * obj1 = 0 ; |
13603 | PyObject * obj2 = 0 ; | |
4276dc52 | 13604 | char *kwnames[] = { |
36ed4f51 | 13605 | (char *) "self",(char *) "length",(char *) "text", NULL |
4276dc52 RD |
13606 | }; |
13607 | ||
36ed4f51 RD |
13608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
13609 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13610 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13611 | { | |
32fe5131 | 13612 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13613 | if (SWIG_arg_fail(2)) SWIG_fail; |
13614 | } | |
13615 | { | |
13616 | arg3 = wxString_in_helper(obj2); | |
13617 | if (arg3 == NULL) SWIG_fail; | |
13618 | temp3 = true; | |
13619 | } | |
4276dc52 RD |
13620 | { |
13621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13622 | (arg1)->CopyText(arg2,(wxString const &)*arg3); |
4276dc52 RD |
13623 | |
13624 | wxPyEndAllowThreads(__tstate); | |
13625 | if (PyErr_Occurred()) SWIG_fail; | |
13626 | } | |
13627 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
13628 | { |
13629 | if (temp3) | |
13630 | delete arg3; | |
13631 | } | |
4276dc52 RD |
13632 | return resultobj; |
13633 | fail: | |
36ed4f51 RD |
13634 | { |
13635 | if (temp3) | |
13636 | delete arg3; | |
13637 | } | |
4276dc52 RD |
13638 | return NULL; |
13639 | } | |
13640 | ||
13641 | ||
36ed4f51 | 13642 | static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13643 | PyObject *resultobj = NULL; |
4276dc52 | 13644 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 13645 | int arg2 ; |
4276dc52 | 13646 | PyObject * obj0 = 0 ; |
36ed4f51 | 13647 | PyObject * obj1 = 0 ; |
4276dc52 | 13648 | char *kwnames[] = { |
36ed4f51 | 13649 | (char *) "self",(char *) "mode", NULL |
4276dc52 RD |
13650 | }; |
13651 | ||
36ed4f51 RD |
13652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail; |
13653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13655 | { | |
32fe5131 | 13656 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13657 | if (SWIG_arg_fail(2)) SWIG_fail; |
13658 | } | |
4276dc52 RD |
13659 | { |
13660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13661 | (arg1)->SetSelectionMode(arg2); |
4276dc52 RD |
13662 | |
13663 | wxPyEndAllowThreads(__tstate); | |
13664 | if (PyErr_Occurred()) SWIG_fail; | |
13665 | } | |
13666 | Py_INCREF(Py_None); resultobj = Py_None; | |
13667 | return resultobj; | |
13668 | fail: | |
13669 | return NULL; | |
13670 | } | |
13671 | ||
13672 | ||
36ed4f51 | 13673 | static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13674 | PyObject *resultobj = NULL; |
4276dc52 | 13675 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 13676 | int result; |
4276dc52 RD |
13677 | PyObject * obj0 = 0 ; |
13678 | char *kwnames[] = { | |
13679 | (char *) "self", NULL | |
13680 | }; | |
13681 | ||
36ed4f51 RD |
13682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail; |
13683 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13684 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4276dc52 RD |
13685 | { |
13686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13687 | result = (int)(arg1)->GetSelectionMode(); |
4276dc52 RD |
13688 | |
13689 | wxPyEndAllowThreads(__tstate); | |
13690 | if (PyErr_Occurred()) SWIG_fail; | |
13691 | } | |
36ed4f51 | 13692 | { |
32fe5131 | 13693 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 13694 | } |
4276dc52 RD |
13695 | return resultobj; |
13696 | fail: | |
13697 | return NULL; | |
13698 | } | |
13699 | ||
13700 | ||
36ed4f51 | 13701 | static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13702 | PyObject *resultobj = NULL; |
4276dc52 | 13703 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13704 | int arg2 ; |
13705 | int result; | |
4276dc52 | 13706 | PyObject * obj0 = 0 ; |
36ed4f51 | 13707 | PyObject * obj1 = 0 ; |
4276dc52 | 13708 | char *kwnames[] = { |
36ed4f51 | 13709 | (char *) "self",(char *) "line", NULL |
4276dc52 RD |
13710 | }; |
13711 | ||
36ed4f51 RD |
13712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail; |
13713 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13714 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13715 | { | |
32fe5131 | 13716 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13717 | if (SWIG_arg_fail(2)) SWIG_fail; |
13718 | } | |
4276dc52 RD |
13719 | { |
13720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13721 | result = (int)(arg1)->GetLineSelStartPosition(arg2); |
4276dc52 RD |
13722 | |
13723 | wxPyEndAllowThreads(__tstate); | |
13724 | if (PyErr_Occurred()) SWIG_fail; | |
13725 | } | |
36ed4f51 | 13726 | { |
32fe5131 | 13727 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 13728 | } |
4276dc52 RD |
13729 | return resultobj; |
13730 | fail: | |
13731 | return NULL; | |
13732 | } | |
13733 | ||
13734 | ||
36ed4f51 | 13735 | static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13736 | PyObject *resultobj = NULL; |
4276dc52 | 13737 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
13738 | int arg2 ; |
13739 | int result; | |
4276dc52 | 13740 | PyObject * obj0 = 0 ; |
36ed4f51 | 13741 | PyObject * obj1 = 0 ; |
4276dc52 | 13742 | char *kwnames[] = { |
36ed4f51 | 13743 | (char *) "self",(char *) "line", NULL |
4276dc52 RD |
13744 | }; |
13745 | ||
36ed4f51 RD |
13746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail; |
13747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
13749 | { | |
32fe5131 | 13750 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
13751 | if (SWIG_arg_fail(2)) SWIG_fail; |
13752 | } | |
4276dc52 RD |
13753 | { |
13754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13755 | result = (int)(arg1)->GetLineSelEndPosition(arg2); |
4276dc52 RD |
13756 | |
13757 | wxPyEndAllowThreads(__tstate); | |
13758 | if (PyErr_Occurred()) SWIG_fail; | |
13759 | } | |
36ed4f51 | 13760 | { |
32fe5131 | 13761 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 13762 | } |
96b3fa7c RD |
13763 | return resultobj; |
13764 | fail: | |
13765 | return NULL; | |
13766 | } | |
13767 | ||
13768 | ||
36ed4f51 | 13769 | static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13770 | PyObject *resultobj = NULL; |
96b3fa7c | 13771 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c | 13772 | PyObject * obj0 = 0 ; |
96b3fa7c | 13773 | char *kwnames[] = { |
36ed4f51 | 13774 | (char *) "self", NULL |
96b3fa7c RD |
13775 | }; |
13776 | ||
36ed4f51 RD |
13777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail; |
13778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
13780 | { |
13781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13782 | (arg1)->LineDownRectExtend(); |
96b3fa7c RD |
13783 | |
13784 | wxPyEndAllowThreads(__tstate); | |
13785 | if (PyErr_Occurred()) SWIG_fail; | |
13786 | } | |
13787 | Py_INCREF(Py_None); resultobj = Py_None; | |
96b3fa7c RD |
13788 | return resultobj; |
13789 | fail: | |
96b3fa7c RD |
13790 | return NULL; |
13791 | } | |
13792 | ||
13793 | ||
36ed4f51 | 13794 | static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13795 | PyObject *resultobj = NULL; |
96b3fa7c RD |
13796 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13797 | PyObject * obj0 = 0 ; | |
13798 | char *kwnames[] = { | |
13799 | (char *) "self", NULL | |
13800 | }; | |
13801 | ||
36ed4f51 RD |
13802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail; |
13803 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13804 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
13805 | { |
13806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13807 | (arg1)->LineUpRectExtend(); |
96b3fa7c RD |
13808 | |
13809 | wxPyEndAllowThreads(__tstate); | |
13810 | if (PyErr_Occurred()) SWIG_fail; | |
13811 | } | |
13812 | Py_INCREF(Py_None); resultobj = Py_None; | |
13813 | return resultobj; | |
13814 | fail: | |
13815 | return NULL; | |
13816 | } | |
13817 | ||
13818 | ||
36ed4f51 | 13819 | static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13820 | PyObject *resultobj = NULL; |
96b3fa7c | 13821 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c RD |
13822 | PyObject * obj0 = 0 ; |
13823 | char *kwnames[] = { | |
13824 | (char *) "self", NULL | |
13825 | }; | |
13826 | ||
36ed4f51 RD |
13827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail; |
13828 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13829 | if (SWIG_arg_fail(1)) SWIG_fail; | |
96b3fa7c RD |
13830 | { |
13831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13832 | (arg1)->CharLeftRectExtend(); |
96b3fa7c RD |
13833 | |
13834 | wxPyEndAllowThreads(__tstate); | |
13835 | if (PyErr_Occurred()) SWIG_fail; | |
13836 | } | |
36ed4f51 | 13837 | Py_INCREF(Py_None); resultobj = Py_None; |
96b3fa7c RD |
13838 | return resultobj; |
13839 | fail: | |
13840 | return NULL; | |
13841 | } | |
13842 | ||
13843 | ||
36ed4f51 | 13844 | static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13845 | PyObject *resultobj = NULL; |
5e483524 | 13846 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
5e483524 | 13847 | PyObject * obj0 = 0 ; |
5e483524 | 13848 | char *kwnames[] = { |
36ed4f51 | 13849 | (char *) "self", NULL |
5e483524 RD |
13850 | }; |
13851 | ||
36ed4f51 RD |
13852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail; |
13853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5e483524 RD |
13855 | { |
13856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13857 | (arg1)->CharRightRectExtend(); |
5e483524 RD |
13858 | |
13859 | wxPyEndAllowThreads(__tstate); | |
13860 | if (PyErr_Occurred()) SWIG_fail; | |
13861 | } | |
13862 | Py_INCREF(Py_None); resultobj = Py_None; | |
13863 | return resultobj; | |
13864 | fail: | |
13865 | return NULL; | |
13866 | } | |
13867 | ||
13868 | ||
36ed4f51 | 13869 | static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13870 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13871 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13872 | PyObject * obj0 = 0 ; | |
13873 | char *kwnames[] = { | |
13874 | (char *) "self", NULL | |
13875 | }; | |
13876 | ||
36ed4f51 RD |
13877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail; |
13878 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13879 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13880 | { |
13881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13882 | (arg1)->HomeRectExtend(); |
d14a1e28 RD |
13883 | |
13884 | wxPyEndAllowThreads(__tstate); | |
13885 | if (PyErr_Occurred()) SWIG_fail; | |
13886 | } | |
13887 | Py_INCREF(Py_None); resultobj = Py_None; | |
13888 | return resultobj; | |
13889 | fail: | |
13890 | return NULL; | |
13891 | } | |
13892 | ||
13893 | ||
36ed4f51 | 13894 | static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13895 | PyObject *resultobj = NULL; |
d14a1e28 RD |
13896 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
13897 | PyObject * obj0 = 0 ; | |
13898 | char *kwnames[] = { | |
13899 | (char *) "self", NULL | |
13900 | }; | |
13901 | ||
36ed4f51 RD |
13902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail; |
13903 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13904 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13905 | { |
13906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13907 | (arg1)->VCHomeRectExtend(); |
d14a1e28 RD |
13908 | |
13909 | wxPyEndAllowThreads(__tstate); | |
13910 | if (PyErr_Occurred()) SWIG_fail; | |
13911 | } | |
13912 | Py_INCREF(Py_None); resultobj = Py_None; | |
13913 | return resultobj; | |
13914 | fail: | |
13915 | return NULL; | |
13916 | } | |
13917 | ||
13918 | ||
36ed4f51 | 13919 | static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13920 | PyObject *resultobj = NULL; |
d14a1e28 | 13921 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
13922 | PyObject * obj0 = 0 ; |
13923 | char *kwnames[] = { | |
36ed4f51 | 13924 | (char *) "self", NULL |
d14a1e28 RD |
13925 | }; |
13926 | ||
36ed4f51 RD |
13927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail; |
13928 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13929 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13930 | { |
13931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13932 | (arg1)->LineEndRectExtend(); |
d14a1e28 RD |
13933 | |
13934 | wxPyEndAllowThreads(__tstate); | |
13935 | if (PyErr_Occurred()) SWIG_fail; | |
13936 | } | |
13937 | Py_INCREF(Py_None); resultobj = Py_None; | |
13938 | return resultobj; | |
13939 | fail: | |
13940 | return NULL; | |
13941 | } | |
13942 | ||
13943 | ||
36ed4f51 | 13944 | static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13945 | PyObject *resultobj = NULL; |
d14a1e28 | 13946 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
13947 | PyObject * obj0 = 0 ; |
13948 | char *kwnames[] = { | |
13949 | (char *) "self", NULL | |
13950 | }; | |
13951 | ||
36ed4f51 RD |
13952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail; |
13953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13955 | { |
13956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13957 | (arg1)->PageUpRectExtend(); |
d14a1e28 RD |
13958 | |
13959 | wxPyEndAllowThreads(__tstate); | |
13960 | if (PyErr_Occurred()) SWIG_fail; | |
13961 | } | |
36ed4f51 | 13962 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
13963 | return resultobj; |
13964 | fail: | |
13965 | return NULL; | |
13966 | } | |
13967 | ||
13968 | ||
36ed4f51 | 13969 | static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13970 | PyObject *resultobj = NULL; |
d14a1e28 | 13971 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
13972 | PyObject * obj0 = 0 ; |
13973 | char *kwnames[] = { | |
36ed4f51 | 13974 | (char *) "self", NULL |
d14a1e28 RD |
13975 | }; |
13976 | ||
36ed4f51 RD |
13977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail; |
13978 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
13979 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
13980 | { |
13981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 13982 | (arg1)->PageDownRectExtend(); |
d14a1e28 RD |
13983 | |
13984 | wxPyEndAllowThreads(__tstate); | |
13985 | if (PyErr_Occurred()) SWIG_fail; | |
13986 | } | |
13987 | Py_INCREF(Py_None); resultobj = Py_None; | |
13988 | return resultobj; | |
13989 | fail: | |
13990 | return NULL; | |
13991 | } | |
13992 | ||
13993 | ||
36ed4f51 | 13994 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 13995 | PyObject *resultobj = NULL; |
d14a1e28 | 13996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 13997 | PyObject * obj0 = 0 ; |
d14a1e28 | 13998 | char *kwnames[] = { |
36ed4f51 | 13999 | (char *) "self", NULL |
d14a1e28 RD |
14000 | }; |
14001 | ||
36ed4f51 RD |
14002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail; |
14003 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14004 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14005 | { |
14006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14007 | (arg1)->StutteredPageUp(); |
d14a1e28 RD |
14008 | |
14009 | wxPyEndAllowThreads(__tstate); | |
14010 | if (PyErr_Occurred()) SWIG_fail; | |
14011 | } | |
14012 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
14013 | return resultobj; |
14014 | fail: | |
d14a1e28 RD |
14015 | return NULL; |
14016 | } | |
14017 | ||
14018 | ||
36ed4f51 | 14019 | static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14020 | PyObject *resultobj = NULL; |
d14a1e28 | 14021 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 14022 | PyObject * obj0 = 0 ; |
d14a1e28 | 14023 | char *kwnames[] = { |
36ed4f51 | 14024 | (char *) "self", NULL |
d14a1e28 RD |
14025 | }; |
14026 | ||
36ed4f51 RD |
14027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail; |
14028 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14029 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14030 | { |
14031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14032 | (arg1)->StutteredPageUpExtend(); |
d14a1e28 RD |
14033 | |
14034 | wxPyEndAllowThreads(__tstate); | |
14035 | if (PyErr_Occurred()) SWIG_fail; | |
14036 | } | |
14037 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
14038 | return resultobj; |
14039 | fail: | |
d14a1e28 RD |
14040 | return NULL; |
14041 | } | |
14042 | ||
14043 | ||
36ed4f51 | 14044 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14045 | PyObject *resultobj = NULL; |
d14a1e28 | 14046 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 14047 | PyObject * obj0 = 0 ; |
d14a1e28 | 14048 | char *kwnames[] = { |
36ed4f51 | 14049 | (char *) "self", NULL |
d14a1e28 RD |
14050 | }; |
14051 | ||
36ed4f51 RD |
14052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail; |
14053 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14054 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14055 | { |
14056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14057 | (arg1)->StutteredPageDown(); |
d14a1e28 RD |
14058 | |
14059 | wxPyEndAllowThreads(__tstate); | |
14060 | if (PyErr_Occurred()) SWIG_fail; | |
14061 | } | |
14062 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
14063 | return resultobj; |
14064 | fail: | |
d14a1e28 RD |
14065 | return NULL; |
14066 | } | |
14067 | ||
14068 | ||
36ed4f51 | 14069 | static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14070 | PyObject *resultobj = NULL; |
d14a1e28 | 14071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
14072 | PyObject * obj0 = 0 ; |
14073 | char *kwnames[] = { | |
14074 | (char *) "self", NULL | |
14075 | }; | |
14076 | ||
36ed4f51 RD |
14077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail; |
14078 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14079 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14080 | { |
14081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14082 | (arg1)->StutteredPageDownExtend(); |
d14a1e28 RD |
14083 | |
14084 | wxPyEndAllowThreads(__tstate); | |
14085 | if (PyErr_Occurred()) SWIG_fail; | |
14086 | } | |
36ed4f51 | 14087 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
14088 | return resultobj; |
14089 | fail: | |
14090 | return NULL; | |
14091 | } | |
14092 | ||
14093 | ||
36ed4f51 | 14094 | static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14095 | PyObject *resultobj = NULL; |
d14a1e28 | 14096 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 14097 | PyObject * obj0 = 0 ; |
d14a1e28 | 14098 | char *kwnames[] = { |
36ed4f51 | 14099 | (char *) "self", NULL |
d14a1e28 RD |
14100 | }; |
14101 | ||
36ed4f51 RD |
14102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail; |
14103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14105 | { |
14106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14107 | (arg1)->WordLeftEnd(); |
d14a1e28 RD |
14108 | |
14109 | wxPyEndAllowThreads(__tstate); | |
14110 | if (PyErr_Occurred()) SWIG_fail; | |
14111 | } | |
14112 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
14113 | return resultobj; |
14114 | fail: | |
d14a1e28 RD |
14115 | return NULL; |
14116 | } | |
14117 | ||
14118 | ||
36ed4f51 | 14119 | static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14120 | PyObject *resultobj = NULL; |
d14a1e28 | 14121 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 14122 | PyObject * obj0 = 0 ; |
d14a1e28 | 14123 | char *kwnames[] = { |
36ed4f51 | 14124 | (char *) "self", NULL |
d14a1e28 RD |
14125 | }; |
14126 | ||
36ed4f51 RD |
14127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail; |
14128 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14129 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14130 | { |
14131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14132 | (arg1)->WordLeftEndExtend(); |
d14a1e28 RD |
14133 | |
14134 | wxPyEndAllowThreads(__tstate); | |
14135 | if (PyErr_Occurred()) SWIG_fail; | |
14136 | } | |
14137 | Py_INCREF(Py_None); resultobj = Py_None; | |
14138 | return resultobj; | |
14139 | fail: | |
14140 | return NULL; | |
14141 | } | |
14142 | ||
14143 | ||
36ed4f51 | 14144 | static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14145 | PyObject *resultobj = NULL; |
d14a1e28 | 14146 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 14147 | PyObject * obj0 = 0 ; |
d14a1e28 | 14148 | char *kwnames[] = { |
36ed4f51 | 14149 | (char *) "self", NULL |
d14a1e28 RD |
14150 | }; |
14151 | ||
36ed4f51 RD |
14152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail; |
14153 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14154 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14155 | { |
14156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14157 | (arg1)->WordRightEnd(); |
d14a1e28 RD |
14158 | |
14159 | wxPyEndAllowThreads(__tstate); | |
14160 | if (PyErr_Occurred()) SWIG_fail; | |
14161 | } | |
14162 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
14163 | return resultobj; |
14164 | fail: | |
d14a1e28 RD |
14165 | return NULL; |
14166 | } | |
14167 | ||
14168 | ||
36ed4f51 | 14169 | static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14170 | PyObject *resultobj = NULL; |
d14a1e28 | 14171 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
14172 | PyObject * obj0 = 0 ; |
14173 | char *kwnames[] = { | |
36ed4f51 | 14174 | (char *) "self", NULL |
d14a1e28 RD |
14175 | }; |
14176 | ||
36ed4f51 RD |
14177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail; |
14178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14180 | { |
14181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14182 | (arg1)->WordRightEndExtend(); |
d14a1e28 RD |
14183 | |
14184 | wxPyEndAllowThreads(__tstate); | |
14185 | if (PyErr_Occurred()) SWIG_fail; | |
14186 | } | |
14187 | Py_INCREF(Py_None); resultobj = Py_None; | |
14188 | return resultobj; | |
14189 | fail: | |
14190 | return NULL; | |
14191 | } | |
14192 | ||
14193 | ||
36ed4f51 | 14194 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14195 | PyObject *resultobj = NULL; |
d14a1e28 | 14196 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
14197 | wxString *arg2 = 0 ; |
14198 | bool temp2 = false ; | |
d14a1e28 | 14199 | PyObject * obj0 = 0 ; |
994141e6 | 14200 | PyObject * obj1 = 0 ; |
d14a1e28 | 14201 | char *kwnames[] = { |
36ed4f51 | 14202 | (char *) "self",(char *) "characters", NULL |
d14a1e28 RD |
14203 | }; |
14204 | ||
36ed4f51 RD |
14205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail; |
14206 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14207 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14208 | { | |
14209 | arg2 = wxString_in_helper(obj1); | |
14210 | if (arg2 == NULL) SWIG_fail; | |
14211 | temp2 = true; | |
14212 | } | |
d14a1e28 RD |
14213 | { |
14214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14215 | (arg1)->SetWhitespaceChars((wxString const &)*arg2); |
d14a1e28 RD |
14216 | |
14217 | wxPyEndAllowThreads(__tstate); | |
14218 | if (PyErr_Occurred()) SWIG_fail; | |
14219 | } | |
14220 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
14221 | { |
14222 | if (temp2) | |
14223 | delete arg2; | |
14224 | } | |
d14a1e28 RD |
14225 | return resultobj; |
14226 | fail: | |
36ed4f51 RD |
14227 | { |
14228 | if (temp2) | |
14229 | delete arg2; | |
14230 | } | |
d14a1e28 RD |
14231 | return NULL; |
14232 | } | |
14233 | ||
14234 | ||
36ed4f51 | 14235 | static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14236 | PyObject *resultobj = NULL; |
d14a1e28 | 14237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
14238 | PyObject * obj0 = 0 ; |
14239 | char *kwnames[] = { | |
14240 | (char *) "self", NULL | |
14241 | }; | |
14242 | ||
36ed4f51 RD |
14243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail; |
14244 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14245 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14246 | { |
14247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14248 | (arg1)->SetCharsDefault(); |
d14a1e28 RD |
14249 | |
14250 | wxPyEndAllowThreads(__tstate); | |
14251 | if (PyErr_Occurred()) SWIG_fail; | |
14252 | } | |
14253 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
14254 | return resultobj; |
14255 | fail: | |
14256 | return NULL; | |
14257 | } | |
14258 | ||
14259 | ||
36ed4f51 | 14260 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14261 | PyObject *resultobj = NULL; |
d14a1e28 | 14262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 14263 | int result; |
d14a1e28 RD |
14264 | PyObject * obj0 = 0 ; |
14265 | char *kwnames[] = { | |
36ed4f51 | 14266 | (char *) "self", NULL |
d14a1e28 RD |
14267 | }; |
14268 | ||
36ed4f51 RD |
14269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail; |
14270 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14271 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14272 | { |
14273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14274 | result = (int)(arg1)->AutoCompGetCurrent(); |
d14a1e28 RD |
14275 | |
14276 | wxPyEndAllowThreads(__tstate); | |
14277 | if (PyErr_Occurred()) SWIG_fail; | |
14278 | } | |
14279 | { | |
32fe5131 | 14280 | resultobj = SWIG_From_int(static_cast<int >(result)); |
d14a1e28 RD |
14281 | } |
14282 | return resultobj; | |
14283 | fail: | |
14284 | return NULL; | |
14285 | } | |
14286 | ||
14287 | ||
36ed4f51 | 14288 | static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14289 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14290 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14291 | int arg2 ; | |
14292 | PyObject * obj0 = 0 ; | |
994141e6 | 14293 | PyObject * obj1 = 0 ; |
d14a1e28 | 14294 | char *kwnames[] = { |
36ed4f51 | 14295 | (char *) "self",(char *) "bytes", NULL |
d14a1e28 RD |
14296 | }; |
14297 | ||
36ed4f51 RD |
14298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail; |
14299 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14300 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14301 | { | |
32fe5131 | 14302 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14303 | if (SWIG_arg_fail(2)) SWIG_fail; |
14304 | } | |
d14a1e28 RD |
14305 | { |
14306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14307 | (arg1)->Allocate(arg2); |
d14a1e28 RD |
14308 | |
14309 | wxPyEndAllowThreads(__tstate); | |
14310 | if (PyErr_Occurred()) SWIG_fail; | |
14311 | } | |
14312 | Py_INCREF(Py_None); resultobj = Py_None; | |
14313 | return resultobj; | |
14314 | fail: | |
14315 | return NULL; | |
14316 | } | |
14317 | ||
14318 | ||
53aa7709 | 14319 | static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14320 | PyObject *resultobj = NULL; |
53aa7709 RD |
14321 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14322 | int arg2 ; | |
14323 | int arg3 ; | |
14324 | int result; | |
14325 | PyObject * obj0 = 0 ; | |
14326 | PyObject * obj1 = 0 ; | |
14327 | PyObject * obj2 = 0 ; | |
14328 | char *kwnames[] = { | |
14329 | (char *) "self",(char *) "line",(char *) "column", NULL | |
14330 | }; | |
14331 | ||
14332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14333 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14334 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14335 | { | |
32fe5131 | 14336 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
53aa7709 RD |
14337 | if (SWIG_arg_fail(2)) SWIG_fail; |
14338 | } | |
14339 | { | |
32fe5131 | 14340 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
53aa7709 RD |
14341 | if (SWIG_arg_fail(3)) SWIG_fail; |
14342 | } | |
14343 | { | |
14344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14345 | result = (int)(arg1)->FindColumn(arg2,arg3); | |
14346 | ||
14347 | wxPyEndAllowThreads(__tstate); | |
14348 | if (PyErr_Occurred()) SWIG_fail; | |
14349 | } | |
14350 | { | |
32fe5131 | 14351 | resultobj = SWIG_From_int(static_cast<int >(result)); |
53aa7709 RD |
14352 | } |
14353 | return resultobj; | |
14354 | fail: | |
14355 | return NULL; | |
14356 | } | |
14357 | ||
14358 | ||
36ed4f51 | 14359 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14360 | PyObject *resultobj = NULL; |
d14a1e28 | 14361 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
14362 | PyObject * obj0 = 0 ; |
14363 | char *kwnames[] = { | |
36ed4f51 | 14364 | (char *) "self", NULL |
d14a1e28 RD |
14365 | }; |
14366 | ||
36ed4f51 RD |
14367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; |
14368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14370 | { |
14371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14372 | (arg1)->StartRecord(); |
d14a1e28 RD |
14373 | |
14374 | wxPyEndAllowThreads(__tstate); | |
14375 | if (PyErr_Occurred()) SWIG_fail; | |
14376 | } | |
14377 | Py_INCREF(Py_None); resultobj = Py_None; | |
14378 | return resultobj; | |
14379 | fail: | |
14380 | return NULL; | |
14381 | } | |
14382 | ||
14383 | ||
36ed4f51 | 14384 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14385 | PyObject *resultobj = NULL; |
d14a1e28 | 14386 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
14387 | PyObject * obj0 = 0 ; |
14388 | char *kwnames[] = { | |
36ed4f51 | 14389 | (char *) "self", NULL |
d14a1e28 RD |
14390 | }; |
14391 | ||
36ed4f51 RD |
14392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; |
14393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14395 | { |
14396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14397 | (arg1)->StopRecord(); |
d14a1e28 RD |
14398 | |
14399 | wxPyEndAllowThreads(__tstate); | |
14400 | if (PyErr_Occurred()) SWIG_fail; | |
14401 | } | |
36ed4f51 | 14402 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
14403 | return resultobj; |
14404 | fail: | |
14405 | return NULL; | |
14406 | } | |
14407 | ||
14408 | ||
36ed4f51 | 14409 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14410 | PyObject *resultobj = NULL; |
d14a1e28 | 14411 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 14412 | int arg2 ; |
d14a1e28 RD |
14413 | PyObject * obj0 = 0 ; |
14414 | PyObject * obj1 = 0 ; | |
14415 | char *kwnames[] = { | |
36ed4f51 | 14416 | (char *) "self",(char *) "lexer", NULL |
d14a1e28 RD |
14417 | }; |
14418 | ||
36ed4f51 RD |
14419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail; |
14420 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14421 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14422 | { | |
32fe5131 | 14423 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14424 | if (SWIG_arg_fail(2)) SWIG_fail; |
14425 | } | |
d14a1e28 RD |
14426 | { |
14427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14428 | (arg1)->SetLexer(arg2); |
d14a1e28 RD |
14429 | |
14430 | wxPyEndAllowThreads(__tstate); | |
14431 | if (PyErr_Occurred()) SWIG_fail; | |
14432 | } | |
14433 | Py_INCREF(Py_None); resultobj = Py_None; | |
14434 | return resultobj; | |
14435 | fail: | |
14436 | return NULL; | |
14437 | } | |
14438 | ||
14439 | ||
36ed4f51 | 14440 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14441 | PyObject *resultobj = NULL; |
d14a1e28 | 14442 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 | 14443 | int result; |
d14a1e28 | 14444 | PyObject * obj0 = 0 ; |
d14a1e28 | 14445 | char *kwnames[] = { |
36ed4f51 | 14446 | (char *) "self", NULL |
d14a1e28 RD |
14447 | }; |
14448 | ||
36ed4f51 RD |
14449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; |
14450 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14451 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14452 | { |
14453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14454 | result = (int)(arg1)->GetLexer(); |
d14a1e28 RD |
14455 | |
14456 | wxPyEndAllowThreads(__tstate); | |
14457 | if (PyErr_Occurred()) SWIG_fail; | |
14458 | } | |
36ed4f51 | 14459 | { |
32fe5131 | 14460 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 14461 | } |
d14a1e28 RD |
14462 | return resultobj; |
14463 | fail: | |
14464 | return NULL; | |
14465 | } | |
14466 | ||
14467 | ||
36ed4f51 | 14468 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14469 | PyObject *resultobj = NULL; |
d14a1e28 | 14470 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
14471 | int arg2 ; |
14472 | int arg3 ; | |
d14a1e28 | 14473 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
14474 | PyObject * obj1 = 0 ; |
14475 | PyObject * obj2 = 0 ; | |
d14a1e28 | 14476 | char *kwnames[] = { |
36ed4f51 | 14477 | (char *) "self",(char *) "start",(char *) "end", NULL |
d14a1e28 RD |
14478 | }; |
14479 | ||
36ed4f51 RD |
14480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14483 | { | |
32fe5131 | 14484 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14485 | if (SWIG_arg_fail(2)) SWIG_fail; |
14486 | } | |
14487 | { | |
32fe5131 | 14488 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
14489 | if (SWIG_arg_fail(3)) SWIG_fail; |
14490 | } | |
d14a1e28 RD |
14491 | { |
14492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14493 | (arg1)->Colourise(arg2,arg3); |
d14a1e28 RD |
14494 | |
14495 | wxPyEndAllowThreads(__tstate); | |
14496 | if (PyErr_Occurred()) SWIG_fail; | |
14497 | } | |
36ed4f51 | 14498 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
14499 | return resultobj; |
14500 | fail: | |
14501 | return NULL; | |
14502 | } | |
14503 | ||
14504 | ||
36ed4f51 | 14505 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14506 | PyObject *resultobj = NULL; |
d14a1e28 | 14507 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
14508 | wxString *arg2 = 0 ; |
14509 | wxString *arg3 = 0 ; | |
14510 | bool temp2 = false ; | |
14511 | bool temp3 = false ; | |
d14a1e28 RD |
14512 | PyObject * obj0 = 0 ; |
14513 | PyObject * obj1 = 0 ; | |
36ed4f51 | 14514 | PyObject * obj2 = 0 ; |
d14a1e28 | 14515 | char *kwnames[] = { |
36ed4f51 | 14516 | (char *) "self",(char *) "key",(char *) "value", NULL |
d14a1e28 RD |
14517 | }; |
14518 | ||
36ed4f51 RD |
14519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14520 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14521 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14522 | { | |
14523 | arg2 = wxString_in_helper(obj1); | |
14524 | if (arg2 == NULL) SWIG_fail; | |
14525 | temp2 = true; | |
14526 | } | |
14527 | { | |
14528 | arg3 = wxString_in_helper(obj2); | |
14529 | if (arg3 == NULL) SWIG_fail; | |
14530 | temp3 = true; | |
14531 | } | |
d14a1e28 RD |
14532 | { |
14533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14534 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); |
d14a1e28 RD |
14535 | |
14536 | wxPyEndAllowThreads(__tstate); | |
14537 | if (PyErr_Occurred()) SWIG_fail; | |
14538 | } | |
14539 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
14540 | { |
14541 | if (temp2) | |
14542 | delete arg2; | |
14543 | } | |
14544 | { | |
14545 | if (temp3) | |
14546 | delete arg3; | |
14547 | } | |
d14a1e28 RD |
14548 | return resultobj; |
14549 | fail: | |
36ed4f51 RD |
14550 | { |
14551 | if (temp2) | |
14552 | delete arg2; | |
14553 | } | |
14554 | { | |
14555 | if (temp3) | |
14556 | delete arg3; | |
14557 | } | |
d14a1e28 RD |
14558 | return NULL; |
14559 | } | |
14560 | ||
14561 | ||
36ed4f51 | 14562 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14563 | PyObject *resultobj = NULL; |
d14a1e28 | 14564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
14565 | int arg2 ; |
14566 | wxString *arg3 = 0 ; | |
14567 | bool temp3 = false ; | |
d14a1e28 RD |
14568 | PyObject * obj0 = 0 ; |
14569 | PyObject * obj1 = 0 ; | |
36ed4f51 | 14570 | PyObject * obj2 = 0 ; |
d14a1e28 | 14571 | char *kwnames[] = { |
36ed4f51 | 14572 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL |
d14a1e28 RD |
14573 | }; |
14574 | ||
36ed4f51 RD |
14575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14576 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14577 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 14578 | { |
32fe5131 | 14579 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14580 | if (SWIG_arg_fail(2)) SWIG_fail; |
14581 | } | |
14582 | { | |
14583 | arg3 = wxString_in_helper(obj2); | |
14584 | if (arg3 == NULL) SWIG_fail; | |
14585 | temp3 = true; | |
d14a1e28 RD |
14586 | } |
14587 | { | |
14588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14589 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
14590 | |
14591 | wxPyEndAllowThreads(__tstate); | |
14592 | if (PyErr_Occurred()) SWIG_fail; | |
14593 | } | |
36ed4f51 | 14594 | Py_INCREF(Py_None); resultobj = Py_None; |
4f89f6a3 | 14595 | { |
36ed4f51 RD |
14596 | if (temp3) |
14597 | delete arg3; | |
d14a1e28 RD |
14598 | } |
14599 | return resultobj; | |
14600 | fail: | |
14601 | { | |
36ed4f51 RD |
14602 | if (temp3) |
14603 | delete arg3; | |
d14a1e28 RD |
14604 | } |
14605 | return NULL; | |
14606 | } | |
14607 | ||
14608 | ||
36ed4f51 | 14609 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14610 | PyObject *resultobj = NULL; |
d14a1e28 RD |
14611 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14612 | wxString *arg2 = 0 ; | |
b411df4a | 14613 | bool temp2 = false ; |
d14a1e28 RD |
14614 | PyObject * obj0 = 0 ; |
14615 | PyObject * obj1 = 0 ; | |
14616 | char *kwnames[] = { | |
36ed4f51 | 14617 | (char *) "self",(char *) "language", NULL |
d14a1e28 RD |
14618 | }; |
14619 | ||
36ed4f51 RD |
14620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; |
14621 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14622 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14623 | { |
14624 | arg2 = wxString_in_helper(obj1); | |
14625 | if (arg2 == NULL) SWIG_fail; | |
b411df4a | 14626 | temp2 = true; |
d14a1e28 RD |
14627 | } |
14628 | { | |
14629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14630 | (arg1)->SetLexerLanguage((wxString const &)*arg2); |
d14a1e28 RD |
14631 | |
14632 | wxPyEndAllowThreads(__tstate); | |
14633 | if (PyErr_Occurred()) SWIG_fail; | |
14634 | } | |
36ed4f51 | 14635 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
14636 | { |
14637 | if (temp2) | |
14638 | delete arg2; | |
14639 | } | |
14640 | return resultobj; | |
14641 | fail: | |
14642 | { | |
14643 | if (temp2) | |
14644 | delete arg2; | |
14645 | } | |
14646 | return NULL; | |
14647 | } | |
14648 | ||
14649 | ||
36ed4f51 | 14650 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14651 | PyObject *resultobj = NULL; |
d14a1e28 | 14652 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
96b3fa7c | 14653 | int result; |
d14a1e28 | 14654 | PyObject * obj0 = 0 ; |
d14a1e28 | 14655 | char *kwnames[] = { |
36ed4f51 | 14656 | (char *) "self", NULL |
d14a1e28 RD |
14657 | }; |
14658 | ||
36ed4f51 RD |
14659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; |
14660 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14661 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
14662 | { |
14663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14664 | result = (int)(arg1)->GetCurrentLine(); |
d14a1e28 RD |
14665 | |
14666 | wxPyEndAllowThreads(__tstate); | |
14667 | if (PyErr_Occurred()) SWIG_fail; | |
14668 | } | |
36ed4f51 | 14669 | { |
32fe5131 | 14670 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 14671 | } |
d14a1e28 RD |
14672 | return resultobj; |
14673 | fail: | |
14674 | return NULL; | |
14675 | } | |
14676 | ||
14677 | ||
36ed4f51 | 14678 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14679 | PyObject *resultobj = NULL; |
d14a1e28 | 14680 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
14681 | int arg2 ; |
14682 | wxString *arg3 = 0 ; | |
14683 | bool temp3 = false ; | |
d14a1e28 | 14684 | PyObject * obj0 = 0 ; |
994141e6 RD |
14685 | PyObject * obj1 = 0 ; |
14686 | PyObject * obj2 = 0 ; | |
d14a1e28 | 14687 | char *kwnames[] = { |
36ed4f51 | 14688 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL |
d14a1e28 RD |
14689 | }; |
14690 | ||
36ed4f51 RD |
14691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14692 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14693 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 14694 | { |
32fe5131 | 14695 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14696 | if (SWIG_arg_fail(2)) SWIG_fail; |
14697 | } | |
14698 | { | |
14699 | arg3 = wxString_in_helper(obj2); | |
14700 | if (arg3 == NULL) SWIG_fail; | |
14701 | temp3 = true; | |
d14a1e28 RD |
14702 | } |
14703 | { | |
14704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14705 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); |
d14a1e28 RD |
14706 | |
14707 | wxPyEndAllowThreads(__tstate); | |
14708 | if (PyErr_Occurred()) SWIG_fail; | |
14709 | } | |
36ed4f51 | 14710 | Py_INCREF(Py_None); resultobj = Py_None; |
4f89f6a3 | 14711 | { |
36ed4f51 RD |
14712 | if (temp3) |
14713 | delete arg3; | |
d14a1e28 RD |
14714 | } |
14715 | return resultobj; | |
14716 | fail: | |
14717 | { | |
36ed4f51 RD |
14718 | if (temp3) |
14719 | delete arg3; | |
d14a1e28 RD |
14720 | } |
14721 | return NULL; | |
14722 | } | |
14723 | ||
14724 | ||
36ed4f51 | 14725 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14726 | PyObject *resultobj = NULL; |
db914595 | 14727 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
14728 | int arg2 ; |
14729 | wxFont *arg3 = 0 ; | |
db914595 RD |
14730 | PyObject * obj0 = 0 ; |
14731 | PyObject * obj1 = 0 ; | |
36ed4f51 | 14732 | PyObject * obj2 = 0 ; |
db914595 | 14733 | char *kwnames[] = { |
36ed4f51 | 14734 | (char *) "self",(char *) "styleNum",(char *) "font", NULL |
db914595 RD |
14735 | }; |
14736 | ||
36ed4f51 RD |
14737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14738 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14739 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14740 | { | |
32fe5131 | 14741 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14742 | if (SWIG_arg_fail(2)) SWIG_fail; |
14743 | } | |
14744 | { | |
14745 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
14746 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14747 | if (arg3 == NULL) { | |
14748 | SWIG_null_ref("wxFont"); | |
14749 | } | |
14750 | if (SWIG_arg_fail(3)) SWIG_fail; | |
14751 | } | |
db914595 RD |
14752 | { |
14753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14754 | (arg1)->StyleSetFont(arg2,*arg3); |
db914595 RD |
14755 | |
14756 | wxPyEndAllowThreads(__tstate); | |
14757 | if (PyErr_Occurred()) SWIG_fail; | |
14758 | } | |
14759 | Py_INCREF(Py_None); resultobj = Py_None; | |
14760 | return resultobj; | |
14761 | fail: | |
14762 | return NULL; | |
14763 | } | |
14764 | ||
14765 | ||
36ed4f51 | 14766 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14767 | PyObject *resultobj = NULL; |
db914595 | 14768 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
36ed4f51 RD |
14769 | int arg2 ; |
14770 | int arg3 ; | |
14771 | wxString *arg4 = 0 ; | |
14772 | bool arg5 ; | |
14773 | bool arg6 ; | |
14774 | bool arg7 ; | |
a1b6e73b | 14775 | wxFontEncoding arg8 = (wxFontEncoding) wxFONTENCODING_DEFAULT ; |
36ed4f51 RD |
14776 | bool temp4 = false ; |
14777 | PyObject * obj0 = 0 ; | |
14778 | PyObject * obj1 = 0 ; | |
14779 | PyObject * obj2 = 0 ; | |
14780 | PyObject * obj3 = 0 ; | |
14781 | PyObject * obj4 = 0 ; | |
14782 | PyObject * obj5 = 0 ; | |
14783 | PyObject * obj6 = 0 ; | |
a1b6e73b | 14784 | PyObject * obj7 = 0 ; |
db914595 | 14785 | char *kwnames[] = { |
a1b6e73b | 14786 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline",(char *) "encoding", NULL |
db914595 RD |
14787 | }; |
14788 | ||
a1b6e73b | 14789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
36ed4f51 RD |
14790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); |
14791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14792 | { | |
32fe5131 | 14793 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14794 | if (SWIG_arg_fail(2)) SWIG_fail; |
14795 | } | |
14796 | { | |
32fe5131 | 14797 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
14798 | if (SWIG_arg_fail(3)) SWIG_fail; |
14799 | } | |
14800 | { | |
14801 | arg4 = wxString_in_helper(obj3); | |
14802 | if (arg4 == NULL) SWIG_fail; | |
14803 | temp4 = true; | |
14804 | } | |
14805 | { | |
32fe5131 | 14806 | arg5 = static_cast<bool >(SWIG_As_bool(obj4)); |
36ed4f51 RD |
14807 | if (SWIG_arg_fail(5)) SWIG_fail; |
14808 | } | |
14809 | { | |
32fe5131 | 14810 | arg6 = static_cast<bool >(SWIG_As_bool(obj5)); |
36ed4f51 RD |
14811 | if (SWIG_arg_fail(6)) SWIG_fail; |
14812 | } | |
14813 | { | |
32fe5131 | 14814 | arg7 = static_cast<bool >(SWIG_As_bool(obj6)); |
36ed4f51 RD |
14815 | if (SWIG_arg_fail(7)) SWIG_fail; |
14816 | } | |
a1b6e73b RD |
14817 | if (obj7) { |
14818 | { | |
32fe5131 | 14819 | arg8 = static_cast<wxFontEncoding >(SWIG_As_int(obj7)); |
a1b6e73b RD |
14820 | if (SWIG_arg_fail(8)) SWIG_fail; |
14821 | } | |
14822 | } | |
db914595 RD |
14823 | { |
14824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 14825 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8); |
db914595 RD |
14826 | |
14827 | wxPyEndAllowThreads(__tstate); | |
14828 | if (PyErr_Occurred()) SWIG_fail; | |
14829 | } | |
36ed4f51 | 14830 | Py_INCREF(Py_None); resultobj = Py_None; |
4f89f6a3 | 14831 | { |
36ed4f51 RD |
14832 | if (temp4) |
14833 | delete arg4; | |
4f89f6a3 | 14834 | } |
db914595 RD |
14835 | return resultobj; |
14836 | fail: | |
36ed4f51 RD |
14837 | { |
14838 | if (temp4) | |
14839 | delete arg4; | |
14840 | } | |
db914595 RD |
14841 | return NULL; |
14842 | } | |
14843 | ||
14844 | ||
a1b6e73b | 14845 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14846 | PyObject *resultobj = NULL; |
a1b6e73b RD |
14847 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14848 | int arg2 ; | |
14849 | int arg3 ; | |
14850 | PyObject * obj0 = 0 ; | |
14851 | PyObject * obj1 = 0 ; | |
14852 | PyObject * obj2 = 0 ; | |
14853 | char *kwnames[] = { | |
14854 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
14855 | }; | |
14856 | ||
14857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14860 | { | |
32fe5131 | 14861 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
a1b6e73b RD |
14862 | if (SWIG_arg_fail(2)) SWIG_fail; |
14863 | } | |
14864 | { | |
32fe5131 | 14865 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
a1b6e73b RD |
14866 | if (SWIG_arg_fail(3)) SWIG_fail; |
14867 | } | |
14868 | { | |
14869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14870 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
14871 | ||
14872 | wxPyEndAllowThreads(__tstate); | |
14873 | if (PyErr_Occurred()) SWIG_fail; | |
14874 | } | |
14875 | Py_INCREF(Py_None); resultobj = Py_None; | |
14876 | return resultobj; | |
14877 | fail: | |
14878 | return NULL; | |
14879 | } | |
14880 | ||
14881 | ||
14882 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 14883 | PyObject *resultobj = NULL; |
a1b6e73b RD |
14884 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14885 | int arg2 ; | |
14886 | wxFontEncoding arg3 ; | |
14887 | PyObject * obj0 = 0 ; | |
14888 | PyObject * obj1 = 0 ; | |
14889 | PyObject * obj2 = 0 ; | |
14890 | char *kwnames[] = { | |
14891 | (char *) "self",(char *) "style",(char *) "encoding", NULL | |
14892 | }; | |
14893 | ||
14894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFontEncoding",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14895 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14896 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14897 | { | |
32fe5131 | 14898 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
a1b6e73b RD |
14899 | if (SWIG_arg_fail(2)) SWIG_fail; |
14900 | } | |
14901 | { | |
32fe5131 | 14902 | arg3 = static_cast<wxFontEncoding >(SWIG_As_int(obj2)); |
a1b6e73b RD |
14903 | if (SWIG_arg_fail(3)) SWIG_fail; |
14904 | } | |
14905 | { | |
14906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 14907 | (arg1)->StyleSetFontEncoding(arg2,arg3); |
a1b6e73b RD |
14908 | |
14909 | wxPyEndAllowThreads(__tstate); | |
14910 | if (PyErr_Occurred()) SWIG_fail; | |
14911 | } | |
14912 | Py_INCREF(Py_None); resultobj = Py_None; | |
14913 | return resultobj; | |
14914 | fail: | |
14915 | return NULL; | |
14916 | } | |
14917 | ||
14918 | ||
36ed4f51 | 14919 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14920 | PyObject *resultobj = NULL; |
36ed4f51 RD |
14921 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14922 | int arg2 ; | |
994141e6 RD |
14923 | PyObject * obj0 = 0 ; |
14924 | PyObject * obj1 = 0 ; | |
d14a1e28 | 14925 | char *kwnames[] = { |
36ed4f51 | 14926 | (char *) "self",(char *) "cmd", NULL |
d14a1e28 RD |
14927 | }; |
14928 | ||
36ed4f51 RD |
14929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail; |
14930 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14931 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14932 | { | |
32fe5131 | 14933 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 14934 | if (SWIG_arg_fail(2)) SWIG_fail; |
994141e6 | 14935 | } |
d14a1e28 RD |
14936 | { |
14937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14938 | (arg1)->CmdKeyExecute(arg2); |
d14a1e28 RD |
14939 | |
14940 | wxPyEndAllowThreads(__tstate); | |
14941 | if (PyErr_Occurred()) SWIG_fail; | |
14942 | } | |
36ed4f51 | 14943 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
14944 | return resultobj; |
14945 | fail: | |
14946 | return NULL; | |
14947 | } | |
14948 | ||
14949 | ||
36ed4f51 | 14950 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14951 | PyObject *resultobj = NULL; |
36ed4f51 RD |
14952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14953 | int arg2 ; | |
14954 | int arg3 ; | |
d14a1e28 | 14955 | PyObject * obj0 = 0 ; |
36ed4f51 RD |
14956 | PyObject * obj1 = 0 ; |
14957 | PyObject * obj2 = 0 ; | |
d14a1e28 | 14958 | char *kwnames[] = { |
36ed4f51 | 14959 | (char *) "self",(char *) "left",(char *) "right", NULL |
d14a1e28 RD |
14960 | }; |
14961 | ||
36ed4f51 RD |
14962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail; |
14963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
14964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
14965 | { | |
32fe5131 | 14966 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
14967 | if (SWIG_arg_fail(2)) SWIG_fail; |
14968 | } | |
14969 | { | |
32fe5131 | 14970 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
14971 | if (SWIG_arg_fail(3)) SWIG_fail; |
14972 | } | |
d14a1e28 RD |
14973 | { |
14974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 14975 | (arg1)->SetMargins(arg2,arg3); |
d14a1e28 RD |
14976 | |
14977 | wxPyEndAllowThreads(__tstate); | |
14978 | if (PyErr_Occurred()) SWIG_fail; | |
14979 | } | |
14980 | Py_INCREF(Py_None); resultobj = Py_None; | |
14981 | return resultobj; | |
14982 | fail: | |
14983 | return NULL; | |
14984 | } | |
14985 | ||
14986 | ||
36ed4f51 | 14987 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 14988 | PyObject *resultobj = NULL; |
36ed4f51 RD |
14989 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
14990 | int *arg2 = (int *) 0 ; | |
14991 | int *arg3 = (int *) 0 ; | |
14992 | int temp2 ; | |
14993 | int res2 = 0 ; | |
14994 | int temp3 ; | |
14995 | int res3 = 0 ; | |
d14a1e28 RD |
14996 | PyObject * obj0 = 0 ; |
14997 | char *kwnames[] = { | |
36ed4f51 | 14998 | (char *) "self", NULL |
d14a1e28 RD |
14999 | }; |
15000 | ||
36ed4f51 RD |
15001 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
15002 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
15003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
15004 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15005 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15006 | { |
15007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15008 | (arg1)->GetSelection(arg2,arg3); |
d14a1e28 RD |
15009 | |
15010 | wxPyEndAllowThreads(__tstate); | |
15011 | if (PyErr_Occurred()) SWIG_fail; | |
15012 | } | |
15013 | Py_INCREF(Py_None); resultobj = Py_None; | |
36ed4f51 RD |
15014 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
15015 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
15016 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
15017 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
15018 | return resultobj; |
15019 | fail: | |
15020 | return NULL; | |
15021 | } | |
15022 | ||
15023 | ||
36ed4f51 | 15024 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15025 | PyObject *resultobj = NULL; |
36ed4f51 | 15026 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 15027 | int arg2 ; |
36ed4f51 | 15028 | wxPoint result; |
d14a1e28 | 15029 | PyObject * obj0 = 0 ; |
994141e6 | 15030 | PyObject * obj1 = 0 ; |
d14a1e28 | 15031 | char *kwnames[] = { |
36ed4f51 | 15032 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
15033 | }; |
15034 | ||
36ed4f51 RD |
15035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail; |
15036 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15037 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15038 | { | |
32fe5131 | 15039 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15040 | if (SWIG_arg_fail(2)) SWIG_fail; |
15041 | } | |
d14a1e28 RD |
15042 | { |
15043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15044 | result = (arg1)->PointFromPosition(arg2); |
d14a1e28 RD |
15045 | |
15046 | wxPyEndAllowThreads(__tstate); | |
15047 | if (PyErr_Occurred()) SWIG_fail; | |
15048 | } | |
36ed4f51 RD |
15049 | { |
15050 | wxPoint * resultptr; | |
32fe5131 | 15051 | resultptr = new wxPoint(static_cast<wxPoint & >(result)); |
36ed4f51 RD |
15052 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
15053 | } | |
d14a1e28 RD |
15054 | return resultobj; |
15055 | fail: | |
15056 | return NULL; | |
15057 | } | |
15058 | ||
15059 | ||
36ed4f51 | 15060 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15061 | PyObject *resultobj = NULL; |
36ed4f51 | 15062 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
15063 | int arg2 ; |
15064 | PyObject * obj0 = 0 ; | |
994141e6 | 15065 | PyObject * obj1 = 0 ; |
d14a1e28 | 15066 | char *kwnames[] = { |
36ed4f51 | 15067 | (char *) "self",(char *) "line", NULL |
d14a1e28 RD |
15068 | }; |
15069 | ||
36ed4f51 RD |
15070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; |
15071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15073 | { | |
32fe5131 | 15074 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15075 | if (SWIG_arg_fail(2)) SWIG_fail; |
15076 | } | |
d14a1e28 RD |
15077 | { |
15078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15079 | (arg1)->ScrollToLine(arg2); |
d14a1e28 RD |
15080 | |
15081 | wxPyEndAllowThreads(__tstate); | |
15082 | if (PyErr_Occurred()) SWIG_fail; | |
15083 | } | |
15084 | Py_INCREF(Py_None); resultobj = Py_None; | |
15085 | return resultobj; | |
15086 | fail: | |
15087 | return NULL; | |
15088 | } | |
15089 | ||
15090 | ||
36ed4f51 | 15091 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15092 | PyObject *resultobj = NULL; |
36ed4f51 | 15093 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 RD |
15094 | int arg2 ; |
15095 | PyObject * obj0 = 0 ; | |
994141e6 | 15096 | PyObject * obj1 = 0 ; |
d14a1e28 | 15097 | char *kwnames[] = { |
36ed4f51 | 15098 | (char *) "self",(char *) "column", NULL |
d14a1e28 RD |
15099 | }; |
15100 | ||
36ed4f51 RD |
15101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail; |
15102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15104 | { | |
32fe5131 | 15105 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15106 | if (SWIG_arg_fail(2)) SWIG_fail; |
15107 | } | |
d14a1e28 RD |
15108 | { |
15109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15110 | (arg1)->ScrollToColumn(arg2); |
d14a1e28 RD |
15111 | |
15112 | wxPyEndAllowThreads(__tstate); | |
15113 | if (PyErr_Occurred()) SWIG_fail; | |
15114 | } | |
15115 | Py_INCREF(Py_None); resultobj = Py_None; | |
15116 | return resultobj; | |
15117 | fail: | |
15118 | return NULL; | |
15119 | } | |
15120 | ||
15121 | ||
36ed4f51 | 15122 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15123 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15124 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15125 | int arg2 ; | |
15126 | long arg3 = (long) 0 ; | |
15127 | long arg4 = (long) 0 ; | |
15128 | long result; | |
d14a1e28 RD |
15129 | PyObject * obj0 = 0 ; |
15130 | PyObject * obj1 = 0 ; | |
36ed4f51 RD |
15131 | PyObject * obj2 = 0 ; |
15132 | PyObject * obj3 = 0 ; | |
d14a1e28 | 15133 | char *kwnames[] = { |
36ed4f51 | 15134 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL |
d14a1e28 RD |
15135 | }; |
15136 | ||
36ed4f51 RD |
15137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15138 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15139 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 15140 | { |
32fe5131 | 15141 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15142 | if (SWIG_arg_fail(2)) SWIG_fail; |
15143 | } | |
15144 | if (obj2) { | |
15145 | { | |
32fe5131 | 15146 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
36ed4f51 RD |
15147 | if (SWIG_arg_fail(3)) SWIG_fail; |
15148 | } | |
15149 | } | |
15150 | if (obj3) { | |
15151 | { | |
32fe5131 | 15152 | arg4 = static_cast<long >(SWIG_As_long(obj3)); |
36ed4f51 RD |
15153 | if (SWIG_arg_fail(4)) SWIG_fail; |
15154 | } | |
d14a1e28 RD |
15155 | } |
15156 | { | |
15157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15158 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); |
d14a1e28 RD |
15159 | |
15160 | wxPyEndAllowThreads(__tstate); | |
15161 | if (PyErr_Occurred()) SWIG_fail; | |
15162 | } | |
d14a1e28 | 15163 | { |
32fe5131 | 15164 | resultobj = SWIG_From_long(static_cast<long >(result)); |
d14a1e28 RD |
15165 | } |
15166 | return resultobj; | |
15167 | fail: | |
d14a1e28 RD |
15168 | return NULL; |
15169 | } | |
15170 | ||
15171 | ||
36ed4f51 | 15172 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15173 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15174 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15175 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
d14a1e28 | 15176 | PyObject * obj0 = 0 ; |
994141e6 | 15177 | PyObject * obj1 = 0 ; |
d14a1e28 | 15178 | char *kwnames[] = { |
36ed4f51 | 15179 | (char *) "self",(char *) "bar", NULL |
d14a1e28 RD |
15180 | }; |
15181 | ||
36ed4f51 RD |
15182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; |
15183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15185 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
15186 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
15187 | { |
15188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15189 | (arg1)->SetVScrollBar(arg2); |
d14a1e28 RD |
15190 | |
15191 | wxPyEndAllowThreads(__tstate); | |
15192 | if (PyErr_Occurred()) SWIG_fail; | |
15193 | } | |
15194 | Py_INCREF(Py_None); resultobj = Py_None; | |
15195 | return resultobj; | |
15196 | fail: | |
15197 | return NULL; | |
15198 | } | |
15199 | ||
15200 | ||
36ed4f51 | 15201 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15202 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15203 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15204 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
d14a1e28 | 15205 | PyObject * obj0 = 0 ; |
994141e6 | 15206 | PyObject * obj1 = 0 ; |
d14a1e28 | 15207 | char *kwnames[] = { |
36ed4f51 | 15208 | (char *) "self",(char *) "bar", NULL |
d14a1e28 RD |
15209 | }; |
15210 | ||
36ed4f51 RD |
15211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; |
15212 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15213 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15214 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); | |
15215 | if (SWIG_arg_fail(2)) SWIG_fail; | |
d14a1e28 RD |
15216 | { |
15217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15218 | (arg1)->SetHScrollBar(arg2); |
d14a1e28 RD |
15219 | |
15220 | wxPyEndAllowThreads(__tstate); | |
15221 | if (PyErr_Occurred()) SWIG_fail; | |
15222 | } | |
15223 | Py_INCREF(Py_None); resultobj = Py_None; | |
15224 | return resultobj; | |
15225 | fail: | |
15226 | return NULL; | |
15227 | } | |
15228 | ||
15229 | ||
36ed4f51 | 15230 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15231 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15232 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15233 | bool result; | |
d14a1e28 RD |
15234 | PyObject * obj0 = 0 ; |
15235 | char *kwnames[] = { | |
36ed4f51 | 15236 | (char *) "self", NULL |
d14a1e28 RD |
15237 | }; |
15238 | ||
36ed4f51 RD |
15239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; |
15240 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15241 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15242 | { |
15243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15244 | result = (bool)(arg1)->GetLastKeydownProcessed(); |
d14a1e28 RD |
15245 | |
15246 | wxPyEndAllowThreads(__tstate); | |
15247 | if (PyErr_Occurred()) SWIG_fail; | |
15248 | } | |
36ed4f51 RD |
15249 | { |
15250 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15251 | } | |
d14a1e28 RD |
15252 | return resultobj; |
15253 | fail: | |
15254 | return NULL; | |
15255 | } | |
15256 | ||
15257 | ||
36ed4f51 | 15258 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15259 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15260 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15261 | bool arg2 ; | |
d14a1e28 | 15262 | PyObject * obj0 = 0 ; |
994141e6 | 15263 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15264 | char *kwnames[] = { |
15265 | (char *) "self",(char *) "val", NULL | |
15266 | }; | |
15267 | ||
36ed4f51 RD |
15268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; |
15269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15271 | { | |
32fe5131 | 15272 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
15273 | if (SWIG_arg_fail(2)) SWIG_fail; |
15274 | } | |
d14a1e28 RD |
15275 | { |
15276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15277 | (arg1)->SetLastKeydownProcessed(arg2); |
d14a1e28 RD |
15278 | |
15279 | wxPyEndAllowThreads(__tstate); | |
15280 | if (PyErr_Occurred()) SWIG_fail; | |
15281 | } | |
15282 | Py_INCREF(Py_None); resultobj = Py_None; | |
15283 | return resultobj; | |
15284 | fail: | |
15285 | return NULL; | |
15286 | } | |
15287 | ||
15288 | ||
36ed4f51 | 15289 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15290 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15291 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15292 | wxString *arg2 = 0 ; | |
15293 | bool result; | |
15294 | bool temp2 = false ; | |
d14a1e28 | 15295 | PyObject * obj0 = 0 ; |
994141e6 | 15296 | PyObject * obj1 = 0 ; |
d14a1e28 | 15297 | char *kwnames[] = { |
36ed4f51 | 15298 | (char *) "self",(char *) "filename", NULL |
d14a1e28 RD |
15299 | }; |
15300 | ||
36ed4f51 RD |
15301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; |
15302 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15303 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15304 | { | |
15305 | arg2 = wxString_in_helper(obj1); | |
15306 | if (arg2 == NULL) SWIG_fail; | |
15307 | temp2 = true; | |
15308 | } | |
d14a1e28 RD |
15309 | { |
15310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15311 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); |
d14a1e28 RD |
15312 | |
15313 | wxPyEndAllowThreads(__tstate); | |
15314 | if (PyErr_Occurred()) SWIG_fail; | |
15315 | } | |
36ed4f51 RD |
15316 | { |
15317 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15318 | } | |
15319 | { | |
15320 | if (temp2) | |
15321 | delete arg2; | |
15322 | } | |
d14a1e28 RD |
15323 | return resultobj; |
15324 | fail: | |
36ed4f51 RD |
15325 | { |
15326 | if (temp2) | |
15327 | delete arg2; | |
15328 | } | |
d14a1e28 RD |
15329 | return NULL; |
15330 | } | |
15331 | ||
15332 | ||
36ed4f51 | 15333 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15334 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15335 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15336 | wxString *arg2 = 0 ; | |
15337 | bool result; | |
15338 | bool temp2 = false ; | |
d14a1e28 | 15339 | PyObject * obj0 = 0 ; |
994141e6 | 15340 | PyObject * obj1 = 0 ; |
d14a1e28 | 15341 | char *kwnames[] = { |
36ed4f51 | 15342 | (char *) "self",(char *) "filename", NULL |
d14a1e28 RD |
15343 | }; |
15344 | ||
36ed4f51 RD |
15345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; |
15346 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15347 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15348 | { | |
15349 | arg2 = wxString_in_helper(obj1); | |
15350 | if (arg2 == NULL) SWIG_fail; | |
15351 | temp2 = true; | |
15352 | } | |
d14a1e28 RD |
15353 | { |
15354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15355 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); |
d14a1e28 RD |
15356 | |
15357 | wxPyEndAllowThreads(__tstate); | |
15358 | if (PyErr_Occurred()) SWIG_fail; | |
15359 | } | |
36ed4f51 RD |
15360 | { |
15361 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15362 | } | |
15363 | { | |
15364 | if (temp2) | |
15365 | delete arg2; | |
15366 | } | |
d14a1e28 RD |
15367 | return resultobj; |
15368 | fail: | |
36ed4f51 RD |
15369 | { |
15370 | if (temp2) | |
15371 | delete arg2; | |
15372 | } | |
d14a1e28 RD |
15373 | return NULL; |
15374 | } | |
15375 | ||
15376 | ||
36ed4f51 | 15377 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15378 | PyObject *resultobj = NULL; |
36ed4f51 | 15379 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
d14a1e28 | 15380 | int arg2 ; |
36ed4f51 RD |
15381 | int arg3 ; |
15382 | wxDragResult arg4 ; | |
15383 | wxDragResult result; | |
d14a1e28 | 15384 | PyObject * obj0 = 0 ; |
994141e6 | 15385 | PyObject * obj1 = 0 ; |
36ed4f51 RD |
15386 | PyObject * obj2 = 0 ; |
15387 | PyObject * obj3 = 0 ; | |
d14a1e28 | 15388 | char *kwnames[] = { |
36ed4f51 | 15389 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL |
d14a1e28 RD |
15390 | }; |
15391 | ||
36ed4f51 RD |
15392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15393 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15394 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15395 | { | |
32fe5131 | 15396 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15397 | if (SWIG_arg_fail(2)) SWIG_fail; |
15398 | } | |
15399 | { | |
32fe5131 | 15400 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
36ed4f51 RD |
15401 | if (SWIG_arg_fail(3)) SWIG_fail; |
15402 | } | |
15403 | { | |
32fe5131 | 15404 | arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3)); |
36ed4f51 RD |
15405 | if (SWIG_arg_fail(4)) SWIG_fail; |
15406 | } | |
d14a1e28 RD |
15407 | { |
15408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 15409 | result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4); |
d14a1e28 RD |
15410 | |
15411 | wxPyEndAllowThreads(__tstate); | |
15412 | if (PyErr_Occurred()) SWIG_fail; | |
15413 | } | |
36ed4f51 | 15414 | resultobj = SWIG_From_int((result)); |
d14a1e28 RD |
15415 | return resultobj; |
15416 | fail: | |
15417 | return NULL; | |
15418 | } | |
15419 | ||
15420 | ||
36ed4f51 | 15421 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15422 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15423 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15424 | long arg2 ; | |
15425 | long arg3 ; | |
15426 | wxString *arg4 = 0 ; | |
15427 | bool result; | |
15428 | bool temp4 = false ; | |
d14a1e28 | 15429 | PyObject * obj0 = 0 ; |
994141e6 | 15430 | PyObject * obj1 = 0 ; |
36ed4f51 RD |
15431 | PyObject * obj2 = 0 ; |
15432 | PyObject * obj3 = 0 ; | |
d14a1e28 | 15433 | char *kwnames[] = { |
36ed4f51 | 15434 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL |
d14a1e28 RD |
15435 | }; |
15436 | ||
36ed4f51 RD |
15437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15438 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15439 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15440 | { | |
32fe5131 | 15441 | arg2 = static_cast<long >(SWIG_As_long(obj1)); |
36ed4f51 RD |
15442 | if (SWIG_arg_fail(2)) SWIG_fail; |
15443 | } | |
15444 | { | |
32fe5131 | 15445 | arg3 = static_cast<long >(SWIG_As_long(obj2)); |
36ed4f51 RD |
15446 | if (SWIG_arg_fail(3)) SWIG_fail; |
15447 | } | |
15448 | { | |
15449 | arg4 = wxString_in_helper(obj3); | |
15450 | if (arg4 == NULL) SWIG_fail; | |
15451 | temp4 = true; | |
15452 | } | |
d14a1e28 RD |
15453 | { |
15454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15455 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); |
d14a1e28 RD |
15456 | |
15457 | wxPyEndAllowThreads(__tstate); | |
15458 | if (PyErr_Occurred()) SWIG_fail; | |
15459 | } | |
36ed4f51 RD |
15460 | { |
15461 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15462 | } | |
15463 | { | |
15464 | if (temp4) | |
15465 | delete arg4; | |
15466 | } | |
d14a1e28 RD |
15467 | return resultobj; |
15468 | fail: | |
36ed4f51 RD |
15469 | { |
15470 | if (temp4) | |
15471 | delete arg4; | |
15472 | } | |
d14a1e28 RD |
15473 | return NULL; |
15474 | } | |
15475 | ||
15476 | ||
36ed4f51 | 15477 | static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15478 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15479 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15480 | bool arg2 ; | |
d14a1e28 | 15481 | PyObject * obj0 = 0 ; |
994141e6 | 15482 | PyObject * obj1 = 0 ; |
d14a1e28 | 15483 | char *kwnames[] = { |
36ed4f51 | 15484 | (char *) "self",(char *) "useAA", NULL |
d14a1e28 RD |
15485 | }; |
15486 | ||
36ed4f51 RD |
15487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail; |
15488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15490 | { | |
32fe5131 | 15491 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
15492 | if (SWIG_arg_fail(2)) SWIG_fail; |
15493 | } | |
d14a1e28 RD |
15494 | { |
15495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15496 | (arg1)->SetUseAntiAliasing(arg2); |
d14a1e28 RD |
15497 | |
15498 | wxPyEndAllowThreads(__tstate); | |
15499 | if (PyErr_Occurred()) SWIG_fail; | |
15500 | } | |
15501 | Py_INCREF(Py_None); resultobj = Py_None; | |
15502 | return resultobj; | |
15503 | fail: | |
15504 | return NULL; | |
15505 | } | |
15506 | ||
15507 | ||
36ed4f51 | 15508 | static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15509 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15510 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15511 | bool result; | |
d14a1e28 RD |
15512 | PyObject * obj0 = 0 ; |
15513 | char *kwnames[] = { | |
36ed4f51 | 15514 | (char *) "self", NULL |
d14a1e28 RD |
15515 | }; |
15516 | ||
36ed4f51 RD |
15517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail; |
15518 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15519 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15520 | { |
15521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15522 | result = (bool)(arg1)->GetUseAntiAliasing(); |
d14a1e28 RD |
15523 | |
15524 | wxPyEndAllowThreads(__tstate); | |
15525 | if (PyErr_Occurred()) SWIG_fail; | |
15526 | } | |
36ed4f51 RD |
15527 | { |
15528 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15529 | } | |
d14a1e28 RD |
15530 | return resultobj; |
15531 | fail: | |
15532 | return NULL; | |
15533 | } | |
15534 | ||
15535 | ||
66af7a75 | 15536 | static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15537 | PyObject *resultobj = NULL; |
66af7a75 RD |
15538 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15539 | char *arg2 = (char *) 0 ; | |
15540 | PyObject * obj0 = 0 ; | |
15541 | PyObject * obj1 = 0 ; | |
15542 | char *kwnames[] = { | |
15543 | (char *) "self",(char *) "text", NULL | |
15544 | }; | |
15545 | ||
15546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15547 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15548 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15549 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15550 | SWIG_arg_fail(2);SWIG_fail; | |
15551 | } | |
15552 | { | |
15553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15554 | (arg1)->AddTextRaw((char const *)arg2); | |
15555 | ||
15556 | wxPyEndAllowThreads(__tstate); | |
15557 | if (PyErr_Occurred()) SWIG_fail; | |
15558 | } | |
15559 | Py_INCREF(Py_None); resultobj = Py_None; | |
15560 | return resultobj; | |
15561 | fail: | |
15562 | return NULL; | |
15563 | } | |
15564 | ||
15565 | ||
15566 | static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15567 | PyObject *resultobj = NULL; |
66af7a75 RD |
15568 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15569 | int arg2 ; | |
15570 | char *arg3 = (char *) 0 ; | |
15571 | PyObject * obj0 = 0 ; | |
15572 | PyObject * obj1 = 0 ; | |
15573 | PyObject * obj2 = 0 ; | |
15574 | char *kwnames[] = { | |
15575 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
15576 | }; | |
15577 | ||
15578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertTextRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15581 | { | |
32fe5131 | 15582 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
66af7a75 RD |
15583 | if (SWIG_arg_fail(2)) SWIG_fail; |
15584 | } | |
15585 | if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { | |
15586 | SWIG_arg_fail(3);SWIG_fail; | |
15587 | } | |
15588 | { | |
15589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15590 | (arg1)->InsertTextRaw(arg2,(char const *)arg3); | |
15591 | ||
15592 | wxPyEndAllowThreads(__tstate); | |
15593 | if (PyErr_Occurred()) SWIG_fail; | |
15594 | } | |
15595 | Py_INCREF(Py_None); resultobj = Py_None; | |
15596 | return resultobj; | |
15597 | fail: | |
15598 | return NULL; | |
15599 | } | |
15600 | ||
15601 | ||
15602 | static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15603 | PyObject *resultobj = NULL; |
66af7a75 RD |
15604 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15605 | int *arg2 = (int *) 0 ; | |
15606 | wxCharBuffer result; | |
15607 | int temp2 ; | |
15608 | int res2 = 0 ; | |
15609 | PyObject * obj0 = 0 ; | |
15610 | char *kwnames[] = { | |
15611 | (char *) "self", NULL | |
15612 | }; | |
15613 | ||
15614 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
15615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLineRaw",kwnames,&obj0)) goto fail; | |
15616 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15617 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15618 | { | |
15619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15620 | result = (arg1)->GetCurLineRaw(arg2); | |
15621 | ||
15622 | wxPyEndAllowThreads(__tstate); | |
15623 | if (PyErr_Occurred()) SWIG_fail; | |
15624 | } | |
15625 | { | |
15626 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15627 | } | |
15628 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
15629 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
15630 | return resultobj; | |
15631 | fail: | |
15632 | return NULL; | |
15633 | } | |
15634 | ||
15635 | ||
15636 | static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15637 | PyObject *resultobj = NULL; |
66af7a75 RD |
15638 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15639 | int arg2 ; | |
15640 | wxCharBuffer result; | |
15641 | PyObject * obj0 = 0 ; | |
15642 | PyObject * obj1 = 0 ; | |
15643 | char *kwnames[] = { | |
15644 | (char *) "self",(char *) "line", NULL | |
15645 | }; | |
15646 | ||
15647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineRaw",kwnames,&obj0,&obj1)) goto fail; | |
15648 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15649 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15650 | { | |
32fe5131 | 15651 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
66af7a75 RD |
15652 | if (SWIG_arg_fail(2)) SWIG_fail; |
15653 | } | |
15654 | { | |
15655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15656 | result = (arg1)->GetLineRaw(arg2); | |
15657 | ||
15658 | wxPyEndAllowThreads(__tstate); | |
15659 | if (PyErr_Occurred()) SWIG_fail; | |
15660 | } | |
15661 | { | |
15662 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15663 | } | |
15664 | return resultobj; | |
15665 | fail: | |
15666 | return NULL; | |
15667 | } | |
15668 | ||
15669 | ||
15670 | static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15671 | PyObject *resultobj = NULL; |
66af7a75 RD |
15672 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15673 | wxCharBuffer result; | |
15674 | PyObject * obj0 = 0 ; | |
15675 | char *kwnames[] = { | |
15676 | (char *) "self", NULL | |
15677 | }; | |
15678 | ||
15679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedTextRaw",kwnames,&obj0)) goto fail; | |
15680 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15681 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15682 | { | |
15683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15684 | result = (arg1)->GetSelectedTextRaw(); | |
15685 | ||
15686 | wxPyEndAllowThreads(__tstate); | |
15687 | if (PyErr_Occurred()) SWIG_fail; | |
15688 | } | |
15689 | { | |
15690 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15691 | } | |
15692 | return resultobj; | |
15693 | fail: | |
15694 | return NULL; | |
15695 | } | |
15696 | ||
15697 | ||
15698 | static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15699 | PyObject *resultobj = NULL; |
66af7a75 RD |
15700 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15701 | int arg2 ; | |
15702 | int arg3 ; | |
15703 | wxCharBuffer result; | |
15704 | PyObject * obj0 = 0 ; | |
15705 | PyObject * obj1 = 0 ; | |
15706 | PyObject * obj2 = 0 ; | |
15707 | char *kwnames[] = { | |
15708 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
15709 | }; | |
15710 | ||
15711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRangeRaw",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15712 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15713 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15714 | { | |
32fe5131 | 15715 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
66af7a75 RD |
15716 | if (SWIG_arg_fail(2)) SWIG_fail; |
15717 | } | |
15718 | { | |
32fe5131 | 15719 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
66af7a75 RD |
15720 | if (SWIG_arg_fail(3)) SWIG_fail; |
15721 | } | |
15722 | { | |
15723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15724 | result = (arg1)->GetTextRangeRaw(arg2,arg3); | |
15725 | ||
15726 | wxPyEndAllowThreads(__tstate); | |
15727 | if (PyErr_Occurred()) SWIG_fail; | |
15728 | } | |
15729 | { | |
15730 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15731 | } | |
15732 | return resultobj; | |
15733 | fail: | |
15734 | return NULL; | |
15735 | } | |
15736 | ||
15737 | ||
15738 | static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15739 | PyObject *resultobj = NULL; |
66af7a75 RD |
15740 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15741 | char *arg2 = (char *) 0 ; | |
15742 | PyObject * obj0 = 0 ; | |
15743 | PyObject * obj1 = 0 ; | |
15744 | char *kwnames[] = { | |
15745 | (char *) "self",(char *) "text", NULL | |
15746 | }; | |
15747 | ||
15748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15749 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15750 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15751 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15752 | SWIG_arg_fail(2);SWIG_fail; | |
15753 | } | |
15754 | { | |
15755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15756 | (arg1)->SetTextRaw((char const *)arg2); | |
15757 | ||
15758 | wxPyEndAllowThreads(__tstate); | |
15759 | if (PyErr_Occurred()) SWIG_fail; | |
15760 | } | |
15761 | Py_INCREF(Py_None); resultobj = Py_None; | |
15762 | return resultobj; | |
15763 | fail: | |
15764 | return NULL; | |
15765 | } | |
15766 | ||
15767 | ||
15768 | static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15769 | PyObject *resultobj = NULL; |
66af7a75 RD |
15770 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15771 | wxCharBuffer result; | |
15772 | PyObject * obj0 = 0 ; | |
15773 | char *kwnames[] = { | |
15774 | (char *) "self", NULL | |
15775 | }; | |
15776 | ||
15777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextRaw",kwnames,&obj0)) goto fail; | |
15778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15780 | { | |
15781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15782 | result = (arg1)->GetTextRaw(); | |
15783 | ||
15784 | wxPyEndAllowThreads(__tstate); | |
15785 | if (PyErr_Occurred()) SWIG_fail; | |
15786 | } | |
15787 | { | |
15788 | resultobj = PyString_FromString((char*)(&result)->data()); | |
15789 | } | |
15790 | return resultobj; | |
15791 | fail: | |
15792 | return NULL; | |
15793 | } | |
15794 | ||
15795 | ||
15796 | static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15797 | PyObject *resultobj = NULL; |
66af7a75 RD |
15798 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; |
15799 | char *arg2 = (char *) 0 ; | |
15800 | PyObject * obj0 = 0 ; | |
15801 | PyObject * obj1 = 0 ; | |
15802 | char *kwnames[] = { | |
15803 | (char *) "self",(char *) "text", NULL | |
15804 | }; | |
15805 | ||
15806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AppendTextRaw",kwnames,&obj0,&obj1)) goto fail; | |
15807 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); | |
15808 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15809 | if (!SWIG_AsCharPtr(obj1, (char**)&arg2)) { | |
15810 | SWIG_arg_fail(2);SWIG_fail; | |
15811 | } | |
15812 | { | |
15813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15814 | (arg1)->AppendTextRaw((char const *)arg2); | |
15815 | ||
15816 | wxPyEndAllowThreads(__tstate); | |
15817 | if (PyErr_Occurred()) SWIG_fail; | |
15818 | } | |
15819 | Py_INCREF(Py_None); resultobj = Py_None; | |
15820 | return resultobj; | |
15821 | fail: | |
15822 | return NULL; | |
15823 | } | |
15824 | ||
15825 | ||
36ed4f51 RD |
15826 | static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { |
15827 | PyObject *obj; | |
15828 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15829 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
15830 | Py_INCREF(obj); | |
15831 | return Py_BuildValue((char *)""); | |
15832 | } | |
15833 | static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 15834 | PyObject *resultobj = NULL; |
36ed4f51 RD |
15835 | wxEventType arg1 = (wxEventType) 0 ; |
15836 | int arg2 = (int) 0 ; | |
15837 | wxStyledTextEvent *result; | |
d14a1e28 | 15838 | PyObject * obj0 = 0 ; |
994141e6 | 15839 | PyObject * obj1 = 0 ; |
d14a1e28 | 15840 | char *kwnames[] = { |
36ed4f51 | 15841 | (char *) "commandType",(char *) "id", NULL |
d14a1e28 RD |
15842 | }; |
15843 | ||
36ed4f51 RD |
15844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail; |
15845 | if (obj0) { | |
15846 | { | |
32fe5131 | 15847 | arg1 = static_cast<wxEventType >(SWIG_As_int(obj0)); |
36ed4f51 RD |
15848 | if (SWIG_arg_fail(1)) SWIG_fail; |
15849 | } | |
15850 | } | |
15851 | if (obj1) { | |
15852 | { | |
32fe5131 | 15853 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15854 | if (SWIG_arg_fail(2)) SWIG_fail; |
15855 | } | |
15856 | } | |
d14a1e28 RD |
15857 | { |
15858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15859 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); |
d14a1e28 RD |
15860 | |
15861 | wxPyEndAllowThreads(__tstate); | |
15862 | if (PyErr_Occurred()) SWIG_fail; | |
15863 | } | |
36ed4f51 | 15864 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1); |
d14a1e28 RD |
15865 | return resultobj; |
15866 | fail: | |
15867 | return NULL; | |
15868 | } | |
15869 | ||
15870 | ||
36ed4f51 | 15871 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15872 | PyObject *resultobj = NULL; |
d14a1e28 | 15873 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
d14a1e28 RD |
15874 | PyObject * obj0 = 0 ; |
15875 | char *kwnames[] = { | |
36ed4f51 | 15876 | (char *) "self", NULL |
d14a1e28 RD |
15877 | }; |
15878 | ||
36ed4f51 RD |
15879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; |
15880 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15881 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
15882 | { |
15883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15884 | delete arg1; |
d14a1e28 RD |
15885 | |
15886 | wxPyEndAllowThreads(__tstate); | |
15887 | if (PyErr_Occurred()) SWIG_fail; | |
15888 | } | |
15889 | Py_INCREF(Py_None); resultobj = Py_None; | |
15890 | return resultobj; | |
15891 | fail: | |
15892 | return NULL; | |
15893 | } | |
15894 | ||
15895 | ||
36ed4f51 | 15896 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15897 | PyObject *resultobj = NULL; |
d14a1e28 | 15898 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 15899 | int arg2 ; |
d14a1e28 RD |
15900 | PyObject * obj0 = 0 ; |
15901 | PyObject * obj1 = 0 ; | |
15902 | char *kwnames[] = { | |
36ed4f51 | 15903 | (char *) "self",(char *) "pos", NULL |
d14a1e28 RD |
15904 | }; |
15905 | ||
36ed4f51 RD |
15906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; |
15907 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15908 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 | 15909 | { |
32fe5131 | 15910 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 | 15911 | if (SWIG_arg_fail(2)) SWIG_fail; |
d14a1e28 RD |
15912 | } |
15913 | { | |
15914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15915 | (arg1)->SetPosition(arg2); |
d14a1e28 RD |
15916 | |
15917 | wxPyEndAllowThreads(__tstate); | |
15918 | if (PyErr_Occurred()) SWIG_fail; | |
15919 | } | |
15920 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
15921 | return resultobj; |
15922 | fail: | |
d14a1e28 RD |
15923 | return NULL; |
15924 | } | |
15925 | ||
15926 | ||
36ed4f51 | 15927 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15928 | PyObject *resultobj = NULL; |
d14a1e28 | 15929 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 15930 | int arg2 ; |
d14a1e28 RD |
15931 | PyObject * obj0 = 0 ; |
15932 | PyObject * obj1 = 0 ; | |
15933 | char *kwnames[] = { | |
36ed4f51 | 15934 | (char *) "self",(char *) "k", NULL |
d14a1e28 RD |
15935 | }; |
15936 | ||
36ed4f51 RD |
15937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail; |
15938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15940 | { | |
32fe5131 | 15941 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15942 | if (SWIG_arg_fail(2)) SWIG_fail; |
15943 | } | |
d14a1e28 RD |
15944 | { |
15945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15946 | (arg1)->SetKey(arg2); |
d14a1e28 RD |
15947 | |
15948 | wxPyEndAllowThreads(__tstate); | |
15949 | if (PyErr_Occurred()) SWIG_fail; | |
15950 | } | |
15951 | Py_INCREF(Py_None); resultobj = Py_None; | |
15952 | return resultobj; | |
15953 | fail: | |
15954 | return NULL; | |
15955 | } | |
15956 | ||
15957 | ||
36ed4f51 | 15958 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15959 | PyObject *resultobj = NULL; |
d14a1e28 | 15960 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
96b3fa7c | 15961 | int arg2 ; |
d14a1e28 RD |
15962 | PyObject * obj0 = 0 ; |
15963 | PyObject * obj1 = 0 ; | |
15964 | char *kwnames[] = { | |
36ed4f51 | 15965 | (char *) "self",(char *) "m", NULL |
d14a1e28 RD |
15966 | }; |
15967 | ||
36ed4f51 RD |
15968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail; |
15969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
15970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
15971 | { | |
32fe5131 | 15972 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
15973 | if (SWIG_arg_fail(2)) SWIG_fail; |
15974 | } | |
d14a1e28 RD |
15975 | { |
15976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 15977 | (arg1)->SetModifiers(arg2); |
d14a1e28 RD |
15978 | |
15979 | wxPyEndAllowThreads(__tstate); | |
15980 | if (PyErr_Occurred()) SWIG_fail; | |
15981 | } | |
15982 | Py_INCREF(Py_None); resultobj = Py_None; | |
15983 | return resultobj; | |
15984 | fail: | |
15985 | return NULL; | |
15986 | } | |
15987 | ||
15988 | ||
36ed4f51 | 15989 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 15990 | PyObject *resultobj = NULL; |
d14a1e28 | 15991 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 15992 | int arg2 ; |
d14a1e28 | 15993 | PyObject * obj0 = 0 ; |
36ed4f51 | 15994 | PyObject * obj1 = 0 ; |
d14a1e28 | 15995 | char *kwnames[] = { |
36ed4f51 | 15996 | (char *) "self",(char *) "t", NULL |
d14a1e28 RD |
15997 | }; |
15998 | ||
36ed4f51 RD |
15999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail; |
16000 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16001 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16002 | { | |
32fe5131 | 16003 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16004 | if (SWIG_arg_fail(2)) SWIG_fail; |
16005 | } | |
d14a1e28 RD |
16006 | { |
16007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16008 | (arg1)->SetModificationType(arg2); |
d14a1e28 RD |
16009 | |
16010 | wxPyEndAllowThreads(__tstate); | |
16011 | if (PyErr_Occurred()) SWIG_fail; | |
16012 | } | |
36ed4f51 | 16013 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16014 | return resultobj; |
16015 | fail: | |
16016 | return NULL; | |
16017 | } | |
16018 | ||
16019 | ||
36ed4f51 | 16020 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16021 | PyObject *resultobj = NULL; |
d14a1e28 | 16022 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 RD |
16023 | wxString *arg2 = 0 ; |
16024 | bool temp2 = false ; | |
d14a1e28 | 16025 | PyObject * obj0 = 0 ; |
36ed4f51 | 16026 | PyObject * obj1 = 0 ; |
d14a1e28 | 16027 | char *kwnames[] = { |
36ed4f51 | 16028 | (char *) "self",(char *) "t", NULL |
d14a1e28 RD |
16029 | }; |
16030 | ||
36ed4f51 RD |
16031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; |
16032 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16033 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16034 | { | |
16035 | arg2 = wxString_in_helper(obj1); | |
16036 | if (arg2 == NULL) SWIG_fail; | |
16037 | temp2 = true; | |
16038 | } | |
d14a1e28 RD |
16039 | { |
16040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16041 | (arg1)->SetText((wxString const &)*arg2); |
d14a1e28 RD |
16042 | |
16043 | wxPyEndAllowThreads(__tstate); | |
16044 | if (PyErr_Occurred()) SWIG_fail; | |
16045 | } | |
36ed4f51 RD |
16046 | Py_INCREF(Py_None); resultobj = Py_None; |
16047 | { | |
16048 | if (temp2) | |
16049 | delete arg2; | |
16050 | } | |
16051 | return resultobj; | |
16052 | fail: | |
16053 | { | |
16054 | if (temp2) | |
16055 | delete arg2; | |
16056 | } | |
d14a1e28 RD |
16057 | return NULL; |
16058 | } | |
16059 | ||
16060 | ||
36ed4f51 | 16061 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16062 | PyObject *resultobj = NULL; |
d14a1e28 | 16063 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16064 | int arg2 ; |
d14a1e28 | 16065 | PyObject * obj0 = 0 ; |
36ed4f51 | 16066 | PyObject * obj1 = 0 ; |
d14a1e28 | 16067 | char *kwnames[] = { |
36ed4f51 | 16068 | (char *) "self",(char *) "len", NULL |
d14a1e28 RD |
16069 | }; |
16070 | ||
36ed4f51 RD |
16071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail; |
16072 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16073 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16074 | { | |
32fe5131 | 16075 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16076 | if (SWIG_arg_fail(2)) SWIG_fail; |
16077 | } | |
d14a1e28 RD |
16078 | { |
16079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16080 | (arg1)->SetLength(arg2); |
d14a1e28 RD |
16081 | |
16082 | wxPyEndAllowThreads(__tstate); | |
16083 | if (PyErr_Occurred()) SWIG_fail; | |
16084 | } | |
36ed4f51 | 16085 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16086 | return resultobj; |
16087 | fail: | |
16088 | return NULL; | |
16089 | } | |
16090 | ||
16091 | ||
36ed4f51 | 16092 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16093 | PyObject *resultobj = NULL; |
d14a1e28 | 16094 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16095 | int arg2 ; |
d14a1e28 | 16096 | PyObject * obj0 = 0 ; |
36ed4f51 | 16097 | PyObject * obj1 = 0 ; |
d14a1e28 | 16098 | char *kwnames[] = { |
36ed4f51 | 16099 | (char *) "self",(char *) "num", NULL |
d14a1e28 RD |
16100 | }; |
16101 | ||
36ed4f51 RD |
16102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail; |
16103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16105 | { | |
32fe5131 | 16106 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16107 | if (SWIG_arg_fail(2)) SWIG_fail; |
16108 | } | |
d14a1e28 RD |
16109 | { |
16110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16111 | (arg1)->SetLinesAdded(arg2); |
d14a1e28 RD |
16112 | |
16113 | wxPyEndAllowThreads(__tstate); | |
16114 | if (PyErr_Occurred()) SWIG_fail; | |
16115 | } | |
36ed4f51 | 16116 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16117 | return resultobj; |
16118 | fail: | |
16119 | return NULL; | |
16120 | } | |
16121 | ||
16122 | ||
36ed4f51 | 16123 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16124 | PyObject *resultobj = NULL; |
d14a1e28 | 16125 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16126 | int arg2 ; |
d14a1e28 | 16127 | PyObject * obj0 = 0 ; |
36ed4f51 | 16128 | PyObject * obj1 = 0 ; |
d14a1e28 | 16129 | char *kwnames[] = { |
36ed4f51 | 16130 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16131 | }; |
16132 | ||
36ed4f51 RD |
16133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail; |
16134 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16135 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16136 | { | |
32fe5131 | 16137 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16138 | if (SWIG_arg_fail(2)) SWIG_fail; |
16139 | } | |
d14a1e28 RD |
16140 | { |
16141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16142 | (arg1)->SetLine(arg2); |
d14a1e28 RD |
16143 | |
16144 | wxPyEndAllowThreads(__tstate); | |
16145 | if (PyErr_Occurred()) SWIG_fail; | |
16146 | } | |
36ed4f51 | 16147 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16148 | return resultobj; |
16149 | fail: | |
16150 | return NULL; | |
16151 | } | |
16152 | ||
16153 | ||
36ed4f51 | 16154 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16155 | PyObject *resultobj = NULL; |
d14a1e28 | 16156 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16157 | int arg2 ; |
d14a1e28 | 16158 | PyObject * obj0 = 0 ; |
36ed4f51 | 16159 | PyObject * obj1 = 0 ; |
d14a1e28 | 16160 | char *kwnames[] = { |
36ed4f51 | 16161 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16162 | }; |
16163 | ||
36ed4f51 RD |
16164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail; |
16165 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16166 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16167 | { | |
32fe5131 | 16168 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16169 | if (SWIG_arg_fail(2)) SWIG_fail; |
16170 | } | |
d14a1e28 RD |
16171 | { |
16172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16173 | (arg1)->SetFoldLevelNow(arg2); |
d14a1e28 RD |
16174 | |
16175 | wxPyEndAllowThreads(__tstate); | |
16176 | if (PyErr_Occurred()) SWIG_fail; | |
16177 | } | |
36ed4f51 | 16178 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16179 | return resultobj; |
16180 | fail: | |
16181 | return NULL; | |
16182 | } | |
16183 | ||
16184 | ||
36ed4f51 | 16185 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16186 | PyObject *resultobj = NULL; |
d14a1e28 | 16187 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16188 | int arg2 ; |
d14a1e28 | 16189 | PyObject * obj0 = 0 ; |
36ed4f51 | 16190 | PyObject * obj1 = 0 ; |
d14a1e28 | 16191 | char *kwnames[] = { |
36ed4f51 | 16192 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16193 | }; |
16194 | ||
36ed4f51 RD |
16195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail; |
16196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16198 | { | |
32fe5131 | 16199 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16200 | if (SWIG_arg_fail(2)) SWIG_fail; |
16201 | } | |
d14a1e28 RD |
16202 | { |
16203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16204 | (arg1)->SetFoldLevelPrev(arg2); |
d14a1e28 RD |
16205 | |
16206 | wxPyEndAllowThreads(__tstate); | |
16207 | if (PyErr_Occurred()) SWIG_fail; | |
16208 | } | |
36ed4f51 | 16209 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16210 | return resultobj; |
16211 | fail: | |
16212 | return NULL; | |
16213 | } | |
16214 | ||
16215 | ||
36ed4f51 | 16216 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16217 | PyObject *resultobj = NULL; |
d14a1e28 | 16218 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16219 | int arg2 ; |
d14a1e28 | 16220 | PyObject * obj0 = 0 ; |
36ed4f51 | 16221 | PyObject * obj1 = 0 ; |
d14a1e28 | 16222 | char *kwnames[] = { |
36ed4f51 | 16223 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16224 | }; |
16225 | ||
36ed4f51 RD |
16226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail; |
16227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16229 | { | |
32fe5131 | 16230 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16231 | if (SWIG_arg_fail(2)) SWIG_fail; |
16232 | } | |
d14a1e28 RD |
16233 | { |
16234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16235 | (arg1)->SetMargin(arg2); |
d14a1e28 RD |
16236 | |
16237 | wxPyEndAllowThreads(__tstate); | |
16238 | if (PyErr_Occurred()) SWIG_fail; | |
16239 | } | |
36ed4f51 | 16240 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16241 | return resultobj; |
16242 | fail: | |
16243 | return NULL; | |
16244 | } | |
16245 | ||
16246 | ||
36ed4f51 | 16247 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16248 | PyObject *resultobj = NULL; |
d14a1e28 | 16249 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16250 | int arg2 ; |
d14a1e28 | 16251 | PyObject * obj0 = 0 ; |
36ed4f51 | 16252 | PyObject * obj1 = 0 ; |
d14a1e28 | 16253 | char *kwnames[] = { |
36ed4f51 | 16254 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16255 | }; |
16256 | ||
36ed4f51 RD |
16257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail; |
16258 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16259 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16260 | { | |
32fe5131 | 16261 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16262 | if (SWIG_arg_fail(2)) SWIG_fail; |
16263 | } | |
d14a1e28 RD |
16264 | { |
16265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16266 | (arg1)->SetMessage(arg2); |
d14a1e28 RD |
16267 | |
16268 | wxPyEndAllowThreads(__tstate); | |
16269 | if (PyErr_Occurred()) SWIG_fail; | |
16270 | } | |
36ed4f51 | 16271 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16272 | return resultobj; |
16273 | fail: | |
16274 | return NULL; | |
16275 | } | |
16276 | ||
16277 | ||
36ed4f51 | 16278 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16279 | PyObject *resultobj = NULL; |
d14a1e28 | 16280 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16281 | int arg2 ; |
d14a1e28 | 16282 | PyObject * obj0 = 0 ; |
36ed4f51 | 16283 | PyObject * obj1 = 0 ; |
d14a1e28 | 16284 | char *kwnames[] = { |
36ed4f51 | 16285 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16286 | }; |
16287 | ||
36ed4f51 RD |
16288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail; |
16289 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16290 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16291 | { | |
32fe5131 | 16292 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16293 | if (SWIG_arg_fail(2)) SWIG_fail; |
16294 | } | |
d14a1e28 RD |
16295 | { |
16296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16297 | (arg1)->SetWParam(arg2); |
d14a1e28 RD |
16298 | |
16299 | wxPyEndAllowThreads(__tstate); | |
16300 | if (PyErr_Occurred()) SWIG_fail; | |
16301 | } | |
36ed4f51 | 16302 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16303 | return resultobj; |
16304 | fail: | |
16305 | return NULL; | |
16306 | } | |
16307 | ||
16308 | ||
36ed4f51 | 16309 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16310 | PyObject *resultobj = NULL; |
d14a1e28 | 16311 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16312 | int arg2 ; |
d14a1e28 | 16313 | PyObject * obj0 = 0 ; |
36ed4f51 | 16314 | PyObject * obj1 = 0 ; |
d14a1e28 | 16315 | char *kwnames[] = { |
36ed4f51 | 16316 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16317 | }; |
16318 | ||
36ed4f51 RD |
16319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail; |
16320 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16321 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16322 | { | |
32fe5131 | 16323 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16324 | if (SWIG_arg_fail(2)) SWIG_fail; |
16325 | } | |
d14a1e28 RD |
16326 | { |
16327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16328 | (arg1)->SetLParam(arg2); |
d14a1e28 RD |
16329 | |
16330 | wxPyEndAllowThreads(__tstate); | |
16331 | if (PyErr_Occurred()) SWIG_fail; | |
16332 | } | |
36ed4f51 | 16333 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16334 | return resultobj; |
16335 | fail: | |
16336 | return NULL; | |
16337 | } | |
16338 | ||
16339 | ||
36ed4f51 | 16340 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16341 | PyObject *resultobj = NULL; |
d14a1e28 | 16342 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16343 | int arg2 ; |
d14a1e28 | 16344 | PyObject * obj0 = 0 ; |
36ed4f51 | 16345 | PyObject * obj1 = 0 ; |
d14a1e28 | 16346 | char *kwnames[] = { |
36ed4f51 | 16347 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16348 | }; |
16349 | ||
36ed4f51 RD |
16350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail; |
16351 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16352 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16353 | { | |
32fe5131 | 16354 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16355 | if (SWIG_arg_fail(2)) SWIG_fail; |
16356 | } | |
d14a1e28 RD |
16357 | { |
16358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16359 | (arg1)->SetListType(arg2); |
d14a1e28 RD |
16360 | |
16361 | wxPyEndAllowThreads(__tstate); | |
16362 | if (PyErr_Occurred()) SWIG_fail; | |
16363 | } | |
36ed4f51 | 16364 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16365 | return resultobj; |
16366 | fail: | |
16367 | return NULL; | |
16368 | } | |
16369 | ||
16370 | ||
36ed4f51 | 16371 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16372 | PyObject *resultobj = NULL; |
d14a1e28 | 16373 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16374 | int arg2 ; |
d14a1e28 | 16375 | PyObject * obj0 = 0 ; |
36ed4f51 | 16376 | PyObject * obj1 = 0 ; |
d14a1e28 | 16377 | char *kwnames[] = { |
36ed4f51 | 16378 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16379 | }; |
16380 | ||
36ed4f51 RD |
16381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail; |
16382 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16383 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16384 | { | |
32fe5131 | 16385 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16386 | if (SWIG_arg_fail(2)) SWIG_fail; |
16387 | } | |
d14a1e28 RD |
16388 | { |
16389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16390 | (arg1)->SetX(arg2); |
d14a1e28 RD |
16391 | |
16392 | wxPyEndAllowThreads(__tstate); | |
16393 | if (PyErr_Occurred()) SWIG_fail; | |
16394 | } | |
36ed4f51 | 16395 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16396 | return resultobj; |
16397 | fail: | |
16398 | return NULL; | |
16399 | } | |
16400 | ||
16401 | ||
36ed4f51 | 16402 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16403 | PyObject *resultobj = NULL; |
d14a1e28 | 16404 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16405 | int arg2 ; |
d14a1e28 | 16406 | PyObject * obj0 = 0 ; |
36ed4f51 | 16407 | PyObject * obj1 = 0 ; |
d14a1e28 | 16408 | char *kwnames[] = { |
36ed4f51 | 16409 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16410 | }; |
16411 | ||
36ed4f51 RD |
16412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail; |
16413 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16414 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16415 | { | |
32fe5131 | 16416 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16417 | if (SWIG_arg_fail(2)) SWIG_fail; |
16418 | } | |
d14a1e28 RD |
16419 | { |
16420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16421 | (arg1)->SetY(arg2); |
d14a1e28 RD |
16422 | |
16423 | wxPyEndAllowThreads(__tstate); | |
16424 | if (PyErr_Occurred()) SWIG_fail; | |
16425 | } | |
36ed4f51 | 16426 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16427 | return resultobj; |
16428 | fail: | |
16429 | return NULL; | |
16430 | } | |
16431 | ||
16432 | ||
36ed4f51 | 16433 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16434 | PyObject *resultobj = NULL; |
d14a1e28 | 16435 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 RD |
16436 | wxString *arg2 = 0 ; |
16437 | bool temp2 = false ; | |
d14a1e28 | 16438 | PyObject * obj0 = 0 ; |
36ed4f51 | 16439 | PyObject * obj1 = 0 ; |
d14a1e28 | 16440 | char *kwnames[] = { |
36ed4f51 | 16441 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16442 | }; |
16443 | ||
36ed4f51 RD |
16444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; |
16445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16447 | { | |
16448 | arg2 = wxString_in_helper(obj1); | |
16449 | if (arg2 == NULL) SWIG_fail; | |
16450 | temp2 = true; | |
16451 | } | |
d14a1e28 RD |
16452 | { |
16453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16454 | (arg1)->SetDragText((wxString const &)*arg2); |
d14a1e28 RD |
16455 | |
16456 | wxPyEndAllowThreads(__tstate); | |
16457 | if (PyErr_Occurred()) SWIG_fail; | |
16458 | } | |
36ed4f51 RD |
16459 | Py_INCREF(Py_None); resultobj = Py_None; |
16460 | { | |
16461 | if (temp2) | |
16462 | delete arg2; | |
16463 | } | |
d14a1e28 RD |
16464 | return resultobj; |
16465 | fail: | |
36ed4f51 RD |
16466 | { |
16467 | if (temp2) | |
16468 | delete arg2; | |
16469 | } | |
d14a1e28 RD |
16470 | return NULL; |
16471 | } | |
16472 | ||
16473 | ||
36ed4f51 | 16474 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16475 | PyObject *resultobj = NULL; |
d14a1e28 | 16476 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16477 | bool arg2 ; |
d14a1e28 | 16478 | PyObject * obj0 = 0 ; |
36ed4f51 | 16479 | PyObject * obj1 = 0 ; |
d14a1e28 | 16480 | char *kwnames[] = { |
36ed4f51 | 16481 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16482 | }; |
16483 | ||
36ed4f51 RD |
16484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; |
16485 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16486 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16487 | { | |
32fe5131 | 16488 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
36ed4f51 RD |
16489 | if (SWIG_arg_fail(2)) SWIG_fail; |
16490 | } | |
d14a1e28 RD |
16491 | { |
16492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16493 | (arg1)->SetDragAllowMove(arg2); |
d14a1e28 RD |
16494 | |
16495 | wxPyEndAllowThreads(__tstate); | |
16496 | if (PyErr_Occurred()) SWIG_fail; | |
16497 | } | |
36ed4f51 | 16498 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16499 | return resultobj; |
16500 | fail: | |
16501 | return NULL; | |
16502 | } | |
16503 | ||
16504 | ||
36ed4f51 | 16505 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16506 | PyObject *resultobj = NULL; |
d14a1e28 | 16507 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16508 | wxDragResult arg2 ; |
d14a1e28 | 16509 | PyObject * obj0 = 0 ; |
36ed4f51 | 16510 | PyObject * obj1 = 0 ; |
d14a1e28 | 16511 | char *kwnames[] = { |
36ed4f51 | 16512 | (char *) "self",(char *) "val", NULL |
d14a1e28 RD |
16513 | }; |
16514 | ||
36ed4f51 RD |
16515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; |
16516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16518 | { | |
32fe5131 | 16519 | arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1)); |
36ed4f51 RD |
16520 | if (SWIG_arg_fail(2)) SWIG_fail; |
16521 | } | |
d14a1e28 RD |
16522 | { |
16523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
32fe5131 | 16524 | (arg1)->SetDragResult(arg2); |
d14a1e28 RD |
16525 | |
16526 | wxPyEndAllowThreads(__tstate); | |
16527 | if (PyErr_Occurred()) SWIG_fail; | |
16528 | } | |
36ed4f51 | 16529 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 RD |
16530 | return resultobj; |
16531 | fail: | |
16532 | return NULL; | |
16533 | } | |
16534 | ||
16535 | ||
36ed4f51 | 16536 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16537 | PyObject *resultobj = NULL; |
d14a1e28 | 16538 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16539 | int result; |
d14a1e28 RD |
16540 | PyObject * obj0 = 0 ; |
16541 | char *kwnames[] = { | |
16542 | (char *) "self", NULL | |
16543 | }; | |
16544 | ||
36ed4f51 RD |
16545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; |
16546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16548 | { |
16549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16550 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); |
d14a1e28 RD |
16551 | |
16552 | wxPyEndAllowThreads(__tstate); | |
16553 | if (PyErr_Occurred()) SWIG_fail; | |
16554 | } | |
16555 | { | |
32fe5131 | 16556 | resultobj = SWIG_From_int(static_cast<int >(result)); |
d14a1e28 RD |
16557 | } |
16558 | return resultobj; | |
16559 | fail: | |
16560 | return NULL; | |
16561 | } | |
16562 | ||
16563 | ||
36ed4f51 | 16564 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16565 | PyObject *resultobj = NULL; |
d14a1e28 | 16566 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16567 | int result; |
d14a1e28 RD |
16568 | PyObject * obj0 = 0 ; |
16569 | char *kwnames[] = { | |
16570 | (char *) "self", NULL | |
16571 | }; | |
16572 | ||
36ed4f51 RD |
16573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; |
16574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16576 | { |
16577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16578 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); |
d14a1e28 RD |
16579 | |
16580 | wxPyEndAllowThreads(__tstate); | |
16581 | if (PyErr_Occurred()) SWIG_fail; | |
16582 | } | |
4f89f6a3 | 16583 | { |
32fe5131 | 16584 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 16585 | } |
d14a1e28 RD |
16586 | return resultobj; |
16587 | fail: | |
16588 | return NULL; | |
16589 | } | |
16590 | ||
16591 | ||
36ed4f51 | 16592 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16593 | PyObject *resultobj = NULL; |
d14a1e28 | 16594 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
96b3fa7c | 16595 | int result; |
d14a1e28 RD |
16596 | PyObject * obj0 = 0 ; |
16597 | char *kwnames[] = { | |
16598 | (char *) "self", NULL | |
16599 | }; | |
16600 | ||
36ed4f51 RD |
16601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; |
16602 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16603 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16604 | { |
16605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16606 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); |
d14a1e28 RD |
16607 | |
16608 | wxPyEndAllowThreads(__tstate); | |
16609 | if (PyErr_Occurred()) SWIG_fail; | |
16610 | } | |
36ed4f51 | 16611 | { |
32fe5131 | 16612 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 16613 | } |
d14a1e28 RD |
16614 | return resultobj; |
16615 | fail: | |
16616 | return NULL; | |
16617 | } | |
16618 | ||
16619 | ||
36ed4f51 | 16620 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16621 | PyObject *resultobj = NULL; |
d14a1e28 | 16622 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16623 | int result; |
d14a1e28 RD |
16624 | PyObject * obj0 = 0 ; |
16625 | char *kwnames[] = { | |
16626 | (char *) "self", NULL | |
16627 | }; | |
16628 | ||
36ed4f51 RD |
16629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; |
16630 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16631 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16632 | { |
16633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16634 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); |
d14a1e28 RD |
16635 | |
16636 | wxPyEndAllowThreads(__tstate); | |
16637 | if (PyErr_Occurred()) SWIG_fail; | |
16638 | } | |
4f89f6a3 | 16639 | { |
32fe5131 | 16640 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 16641 | } |
d14a1e28 RD |
16642 | return resultobj; |
16643 | fail: | |
16644 | return NULL; | |
16645 | } | |
16646 | ||
16647 | ||
36ed4f51 | 16648 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16649 | PyObject *resultobj = NULL; |
d14a1e28 | 16650 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16651 | wxString result; |
d14a1e28 RD |
16652 | PyObject * obj0 = 0 ; |
16653 | char *kwnames[] = { | |
16654 | (char *) "self", NULL | |
16655 | }; | |
16656 | ||
36ed4f51 RD |
16657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; |
16658 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16659 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16660 | { |
16661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16662 | result = ((wxStyledTextEvent const *)arg1)->GetText(); |
d14a1e28 RD |
16663 | |
16664 | wxPyEndAllowThreads(__tstate); | |
16665 | if (PyErr_Occurred()) SWIG_fail; | |
16666 | } | |
4f89f6a3 | 16667 | { |
36ed4f51 RD |
16668 | #if wxUSE_UNICODE |
16669 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
16670 | #else | |
16671 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
16672 | #endif | |
4f89f6a3 | 16673 | } |
d14a1e28 RD |
16674 | return resultobj; |
16675 | fail: | |
16676 | return NULL; | |
16677 | } | |
16678 | ||
16679 | ||
36ed4f51 | 16680 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16681 | PyObject *resultobj = NULL; |
d14a1e28 | 16682 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16683 | int result; |
d14a1e28 RD |
16684 | PyObject * obj0 = 0 ; |
16685 | char *kwnames[] = { | |
16686 | (char *) "self", NULL | |
16687 | }; | |
16688 | ||
36ed4f51 RD |
16689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; |
16690 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16691 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16692 | { |
16693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16694 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); |
d14a1e28 RD |
16695 | |
16696 | wxPyEndAllowThreads(__tstate); | |
16697 | if (PyErr_Occurred()) SWIG_fail; | |
16698 | } | |
4f89f6a3 | 16699 | { |
32fe5131 | 16700 | resultobj = SWIG_From_int(static_cast<int >(result)); |
4f89f6a3 | 16701 | } |
d14a1e28 RD |
16702 | return resultobj; |
16703 | fail: | |
16704 | return NULL; | |
16705 | } | |
16706 | ||
16707 | ||
36ed4f51 | 16708 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16709 | PyObject *resultobj = NULL; |
d14a1e28 | 16710 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
36ed4f51 | 16711 | int result; |
d14a1e28 RD |
16712 | PyObject * obj0 = 0 ; |
16713 | char *kwnames[] = { | |
16714 | (char *) "self", NULL | |
16715 | }; | |
16716 | ||
36ed4f51 RD |
16717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; |
16718 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16719 | if (SWIG_arg_fail(1)) SWIG_fail; | |
d14a1e28 RD |
16720 | { |
16721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
36ed4f51 | 16722 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); |
d14a1e28 RD |
16723 | |
16724 | wxPyEndAllowThreads(__tstate); | |
16725 | if (PyErr_Occurred()) SWIG_fail; | |
16726 | } | |
36ed4f51 | 16727 | { |
32fe5131 | 16728 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 | 16729 | } |
d14a1e28 RD |
16730 | return resultobj; |
16731 | fail: | |
16732 | return NULL; | |
16733 | } | |
16734 | ||
16735 | ||
36ed4f51 | 16736 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16737 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16738 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16739 | int result; | |
16740 | PyObject * obj0 = 0 ; | |
16741 | char *kwnames[] = { | |
16742 | (char *) "self", NULL | |
16743 | }; | |
16744 | ||
16745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
16746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16748 | { | |
16749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16750 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
16751 | ||
16752 | wxPyEndAllowThreads(__tstate); | |
16753 | if (PyErr_Occurred()) SWIG_fail; | |
16754 | } | |
16755 | { | |
32fe5131 | 16756 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16757 | } |
16758 | return resultobj; | |
16759 | fail: | |
16760 | return NULL; | |
d14a1e28 | 16761 | } |
d14a1e28 RD |
16762 | |
16763 | ||
36ed4f51 | 16764 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { |
32fe5131 | 16765 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16766 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16767 | int result; | |
16768 | PyObject * obj0 = 0 ; | |
16769 | char *kwnames[] = { | |
16770 | (char *) "self", NULL | |
16771 | }; | |
16772 | ||
16773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
16774 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16775 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16776 | { | |
16777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16778 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
16779 | ||
16780 | wxPyEndAllowThreads(__tstate); | |
16781 | if (PyErr_Occurred()) SWIG_fail; | |
16782 | } | |
16783 | { | |
32fe5131 | 16784 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16785 | } |
16786 | return resultobj; | |
16787 | fail: | |
16788 | return NULL; | |
d14a1e28 | 16789 | } |
36ed4f51 RD |
16790 | |
16791 | ||
16792 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16793 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16794 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16795 | int result; | |
16796 | PyObject * obj0 = 0 ; | |
16797 | char *kwnames[] = { | |
16798 | (char *) "self", NULL | |
16799 | }; | |
16800 | ||
16801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
16802 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16803 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16804 | { | |
16805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16806 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
16807 | ||
16808 | wxPyEndAllowThreads(__tstate); | |
16809 | if (PyErr_Occurred()) SWIG_fail; | |
16810 | } | |
16811 | { | |
32fe5131 | 16812 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16813 | } |
16814 | return resultobj; | |
16815 | fail: | |
16816 | return NULL; | |
d14a1e28 | 16817 | } |
36ed4f51 RD |
16818 | |
16819 | ||
16820 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16821 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16822 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16823 | int result; | |
16824 | PyObject * obj0 = 0 ; | |
16825 | char *kwnames[] = { | |
16826 | (char *) "self", NULL | |
16827 | }; | |
16828 | ||
16829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
16830 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16831 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16832 | { | |
16833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16834 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
16835 | ||
16836 | wxPyEndAllowThreads(__tstate); | |
16837 | if (PyErr_Occurred()) SWIG_fail; | |
16838 | } | |
16839 | { | |
32fe5131 | 16840 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16841 | } |
16842 | return resultobj; | |
16843 | fail: | |
16844 | return NULL; | |
d14a1e28 | 16845 | } |
36ed4f51 RD |
16846 | |
16847 | ||
16848 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16849 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16850 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16851 | int result; | |
16852 | PyObject * obj0 = 0 ; | |
16853 | char *kwnames[] = { | |
16854 | (char *) "self", NULL | |
16855 | }; | |
16856 | ||
16857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
16858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16860 | { | |
16861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16862 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
16863 | ||
16864 | wxPyEndAllowThreads(__tstate); | |
16865 | if (PyErr_Occurred()) SWIG_fail; | |
16866 | } | |
16867 | { | |
32fe5131 | 16868 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16869 | } |
16870 | return resultobj; | |
16871 | fail: | |
16872 | return NULL; | |
d14a1e28 | 16873 | } |
36ed4f51 RD |
16874 | |
16875 | ||
16876 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16877 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16878 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16879 | int result; | |
16880 | PyObject * obj0 = 0 ; | |
16881 | char *kwnames[] = { | |
16882 | (char *) "self", NULL | |
16883 | }; | |
16884 | ||
16885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
16886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16888 | { | |
16889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16890 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
16891 | ||
16892 | wxPyEndAllowThreads(__tstate); | |
16893 | if (PyErr_Occurred()) SWIG_fail; | |
16894 | } | |
16895 | { | |
32fe5131 | 16896 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16897 | } |
16898 | return resultobj; | |
16899 | fail: | |
16900 | return NULL; | |
d14a1e28 | 16901 | } |
36ed4f51 RD |
16902 | |
16903 | ||
16904 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16905 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16906 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16907 | int result; | |
16908 | PyObject * obj0 = 0 ; | |
16909 | char *kwnames[] = { | |
16910 | (char *) "self", NULL | |
16911 | }; | |
16912 | ||
16913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
16914 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16915 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16916 | { | |
16917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16918 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
16919 | ||
16920 | wxPyEndAllowThreads(__tstate); | |
16921 | if (PyErr_Occurred()) SWIG_fail; | |
16922 | } | |
16923 | { | |
32fe5131 | 16924 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16925 | } |
16926 | return resultobj; | |
16927 | fail: | |
16928 | return NULL; | |
96b3fa7c | 16929 | } |
36ed4f51 RD |
16930 | |
16931 | ||
16932 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16933 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16934 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16935 | int result; | |
16936 | PyObject * obj0 = 0 ; | |
16937 | char *kwnames[] = { | |
16938 | (char *) "self", NULL | |
16939 | }; | |
16940 | ||
16941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
16942 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16943 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16944 | { | |
16945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16946 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
16947 | ||
16948 | wxPyEndAllowThreads(__tstate); | |
16949 | if (PyErr_Occurred()) SWIG_fail; | |
16950 | } | |
16951 | { | |
32fe5131 | 16952 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16953 | } |
16954 | return resultobj; | |
16955 | fail: | |
16956 | return NULL; | |
d14a1e28 | 16957 | } |
36ed4f51 RD |
16958 | |
16959 | ||
16960 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16961 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16962 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16963 | int result; | |
16964 | PyObject * obj0 = 0 ; | |
16965 | char *kwnames[] = { | |
16966 | (char *) "self", NULL | |
16967 | }; | |
16968 | ||
16969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
16970 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16971 | if (SWIG_arg_fail(1)) SWIG_fail; | |
16972 | { | |
16973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16974 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
16975 | ||
16976 | wxPyEndAllowThreads(__tstate); | |
16977 | if (PyErr_Occurred()) SWIG_fail; | |
16978 | } | |
16979 | { | |
32fe5131 | 16980 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
16981 | } |
16982 | return resultobj; | |
16983 | fail: | |
16984 | return NULL; | |
0df68c9f | 16985 | } |
36ed4f51 RD |
16986 | |
16987 | ||
16988 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 16989 | PyObject *resultobj = NULL; |
36ed4f51 RD |
16990 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
16991 | int result; | |
16992 | PyObject * obj0 = 0 ; | |
16993 | char *kwnames[] = { | |
16994 | (char *) "self", NULL | |
16995 | }; | |
16996 | ||
16997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
16998 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
16999 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17000 | { | |
17001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17002 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
17003 | ||
17004 | wxPyEndAllowThreads(__tstate); | |
17005 | if (PyErr_Occurred()) SWIG_fail; | |
17006 | } | |
17007 | { | |
32fe5131 | 17008 | resultobj = SWIG_From_int(static_cast<int >(result)); |
36ed4f51 RD |
17009 | } |
17010 | return resultobj; | |
17011 | fail: | |
17012 | return NULL; | |
d14a1e28 | 17013 | } |
36ed4f51 RD |
17014 | |
17015 | ||
17016 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 17017 | PyObject *resultobj = NULL; |
36ed4f51 RD |
17018 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
17019 | wxString result; | |
17020 | PyObject * obj0 = 0 ; | |
17021 | char *kwnames[] = { | |
17022 | (char *) "self", NULL | |
17023 | }; | |
17024 | ||
17025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
17026 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17027 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17028 | { | |
17029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17030 | result = (arg1)->GetDragText(); | |
17031 | ||
17032 | wxPyEndAllowThreads(__tstate); | |
17033 | if (PyErr_Occurred()) SWIG_fail; | |
17034 | } | |
17035 | { | |
17036 | #if wxUSE_UNICODE | |
17037 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
17038 | #else | |
17039 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
17040 | #endif | |
17041 | } | |
17042 | return resultobj; | |
17043 | fail: | |
17044 | return NULL; | |
d14a1e28 | 17045 | } |
36ed4f51 RD |
17046 | |
17047 | ||
17048 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 17049 | PyObject *resultobj = NULL; |
36ed4f51 RD |
17050 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
17051 | bool result; | |
17052 | PyObject * obj0 = 0 ; | |
17053 | char *kwnames[] = { | |
17054 | (char *) "self", NULL | |
17055 | }; | |
17056 | ||
17057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
17058 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17059 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17060 | { | |
17061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17062 | result = (bool)(arg1)->GetDragAllowMove(); | |
17063 | ||
17064 | wxPyEndAllowThreads(__tstate); | |
17065 | if (PyErr_Occurred()) SWIG_fail; | |
17066 | } | |
17067 | { | |
17068 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17069 | } | |
17070 | return resultobj; | |
17071 | fail: | |
17072 | return NULL; | |
d14a1e28 | 17073 | } |
36ed4f51 RD |
17074 | |
17075 | ||
17076 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 17077 | PyObject *resultobj = NULL; |
36ed4f51 RD |
17078 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
17079 | wxDragResult result; | |
17080 | PyObject * obj0 = 0 ; | |
17081 | char *kwnames[] = { | |
17082 | (char *) "self", NULL | |
17083 | }; | |
17084 | ||
17085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
17086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17088 | { | |
17089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17090 | result = (wxDragResult)(arg1)->GetDragResult(); | |
17091 | ||
17092 | wxPyEndAllowThreads(__tstate); | |
17093 | if (PyErr_Occurred()) SWIG_fail; | |
17094 | } | |
17095 | resultobj = SWIG_From_int((result)); | |
17096 | return resultobj; | |
17097 | fail: | |
17098 | return NULL; | |
d14a1e28 | 17099 | } |
36ed4f51 RD |
17100 | |
17101 | ||
17102 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 17103 | PyObject *resultobj = NULL; |
36ed4f51 RD |
17104 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
17105 | bool result; | |
17106 | PyObject * obj0 = 0 ; | |
17107 | char *kwnames[] = { | |
17108 | (char *) "self", NULL | |
17109 | }; | |
17110 | ||
17111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
17112 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17113 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17114 | { | |
17115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17116 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
17117 | ||
17118 | wxPyEndAllowThreads(__tstate); | |
17119 | if (PyErr_Occurred()) SWIG_fail; | |
17120 | } | |
17121 | { | |
17122 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17123 | } | |
17124 | return resultobj; | |
17125 | fail: | |
17126 | return NULL; | |
d14a1e28 | 17127 | } |
36ed4f51 RD |
17128 | |
17129 | ||
17130 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 17131 | PyObject *resultobj = NULL; |
36ed4f51 RD |
17132 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
17133 | bool result; | |
17134 | PyObject * obj0 = 0 ; | |
17135 | char *kwnames[] = { | |
17136 | (char *) "self", NULL | |
17137 | }; | |
17138 | ||
17139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
17140 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17141 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17142 | { | |
17143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17144 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
17145 | ||
17146 | wxPyEndAllowThreads(__tstate); | |
17147 | if (PyErr_Occurred()) SWIG_fail; | |
17148 | } | |
17149 | { | |
17150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17151 | } | |
17152 | return resultobj; | |
17153 | fail: | |
17154 | return NULL; | |
d14a1e28 | 17155 | } |
36ed4f51 RD |
17156 | |
17157 | ||
17158 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 17159 | PyObject *resultobj = NULL; |
36ed4f51 RD |
17160 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
17161 | bool result; | |
17162 | PyObject * obj0 = 0 ; | |
17163 | char *kwnames[] = { | |
17164 | (char *) "self", NULL | |
17165 | }; | |
17166 | ||
17167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
17168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17170 | { | |
17171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17172 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
17173 | ||
17174 | wxPyEndAllowThreads(__tstate); | |
17175 | if (PyErr_Occurred()) SWIG_fail; | |
17176 | } | |
17177 | { | |
17178 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17179 | } | |
17180 | return resultobj; | |
17181 | fail: | |
17182 | return NULL; | |
96b3fa7c | 17183 | } |
36ed4f51 RD |
17184 | |
17185 | ||
17186 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { | |
32fe5131 | 17187 | PyObject *resultobj = NULL; |
36ed4f51 RD |
17188 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; |
17189 | wxEvent *result; | |
17190 | PyObject * obj0 = 0 ; | |
17191 | char *kwnames[] = { | |
17192 | (char *) "self", NULL | |
17193 | }; | |
17194 | ||
17195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
17196 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); | |
17197 | if (SWIG_arg_fail(1)) SWIG_fail; | |
17198 | { | |
17199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17200 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
17201 | ||
17202 | wxPyEndAllowThreads(__tstate); | |
17203 | if (PyErr_Occurred()) SWIG_fail; | |
17204 | } | |
17205 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0); | |
17206 | return resultobj; | |
17207 | fail: | |
17208 | return NULL; | |
17209 | } | |
17210 | ||
17211 | ||
17212 | static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) { | |
17213 | PyObject *obj; | |
17214 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17215 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
17216 | Py_INCREF(obj); | |
17217 | return Py_BuildValue((char *)""); | |
17218 | } | |
17219 | static PyMethodDef SwigMethods[] = { | |
17220 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17221 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17222 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17223 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17224 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17225 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17226 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17227 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17228 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17229 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17230 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17231 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17232 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17233 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17234 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17235 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17236 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17237 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17238 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17239 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17240 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17241 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17242 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17243 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17244 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17245 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17246 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17247 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17248 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17249 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17250 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17251 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17252 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17253 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17254 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17255 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17256 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17257 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17258 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17259 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17260 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17261 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17262 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17263 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17264 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17265 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17266 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17267 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17268 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17269 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17270 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17271 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17272 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17273 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17274 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17275 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17276 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17277 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17278 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17279 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17280 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17281 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17282 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17283 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17284 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17285 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17286 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17287 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17288 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17289 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
17290 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL}, |
17291 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17292 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17293 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17294 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17295 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17296 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17297 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17298 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17299 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17300 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17301 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17302 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17303 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17304 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17305 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17306 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17307 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17308 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17309 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17310 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17311 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17312 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17313 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17314 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17315 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17316 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17317 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17318 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17319 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17320 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17321 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17322 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17323 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17324 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17325 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17326 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17327 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17328 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17329 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17330 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17331 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17332 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17333 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17334 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17335 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17336 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17337 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17338 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17339 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17340 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17341 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17342 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17343 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17344 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17345 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17346 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17347 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17348 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17349 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17350 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17351 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17352 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17353 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17354 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17355 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17356 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17357 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17358 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17359 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17360 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17361 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17362 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17363 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17364 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17365 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17366 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17367 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17368 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17369 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17370 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17371 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17372 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17373 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17374 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17375 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17376 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17377 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17378 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17379 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17380 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17381 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17382 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17383 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17384 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17385 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17386 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17387 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17388 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17389 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17390 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17391 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17392 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17393 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17394 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17395 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17396 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17397 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17398 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17399 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17400 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17401 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17402 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17403 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17404 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17405 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17406 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17407 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17408 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17409 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17410 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17411 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17412 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17413 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17414 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17415 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17416 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17417 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17418 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17419 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17420 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17421 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17422 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17423 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17424 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17425 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17426 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17427 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17428 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17429 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17430 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17431 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17432 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17433 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17434 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17435 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17436 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17437 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17438 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17439 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17440 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17441 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17442 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17443 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17444 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17445 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17446 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17447 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17448 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17449 | { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17450 | { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17451 | { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17452 | { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17453 | { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17454 | { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17455 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17456 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17457 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17458 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17459 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17460 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17461 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17462 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17463 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17464 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17465 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17466 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17467 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17468 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17469 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17470 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17471 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17472 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17473 | { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17474 | { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17475 | { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17476 | { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17477 | { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17478 | { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17479 | { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17480 | { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17481 | { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17482 | { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17483 | { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17484 | { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17485 | { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17486 | { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17487 | { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17488 | { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17489 | { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17490 | { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17491 | { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17492 | { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17493 | { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17494 | { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17495 | { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17496 | { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17497 | { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17498 | { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17499 | { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17500 | { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17501 | { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17502 | { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17503 | { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17504 | { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17505 | { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17506 | { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17507 | { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17508 | { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17509 | { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17510 | { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17511 | { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17512 | { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17513 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17514 | { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17515 | { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17516 | { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17517 | { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17518 | { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17519 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17520 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17521 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17522 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17523 | { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17524 | { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17525 | { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17526 | { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17527 | { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17528 | { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17529 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17530 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17531 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17532 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17533 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17534 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17535 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17536 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17537 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17538 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17539 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17540 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17541 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17542 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17543 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17544 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17545 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17546 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17547 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17548 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17549 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17550 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17551 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17552 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17553 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17554 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17555 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17556 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17557 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17558 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17559 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17560 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17561 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17562 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17563 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17564 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17565 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17566 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17567 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17568 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17569 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17570 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17571 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17572 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17573 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17574 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17575 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17576 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17577 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17578 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17579 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17580 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17581 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17582 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17583 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17584 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17585 | { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17586 | { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17587 | { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17588 | { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17589 | { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17590 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17591 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17592 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17593 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17594 | { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17595 | { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17596 | { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17597 | { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17598 | { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17599 | { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17600 | { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17601 | { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17602 | { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17603 | { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17604 | { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17605 | { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17606 | { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17607 | { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17608 | { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17609 | { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17610 | { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17611 | { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17612 | { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17613 | { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17614 | { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17615 | { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17616 | { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17617 | { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17618 | { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL}, | |
53aa7709 | 17619 | { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
36ed4f51 RD |
17620 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL}, |
17621 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17622 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17623 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17624 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17625 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17626 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17627 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17628 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17629 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17630 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17631 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL}, | |
a1b6e73b RD |
17632 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL}, |
17633 | { (char *)"StyledTextCtrl_StyleSetFontEncoding", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontEncoding, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
17634 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL}, |
17635 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17636 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17637 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17638 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17639 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17640 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17641 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17642 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17643 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17644 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17645 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17646 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17647 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17648 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17649 | { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17650 | { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
66af7a75 RD |
17651 | { (char *)"StyledTextCtrl_AddTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AddTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, |
17652 | { (char *)"StyledTextCtrl_InsertTextRaw", (PyCFunction) _wrap_StyledTextCtrl_InsertTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17653 | { (char *)"StyledTextCtrl_GetCurLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetCurLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17654 | { (char *)"StyledTextCtrl_GetLineRaw", (PyCFunction) _wrap_StyledTextCtrl_GetLineRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17655 | { (char *)"StyledTextCtrl_GetSelectedTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17656 | { (char *)"StyledTextCtrl_GetTextRangeRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRangeRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17657 | { (char *)"StyledTextCtrl_SetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_SetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17658 | { (char *)"StyledTextCtrl_GetTextRaw", (PyCFunction) _wrap_StyledTextCtrl_GetTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17659 | { (char *)"StyledTextCtrl_AppendTextRaw", (PyCFunction) _wrap_StyledTextCtrl_AppendTextRaw, METH_VARARGS | METH_KEYWORDS, NULL}, | |
36ed4f51 RD |
17660 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL}, |
17661 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17662 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17663 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17664 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17665 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17666 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17667 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17668 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17669 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17670 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17671 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17672 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17673 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17674 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17675 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17676 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17677 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17678 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17679 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17680 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17681 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17682 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17683 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17684 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17685 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17686 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17687 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17688 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17689 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17690 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17691 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17692 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17693 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17694 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17695 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17696 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17697 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17698 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17699 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17700 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17701 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17702 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17703 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17704 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17705 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17706 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, | |
17707 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL}, | |
17708 | { NULL, NULL, 0, NULL } | |
17709 | }; | |
17710 | ||
17711 | ||
17712 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
17713 | ||
17714 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
17715 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
17716 | } | |
17717 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
17718 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
17719 | } | |
17720 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
17721 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
17722 | } | |
17723 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
17724 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
17725 | } | |
17726 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
17727 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
17728 | } | |
17729 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
17730 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
17731 | } | |
17732 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
17733 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
17734 | } | |
17735 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
17736 | return (void *)((wxObject *) ((wxSizer *) x)); | |
17737 | } | |
17738 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
17739 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
17740 | } | |
17741 | static void *_p_wxFileHistoryTo_p_wxObject(void *x) { | |
17742 | return (void *)((wxObject *) ((wxFileHistory *) x)); | |
17743 | } | |
17744 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
17745 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
17746 | } | |
17747 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
17748 | return (void *)((wxObject *) ((wxEvent *) x)); | |
17749 | } | |
17750 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
17751 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
17752 | } | |
17753 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
17754 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
17755 | } | |
17756 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
17757 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
17758 | } | |
17759 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
17760 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
17761 | } | |
17762 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
17763 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
17764 | } | |
17765 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { | |
17766 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
17767 | } | |
17768 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
17769 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
17770 | } | |
17771 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
17772 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
17773 | } | |
17774 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
17775 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
17776 | } | |
17777 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
17778 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
17779 | } | |
17780 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
17781 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
17782 | } | |
17783 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
17784 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
17785 | } | |
17786 | static void *_p_wxTimerEventTo_p_wxObject(void *x) { | |
17787 | return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x)); | |
17788 | } | |
17789 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
d14a1e28 RD |
17790 | return (void *)((wxObject *) ((wxFSFile *) x)); |
17791 | } | |
96b3fa7c RD |
17792 | static void *_p_wxClipboardTo_p_wxObject(void *x) { |
17793 | return (void *)((wxObject *) ((wxClipboard *) x)); | |
17794 | } | |
d14a1e28 RD |
17795 | static void *_p_wxPySizerTo_p_wxObject(void *x) { |
17796 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
17797 | } | |
17798 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
17799 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
17800 | } | |
17801 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
17802 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
17803 | } | |
17804 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
17805 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
17806 | } | |
17807 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
17808 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
17809 | } | |
96b3fa7c RD |
17810 | static void *_p_wxToolTipTo_p_wxObject(void *x) { |
17811 | return (void *)((wxObject *) ((wxToolTip *) x)); | |
17812 | } | |
d14a1e28 RD |
17813 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
17814 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
17815 | } | |
53aa7709 RD |
17816 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
17817 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
17818 | } | |
d14a1e28 RD |
17819 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
17820 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
17821 | } | |
17822 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
17823 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17824 | } | |
17825 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
17826 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
17827 | } | |
17828 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
17829 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
17830 | } | |
17831 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
17832 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
17833 | } | |
17834 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
17835 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
17836 | } | |
17837 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
17838 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
17839 | } | |
17840 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
17841 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
17842 | } | |
d14a1e28 RD |
17843 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
17844 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
17845 | } | |
17846 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
17847 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
17848 | } | |
17849 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
17850 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
17851 | } | |
17852 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
17853 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
17854 | } | |
17855 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
17856 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
17857 | } | |
17858 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
17859 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
17860 | } | |
17861 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
17862 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
17863 | } | |
17864 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
17865 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
17866 | } | |
17867 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
17868 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
17869 | } | |
943e8dfd RD |
17870 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
17871 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
17872 | } | |
d14a1e28 RD |
17873 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
17874 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
17875 | } | |
943e8dfd RD |
17876 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
17877 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
17878 | } | |
d14a1e28 RD |
17879 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
17880 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
17881 | } | |
17882 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
17883 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
17884 | } | |
51b83b37 RD |
17885 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
17886 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
17887 | } | |
0df68c9f RD |
17888 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
17889 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
17890 | } | |
d14a1e28 RD |
17891 | static void *_p_wxImageTo_p_wxObject(void *x) { |
17892 | return (void *)((wxObject *) ((wxImage *) x)); | |
17893 | } | |
17894 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
17895 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
17896 | } | |
96b3fa7c RD |
17897 | static void *_p_wxSystemOptionsTo_p_wxObject(void *x) { |
17898 | return (void *)((wxObject *) ((wxSystemOptions *) x)); | |
17899 | } | |
17900 | static void *_p_wxJoystickEventTo_p_wxObject(void *x) { | |
17901 | return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x)); | |
17902 | } | |
d14a1e28 RD |
17903 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
17904 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
17905 | } | |
17906 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
17907 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
17908 | } | |
17909 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
17910 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
17911 | } | |
17912 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
17913 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
17914 | } | |
17915 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
17916 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
17917 | } | |
17918 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
17919 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
17920 | } | |
96b3fa7c RD |
17921 | static void *_p_wxPyProcessTo_p_wxObject(void *x) { |
17922 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x)); | |
17923 | } | |
d14a1e28 RD |
17924 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
17925 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
17926 | } | |
17927 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
17928 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
17929 | } | |
17930 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
17931 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
17932 | } | |
17933 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
17934 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
17935 | } | |
17936 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
17937 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
17938 | } | |
17939 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
17940 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
17941 | } | |
17942 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
17943 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
17944 | } | |
96b3fa7c RD |
17945 | static void *_p_wxBusyInfoTo_p_wxObject(void *x) { |
17946 | return (void *)((wxObject *) ((wxBusyInfo *) x)); | |
17947 | } | |
d14a1e28 RD |
17948 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
17949 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
17950 | } | |
17951 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
17952 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
17953 | } | |
17954 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
17955 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
17956 | } | |
17957 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
17958 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
17959 | } | |
17960 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
17961 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17962 | } | |
96b3fa7c RD |
17963 | static void *_p_wxProcessEventTo_p_wxObject(void *x) { |
17964 | return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x)); | |
17965 | } | |
d14a1e28 RD |
17966 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
17967 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
17968 | } | |
17969 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
17970 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
17971 | } | |
17972 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
17973 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
17974 | } | |
96b3fa7c RD |
17975 | static void *_p_wxPyTimerTo_p_wxObject(void *x) { |
17976 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); | |
17977 | } | |
d14a1e28 RD |
17978 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
17979 | return (void *)((wxWindow *) ((wxControl *) x)); | |
17980 | } | |
17981 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
17982 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
17983 | } | |
17984 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
17985 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
17986 | } | |
17987 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
17988 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
17989 | } | |
17990 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
17991 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
17992 | } | |
17993 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
17994 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
17995 | } | |
17996 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
17997 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
17998 | } | |
53aa7709 RD |
17999 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
18000 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
18001 | } | |
d14a1e28 RD |
18002 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
18003 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18004 | } | |
18005 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
18006 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
18007 | } | |
18008 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
18009 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18010 | } | |
18011 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
18012 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18013 | } | |
18014 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
18015 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18016 | } | |
18017 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
18018 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18019 | } | |
18020 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
18021 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
18022 | } | |
18023 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
18024 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
18025 | } | |
18026 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
18027 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
18028 | } | |
18029 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
18030 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
18031 | } | |
96b3fa7c RD |
18032 | static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) { |
18033 | return (void *)((wxEvtHandler *) ((wxPyTimer *) x)); | |
18034 | } | |
d14a1e28 RD |
18035 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { |
18036 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
18037 | } | |
18038 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
18039 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
18040 | } | |
18041 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
18042 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
18043 | } | |
18044 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
18045 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
18046 | } | |
18047 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
18048 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
18049 | } | |
96b3fa7c RD |
18050 | static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) { |
18051 | return (void *)((wxEvtHandler *) ((wxPyProcess *) x)); | |
18052 | } | |
d14a1e28 RD |
18053 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { |
18054 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
18055 | } | |
18056 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
18057 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
18058 | } | |
18059 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
18060 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
18061 | } | |
18062 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
18063 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
18064 | } | |
18065 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
18066 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
18067 | } | |
18068 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
18069 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
18070 | } | |
18071 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
18072 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
18073 | } | |
18074 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
18075 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
18076 | } | |
96b3fa7c RD |
18077 | static void *_p_wxTimerEventTo_p_wxEvent(void *x) { |
18078 | return (void *)((wxEvent *) ((wxTimerEvent *) x)); | |
18079 | } | |
d14a1e28 RD |
18080 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
18081 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
18082 | } | |
18083 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
18084 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
18085 | } | |
18086 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
18087 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
18088 | } | |
18089 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
18090 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
18091 | } | |
96b3fa7c RD |
18092 | static void *_p_wxJoystickEventTo_p_wxEvent(void *x) { |
18093 | return (void *)((wxEvent *) ((wxJoystickEvent *) x)); | |
18094 | } | |
d14a1e28 RD |
18095 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
18096 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
18097 | } | |
18098 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
18099 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
18100 | } | |
18101 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
18102 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
18103 | } | |
18104 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
18105 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
18106 | } | |
18107 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
18108 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
18109 | } | |
18110 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
18111 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
18112 | } | |
18113 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
18114 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
18115 | } | |
18116 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
18117 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
18118 | } | |
53aa7709 RD |
18119 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
18120 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
18121 | } | |
d14a1e28 RD |
18122 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
18123 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
18124 | } | |
18125 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
18126 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
18127 | } | |
18128 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
18129 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
18130 | } | |
18131 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
18132 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
18133 | } | |
18134 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
18135 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
18136 | } | |
18137 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
18138 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
18139 | } | |
18140 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
18141 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
18142 | } | |
18143 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
18144 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
18145 | } | |
18146 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
18147 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
18148 | } | |
18149 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
18150 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
18151 | } | |
18152 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
18153 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
18154 | } | |
96b3fa7c RD |
18155 | static void *_p_wxProcessEventTo_p_wxEvent(void *x) { |
18156 | return (void *)((wxEvent *) ((wxProcessEvent *) x)); | |
18157 | } | |
d14a1e28 RD |
18158 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { |
18159 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
18160 | } | |
18161 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
18162 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
18163 | } | |
18164 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
18165 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
18166 | } | |
18167 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
18168 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
18169 | } | |
18170 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
18171 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
18172 | } | |
18173 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
18174 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
18175 | } | |
18176 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
18177 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
18178 | } | |
32fe5131 RD |
18179 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; |
18180 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; | |
18181 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; | |
18182 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; | |
18183 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; | |
18184 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; | |
18185 | static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; | |
18186 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; | |
18187 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; | |
18188 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; | |
18189 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; | |
18190 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; | |
18191 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; | |
18192 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; | |
18193 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; | |
18194 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; | |
18195 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; | |
18196 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; | |
18197 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; | |
18198 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; | |
18199 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; | |
18200 | static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; | |
18201 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; | |
18202 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; | |
18203 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; | |
18204 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; | |
18205 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; | |
18206 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; | |
18207 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; | |
18208 | static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", 0, 0, 0, 0}; | |
18209 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; | |
18210 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; | |
18211 | static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", 0, 0, 0, 0}; | |
18212 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; | |
18213 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; | |
18214 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; | |
18215 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; | |
18216 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; | |
18217 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; | |
18218 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; | |
18219 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; | |
18220 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; | |
18221 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; | |
18222 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; | |
18223 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; | |
18224 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; | |
18225 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; | |
18226 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; | |
18227 | static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", 0, 0, 0, 0}; | |
18228 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; | |
18229 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; | |
18230 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; | |
18231 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; | |
18232 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; | |
18233 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; | |
18234 | static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0}; | |
18235 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; | |
18236 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; | |
18237 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; | |
18238 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; | |
18239 | static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0}; | |
18240 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; | |
18241 | static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 0, 0, 0}; | |
18242 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; | |
18243 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; | |
18244 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; | |
18245 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; | |
18246 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; | |
18247 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; | |
18248 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; | |
18249 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; | |
18250 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; | |
18251 | static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", 0, 0, 0, 0}; | |
18252 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; | |
18253 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; | |
18254 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; | |
18255 | static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0}; | |
18256 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; | |
18257 | static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0}; | |
18258 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; | |
18259 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; | |
18260 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; | |
18261 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; | |
18262 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; | |
18263 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; | |
18264 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; | |
18265 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; | |
18266 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; | |
18267 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; | |
18268 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; | |
18269 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; | |
18270 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; | |
18271 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; | |
18272 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; | |
18273 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; | |
18274 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; | |
18275 | static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0}; | |
18276 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; | |
18277 | static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0}; | |
18278 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; | |
18279 | static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; | |
18280 | static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; | |
18281 | static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; | |
18282 | static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, 0}; | |
18283 | static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 0, 0, 0}; | |
18284 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; | |
18285 | static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; | |
18286 | static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; | |
18287 | static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; | |
18288 | ||
18289 | static swig_type_info *swig_type_initial[] = { | |
18290 | &_swigt__p_char, | |
18291 | &_swigt__p_form_ops_t, | |
18292 | &_swigt__p_int, | |
18293 | &_swigt__p_unsigned_char, | |
18294 | &_swigt__p_unsigned_int, | |
18295 | &_swigt__p_unsigned_long, | |
18296 | &_swigt__p_void, | |
18297 | &_swigt__p_wxANIHandler, | |
18298 | &_swigt__p_wxAcceleratorTable, | |
18299 | &_swigt__p_wxActivateEvent, | |
18300 | &_swigt__p_wxBMPHandler, | |
18301 | &_swigt__p_wxBitmap, | |
18302 | &_swigt__p_wxBoxSizer, | |
18303 | &_swigt__p_wxBusyInfo, | |
18304 | &_swigt__p_wxCURHandler, | |
18305 | &_swigt__p_wxChildFocusEvent, | |
18306 | &_swigt__p_wxClipboard, | |
18307 | &_swigt__p_wxCloseEvent, | |
18308 | &_swigt__p_wxColour, | |
18309 | &_swigt__p_wxCommandEvent, | |
18310 | &_swigt__p_wxContextMenuEvent, | |
18311 | &_swigt__p_wxControl, | |
18312 | &_swigt__p_wxControlWithItems, | |
18313 | &_swigt__p_wxDC, | |
18314 | &_swigt__p_wxDateEvent, | |
18315 | &_swigt__p_wxDisplayChangedEvent, | |
18316 | &_swigt__p_wxDropFilesEvent, | |
18317 | &_swigt__p_wxDuplexMode, | |
18318 | &_swigt__p_wxEraseEvent, | |
18319 | &_swigt__p_wxEvent, | |
18320 | &_swigt__p_wxEvtHandler, | |
18321 | &_swigt__p_wxFSFile, | |
18322 | &_swigt__p_wxFileHistory, | |
18323 | &_swigt__p_wxFileSystem, | |
18324 | &_swigt__p_wxFlexGridSizer, | |
18325 | &_swigt__p_wxFocusEvent, | |
18326 | &_swigt__p_wxFont, | |
18327 | &_swigt__p_wxGBSizerItem, | |
18328 | &_swigt__p_wxGIFHandler, | |
18329 | &_swigt__p_wxGridBagSizer, | |
18330 | &_swigt__p_wxGridSizer, | |
18331 | &_swigt__p_wxICOHandler, | |
18332 | &_swigt__p_wxIconizeEvent, | |
18333 | &_swigt__p_wxIdleEvent, | |
18334 | &_swigt__p_wxImage, | |
18335 | &_swigt__p_wxImageHandler, | |
18336 | &_swigt__p_wxIndividualLayoutConstraint, | |
18337 | &_swigt__p_wxInitDialogEvent, | |
18338 | &_swigt__p_wxJPEGHandler, | |
18339 | &_swigt__p_wxJoystickEvent, | |
18340 | &_swigt__p_wxKeyEvent, | |
18341 | &_swigt__p_wxLayoutConstraints, | |
18342 | &_swigt__p_wxMaximizeEvent, | |
18343 | &_swigt__p_wxMemoryBuffer, | |
18344 | &_swigt__p_wxMenu, | |
18345 | &_swigt__p_wxMenuBar, | |
18346 | &_swigt__p_wxMenuEvent, | |
18347 | &_swigt__p_wxMenuItem, | |
18348 | &_swigt__p_wxMouseCaptureChangedEvent, | |
18349 | &_swigt__p_wxMouseEvent, | |
18350 | &_swigt__p_wxMoveEvent, | |
18351 | &_swigt__p_wxNavigationKeyEvent, | |
18352 | &_swigt__p_wxNcPaintEvent, | |
18353 | &_swigt__p_wxNotifyEvent, | |
18354 | &_swigt__p_wxObject, | |
18355 | &_swigt__p_wxPCXHandler, | |
18356 | &_swigt__p_wxPNGHandler, | |
18357 | &_swigt__p_wxPNMHandler, | |
18358 | &_swigt__p_wxPaintEvent, | |
18359 | &_swigt__p_wxPaletteChangedEvent, | |
18360 | &_swigt__p_wxPaperSize, | |
18361 | &_swigt__p_wxPoint, | |
18362 | &_swigt__p_wxProcessEvent, | |
18363 | &_swigt__p_wxPyApp, | |
18364 | &_swigt__p_wxPyCommandEvent, | |
18365 | &_swigt__p_wxPyEvent, | |
18366 | &_swigt__p_wxPyImageHandler, | |
18367 | &_swigt__p_wxPyProcess, | |
18368 | &_swigt__p_wxPySizer, | |
18369 | &_swigt__p_wxPyTimer, | |
18370 | &_swigt__p_wxPyValidator, | |
18371 | &_swigt__p_wxQueryNewPaletteEvent, | |
18372 | &_swigt__p_wxRect, | |
18373 | &_swigt__p_wxScrollBar, | |
18374 | &_swigt__p_wxScrollEvent, | |
18375 | &_swigt__p_wxScrollWinEvent, | |
18376 | &_swigt__p_wxSetCursorEvent, | |
18377 | &_swigt__p_wxShowEvent, | |
18378 | &_swigt__p_wxSizeEvent, | |
18379 | &_swigt__p_wxSizer, | |
18380 | &_swigt__p_wxSizerItem, | |
18381 | &_swigt__p_wxStaticBoxSizer, | |
18382 | &_swigt__p_wxStdDialogButtonSizer, | |
18383 | &_swigt__p_wxStyledTextCtrl, | |
18384 | &_swigt__p_wxStyledTextEvent, | |
18385 | &_swigt__p_wxSysColourChangedEvent, | |
18386 | &_swigt__p_wxSystemOptions, | |
18387 | &_swigt__p_wxTIFFHandler, | |
18388 | &_swigt__p_wxTimerEvent, | |
18389 | &_swigt__p_wxToolTip, | |
18390 | &_swigt__p_wxUpdateUIEvent, | |
18391 | &_swigt__p_wxValidator, | |
18392 | &_swigt__p_wxWindow, | |
18393 | &_swigt__p_wxWindowCreateEvent, | |
18394 | &_swigt__p_wxWindowDestroyEvent, | |
18395 | &_swigt__p_wxXPMHandler, | |
18396 | &_swigt__ptrdiff_t, | |
18397 | &_swigt__std__ptrdiff_t, | |
18398 | &_swigt__unsigned_int, | |
18399 | }; | |
18400 | ||
18401 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
18402 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
18403 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18404 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
18405 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18406 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
18407 | static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; | |
18408 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
18409 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
18410 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18411 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18412 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18413 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18414 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18415 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18416 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18417 | static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18418 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18419 | 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}}; | |
18420 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
18421 | 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}}; | |
18422 | static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; | |
18423 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; | |
18424 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18425 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18426 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18427 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18428 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18429 | static swig_cast_info _swigc__p_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18430 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18431 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18432 | static swig_cast_info _swigc__p_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18433 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18434 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18435 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18436 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18437 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18438 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18439 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18440 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18441 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18442 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18443 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18444 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18445 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18446 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18447 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18448 | static swig_cast_info _swigc__p_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18449 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18450 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18451 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18452 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18453 | 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}}; | |
18454 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
18455 | static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; | |
18456 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18457 | static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18458 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
18459 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
18460 | static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; | |
18461 | 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}}; | |
18462 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; | |
18463 | static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 0, 0, 0},{0, 0, 0, 0}}; | |
18464 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
18465 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18466 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18467 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
18468 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18469 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18470 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18471 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18472 | static swig_cast_info _swigc__p_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}}; | |
18473 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18474 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18475 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
18476 | static swig_cast_info _swigc__p_wxClipboard[] = {{&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}}; | |
18477 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18478 | static swig_cast_info _swigc__p_wxToolTip[] = {{&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}}; | |
18479 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
18480 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18481 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18482 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18483 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18484 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18485 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18486 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18487 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18488 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18489 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18490 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18491 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18492 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
18493 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
18494 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
18495 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
18496 | static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}}; | |
18497 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
18498 | static swig_cast_info _swigc__p_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
18499 | 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}}; | |
18500 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
18501 | static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; | |
18502 | static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; | |
18503 | static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; | |
18504 | static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
18505 | static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
18506 | 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}}; | |
18507 | static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
18508 | static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
18509 | static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
18510 | ||
18511 | static swig_cast_info *swig_cast_initial[] = { | |
18512 | _swigc__p_char, | |
18513 | _swigc__p_form_ops_t, | |
18514 | _swigc__p_int, | |
18515 | _swigc__p_unsigned_char, | |
18516 | _swigc__p_unsigned_int, | |
18517 | _swigc__p_unsigned_long, | |
18518 | _swigc__p_void, | |
18519 | _swigc__p_wxANIHandler, | |
18520 | _swigc__p_wxAcceleratorTable, | |
18521 | _swigc__p_wxActivateEvent, | |
18522 | _swigc__p_wxBMPHandler, | |
18523 | _swigc__p_wxBitmap, | |
18524 | _swigc__p_wxBoxSizer, | |
18525 | _swigc__p_wxBusyInfo, | |
18526 | _swigc__p_wxCURHandler, | |
18527 | _swigc__p_wxChildFocusEvent, | |
18528 | _swigc__p_wxClipboard, | |
18529 | _swigc__p_wxCloseEvent, | |
18530 | _swigc__p_wxColour, | |
18531 | _swigc__p_wxCommandEvent, | |
18532 | _swigc__p_wxContextMenuEvent, | |
18533 | _swigc__p_wxControl, | |
18534 | _swigc__p_wxControlWithItems, | |
18535 | _swigc__p_wxDC, | |
18536 | _swigc__p_wxDateEvent, | |
18537 | _swigc__p_wxDisplayChangedEvent, | |
18538 | _swigc__p_wxDropFilesEvent, | |
18539 | _swigc__p_wxDuplexMode, | |
18540 | _swigc__p_wxEraseEvent, | |
18541 | _swigc__p_wxEvent, | |
18542 | _swigc__p_wxEvtHandler, | |
18543 | _swigc__p_wxFSFile, | |
18544 | _swigc__p_wxFileHistory, | |
18545 | _swigc__p_wxFileSystem, | |
18546 | _swigc__p_wxFlexGridSizer, | |
18547 | _swigc__p_wxFocusEvent, | |
18548 | _swigc__p_wxFont, | |
18549 | _swigc__p_wxGBSizerItem, | |
18550 | _swigc__p_wxGIFHandler, | |
18551 | _swigc__p_wxGridBagSizer, | |
18552 | _swigc__p_wxGridSizer, | |
18553 | _swigc__p_wxICOHandler, | |
18554 | _swigc__p_wxIconizeEvent, | |
18555 | _swigc__p_wxIdleEvent, | |
18556 | _swigc__p_wxImage, | |
18557 | _swigc__p_wxImageHandler, | |
18558 | _swigc__p_wxIndividualLayoutConstraint, | |
18559 | _swigc__p_wxInitDialogEvent, | |
18560 | _swigc__p_wxJPEGHandler, | |
18561 | _swigc__p_wxJoystickEvent, | |
18562 | _swigc__p_wxKeyEvent, | |
18563 | _swigc__p_wxLayoutConstraints, | |
18564 | _swigc__p_wxMaximizeEvent, | |
18565 | _swigc__p_wxMemoryBuffer, | |
18566 | _swigc__p_wxMenu, | |
18567 | _swigc__p_wxMenuBar, | |
18568 | _swigc__p_wxMenuEvent, | |
18569 | _swigc__p_wxMenuItem, | |
18570 | _swigc__p_wxMouseCaptureChangedEvent, | |
18571 | _swigc__p_wxMouseEvent, | |
18572 | _swigc__p_wxMoveEvent, | |
18573 | _swigc__p_wxNavigationKeyEvent, | |
18574 | _swigc__p_wxNcPaintEvent, | |
18575 | _swigc__p_wxNotifyEvent, | |
18576 | _swigc__p_wxObject, | |
18577 | _swigc__p_wxPCXHandler, | |
18578 | _swigc__p_wxPNGHandler, | |
18579 | _swigc__p_wxPNMHandler, | |
18580 | _swigc__p_wxPaintEvent, | |
18581 | _swigc__p_wxPaletteChangedEvent, | |
18582 | _swigc__p_wxPaperSize, | |
18583 | _swigc__p_wxPoint, | |
18584 | _swigc__p_wxProcessEvent, | |
18585 | _swigc__p_wxPyApp, | |
18586 | _swigc__p_wxPyCommandEvent, | |
18587 | _swigc__p_wxPyEvent, | |
18588 | _swigc__p_wxPyImageHandler, | |
18589 | _swigc__p_wxPyProcess, | |
18590 | _swigc__p_wxPySizer, | |
18591 | _swigc__p_wxPyTimer, | |
18592 | _swigc__p_wxPyValidator, | |
18593 | _swigc__p_wxQueryNewPaletteEvent, | |
18594 | _swigc__p_wxRect, | |
18595 | _swigc__p_wxScrollBar, | |
18596 | _swigc__p_wxScrollEvent, | |
18597 | _swigc__p_wxScrollWinEvent, | |
18598 | _swigc__p_wxSetCursorEvent, | |
18599 | _swigc__p_wxShowEvent, | |
18600 | _swigc__p_wxSizeEvent, | |
18601 | _swigc__p_wxSizer, | |
18602 | _swigc__p_wxSizerItem, | |
18603 | _swigc__p_wxStaticBoxSizer, | |
18604 | _swigc__p_wxStdDialogButtonSizer, | |
18605 | _swigc__p_wxStyledTextCtrl, | |
18606 | _swigc__p_wxStyledTextEvent, | |
18607 | _swigc__p_wxSysColourChangedEvent, | |
18608 | _swigc__p_wxSystemOptions, | |
18609 | _swigc__p_wxTIFFHandler, | |
18610 | _swigc__p_wxTimerEvent, | |
18611 | _swigc__p_wxToolTip, | |
18612 | _swigc__p_wxUpdateUIEvent, | |
18613 | _swigc__p_wxValidator, | |
18614 | _swigc__p_wxWindow, | |
18615 | _swigc__p_wxWindowCreateEvent, | |
18616 | _swigc__p_wxWindowDestroyEvent, | |
18617 | _swigc__p_wxXPMHandler, | |
18618 | _swigc__ptrdiff_t, | |
18619 | _swigc__std__ptrdiff_t, | |
18620 | _swigc__unsigned_int, | |
d14a1e28 RD |
18621 | }; |
18622 | ||
18623 | ||
18624 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
18625 | ||
18626 | static swig_const_info swig_const_table[] = { | |
c370783e | 18627 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
18628 | |
18629 | #ifdef __cplusplus | |
18630 | } | |
18631 | #endif | |
32fe5131 RD |
18632 | /************************************************************************* |
18633 | * Type initialization: | |
18634 | * This problem is tough by the requirement that no dynamic | |
18635 | * memory is used. Also, since swig_type_info structures store pointers to | |
18636 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
18637 | * to swig_type_info structures, we need some lookup code at initialization. | |
18638 | * The idea is that swig generates all the structures that are needed. | |
18639 | * The runtime then collects these partially filled structures. | |
18640 | * The SWIG_InitializeModule function takes these initial arrays out of | |
18641 | * swig_module, and does all the lookup, filling in the swig_module.types | |
18642 | * array with the correct data and linking the correct swig_cast_info | |
18643 | * structures together. | |
18644 | ||
18645 | * The generated swig_type_info structures are assigned staticly to an initial | |
18646 | * array. We just loop though that array, and handle each type individually. | |
18647 | * First we lookup if this type has been already loaded, and if so, use the | |
18648 | * loaded structure instead of the generated one. Then we have to fill in the | |
18649 | * cast linked list. The cast data is initially stored in something like a | |
18650 | * two-dimensional array. Each row corresponds to a type (there are the same | |
18651 | * number of rows as there are in the swig_type_initial array). Each entry in | |
18652 | * a column is one of the swig_cast_info structures for that type. | |
18653 | * The cast_initial array is actually an array of arrays, because each row has | |
18654 | * a variable number of columns. So to actually build the cast linked list, | |
18655 | * we find the array of casts associated with the type, and loop through it | |
18656 | * adding the casts to the list. The one last trick we need to do is making | |
18657 | * sure the type pointer in the swig_cast_info struct is correct. | |
18658 | ||
18659 | * First off, we lookup the cast->type name to see if it is already loaded. | |
18660 | * There are three cases to handle: | |
18661 | * 1) If the cast->type has already been loaded AND the type we are adding | |
18662 | * casting info to has not been loaded (it is in this module), THEN we | |
18663 | * replace the cast->type pointer with the type pointer that has already | |
18664 | * been loaded. | |
18665 | * 2) If BOTH types (the one we are adding casting info to, and the | |
18666 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
18667 | * the previous module so we just ignore it. | |
18668 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
18669 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
18670 | * be correct. | |
18671 | **/ | |
18672 | ||
18673 | #ifdef __cplusplus | |
18674 | extern "C" { | |
18675 | #if 0 | |
18676 | } /* c-mode */ | |
18677 | #endif | |
18678 | #endif | |
18679 | ||
18680 | #if 0 | |
18681 | #define SWIGRUNTIME_DEBUG | |
18682 | #endif | |
18683 | ||
18684 | SWIGRUNTIME void | |
18685 | SWIG_InitializeModule(void *clientdata) { | |
18686 | size_t i; | |
18687 | swig_module_info *module_head; | |
18688 | static int init_run = 0; | |
18689 | ||
18690 | clientdata = clientdata; | |
18691 | ||
18692 | if (init_run) return; | |
18693 | init_run = 1; | |
18694 | ||
18695 | /* Initialize the swig_module */ | |
18696 | swig_module.type_initial = swig_type_initial; | |
18697 | swig_module.cast_initial = swig_cast_initial; | |
18698 | ||
18699 | /* Try and load any already created modules */ | |
18700 | module_head = SWIG_GetModule(clientdata); | |
18701 | if (module_head) { | |
18702 | swig_module.next = module_head->next; | |
18703 | module_head->next = &swig_module; | |
18704 | } else { | |
18705 | /* This is the first module loaded */ | |
18706 | swig_module.next = &swig_module; | |
18707 | SWIG_SetModule(clientdata, &swig_module); | |
18708 | } | |
18709 | ||
18710 | /* Now work on filling in swig_module.types */ | |
18711 | #ifdef SWIGRUNTIME_DEBUG | |
18712 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
18713 | #endif | |
18714 | for (i = 0; i < swig_module.size; ++i) { | |
18715 | swig_type_info *type = 0; | |
18716 | swig_type_info *ret; | |
18717 | swig_cast_info *cast; | |
18718 | ||
18719 | #ifdef SWIGRUNTIME_DEBUG | |
18720 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18721 | #endif | |
18722 | ||
18723 | /* if there is another module already loaded */ | |
18724 | if (swig_module.next != &swig_module) { | |
18725 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
18726 | } | |
18727 | if (type) { | |
18728 | /* Overwrite clientdata field */ | |
18729 | #ifdef SWIGRUNTIME_DEBUG | |
18730 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
18731 | #endif | |
18732 | if (swig_module.type_initial[i]->clientdata) { | |
18733 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
18734 | #ifdef SWIGRUNTIME_DEBUG | |
18735 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
18736 | #endif | |
18737 | } | |
18738 | } else { | |
18739 | type = swig_module.type_initial[i]; | |
18740 | } | |
18741 | ||
18742 | /* Insert casting types */ | |
18743 | cast = swig_module.cast_initial[i]; | |
18744 | while (cast->type) { | |
18745 | /* Don't need to add information already in the list */ | |
18746 | ret = 0; | |
18747 | #ifdef SWIGRUNTIME_DEBUG | |
18748 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
18749 | #endif | |
18750 | if (swig_module.next != &swig_module) { | |
18751 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
18752 | #ifdef SWIGRUNTIME_DEBUG | |
18753 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
18754 | #endif | |
18755 | } | |
18756 | if (ret) { | |
18757 | if (type == swig_module.type_initial[i]) { | |
18758 | #ifdef SWIGRUNTIME_DEBUG | |
18759 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
18760 | #endif | |
18761 | cast->type = ret; | |
18762 | ret = 0; | |
18763 | } else { | |
18764 | /* Check for casting already in the list */ | |
18765 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
18766 | #ifdef SWIGRUNTIME_DEBUG | |
18767 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
18768 | #endif | |
18769 | if (!ocast) ret = 0; | |
18770 | } | |
18771 | } | |
18772 | ||
18773 | if (!ret) { | |
18774 | #ifdef SWIGRUNTIME_DEBUG | |
18775 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
18776 | #endif | |
18777 | if (type->cast) { | |
18778 | type->cast->prev = cast; | |
18779 | cast->next = type->cast; | |
18780 | } | |
18781 | type->cast = cast; | |
18782 | } | |
18783 | cast++; | |
18784 | } | |
18785 | /* Set entry in modules->types array equal to the type */ | |
18786 | swig_module.types[i] = type; | |
18787 | } | |
18788 | swig_module.types[i] = 0; | |
18789 | ||
18790 | #ifdef SWIGRUNTIME_DEBUG | |
18791 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18792 | for (i = 0; i < swig_module.size; ++i) { | |
18793 | int j = 0; | |
18794 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
18795 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
18796 | while (cast->type) { | |
18797 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
18798 | cast++; | |
18799 | ++j; | |
18800 | } | |
18801 | printf("---- Total casts: %d\n",j); | |
18802 | } | |
18803 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
18804 | #endif | |
18805 | } | |
18806 | ||
18807 | /* This function will propagate the clientdata field of type to | |
18808 | * any new swig_type_info structures that have been added into the list | |
18809 | * of equivalent types. It is like calling | |
18810 | * SWIG_TypeClientData(type, clientdata) a second time. | |
18811 | */ | |
18812 | SWIGRUNTIME void | |
18813 | SWIG_PropagateClientData(void) { | |
18814 | size_t i; | |
18815 | swig_cast_info *equiv; | |
18816 | static int init_run = 0; | |
18817 | ||
18818 | if (init_run) return; | |
18819 | init_run = 1; | |
18820 | ||
18821 | for (i = 0; i < swig_module.size; i++) { | |
18822 | if (swig_module.types[i]->clientdata) { | |
18823 | equiv = swig_module.types[i]->cast; | |
18824 | while (equiv) { | |
18825 | if (!equiv->converter) { | |
18826 | if (equiv->type && !equiv->type->clientdata) | |
18827 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
18828 | } | |
18829 | equiv = equiv->next; | |
18830 | } | |
18831 | } | |
18832 | } | |
18833 | } | |
18834 | ||
18835 | #ifdef __cplusplus | |
18836 | #if 0 | |
18837 | { | |
18838 | /* c-mode */ | |
18839 | #endif | |
18840 | } | |
18841 | #endif | |
18842 | ||
d14a1e28 | 18843 | |
36ed4f51 RD |
18844 | |
18845 | #ifdef __cplusplus | |
18846 | extern "C" { | |
18847 | #endif | |
18848 | ||
18849 | /* Python-specific SWIG API */ | |
18850 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
18851 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
18852 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
18853 | ||
18854 | /* ----------------------------------------------------------------------------- | |
18855 | * global variable support code. | |
18856 | * ----------------------------------------------------------------------------- */ | |
18857 | ||
18858 | typedef struct swig_globalvar { | |
18859 | char *name; /* Name of global variable */ | |
32fe5131 | 18860 | PyObject *(*get_attr)(void); /* Return the current value */ |
36ed4f51 RD |
18861 | int (*set_attr)(PyObject *); /* Set the value */ |
18862 | struct swig_globalvar *next; | |
18863 | } swig_globalvar; | |
18864 | ||
18865 | typedef struct swig_varlinkobject { | |
18866 | PyObject_HEAD | |
18867 | swig_globalvar *vars; | |
18868 | } swig_varlinkobject; | |
18869 | ||
32fe5131 | 18870 | SWIGINTERN PyObject * |
36ed4f51 RD |
18871 | swig_varlink_repr(swig_varlinkobject *v) { |
18872 | v = v; | |
18873 | return PyString_FromString("<Swig global variables>"); | |
18874 | } | |
18875 | ||
32fe5131 | 18876 | SWIGINTERN int |
36ed4f51 RD |
18877 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { |
18878 | swig_globalvar *var; | |
18879 | flags = flags; | |
18880 | fprintf(fp,"Swig global variables { "); | |
18881 | for (var = v->vars; var; var=var->next) { | |
18882 | fprintf(fp,"%s", var->name); | |
18883 | if (var->next) fprintf(fp,", "); | |
18884 | } | |
18885 | fprintf(fp," }\n"); | |
18886 | return 0; | |
18887 | } | |
18888 | ||
32fe5131 | 18889 | SWIGINTERN PyObject * |
36ed4f51 RD |
18890 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { |
18891 | swig_globalvar *var = v->vars; | |
18892 | while (var) { | |
18893 | if (strcmp(var->name,n) == 0) { | |
18894 | return (*var->get_attr)(); | |
18895 | } | |
18896 | var = var->next; | |
18897 | } | |
18898 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18899 | return NULL; | |
18900 | } | |
18901 | ||
32fe5131 | 18902 | SWIGINTERN int |
36ed4f51 RD |
18903 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { |
18904 | swig_globalvar *var = v->vars; | |
18905 | while (var) { | |
18906 | if (strcmp(var->name,n) == 0) { | |
18907 | return (*var->set_attr)(p); | |
18908 | } | |
18909 | var = var->next; | |
18910 | } | |
18911 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
18912 | return 1; | |
18913 | } | |
18914 | ||
32fe5131 RD |
18915 | SWIGINTERN PyTypeObject* |
18916 | swig_varlink_type(void) { | |
18917 | static char varlink__doc__[] = "Swig var link object"; | |
18918 | static PyTypeObject varlink_type | |
18919 | #if !defined(__cplusplus) | |
18920 | ; | |
18921 | static int type_init = 0; | |
18922 | if (!type_init) { | |
18923 | PyTypeObject tmp | |
18924 | #endif | |
18925 | = { | |
18926 | PyObject_HEAD_INIT(&PyType_Type) | |
18927 | 0, /* Number of items in variable part (ob_size) */ | |
18928 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
18929 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
18930 | 0, /* Itemsize (tp_itemsize) */ | |
18931 | 0, /* Deallocator (tp_dealloc) */ | |
18932 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
18933 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
18934 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
18935 | 0, /* tp_compare */ | |
18936 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
18937 | 0, /* tp_as_number */ | |
18938 | 0, /* tp_as_sequence */ | |
18939 | 0, /* tp_as_mapping */ | |
18940 | 0, /* tp_hash */ | |
18941 | 0, /* tp_call */ | |
18942 | 0, /* tp_str */ | |
18943 | 0, /* tp_getattro */ | |
18944 | 0, /* tp_setattro */ | |
18945 | 0, /* tp_as_buffer */ | |
18946 | 0, /* tp_flags */ | |
18947 | varlink__doc__, /* tp_doc */ | |
36ed4f51 | 18948 | #if PY_VERSION_HEX >= 0x02000000 |
32fe5131 RD |
18949 | 0, /* tp_traverse */ |
18950 | 0, /* tp_clear */ | |
36ed4f51 RD |
18951 | #endif |
18952 | #if PY_VERSION_HEX >= 0x02010000 | |
32fe5131 RD |
18953 | 0, /* tp_richcompare */ |
18954 | 0, /* tp_weaklistoffset */ | |
36ed4f51 RD |
18955 | #endif |
18956 | #if PY_VERSION_HEX >= 0x02020000 | |
32fe5131 | 18957 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ |
36ed4f51 RD |
18958 | #endif |
18959 | #if PY_VERSION_HEX >= 0x02030000 | |
32fe5131 | 18960 | 0, /* tp_del */ |
36ed4f51 RD |
18961 | #endif |
18962 | #ifdef COUNT_ALLOCS | |
32fe5131 | 18963 | 0,0,0,0 /* tp_alloc -> tp_next */ |
36ed4f51 | 18964 | #endif |
32fe5131 RD |
18965 | }; |
18966 | #if !defined(__cplusplus) | |
18967 | varlink_type = tmp; | |
18968 | type_init = 1; | |
18969 | } | |
18970 | #endif | |
18971 | return &varlink_type; | |
18972 | } | |
36ed4f51 RD |
18973 | |
18974 | /* Create a variable linking object for use later */ | |
32fe5131 | 18975 | SWIGINTERN PyObject * |
36ed4f51 | 18976 | SWIG_Python_newvarlink(void) { |
32fe5131 RD |
18977 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); |
18978 | if (result) { | |
18979 | result->vars = 0; | |
18980 | } | |
36ed4f51 RD |
18981 | return ((PyObject*) result); |
18982 | } | |
18983 | ||
32fe5131 | 18984 | SWIGINTERN void |
36ed4f51 | 18985 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { |
32fe5131 RD |
18986 | swig_varlinkobject *v = (swig_varlinkobject *) p; |
18987 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
18988 | if (gv) { | |
18989 | size_t size = strlen(name)+1; | |
18990 | gv->name = (char *)malloc(size); | |
18991 | if (gv->name) { | |
18992 | strncpy(gv->name,name,size); | |
18993 | gv->get_attr = get_attr; | |
18994 | gv->set_attr = set_attr; | |
18995 | gv->next = v->vars; | |
18996 | } | |
18997 | } | |
36ed4f51 RD |
18998 | v->vars = gv; |
18999 | } | |
19000 | ||
19001 | /* ----------------------------------------------------------------------------- | |
19002 | * constants/methods manipulation | |
19003 | * ----------------------------------------------------------------------------- */ | |
19004 | ||
19005 | /* Install Constants */ | |
32fe5131 | 19006 | SWIGINTERN void |
36ed4f51 RD |
19007 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { |
19008 | PyObject *obj = 0; | |
19009 | size_t i; | |
32fe5131 | 19010 | for (i = 0; constants[i].type; ++i) { |
36ed4f51 RD |
19011 | switch(constants[i].type) { |
19012 | case SWIG_PY_INT: | |
19013 | obj = PyInt_FromLong(constants[i].lvalue); | |
19014 | break; | |
19015 | case SWIG_PY_FLOAT: | |
19016 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
19017 | break; | |
19018 | case SWIG_PY_STRING: | |
19019 | if (constants[i].pvalue) { | |
19020 | obj = PyString_FromString((char *) constants[i].pvalue); | |
19021 | } else { | |
19022 | Py_INCREF(Py_None); | |
19023 | obj = Py_None; | |
19024 | } | |
19025 | break; | |
19026 | case SWIG_PY_POINTER: | |
19027 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
19028 | break; | |
19029 | case SWIG_PY_BINARY: | |
19030 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
19031 | break; | |
19032 | default: | |
19033 | obj = 0; | |
19034 | break; | |
19035 | } | |
19036 | if (obj) { | |
19037 | PyDict_SetItemString(d,constants[i].name,obj); | |
19038 | Py_DECREF(obj); | |
19039 | } | |
19040 | } | |
19041 | } | |
19042 | ||
19043 | /* -----------------------------------------------------------------------------*/ | |
19044 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
19045 | /* -----------------------------------------------------------------------------*/ | |
19046 | ||
32fe5131 | 19047 | SWIGINTERN void |
36ed4f51 RD |
19048 | SWIG_Python_FixMethods(PyMethodDef *methods, |
19049 | swig_const_info *const_table, | |
19050 | swig_type_info **types, | |
19051 | swig_type_info **types_initial) { | |
19052 | size_t i; | |
19053 | for (i = 0; methods[i].ml_name; ++i) { | |
19054 | char *c = methods[i].ml_doc; | |
19055 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
19056 | int j; | |
19057 | swig_const_info *ci = 0; | |
19058 | char *name = c + 10; | |
32fe5131 | 19059 | for (j = 0; const_table[j].type; ++j) { |
36ed4f51 RD |
19060 | if (strncmp(const_table[j].name, name, |
19061 | strlen(const_table[j].name)) == 0) { | |
19062 | ci = &(const_table[j]); | |
19063 | break; | |
19064 | } | |
19065 | } | |
19066 | if (ci) { | |
19067 | size_t shift = (ci->ptype) - types; | |
19068 | swig_type_info *ty = types_initial[shift]; | |
19069 | size_t ldoc = (c - methods[i].ml_doc); | |
19070 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
19071 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
32fe5131 RD |
19072 | if (ndoc) { |
19073 | char *buff = ndoc; | |
19074 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
19075 | if (ptr) { | |
19076 | strncpy(buff, methods[i].ml_doc, ldoc); | |
19077 | buff += ldoc; | |
19078 | strncpy(buff, "swig_ptr: ", 10); | |
19079 | buff += 10; | |
19080 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
19081 | methods[i].ml_doc = ndoc; | |
19082 | } | |
19083 | } | |
36ed4f51 RD |
19084 | } |
19085 | } | |
19086 | } | |
19087 | } | |
19088 | ||
19089 | /* -----------------------------------------------------------------------------* | |
19090 | * Initialize type list | |
19091 | * -----------------------------------------------------------------------------*/ | |
19092 | ||
36ed4f51 RD |
19093 | #ifdef __cplusplus |
19094 | } | |
19095 | #endif | |
19096 | ||
19097 | /* -----------------------------------------------------------------------------* | |
19098 | * Partial Init method | |
19099 | * -----------------------------------------------------------------------------*/ | |
19100 | ||
d14a1e28 RD |
19101 | #ifdef __cplusplus |
19102 | extern "C" | |
19103 | #endif | |
32fe5131 | 19104 | SWIGEXPORT void SWIG_init(void) { |
d14a1e28 | 19105 | static PyObject *SWIG_globals = 0; |
d14a1e28 | 19106 | PyObject *m, *d; |
d14a1e28 | 19107 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); |
36ed4f51 RD |
19108 | |
19109 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
32fe5131 | 19110 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); |
36ed4f51 | 19111 | |
d14a1e28 RD |
19112 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
19113 | d = PyModule_GetDict(m); | |
19114 | ||
32fe5131 | 19115 | SWIG_InitializeModule(0); |
d14a1e28 RD |
19116 | SWIG_InstallConstants(d,swig_const_table); |
19117 | ||
b2dc1044 RD |
19118 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
19119 | SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); | |
36ed4f51 | 19120 | { |
32fe5131 | 19121 | PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19122 | } |
19123 | { | |
32fe5131 | 19124 | PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19125 | } |
19126 | { | |
32fe5131 | 19127 | PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int(static_cast<int >(-1))); |
36ed4f51 RD |
19128 | } |
19129 | { | |
32fe5131 | 19130 | PyDict_SetItemString(d,"STC_START", SWIG_From_int(static_cast<int >(2000))); |
36ed4f51 RD |
19131 | } |
19132 | { | |
32fe5131 | 19133 | PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int(static_cast<int >(3000))); |
36ed4f51 RD |
19134 | } |
19135 | { | |
32fe5131 | 19136 | PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int(static_cast<int >(4000))); |
36ed4f51 RD |
19137 | } |
19138 | { | |
32fe5131 | 19139 | PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19140 | } |
19141 | { | |
32fe5131 | 19142 | PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19143 | } |
19144 | { | |
32fe5131 | 19145 | PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19146 | } |
19147 | { | |
32fe5131 | 19148 | PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19149 | } |
19150 | { | |
32fe5131 | 19151 | PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19152 | } |
19153 | { | |
32fe5131 | 19154 | PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19155 | } |
19156 | { | |
32fe5131 | 19157 | PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int(static_cast<int >(65001))); |
36ed4f51 RD |
19158 | } |
19159 | { | |
32fe5131 | 19160 | PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19161 | } |
19162 | { | |
32fe5131 | 19163 | PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int(static_cast<int >(31))); |
36ed4f51 RD |
19164 | } |
19165 | { | |
32fe5131 | 19166 | PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19167 | } |
19168 | { | |
32fe5131 | 19169 | PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19170 | } |
19171 | { | |
32fe5131 | 19172 | PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19173 | } |
19174 | { | |
32fe5131 | 19175 | PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19176 | } |
19177 | { | |
32fe5131 | 19178 | PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19179 | } |
19180 | { | |
32fe5131 | 19181 | PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
19182 | } |
19183 | { | |
32fe5131 | 19184 | PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
19185 | } |
19186 | { | |
32fe5131 | 19187 | PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
19188 | } |
19189 | { | |
32fe5131 | 19190 | PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
19191 | } |
19192 | { | |
32fe5131 | 19193 | PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
19194 | } |
19195 | { | |
32fe5131 | 19196 | PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
19197 | } |
19198 | { | |
32fe5131 | 19199 | PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
19200 | } |
19201 | { | |
32fe5131 | 19202 | PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
19203 | } |
19204 | { | |
32fe5131 | 19205 | PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
19206 | } |
19207 | { | |
32fe5131 | 19208 | PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
19209 | } |
19210 | { | |
32fe5131 | 19211 | PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
19212 | } |
19213 | { | |
32fe5131 | 19214 | PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
19215 | } |
19216 | { | |
32fe5131 | 19217 | PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
19218 | } |
19219 | { | |
32fe5131 | 19220 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int(static_cast<int >(18))); |
36ed4f51 RD |
19221 | } |
19222 | { | |
32fe5131 | 19223 | PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
19224 | } |
19225 | { | |
32fe5131 | 19226 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int(static_cast<int >(20))); |
36ed4f51 RD |
19227 | } |
19228 | { | |
32fe5131 | 19229 | PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int(static_cast<int >(21))); |
36ed4f51 RD |
19230 | } |
19231 | { | |
32fe5131 | 19232 | PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int(static_cast<int >(22))); |
36ed4f51 RD |
19233 | } |
19234 | { | |
32fe5131 | 19235 | PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int(static_cast<int >(23))); |
36ed4f51 RD |
19236 | } |
19237 | { | |
32fe5131 | 19238 | PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int(static_cast<int >(24))); |
36ed4f51 RD |
19239 | } |
19240 | { | |
32fe5131 | 19241 | PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int(static_cast<int >(25))); |
36ed4f51 RD |
19242 | } |
19243 | { | |
32fe5131 | 19244 | PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int(static_cast<int >(10000))); |
36ed4f51 RD |
19245 | } |
19246 | { | |
32fe5131 | 19247 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int(static_cast<int >(25))); |
36ed4f51 RD |
19248 | } |
19249 | { | |
32fe5131 | 19250 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int(static_cast<int >(26))); |
36ed4f51 RD |
19251 | } |
19252 | { | |
32fe5131 | 19253 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int(static_cast<int >(27))); |
36ed4f51 RD |
19254 | } |
19255 | { | |
32fe5131 | 19256 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int(static_cast<int >(28))); |
36ed4f51 RD |
19257 | } |
19258 | { | |
32fe5131 | 19259 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int(static_cast<int >(29))); |
36ed4f51 RD |
19260 | } |
19261 | { | |
32fe5131 | 19262 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int(static_cast<int >(30))); |
36ed4f51 RD |
19263 | } |
19264 | { | |
32fe5131 | 19265 | PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int(static_cast<int >(31))); |
36ed4f51 RD |
19266 | } |
19267 | { | |
32fe5131 | 19268 | PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int(static_cast<int >(0xFE000000))); |
36ed4f51 RD |
19269 | } |
19270 | { | |
32fe5131 | 19271 | PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19272 | } |
19273 | { | |
32fe5131 | 19274 | PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19275 | } |
19276 | { | |
32fe5131 | 19277 | PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int(static_cast<int >(32))); |
36ed4f51 RD |
19278 | } |
19279 | { | |
32fe5131 | 19280 | PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int(static_cast<int >(33))); |
36ed4f51 RD |
19281 | } |
19282 | { | |
32fe5131 | 19283 | PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int(static_cast<int >(34))); |
36ed4f51 RD |
19284 | } |
19285 | { | |
32fe5131 | 19286 | PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int(static_cast<int >(35))); |
36ed4f51 RD |
19287 | } |
19288 | { | |
32fe5131 | 19289 | PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int(static_cast<int >(36))); |
36ed4f51 RD |
19290 | } |
19291 | { | |
32fe5131 | 19292 | PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int(static_cast<int >(37))); |
36ed4f51 RD |
19293 | } |
19294 | { | |
32fe5131 | 19295 | PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int(static_cast<int >(39))); |
36ed4f51 RD |
19296 | } |
19297 | { | |
32fe5131 | 19298 | PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int(static_cast<int >(127))); |
36ed4f51 RD |
19299 | } |
19300 | { | |
32fe5131 | 19301 | PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19302 | } |
19303 | { | |
32fe5131 | 19304 | PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19305 | } |
19306 | { | |
32fe5131 | 19307 | PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int(static_cast<int >(186))); |
36ed4f51 RD |
19308 | } |
19309 | { | |
32fe5131 | 19310 | PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int(static_cast<int >(136))); |
36ed4f51 RD |
19311 | } |
19312 | { | |
32fe5131 | 19313 | PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int(static_cast<int >(238))); |
36ed4f51 RD |
19314 | } |
19315 | { | |
32fe5131 | 19316 | PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int(static_cast<int >(134))); |
36ed4f51 RD |
19317 | } |
19318 | { | |
32fe5131 | 19319 | PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int(static_cast<int >(161))); |
36ed4f51 RD |
19320 | } |
19321 | { | |
32fe5131 | 19322 | PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int(static_cast<int >(129))); |
36ed4f51 RD |
19323 | } |
19324 | { | |
32fe5131 | 19325 | PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int(static_cast<int >(77))); |
36ed4f51 RD |
19326 | } |
19327 | { | |
32fe5131 | 19328 | PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int(static_cast<int >(255))); |
36ed4f51 RD |
19329 | } |
19330 | { | |
32fe5131 | 19331 | PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int(static_cast<int >(204))); |
36ed4f51 RD |
19332 | } |
19333 | { | |
32fe5131 | 19334 | PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int(static_cast<int >(128))); |
36ed4f51 RD |
19335 | } |
19336 | { | |
32fe5131 | 19337 | PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19338 | } |
19339 | { | |
32fe5131 | 19340 | PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int(static_cast<int >(162))); |
36ed4f51 RD |
19341 | } |
19342 | { | |
32fe5131 | 19343 | PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int(static_cast<int >(130))); |
36ed4f51 RD |
19344 | } |
19345 | { | |
32fe5131 | 19346 | PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int(static_cast<int >(177))); |
36ed4f51 RD |
19347 | } |
19348 | { | |
32fe5131 | 19349 | PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int(static_cast<int >(178))); |
36ed4f51 RD |
19350 | } |
19351 | { | |
32fe5131 | 19352 | PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int(static_cast<int >(163))); |
36ed4f51 RD |
19353 | } |
19354 | { | |
32fe5131 | 19355 | PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int(static_cast<int >(222))); |
36ed4f51 RD |
19356 | } |
19357 | { | |
32fe5131 | 19358 | PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19359 | } |
19360 | { | |
32fe5131 | 19361 | PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19362 | } |
19363 | { | |
32fe5131 | 19364 | PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19365 | } |
19366 | { | |
32fe5131 | 19367 | PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
19368 | } |
19369 | { | |
32fe5131 | 19370 | PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19371 | } |
19372 | { | |
32fe5131 | 19373 | PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19374 | } |
19375 | { | |
32fe5131 | 19376 | PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19377 | } |
19378 | { | |
32fe5131 | 19379 | PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19380 | } |
19381 | { | |
32fe5131 | 19382 | PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19383 | } |
19384 | { | |
32fe5131 | 19385 | PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
19386 | } |
19387 | { | |
32fe5131 | 19388 | PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
19389 | } |
19390 | { | |
32fe5131 | 19391 | PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int(static_cast<int >(0x20))); |
36ed4f51 RD |
19392 | } |
19393 | { | |
32fe5131 | 19394 | PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int(static_cast<int >(0x40))); |
36ed4f51 RD |
19395 | } |
19396 | { | |
32fe5131 | 19397 | PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int(static_cast<int >(0x80))); |
36ed4f51 RD |
19398 | } |
19399 | { | |
32fe5131 | 19400 | PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int(static_cast<int >(0xE0))); |
36ed4f51 RD |
19401 | } |
19402 | { | |
32fe5131 | 19403 | PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19404 | } |
19405 | { | |
32fe5131 | 19406 | PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19407 | } |
19408 | { | |
32fe5131 | 19409 | PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19410 | } |
19411 | { | |
32fe5131 | 19412 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19413 | } |
19414 | { | |
32fe5131 | 19415 | PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19416 | } |
19417 | { | |
32fe5131 | 19418 | PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19419 | } |
19420 | { | |
32fe5131 | 19421 | PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19422 | } |
19423 | { | |
32fe5131 | 19424 | PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int(static_cast<int >(0x00100000))); |
36ed4f51 RD |
19425 | } |
19426 | { | |
32fe5131 | 19427 | PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int(static_cast<int >(0x00200000))); |
36ed4f51 RD |
19428 | } |
19429 | { | |
32fe5131 | 19430 | PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int(static_cast<int >(0x00400000))); |
36ed4f51 RD |
19431 | } |
19432 | { | |
32fe5131 | 19433 | PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int(static_cast<int >(0x400))); |
36ed4f51 RD |
19434 | } |
19435 | { | |
32fe5131 | 19436 | PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int(static_cast<int >(0x1000))); |
36ed4f51 RD |
19437 | } |
19438 | { | |
32fe5131 | 19439 | PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int(static_cast<int >(0x2000))); |
36ed4f51 RD |
19440 | } |
19441 | { | |
32fe5131 | 19442 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int(static_cast<int >(0x4000))); |
36ed4f51 RD |
19443 | } |
19444 | { | |
32fe5131 | 19445 | PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int(static_cast<int >(0x8000))); |
36ed4f51 RD |
19446 | } |
19447 | { | |
32fe5131 | 19448 | PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int(static_cast<int >(0x10000))); |
36ed4f51 RD |
19449 | } |
19450 | { | |
32fe5131 | 19451 | PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int(static_cast<int >(0x20000))); |
36ed4f51 RD |
19452 | } |
19453 | { | |
32fe5131 | 19454 | PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int(static_cast<int >(0x0FFF))); |
36ed4f51 RD |
19455 | } |
19456 | { | |
32fe5131 | 19457 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int(static_cast<int >(0x0002))); |
36ed4f51 RD |
19458 | } |
19459 | { | |
32fe5131 | 19460 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int(static_cast<int >(0x0004))); |
36ed4f51 RD |
19461 | } |
19462 | { | |
32fe5131 | 19463 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int(static_cast<int >(0x0008))); |
36ed4f51 RD |
19464 | } |
19465 | { | |
32fe5131 | 19466 | PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int(static_cast<int >(0x0010))); |
36ed4f51 RD |
19467 | } |
19468 | { | |
32fe5131 | 19469 | PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int(static_cast<int >(0x0040))); |
36ed4f51 RD |
19470 | } |
19471 | { | |
32fe5131 | 19472 | PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int(static_cast<int >(0x0001))); |
36ed4f51 RD |
19473 | } |
19474 | { | |
32fe5131 | 19475 | PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int(static_cast<int >(10000000))); |
36ed4f51 RD |
19476 | } |
19477 | { | |
32fe5131 | 19478 | PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19479 | } |
19480 | { | |
32fe5131 | 19481 | PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19482 | } |
19483 | { | |
32fe5131 | 19484 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int(static_cast<int >(0x0000))); |
36ed4f51 RD |
19485 | } |
19486 | { | |
32fe5131 | 19487 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int(static_cast<int >(0x0001))); |
36ed4f51 RD |
19488 | } |
19489 | { | |
32fe5131 | 19490 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int(static_cast<int >(0x0002))); |
36ed4f51 RD |
19491 | } |
19492 | { | |
32fe5131 | 19493 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int(static_cast<int >(0x0000))); |
36ed4f51 RD |
19494 | } |
19495 | { | |
32fe5131 | 19496 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int(static_cast<int >(0x0001))); |
36ed4f51 RD |
19497 | } |
19498 | { | |
32fe5131 | 19499 | PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int(static_cast<int >(0x0002))); |
36ed4f51 RD |
19500 | } |
19501 | { | |
32fe5131 | 19502 | PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19503 | } |
19504 | { | |
32fe5131 | 19505 | PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19506 | } |
19507 | { | |
32fe5131 | 19508 | PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19509 | } |
19510 | { | |
32fe5131 | 19511 | PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19512 | } |
19513 | { | |
32fe5131 | 19514 | PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19515 | } |
19516 | { | |
32fe5131 | 19517 | PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19518 | } |
19519 | { | |
32fe5131 | 19520 | PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19521 | } |
19522 | { | |
32fe5131 | 19523 | PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int(static_cast<int >(-1))); |
36ed4f51 RD |
19524 | } |
19525 | { | |
32fe5131 | 19526 | PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19527 | } |
19528 | { | |
32fe5131 | 19529 | PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int(static_cast<int >(0x01))); |
36ed4f51 RD |
19530 | } |
19531 | { | |
32fe5131 | 19532 | PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int(static_cast<int >(0x04))); |
36ed4f51 RD |
19533 | } |
19534 | { | |
32fe5131 | 19535 | PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int(static_cast<int >(0x01))); |
36ed4f51 RD |
19536 | } |
19537 | { | |
32fe5131 | 19538 | PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int(static_cast<int >(0x04))); |
36ed4f51 RD |
19539 | } |
19540 | { | |
32fe5131 | 19541 | PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int(static_cast<int >(0x10))); |
36ed4f51 RD |
19542 | } |
19543 | { | |
32fe5131 | 19544 | PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int(static_cast<int >(0x08))); |
36ed4f51 RD |
19545 | } |
19546 | { | |
32fe5131 | 19547 | PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19548 | } |
19549 | { | |
32fe5131 | 19550 | PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19551 | } |
19552 | { | |
32fe5131 | 19553 | PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19554 | } |
19555 | { | |
32fe5131 | 19556 | PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
19557 | } |
19558 | { | |
32fe5131 | 19559 | PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int(static_cast<int >(0x1))); |
36ed4f51 RD |
19560 | } |
19561 | { | |
32fe5131 | 19562 | PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int(static_cast<int >(0x2))); |
36ed4f51 RD |
19563 | } |
19564 | { | |
32fe5131 | 19565 | PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int(static_cast<int >(0x4))); |
36ed4f51 RD |
19566 | } |
19567 | { | |
32fe5131 | 19568 | PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int(static_cast<int >(0x8))); |
36ed4f51 RD |
19569 | } |
19570 | { | |
32fe5131 | 19571 | PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int(static_cast<int >(0x10))); |
36ed4f51 RD |
19572 | } |
19573 | { | |
32fe5131 | 19574 | PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int(static_cast<int >(0x20))); |
36ed4f51 RD |
19575 | } |
19576 | { | |
32fe5131 | 19577 | PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int(static_cast<int >(0x40))); |
36ed4f51 RD |
19578 | } |
19579 | { | |
32fe5131 | 19580 | PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int(static_cast<int >(0x100))); |
36ed4f51 RD |
19581 | } |
19582 | { | |
32fe5131 | 19583 | PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int(static_cast<int >(0x200))); |
36ed4f51 RD |
19584 | } |
19585 | { | |
32fe5131 | 19586 | PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int(static_cast<int >(0x400))); |
36ed4f51 RD |
19587 | } |
19588 | { | |
32fe5131 | 19589 | PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int(static_cast<int >(0x800))); |
36ed4f51 RD |
19590 | } |
19591 | { | |
32fe5131 | 19592 | PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int(static_cast<int >(0xF77))); |
36ed4f51 RD |
19593 | } |
19594 | { | |
32fe5131 | 19595 | PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int(static_cast<int >(300))); |
36ed4f51 RD |
19596 | } |
19597 | { | |
32fe5131 | 19598 | PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int(static_cast<int >(301))); |
36ed4f51 RD |
19599 | } |
19600 | { | |
32fe5131 | 19601 | PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int(static_cast<int >(302))); |
36ed4f51 RD |
19602 | } |
19603 | { | |
32fe5131 | 19604 | PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int(static_cast<int >(303))); |
36ed4f51 RD |
19605 | } |
19606 | { | |
32fe5131 | 19607 | PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int(static_cast<int >(304))); |
36ed4f51 RD |
19608 | } |
19609 | { | |
32fe5131 | 19610 | PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int(static_cast<int >(305))); |
36ed4f51 RD |
19611 | } |
19612 | { | |
32fe5131 | 19613 | PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int(static_cast<int >(306))); |
36ed4f51 RD |
19614 | } |
19615 | { | |
32fe5131 | 19616 | PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int(static_cast<int >(307))); |
36ed4f51 RD |
19617 | } |
19618 | { | |
32fe5131 | 19619 | PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int(static_cast<int >(308))); |
36ed4f51 RD |
19620 | } |
19621 | { | |
32fe5131 | 19622 | PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int(static_cast<int >(309))); |
36ed4f51 RD |
19623 | } |
19624 | { | |
32fe5131 | 19625 | PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
19626 | } |
19627 | { | |
32fe5131 | 19628 | PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
19629 | } |
19630 | { | |
32fe5131 | 19631 | PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
19632 | } |
19633 | { | |
32fe5131 | 19634 | PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
19635 | } |
19636 | { | |
32fe5131 | 19637 | PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int(static_cast<int >(310))); |
36ed4f51 RD |
19638 | } |
19639 | { | |
32fe5131 | 19640 | PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int(static_cast<int >(311))); |
36ed4f51 RD |
19641 | } |
19642 | { | |
32fe5131 | 19643 | PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int(static_cast<int >(312))); |
36ed4f51 RD |
19644 | } |
19645 | { | |
32fe5131 | 19646 | PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19647 | } |
19648 | { | |
32fe5131 | 19649 | PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19650 | } |
19651 | { | |
32fe5131 | 19652 | PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19653 | } |
19654 | { | |
32fe5131 | 19655 | PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19656 | } |
19657 | { | |
32fe5131 | 19658 | PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19659 | } |
19660 | { | |
32fe5131 | 19661 | PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19662 | } |
19663 | { | |
32fe5131 | 19664 | PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19665 | } |
19666 | { | |
32fe5131 | 19667 | PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19668 | } |
19669 | { | |
32fe5131 | 19670 | PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
19671 | } |
19672 | { | |
32fe5131 | 19673 | PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
19674 | } |
19675 | { | |
32fe5131 | 19676 | PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
19677 | } |
19678 | { | |
32fe5131 | 19679 | PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
19680 | } |
19681 | { | |
32fe5131 | 19682 | PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
19683 | } |
19684 | { | |
32fe5131 | 19685 | PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
19686 | } |
19687 | { | |
32fe5131 | 19688 | PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
19689 | } |
19690 | { | |
32fe5131 | 19691 | PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
19692 | } |
19693 | { | |
32fe5131 | 19694 | PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
19695 | } |
19696 | { | |
32fe5131 | 19697 | PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
19698 | } |
19699 | { | |
32fe5131 | 19700 | PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
19701 | } |
19702 | { | |
32fe5131 | 19703 | PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
19704 | } |
19705 | { | |
32fe5131 | 19706 | PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
19707 | } |
19708 | { | |
32fe5131 | 19709 | PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int(static_cast<int >(18))); |
36ed4f51 RD |
19710 | } |
19711 | { | |
32fe5131 | 19712 | PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
19713 | } |
19714 | { | |
32fe5131 | 19715 | PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int(static_cast<int >(20))); |
36ed4f51 RD |
19716 | } |
19717 | { | |
32fe5131 | 19718 | PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int(static_cast<int >(21))); |
36ed4f51 RD |
19719 | } |
19720 | { | |
32fe5131 | 19721 | PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int(static_cast<int >(22))); |
36ed4f51 RD |
19722 | } |
19723 | { | |
32fe5131 | 19724 | PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int(static_cast<int >(23))); |
36ed4f51 RD |
19725 | } |
19726 | { | |
32fe5131 | 19727 | PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int(static_cast<int >(24))); |
36ed4f51 RD |
19728 | } |
19729 | { | |
32fe5131 | 19730 | PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int(static_cast<int >(25))); |
36ed4f51 RD |
19731 | } |
19732 | { | |
32fe5131 | 19733 | PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int(static_cast<int >(26))); |
36ed4f51 RD |
19734 | } |
19735 | { | |
32fe5131 | 19736 | PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int(static_cast<int >(27))); |
36ed4f51 RD |
19737 | } |
19738 | { | |
32fe5131 | 19739 | PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int(static_cast<int >(28))); |
36ed4f51 RD |
19740 | } |
19741 | { | |
32fe5131 | 19742 | PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int(static_cast<int >(29))); |
36ed4f51 RD |
19743 | } |
19744 | { | |
32fe5131 | 19745 | PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int(static_cast<int >(30))); |
36ed4f51 RD |
19746 | } |
19747 | { | |
32fe5131 | 19748 | PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int(static_cast<int >(31))); |
36ed4f51 RD |
19749 | } |
19750 | { | |
32fe5131 | 19751 | PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int(static_cast<int >(32))); |
36ed4f51 RD |
19752 | } |
19753 | { | |
32fe5131 | 19754 | PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int(static_cast<int >(33))); |
36ed4f51 RD |
19755 | } |
19756 | { | |
32fe5131 | 19757 | PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int(static_cast<int >(34))); |
36ed4f51 RD |
19758 | } |
19759 | { | |
32fe5131 | 19760 | PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int(static_cast<int >(35))); |
36ed4f51 RD |
19761 | } |
19762 | { | |
32fe5131 | 19763 | PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int(static_cast<int >(36))); |
36ed4f51 RD |
19764 | } |
19765 | { | |
32fe5131 | 19766 | PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int(static_cast<int >(37))); |
36ed4f51 RD |
19767 | } |
19768 | { | |
32fe5131 | 19769 | PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int(static_cast<int >(38))); |
36ed4f51 RD |
19770 | } |
19771 | { | |
32fe5131 | 19772 | PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int(static_cast<int >(39))); |
36ed4f51 RD |
19773 | } |
19774 | { | |
32fe5131 | 19775 | PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int(static_cast<int >(40))); |
36ed4f51 RD |
19776 | } |
19777 | { | |
32fe5131 | 19778 | PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int(static_cast<int >(41))); |
36ed4f51 RD |
19779 | } |
19780 | { | |
32fe5131 | 19781 | PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int(static_cast<int >(42))); |
36ed4f51 RD |
19782 | } |
19783 | { | |
32fe5131 | 19784 | PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int(static_cast<int >(43))); |
36ed4f51 RD |
19785 | } |
19786 | { | |
32fe5131 | 19787 | PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int(static_cast<int >(44))); |
36ed4f51 RD |
19788 | } |
19789 | { | |
32fe5131 | 19790 | PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int(static_cast<int >(45))); |
36ed4f51 RD |
19791 | } |
19792 | { | |
32fe5131 | 19793 | PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int(static_cast<int >(46))); |
36ed4f51 RD |
19794 | } |
19795 | { | |
32fe5131 | 19796 | PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int(static_cast<int >(47))); |
36ed4f51 RD |
19797 | } |
19798 | { | |
32fe5131 | 19799 | PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int(static_cast<int >(48))); |
36ed4f51 RD |
19800 | } |
19801 | { | |
32fe5131 | 19802 | PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int(static_cast<int >(49))); |
36ed4f51 RD |
19803 | } |
19804 | { | |
32fe5131 | 19805 | PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int(static_cast<int >(50))); |
36ed4f51 RD |
19806 | } |
19807 | { | |
32fe5131 | 19808 | PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int(static_cast<int >(51))); |
36ed4f51 RD |
19809 | } |
19810 | { | |
32fe5131 | 19811 | PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int(static_cast<int >(52))); |
36ed4f51 RD |
19812 | } |
19813 | { | |
32fe5131 | 19814 | PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int(static_cast<int >(53))); |
36ed4f51 RD |
19815 | } |
19816 | { | |
32fe5131 | 19817 | PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int(static_cast<int >(54))); |
36ed4f51 RD |
19818 | } |
19819 | { | |
32fe5131 | 19820 | PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int(static_cast<int >(55))); |
36ed4f51 RD |
19821 | } |
19822 | { | |
32fe5131 | 19823 | PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int(static_cast<int >(56))); |
36ed4f51 RD |
19824 | } |
19825 | { | |
32fe5131 | 19826 | PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int(static_cast<int >(57))); |
36ed4f51 RD |
19827 | } |
19828 | { | |
32fe5131 | 19829 | PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int(static_cast<int >(58))); |
36ed4f51 RD |
19830 | } |
19831 | { | |
32fe5131 | 19832 | PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int(static_cast<int >(59))); |
36ed4f51 RD |
19833 | } |
19834 | { | |
32fe5131 | 19835 | PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int(static_cast<int >(60))); |
36ed4f51 RD |
19836 | } |
19837 | { | |
32fe5131 | 19838 | PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int(static_cast<int >(61))); |
36ed4f51 RD |
19839 | } |
19840 | { | |
32fe5131 | 19841 | PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int(static_cast<int >(62))); |
36ed4f51 | 19842 | } |
53aa7709 | 19843 | { |
32fe5131 | 19844 | PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int(static_cast<int >(63))); |
53aa7709 RD |
19845 | } |
19846 | { | |
32fe5131 | 19847 | PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int(static_cast<int >(64))); |
53aa7709 | 19848 | } |
36ed4f51 | 19849 | { |
32fe5131 | 19850 | PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int(static_cast<int >(1000))); |
36ed4f51 RD |
19851 | } |
19852 | { | |
32fe5131 | 19853 | PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19854 | } |
19855 | { | |
32fe5131 | 19856 | PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19857 | } |
19858 | { | |
32fe5131 | 19859 | PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19860 | } |
19861 | { | |
32fe5131 | 19862 | PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19863 | } |
19864 | { | |
32fe5131 | 19865 | PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19866 | } |
19867 | { | |
32fe5131 | 19868 | PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
19869 | } |
19870 | { | |
32fe5131 | 19871 | PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
19872 | } |
19873 | { | |
32fe5131 | 19874 | PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
19875 | } |
19876 | { | |
32fe5131 | 19877 | PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
19878 | } |
19879 | { | |
32fe5131 | 19880 | PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
19881 | } |
19882 | { | |
32fe5131 | 19883 | PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
19884 | } |
19885 | { | |
32fe5131 | 19886 | PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
19887 | } |
19888 | { | |
32fe5131 | 19889 | PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
19890 | } |
19891 | { | |
32fe5131 | 19892 | PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
19893 | } |
19894 | { | |
32fe5131 | 19895 | PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19896 | } |
19897 | { | |
32fe5131 | 19898 | PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19899 | } |
19900 | { | |
32fe5131 | 19901 | PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19902 | } |
19903 | { | |
32fe5131 | 19904 | PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19905 | } |
19906 | { | |
32fe5131 | 19907 | PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19908 | } |
19909 | { | |
32fe5131 | 19910 | PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
19911 | } |
19912 | { | |
32fe5131 | 19913 | PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
19914 | } |
19915 | { | |
32fe5131 | 19916 | PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
19917 | } |
19918 | { | |
32fe5131 | 19919 | PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
19920 | } |
19921 | { | |
32fe5131 | 19922 | PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
19923 | } |
19924 | { | |
32fe5131 | 19925 | PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
19926 | } |
19927 | { | |
32fe5131 | 19928 | PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
19929 | } |
19930 | { | |
32fe5131 | 19931 | PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
19932 | } |
19933 | { | |
32fe5131 | 19934 | PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
19935 | } |
19936 | { | |
32fe5131 | 19937 | PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
19938 | } |
19939 | { | |
32fe5131 | 19940 | PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
19941 | } |
19942 | { | |
32fe5131 | 19943 | PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
19944 | } |
19945 | { | |
32fe5131 | 19946 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
19947 | } |
19948 | { | |
32fe5131 | 19949 | PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int(static_cast<int >(18))); |
36ed4f51 RD |
19950 | } |
19951 | { | |
32fe5131 | 19952 | PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
19953 | } |
19954 | { | |
32fe5131 | 19955 | PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
19956 | } |
19957 | { | |
32fe5131 | 19958 | PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
19959 | } |
19960 | { | |
32fe5131 | 19961 | PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
19962 | } |
19963 | { | |
32fe5131 | 19964 | PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
19965 | } |
19966 | { | |
32fe5131 | 19967 | PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
19968 | } |
19969 | { | |
32fe5131 | 19970 | PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
19971 | } |
19972 | { | |
32fe5131 | 19973 | PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
19974 | } |
19975 | { | |
32fe5131 | 19976 | PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
19977 | } |
19978 | { | |
32fe5131 | 19979 | PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
19980 | } |
19981 | { | |
32fe5131 | 19982 | PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
19983 | } |
19984 | { | |
32fe5131 | 19985 | PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
19986 | } |
19987 | { | |
32fe5131 | 19988 | PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
19989 | } |
19990 | { | |
32fe5131 | 19991 | PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
19992 | } |
19993 | { | |
32fe5131 | 19994 | PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
19995 | } |
19996 | { | |
32fe5131 | 19997 | PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
19998 | } |
19999 | { | |
32fe5131 | 20000 | PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
20001 | } |
20002 | { | |
32fe5131 | 20003 | PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
20004 | } |
20005 | { | |
32fe5131 | 20006 | PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
20007 | } |
20008 | { | |
32fe5131 | 20009 | PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int(static_cast<int >(18))); |
36ed4f51 RD |
20010 | } |
20011 | { | |
32fe5131 | 20012 | PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
20013 | } |
20014 | { | |
32fe5131 | 20015 | PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int(static_cast<int >(20))); |
36ed4f51 RD |
20016 | } |
20017 | { | |
32fe5131 | 20018 | PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int(static_cast<int >(21))); |
36ed4f51 RD |
20019 | } |
20020 | { | |
32fe5131 | 20021 | PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int(static_cast<int >(22))); |
36ed4f51 RD |
20022 | } |
20023 | { | |
32fe5131 | 20024 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int(static_cast<int >(23))); |
36ed4f51 RD |
20025 | } |
20026 | { | |
32fe5131 | 20027 | PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int(static_cast<int >(24))); |
36ed4f51 RD |
20028 | } |
20029 | { | |
32fe5131 | 20030 | PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int(static_cast<int >(25))); |
36ed4f51 RD |
20031 | } |
20032 | { | |
32fe5131 | 20033 | PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int(static_cast<int >(26))); |
36ed4f51 RD |
20034 | } |
20035 | { | |
32fe5131 | 20036 | PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int(static_cast<int >(27))); |
36ed4f51 RD |
20037 | } |
20038 | { | |
32fe5131 | 20039 | PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int(static_cast<int >(28))); |
36ed4f51 RD |
20040 | } |
20041 | { | |
32fe5131 | 20042 | PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int(static_cast<int >(29))); |
36ed4f51 RD |
20043 | } |
20044 | { | |
32fe5131 | 20045 | PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int(static_cast<int >(30))); |
36ed4f51 RD |
20046 | } |
20047 | { | |
32fe5131 | 20048 | PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int(static_cast<int >(31))); |
36ed4f51 RD |
20049 | } |
20050 | { | |
32fe5131 | 20051 | PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int(static_cast<int >(40))); |
36ed4f51 RD |
20052 | } |
20053 | { | |
32fe5131 | 20054 | PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int(static_cast<int >(41))); |
36ed4f51 RD |
20055 | } |
20056 | { | |
32fe5131 | 20057 | PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int(static_cast<int >(42))); |
36ed4f51 RD |
20058 | } |
20059 | { | |
32fe5131 | 20060 | PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int(static_cast<int >(43))); |
36ed4f51 RD |
20061 | } |
20062 | { | |
32fe5131 | 20063 | PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int(static_cast<int >(44))); |
36ed4f51 RD |
20064 | } |
20065 | { | |
32fe5131 | 20066 | PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int(static_cast<int >(45))); |
36ed4f51 RD |
20067 | } |
20068 | { | |
32fe5131 | 20069 | PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int(static_cast<int >(46))); |
36ed4f51 RD |
20070 | } |
20071 | { | |
32fe5131 | 20072 | PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int(static_cast<int >(47))); |
36ed4f51 RD |
20073 | } |
20074 | { | |
32fe5131 | 20075 | PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int(static_cast<int >(48))); |
36ed4f51 RD |
20076 | } |
20077 | { | |
32fe5131 | 20078 | PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int(static_cast<int >(49))); |
36ed4f51 RD |
20079 | } |
20080 | { | |
32fe5131 | 20081 | PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int(static_cast<int >(50))); |
36ed4f51 RD |
20082 | } |
20083 | { | |
32fe5131 | 20084 | PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int(static_cast<int >(51))); |
36ed4f51 RD |
20085 | } |
20086 | { | |
32fe5131 | 20087 | PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int(static_cast<int >(52))); |
36ed4f51 RD |
20088 | } |
20089 | { | |
32fe5131 | 20090 | PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int(static_cast<int >(55))); |
36ed4f51 RD |
20091 | } |
20092 | { | |
32fe5131 | 20093 | PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int(static_cast<int >(56))); |
36ed4f51 RD |
20094 | } |
20095 | { | |
32fe5131 | 20096 | PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int(static_cast<int >(57))); |
36ed4f51 RD |
20097 | } |
20098 | { | |
32fe5131 | 20099 | PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int(static_cast<int >(58))); |
36ed4f51 RD |
20100 | } |
20101 | { | |
32fe5131 | 20102 | PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int(static_cast<int >(59))); |
36ed4f51 RD |
20103 | } |
20104 | { | |
32fe5131 | 20105 | PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int(static_cast<int >(60))); |
36ed4f51 RD |
20106 | } |
20107 | { | |
32fe5131 | 20108 | PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int(static_cast<int >(61))); |
36ed4f51 RD |
20109 | } |
20110 | { | |
32fe5131 | 20111 | PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int(static_cast<int >(62))); |
36ed4f51 RD |
20112 | } |
20113 | { | |
32fe5131 | 20114 | PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int(static_cast<int >(63))); |
36ed4f51 RD |
20115 | } |
20116 | { | |
32fe5131 | 20117 | PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int(static_cast<int >(64))); |
36ed4f51 RD |
20118 | } |
20119 | { | |
32fe5131 | 20120 | PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int(static_cast<int >(65))); |
36ed4f51 RD |
20121 | } |
20122 | { | |
32fe5131 | 20123 | PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int(static_cast<int >(66))); |
36ed4f51 RD |
20124 | } |
20125 | { | |
32fe5131 | 20126 | PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int(static_cast<int >(67))); |
36ed4f51 RD |
20127 | } |
20128 | { | |
32fe5131 | 20129 | PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int(static_cast<int >(70))); |
36ed4f51 RD |
20130 | } |
20131 | { | |
32fe5131 | 20132 | PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int(static_cast<int >(71))); |
36ed4f51 RD |
20133 | } |
20134 | { | |
32fe5131 | 20135 | PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int(static_cast<int >(72))); |
36ed4f51 RD |
20136 | } |
20137 | { | |
32fe5131 | 20138 | PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int(static_cast<int >(73))); |
36ed4f51 RD |
20139 | } |
20140 | { | |
32fe5131 | 20141 | PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int(static_cast<int >(74))); |
36ed4f51 RD |
20142 | } |
20143 | { | |
32fe5131 | 20144 | PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int(static_cast<int >(75))); |
36ed4f51 RD |
20145 | } |
20146 | { | |
32fe5131 | 20147 | PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int(static_cast<int >(76))); |
36ed4f51 RD |
20148 | } |
20149 | { | |
32fe5131 | 20150 | PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int(static_cast<int >(77))); |
36ed4f51 RD |
20151 | } |
20152 | { | |
32fe5131 | 20153 | PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int(static_cast<int >(80))); |
36ed4f51 RD |
20154 | } |
20155 | { | |
32fe5131 | 20156 | PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int(static_cast<int >(81))); |
36ed4f51 RD |
20157 | } |
20158 | { | |
32fe5131 | 20159 | PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int(static_cast<int >(82))); |
36ed4f51 RD |
20160 | } |
20161 | { | |
32fe5131 | 20162 | PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int(static_cast<int >(83))); |
36ed4f51 RD |
20163 | } |
20164 | { | |
32fe5131 | 20165 | PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int(static_cast<int >(84))); |
36ed4f51 RD |
20166 | } |
20167 | { | |
32fe5131 | 20168 | PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int(static_cast<int >(85))); |
36ed4f51 RD |
20169 | } |
20170 | { | |
32fe5131 | 20171 | PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int(static_cast<int >(86))); |
36ed4f51 RD |
20172 | } |
20173 | { | |
32fe5131 | 20174 | PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int(static_cast<int >(87))); |
36ed4f51 RD |
20175 | } |
20176 | { | |
32fe5131 | 20177 | PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int(static_cast<int >(90))); |
36ed4f51 RD |
20178 | } |
20179 | { | |
32fe5131 | 20180 | PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int(static_cast<int >(91))); |
36ed4f51 RD |
20181 | } |
20182 | { | |
32fe5131 | 20183 | PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int(static_cast<int >(92))); |
36ed4f51 RD |
20184 | } |
20185 | { | |
32fe5131 | 20186 | PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int(static_cast<int >(93))); |
36ed4f51 RD |
20187 | } |
20188 | { | |
32fe5131 | 20189 | PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int(static_cast<int >(94))); |
36ed4f51 RD |
20190 | } |
20191 | { | |
32fe5131 | 20192 | PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int(static_cast<int >(95))); |
36ed4f51 RD |
20193 | } |
20194 | { | |
32fe5131 | 20195 | PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int(static_cast<int >(96))); |
36ed4f51 RD |
20196 | } |
20197 | { | |
32fe5131 | 20198 | PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int(static_cast<int >(97))); |
36ed4f51 RD |
20199 | } |
20200 | { | |
32fe5131 | 20201 | PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(98))); |
36ed4f51 RD |
20202 | } |
20203 | { | |
32fe5131 | 20204 | PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int(static_cast<int >(99))); |
36ed4f51 RD |
20205 | } |
20206 | { | |
32fe5131 | 20207 | PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int(static_cast<int >(100))); |
36ed4f51 RD |
20208 | } |
20209 | { | |
32fe5131 | 20210 | PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int(static_cast<int >(101))); |
36ed4f51 RD |
20211 | } |
20212 | { | |
32fe5131 | 20213 | PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int(static_cast<int >(102))); |
36ed4f51 RD |
20214 | } |
20215 | { | |
32fe5131 | 20216 | PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int(static_cast<int >(104))); |
36ed4f51 RD |
20217 | } |
20218 | { | |
32fe5131 | 20219 | PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int(static_cast<int >(105))); |
36ed4f51 RD |
20220 | } |
20221 | { | |
32fe5131 | 20222 | PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int(static_cast<int >(106))); |
36ed4f51 RD |
20223 | } |
20224 | { | |
32fe5131 | 20225 | PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int(static_cast<int >(107))); |
36ed4f51 RD |
20226 | } |
20227 | { | |
32fe5131 | 20228 | PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int(static_cast<int >(108))); |
36ed4f51 RD |
20229 | } |
20230 | { | |
32fe5131 | 20231 | PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int(static_cast<int >(109))); |
36ed4f51 RD |
20232 | } |
20233 | { | |
32fe5131 | 20234 | PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int(static_cast<int >(110))); |
36ed4f51 RD |
20235 | } |
20236 | { | |
32fe5131 | 20237 | PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int(static_cast<int >(111))); |
36ed4f51 RD |
20238 | } |
20239 | { | |
32fe5131 | 20240 | PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int(static_cast<int >(112))); |
36ed4f51 RD |
20241 | } |
20242 | { | |
32fe5131 | 20243 | PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int(static_cast<int >(113))); |
36ed4f51 RD |
20244 | } |
20245 | { | |
32fe5131 | 20246 | PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int(static_cast<int >(114))); |
36ed4f51 RD |
20247 | } |
20248 | { | |
32fe5131 | 20249 | PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int(static_cast<int >(115))); |
36ed4f51 RD |
20250 | } |
20251 | { | |
32fe5131 | 20252 | PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int(static_cast<int >(116))); |
36ed4f51 RD |
20253 | } |
20254 | { | |
32fe5131 | 20255 | PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int(static_cast<int >(117))); |
36ed4f51 RD |
20256 | } |
20257 | { | |
32fe5131 | 20258 | PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int(static_cast<int >(118))); |
36ed4f51 RD |
20259 | } |
20260 | { | |
32fe5131 | 20261 | PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int(static_cast<int >(119))); |
36ed4f51 RD |
20262 | } |
20263 | { | |
32fe5131 | 20264 | PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int(static_cast<int >(120))); |
36ed4f51 RD |
20265 | } |
20266 | { | |
32fe5131 | 20267 | PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int(static_cast<int >(121))); |
36ed4f51 RD |
20268 | } |
20269 | { | |
32fe5131 | 20270 | PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int(static_cast<int >(122))); |
36ed4f51 RD |
20271 | } |
20272 | { | |
32fe5131 | 20273 | PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int(static_cast<int >(123))); |
36ed4f51 RD |
20274 | } |
20275 | { | |
32fe5131 | 20276 | PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int(static_cast<int >(124))); |
36ed4f51 RD |
20277 | } |
20278 | { | |
32fe5131 | 20279 | PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int(static_cast<int >(125))); |
36ed4f51 RD |
20280 | } |
20281 | { | |
32fe5131 | 20282 | PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int(static_cast<int >(126))); |
36ed4f51 RD |
20283 | } |
20284 | { | |
32fe5131 | 20285 | PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int(static_cast<int >(127))); |
36ed4f51 RD |
20286 | } |
20287 | { | |
32fe5131 | 20288 | PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20289 | } |
20290 | { | |
32fe5131 | 20291 | PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20292 | } |
20293 | { | |
32fe5131 | 20294 | PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20295 | } |
20296 | { | |
32fe5131 | 20297 | PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20298 | } |
20299 | { | |
32fe5131 | 20300 | PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20301 | } |
20302 | { | |
32fe5131 | 20303 | PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20304 | } |
20305 | { | |
32fe5131 | 20306 | PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20307 | } |
20308 | { | |
32fe5131 | 20309 | PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20310 | } |
20311 | { | |
32fe5131 | 20312 | PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20313 | } |
20314 | { | |
32fe5131 | 20315 | PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20316 | } |
20317 | { | |
32fe5131 | 20318 | PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20319 | } |
20320 | { | |
32fe5131 | 20321 | PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20322 | } |
20323 | { | |
32fe5131 | 20324 | PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
20325 | } |
20326 | { | |
32fe5131 | 20327 | PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
20328 | } |
20329 | { | |
32fe5131 | 20330 | PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
20331 | } |
20332 | { | |
32fe5131 | 20333 | PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
20334 | } |
20335 | { | |
32fe5131 | 20336 | PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
20337 | } |
20338 | { | |
32fe5131 | 20339 | PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int(static_cast<int >(18))); |
36ed4f51 RD |
20340 | } |
20341 | { | |
32fe5131 | 20342 | PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
20343 | } |
20344 | { | |
32fe5131 | 20345 | PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int(static_cast<int >(20))); |
36ed4f51 RD |
20346 | } |
20347 | { | |
32fe5131 | 20348 | PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int(static_cast<int >(21))); |
36ed4f51 RD |
20349 | } |
20350 | { | |
32fe5131 | 20351 | PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int(static_cast<int >(22))); |
36ed4f51 RD |
20352 | } |
20353 | { | |
32fe5131 | 20354 | PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int(static_cast<int >(23))); |
36ed4f51 RD |
20355 | } |
20356 | { | |
32fe5131 | 20357 | PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int(static_cast<int >(24))); |
36ed4f51 RD |
20358 | } |
20359 | { | |
32fe5131 | 20360 | PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int(static_cast<int >(25))); |
36ed4f51 RD |
20361 | } |
20362 | { | |
32fe5131 | 20363 | PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int(static_cast<int >(26))); |
36ed4f51 RD |
20364 | } |
20365 | { | |
32fe5131 | 20366 | PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int(static_cast<int >(27))); |
36ed4f51 RD |
20367 | } |
20368 | { | |
32fe5131 | 20369 | PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int(static_cast<int >(28))); |
36ed4f51 RD |
20370 | } |
20371 | { | |
32fe5131 | 20372 | PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int(static_cast<int >(29))); |
36ed4f51 RD |
20373 | } |
20374 | { | |
32fe5131 | 20375 | PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int(static_cast<int >(30))); |
36ed4f51 RD |
20376 | } |
20377 | { | |
32fe5131 | 20378 | PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20379 | } |
20380 | { | |
32fe5131 | 20381 | PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20382 | } |
20383 | { | |
32fe5131 | 20384 | PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20385 | } |
20386 | { | |
32fe5131 | 20387 | PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20388 | } |
20389 | { | |
32fe5131 | 20390 | PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20391 | } |
20392 | { | |
32fe5131 | 20393 | PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20394 | } |
20395 | { | |
32fe5131 | 20396 | PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20397 | } |
20398 | { | |
32fe5131 | 20399 | PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20400 | } |
20401 | { | |
32fe5131 | 20402 | PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20403 | } |
20404 | { | |
32fe5131 | 20405 | PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20406 | } |
20407 | { | |
32fe5131 | 20408 | PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20409 | } |
20410 | { | |
32fe5131 | 20411 | PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20412 | } |
20413 | { | |
32fe5131 | 20414 | PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
20415 | } |
20416 | { | |
32fe5131 | 20417 | PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
20418 | } |
20419 | { | |
32fe5131 | 20420 | PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
20421 | } |
20422 | { | |
32fe5131 | 20423 | PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20424 | } |
20425 | { | |
32fe5131 | 20426 | PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20427 | } |
20428 | { | |
32fe5131 | 20429 | PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20430 | } |
20431 | { | |
32fe5131 | 20432 | PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20433 | } |
20434 | { | |
32fe5131 | 20435 | PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20436 | } |
20437 | { | |
32fe5131 | 20438 | PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20439 | } |
20440 | { | |
32fe5131 | 20441 | PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20442 | } |
20443 | { | |
32fe5131 | 20444 | PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20445 | } |
20446 | { | |
32fe5131 | 20447 | PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20448 | } |
20449 | { | |
32fe5131 | 20450 | PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20451 | } |
20452 | { | |
32fe5131 | 20453 | PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20454 | } |
20455 | { | |
32fe5131 | 20456 | PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20457 | } |
20458 | { | |
32fe5131 | 20459 | PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20460 | } |
20461 | { | |
32fe5131 | 20462 | PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20463 | } |
20464 | { | |
32fe5131 | 20465 | PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20466 | } |
20467 | { | |
32fe5131 | 20468 | PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20469 | } |
20470 | { | |
32fe5131 | 20471 | PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20472 | } |
20473 | { | |
32fe5131 | 20474 | PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20475 | } |
20476 | { | |
32fe5131 | 20477 | PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20478 | } |
20479 | { | |
32fe5131 | 20480 | PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20481 | } |
20482 | { | |
32fe5131 | 20483 | PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20484 | } |
20485 | { | |
32fe5131 | 20486 | PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20487 | } |
20488 | { | |
32fe5131 | 20489 | PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
20490 | } |
20491 | { | |
32fe5131 | 20492 | PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
20493 | } |
20494 | { | |
32fe5131 | 20495 | PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
20496 | } |
20497 | { | |
32fe5131 | 20498 | PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
20499 | } |
20500 | { | |
32fe5131 | 20501 | PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
20502 | } |
20503 | { | |
32fe5131 | 20504 | PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
20505 | } |
20506 | { | |
32fe5131 | 20507 | PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int(static_cast<int >(18))); |
36ed4f51 RD |
20508 | } |
20509 | { | |
32fe5131 | 20510 | PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
20511 | } |
20512 | { | |
32fe5131 | 20513 | PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20514 | } |
20515 | { | |
32fe5131 | 20516 | PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20517 | } |
20518 | { | |
32fe5131 | 20519 | PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20520 | } |
20521 | { | |
32fe5131 | 20522 | PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20523 | } |
20524 | { | |
32fe5131 | 20525 | PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20526 | } |
20527 | { | |
32fe5131 | 20528 | PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20529 | } |
20530 | { | |
32fe5131 | 20531 | PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20532 | } |
20533 | { | |
32fe5131 | 20534 | PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20535 | } |
20536 | { | |
32fe5131 | 20537 | PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20538 | } |
20539 | { | |
32fe5131 | 20540 | PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20541 | } |
20542 | { | |
32fe5131 | 20543 | PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20544 | } |
20545 | { | |
32fe5131 | 20546 | PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20547 | } |
20548 | { | |
32fe5131 | 20549 | PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
20550 | } |
20551 | { | |
32fe5131 | 20552 | PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
20553 | } |
20554 | { | |
32fe5131 | 20555 | PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
20556 | } |
20557 | { | |
32fe5131 | 20558 | PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
20559 | } |
20560 | { | |
32fe5131 | 20561 | PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
20562 | } |
20563 | { | |
32fe5131 | 20564 | PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
20565 | } |
20566 | { | |
32fe5131 | 20567 | PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int(static_cast<int >(18))); |
36ed4f51 RD |
20568 | } |
20569 | { | |
32fe5131 | 20570 | PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 | 20571 | } |
53aa7709 | 20572 | { |
32fe5131 | 20573 | PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int(static_cast<int >(20))); |
53aa7709 | 20574 | } |
36ed4f51 | 20575 | { |
32fe5131 | 20576 | PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20577 | } |
20578 | { | |
32fe5131 | 20579 | PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20580 | } |
20581 | { | |
32fe5131 | 20582 | PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20583 | } |
20584 | { | |
32fe5131 | 20585 | PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20586 | } |
20587 | { | |
32fe5131 | 20588 | PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20589 | } |
20590 | { | |
32fe5131 | 20591 | PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20592 | } |
20593 | { | |
32fe5131 | 20594 | PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20595 | } |
20596 | { | |
32fe5131 | 20597 | PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20598 | } |
20599 | { | |
32fe5131 | 20600 | PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20601 | } |
20602 | { | |
32fe5131 | 20603 | PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20604 | } |
20605 | { | |
32fe5131 | 20606 | PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20607 | } |
20608 | { | |
32fe5131 | 20609 | PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20610 | } |
20611 | { | |
32fe5131 | 20612 | PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20613 | } |
20614 | { | |
32fe5131 | 20615 | PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20616 | } |
20617 | { | |
32fe5131 | 20618 | PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20619 | } |
20620 | { | |
32fe5131 | 20621 | PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20622 | } |
20623 | { | |
32fe5131 | 20624 | PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20625 | } |
20626 | { | |
32fe5131 | 20627 | PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20628 | } |
20629 | { | |
32fe5131 | 20630 | PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20631 | } |
20632 | { | |
32fe5131 | 20633 | PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20634 | } |
20635 | { | |
32fe5131 | 20636 | PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20637 | } |
20638 | { | |
32fe5131 | 20639 | PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20640 | } |
20641 | { | |
32fe5131 | 20642 | PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20643 | } |
20644 | { | |
32fe5131 | 20645 | PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20646 | } |
20647 | { | |
32fe5131 | 20648 | PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20649 | } |
20650 | { | |
32fe5131 | 20651 | PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20652 | } |
20653 | { | |
32fe5131 | 20654 | PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20655 | } |
20656 | { | |
32fe5131 | 20657 | PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20658 | } |
20659 | { | |
32fe5131 | 20660 | PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20661 | } |
20662 | { | |
32fe5131 | 20663 | PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20664 | } |
20665 | { | |
32fe5131 | 20666 | PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20667 | } |
20668 | { | |
32fe5131 | 20669 | PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20670 | } |
20671 | { | |
32fe5131 | 20672 | PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20673 | } |
20674 | { | |
32fe5131 | 20675 | PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20676 | } |
20677 | { | |
32fe5131 | 20678 | PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20679 | } |
20680 | { | |
32fe5131 | 20681 | PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20682 | } |
20683 | { | |
32fe5131 | 20684 | PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20685 | } |
20686 | { | |
32fe5131 | 20687 | PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20688 | } |
20689 | { | |
32fe5131 | 20690 | PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20691 | } |
20692 | { | |
32fe5131 | 20693 | PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20694 | } |
20695 | { | |
32fe5131 | 20696 | PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20697 | } |
20698 | { | |
32fe5131 | 20699 | PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20700 | } |
20701 | { | |
32fe5131 | 20702 | PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
20703 | } |
20704 | { | |
32fe5131 | 20705 | PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
20706 | } |
20707 | { | |
32fe5131 | 20708 | PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
20709 | } |
20710 | { | |
32fe5131 | 20711 | PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
20712 | } |
20713 | { | |
32fe5131 | 20714 | PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
20715 | } |
20716 | { | |
32fe5131 | 20717 | PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20718 | } |
20719 | { | |
32fe5131 | 20720 | PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20721 | } |
20722 | { | |
32fe5131 | 20723 | PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20724 | } |
20725 | { | |
32fe5131 | 20726 | PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20727 | } |
20728 | { | |
32fe5131 | 20729 | PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20730 | } |
20731 | { | |
32fe5131 | 20732 | PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20733 | } |
20734 | { | |
32fe5131 | 20735 | PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20736 | } |
20737 | { | |
32fe5131 | 20738 | PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20739 | } |
20740 | { | |
32fe5131 | 20741 | PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20742 | } |
20743 | { | |
32fe5131 | 20744 | PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20745 | } |
20746 | { | |
32fe5131 | 20747 | PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20748 | } |
20749 | { | |
32fe5131 | 20750 | PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20751 | } |
20752 | { | |
32fe5131 | 20753 | PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20754 | } |
20755 | { | |
32fe5131 | 20756 | PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20757 | } |
20758 | { | |
32fe5131 | 20759 | PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20760 | } |
20761 | { | |
32fe5131 | 20762 | PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20763 | } |
20764 | { | |
32fe5131 | 20765 | PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20766 | } |
20767 | { | |
32fe5131 | 20768 | PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20769 | } |
20770 | { | |
32fe5131 | 20771 | PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20772 | } |
20773 | { | |
32fe5131 | 20774 | PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20775 | } |
20776 | { | |
32fe5131 | 20777 | PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20778 | } |
20779 | { | |
32fe5131 | 20780 | PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20781 | } |
20782 | { | |
32fe5131 | 20783 | PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20784 | } |
20785 | { | |
32fe5131 | 20786 | PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20787 | } |
20788 | { | |
32fe5131 | 20789 | PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20790 | } |
20791 | { | |
32fe5131 | 20792 | PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20793 | } |
20794 | { | |
32fe5131 | 20795 | PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20796 | } |
20797 | { | |
32fe5131 | 20798 | PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20799 | } |
20800 | { | |
32fe5131 | 20801 | PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20802 | } |
20803 | { | |
32fe5131 | 20804 | PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20805 | } |
20806 | { | |
32fe5131 | 20807 | PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20808 | } |
20809 | { | |
32fe5131 | 20810 | PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20811 | } |
20812 | { | |
32fe5131 | 20813 | PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20814 | } |
20815 | { | |
32fe5131 | 20816 | PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20817 | } |
20818 | { | |
32fe5131 | 20819 | PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20820 | } |
20821 | { | |
32fe5131 | 20822 | PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20823 | } |
20824 | { | |
32fe5131 | 20825 | PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20826 | } |
20827 | { | |
32fe5131 | 20828 | PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20829 | } |
20830 | { | |
32fe5131 | 20831 | PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20832 | } |
20833 | { | |
32fe5131 | 20834 | PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20835 | } |
20836 | { | |
32fe5131 | 20837 | PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20838 | } |
20839 | { | |
32fe5131 | 20840 | PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20841 | } |
20842 | { | |
32fe5131 | 20843 | PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20844 | } |
20845 | { | |
32fe5131 | 20846 | PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20847 | } |
20848 | { | |
32fe5131 | 20849 | PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20850 | } |
20851 | { | |
32fe5131 | 20852 | PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20853 | } |
20854 | { | |
32fe5131 | 20855 | PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20856 | } |
20857 | { | |
32fe5131 | 20858 | PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20859 | } |
20860 | { | |
32fe5131 | 20861 | PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20862 | } |
20863 | { | |
32fe5131 | 20864 | PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20865 | } |
20866 | { | |
32fe5131 | 20867 | PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20868 | } |
20869 | { | |
32fe5131 | 20870 | PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20871 | } |
20872 | { | |
32fe5131 | 20873 | PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20874 | } |
20875 | { | |
32fe5131 | 20876 | PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20877 | } |
20878 | { | |
32fe5131 | 20879 | PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20880 | } |
20881 | { | |
32fe5131 | 20882 | PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20883 | } |
20884 | { | |
32fe5131 | 20885 | PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20886 | } |
20887 | { | |
32fe5131 | 20888 | PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20889 | } |
20890 | { | |
32fe5131 | 20891 | PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20892 | } |
20893 | { | |
32fe5131 | 20894 | PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20895 | } |
20896 | { | |
32fe5131 | 20897 | PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20898 | } |
20899 | { | |
32fe5131 | 20900 | PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20901 | } |
20902 | { | |
32fe5131 | 20903 | PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20904 | } |
20905 | { | |
32fe5131 | 20906 | PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20907 | } |
20908 | { | |
32fe5131 | 20909 | PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20910 | } |
20911 | { | |
32fe5131 | 20912 | PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20913 | } |
20914 | { | |
32fe5131 | 20915 | PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20916 | } |
20917 | { | |
32fe5131 | 20918 | PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20919 | } |
20920 | { | |
32fe5131 | 20921 | PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20922 | } |
20923 | { | |
32fe5131 | 20924 | PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20925 | } |
20926 | { | |
32fe5131 | 20927 | PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20928 | } |
20929 | { | |
32fe5131 | 20930 | PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20931 | } |
20932 | { | |
32fe5131 | 20933 | PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20934 | } |
20935 | { | |
32fe5131 | 20936 | PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20937 | } |
20938 | { | |
32fe5131 | 20939 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20940 | } |
20941 | { | |
32fe5131 | 20942 | PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20943 | } |
20944 | { | |
32fe5131 | 20945 | PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20946 | } |
20947 | { | |
32fe5131 | 20948 | PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20949 | } |
20950 | { | |
32fe5131 | 20951 | PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
20952 | } |
20953 | { | |
32fe5131 | 20954 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
20955 | } |
20956 | { | |
32fe5131 | 20957 | PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
20958 | } |
20959 | { | |
32fe5131 | 20960 | PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
20961 | } |
20962 | { | |
32fe5131 | 20963 | PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
20964 | } |
20965 | { | |
32fe5131 | 20966 | PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
20967 | } |
20968 | { | |
32fe5131 | 20969 | PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
20970 | } |
20971 | { | |
32fe5131 | 20972 | PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
20973 | } |
20974 | { | |
32fe5131 | 20975 | PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
20976 | } |
20977 | { | |
32fe5131 | 20978 | PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
20979 | } |
20980 | { | |
32fe5131 | 20981 | PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
20982 | } |
20983 | { | |
32fe5131 | 20984 | PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
20985 | } |
20986 | { | |
32fe5131 | 20987 | PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
20988 | } |
20989 | { | |
32fe5131 | 20990 | PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
20991 | } |
20992 | { | |
32fe5131 | 20993 | PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
20994 | } |
20995 | { | |
32fe5131 | 20996 | PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
20997 | } |
20998 | { | |
32fe5131 | 20999 | PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21000 | } |
21001 | { | |
32fe5131 | 21002 | PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21003 | } |
21004 | { | |
32fe5131 | 21005 | PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21006 | } |
21007 | { | |
32fe5131 | 21008 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21009 | } |
21010 | { | |
32fe5131 | 21011 | PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21012 | } |
21013 | { | |
32fe5131 | 21014 | PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21015 | } |
21016 | { | |
32fe5131 | 21017 | PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21018 | } |
21019 | { | |
32fe5131 | 21020 | PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21021 | } |
21022 | { | |
32fe5131 | 21023 | PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21024 | } |
21025 | { | |
32fe5131 | 21026 | PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21027 | } |
21028 | { | |
32fe5131 | 21029 | PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21030 | } |
21031 | { | |
32fe5131 | 21032 | PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21033 | } |
21034 | { | |
32fe5131 | 21035 | PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21036 | } |
21037 | { | |
32fe5131 | 21038 | PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21039 | } |
21040 | { | |
32fe5131 | 21041 | PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21042 | } |
21043 | { | |
32fe5131 | 21044 | PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21045 | } |
21046 | { | |
32fe5131 | 21047 | PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21048 | } |
21049 | { | |
32fe5131 | 21050 | PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21051 | } |
21052 | { | |
32fe5131 | 21053 | PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21054 | } |
21055 | { | |
32fe5131 | 21056 | PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21057 | } |
21058 | { | |
32fe5131 | 21059 | PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21060 | } |
21061 | { | |
32fe5131 | 21062 | PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21063 | } |
21064 | { | |
32fe5131 | 21065 | PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21066 | } |
21067 | { | |
32fe5131 | 21068 | PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21069 | } |
21070 | { | |
32fe5131 | 21071 | PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21072 | } |
21073 | { | |
32fe5131 | 21074 | PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21075 | } |
21076 | { | |
32fe5131 | 21077 | PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21078 | } |
21079 | { | |
32fe5131 | 21080 | PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21081 | } |
21082 | { | |
32fe5131 | 21083 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21084 | } |
21085 | { | |
32fe5131 | 21086 | PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21087 | } |
21088 | { | |
32fe5131 | 21089 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21090 | } |
21091 | { | |
32fe5131 | 21092 | PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21093 | } |
21094 | { | |
32fe5131 | 21095 | PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21096 | } |
21097 | { | |
32fe5131 | 21098 | PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21099 | } |
21100 | { | |
32fe5131 | 21101 | PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21102 | } |
21103 | { | |
32fe5131 | 21104 | PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21105 | } |
21106 | { | |
32fe5131 | 21107 | PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21108 | } |
21109 | { | |
32fe5131 | 21110 | PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21111 | } |
21112 | { | |
32fe5131 | 21113 | PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 | 21114 | } |
53aa7709 | 21115 | { |
32fe5131 | 21116 | PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int(static_cast<int >(15))); |
53aa7709 | 21117 | } |
36ed4f51 | 21118 | { |
32fe5131 | 21119 | PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21120 | } |
21121 | { | |
32fe5131 | 21122 | PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21123 | } |
21124 | { | |
32fe5131 | 21125 | PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21126 | } |
21127 | { | |
32fe5131 | 21128 | PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21129 | } |
21130 | { | |
32fe5131 | 21131 | PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21132 | } |
21133 | { | |
32fe5131 | 21134 | PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21135 | } |
21136 | { | |
32fe5131 | 21137 | PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21138 | } |
21139 | { | |
32fe5131 | 21140 | PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21141 | } |
21142 | { | |
32fe5131 | 21143 | PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21144 | } |
21145 | { | |
32fe5131 | 21146 | PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21147 | } |
21148 | { | |
32fe5131 | 21149 | PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21150 | } |
21151 | { | |
32fe5131 | 21152 | PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21153 | } |
21154 | { | |
32fe5131 | 21155 | PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21156 | } |
21157 | { | |
32fe5131 | 21158 | PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21159 | } |
21160 | { | |
32fe5131 | 21161 | PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21162 | } |
21163 | { | |
32fe5131 | 21164 | PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
21165 | } |
21166 | { | |
32fe5131 | 21167 | PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
21168 | } |
21169 | { | |
32fe5131 | 21170 | PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21171 | } |
21172 | { | |
32fe5131 | 21173 | PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21174 | } |
21175 | { | |
32fe5131 | 21176 | PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21177 | } |
21178 | { | |
32fe5131 | 21179 | PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21180 | } |
21181 | { | |
32fe5131 | 21182 | PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21183 | } |
21184 | { | |
32fe5131 | 21185 | PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21186 | } |
21187 | { | |
32fe5131 | 21188 | PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21189 | } |
21190 | { | |
32fe5131 | 21191 | PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21192 | } |
21193 | { | |
32fe5131 | 21194 | PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21195 | } |
21196 | { | |
32fe5131 | 21197 | PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21198 | } |
21199 | { | |
32fe5131 | 21200 | PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21201 | } |
21202 | { | |
32fe5131 | 21203 | PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21204 | } |
21205 | { | |
32fe5131 | 21206 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21207 | } |
21208 | { | |
32fe5131 | 21209 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21210 | } |
21211 | { | |
32fe5131 | 21212 | PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21213 | } |
21214 | { | |
32fe5131 | 21215 | PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21216 | } |
21217 | { | |
32fe5131 | 21218 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21219 | } |
21220 | { | |
32fe5131 | 21221 | PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21222 | } |
21223 | { | |
32fe5131 | 21224 | PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21225 | } |
21226 | { | |
32fe5131 | 21227 | PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21228 | } |
21229 | { | |
32fe5131 | 21230 | PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21231 | } |
21232 | { | |
32fe5131 | 21233 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21234 | } |
21235 | { | |
32fe5131 | 21236 | PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21237 | } |
21238 | { | |
32fe5131 | 21239 | PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21240 | } |
21241 | { | |
32fe5131 | 21242 | PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21243 | } |
21244 | { | |
32fe5131 | 21245 | PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21246 | } |
21247 | { | |
32fe5131 | 21248 | PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21249 | } |
21250 | { | |
32fe5131 | 21251 | PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21252 | } |
21253 | { | |
32fe5131 | 21254 | PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21255 | } |
21256 | { | |
32fe5131 | 21257 | PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21258 | } |
21259 | { | |
32fe5131 | 21260 | PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21261 | } |
21262 | { | |
32fe5131 | 21263 | PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21264 | } |
21265 | { | |
32fe5131 | 21266 | PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21267 | } |
21268 | { | |
32fe5131 | 21269 | PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21270 | } |
21271 | { | |
32fe5131 | 21272 | PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21273 | } |
21274 | { | |
32fe5131 | 21275 | PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21276 | } |
21277 | { | |
32fe5131 | 21278 | PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21279 | } |
21280 | { | |
32fe5131 | 21281 | PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21282 | } |
21283 | { | |
32fe5131 | 21284 | PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
21285 | } |
21286 | { | |
32fe5131 | 21287 | PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21288 | } |
21289 | { | |
32fe5131 | 21290 | PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21291 | } |
21292 | { | |
32fe5131 | 21293 | PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21294 | } |
21295 | { | |
32fe5131 | 21296 | PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21297 | } |
21298 | { | |
32fe5131 | 21299 | PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21300 | } |
21301 | { | |
32fe5131 | 21302 | PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21303 | } |
21304 | { | |
32fe5131 | 21305 | PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21306 | } |
21307 | { | |
32fe5131 | 21308 | PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21309 | } |
21310 | { | |
32fe5131 | 21311 | PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21312 | } |
21313 | { | |
32fe5131 | 21314 | PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21315 | } |
21316 | { | |
32fe5131 | 21317 | PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21318 | } |
21319 | { | |
32fe5131 | 21320 | PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21321 | } |
21322 | { | |
32fe5131 | 21323 | PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21324 | } |
21325 | { | |
32fe5131 | 21326 | PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21327 | } |
21328 | { | |
32fe5131 | 21329 | PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21330 | } |
21331 | { | |
32fe5131 | 21332 | PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21333 | } |
21334 | { | |
32fe5131 | 21335 | PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21336 | } |
21337 | { | |
32fe5131 | 21338 | PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21339 | } |
21340 | { | |
32fe5131 | 21341 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21342 | } |
21343 | { | |
32fe5131 | 21344 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21345 | } |
21346 | { | |
32fe5131 | 21347 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21348 | } |
21349 | { | |
32fe5131 | 21350 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21351 | } |
21352 | { | |
32fe5131 | 21353 | PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21354 | } |
21355 | { | |
32fe5131 | 21356 | PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21357 | } |
21358 | { | |
32fe5131 | 21359 | PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21360 | } |
21361 | { | |
32fe5131 | 21362 | PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21363 | } |
21364 | { | |
32fe5131 | 21365 | PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21366 | } |
21367 | { | |
32fe5131 | 21368 | PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21369 | } |
21370 | { | |
32fe5131 | 21371 | PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21372 | } |
21373 | { | |
32fe5131 | 21374 | PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21375 | } |
21376 | { | |
32fe5131 | 21377 | PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
21378 | } |
21379 | { | |
32fe5131 | 21380 | PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
21381 | } |
21382 | { | |
32fe5131 | 21383 | PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int(static_cast<int >(17))); |
36ed4f51 RD |
21384 | } |
21385 | { | |
32fe5131 | 21386 | PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21387 | } |
21388 | { | |
32fe5131 | 21389 | PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21390 | } |
21391 | { | |
32fe5131 | 21392 | PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21393 | } |
21394 | { | |
32fe5131 | 21395 | PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21396 | } |
21397 | { | |
32fe5131 | 21398 | PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21399 | } |
21400 | { | |
32fe5131 | 21401 | PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21402 | } |
21403 | { | |
32fe5131 | 21404 | PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21405 | } |
21406 | { | |
32fe5131 | 21407 | PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21408 | } |
21409 | { | |
32fe5131 | 21410 | PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21411 | } |
21412 | { | |
32fe5131 | 21413 | PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21414 | } |
21415 | { | |
32fe5131 | 21416 | PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21417 | } |
21418 | { | |
32fe5131 | 21419 | PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21420 | } |
21421 | { | |
32fe5131 | 21422 | PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21423 | } |
21424 | { | |
32fe5131 | 21425 | PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21426 | } |
21427 | { | |
32fe5131 | 21428 | PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21429 | } |
21430 | { | |
32fe5131 | 21431 | PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21432 | } |
21433 | { | |
32fe5131 | 21434 | PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21435 | } |
21436 | { | |
32fe5131 | 21437 | PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21438 | } |
21439 | { | |
32fe5131 | 21440 | PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21441 | } |
21442 | { | |
32fe5131 | 21443 | PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21444 | } |
21445 | { | |
32fe5131 | 21446 | PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21447 | } |
21448 | { | |
32fe5131 | 21449 | PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21450 | } |
21451 | { | |
32fe5131 | 21452 | PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21453 | } |
21454 | { | |
32fe5131 | 21455 | PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21456 | } |
21457 | { | |
32fe5131 | 21458 | PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21459 | } |
21460 | { | |
32fe5131 | 21461 | PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21462 | } |
21463 | { | |
32fe5131 | 21464 | PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21465 | } |
21466 | { | |
32fe5131 | 21467 | PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21468 | } |
21469 | { | |
32fe5131 | 21470 | PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21471 | } |
21472 | { | |
32fe5131 | 21473 | PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21474 | } |
21475 | { | |
32fe5131 | 21476 | PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21477 | } |
21478 | { | |
32fe5131 | 21479 | PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21480 | } |
21481 | { | |
32fe5131 | 21482 | PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21483 | } |
21484 | { | |
32fe5131 | 21485 | PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21486 | } |
21487 | { | |
32fe5131 | 21488 | PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21489 | } |
21490 | { | |
32fe5131 | 21491 | PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21492 | } |
21493 | { | |
32fe5131 | 21494 | PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21495 | } |
21496 | { | |
32fe5131 | 21497 | PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21498 | } |
21499 | { | |
32fe5131 | 21500 | PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21501 | } |
21502 | { | |
32fe5131 | 21503 | PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21504 | } |
21505 | { | |
32fe5131 | 21506 | PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21507 | } |
21508 | { | |
32fe5131 | 21509 | PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21510 | } |
21511 | { | |
32fe5131 | 21512 | PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21513 | } |
21514 | { | |
32fe5131 | 21515 | PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21516 | } |
21517 | { | |
32fe5131 | 21518 | PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21519 | } |
21520 | { | |
32fe5131 | 21521 | PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21522 | } |
21523 | { | |
32fe5131 | 21524 | PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21525 | } |
21526 | { | |
32fe5131 | 21527 | PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21528 | } |
21529 | { | |
32fe5131 | 21530 | PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21531 | } |
21532 | { | |
32fe5131 | 21533 | PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21534 | } |
21535 | { | |
32fe5131 | 21536 | PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21537 | } |
21538 | { | |
32fe5131 | 21539 | PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21540 | } |
21541 | { | |
32fe5131 | 21542 | PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21543 | } |
21544 | { | |
32fe5131 | 21545 | PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21546 | } |
21547 | { | |
32fe5131 | 21548 | PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21549 | } |
21550 | { | |
32fe5131 | 21551 | PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21552 | } |
21553 | { | |
32fe5131 | 21554 | PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21555 | } |
21556 | { | |
32fe5131 | 21557 | PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21558 | } |
21559 | { | |
32fe5131 | 21560 | PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int(static_cast<int >(31))); |
36ed4f51 RD |
21561 | } |
21562 | { | |
32fe5131 | 21563 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21564 | } |
21565 | { | |
32fe5131 | 21566 | PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21567 | } |
21568 | { | |
32fe5131 | 21569 | PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21570 | } |
21571 | { | |
32fe5131 | 21572 | PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21573 | } |
21574 | { | |
32fe5131 | 21575 | PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21576 | } |
21577 | { | |
32fe5131 | 21578 | PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21579 | } |
21580 | { | |
32fe5131 | 21581 | PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21582 | } |
21583 | { | |
32fe5131 | 21584 | PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21585 | } |
21586 | { | |
32fe5131 | 21587 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21588 | } |
21589 | { | |
32fe5131 | 21590 | PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21591 | } |
21592 | { | |
32fe5131 | 21593 | PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21594 | } |
21595 | { | |
32fe5131 | 21596 | PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21597 | } |
21598 | { | |
32fe5131 | 21599 | PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21600 | } |
21601 | { | |
32fe5131 | 21602 | PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21603 | } |
21604 | { | |
32fe5131 | 21605 | PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21606 | } |
21607 | { | |
32fe5131 | 21608 | PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int(static_cast<int >(15))); |
36ed4f51 RD |
21609 | } |
21610 | { | |
32fe5131 | 21611 | PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int(static_cast<int >(16))); |
36ed4f51 RD |
21612 | } |
21613 | { | |
32fe5131 | 21614 | PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21615 | } |
21616 | { | |
32fe5131 | 21617 | PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21618 | } |
21619 | { | |
32fe5131 | 21620 | PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21621 | } |
21622 | { | |
32fe5131 | 21623 | PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21624 | } |
21625 | { | |
32fe5131 | 21626 | PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21627 | } |
21628 | { | |
32fe5131 | 21629 | PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21630 | } |
21631 | { | |
32fe5131 | 21632 | PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21633 | } |
21634 | { | |
32fe5131 | 21635 | PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21636 | } |
21637 | { | |
32fe5131 | 21638 | PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21639 | } |
21640 | { | |
32fe5131 | 21641 | PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21642 | } |
21643 | { | |
32fe5131 | 21644 | PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21645 | } |
21646 | { | |
32fe5131 | 21647 | PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21648 | } |
21649 | { | |
32fe5131 | 21650 | PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21651 | } |
21652 | { | |
32fe5131 | 21653 | PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
21654 | } |
21655 | { | |
32fe5131 | 21656 | PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21657 | } |
21658 | { | |
32fe5131 | 21659 | PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21660 | } |
21661 | { | |
32fe5131 | 21662 | PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21663 | } |
21664 | { | |
32fe5131 | 21665 | PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21666 | } |
21667 | { | |
32fe5131 | 21668 | PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21669 | } |
21670 | { | |
32fe5131 | 21671 | PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21672 | } |
21673 | { | |
32fe5131 | 21674 | PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21675 | } |
21676 | { | |
32fe5131 | 21677 | PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21678 | } |
21679 | { | |
32fe5131 | 21680 | PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21681 | } |
21682 | { | |
32fe5131 | 21683 | PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21684 | } |
21685 | { | |
32fe5131 | 21686 | PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int(static_cast<int >(31))); |
36ed4f51 RD |
21687 | } |
21688 | { | |
32fe5131 | 21689 | PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21690 | } |
21691 | { | |
32fe5131 | 21692 | PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21693 | } |
21694 | { | |
32fe5131 | 21695 | PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21696 | } |
21697 | { | |
32fe5131 | 21698 | PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21699 | } |
21700 | { | |
32fe5131 | 21701 | PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21702 | } |
21703 | { | |
32fe5131 | 21704 | PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21705 | } |
21706 | { | |
32fe5131 | 21707 | PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21708 | } |
21709 | { | |
32fe5131 | 21710 | PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21711 | } |
21712 | { | |
32fe5131 | 21713 | PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21714 | } |
21715 | { | |
32fe5131 | 21716 | PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21717 | } |
21718 | { | |
32fe5131 | 21719 | PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21720 | } |
21721 | { | |
32fe5131 | 21722 | PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21723 | } |
21724 | { | |
32fe5131 | 21725 | PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21726 | } |
21727 | { | |
32fe5131 | 21728 | PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21729 | } |
21730 | { | |
32fe5131 | 21731 | PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21732 | } |
21733 | { | |
32fe5131 | 21734 | PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21735 | } |
21736 | { | |
32fe5131 | 21737 | PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21738 | } |
21739 | { | |
32fe5131 | 21740 | PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21741 | } |
21742 | { | |
32fe5131 | 21743 | PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21744 | } |
21745 | { | |
32fe5131 | 21746 | PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21747 | } |
21748 | { | |
32fe5131 | 21749 | PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21750 | } |
21751 | { | |
32fe5131 | 21752 | PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21753 | } |
21754 | { | |
32fe5131 | 21755 | PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21756 | } |
21757 | { | |
32fe5131 | 21758 | PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 RD |
21759 | } |
21760 | { | |
32fe5131 | 21761 | PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int(static_cast<int >(14))); |
36ed4f51 RD |
21762 | } |
21763 | { | |
32fe5131 | 21764 | PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int(static_cast<int >(19))); |
36ed4f51 RD |
21765 | } |
21766 | { | |
32fe5131 | 21767 | PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21768 | } |
21769 | { | |
32fe5131 | 21770 | PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21771 | } |
21772 | { | |
32fe5131 | 21773 | PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21774 | } |
21775 | { | |
32fe5131 | 21776 | PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21777 | } |
21778 | { | |
32fe5131 | 21779 | PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21780 | } |
21781 | { | |
32fe5131 | 21782 | PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21783 | } |
21784 | { | |
32fe5131 | 21785 | PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21786 | } |
21787 | { | |
32fe5131 | 21788 | PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21789 | } |
21790 | { | |
32fe5131 | 21791 | PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21792 | } |
21793 | { | |
32fe5131 | 21794 | PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21795 | } |
21796 | { | |
32fe5131 | 21797 | PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21798 | } |
21799 | { | |
32fe5131 | 21800 | PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 | 21801 | } |
53aa7709 | 21802 | { |
32fe5131 | 21803 | PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int(static_cast<int >(12))); |
53aa7709 | 21804 | } |
36ed4f51 | 21805 | { |
32fe5131 | 21806 | PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21807 | } |
21808 | { | |
32fe5131 | 21809 | PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21810 | } |
21811 | { | |
32fe5131 | 21812 | PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21813 | } |
21814 | { | |
32fe5131 | 21815 | PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21816 | } |
21817 | { | |
32fe5131 | 21818 | PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21819 | } |
21820 | { | |
32fe5131 | 21821 | PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21822 | } |
21823 | { | |
32fe5131 | 21824 | PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21825 | } |
21826 | { | |
32fe5131 | 21827 | PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21828 | } |
21829 | { | |
32fe5131 | 21830 | PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int(static_cast<int >(8))); |
53aa7709 RD |
21831 | } |
21832 | { | |
32fe5131 | 21833 | PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int(static_cast<int >(9))); |
53aa7709 RD |
21834 | } |
21835 | { | |
32fe5131 | 21836 | PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int(static_cast<int >(10))); |
53aa7709 RD |
21837 | } |
21838 | { | |
32fe5131 | 21839 | PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int(static_cast<int >(11))); |
53aa7709 RD |
21840 | } |
21841 | { | |
32fe5131 | 21842 | PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21843 | } |
21844 | { | |
32fe5131 | 21845 | PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
36ed4f51 RD |
21846 | } |
21847 | { | |
32fe5131 | 21848 | PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int(static_cast<int >(1))); |
36ed4f51 RD |
21849 | } |
21850 | { | |
32fe5131 | 21851 | PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int(static_cast<int >(2))); |
36ed4f51 RD |
21852 | } |
21853 | { | |
32fe5131 | 21854 | PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int(static_cast<int >(3))); |
36ed4f51 RD |
21855 | } |
21856 | { | |
32fe5131 | 21857 | PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int(static_cast<int >(4))); |
36ed4f51 RD |
21858 | } |
21859 | { | |
32fe5131 | 21860 | PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int(static_cast<int >(5))); |
36ed4f51 RD |
21861 | } |
21862 | { | |
32fe5131 | 21863 | PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int(static_cast<int >(6))); |
36ed4f51 RD |
21864 | } |
21865 | { | |
32fe5131 | 21866 | PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int(static_cast<int >(7))); |
36ed4f51 RD |
21867 | } |
21868 | { | |
32fe5131 | 21869 | PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int(static_cast<int >(8))); |
36ed4f51 RD |
21870 | } |
21871 | { | |
32fe5131 | 21872 | PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int(static_cast<int >(9))); |
36ed4f51 RD |
21873 | } |
21874 | { | |
32fe5131 | 21875 | PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int(static_cast<int >(10))); |
36ed4f51 RD |
21876 | } |
21877 | { | |
32fe5131 | 21878 | PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int(static_cast<int >(11))); |
36ed4f51 RD |
21879 | } |
21880 | { | |
32fe5131 | 21881 | PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int(static_cast<int >(12))); |
36ed4f51 RD |
21882 | } |
21883 | { | |
32fe5131 | 21884 | PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int(static_cast<int >(13))); |
36ed4f51 | 21885 | } |
53aa7709 | 21886 | { |
32fe5131 | 21887 | PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
53aa7709 RD |
21888 | } |
21889 | { | |
32fe5131 | 21890 | PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int(static_cast<int >(1))); |
53aa7709 RD |
21891 | } |
21892 | { | |
32fe5131 | 21893 | PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int(static_cast<int >(2))); |
53aa7709 RD |
21894 | } |
21895 | { | |
32fe5131 | 21896 | PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int(static_cast<int >(3))); |
53aa7709 RD |
21897 | } |
21898 | { | |
32fe5131 | 21899 | PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int(static_cast<int >(4))); |
53aa7709 RD |
21900 | } |
21901 | { | |
32fe5131 | 21902 | PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int(static_cast<int >(5))); |
53aa7709 RD |
21903 | } |
21904 | { | |
32fe5131 | 21905 | PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int(static_cast<int >(6))); |
53aa7709 RD |
21906 | } |
21907 | { | |
32fe5131 | 21908 | PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int(static_cast<int >(7))); |
53aa7709 RD |
21909 | } |
21910 | { | |
32fe5131 | 21911 | PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int(static_cast<int >(8))); |
53aa7709 RD |
21912 | } |
21913 | { | |
32fe5131 | 21914 | PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int(static_cast<int >(9))); |
53aa7709 RD |
21915 | } |
21916 | { | |
32fe5131 | 21917 | PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int(static_cast<int >(10))); |
53aa7709 RD |
21918 | } |
21919 | { | |
32fe5131 | 21920 | PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int(static_cast<int >(0))); |
53aa7709 RD |
21921 | } |
21922 | { | |
32fe5131 | 21923 | PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int(static_cast<int >(1))); |
53aa7709 RD |
21924 | } |
21925 | { | |
32fe5131 | 21926 | PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int(static_cast<int >(2))); |
53aa7709 RD |
21927 | } |
21928 | { | |
32fe5131 | 21929 | PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int(static_cast<int >(3))); |
53aa7709 RD |
21930 | } |
21931 | { | |
32fe5131 | 21932 | PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int(static_cast<int >(4))); |
53aa7709 RD |
21933 | } |
21934 | { | |
32fe5131 | 21935 | PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int(static_cast<int >(5))); |
53aa7709 RD |
21936 | } |
21937 | { | |
32fe5131 | 21938 | PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int(static_cast<int >(6))); |
53aa7709 RD |
21939 | } |
21940 | { | |
32fe5131 | 21941 | PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int(static_cast<int >(7))); |
53aa7709 RD |
21942 | } |
21943 | { | |
32fe5131 | 21944 | PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int(static_cast<int >(8))); |
53aa7709 RD |
21945 | } |
21946 | { | |
32fe5131 | 21947 | PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int(static_cast<int >(9))); |
53aa7709 RD |
21948 | } |
21949 | { | |
32fe5131 | 21950 | PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int(static_cast<int >(10))); |
53aa7709 RD |
21951 | } |
21952 | { | |
32fe5131 | 21953 | PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int(static_cast<int >(11))); |
53aa7709 RD |
21954 | } |
21955 | { | |
32fe5131 | 21956 | PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int(static_cast<int >(12))); |
53aa7709 RD |
21957 | } |
21958 | { | |
32fe5131 | 21959 | PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int(static_cast<int >(13))); |
53aa7709 RD |
21960 | } |
21961 | { | |
32fe5131 | 21962 | PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int(static_cast<int >(14))); |
53aa7709 | 21963 | } |
36ed4f51 | 21964 | { |
32fe5131 | 21965 | PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int(static_cast<int >(2011))); |
36ed4f51 RD |
21966 | } |
21967 | { | |
32fe5131 | 21968 | PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int(static_cast<int >(2013))); |
36ed4f51 RD |
21969 | } |
21970 | { | |
32fe5131 | 21971 | PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int(static_cast<int >(2176))); |
36ed4f51 RD |
21972 | } |
21973 | { | |
32fe5131 | 21974 | PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int(static_cast<int >(2177))); |
36ed4f51 RD |
21975 | } |
21976 | { | |
32fe5131 | 21977 | PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int(static_cast<int >(2178))); |
36ed4f51 RD |
21978 | } |
21979 | { | |
32fe5131 | 21980 | PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int(static_cast<int >(2179))); |
36ed4f51 RD |
21981 | } |
21982 | { | |
32fe5131 | 21983 | PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int(static_cast<int >(2180))); |
36ed4f51 RD |
21984 | } |
21985 | { | |
32fe5131 | 21986 | PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int(static_cast<int >(2300))); |
36ed4f51 RD |
21987 | } |
21988 | { | |
32fe5131 | 21989 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int(static_cast<int >(2301))); |
36ed4f51 RD |
21990 | } |
21991 | { | |
32fe5131 | 21992 | PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int(static_cast<int >(2302))); |
36ed4f51 RD |
21993 | } |
21994 | { | |
32fe5131 | 21995 | PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int(static_cast<int >(2303))); |
36ed4f51 RD |
21996 | } |
21997 | { | |
32fe5131 | 21998 | PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int(static_cast<int >(2304))); |
36ed4f51 RD |
21999 | } |
22000 | { | |
32fe5131 | 22001 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int(static_cast<int >(2305))); |
36ed4f51 RD |
22002 | } |
22003 | { | |
32fe5131 | 22004 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int(static_cast<int >(2306))); |
36ed4f51 RD |
22005 | } |
22006 | { | |
32fe5131 | 22007 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int(static_cast<int >(2307))); |
36ed4f51 RD |
22008 | } |
22009 | { | |
32fe5131 | 22010 | PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int(static_cast<int >(2308))); |
36ed4f51 RD |
22011 | } |
22012 | { | |
32fe5131 | 22013 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int(static_cast<int >(2309))); |
36ed4f51 RD |
22014 | } |
22015 | { | |
32fe5131 | 22016 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int(static_cast<int >(2310))); |
36ed4f51 RD |
22017 | } |
22018 | { | |
32fe5131 | 22019 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int(static_cast<int >(2311))); |
36ed4f51 RD |
22020 | } |
22021 | { | |
32fe5131 | 22022 | PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int(static_cast<int >(2312))); |
36ed4f51 RD |
22023 | } |
22024 | { | |
32fe5131 | 22025 | PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int(static_cast<int >(2313))); |
36ed4f51 RD |
22026 | } |
22027 | { | |
32fe5131 | 22028 | PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int(static_cast<int >(2314))); |
36ed4f51 RD |
22029 | } |
22030 | { | |
32fe5131 | 22031 | PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int(static_cast<int >(2315))); |
36ed4f51 RD |
22032 | } |
22033 | { | |
32fe5131 | 22034 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int(static_cast<int >(2316))); |
36ed4f51 RD |
22035 | } |
22036 | { | |
32fe5131 | 22037 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int(static_cast<int >(2317))); |
36ed4f51 RD |
22038 | } |
22039 | { | |
32fe5131 | 22040 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int(static_cast<int >(2318))); |
36ed4f51 RD |
22041 | } |
22042 | { | |
32fe5131 | 22043 | PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int(static_cast<int >(2319))); |
36ed4f51 RD |
22044 | } |
22045 | { | |
32fe5131 | 22046 | PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int(static_cast<int >(2320))); |
36ed4f51 RD |
22047 | } |
22048 | { | |
32fe5131 | 22049 | PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int(static_cast<int >(2321))); |
36ed4f51 RD |
22050 | } |
22051 | { | |
32fe5131 | 22052 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int(static_cast<int >(2322))); |
36ed4f51 RD |
22053 | } |
22054 | { | |
32fe5131 | 22055 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2323))); |
36ed4f51 RD |
22056 | } |
22057 | { | |
32fe5131 | 22058 | PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int(static_cast<int >(2324))); |
36ed4f51 RD |
22059 | } |
22060 | { | |
32fe5131 | 22061 | PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int(static_cast<int >(2325))); |
36ed4f51 RD |
22062 | } |
22063 | { | |
32fe5131 | 22064 | PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int(static_cast<int >(2326))); |
36ed4f51 RD |
22065 | } |
22066 | { | |
32fe5131 | 22067 | PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int(static_cast<int >(2327))); |
36ed4f51 RD |
22068 | } |
22069 | { | |
32fe5131 | 22070 | PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int(static_cast<int >(2328))); |
36ed4f51 RD |
22071 | } |
22072 | { | |
32fe5131 | 22073 | PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int(static_cast<int >(2329))); |
36ed4f51 RD |
22074 | } |
22075 | { | |
32fe5131 | 22076 | PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int(static_cast<int >(2330))); |
36ed4f51 RD |
22077 | } |
22078 | { | |
32fe5131 | 22079 | PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int(static_cast<int >(2331))); |
36ed4f51 RD |
22080 | } |
22081 | { | |
32fe5131 | 22082 | PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int(static_cast<int >(2332))); |
36ed4f51 RD |
22083 | } |
22084 | { | |
32fe5131 | 22085 | PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int(static_cast<int >(2333))); |
36ed4f51 RD |
22086 | } |
22087 | { | |
32fe5131 | 22088 | PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int(static_cast<int >(2334))); |
36ed4f51 RD |
22089 | } |
22090 | { | |
32fe5131 | 22091 | PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int(static_cast<int >(2335))); |
36ed4f51 RD |
22092 | } |
22093 | { | |
32fe5131 | 22094 | PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int(static_cast<int >(2336))); |
36ed4f51 RD |
22095 | } |
22096 | { | |
32fe5131 | 22097 | PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int(static_cast<int >(2337))); |
36ed4f51 RD |
22098 | } |
22099 | { | |
32fe5131 | 22100 | PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int(static_cast<int >(2338))); |
36ed4f51 RD |
22101 | } |
22102 | { | |
32fe5131 | 22103 | PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int(static_cast<int >(2339))); |
36ed4f51 RD |
22104 | } |
22105 | { | |
32fe5131 | 22106 | PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int(static_cast<int >(2404))); |
36ed4f51 RD |
22107 | } |
22108 | { | |
32fe5131 | 22109 | PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int(static_cast<int >(2340))); |
36ed4f51 RD |
22110 | } |
22111 | { | |
32fe5131 | 22112 | PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int(static_cast<int >(2341))); |
36ed4f51 RD |
22113 | } |
22114 | { | |
32fe5131 | 22115 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int(static_cast<int >(2342))); |
36ed4f51 RD |
22116 | } |
22117 | { | |
32fe5131 | 22118 | PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int(static_cast<int >(2343))); |
36ed4f51 RD |
22119 | } |
22120 | { | |
32fe5131 | 22121 | PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int(static_cast<int >(2344))); |
36ed4f51 RD |
22122 | } |
22123 | { | |
32fe5131 | 22124 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int(static_cast<int >(2345))); |
36ed4f51 RD |
22125 | } |
22126 | { | |
32fe5131 | 22127 | PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2346))); |
36ed4f51 RD |
22128 | } |
22129 | { | |
32fe5131 | 22130 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int(static_cast<int >(2347))); |
36ed4f51 RD |
22131 | } |
22132 | { | |
32fe5131 | 22133 | PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int(static_cast<int >(2348))); |
36ed4f51 RD |
22134 | } |
22135 | { | |
32fe5131 | 22136 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int(static_cast<int >(2349))); |
36ed4f51 RD |
22137 | } |
22138 | { | |
32fe5131 | 22139 | PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2450))); |
36ed4f51 RD |
22140 | } |
22141 | { | |
32fe5131 | 22142 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int(static_cast<int >(2451))); |
36ed4f51 RD |
22143 | } |
22144 | { | |
32fe5131 | 22145 | PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int(static_cast<int >(2452))); |
36ed4f51 RD |
22146 | } |
22147 | { | |
32fe5131 | 22148 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int(static_cast<int >(2453))); |
36ed4f51 RD |
22149 | } |
22150 | { | |
32fe5131 | 22151 | PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int(static_cast<int >(2454))); |
36ed4f51 RD |
22152 | } |
22153 | { | |
32fe5131 | 22154 | PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int(static_cast<int >(2455))); |
36ed4f51 RD |
22155 | } |
22156 | { | |
32fe5131 | 22157 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int(static_cast<int >(2390))); |
36ed4f51 RD |
22158 | } |
22159 | { | |
32fe5131 | 22160 | PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int(static_cast<int >(2391))); |
36ed4f51 RD |
22161 | } |
22162 | { | |
32fe5131 | 22163 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int(static_cast<int >(2392))); |
36ed4f51 RD |
22164 | } |
22165 | { | |
32fe5131 | 22166 | PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int(static_cast<int >(2393))); |
36ed4f51 RD |
22167 | } |
22168 | { | |
32fe5131 | 22169 | PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int(static_cast<int >(2395))); |
36ed4f51 RD |
22170 | } |
22171 | { | |
32fe5131 | 22172 | PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int(static_cast<int >(2396))); |
36ed4f51 RD |
22173 | } |
22174 | { | |
32fe5131 | 22175 | PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int(static_cast<int >(2413))); |
36ed4f51 RD |
22176 | } |
22177 | { | |
32fe5131 | 22178 | PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int(static_cast<int >(2414))); |
36ed4f51 RD |
22179 | } |
22180 | { | |
32fe5131 | 22181 | PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int(static_cast<int >(2415))); |
36ed4f51 RD |
22182 | } |
22183 | { | |
32fe5131 | 22184 | PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int(static_cast<int >(2416))); |
36ed4f51 RD |
22185 | } |
22186 | { | |
32fe5131 | 22187 | PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2426))); |
36ed4f51 RD |
22188 | } |
22189 | { | |
32fe5131 | 22190 | PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2427))); |
36ed4f51 RD |
22191 | } |
22192 | { | |
32fe5131 | 22193 | PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int(static_cast<int >(2428))); |
36ed4f51 RD |
22194 | } |
22195 | { | |
32fe5131 | 22196 | PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int(static_cast<int >(2429))); |
36ed4f51 RD |
22197 | } |
22198 | { | |
32fe5131 | 22199 | PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int(static_cast<int >(2430))); |
36ed4f51 RD |
22200 | } |
22201 | { | |
32fe5131 | 22202 | PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int(static_cast<int >(2431))); |
36ed4f51 RD |
22203 | } |
22204 | { | |
32fe5131 | 22205 | PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int(static_cast<int >(2432))); |
36ed4f51 RD |
22206 | } |
22207 | { | |
32fe5131 | 22208 | PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int(static_cast<int >(2433))); |
36ed4f51 RD |
22209 | } |
22210 | { | |
32fe5131 | 22211 | PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int(static_cast<int >(2434))); |
36ed4f51 RD |
22212 | } |
22213 | { | |
32fe5131 | 22214 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int(static_cast<int >(2435))); |
36ed4f51 RD |
22215 | } |
22216 | { | |
32fe5131 | 22217 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int(static_cast<int >(2436))); |
36ed4f51 RD |
22218 | } |
22219 | { | |
32fe5131 | 22220 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int(static_cast<int >(2437))); |
36ed4f51 RD |
22221 | } |
22222 | { | |
32fe5131 | 22223 | PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int(static_cast<int >(2438))); |
36ed4f51 RD |
22224 | } |
22225 | { | |
32fe5131 | 22226 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int(static_cast<int >(2439))); |
36ed4f51 RD |
22227 | } |
22228 | { | |
32fe5131 | 22229 | PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int(static_cast<int >(2440))); |
36ed4f51 RD |
22230 | } |
22231 | { | |
32fe5131 | 22232 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int(static_cast<int >(2441))); |
36ed4f51 RD |
22233 | } |
22234 | { | |
32fe5131 | 22235 | PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int(static_cast<int >(2442))); |
36ed4f51 RD |
22236 | } |
22237 | { | |
32fe5131 | 22238 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int(static_cast<int >(wxEVT_STC_CHANGE))); |
36ed4f51 RD |
22239 | } |
22240 | { | |
32fe5131 | 22241 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int(static_cast<int >(wxEVT_STC_STYLENEEDED))); |
36ed4f51 RD |
22242 | } |
22243 | { | |
32fe5131 | 22244 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int(static_cast<int >(wxEVT_STC_CHARADDED))); |
36ed4f51 RD |
22245 | } |
22246 | { | |
32fe5131 | 22247 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTREACHED))); |
36ed4f51 RD |
22248 | } |
22249 | { | |
32fe5131 | 22250 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int(static_cast<int >(wxEVT_STC_SAVEPOINTLEFT))); |
36ed4f51 RD |
22251 | } |
22252 | { | |
32fe5131 | 22253 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int(static_cast<int >(wxEVT_STC_ROMODIFYATTEMPT))); |
36ed4f51 RD |
22254 | } |
22255 | { | |
32fe5131 | 22256 | PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int(static_cast<int >(wxEVT_STC_KEY))); |
36ed4f51 RD |
22257 | } |
22258 | { | |
32fe5131 | 22259 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_DOUBLECLICK))); |
36ed4f51 RD |
22260 | } |
22261 | { | |
32fe5131 | 22262 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int(static_cast<int >(wxEVT_STC_UPDATEUI))); |
36ed4f51 RD |
22263 | } |
22264 | { | |
32fe5131 | 22265 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int(static_cast<int >(wxEVT_STC_MODIFIED))); |
36ed4f51 RD |
22266 | } |
22267 | { | |
32fe5131 | 22268 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int(static_cast<int >(wxEVT_STC_MACRORECORD))); |
36ed4f51 RD |
22269 | } |
22270 | { | |
32fe5131 | 22271 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_MARGINCLICK))); |
36ed4f51 RD |
22272 | } |
22273 | { | |
32fe5131 | 22274 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int(static_cast<int >(wxEVT_STC_NEEDSHOWN))); |
36ed4f51 RD |
22275 | } |
22276 | { | |
32fe5131 | 22277 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int(static_cast<int >(wxEVT_STC_PAINTED))); |
36ed4f51 RD |
22278 | } |
22279 | { | |
32fe5131 | 22280 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int(static_cast<int >(wxEVT_STC_USERLISTSELECTION))); |
36ed4f51 RD |
22281 | } |
22282 | { | |
32fe5131 | 22283 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int(static_cast<int >(wxEVT_STC_URIDROPPED))); |
36ed4f51 RD |
22284 | } |
22285 | { | |
32fe5131 | 22286 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLSTART))); |
36ed4f51 RD |
22287 | } |
22288 | { | |
32fe5131 | 22289 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int(static_cast<int >(wxEVT_STC_DWELLEND))); |
36ed4f51 RD |
22290 | } |
22291 | { | |
32fe5131 | 22292 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int(static_cast<int >(wxEVT_STC_START_DRAG))); |
36ed4f51 RD |
22293 | } |
22294 | { | |
32fe5131 | 22295 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int(static_cast<int >(wxEVT_STC_DRAG_OVER))); |
36ed4f51 RD |
22296 | } |
22297 | { | |
32fe5131 | 22298 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int(static_cast<int >(wxEVT_STC_DO_DROP))); |
36ed4f51 RD |
22299 | } |
22300 | { | |
32fe5131 | 22301 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int(static_cast<int >(wxEVT_STC_ZOOM))); |
36ed4f51 RD |
22302 | } |
22303 | { | |
32fe5131 | 22304 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_CLICK))); |
36ed4f51 RD |
22305 | } |
22306 | { | |
32fe5131 | 22307 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_HOTSPOT_DCLICK))); |
36ed4f51 RD |
22308 | } |
22309 | { | |
32fe5131 | 22310 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int(static_cast<int >(wxEVT_STC_CALLTIP_CLICK))); |
36ed4f51 | 22311 | } |
d14a1e28 RD |
22312 | |
22313 | ||
22314 | } | |
22315 |